/*Mac OS*/
.mac .book {
	display: none;
}

/*Windows OS*/
.win .slider-wrapper {
	display: none;
}

/*Firefox*/
.gecko .book {
	display: none;
}

/*Windows Firefox*/
.win.gecko .slider-wrapper {
	display: block;
}


/*スマホ版の表示*/
.all_pages {
	display: none;
}

.book {
	margin-top: 200px;
  -webkit-transition: opacity 0.4s 0.2s;
          transition: opacity 0.4s 0.2s;
}
.page {
  width: 43vw;
  height: 26vw;
  background-colour: #ffffff;
  float: left;
  margin-bottom: 0.5em;
}
.page:first-child {
  float: right;
}
.page:nth-child(even) {
  clear: both;
}
.bound {
  -webkit-perspective: 250vw;
          perspective: 250vw;
          margin: auto;
}
.bound .pages {
  width: 88vw;
  height: 63vw;
  position: relative;
  -webkit-transform: rotateX(12deg);
          transform: rotateX(12deg);
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border-radius: 4px;
  box-shadow: 0 0 0 1px #lightgrey;
  background-color: cornsilk;
  margin: auto;
  border: 3px solid cornsilk;
  box-shadow: 3px 5px 5px 3px lightgrey;
}
.bound .page {
  float: none;
  clear: none;
  margin: 0;
  position: absolute;
  top: 0;
  width: 44vw;
  height: 63vw;
  -webkit-transform-origin: 0 0;
      -ms-transform-origin: 0 0;
          transform-origin: 0 0;
  -webkit-transition: -webkit-transform 1.4s;
          transition: transform 1.4s;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.bound .page:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0);
  -webkit-transition: background 0.7s;
          transition: background 0.7s;
  z-index: 2;
}
.bound .page:nth-child(odd) {
  pointer-events: all;
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
  right: 0;
  border-radius: 0 4px 4px 0;
}
.bound .page:nth-child(odd):hover {
  -webkit-transform: rotateY(-10deg);
          transform: rotateY(-10deg);
}
.bound .page:nth-child(odd):hover:before {
  background: rgba(0, 0, 0, 0.03);
}
.bound .page:nth-child(odd):before {
  background: rgba(0, 0, 0, 0);
}
.bound .page:nth-child(even) {
  pointer-events: none;
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
  -webkit-transform-origin: 100% 0;
      -ms-transform-origin: 100% 0;
          transform-origin: 100% 0;
  left: 0;
  border-radius: 4px 0 0 4px;
}
.bound .page:nth-child(even):before {
  background: rgba(0, 0, 0, 0.2);
}
.bound .page.grabbing {
  -webkit-transition: none;
          transition: none;
}
.bound .page.flipped:nth-child(odd) {
  pointer-events: none;
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}
.bound .page.flipped:nth-child(odd):before {
  background: rgba(0, 0, 0, 0.2);
}
.bound .page.flipped:nth-child(even) {
  pointer-events: all;
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
}
.bound .page.flipped:nth-child(even):hover {
  -webkit-transform: rotateY(10deg);
          transform: rotateY(10deg);
}
.bound .page.flipped:nth-child(even):hover:before {
  background: rgba(0, 0, 0, 0.03);
}
.bound .page.flipped:nth-child(even):before {
  background: rgba(0, 0, 0, 0);
}
/*

*,
* :before,
*:after {
  box-sizing: border-box;
}

*/

html {
  height: 100%;
}


.page {
  color: transparent;
  background: left top no-repeat;
  background-size: cover;
}

.page:nth-child(3),
.page:nth-child(5),
.page:nth-child(7),
.page:nth-child(9),
.page:nth-child(11) {
  background-position: right top;
}
.page:nth-child(1) {
  background-image: url('../page/1.webp');
}
.page:nth-child(2),
.page:nth-child(3) {
  background-image: url('../page/2-3.webp');
}
.page:nth-child(4),
.page:nth-child(5) {
  background-image: url('../page/4-5.webp');
}
.page:nth-child(6),
.page:nth-child(7) {
  background-image: url('../page/6-7.webp');
}
.page:nth-child(8),
.page:nth-child(9) {
  background-image: url('../page/8-9.webp');
}
.page:nth-child(10),
.page:nth-child(11) {
  background-image: url('../page/10-11.webp');
}
.page:nth-child(12) {
  background-image: url('../page/12.webp');
}
#content {
	max-width: none !important;
}

@media (max-width:1200px) {
	.bound,.slider-wrapper {
		display: none;
	}
	
	.win.gecko .slider-wrapper{
		display: none;
	}
	.all_pages {
		display: block;
	}
	.all_pages img {
		max-width: 900px;
		width: 95%;
		margin: auto;
		box-shadow: 2px 4px 4px 3px lightgrey;
	}
	#fibre {
		width: 95%;
		margin-left: 3%;
	}
	
	#fibre h3, ul li {
		font-size :0.9rem;
	}
}

@media (max-width:800px) {
	#fibre h1 {
		font-size :1.2rem;
	}
}