@charset "UTF-8";
.mv {
  position: relative;
}
.mv h1 {
  position: absolute;
  top: 90rem;
  left: 50%;
  transform: translateX(-50%);
}
.mv h1 img {
  width: 383rem;
}

.content {
  background: #efebe6;
  padding-block: 150rem;
}

@media screen and (min-width: 769px) {
  .book {
    position: relative;
    transition: opacity 0.4s 0.2s;
  }
  .book::before {
    position: absolute;
    content: "クリックするとページがめくれます";
    font-size: 26rem;
    font-weight: 500;
    line-height: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 9999px;
    padding: 40rem 65rem;
    z-index: 99;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .book.active::before {
    opacity: 0;
  }
  .bound .page:nth-child(even) {
    clear: both;
  }
  .bound {
    perspective: 250vw;
  }
  .bound .pages {
    width: 1730rem;
    aspect-ratio: 1730/721;
    position: relative;
    transform: rotateX(12deg);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    margin-inline: auto;
  }
  .bound .page {
    float: none;
    clear: none;
    margin: 0;
    position: absolute;
    top: 0;
    width: 50%;
    height: 721rem;
    transform-origin: 0 0;
    transition: transform 1.4s;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-size: 100% 100%;
  }
  .bound .page:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.7s;
    z-index: 2;
  }
  .bound .page:nth-child(even) {
    pointer-events: all;
    transform: rotateY(0deg);
    right: 0;
  }
  .bound .page:nth-child(even):hover {
    transform: rotateY(-10deg);
  }
  .bound .page:nth-child(even):hover:before {
    background: rgba(0, 0, 0, 0.03);
  }
  .bound .page:nth-child(even):before {
    background: rgba(0, 0, 0, 0);
  }
  .bound .page:nth-child(odd) {
    pointer-events: none;
    transform: rotateY(180deg);
    transform-origin: 100% 0;
    left: 0;
  }
  .bound .page:nth-child(odd):before {
    background: rgba(0, 0, 0, 0.2);
  }
  .bound .page.grabbing {
    transition: none;
  }
  .bound .page.flipped:nth-child(even) {
    pointer-events: none;
    transform: rotateY(-180deg);
  }
  .bound .page.flipped:nth-child(even):before {
    background: rgba(0, 0, 0, 0.2);
  }
  .bound .page.flipped:nth-child(odd) {
    pointer-events: all;
    transform: rotateY(0deg);
  }
  .bound .page.flipped:nth-child(odd):hover {
    transform: rotateY(10deg);
  }
  .bound .page.flipped:nth-child(odd):hover:before {
    background: rgba(0, 0, 0, 0.03);
  }
  .bound .page.flipped:nth-child(odd):before {
    background: rgba(0, 0, 0, 0);
  }
  .bound .page:first-of-type {
    pointer-events: none;
    transform: rotateY(0deg);
  }
  .bound .page:first-of-type::before {
    background: rgba(0, 0, 0, 0);
  }
  .bound .page:last-of-type {
    pointer-events: none;
  }
  .page:nth-of-type(1) {
    background-image: url(../image/company/story/page_1.png);
  }
  .page:nth-of-type(2) {
    background-image: url(../image/company/story/page_2.png);
  }
  .page:nth-of-type(3) {
    background-image: url(../image/company/story/page_3.png);
  }
  .page:nth-of-type(4) {
    background-image: url(../image/company/story/page_4.png);
  }
  .page:nth-of-type(5) {
    background-image: url(../image/company/story/page_5.png);
  }
  .page:nth-of-type(6) {
    background-image: url(../image/company/story/page_6.png);
  }
  .page:nth-of-type(7) {
    background-image: url(../image/company/story/page_7.png);
  }
  .page:nth-of-type(8) {
    background-image: url(../image/company/story/page_8.png);
  }
  .page:nth-of-type(9) {
    background-image: url(../image/company/story/page_9.png);
  }
  .page:nth-of-type(10) {
    background-image: url(../image/company/story/page_10.png);
  }
}
@media screen and (max-width: 768px) {
  .mv h1 {
    top: 35rem;
  }
  .content {
    padding-block: 100rem 200rem;
  }
  .book .pages {
    width: 670rem;
    margin-inline: auto;
  }
  .book .pages .page {
    width: 100%;
    aspect-ratio: 1172/1547;
    background-size: 100% 100%;
  }
  .book .pages .page + .page {
    margin-top: 50rem;
  }
  .book .pages .page:nth-of-type(n + 6) {
    display: none;
    width: 0;
  }
  .page:nth-of-type(1) {
    background-image: url(../image/company/story/page_1_sp.webp);
  }
  .page:nth-of-type(2) {
    background-image: url(../image/company/story/page_2_sp.webp);
  }
  .page:nth-of-type(3) {
    background-image: url(../image/company/story/page_3_sp.webp);
  }
  .page:nth-of-type(4) {
    background-image: url(../image/company/story/page_4_sp.webp);
  }
  .page:nth-of-type(5) {
    background-image: url(../image/company/story/page_5_sp.webp);
  }
  .page:nth-of-type(6) {
    background-image: url(../image/company/story/page_6_sp.webp);
  }
}/*# sourceMappingURL=story.css.map */