:root {
  --beige-bg: #f5efe4;
  --beige-2: #e9dfcc;
  --beige-3: #fffaf1;
  --ink: #3a3329;
  --ink-soft: #665a4a;
  --green: #2d5c3e;
  --green-deep: #1a3a2a;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --line: #06c755;
  --white-soft: rgba(255, 250, 241, 0.88);
  --shadow: 0 28px 80px rgba(58, 51, 41, 0.18);
  --side-width: 240px;
  /* fixed bottom sticky bar height (measured ~51-53px) used for clearances */
  --sticky-h: 56px;
  --sans: "Noto Sans JP", sans-serif;
  --serif: "Shippori Mincho", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgba(232, 201, 106, 0.14), transparent 26rem),
    linear-gradient(180deg, var(--beige-bg), #f8f1e6 42%, var(--beige-2));
  font-family: var(--sans);
  line-height: 1.85;
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  /* DC-3: balance heading wraps to avoid 1-char orphan / lopsided lines.
     Unsupported browsers ignore this and fall back to normal wrapping. */
  text-wrap: balance;
}

/* DC-3: keep tagged phrases on a single line (text is literally unchanged;
     only its wrapping is constrained) so e.g. "届ける" never splits. */
.nowrap {
  white-space: nowrap;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--beige-3);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.mobile-head,
.drawer,
.drawer-shade {
  display: none;
}

.side-panel {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  display: flex;
  width: var(--side-width);
  height: 100vh;
  padding: 28px 28px 34px;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.72), rgba(233, 223, 204, 0.9)),
    var(--beige-2);
  border-right: 1px solid rgba(201, 168, 76, 0.42);
  flex-direction: column;
  align-items: center;
}

.side-panel__logo {
  display: grid;
  width: 96px;
  height: 96px;
  padding: 8px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid rgba(201, 168, 76, 0.56);
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.68);
}

.side-panel__name {
  margin-bottom: 36px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
}

.side-nav {
  display: grid;
  width: 100%;
  gap: 4px;
}

.side-nav a {
  position: relative;
  padding: 8px 8px 8px 22px;
  color: var(--ink-soft);
  /* DC-2-5: 13px -> 14px for legibility (fits 240px side panel width). */
  font-size: 14px;
  letter-spacing: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.side-nav a::before {
  position: absolute;
  top: 50%;
  left: 4px;
  width: 8px;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: translateY(-50%) scaleX(0.6);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.side-nav a.is-current {
  color: var(--green-deep);
  font-weight: 700;
}

.side-nav a.is-current::before,
.side-nav a:hover::before {
  transform: translateY(-50%) scaleX(1.6);
}

.side-nav a:hover {
  color: var(--green-deep);
  transform: translateX(2px);
}

.side-panel__line {
  width: 100%;
  margin-top: auto;
  padding: 12px 10px;
  color: #fff;
  background: var(--line);
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 14px 28px rgba(6, 199, 85, 0.18);
}

/* Instagram link (PC side panel, below LINE button) */
.side-panel__social,
.drawer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.side-panel__social {
  margin-top: 14px;
}

.side-panel__social:hover,
.side-panel__social:focus-visible,
.drawer__social:hover,
.drawer__social:focus-visible {
  color: var(--gold);
}

.side-panel__social:focus-visible,
.drawer__social:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.side-panel__social .ig-glyph,
.drawer__social .ig-glyph {
  width: 22px;
  height: 22px;
  flex: none;
}

.page-main,
.site-footer {
  margin-left: var(--side-width);
}

/* A-plan: full-bleed photo hero. The image (and, in future, a <video>)
   lives in .hero-media as the main subject; only a minimal scrim + text
   overlay sit on top. The ¥3,900 offer card was moved out to #offer below. */
.hero-section {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  align-items: center;
  /* ultimate fallback so the hero never flashes black before media loads */
  background-color: var(--green-deep);
}

/* img↔video swap container. Both media types share the same absolute,
   object-fit:cover placement, so a future <video> needs no CSS change.
   PC-video / SP-photo split (when a video is added): uncomment ->
     @media (max-width: 1023px) { .hero-media__video { display: none; } .hero-media__img { display: block; } } */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-media > img,
.hero-media > video,
.hero-media__img,
.hero-media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* PC (>=768px): the wide-but-tall hero crops the 3:2 image top/bottom at
   center (50%), cutting the right lantern + standing man's head. Shift y up
   (center -> 30%) so the top of the frame is revealed. Disjoint from the
   <=767px mobile rule, so the two breakpoints never fight.
   Child-combinator selector (0,0,2,0) so this beats the base rule's
   `.hero-media > img` (0,0,1,1); the plain `.hero-media__img` (0,0,1,0)
   used before lost to base and never applied (rendered center 50%, top clipped). */
@media (min-width: 768px) {
  .hero-media > .hero-media__img,
  .hero-media > .hero-media__video {
    object-position: center 30%;
  }

  /* owner: "少し下げてマージンとって". Top padding so the hero sits lower and
     gains breathing room above; the grid is align-items:center, so this also
     nudges the centered overlay copy down a touch (intended). */
  .hero-section {
    padding-top: 72px;
  }
}

/* minimal scrim — keeps the photo as the subject while lifting overlay
   text contrast. Green-tinted (beige>green>gold tone), gold not used here. */
.hero-section__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(26, 58, 42, 0) 38%, rgba(26, 58, 42, 0.5) 100%),
    linear-gradient(90deg, rgba(26, 58, 42, 0.42) 0%, rgba(26, 58, 42, 0.12) 42%, rgba(26, 58, 42, 0) 70%);
}

/* minimal overlay: label + catch + small LINE cta only (no card). */
.hero-overlay {
  width: min(560px, calc(100% - 72px));
  margin-left: clamp(36px, 6vw, 108px);
  color: var(--beige-3);
  text-shadow: 0 2px 18px rgba(26, 58, 42, 0.55);
}

.hero-overlay__cta {
  margin-top: 28px;
}

.small-label,
.section-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

/* overlay label/sub read on the photo, not on a beige card */
.hero-overlay .small-label {
  color: var(--gold-light);
}

.hero-section h1 {
  margin-top: 14px;
  font-size: clamp(42px, 5.8vw, 74px);
  color: var(--beige-3);
}

.hero-section__sub {
  margin-top: 12px;
  color: var(--beige-3);
  font-family: var(--serif);
  font-size: 18px;
}

.offer-panel__badge {
  color: var(--green);
  font-weight: 700;
}

.offer-panel__price {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  /* DC-2-3: lift contrast of the gold price on the beige panel with a
     thin dark stroke + soft shadow (hue unchanged; beige>green>gold kept). */
  -webkit-text-stroke: 0.6px rgba(58, 51, 41, 0.55);
  text-shadow: 0 1px 1px rgba(58, 51, 41, 0.22);
}

.offer-panel__price span {
  margin-left: 4px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
}

.line-button,
.tel-button,
.sticky-line {
  display: inline-flex;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.line-button,
.sticky-line {
  /* DC-2-4: keep pure-white label but add a faint dark shadow so the text
     stays crisp on the bright LINE green. Background --line (#06c755) is
     the official brand color and is intentionally left unchanged. */
  color: #fff;
  background: var(--line);
  text-shadow: 0 1px 2px rgba(26, 58, 42, 0.35);
  box-shadow: 0 16px 30px rgba(6, 199, 85, 0.18);
}

.tel-button {
  color: var(--green-deep);
  border: 1px solid rgba(45, 92, 62, 0.3);
  background: rgba(255, 250, 241, 0.68);
}

.line-button:hover,
.tel-button:hover,
.sticky-line:hover {
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  right: 34px;
  bottom: 32px;
  display: grid;
  width: 46px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(255, 250, 241, 0.75);
  border-radius: 999px;
  background: rgba(58, 51, 41, 0.2);
}

.scroll-cue span {
  width: 1px;
  height: 28px;
  background: var(--gold-light);
  animation: cueMove 1.6s ease-in-out infinite;
}

@keyframes cueMove {
  0%, 100% { transform: translateY(-8px); opacity: 0.35; }
  50% { transform: translateY(8px); opacity: 1; }
}

.content-section {
  padding: clamp(84px, 10vw, 150px) clamp(28px, 5vw, 72px);
  background: transparent;
  /* DC-D3: anchor/scroll target lands below the fixed mobile header (60px)
     so .section-kicker is never clipped under it. Harmless on PC (no fixed
     header there). */
  scroll-margin-top: 64px;
}

.empathy-section,
.offer-section,
.reserve-section,
.access-section {
  background: rgba(255, 250, 241, 0.32);
}

.section-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-shell--narrow {
  width: min(760px, 100%);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 42px;
}

.content-section h2 {
  font-size: clamp(30px, 4.2vw, 52px);
}

.content-section h3 {
  font-size: clamp(21px, 2.4vw, 30px);
}

.gold-rule {
  width: 84px;
  height: 1px;
  margin: 26px 0 30px;
  background: var(--gold);
}

.lead-stack {
  display: grid;
  max-width: 680px;
  gap: 10px;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 20px);
  /* DC-3: avoid single-character orphan last lines in body copy.
     Graceful fallback (ignored where unsupported). */
  text-wrap: pretty;
}

.menu-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.menu-tile {
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid rgba(201, 168, 76, 0.25);
  box-shadow: 0 22px 60px rgba(58, 51, 41, 0.1);
}

.menu-tile figure {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
}

.menu-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.menu-tile:hover img {
  transform: scale(1.04);
}

.menu-tile__body {
  padding: 26px;
}

.menu-tile__number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.menu-tile__body p:last-child,
.trust-item p,
.group-panel p,
.phone-box p,
.access-info,
.site-footer {
  color: var(--ink-soft);
}

.image-note {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: right;
}

.feature-list {
  display: grid;
  max-width: 760px;
  padding: 0;
  margin: 36px 0 0;
  gap: 10px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 12px 16px 12px 36px;
  background: rgba(255, 250, 241, 0.5);
  border: 1px solid rgba(45, 92, 62, 0.12);
}

.feature-list li::before {
  position: absolute;
  top: 22px;
  left: 16px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  content: "";
}

.offer-panel,
.group-panel,
.phone-box,
.access-info {
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid rgba(201, 168, 76, 0.34);
  box-shadow: var(--shadow);
}

.offer-panel {
  margin-top: 30px;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}

.offer-panel__time {
  margin-top: 10px;
  font-weight: 700;
}

.offer-panel .line-button {
  margin-top: 24px;
}

.trust-layout {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  align-items: center;
}

.trust-layout__image {
  position: relative;
}

.trust-layout__image::before {
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 1px solid rgba(201, 168, 76, 0.45);
  content: "";
}

.trust-layout__image img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
}

.trust-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.trust-item {
  padding: 24px 0 24px 24px;
  border-left: 1px solid var(--gold);
}

.reserve-layout,
.access-layout {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  align-items: start;
}

.reserve-lead {
  margin-top: 24px;
  color: var(--green-deep);
  font-size: 20px;
  font-weight: 700;
}

.line-button--large {
  min-height: 56px;
  margin-top: 24px;
  padding-inline: 34px;
  font-size: 18px;
}

.reserve-hint {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 14px;
}

.phone-box {
  margin-top: 34px;
  padding: 24px;
}

.phone-box a {
  display: inline-block;
  margin: 6px 0 12px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
}

.qr-panel {
  margin: 0;
  padding: 24px;
  background: rgba(255, 250, 241, 0.74);
  border: 1px solid rgba(201, 168, 76, 0.34);
}

.qr-panel img {
  width: min(320px, 100%);
  margin: 0 auto;
}

.group-panel {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: clamp(26px, 4vw, 42px);
}

.group-panel__main {
  color: var(--green-deep);
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
}

.access-info {
  padding: clamp(24px, 4vw, 36px);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table caption {
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 700;
  text-align: left;
}

.hours-table th,
.hours-table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.28);
  text-align: left;
}

.hours-table th {
  width: 34%;
  color: var(--ink);
}

address {
  margin: 24px 0 18px;
  font-style: normal;
}

.text-link {
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(201, 168, 76, 0.7);
  text-underline-offset: 5px;
}

.map-wrap {
  min-height: 420px;
  border: 1px solid rgba(201, 168, 76, 0.34);
  background: var(--beige-2);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.site-footer {
  padding: 80px 28px 110px;
  background:
    linear-gradient(180deg, rgba(233, 223, 204, 0.4), rgba(58, 51, 41, 0.92)),
    var(--beige-2);
}

.site-footer__inner {
  display: grid;
  width: min(760px, 100%);
  margin: 0 auto;
  gap: 16px;
  justify-items: center;
  color: var(--beige-3);
  text-align: center;
}

.site-footer img {
  width: 96px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.82);
}

.site-footer__tel {
  color: var(--gold-light);
  font-weight: 700;
}

.copyright {
  font-size: 13px;
}

/* DC-2-1: reduce the fixed bottom bar's visual weight — lower height
   (58->48), reduce green opacity to ~0.9, soften shadow — so it does not
   compete with the hero/content. LINE brand hue (--line) is preserved. */
.sticky-line {
  position: fixed;
  right: 0;
  bottom: 0;
  left: var(--side-width);
  z-index: 50;
  min-height: 48px;
  border-radius: 0;
  border-top: 1px solid rgba(255, 250, 241, 0.28);
  background: rgba(6, 199, 85, 0.9);
  box-shadow: 0 -10px 24px rgba(6, 199, 85, 0.1);
}

.reveal,
.reveal-child {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible,
.reveal-child.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  :root {
    --side-width: 0px;
  }

  .side-panel {
    display: none;
  }

  /* DC-1-head-overlay: float the bar transparently over the hero so the
     hero (image + copy) reads as the first-view hero, not an opaque header.
     A subtle top-down scrim keeps the brand legible over the image. */
  .mobile-head {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    display: flex;
    min-height: 60px;
    padding: 8px 18px;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(245, 239, 228, 0.55), rgba(245, 239, 228, 0));
    transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
  }

  /* BUG-1 (round2): once scrolled past the hero, solidify the bar so the brand
     no longer overlaps section headings. Stays transparent over the hero so the
     full-screen hero (DC-1) is unobstructed. JS toggles .is-scrolled; the
     :not() rule keeps a usable backdrop if JS is unavailable mid-page. */
  .mobile-head.is-scrolled {
    background: rgba(245, 239, 228, 0.92);
    box-shadow: 0 6px 18px rgba(58, 51, 41, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .mobile-head__brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-family: var(--serif);
    font-weight: 700;
  }

  .mobile-head__brand img {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(45, 92, 62, 0.2);
    border-radius: 50%;
    background: rgba(255, 250, 241, 0.78);
    place-content: center;
    gap: 5px;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--green-deep);
  }

  .drawer-shade {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    background: rgba(58, 51, 41, 0.36);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
    visibility: hidden;
  }

  .drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 80;
    display: grid;
    width: min(82vw, 360px);
    padding: 24px;
    background: var(--beige-bg);
    border-left: 1px solid rgba(201, 168, 76, 0.34);
    box-shadow: -20px 0 60px rgba(58, 51, 41, 0.2);
    align-content: start;
    gap: 6px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .drawer-shade.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.25s ease;
  }

  .drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.25s ease;
  }

  .drawer__head {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    align-items: center;
    font-family: var(--serif);
    font-weight: 700;
  }

  .drawer__head img {
    width: 46px;
    height: 46px;
  }

  .drawer a {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.22);
    color: var(--ink);
    font-weight: 700;
  }

  .drawer .drawer__line {
    margin-top: 18px;
    color: #fff;
    background: var(--line);
    border: 0;
    border-radius: 999px;
    text-align: center;
  }

  /* DC-I7: cancel .drawer a descendant border-bottom/padding on IG link */
  .drawer .drawer__social {
    margin-top: 14px;
    padding: 0;
    border-bottom: 0;
    border: 0;
  }

  .page-main,
  .site-footer {
    margin-left: 0;
  }

  .hero-section {
    min-height: max(640px, 100svh);
    padding-top: 60px;
  }

  /* SP scrim: bottom-weighted darkening so the overlay copy + small LINE cta
     stay legible while the photo remains the subject. */
  .hero-section__scrim {
    background:
      linear-gradient(180deg, rgba(26, 58, 42, 0) 30%, rgba(26, 58, 42, 0.62) 100%),
      linear-gradient(180deg, rgba(26, 58, 42, 0.28), rgba(26, 58, 42, 0) 30%);
  }

  /* full-bleed overlay: centered, with bottom clearance so the small LINE
     cta is not hidden under the fixed sticky bar (DC-D2). */
  .hero-overlay {
    width: min(560px, calc(100% - 36px));
    margin: auto 18px;
    align-self: center;
    padding-bottom: calc(var(--sticky-h) + 24px);
  }

  .hero-section h1 {
    font-size: clamp(36px, 10vw, 58px);
  }

  .scroll-cue {
    display: none;
  }

  .content-section {
    padding-inline: 22px;
  }
}

@media (max-width: 767px) {
  body {
    line-height: 1.75;
  }

  .mobile-head__brand span {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* DC-1 root cause fix: previously min-height:620px overrode the
     <=1023px max(640px,100svh) rule, so on tall phones (e.g. 390x844)
     the 620px hero left the next (#empathy) section peeking into the
     first view. Restore full-viewport hero (svh, dvh fallback). */
  .hero-section {
    min-height: max(640px, 100svh);
    min-height: max(640px, 100dvh);
  }

  /* Child-combinator selector (0,0,2,1) so this beats the base rule's
     `.hero-media > img` (0,0,1,1); the plain `.hero-media__img` (0,0,1,0)
     used before lost to base and never applied (rendered center 50%, person
     left-clipped). x=30% slides the cover window further right (lower x reveals
     more of the left frame) so the standing therapist sits right-of-center on
     phones per owner's "もう少し右へ", without clipping his head or body. */
  .hero-media > .hero-media__img,
  .hero-media > .hero-media__video {
    object-position: 30% center;
  }

  .offer-panel__price {
    font-size: 40px;
  }

  .line-button,
  .tel-button {
    width: 100%;
  }

  /* keep the hero "small cta" compact (not a full-width block) so it reads
     as a minimal overlay, not an offer card. */
  .hero-overlay__cta {
    width: auto;
  }

  .menu-grid,
  .trust-layout,
  .reserve-layout,
  .access-layout {
    /* minmax(0,1fr) lets the single column shrink below the min-content of a
       long .nowrap token (e.g. the reserve h2) so narrow phones (320px) get
       no horizontal overflow. Plain 1fr keeps an auto (min-content) minimum. */
    grid-template-columns: minmax(0, 1fr);
  }

  /* DC-3 320px overflow fix + round2 BUG-2: the reserve h2's
     "ご予約・お問い合わせは" token (~11 CJK chars) exceeds a 320px viewport.
     Plain white-space:normal let CJK break anywhere, splitting "お問い合/わせは"
     mid-phrase at 375px. Use word-break:keep-all so the run only breaks at the
     authored <wbr> after "・" — phrase units stay whole where they fit (375px)
     yet still wrap at the natural boundary on 320px. Text is unchanged. */
  .reserve-layout__body h2 .nowrap {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .menu-tile figure {
    aspect-ratio: 1 / 1;
  }

  .image-note {
    text-align: left;
  }

  .trust-layout__image {
    max-width: 360px;
  }

  .phone-box a {
    font-size: 28px;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 340px;
  }

  .sticky-line {
    right: 0;
    bottom: 0;
    left: 0;
  }

  .site-footer {
    /* DC-D1: reserve sticky-bar height + breathing room so the footer
       LINE/tel CTAs are never under the fixed bottom bar. */
    padding-bottom: calc(var(--sticky-h) + 40px);
  }
}

@media (min-width: 1280px) {
  .hero-overlay {
    margin-left: clamp(72px, 8vw, 140px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal-child {
    opacity: 1;
    transform: none;
  }
}
