* {box-sizing: border-box;}
body {
	background-color: #F9FBFF;
	font-family: 'komika_titleregular', sans-serif;
	color: #505254;
}
h1, h2, p {margin: 0;}
h1, h2, h3, h4, h5 {font-weight: normal;}
h1 {
	text-align: center;
	margin-bottom: 0.75em;
	line-height: 1.5em;
	display: inline-block; width: 410px;
}
h2 {
	margin-bottom: 0.25em;
	font-size: 1.625em;
	line-height: 1.25em;
}
p {
	font-size: 1.125em;
	line-height: 1.25em;
}
a {
	color: #9C97C0;
	text-decoration: none;
}
.page {
	background-color: #fff;
	border: 1px solid #ddd;
	padding: 30px 40px 40px 40px;
	margin: 20px auto;
	width: 960px; height: 1358px;
	box-shadow: 1px 1px 10px rgba(179, 201, 216, 0.2);
}
nav.header {
	margin-bottom: 2em;
}
nav.header ul {
  list-style: none;
  padding: 0; margin: 0;
  display: inline-block; width: 390px;
  position: relative; top: -10px;
}
nav.header ul li {
  display: inline-block;
  width: 190px;
  text-align: center;
}
nav.header h2 a {
  text-shadow: 1px 1px 0px #FFF, 2px 2px 0px #D8DBDF;
  -webkit-transition: all 0.15s;
  transition: all 0.15s;
}
nav.header h2 a:hover {
  color: #E39195;
}

footer.footer {
	margin: 0 auto;
	width: 960px;
}
.credits {
  color: #788091;
  font-size: 1em;
  text-align: right;
}
button {font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;}




/* persos */
.perso {
	width: 480px; height: 133px;
	margin: 12px; padding: 11px 16px;
	border: 2px solid #505254;
	border-radius: 2px;
	position: relative;
}
.perso:after {
	content: ''; display: block;
	position: absolute;
	height: 195px; width: 372px;
	left: 100%; bottom: -2px;
	background: no-repeat;
}
.perso.ken:after{background-image: url('../img/ken.png');}
.perso.toa:after{background-image: url('../img/toa.png');}
.perso.keiji:after{background-image: url('../img/keiji.png');}
.perso.hongo:after{background-image: url('../img/hongo.png');}
.perso.duke:after{background-image: url('../img/duke.png');}
.perso.chibi:after{background-image: url('../img/chibi.png');}
.perso.bibi:after{background-image: url('../img/bibi.png');}
.perso.vivi:after{background-image: url('../img/vivi.png');}

.ken h2, .ken .tooltip-content {color: #4285A8;}
.ken.tooltip-bubble .tooltip-content {width: 170px; bottom: 115px; right: -412px;}
.ken.tooltip-bubble .tooltip-shape {width: 170px; bottom: 92px; right: -410px; height: 128px;}

.toa h2, .toa .tooltip-content {color: #BB2223;}
.toa.tooltip-bubble .tooltip-content {width: 160px; bottom: 96px; right: -277px;}
.toa.tooltip-bubble .tooltip-shape {width: 150px; bottom: 82px; right: -270px; height: 113px;}

.keiji h2, .keiji .tooltip-content {color: #FF75A6;}
.keiji.tooltip-bubble .tooltip-content {width: 190px; bottom: 99px; right: -341px;}
.keiji.tooltip-bubble .tooltip-shape {width: 190px; bottom: 91px; right: -340px; height: 143px;}

.hongo h2, .hongo .tooltip-content {color: #7C8494;}
.hongo.tooltip-bubble .tooltip-content {width: 170px; bottom: 103px; right: -350px;}
.hongo.tooltip-bubble .tooltip-shape {width: 160px; bottom: 93px; right: -345px; height: 120px;}

.duke h2, .duke .tooltip-content {color: #FFD360;}
.duke.tooltip-bubble .tooltip-content {width: 170px; bottom: 93px; right: -360px;}
.duke.tooltip-bubble .tooltip-shape {width: 170px; bottom: 81px; right: -360px; height: 128px;}

.chibi h2, .chibi .tooltip-content {color: #FF9D4B;}
.chibi.tooltip-bubble .tooltip-content {width: 130px; bottom: 82px; right: -252px;}
.chibi.tooltip-bubble .tooltip-shape {width: 130px; bottom: 77px; right: -250px; height: 98px;}

.bibi h2, .bibi .tooltip-content {color: #83A842;}
.bibi.tooltip-bubble .tooltip-content {width: 170px; bottom: 104px; right: -190px;}
.bibi.tooltip-bubble .tooltip-shape {width: 130px; bottom: 106px; right: -170px; height: 98px;}

.vivi h2, .vivi .tooltip-content {color: #6F42A8;}
.vivi.tooltip-bubble .tooltip-content {width: 150px; bottom: 105px; right: -365px;}
.vivi.tooltip-bubble .tooltip-shape {width: 140px; bottom: 98px; right: -360px; height: 105px;}



.tooltip-content {
	position: absolute;
	line-height: 1.2;
	pointer-events: none;
	text-align: center;
	z-index: 100;
	opacity: 0;
	padding: 1.75em;
	font-size: 1.05em;
	bottom: 100%;
	font-size: 1.5em;
	z-index: 2;
}

.tooltip-bubble .tooltip-content {
	width: 220px;
	font-size: 1.125em;
	-webkit-transform: translate3d(0,-10px,0);
	transform: translate3d(0,-10px,0);
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
}

.tooltip-bubble:hover .tooltip-content {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

/* Shape */
.tooltip-shape {
	position: absolute;
	width: 220px;
	height: 165px;
	pointer-events: none;
}

.tooltip-bubble .tooltip-shape {
	z-index: 1;
}

.tooltip:hover .tooltip-shape {
	pointer-events: auto;
}

.tooltip-shape svg {
	stroke: #505254;
	stroke-width: 2;
}

.tooltip-bubble .tooltip-shape svg polygon, .tooltip-bubble .tooltip-shape svg path {
	fill: transparent;
	stroke-dasharray: 580;
	stroke-dashoffset: 580;
}

.tooltip-bubble:hover .tooltip-shape svg polygon, .tooltip-bubble:hover .tooltip-shape svg path {
	stroke-dashoffset: 0;
	fill: #fff;
	-webkit-transition: stroke-dashoffset 0.8s, fill 0.8s;
	transition: stroke-dashoffset 0.8s, fill 0.8s;
}


.matt {
	display: block; height: 200px; width: 200px;
	position: absolute; top: -200px; left: -200px;
	z-index: 10;
	background-image: url('../img/matt.png');
}
.matt span {
  display: block;
  font-size: 0.75em;
  transform: rotate(-7deg);
}

.matt {
  animation: animMatt ease-in-out 8s;
  animation-iteration-count: infinite;
  transform-origin: 50% 50%;
  -webkit-animation: animMatt ease-in-out 8s;
  -webkit-animation-iteration-count: infinite;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: animMatt ease-in-out 8s;
  -moz-animation-iteration-count: infinite;
  -moz-transform-origin: 50% 50%;
  -o-animation: animMatt ease-in-out 8s;
  -o-animation-iteration-count: infinite;
  -o-transform-origin: 50% 50%;
  -ms-animation: animMatt ease-in-out 8s;
  -ms-animation-iteration-count: infinite;
  -ms-transform-origin: 50% 50%;
}

@keyframes animMatt{
  0% {
    transform:  rotate(25deg) ;
  }
  25% {
    transform:  rotate(130deg) ;
  }
  45% {
    transform:  rotate(-73deg) ;
  }
  82% {
    transform:  rotate(43deg) ;
  }
  100% {
    transform:  rotate(43deg) ;
  }
}

@-moz-keyframes animMatt{
  0% {
    -moz-transform:  rotate(25deg) ;
  }
  25% {
    -moz-transform:  rotate(130deg) ;
  }
  45% {
    -moz-transform:  rotate(-73deg) ;
  }
  82% {
    -moz-transform:  rotate(43deg) ;
  }
  100% {
    -moz-transform:  rotate(43deg) ;
  }
}

@-webkit-keyframes animMatt {
  0% {
    -webkit-transform:  rotate(25deg) ;
  }
  25% {
    -webkit-transform:  rotate(130deg) ;
  }
  45% {
    -webkit-transform:  rotate(-73deg) ;
  }
  82% {
    -webkit-transform:  rotate(43deg) ;
  }
  100% {
    -webkit-transform:  rotate(43deg) ;
  }
}

@-o-keyframes animMatt {
  0% {
    -o-transform:  rotate(25deg) ;
  }
  25% {
    -o-transform:  rotate(130deg) ;
  }
  45% {
    -o-transform:  rotate(-73deg) ;
  }
  82% {
    -o-transform:  rotate(43deg) ;
  }
  100% {
    -o-transform:  rotate(43deg) ;
  }
}

@-ms-keyframes animMatt {
  0% {
    -ms-transform:  rotate(25deg) ;
  }
  25% {
    -ms-transform:  rotate(130deg) ;
  }
  45% {
    -ms-transform:  rotate(-73deg) ;
  }
  82% {
    -ms-transform:  rotate(43deg) ;
  }
  100% {
    -ms-transform:  rotate(43deg) ;
  }
}



/* tomes */
p.intro {
  margin-bottom: 1.5em;
  padding: 0 2.5em;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1em;
  line-height: 1.5em;
}
p.intro:last-of-type {
  margin-bottom: 4em;
}

.bk-list {
	list-style: none;
	position: relative;
}

.bk-list li {
	position: relative;
	width: 200px;
	float: left;
	z-index: 1;
	margin: 0px 70px 40px 0;
	-webkit-perspective: 1800px;
	-moz-perspective: 1800px;
	perspective: 1800px;
}

.bk-list li:last-child {
	margin-right: 0;
}

.bk-info {
	position: relative;
	margin-top: 320px;
}

.bk-info button {
	border: none;
	display: inline-block;
	padding: 3px 15px;
	cursor: pointer;
	margin-right: 4px;
	background: transparent;
	outline: none;
	color: #505254;
	/*background: #FC756F;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.15);*/
}

.bk-info .bk-bookback {
	background: url('img/return.png') no-repeat transparent;
	padding: 3px 0 3px 25px;
}
.bk-info .bk-bookview {
	background: url('img/book.png') no-repeat transparent;
	padding: 3px 0 3px 25px;
}

/*.bk-info button.bk-active,
.bk-info button:active {
	box-shadow: 
		0 1px 0 rgba(255, 255, 255, 0.8), 
		inset 0 -1px 1px rgba(0,0,0,0.2);
}

.no-touch .bk-info button:hover,
.bk-info button.bk-active {
	background: #d0544e;
}
*/
.bk-list li .bk-book {
	position: absolute;
	width: 100%;
	height: 277px;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transition: -webkit-transform .5s;
	-moz-transition: -moz-transform .5s;
	transition: transform .5s;
}

.bk-list li .bk-book.bk-bookdefault:hover {
	-webkit-transform: rotate3d(0,1,0,35deg);
	-moz-transform: rotate3d(0,1,0,35deg);
	transform: rotate3d(0,1,0,35deg);
}

.bk-list li .bk-book > div,
.bk-list li .bk-front > div {
	display: block;
	position: absolute;
}

.bk-list li .bk-front {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform-origin: 0% 50%;
	-moz-transform-origin: 0% 50%;
	transform-origin: 0% 50%;
	-webkit-transition: -webkit-transform .5s;
	-moz-transition: -moz-transform .5s;
	transition: transform .5s;
	-webkit-transform: translate3d(0,0,20px);
	-moz-transform: translate3d(0,0,20px);
	transform: translate3d(0,0,20px);
	z-index: 10;
}

.bk-list li .bk-front > div {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.bk-list li .bk-page {
	-webkit-transform: translate3d(0,0,19px);
	-moz-transform: translate3d(0,0,19px);
	transform: translate3d(0,0,19px);
	display: none;
	width: 195px;
	height: 267px;
	top: 5px;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	z-index: 9;
}

.bk-list li .bk-front,
.bk-list li .bk-back,
.bk-list li .bk-front > div {
	width: 200px;
	height: 277px;
}

.bk-list li .bk-left {
	/*width: 40px;
	left: -20px;*/
	width: 14px;
	left: 0;
}

.bk-list li .bk-back {
	/*-webkit-transform: rotate3d(0,1,0,-180deg) translate3d(0,0,20px);
	-moz-transform: rotate3d(0,1,0,-180deg) translate3d(0,0,20px);
	transform: rotate3d(0,1,0,-180deg) translate3d(0,0,20px);*/
	-webkit-transform: rotate3d(0,1,0,-180deg) translate3d(0,0,0);
	-moz-transform: rotate3d(0,1,0,-180deg) translate3d(0,0,0);
	transform: rotate3d(0,1,0,-180deg) translate3d(0,0,0);
	box-shadow: 10px 10px 30px rgba(0,0,0,0.3);
	border-radius: 3px 0 0 3px;
}

.bk-list li .bk-cover-back {
	background-color: #000;
	-webkit-transform: rotate3d(0,1,0,-180deg);
	-moz-transform: rotate3d(0,1,0,-180deg);
	transform: rotate3d(0,1,0,-180deg);
}

.bk-list li .bk-left {
	height: 277px;
	/*-webkit-transform: rotate3d(0,1,0,-90deg);
	-moz-transform: rotate3d(0,1,0,-90deg);
	transform: rotate3d(0,1,0,-90deg);*/
	-webkit-transform: rotate3d(0,1,0,-90deg) translate3d(9px,0,7px);
	-moz-transform: rotate3d(0,1,0,-90deg) translate3d(9px,0,7px);
	transform: rotate3d(0,1,0,-90deg) translate3d(9px,0,7px);
}

/* Transform classes */

.bk-list li .bk-viewinside .bk-front {
	-webkit-transform: translate3d(0,0,20px) rotate3d(0,1,0,-160deg);
	-moz-transform: translate3d(0,0,20px) rotate3d(0,1,0,-160deg);
	transform: translate3d(0,0,20px) rotate3d(0,1,0,-160deg);
}

.bk-list li .bk-book.bk-viewinside {
	-webkit-transform: translate3d(0,0,150px) rotate3d(0,1,0,0deg);
	-moz-transform: translate3d(0,0,150px) rotate3d(0,1,0,0deg);
	transform: translate3d(0,0,150px) rotate3d(0,1,0,0deg);
}

.bk-list li .bk-book.bk-viewback {
	-webkit-transform: translate3d(0,0,0px) rotate3d(0,1,0,180deg);
	-moz-transform: translate3d(0,0,0px) rotate3d(0,1,0,180deg);
	transform: translate3d(0,0,0px) rotate3d(0,1,0,180deg);
}

.bk-list li .bk-viewback .bk-back {
	z-index: 10;
}

/* Main colors and content */

.bk-list li .bk-page {
	background-color: #fff;
}

.bk-list li .bk-front > div {
	border-radius: 0 3px 3px 0;
	box-shadow: inset 4px 0 10px rgba(0, 0, 0, 0.1);
}

.bk-list li .bk-front:after {
	content: '';
	position: absolute;
	top: 1px;
	bottom: 1px;
	left: -1px;
	width: 1px;
}

.bk-list li .bk-cover:after,
.bk-list li .bk-back:after {
	content: '';
	position: absolute;
	top: 0;
	left: 10px;
	bottom: 0;
	width: 3px;
	background: rgba(0,0,0,0.06);
	box-shadow: 1px 0 3px rgba(255, 255, 255, 0.1);
}

.bk-list li .bk-back:after {
	left: auto;
	right: 10px;
}

.bk-content {
	position: absolute;
	height: 100%;
	overflow: hidden;
	background: #fff;
	opacity: 0;
	pointer-events: none;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;
	cursor: default;
}

.bk-content-current {
	opacity: 1;
	pointer-events: auto;
}

.bk-content img {
	height: auto; width: auto;
	max-width: 200px; max-height: 277px;
    cursor: -webkit-zoom-in;
}

.bk-page nav {
	display: block;
	text-align: center;
	position: absolute; bottom: 0;
    width: 100%;
	z-index: 100;
	cursor: pointer;
	-webkit-transition: bottom 0.3s ease-in-out;
	-moz-transition: bottom 0.3s ease-in-out;
	transition: bottom 0.3s ease-in-out;
}

.bk-page nav span {
	display: inline-block;
	width: 16px;
	height: 16px;
	color: #fff;
	background: #FF8E68;
	border-radius: 50%;
	font-family: sans-serif;
	margin: 4px 3px;
	font-size: 10px;
	line-height: 16px;
}

.bk-viewinside .bk-page nav {
	bottom: -30px;
}
/* Individual style & artwork */

/* Book 1 */
.book-1 .bk-front > div,
.book-1 .bk-back,
.book-1 .bk-left,
.book-1 .bk-front:after {
	background-color: #106a9f;
}

.book-1 .bk-cover {
	background-image: url(../img/tome1.jpg);	
	background-repeat: no-repeat;
}

.book-1 .bk-back {
	background-image: url(../img/tome1back.jpg);	
	background-repeat: no-repeat;
}

.book-1 .bk-left {
	background-image: url(../img/tome1left.jpg);	
	background-repeat: no-repeat;
}
/* Book 2 */
.book-2 .bk-front > div,
.book-2 .bk-back,
.book-2 .bk-left,
.book-2 .bk-front:after {
	background-color: #ffffff;
}

.book-2 .bk-cover {
	background-image: url(../img/tome2.jpg);	
	background-repeat: no-repeat;
}

.book-2 .bk-back {
	background-image: url(../img/tome2back.jpg);	
	background-repeat: no-repeat;
}

.book-2 .bk-left {
	background-image: url(../img/tome2left.jpg);	
	background-repeat: no-repeat;
}
/* Book 3 */
.book-3 .bk-front > div,
.book-3 .bk-back,
.book-3 .bk-left,
.book-3 .bk-front:after {
	background-color: #ffffff;
}

.book-3 .bk-cover {
	background-image: url(../img/tome3.jpg);	
	background-repeat: no-repeat;
}

.book-3 .bk-back {
	background-image: url(../img/tome3back.jpg);	
	background-repeat: no-repeat;
}

.book-3 .bk-left {
	background-image: url(../img/tome3left.jpg);	
	background-repeat: no-repeat;
}
/* Book 4 */
.book-4 .bk-front > div,
.book-4 .bk-back,
.book-4 .bk-left,
.book-4 .bk-front:after {
	background-color: #ffffff;
}

.book-4 .bk-cover {
	background-image: url(../img/tome4.jpg);	
	background-repeat: no-repeat;
}

.book-4 .bk-back {
	background-image: url(../img/tome4back.jpg);	
	background-repeat: no-repeat;
}

.book-4 .bk-left {
	background-image: url(../img/tome4left.jpg);	
	background-repeat: no-repeat;
}
/* Book 5 */
.book-5 .bk-front > div,
.book-5 .bk-back,
.book-5 .bk-left,
.book-5 .bk-front:after {
	background-color: #ffffff;
}

.book-5 .bk-cover {
	background-image: url(../img/tome5.jpg);	
	background-repeat: no-repeat;
}

.book-5 .bk-back {
	background-image: url(../img/tome5back.jpg);	
	background-repeat: no-repeat;
}

.book-5 .bk-left {
	background-image: url(../img/tome5left.jpg);	
	background-repeat: no-repeat;
}

/* Fallbacks */

.no-csstransforms3d .bk-list li .bk-book > div,
.no-csstransforms3d .bk-list li .bk-book .bk-cover-back {
	display: none;
}

.no-csstransforms3d .bk-list li .bk-book > div.bk-front {
	display: block;
}

.no-csstransforms3d .bk-info button,
.no-js .bk-info button {
	display: none;
}

