@charset "UTF-8";
:root {
  --white: white;
  --black: black;
  --red: #EA5823;
  --green: #D9EBD0;
  --green-darker: #ACD09A;
}

.svg-symbol {
  display: none;
}

body {
  font-family: "Koburina Gothic W6 JIS2004", sans-serif;
}

/*
A modern CSS reset 2023 / 9 / 18
https://github.com/Andy-set-studio/modern-css-reset
*/
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul[role=list], ol[role=list] {
  list-style: none;
}

body {
  min-height: 100vh;
  line-height: 1.5;
}

h1, h2, h3, h4, button, input, label {
  line-height: 1.1;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

img, picture {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

textarea:not([rows]) {
  min-height: 10em;
}

:target {
  scroll-margin-block: 5ex;
}

/**  base  **/
p,
ul,
ol,
h1,
h2,
h3,
figure,
dl,
dd,
button,
pre {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

ul,
ol {
  list-style: none;
}

img,
video {
  max-width: 100%;
  vertical-align: bottom;
  line-height: 1;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  appearance: none;
}

a {
  color: currentColor;
  text-decoration: none;
  transition: all 0.25s ease;
}
@media (hover: hover) {
  a:hover {
    opacity: 0.5;
  }
}

[x-cloak],
[v-cloak] {
  display: none !important;
}

*:focus {
  outline: none;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  word-break: normal; /* 単語の分割はデフォルトに依存 */
  line-break: strict; /* 禁則処理を厳格に適用 */
}
body.scroll_rock {
  overflow: hidden;
}

.bg {
  position: fixed;
  z-index: -1;
  inset: 0;
}
.bg img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover {
  width: 100%;
  height: 100dvh;
  display: grid;
  grid-template-rows: 8rem max-content auto;
  overflow: hidden;
}
@media (width > 48rem) {
  .cover {
    display: grid;
    grid-template-columns: 28.8888888889% 71.1111111111%;
    grid-template-rows: calc(100% - 14.7rem) 14.7rem;
  }
  .cover-picture {
    grid-row: span 2;
  }
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem 0;
}
@media (width > 48rem) {
  .main {
    gap: 4.8rem 0;
  }
}

.section {
  --section-pad: 3.6rem;
  width: 100%;
  padding-block: var(--section-pad);
  font-family: "Koburina Gothic W6 JIS2004", sans-serif;
  font-size: 1.5rem;
  line-height: 213.333%;
  background-color: var(--white);
}
.section-content {
  display: grid;
  justify-content: center;
  width: min(85.3333333333vw, 100rem);
  margin-inline: auto;
}
.section.content {
  --section-pad: 2.5rem 6.4rem;
}
.section.links {
  --section-pad: 4.5rem 5rem;
}
.section.info {
  --section-pad: 3.8rem 2.7rem;
}
@media (width > 48rem) {
  .section {
    --section-pad: 6rem;
  }
  .section.content {
    --section-pad: 9rem 8.8rem;
  }
  .section.links {
    --section-pad: 8.6rem 8.5rem;
  }
  .section.info {
    --section-pad: 4.8rem 5.2rem;
  }
}

.info h3 {
  font-size: 1.5rem;
  line-height: 213.333%;
}
.info ul + h3 {
  margin-top: 2.2rem;
}
.info .event-banner {
  width: min(100%, 32rem);
  aspect-ratio: 320/180;
  margin-block: 0.8rem;
  background-color: #D9D9D9;
  border-radius: 2rem;
  overflow: hidden;
}
.info .event-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content-intro {
  padding-bottom: 2.3rem;
}
.content-intro a {
  color: var(--red);
  text-decoration: underline;
}
.content-intro p {
  width: min(85.3333333333vw, 36rem);
  letter-spacing: 0.04em;
}
.content-intro p br {
  display: none;
}
.content h2 {
  width: min(100%, 32rem);
  margin-bottom: 2.4rem;
  color: var(--red);
  font-size: 2rem;
}
.content h2 span {
  display: block;
}
.content h2 span:first-of-type {
  font-size: 1.5rem;
  line-height: 213.333%;
  letter-spacing: 0.05em;
}
.content h2 span:nth-of-type(2) {
  font-size: 2rem;
  line-height: 160%;
  letter-spacing: 0.05em;
}
.content h2 span:last-of-type {
  font-size: 2.4rem;
  line-height: 158.3333333333%;
  letter-spacing: 0.05em;
}
.content h2 div {
  margin-top: 1.6rem;
  padding-block: 1.2rem;
  border: 1px solid currentColor;
  border-radius: 2.4rem;
}
.content h2 img {
  width: 75%;
  margin-inline: auto;
}
@media (width > 32.5rem) {
  .content-intro {
    padding-bottom: 8.6rem;
  }
  .content-intro p {
    max-width: fit-content;
  }
  .content-intro p br {
    display: block;
  }
  .content-intro p + p {
    margin-top: 2em;
  }
  .content h2 {
    margin-bottom: 5.6rem;
  }
}
.content img {
  width: 100%;
  height: auto;
}
.content .picture-solo {
  width: 100%;
}
.content .picture-block {
  display: flex;
  flex-direction: column;
  gap: 2.4rem 0;
  padding-block: 4rem;
  width: min(85.3333333333vw, 100rem);
}
.content .picture-block picture:not(:nth-of-type(2)) {
  width: 100%;
}
.content .picture-block picture:nth-of-type(2) {
  width: 75%;
}
@media (width > 48rem) {
  .content .picture-block {
    gap: 5.6rem 0;
    padding-block: 8rem;
  }
  .content .picture-block picture:nth-of-type(2) {
    width: 64%;
  }
}

.link-list {
  display: grid;
  gap: 8rem 2.8%;
}
.link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
}
.link-item img {
  width: 100%;
  height: auto;
}
.link a {
  display: block;
}
.link p {
  margin-top: 0.8rem;
  text-align: center;
}
.link .haramaki {
  max-width: 41.6rem;
}
.link .haramaki h3 {
  margin-bottom: 3.2rem;
}
.link .haramaki h3 å img {
  width: min(85.3333333333vw, 41.8rem);
}
.link .haramaki .photos {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.link .haramaki .photos a {
  width: min(50%, 20rem);
}
.link .haramaki .photos picture,
.link .haramaki .photos img {
  width: 100%;
}
.link .yasashii-towel {
  max-width: 55.4rem;
}
.link .yasashii-towel h3 {
  margin-bottom: 2.4rem;
}
.link .yasashii-towel h3 img {
  width: min(70.4vw, 26.4rem);
}
.link .yasashii-towel .photos {
  display: grid;
  gap: 2rem 0;
}
.link .yasashii-towel a:first-of-type {
  width: min(27.2vw, 14rem);
  margin-inline: auto;
}
.link .yasashii-towel a:last-of-type {
  width: min(72.5333333333vw, 39.8rem);
}
@media (width > 48rem) {
  .link .yasashii-towel .photos {
    grid-template-columns: 25.2707581227% 71.8411552347%;
    grid-template-rows: auto auto;
    justify-content: space-between;
    gap: 0;
    margin-top: auto;
  }
  .link .yasashii-towel a {
    grid-row: span 2;
    display: grid;
    grid-template-rows: subgrid;
  }
  .link .yasashii-towel a picture {
    margin-top: auto;
  }
}
@media (width > 75rem) {
  .link-list {
    grid-template-columns: 41.6% 55.4%;
  }
  .link-item p {
    margin-top: 2.5rem;
  }
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4rem;
  padding-block: 4rem 2.4rem;
  color: #252525;
  font-family: "Shuei MaruGo L", sans-serif;
  background-color: var(--white);
}
.footer-share {
  display: grid;
  grid-template-columns: repeat(3, 4rem);
  gap: 0 3.1rem;
}
.footer-wrapper {
  display: grid;
  gap: 3.7rem 0;
  width: min(90%, 100rem);
  margin-block: 4rem 2.5rem;
}
.footer-hobo {
  display: grid;
  gap: 2rem 0;
}
.footer-hobo li {
  margin-inline: auto;
}
.footer-hobo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 4rem;
  min-width: 15rem;
  padding-inline: 2.6rem;
  font-size: 1.4rem;
  border: 1px solid currentColor;
  border-radius: 2.4rem;
}
.footer-store {
  justify-self: center;
}
.footer-store a {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  line-height: 200%;
}
@media (width > 53rem) {
  .footer {
    margin-top: 4.8rem;
    padding-block: 3.5rem;
  }
  .footer-wrapper {
    grid-template-columns: max-content max-content;
    justify-content: space-between;
  }
  .footer-hobo {
    grid-template-columns: auto auto;
    gap: 2rem 3.8rem;
  }
  .footer-hobo li {
    margin-inline: 0;
  }
  .footer-hobo li:first-of-type {
    order: 1;
  }
  .footer-hobo li:nth-of-type(2) {
    order: 3;
  }
  .footer-hobo li:nth-of-type(3) {
    order: 2;
  }
  .footer-hobo li:last-of-type {
    order: 4;
  }
}

.cover-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--green);
}
.cover-heading {
  width: min(85.3333333333%, 32rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cover-heading * {
  flex: none;
}
.cover-heading .ringo {
  width: min(31.25%, 10rem);
}
.cover-heading .haramaki {
  width: min(25.625%, 8.2rem);
}
.cover-heading .towel {
  width: min(23.125%, 7.4rem);
}
.cover-heading svg {
  width: min(4.7875%, 1.532rem);
  aspect-ratio: 37/29;
}
@media (width > 48rem) {
  .cover-heading {
    flex-direction: column;
    width: 49.5192307692%;
    aspect-ratio: 206/360;
  }
  .cover-heading .ringo {
    width: 100%;
  }
  .cover-heading .haramaki,
  .cover-heading .towel {
    width: 59.2233009709%;
  }
  .cover-heading svg {
    width: 17.9611650485%;
    aspect-ratio: 37/29;
  }
}

.cover-picture {
  position: relative;
  width: 100%;
  aspect-ratio: 375/360;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--red);
}
.cover-picture .circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(78.9333333333%, 29.6rem);
  aspect-ratio: 1;
}
.cover-picture .circle-bg {
  width: 97.972972973%;
  aspect-ratio: 1;
}
.cover-picture .hmmm {
  position: absolute;
  inset: 0;
  animation: circle 20s linear infinite;
}
.cover-picture .hmmm img {
  position: absolute;
  top: 5.4054054054%;
  left: 7.7702702703%;
  width: 18.5810810811%;
  height: auto;
}
@media (width > 48rem) {
  .cover-picture {
    aspect-ratio: unset;
  }
  .cover-picture .circle {
    width: 61.5234375%;
  }
  .cover-picture .circle-bg {
    width: 95.2380952381%;
  }
  .cover-picture .hmmm img {
    top: 1.9047619048%;
    left: 21.2698412698%;
    width: 13.9682539683%;
  }
}

@keyframes circle {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}
.part-02 {
  position: relative;
  z-index: 1;
  width: 100%;
  background-color: var(--green);
  pointer-events: none;
  touch-action: none;
}
.part-02 * {
  pointer-events: none;
  touch-action: none;
}
.part-02 picture {
  color: transparent;
  opacity: 0;
  z-index: 0;
  backface-visibility: hidden;
  position: absolute;
  inset: 0;
  --slide-wait: 0s;
}
.part-02 picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body:has(.story-time.is-skip) .part-02 picture {
  --slide-wait: 4s;
  animation: slideshow-of-4 16s linear infinite var(--slide-wait);
}
body:has(.story-time.is-skip) .part-02 picture:nth-of-type(1) {
  animation-delay: calc(0s + var(--slide-wait));
}
body:has(.story-time.is-skip) .part-02 picture:nth-of-type(2) {
  animation-delay: calc(4s + var(--slide-wait));
}
body:has(.story-time.is-skip) .part-02 picture:nth-of-type(3) {
  animation-delay: calc(8s + var(--slide-wait));
}
body:has(.story-time.is-skip) .part-02 picture:nth-of-type(4) {
  animation-delay: calc(12s + var(--slide-wait));
}
body:has(.story-time.is-end) .part-02 picture {
  --slide-wait: 10s;
  animation: slideshow-of-4 16s linear infinite var(--slide-wait);
}
body:has(.story-time.is-end) .part-02 picture:nth-of-type(1) {
  animation-delay: calc(0s + var(--slide-wait));
}
body:has(.story-time.is-end) .part-02 picture:nth-of-type(2) {
  animation-delay: calc(4s + var(--slide-wait));
}
body:has(.story-time.is-end) .part-02 picture:nth-of-type(3) {
  animation-delay: calc(8s + var(--slide-wait));
}
body:has(.story-time.is-end) .part-02 picture:nth-of-type(4) {
  animation-delay: calc(12s + var(--slide-wait));
}
.part-02 picture:not(:first-of-type) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

@keyframes slideshow-of-4 {
  0% {
    opacity: 0;
    animation-timing-function: ease-in;
  }
  15.00% {
    opacity: 1;
    animation-timing-function: ease-out;
  }
  25.00% {
    opacity: 1;
  }
  35.00% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.cover-title {
  position: absolute;
  top: 39.1891891892%;
  left: 28.0405405405%;
  width: 35.472972973%;
  height: auto;
}
.cover-title path {
  opacity: 0;
  filter: blur(10px);
  transform-origin: center center;
  animation: title 0.35s linear forwards;
}
.cover-title path:nth-of-type(1) {
  animation-delay: 2.8s;
}
.cover-title path:nth-of-type(2) {
  animation-delay: 2.45s;
}
.cover-title path:nth-of-type(3) {
  animation-delay: 2.1s;
}
.cover-title path:nth-of-type(4) {
  animation-delay: 1.75s;
}
.cover-title path:nth-of-type(5) {
  animation-delay: 1.4s;
}
.cover-title path:nth-of-type(6) {
  animation-delay: 1.05s;
}
.cover-title path:nth-of-type(7) {
  animation-delay: 0.7s;
}
.cover-title path:nth-of-type(8) {
  animation-delay: 0.35s;
}
@media (width > 48rem) {
  .cover-title {
    top: 39.9206349206%;
    left: 30%;
    width: 26.3492063492%;
  }
}

@keyframes title {
  from {
    opacity: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
.cover-footer {
  position: relative;
  width: 100%;
  display: grid;
  justify-content: center;
  padding-top: 8.5333333333%;
  background-image: linear-gradient(to bottom, var(--green) 60%, var(--green-darker) 60%);
}
.cover-footer .apples {
  position: absolute;
  bottom: 31.5%;
  right: 7.2%;
  width: min(30.4%, 15rem);
  height: fit-content;
  aspect-ratio: 114/60;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.cover-footer .apples:before, .cover-footer .apples:after {
  content: "";
  flex: none;
  display: block;
  background: url("../img/cover_apple.webp") center/contain no-repeat;
}
.cover-footer .apples:before {
  width: 35.9649122807%;
  height: 85%;
  transform: rotate(-28.16deg);
  animation: apple1 1.2s steps(4) infinite;
}
.cover-footer .apples:after {
  width: 42.1052631579%;
  height: 100%;
  animation: apple2 1.2s 0.25s steps(4) reverse infinite;
}
.cover-footer .scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem 0;
  width: fit-content;
  color: var(--red);
  font-family: "Koburina Gothic W6 JIS2004", sans-serif;
  font-size: min(3.7333333333vw, 1.4rem);
  line-height: 114.286%;
  letter-spacing: 0.16em;
}
.cover-footer .scroll svg {
  width: min(8.5333333333vw, 3.2rem);
}
@media (width > 48rem) {
  .cover-footer {
    padding-top: 0;
    background-image: linear-gradient(to bottom, var(--green-darker), var(--green-darker));
  }
  .cover-footer .apples {
    right: 28.3653846154%;
    bottom: 76.8707482993%;
    width: 40.8653846154%;
    aspect-ratio: 170/89;
  }
  .cover-footer .apples:before {
    width: 35.8823529412%;
  }
  .cover-footer .apples:after {
    width: 42.3529411765%;
  }
  .cover-footer .scroll {
    display: none;
  }
}

@keyframes apple1 {
  0% {
    transform: rotate(-28.16deg);
  }
  49.5% {
    transform: rotate(-28.16deg);
  }
  50% {
    transform: rotate(-20deg) translateY(-2px);
  }
  99.5% {
    transform: rotate(-20deg) translateY(-2px);
  }
  100% {
    transform: rotate(-28.16deg);
  }
}
@keyframes apple2 {
  0% {
    transform: rotate(5deg);
  }
  49.5% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(10deg) translateY(2px);
  }
  99.5% {
    transform: rotate(10deg) translateY(2px);
  }
  100% {
    transform: rotate(5deg);
  }
}
.story-time {
  position: sticky;
  z-index: 2;
  top: 0;
  width: 100%;
  height: 100%;
}

.ringo-picture {
  width: 100%;
  height: 100%;
}
.ringo-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-book {
  position: absolute;
  inset: 0;
}

.story {
  color: transparent;
  opacity: 0;
  z-index: 0;
  backface-visibility: hidden;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: max-content auto;
}
.story:not(:first-of-type) {
  position: absolute;
  top: 0;
  left: 0;
}
.story.is-visible {
  opacity: 1;
  z-index: 1;
}
.story-picture {
  position: relative;
  width: 100%;
  aspect-ratio: 375/360;
}
.story-picture picture,
.story-picture img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-text {
  display: grid;
  grid-template-rows: 4.4rem 4.4rem;
  justify-content: center;
  gap: 2.4rem 0;
  padding-top: 11.4666666667%;
  color: var(--white);
  font-family: "Ishii Chu Maru Gothic M", sans-serif;
  font-size: 1.5rem;
  line-height: 160%;
  background-color: var(--red);
}
.story-text p {
  width: fit-content;
  margin-inline: auto;
}
@media (width > 48rem) {
  .story {
    grid-template-columns: 28.8888888889% auto;
    grid-template-rows: unset;
  }
  .story-picture {
    order: 2;
    aspect-ratio: unset;
  }
  .story-text {
    grid-template-rows: 7.2rem 7.2rem;
    gap: 4rem 0;
    padding-top: min(75%, 31.2rem);
    font-size: 1.8rem;
    line-height: 177.778%;
  }
}
@media (height < 667px) {
  .story-text {
    gap: 1.6rem;
    padding-top: 2rem;
  }
}
@media (height < 500px) {
  .story-text {
    padding-top: 4.3rem;
  }
}

.story:not(.page-7) .story-text p {
  visibility: hidden;
  opacity: 0;
}

.is-fixed .story:not(.page-7).is-visible p {
  animation: display-fade-in 1s 0.5s linear forwards;
}
.is-fixed .story:not(.page-7).is-visible p:nth-of-type(2) {
  animation-delay: 2.2s;
}

@keyframes dream-text {
  from {
    opacity: 0;
    visibility: visible;
    filter: blur(5px);
  }
  to {
    opacity: 1;
    visibility: visible;
    filter: blur(0);
  }
}
.story-time .story-nav {
  position: absolute;
  z-index: 5;
  bottom: min(13.6vw, 5.1rem);
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}
.story-time .story-nav button {
  transition: all 0.25s ease;
}
@media (hover: hover) {
  .story-time .story-nav button:hover {
    color: var(--red);
    background-color: var(--white);
    border: 1px solid var(--white);
  }
}
.story-time .controls {
  width: 12rem;
  height: 3.2rem;
  display: flex;
  justify-content: space-between;
}
.story-time .controls button {
  width: 3.2rem;
  height: 3.2rem;
  color: var(--white);
  font-size: 0;
  background-color: rgba(255, 255, 255, 0);
  border: 1px solid currentColor;
  border-radius: 0.8rem;
}
.story-time .controls button::before {
  content: "";
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  background-color: currentColor;
  mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 10" %3E%3Cpath d="M7.75433 0.19889C8.00817 -0.0662962 8.41963 -0.0662962 8.67347 0.19889L12.8096 4.51989C13.0635 4.78508 13.0635 5.21492 12.8096 5.48011L8.67347 9.80111C8.41963 10.0663 8.00817 10.0663 7.75433 9.80111C7.50049 9.53592 7.50049 9.10607 7.75433 8.84089L10.7809 5.67905L0.650002 5.67905C0.291016 5.67905 -2.13651e-07 5.37503 -1.98744e-07 5C-1.83837e-07 4.62497 0.291016 4.32095 0.650002 4.32095L10.7809 4.32095L7.75433 1.15911C7.50049 0.893926 7.50049 0.464076 7.75433 0.19889Z"/%3E%3C/svg%3E');
  mask-size: 1.3rem 1rem;
  mask-position: center;
  mask-repeat: no-repeat;
}
.story-time .controls button.button-prev::before {
  transform: scaleX(-1);
}
.story-time:has(.story.page-1.is-visible) .button-prev {
  cursor: default;
  pointer-events: none;
  opacity: 0.25;
}
.story-time .button-skip {
  position: absolute;
  right: 7.7333333333vw;
  bottom: 0;
  width: 6.4rem;
  height: 3.2rem;
  color: var(--white);
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  border: 1px dashed var(--white);
  border-radius: 0.8rem;
}
@media (width > 48rem) {
  .story-time .story-nav {
    bottom: 0;
    left: 0;
    width: 28.8888888889%;
    padding-bottom: 12.2222222222%;
  }
  .story-time .button-skip {
    right: 4.8rem;
    bottom: 6.7rem;
  }
}
@media (height < 667px) {
  .story-time .story-nav {
    bottom: 0;
    padding-bottom: 1rem;
  }
  .story-time .button-skip {
    bottom: 1rem;
  }
}
@media (height < 500px) {
  .story-time .story-nav {
    padding-bottom: 8rem;
  }
  .story-time .button-skip {
    bottom: 2.4rem;
  }
}

@keyframes fade-in-blur {
  from {
    opacity: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
@keyframes fade-in-blur-scale {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}
@keyframes fade-in-angle {
  from {
    opacity: 0;
    transform: var(--transform-value-begin);
  }
  to {
    opacity: 1;
    transform: var(--transform-value-end);
  }
}
.page-2 .thought {
  position: absolute;
  top: 16.9444444444%;
  left: 5.3333333333%;
  width: 17.0666666667%;
  height: auto;
}
.page-2 .thought path {
  opacity: 0;
  filter: blur(10px);
}
.page-2.is-visible .thought path:last-of-type, .page-2.is-visible .thought path:nth-of-type(2) {
  animation: fade-in-blur 0.5s ease forwards;
}
.page-2.is-visible .thought path:nth-of-type(2) {
  animation-delay: 0.5s;
}
.page-2.is-visible .thought path:first-of-type {
  transform-origin: center center;
  animation: fade-in-blur-scale 1.2s 0.65s linear forwards;
}
@media (width > 48rem) {
  .page-2 .thought {
    top: 22.4557522124%;
    left: 9.27734375%;
    width: 12.6953125%;
  }
}

.page-6 .thought {
  position: absolute;
  top: 21.6666666667%;
  left: 12.5333333333%;
  width: 13.8666666667%;
  height: auto;
}
.page-6 .thought path {
  opacity: 0;
}
.page-6 .thought path:first-of-type {
  filter: blur(10px);
}
.page-6 .thought path:last-of-type {
  --transform-value-begin: translate(5px, -16px);
  --transform-value-end: translate(0, 0);
  transform: var(--transform-value-begin);
}
.page-6 .thought .story-text p:first-of-type {
  font-size: 1.7rem;
}
.page-6 .thought .story-text p:last-of-type {
  font-size: 2rem;
}
.page-6.is-visible .thought path:first-of-type {
  animation: fade-in-blur 0.25s ease forwards;
}
.page-6.is-visible .thought path:last-of-type {
  animation: fade-in-angle 1s 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@media (width > 48rem) {
  .page-6 .thought {
    top: 25.7743362832%;
    left: 21.38671875%;
    width: 8.984375%;
  }
  .page-6 .story-text p:first-of-type {
    font-size: 2rem;
  }
  .page-6 .story-text p:last-of-type {
    font-size: 2.4rem;
  }
}

.page-7 .story-text {
  display: block;
  padding-top: 6.6666666667%;
  color: var(--red);
  font-size: 2.4rem;
  line-height: 133.333%;
}
.page-7 .bubble {
  position: relative;
  width: min(85.3333333333%, 32rem);
  aspect-ratio: 320/198;
  margin-inline: auto;
  display: flex;
  justify-content: center;
}
.page-7 .bubble svg {
  width: 100%;
  height: 100%;
}
.page-7 .bubble p {
  position: absolute;
  top: 40.9090909091%;
  width: fit-content;
}
.page-7 .bubble span {
  opacity: 1;
}
.page-7.is-visible .bubble {
  animation: swing 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@media (width > 48rem) {
  .page-7 .story-text {
    padding-top: 54.8076923077%;
    line-height: 166.667%;
  }
  .page-7 .bubble {
    width: min(94.2307692308%, 39.2rem);
  }
}
@media (height < 667px) {
  .page-7 .story-text {
    padding-top: 0;
  }
  .page-7 .story-text .bubble {
    width: 67vw;
  }
  .page-7 .story-text .bubble p {
    top: 36%;
    font-size: 1.9rem;
  }
}

@keyframes swing {
  0% {
    transform: scale(0.5);
  }
  40% {
    transform: scale(0.25);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes scale {
  0% {
    transform: rotate(5deg);
  }
  9.5% {
    transform: rotate(5deg);
  }
  10% {
    transform: rotate(-5deg);
  }
  19.5% {
    transform: rotate(-5deg);
  }
  20% {
    transform: rotate(5deg);
  }
  29.5% {
    transform: rotate(5deg);
  }
  30% {
    transform: rotate(-5deg);
  }
  39.5% {
    transform: rotate(-5deg);
  }
  40% {
    transform: rotate(5deg);
  }
  49.5% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(-5deg) scale(1.1);
  }
  59.5% {
    transform: rotate(-5deg) scale(1.1);
  }
  60% {
    transform: rotate(5deg) scale(1.2);
  }
  69.5% {
    transform: rotate(5deg) scale(1.2);
  }
  70% {
    transform: rotate(-5deg) scale(1.1);
  }
  79.5% {
    transform: rotate(-5deg) scale(1.1);
  }
  80% {
    transform: rotate(5deg) scale(1.2);
  }
  89.5% {
    transform: rotate(5deg) scale(1.2);
  }
  90% {
    transform: rotate(-5deg) scale(1.1);
  }
  99.5% {
    transform: rotate(-5deg) scale(1.1);
  }
  100% {
    transform: rotate(0deg);
  }
}
.page-10 {
  grid-template-columns: unset;
  grid-template-rows: unset;
}
.page-10 .story-picture {
  aspect-ratio: unset;
  width: 100%;
  height: 100%;
}

.story-time {
  background-color: var(--white);
}
.story-time .story-book:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
}
.story-time.is-skip .story-book {
  animation: fade-out 2s 1s linear forwards;
}
.story-time.is-skip .story-book:after {
  z-index: 1;
  animation: shuteye 2.5s linear forwards;
}
.story-time.is-end .story-book {
  animation: fade-out 2s 5s linear forwards;
}
.story-time.is-end .story-book:after {
  z-index: 1;
  animation: shuteye 2.5s 4s linear forwards;
}

body:has(.story-time.is-skip) .stage01 {
  animation: fade-out-stage 1s 4s linear forwards;
}
body:has(.story-time.is-end) .stage01 {
  animation: fade-out-stage 1s 10s linear forwards;
}

@keyframes shuteye {
  0% {
    box-shadow: inset 0 0 0 0 white;
  }
  10% {
    box-shadow: inset 0 0 0 0 white;
  }
  25% {
    box-shadow: inset 0 0 10vw 0 white;
  }
  100% {
    box-shadow: inset 0 0 10vw 60vw white;
  }
}
@keyframes fade-out {
  from {
    opacity: 1;
    visibility: visible;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes fade-out-stage {
  from {
    opacity: 1;
    visibility: visible;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes fade-in-stage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
[data-watch=element] {
  opacity: 0;
  visibility: hidden;
}
[data-watch=element].in-view {
  animation: display-fade-in 0.75s linear forwards;
}

@keyframes display-fade-in {
  from {
    opacity: 0;
    visibility: visible;
  }
  to {
    opacity: 1;
    visibility: visible;
  }
}
body,
html {
  height: 100dvh;
  overflow: hidden;
}

.wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}
.wrapper.stage01 {
  z-index: 2;
}
.wrapper.stage02 {
  z-index: 1;
}