:root {
  color-scheme: light;
  --paper: #fffdf8;
  --cream: #f8f2e8;
  --pink: #f5d5d0;
  --rose: #e9b7b0;
  --cta: #cd7979;
  --ink: #383330;
  --muted: #70645f;
  --line: #292725;
  --border: #ddcfc2;
  --sans: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.9 var(--sans); overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
figure, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, button:focus-visible { outline: 2px solid #90474c; outline-offset: 4px; }
h1, h2, h3 { font-family: var(--sans); line-height: 1.45; margin: 0 0 .65em; font-weight: 700; letter-spacing: .02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 2.5rem, 51rem); margin-inline: auto; }
.section { padding-block: clamp(2.7rem, 6vw, 4.8rem); }
.center { text-align: center; }
.masthead {
  max-width: 58rem; margin: auto; padding: .55rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem;
}
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; }
.wordmark img { width: clamp(5.2rem, 23vw, 7rem); height: auto; }
h1 span { color: #a75155; }
.masthead nav { display: flex; flex-wrap: wrap; gap: 0 .85rem; font-size: .875rem; }
.masthead nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }

.hero { text-align: center; padding-block: clamp(1.25rem, 4vw, 2.8rem) 1.4rem; }
.kicker { color: #835352; font-size: .875rem; font-weight: 700; letter-spacing: .15em; margin-bottom: .75rem; }
h1 { font-size: clamp(1rem, calc((100vw - 2.5rem) / 13.25), 2.85rem); line-height: 1.35; letter-spacing: .01em; white-space: nowrap; margin-bottom: 0; }
.scene { isolation: isolate; position: relative; }
.scene::before {
  content: ""; position: absolute; z-index: -1; inset: 10% 2%;
  border-radius: 54% 39% 48% 42% / 53% 45% 47% 39%;
  background: var(--pink); transform: rotate(-4deg);
}
.hero-scene { display: grid; width: min(100%, 36rem); margin: .8rem auto 0; }
.hero-scene img { grid-row: 2; width: 100%; }
.hero-scene::before { inset: 24% 1% 17%; }
.scene img { position: relative; z-index: 0; }
.scene figcaption { position: relative; z-index: 1; }
.hero-scene figcaption {
  grid-row: 1; display: flex; align-items: start; justify-content: space-between;
  gap: .7rem; padding: .3rem 7% .65rem 3%; text-align: center;
}
.bubble {
  --bubble-paper: var(--paper);
  position: relative; display: inline-block; margin: 0;
  padding: .4rem .85rem; color: var(--line); background: var(--bubble-paper);
  border: 1px solid var(--line); border-radius: 46% 49% 43% 48% / 53% 44% 51% 42%;
  font: 600 .94rem/1.5 var(--sans); text-align: center;
}
.bubble::after {
  content: ""; position: absolute; bottom: -5px; left: 57%; width: 9px; height: 9px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bubble-paper); transform: rotate(36deg) skew(6deg);
}
.hero-boy { transform: rotate(-5deg); }
.hero-mom { transform: rotate(6deg); margin-top: .2rem; }
.hero-mom::after { left: 30%; }
.hero-date { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .2rem .75rem; margin: .8rem auto .05rem; }
.when { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .1rem .6rem; }
.when b { font: 700 2.5rem/1 var(--sans); }
.year, .day { font-size: .875rem; }
.hours { font-weight: 600; }
.capacity { padding-inline: .35rem; font-size: .875rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: .23em; }
.hero-booking { display: inline-block; margin-top: .85rem; text-decoration: none; }
.hero-booking:hover .registration-hour { text-decoration: underline; }
.registration-start { display: grid; justify-items: center; gap: .15rem; color: #754340; }
.registration-day { font-size: clamp(1.05rem, 4.5vw, 1.35rem); font-weight: 700; line-height: 1.5; }
.registration-hour { color: #a9443d; font-size: clamp(1.6rem, 7.5vw, 2rem); font-weight: 700; line-height: 1.25; white-space: nowrap; }

.return-story { max-width: 40rem; padding-top: clamp(2.1rem, 5vw, 4rem); }
.return-story h2 { margin-bottom: .5em; }
.voices { display: grid; gap: .4rem; width: min(100%, 34rem); margin: .75rem auto 1.6rem; }
.voice {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start;
  width: min(100%, 23rem); padding: .45rem .45rem .1rem; column-gap: .5rem;
}
.voice::before { inset: 19% 4% 3%; }
.voice img { width: 100%; max-height: 9.75rem; object-fit: contain; align-self: end; }
.voice figcaption {
  width: clamp(10rem, 57vw, 15rem); align-self: start; margin-top: 0;
  padding: .65rem .4rem .75rem; font-size: clamp(.98rem, 4.5vw, 1.15rem);
  transform: rotate(-4deg); overflow-wrap: normal;
}
.voice figcaption::before, .voice figcaption::after {
  content: ""; position: absolute; top: 56%; bottom: auto; left: -12px; width: 15px; height: 13px;
  border: 0; transform: none; clip-path: polygon(100% 0, 100% 76%, 0 100%);
}
.voice figcaption::before { background: var(--line); }
.voice figcaption::after { background: var(--paper); left: -9px; width: 13px; height: 11px; }
.voice-b { justify-self: end; grid-template-columns: auto minmax(0, 1fr); }
.voice-b img { grid-column: 2; grid-row: 1; max-height: 9rem; }
.voice-b figcaption { grid-column: 1; grid-row: 1; transform: rotate(5deg); margin-top: .15rem; }
.voice-b figcaption::before, .voice-b figcaption::after { left: auto; right: -12px; scale: -1 1; }
.voice-b figcaption::after { right: -9px; }
.voice-b::before { inset: 15% 1% 1% 4%; transform: rotate(5deg); }
.return-copy { margin-left: clamp(0rem, 6vw, 4rem); }
.reel { margin: 1.2rem 0 0; padding-left: .75rem; border-left: 2px solid var(--rose); }
.reel p { margin: 0 0 .45rem; }
.pill { display: inline-flex; gap: .55rem; align-items: center; justify-content: center; min-height: 48px; padding: .6rem 1.1rem; border: 1px solid transparent; border-radius: 99px; font: 600 1rem/1.55 var(--sans); text-align: center; text-decoration: none; transition: background-color .2s ease; }
.secondary { border-color: #a9807a; background: var(--paper); }
.secondary:hover { background: var(--pink); }
.button-icon { flex: none; }
.secondary .button-arrow { margin-left: .15rem; }
.primary {
  background: var(--pink); color: #a9443d; border-color: #c3867e;
  width: min(100%, 31rem); min-height: 76px;
  padding: .85rem .5rem; gap: .4rem; white-space: nowrap;
  font-size: clamp(1rem, calc((100vw - 5rem) / 13), 2.05rem); font-weight: 700;
}
.primary .button-arrow { width: .82em; height: .82em; }
.primary[href]:hover, .primary[href]:active { background: var(--rose); }
.primary:disabled { border-color: #d3a29c; }
.lesson { padding-top: 1.9rem; }
.story-sequence { list-style: none; padding: 0; margin: 1.75rem auto 0; max-width: 43rem; }
.story-row { display: grid; gap: .65rem; justify-items: start; margin-bottom: 1.65rem; }
.story-row:last-child { margin-bottom: 0; }
.story-sequence .story-row { row-gap: .85rem; }
.story-sequence .story-row + .story-row { margin-top: 2.2rem; }
.story-copy { max-width: 29rem; }
.story-copy h3 { margin-bottom: .25rem; }
.story-copy p { margin: 0; }
.story-art {
  display: grid; justify-items: center; align-items: center;
  width: min(78%, 17rem); margin-left: .3rem;
}
.story-art img { width: auto; max-width: 100%; max-height: 13.5rem; }
.story-art::before { inset: 15% 3% 9%; opacity: .66; }
.cream .story-art, .lunch .story-art { justify-self: end; width: min(86%, 20rem); margin: 0 .3rem 0 0; }
.cream .story-art::before, .lunch .story-art::before { transform: rotate(6deg); }
.lunch .story-copy { margin-left: clamp(.6rem, 5vw, 2rem); }
.story-row.cream { width: min(100%, 28rem); margin-inline-start: auto; }
.cream .story-copy { justify-self: end; text-align: right; }
.carry .story-art { width: min(64%, 14rem); }
.extras { max-width: 41rem; padding-top: 2.4rem; }
.extras h2 { margin-left: clamp(0rem, 5vw, 2rem); }
.extras .story-row { margin-top: 1.8rem; }
.talk .story-art { width: min(66%, 13rem); }
.talk .story-art::before { background: var(--cream); transform: rotate(-7deg); }
.berry-note { width: clamp(4.5rem, 17vw, 7.4rem); margin: 0 auto .7rem; transform: rotate(8deg); }
.finished-scene { width: min(92%, 18rem); margin: 2rem auto 0; }
.finished-scene::before { inset: 12% 5%; }
.finished-scene img { width: 100%; }

.guide { background: var(--cream); border-radius: 49% 51% 0 0 / 1.25rem 1.55rem 0 0; }
.guide-inner { max-width: 42rem; }
.guide-inner > h2 { text-align: center; }
.guide-inner h3 { margin-top: 1.65rem; }
.guide-date {
  position: relative; isolation: isolate; width: fit-content; max-width: 100%;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  column-gap: .85rem; margin: 0 auto 1.6rem; padding: .4rem .65rem;
  font-size: clamp(1.08rem, 4.2vw, 1.38rem); font-weight: 700;
}
.guide-date::before {
  content: ""; position: absolute; inset: 12% 0 8%; z-index: -1;
  border-radius: 51% 44% 46% 41% / 42% 58% 44% 57%;
  background: var(--pink); transform: rotate(-3deg);
}
.guide-date time, .guide-date span, .schedule strong { white-space: nowrap; }
.schedule, .directions { padding: 0; list-style: none; }
.schedule { margin: 0; border-left: 2px solid var(--rose); padding-left: 1rem; }
.schedule li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .05rem .8rem; }
.schedule li + li { margin-top: .5rem; }
.schedule strong { color: #754340; }
.guide-facts { display: flex; flex-wrap: wrap; gap: .9rem 1rem; }
.guide-facts div { flex: 1 1 6rem; }
.guide-facts div:first-child { flex-basis: 10.5rem; }
.guide-facts div:nth-child(n+3) { flex-basis: 100%; }
.guide-facts dt { color: #754340; font-size: .9rem; font-weight: 700; }
.guide-facts .fee { font-size: 1.12rem; font-weight: 700; white-space: nowrap; }
.venue { margin-top: 1.65rem; padding-top: .15rem; border-top: 1px solid var(--border); }
.venue-name { font-weight: 700; font-size: 1.13rem; margin-bottom: .15rem; }
.venue-address { white-space: pre-line; }
.directions { margin: .65rem 0; }
.note { color: var(--muted); font-size: .875rem; }
.booking { background: #faeae5; border-radius: 55% 45% 0 0 / 1.4rem 1.1rem 0 0; }
.booking h2 { text-wrap: balance; }
.booking-intro span { white-space: nowrap; }
.booking-info { width: min(100%, 34rem); margin-inline: auto; }
.booking-date { margin: 1.4rem 0 .65rem; }
.booking-window { margin-bottom: .85rem; }
.hero-window, .booking-window time { color: var(--muted); font-size: .9rem; }
.hero-window { margin: .5rem 0 0; }
.booking-base-note { margin: .8rem 0 0; }
.booking-art {
  width: min(85%, 19rem); margin: .75rem auto .15rem;
  pointer-events: none;
}
.booking-art::before { inset: 14% 5% 40%; opacity: .78; }
.booking-art img { width: 100%; }
.profile { max-width: 36rem; padding-bottom: 0; }
.profile-copy h2 { margin-bottom: .15rem; }
.teacher-name { margin-bottom: .95rem; font: 700 1.15rem/1.5 var(--sans); }
.teacher-bio { line-height: 1.8; }
.teacher-bio p { margin-bottom: .65rem; }
.teacher-belief { font-weight: 700; }
.profile-social { margin: 1.15rem 0 0; }
.signature {
  position: relative; left: 50%; transform: translateX(-50%);
  width: min(calc(100% + 2rem), 34rem); max-width: none; margin: .8rem 0 0;
}
footer { border-top: 1px solid var(--border); background: var(--cream); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 2rem; padding-block: 1.5rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .875rem; }
.footer-inner small { color: var(--muted); }
@media (min-width: 42rem) {
  .hero-scene { margin-top: 1rem; }
  .hero-scene figcaption { padding-inline: 10% 13%; }
  .return-story h2 { margin-left: .35rem; }
  .voices { gap: 0; }
  .voice-b { margin-top: -.75rem; }
  .story-row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 1.4rem; margin-bottom: 2.25rem; }
  .lunch { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .lunch .story-art { grid-column: 2; grid-row: 1; }
  .lunch .story-copy { grid-column: 1; grid-row: 1; }
  .story-row.cream { grid-template-columns: minmax(0, 1fr); }
  .fruit .story-art, .carry .story-art { grid-column: 1; grid-row: 1; justify-self: center; }
  .fruit .story-copy, .carry .story-copy { grid-column: 2; grid-row: 1; }
  .guide-facts div:nth-child(3) { flex-basis: 18rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .scene.arrived img { animation: arrive .5s ease-out both; }
  .scene.arrived .bubble { animation: arrive .42s .15s ease-out both; }
  @keyframes arrive { from { opacity: .25; translate: 0 5px; } to { opacity: 1; translate: 0 0; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.cream .story-art img, .lunch .story-art img { max-height: 15rem; }
.talk .story-art img, .carry .story-art img { max-height: 10.5rem; }
