/* =========================================================
   癒し処 よし ｜ YOSHI ONSEN
   和の湯屋をおもわせる意匠 — 生成りの和紙、墨、藍、朱
   ========================================================= */

/* ---------- 色と寸法 ---------- */
:root {
  /* 昼の湯 */
  --washi:        #f3ede1;   /* 生成り和紙 */
  --washi-deep:   #e9e0cf;
  --washi-card:   #fbf7ef;
  --sumi:         #1d1b17;   /* 墨 */
  --sumi-soft:    #4a463e;
  --sumi-faint:   #7d766a;
  --ai:           #1f3a56;   /* 藍 */
  --ai-light:     #35597c;
  --ai-wash:      #dfe6ec;
  --shu:          #b4482f;   /* 朱 */
  --shu-light:    #cf6a4c;
  --matcha:       #6f8a5f;   /* 若竹 */
  --kin:          #a98545;   /* 金 */
  --line:         rgba(29, 27, 23, 0.14);
  --line-soft:    rgba(29, 27, 23, 0.08);
  --shadow:       0 18px 40px -24px rgba(29, 27, 23, 0.45);
  --shadow-lift:  0 26px 60px -28px rgba(29, 27, 23, 0.55);

  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --wrap: 1140px;
  --header-h: 74px;
}

/* 夜の湯（自動） */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --washi:      #14161a;
    --washi-deep: #0f1114;
    --washi-card: #1c1f25;
    --sumi:       #ece6da;
    --sumi-soft:  #bdb6a8;
    --sumi-faint: #8b8478;
    --ai:         #8fb6d8;
    --ai-light:   #a9cbe8;
    --ai-wash:    #22303d;
    --shu:        #e08264;
    --shu-light:  #ef9b7e;
    --matcha:     #9cb98a;
    --kin:        #d8b273;
    --line:       rgba(236, 230, 218, 0.16);
    --line-soft:  rgba(236, 230, 218, 0.08);
    --shadow:     0 18px 40px -24px rgba(0, 0, 0, 0.8);
    --shadow-lift:0 26px 60px -28px rgba(0, 0, 0, 0.9);
  }
}

/* 夜の湯（手動） */
:root[data-theme="dark"] {
  --washi:      #14161a;
  --washi-deep: #0f1114;
  --washi-card: #1c1f25;
  --sumi:       #ece6da;
  --sumi-soft:  #bdb6a8;
  --sumi-faint: #8b8478;
  --ai:         #8fb6d8;
  --ai-light:   #a9cbe8;
  --ai-wash:    #22303d;
  --shu:        #e08264;
  --shu-light:  #ef9b7e;
  --matcha:     #9cb98a;
  --kin:        #d8b273;
  --line:       rgba(236, 230, 218, 0.16);
  --line-soft:  rgba(236, 230, 218, 0.08);
  --shadow:     0 18px 40px -24px rgba(0, 0, 0, 0.8);
  --shadow-lift:0 26px 60px -28px rgba(0, 0, 0, 0.9);
}

/* ---------- 下ごしらえ ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--washi);
  color: var(--sumi);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: hidden;
  /* 和紙の粒 */
  background-image:
    radial-gradient(circle at 20% 12%, rgba(180, 72, 47, 0.05), transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(31, 58, 86, 0.06), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

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

h1, h2, h3, .mincho { font-family: var(--mincho); font-weight: 600; letter-spacing: 0.08em; line-height: 1.5; }

a { color: var(--ai); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--shu); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, 800px); }

.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: absolute; left: 50%; translate: -50% -120%;
  background: var(--ai); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  z-index: 200; transition: translate .2s;
}
.skip-link:focus { translate: -50% 0; }

:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; }

/* ---------- 見出しの共通部 ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }

.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }

.section-kicker {
  font-family: var(--mincho);
  font-size: 13px; letter-spacing: 0.34em; color: var(--shu);
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(28px, 4.4vw, 42px);
  margin: 0 0 18px;
  position: relative; display: inline-block;
}
.section-title::after {
  content: ""; position: absolute; left: 50%; bottom: -12px; translate: -50% 0;
  width: 54px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--kin), transparent);
}

.section-lead {
  max-width: 62ch; margin: 22px auto 0;
  color: var(--sumi-soft); font-size: 15px;
}

/* ---------- ボタン ---------- */
.btn {
  --btn-bg: var(--ai);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px;
  font-family: var(--mincho); font-size: 15px; font-weight: 600; letter-spacing: 0.14em;
  border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; text-decoration: none;
  transition: transform .25s cubic-bezier(.2,.9,.3,1), box-shadow .25s, background-color .25s, color .25s;
}
.btn-primary { background: var(--ai); color: #fbf7ef; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--ai-light); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost { background: transparent; color: var(--sumi); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--shu); color: var(--shu); transform: translateY(-2px); }
.btn-seal { background: var(--shu); }
.btn-seal:hover { background: var(--shu-light); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- 頭（ヘッダー） ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: color-mix(in srgb, var(--washi) 88%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  transition: box-shadow .3s, background-color .3s;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(0,0,0,.6); }

.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.header-rule {
  height: 3px;
  background: repeating-linear-gradient(90deg,
    var(--ai) 0 34px, transparent 34px 44px, var(--shu) 44px 60px, transparent 60px 70px);
  opacity: .5;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--shu); color: #fbf7ef; border-radius: 50%;
  font-size: 20px; line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-ja { font-family: var(--mincho); font-size: 19px; font-weight: 800; letter-spacing: 0.12em; }
.brand-en { font-size: 9.5px; letter-spacing: 0.4em; color: var(--sumi-faint); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 14px; color: var(--sumi); text-decoration: none; position: relative;
  font-family: var(--mincho); letter-spacing: 0.1em;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--shu); transition: width .3s;
}
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--ai); color: #fbf7ef !important; padding: 9px 22px; border-radius: 999px;
}
.nav-cta:hover { background: var(--shu); }

.header-tools { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; cursor: pointer; color: var(--sumi);
  font-family: var(--mincho); font-size: 12.5px; letter-spacing: 0.1em;
  transition: border-color .25s, color .25s;
}
.theme-toggle:hover { border-color: var(--shu); color: var(--shu); }
.theme-toggle-icon { font-size: 14px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: transparent; border-radius: var(--r-sm); cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle .bar { width: 18px; height: 1.5px; background: var(--sumi); transition: .3s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 入口（ヒーロー） ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 72px) 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 15% 0%, color-mix(in srgb, var(--ai-wash) 70%, transparent), transparent 55%),
    radial-gradient(ellipse at 95% 20%, rgba(180, 72, 47, 0.10), transparent 50%);
}
/* 青海波 */
.hero-bg::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 62%;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%231f3a56' stroke-width='1.1'%3E%3Cpath d='M0 40a40 40 0 0180 0'/%3E%3Cpath d='M0 40a30 30 0 0180 0'/%3E%3Cpath d='M0 40a20 20 0 0180 0'/%3E%3Cpath d='M0 40a10 10 0 0180 0'/%3E%3Cpath d='M-40 40a40 40 0 0180 0'/%3E%3Cpath d='M40 40a40 40 0 0180 0'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 40px;
  mask-image: linear-gradient(to top, #000 10%, transparent 100%);
}

/* 湯気 */
.steam { position: absolute; top: 12%; right: 8%; width: 220px; height: 320px; z-index: -1; pointer-events: none; }
.steam span {
  position: absolute; bottom: 0; width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--washi-card) 70%, transparent), transparent 70%);
  filter: blur(14px); opacity: 0;
  animation: rise 11s ease-in infinite;
}
.steam span:nth-child(1) { left: 10%;  animation-delay: 0s; }
.steam span:nth-child(2) { left: 32%;  animation-delay: 2.2s; }
.steam span:nth-child(3) { left: 54%;  animation-delay: 4.4s; }
.steam span:nth-child(4) { left: 24%;  animation-delay: 6.6s; }
.steam span:nth-child(5) { left: 68%;  animation-delay: 8.8s; }

@keyframes rise {
  0%   { transform: translateY(0) scale(.6); opacity: 0; }
  18%  { opacity: .85; }
  100% { transform: translateY(-300px) scale(2.1); opacity: 0; }
}

.hero-inner {
  display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; padding-bottom: clamp(70px, 10vw, 130px);
  position: relative;
}

/* 縦書きの添え文字 */
.hero-eaves {
  position: absolute; top: -34px; right: -6px;
  writing-mode: vertical-rl;
  font-family: var(--mincho); font-size: 12px; letter-spacing: 0.5em;
  color: var(--sumi-faint); margin: 0; opacity: .8;
}

.hero-kicker {
  display: inline-block; margin: 0 0 20px; padding: 6px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mincho); font-size: 12px; letter-spacing: 0.22em; color: var(--shu);
  background: color-mix(in srgb, var(--washi-card) 60%, transparent);
}

.hero-title { font-size: clamp(42px, 7.2vw, 78px); font-weight: 800; margin: 0 0 24px; line-height: 1.24; }
.hero-title .line { display: block; }
.hero-title .accent { color: var(--shu); position: relative; width: fit-content; }
.hero-title .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 10px;
  background: color-mix(in srgb, var(--kin) 35%, transparent);
  z-index: -1; border-radius: 2px;
}

.hero-lead { max-width: 46ch; color: var(--sumi-soft); margin: 0 0 32px; font-size: 15.5px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 26px; list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--line); padding-top: 22px;
}
.hero-badges li { font-size: 12.5px; color: var(--sumi-faint); letter-spacing: 0.1em; }
.hero-badges b {
  display: block; font-family: var(--mincho); font-size: 26px; color: var(--ai); letter-spacing: 0.04em;
}

/* 本日のご案内 */
.hero-card {
  background: var(--washi-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-card::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid var(--line-soft);
  border-radius: calc(var(--r-lg) - 6px); pointer-events: none;
}
.hero-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.seal {
  width: 46px; height: 46px; display: grid; place-items: center; flex: none;
  background: var(--shu); color: #fbf7ef; font-family: var(--mincho); font-size: 22px;
  border-radius: var(--r-sm); transform: rotate(-4deg);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, #fff 40%, transparent);
}
.hero-card-title { font-family: var(--mincho); font-size: 16px; margin: 0; }
.hero-card-sub { font-size: 12px; color: var(--sumi-faint); margin: 2px 0 0; }

.hero-card-list { margin: 0 0 16px; display: grid; gap: 12px; }
.hero-card-list > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-bottom: 11px; border-bottom: 1px dashed var(--line);
}
.hero-card-list dt { font-size: 12.5px; color: var(--sumi-faint); margin: 0; }
.hero-card-list dd { margin: 0; font-family: var(--mincho); font-size: 15px; }
.hero-card-note { font-size: 11.5px; color: var(--sumi-faint); margin: 0; }

.wave-divider {
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 34c80-22 160-22 240 0s160 22 240 0 160-22 240 0 160 22 240 0 160-22 240 0v26H0z' fill='%23e9e0cf' opacity='.7'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
  opacity: .9;
}

/* ---------- 三つの約束 ---------- */
.promise { background: var(--washi-deep); padding: clamp(46px, 6vw, 72px) 0; border-block: 1px solid var(--line-soft); }
.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.promise-item { position: relative; padding-left: 58px; }
.promise-num {
  position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--ai); border-radius: 50%; color: var(--ai);
  font-family: var(--mincho); font-size: 17px;
}
.promise-item h3 { margin: 6px 0 8px; font-size: 18px; }
.promise-item p { margin: 0; font-size: 14px; color: var(--sumi-soft); }

/* ---------- お品書き ---------- */
.menu-section { position: relative; }
/* 麻の葉 */
.menu-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cg fill='none' stroke='%231d1b17' stroke-width='1'%3E%3Cpath d='M30 0v104M0 26l30 26L60 26M0 78l30-26 60 26M0 0l30 26L60 0M0 104l30-26 30 26M0 0v104M60 0v104'/%3E%3C/g%3E%3C/svg%3E");
}

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }

.menu-card {
  background: var(--washi-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px 26px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.9,.3,1), box-shadow .35s, border-color .35s;
}
.menu-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--card-accent, var(--ai));
  opacity: .85;
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--card-accent) 45%, var(--line)); }

.menu-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }

.menu-kanji {
  font-family: var(--mincho); font-size: 30px; line-height: 1;
  color: var(--card-accent, var(--ai));
  writing-mode: vertical-rl; letter-spacing: 0.1em;
  border-left: 1px solid var(--line); padding-left: 10px;
  min-height: 78px;
}

.menu-card h3 { margin: 0 0 4px; font-size: 21px; }
.menu-en { font-size: 10.5px; letter-spacing: 0.26em; color: var(--sumi-faint); margin: 0 0 12px; text-transform: uppercase; }
.menu-desc { font-size: 14px; color: var(--sumi-soft); margin: 0 0 18px; flex: 1; }

.menu-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; padding: 0; list-style: none; }
.menu-tags li {
  font-size: 11px; letter-spacing: 0.06em; padding: 3px 11px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--sumi-faint);
  background: color-mix(in srgb, var(--card-accent) 7%, transparent);
}

.menu-meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-top: 16px; border-top: 1px dashed var(--line); margin-bottom: 18px;
}
.menu-time { font-size: 12.5px; color: var(--sumi-faint); }
.menu-price { font-family: var(--mincho); font-size: 25px; color: var(--sumi); }
.menu-price small { font-size: 11px; color: var(--sumi-faint); margin-left: 4px; letter-spacing: .1em; }

.menu-pick {
  width: 100%; padding: 12px; cursor: pointer;
  background: transparent; color: var(--card-accent, var(--ai));
  border: 1px solid color-mix(in srgb, var(--card-accent) 40%, transparent);
  border-radius: 999px;
  font-family: var(--mincho); font-size: 14px; letter-spacing: 0.12em;
  transition: background-color .25s, color .25s;
}
.menu-pick:hover { background: var(--card-accent); color: #fbf7ef; }

.menu-foot { text-align: center; margin: 34px 0 0; font-size: 12.5px; color: var(--sumi-faint); }

/* ---------- ご利用の流れ ---------- */
.flow-section { background: var(--washi-deep); border-block: 1px solid var(--line-soft); }
.flow-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 24px;
  counter-reset: flow;
}
.flow-item {
  background: var(--washi-card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px 24px; text-align: center; position: relative;
}
.flow-item::after {
  content: "→"; position: absolute; right: -17px; top: 50%; translate: 0 -50%;
  color: var(--kin); font-size: 17px;
}
.flow-item:last-child::after { content: none; }
.flow-step {
  display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 14px;
  background: var(--ai); color: #fbf7ef; border-radius: 50%;
  font-family: var(--mincho); font-size: 20px;
}
.flow-item h3 { margin: 0 0 8px; font-size: 17px; }
.flow-item p { margin: 0; font-size: 13.5px; color: var(--sumi-soft); }

/* ---------- 施術者 ---------- */
.therapist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }

.therapist-card {
  background: var(--washi-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 26px; text-align: center;
  transition: transform .35s, box-shadow .35s;
}
.therapist-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.therapist-face {
  width: 92px; height: 92px; margin: 0 auto 18px;
  border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mincho); font-size: 34px; color: #fbf7ef;
  background: linear-gradient(145deg, var(--ai), var(--ai-light));
  box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--washi-card) 80%, transparent), var(--shadow);
}
.therapist-card h3 { margin: 0 0 3px; font-size: 19px; }
.therapist-role { font-size: 11.5px; letter-spacing: 0.2em; color: var(--shu); margin: 0 0 14px; }
.therapist-bio { font-size: 13.5px; color: var(--sumi-soft); margin: 0 0 18px; }
.therapist-skills { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; list-style: none; padding: 0; margin: 0; }
.therapist-skills li {
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: var(--ai-wash); color: var(--ai); letter-spacing: .05em;
}

/* ---------- ご予約 ---------- */
.booking-section { background: var(--washi-deep); border-block: 1px solid var(--line-soft); }

.booking-shell {
  background: var(--washi-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* 進行表示 */
.stepper {
  display: flex; list-style: none; margin: 0; padding: 22px clamp(18px, 4vw, 40px);
  gap: 8px; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ai-wash) 45%, transparent);
}
.step { flex: 1; display: flex; align-items: center; gap: 10px; opacity: .45; transition: opacity .3s; position: relative; }
.step + .step::before {
  content: ""; position: absolute; left: -8px; top: 50%; width: 8px; height: 1px; background: var(--line);
}
.step.is-active, .step.is-done { opacity: 1; }
.step-dot {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--ai); border-radius: 50%; color: var(--ai);
  font-family: var(--mincho); font-size: 14px; background: var(--washi-card);
  transition: background-color .3s, color .3s;
}
.step.is-active .step-dot { background: var(--ai); color: #fbf7ef; }
.step.is-done .step-dot { background: var(--matcha); border-color: var(--matcha); color: #fbf7ef; }
.step-name { font-family: var(--mincho); font-size: 13.5px; letter-spacing: .1em; }

.booking-body { padding: clamp(24px, 4vw, 44px); }

.panel { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.panel.is-active { display: block; animation: panelIn .4s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.panel-title {
  font-family: var(--mincho); font-size: clamp(19px, 2.6vw, 23px); font-weight: 600;
  padding: 0 0 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); width: 100%;
}

/* 手技の選択 */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 30px; }

.choice {
  position: relative; display: block; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 18px 16px; background: var(--washi);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.choice:hover { transform: translateY(-3px); border-color: var(--ai); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-name { display: block; font-family: var(--mincho); font-size: 16.5px; margin-bottom: 3px; }
.choice-en { display: block; font-size: 10px; letter-spacing: .2em; color: var(--sumi-faint); margin-bottom: 10px; }
.choice-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--sumi-faint); }
.choice-meta b { font-family: var(--mincho); font-size: 18px; color: var(--sumi); }
.choice input:checked + .choice-inner { color: inherit; }
.choice:has(input:checked) {
  border-color: var(--shu); background: color-mix(in srgb, var(--shu) 7%, var(--washi));
  box-shadow: 0 0 0 1px var(--shu);
}
.choice:has(input:checked)::after {
  content: "承"; position: absolute; top: -9px; right: 12px;
  background: var(--shu); color: #fbf7ef; font-family: var(--mincho); font-size: 11px;
  width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
}
.choice input:focus-visible + .choice-inner { outline: 2px solid var(--shu); outline-offset: 4px; }

.field-block { margin-bottom: 28px; }
.field-label { display: block; font-family: var(--mincho); font-size: 14px; margin: 0 0 10px; letter-spacing: .08em; }

.option-list { display: grid; gap: 10px; }
.option {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 16px;
  background: var(--washi); transition: border-color .25s, background-color .25s;
}
.option:hover { border-color: var(--ai); }
.option:has(input:checked) { border-color: var(--matcha); background: color-mix(in srgb, var(--matcha) 9%, var(--washi)); }
.option input { width: 17px; height: 17px; accent-color: var(--matcha); flex: none; }
.option-text { flex: 1; font-size: 14px; }
.option-text small { display: block; font-size: 11.5px; color: var(--sumi-faint); }
.option-price { font-family: var(--mincho); font-size: 15px; color: var(--sumi-soft); white-space: nowrap; }

.select-wrap { position: relative; max-width: 420px; }
.select-wrap::after {
  content: "▾"; position: absolute; right: 16px; top: 50%; translate: 0 -50%;
  pointer-events: none; color: var(--sumi-faint);
}
select, input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; padding: 13px 16px; font-family: var(--gothic); font-size: 14.5px;
  color: var(--sumi); background: var(--washi);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  appearance: none; transition: border-color .25s, box-shadow .25s;
}
select:focus, input:focus, textarea:focus {
  outline: none; border-color: var(--ai); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ai) 15%, transparent);
}
textarea { resize: vertical; line-height: 1.8; }

/* 暦 */
.calendar-layout { display: grid; grid-template-columns: 1fr .82fr; gap: 30px; }

.calendar { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; background: var(--washi); }
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-month { font-family: var(--mincho); font-size: 18px; margin: 0; letter-spacing: .1em; }
.cal-nav {
  width: 34px; height: 34px; border: 1px solid var(--line); background: transparent;
  border-radius: 50%; cursor: pointer; color: var(--sumi); font-size: 18px; line-height: 1;
  transition: border-color .25s, color .25s;
}
.cal-nav:hover:not(:disabled) { border-color: var(--shu); color: var(--shu); }
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }

.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-weekdays {
  margin-bottom: 8px; text-align: center; font-size: 11.5px; color: var(--sumi-faint);
  font-family: var(--mincho); letter-spacing: .05em;
}
.cal-weekdays .sun { color: var(--shu); }
.cal-weekdays .sat { color: var(--ai); }

.cal-day {
  aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 1px solid transparent; border-radius: var(--r-sm); background: transparent;
  font-family: var(--mincho); font-size: 14px; color: var(--sumi); cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.cal-day.is-empty { pointer-events: none; }
.cal-day:not(:disabled):hover { background: var(--ai-wash); transform: translateY(-2px); }
.cal-day:disabled { color: var(--sumi-faint); opacity: .38; cursor: not-allowed; text-decoration: line-through; }
.cal-day.is-selected { background: var(--ai); color: #fbf7ef; border-color: var(--ai); }
.cal-day.is-selected .dot { background: #fbf7ef !important; }
.cal-day.is-today { border-color: var(--kin); }

.dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.dot-open { background: var(--matcha); }
.dot-few { background: var(--kin); }
.dot-closed { background: var(--sumi-faint); }

.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 16px 0 0; font-size: 11.5px; color: var(--sumi-faint); }
.cal-legend span { display: inline-flex; align-items: center; gap: 5px; }

.slots { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; background: var(--washi); }
.slots-title { font-family: var(--mincho); font-size: 15px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 9px; }

.slot {
  padding: 11px 6px; text-align: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--washi-card);
  font-family: var(--mincho); font-size: 14px; color: var(--sumi);
  transition: border-color .2s, background-color .2s, transform .2s;
}
.slot:not(:disabled):hover { border-color: var(--shu); transform: translateY(-2px); }
.slot.is-selected { background: var(--shu); border-color: var(--shu); color: #fbf7ef; }
.slot:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.slot small { display: block; font-size: 10px; letter-spacing: .04em; color: var(--sumi-faint); font-family: var(--gothic); }
.slot.is-selected small { color: color-mix(in srgb, #fff 80%, transparent); }
.slots-empty { font-size: 13px; color: var(--sumi-faint); grid-column: 1 / -1; margin: 0; }

/* 入力 */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.req { font-style: normal; font-size: 10px; color: var(--shu); border: 1px solid currentColor; padding: 1px 6px; border-radius: 3px; margin-left: 7px; letter-spacing: .08em; }
.field-error { font-size: 12px; color: var(--shu); min-height: 1em; }
.field.has-error input, .field.has-error textarea { border-color: var(--shu); }

.checkbox { flex-direction: row; align-items: flex-start; gap: 11px; cursor: pointer; font-size: 14px; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--ai); margin-top: 3px; flex: none; }

/* 確認 */
.confirm-card { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.confirm-list { margin: 0; }
.confirm-list > div {
  display: grid; grid-template-columns: 170px 1fr; gap: 16px;
  padding: 15px 22px; border-bottom: 1px solid var(--line-soft);
}
.confirm-list dt { margin: 0; font-size: 13px; color: var(--sumi-faint); font-family: var(--mincho); letter-spacing: .08em; }
.confirm-list dd { margin: 0; font-size: 14.5px; }
.confirm-total {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; background: color-mix(in srgb, var(--ai-wash) 55%, transparent);
  font-family: var(--mincho);
}
.confirm-total strong { font-size: 27px; color: var(--shu); }

.panel-actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line);
}
.panel-hint { flex: 1; font-size: 12.5px; color: var(--sumi-faint); min-width: 170px; }
.panel-hint.is-warn { color: var(--shu); }

/* 完了 */
.done { text-align: center; padding: 26px 0 10px; animation: panelIn .5s ease both; }
.done-seal {
  width: 88px; height: 88px; margin: 0 auto 24px; display: grid; place-items: center;
  border: 3px solid var(--shu); color: var(--shu); border-radius: 50%;
  font-family: var(--mincho); font-size: 38px; transform: rotate(-6deg);
  animation: stamp .6s cubic-bezier(.2,1.4,.4,1) both;
}
@keyframes stamp {
  0% { transform: rotate(-30deg) scale(2.4); opacity: 0; }
  100% { transform: rotate(-6deg) scale(1); opacity: 1; }
}
.done-title { font-size: 27px; margin: 0 0 10px; }
.done-lead { color: var(--sumi-soft); font-size: 14.5px; margin: 0 auto 28px; max-width: 48ch; }
.done-list {
  max-width: 470px; margin: 0 auto 30px; text-align: left;
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.done-list > div {
  display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 13px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.done-list > div:last-child { border-bottom: 0; }
.done-list dt { margin: 0; font-size: 12.5px; color: var(--sumi-faint); }
.done-list dd { margin: 0; font-size: 14px; font-family: var(--mincho); }
.done-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* 集計 */
.summary {
  display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: center;
  padding: 18px clamp(18px, 4vw, 44px);
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--ai-wash) 40%, transparent);
}
.summary-line { display: flex; align-items: baseline; gap: 10px; }
.summary-label { font-size: 11.5px; color: var(--sumi-faint); letter-spacing: .12em; font-family: var(--mincho); }
.summary-value { font-size: 14px; font-family: var(--mincho); }
.summary-price { margin-left: auto; }
.summary-price .summary-value { font-size: 22px; color: var(--shu); }

/* ---------- お客様の声 ---------- */
.voice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; }
.voice-card {
  margin: 0; background: var(--washi-card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 28px 26px; position: relative;
}
.voice-card::before {
  content: "「"; position: absolute; top: 10px; left: 16px;
  font-family: var(--mincho); font-size: 46px; color: var(--kin); opacity: .45; line-height: 1;
}
.voice-card blockquote { margin: 0 0 18px; font-size: 14.5px; color: var(--sumi-soft); }
.voice-card figcaption { display: flex; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.voice-name { font-family: var(--mincho); font-size: 15px; }
.voice-meta { font-size: 11.5px; color: var(--sumi-faint); }

/* ---------- よくあるご質問 ---------- */
.faq-section { background: var(--washi-deep); border-top: 1px solid var(--line-soft); }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--washi-card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 0 24px; transition: border-color .25s;
}
.faq-item[open] { border-color: var(--ai); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 34px 20px 24px; margin: 0 -24px;
  font-family: var(--mincho); font-size: 16px; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "問"; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  color: var(--shu); font-size: 13px;
}
.faq-item summary::after {
  content: "＋"; position: absolute; right: 2px; top: 50%; translate: 0 -50%;
  color: var(--ai); transition: transform .3s;
}
.faq-item[open] summary::after { content: "－"; }
.faq-item p {
  margin: 0; padding: 0 0 22px 24px; font-size: 14px; color: var(--sumi-soft);
  border-top: 1px dashed var(--line); padding-top: 18px;
}

/* ---------- 足元 ---------- */
.site-footer { background: var(--sumi); color: var(--washi); padding: clamp(50px, 7vw, 76px) 0 0; }
:root[data-theme="dark"] .site-footer,
.site-footer { background: #171512; color: #e9e0cf; }

.footer-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 44px; padding-bottom: 46px; }
.footer-brand .brand-mark { margin-bottom: 16px; }
.footer-ja { font-family: var(--mincho); font-size: 22px; margin: 0 0 4px; letter-spacing: .12em; }
.footer-en { font-size: 10px; letter-spacing: .34em; color: rgba(233,224,207,.55); margin: 0 0 16px; }
.footer-note { font-size: 13px; color: rgba(233,224,207,.7); margin: 0; }

.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 30px; }
.footer-head { font-family: var(--mincho); font-size: 14px; margin: 0 0 14px; color: #e9e0cf; letter-spacing: .1em; }
.footer-nav a, .footer-plain {
  display: block; font-size: 13px; color: rgba(233,224,207,.68);
  text-decoration: none; margin-bottom: 9px; transition: color .2s;
}
.footer-nav a:hover { color: var(--shu-light); }
.footer-plain { margin: 12px 0 0; line-height: 1.8; }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 20px 0 26px; border-top: 1px solid rgba(233,224,207,.14);
  font-size: 11.5px; color: rgba(233,224,207,.5);
}
.footer-bottom p { margin: 0; }

/* ---------- 現れる動き ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.9,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 画面の幅に応じて ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .hero-eaves { display: none; }
  .calendar-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 3px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--washi-card); border-bottom: 1px solid var(--line);
    padding: 10px 20px 22px; box-shadow: var(--shadow);
    clip-path: inset(0 0 100% 0); transition: clip-path .35s ease;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .nav-cta { text-align: center; margin-top: 14px; border-bottom: 0; }
  .theme-toggle-label { display: none; }
  .theme-toggle { padding: 9px 11px; }
  .flow-item::after { content: none; }
  .form-grid { grid-template-columns: 1fr; }
  .stepper { padding: 16px 14px; gap: 4px; }
  .step-name { display: none; }
  .step { flex: none; }
  .step + .step::before { width: 22px; left: -15px; }
  .confirm-list > div { grid-template-columns: 1fr; gap: 3px; }
  .summary-price { margin-left: 0; width: 100%; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 32px); }
  .menu-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 18px; }
  .done-list > div { grid-template-columns: 1fr; gap: 2px; }
  .slot-grid { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
}

@media print {
  .site-header, .hero, .steam, .stepper, .panel-actions, .summary, .site-footer { display: none !important; }
}
