/* =========================================================
   からだ調律室 ナギ（架空の個人整体サロン）
   Layout: 余白の多い非対称レイアウト／PCのヒーローは縦書き
   ========================================================= */
:root {
  --pine: #1F3D36;
  --pine-2: #2D5248;
  --sage: #8FB3A2;
  --mist: #E4ECE6;
  --snow: #F6F8F5;
  --white: #FFFFFF;
  --mustard: #C9952E;
  --ink: #23302C;
  --ink-soft: #5D6D67;
  --line: rgba(31, 61, 54, .14);
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-head: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Cormorant Garamond", Georgia, serif;
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--snow); line-height: 1.9; font-size: 16px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.5; margin: 0; letter-spacing: .06em; word-break: auto-phrase; }
p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
.container { width: min(1080px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); margin-inline: auto; }

.demo-ribbon { background: var(--pine); color: var(--mist); text-align: center; font-size: 12px; padding: 6px 12px; letter-spacing: .04em; }
.demo-ribbon strong { color: #F1D28E; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(246, 248, 245, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-ja { font-family: var(--font-head); font-size: 19px; font-weight: 600; letter-spacing: .12em; color: var(--pine); }
.logo-en { font-family: var(--font-en); font-size: 13px; letter-spacing: .3em; color: var(--ink-soft); }
.global-nav ul { display: flex; align-items: center; gap: 6px; }
.global-nav a { display: block; padding: 8px 16px; text-decoration: none; font-size: 15px; position: relative; }
.global-nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px; background: var(--pine); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.global-nav a:hover::after, .global-nav a[aria-current="page"]::after { transform: scaleX(1); }
.global-nav .nav-cta { background: var(--pine); color: var(--white); border-radius: 4px; margin-left: 10px; padding: 10px 22px; }
.global-nav .nav-cta::after { display: none; }
.global-nav .nav-cta:hover { background: var(--pine-2); }
.nav-toggle { display: none; }

/* ---------- Common parts ---------- */
.en-label { font-family: var(--font-en); font-style: italic; font-size: 18px; letter-spacing: .12em; color: var(--sage); display: block; margin-bottom: 6px; }
.section { padding: 112px 0; }
.section-title { font-size: clamp(25px, 3vw, 34px); margin-bottom: 20px; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.lead { color: var(--ink-soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 32px; border-radius: 4px; text-decoration: none; font-weight: 500; font-family: inherit; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s; }
.btn-primary { background: var(--pine); color: var(--white); }
.btn-primary:hover { background: var(--pine-2); }
.btn-line { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-line:hover { background: var(--pine); color: var(--white); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

.page-hero { background: var(--mist); padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 40px); }
.page-hero .ripple { position: absolute; right: -80px; top: -60px; width: 360px; opacity: .6; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--ink-soft); margin-top: 14px; }
.breadcrumb li + li::before { content: "／"; margin-right: 8px; opacity: .6; }

/* ---------- Top: Hero (vertical writing on PC) ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 96px; }
.hero-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; min-height: 520px; }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; max-width: 620px; }
.ripple-ring { transform-origin: 50% 50%; transform-box: fill-box; animation: ripple 6s ease-out infinite; opacity: 0; }
.ripple-ring.r2 { animation-delay: 2s; }
.ripple-ring.r3 { animation-delay: 4s; }
@keyframes ripple { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.hero-copy { display: flex; flex-direction: row-reverse; gap: 40px; align-items: flex-start; }
.hero-title { writing-mode: vertical-rl; font-size: clamp(34px, 3.8vw, 46px); letter-spacing: .22em; line-height: 1.9; height: 15em; }
.hero-title span { display: block; }
.hero-sub { writing-mode: vertical-rl; color: var(--ink-soft); letter-spacing: .18em; line-height: 2.4; font-size: 15px; height: 22em; }
.hero-meta { position: absolute; left: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); padding: 8px 16px; border-radius: 40px; font-size: 14px; }
.hero-badge b { color: var(--mustard); font-family: var(--font-en); font-size: 20px; line-height: 1; }

/* Worries */
.worries { background: var(--white); }
.worry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; }
.worry-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.worry-grid li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 5px; border-radius: 50%; border: 1.5px solid var(--sage); background: radial-gradient(circle, var(--sage) 4px, transparent 5px); }
.worries-answer { margin-top: 48px; text-align: center; font-family: var(--font-head); font-size: clamp(19px, 2.2vw, 24px); color: var(--pine); }
.worries-answer em { font-style: normal; background: linear-gradient(transparent 62%, rgba(201, 149, 46, .3) 62%); }

/* Features: alternating rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row + .feature-row { margin-top: 88px; }
.feature-row:nth-child(even) .feature-art { order: 2; }
.feature-art { aspect-ratio: 4 / 3; border-radius: 2px; background: var(--mist); display: grid; place-items: center; position: relative; overflow: hidden; }
.feature-art svg { width: 62%; }
.feature-art .num { position: absolute; left: 20px; top: 10px; font-family: var(--font-en); font-size: 64px; color: var(--white); line-height: 1; }
.feature-text h3 { font-size: clamp(21px, 2.4vw, 26px); margin-bottom: 18px; }
.feature-text p { color: var(--ink-soft); }

/* Flow (real sequence) */
.flow { background: var(--pine); color: var(--mist); }
.flow .en-label { color: #A9C9BA; }
.flow .lead { color: #BFD2C9; }
.flow-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.flow-list li { position: relative; padding: 0 18px; text-align: center; }
.flow-list li + li::before { content: ""; position: absolute; left: -10px; top: 30px; width: 20px; height: 1px; background: rgba(228, 236, 230, .4); }
.flow-step { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; border: 1px solid rgba(228, 236, 230, .45); display: grid; place-items: center; font-family: var(--font-en); font-size: 22px; color: #F1D28E; }
.flow-list h3 { font-size: 17px; margin-bottom: 6px; color: var(--white); }
.flow-list p { font-size: 13px; color: #BFD2C9; line-height: 1.8; }
.flow-time { display: inline-block; margin-top: 8px; font-size: 12px; border: 1px solid rgba(228,236,230,.35); padding: 1px 10px; border-radius: 20px; }

/* Price digest */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { background: var(--white); border: 1px solid var(--line); padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.price-card.is-recommend { border: 2px solid var(--pine); position: relative; }
.price-card.is-recommend::before { content: "初めての方におすすめ"; position: absolute; top: -14px; left: 24px; background: var(--mustard); color: var(--white); font-size: 12px; padding: 2px 12px; }
.price-card h3 { font-size: 20px; }
.price-card .min { font-size: 13px; color: var(--ink-soft); }
.price-card .yen { font-family: var(--font-en); font-size: 38px; color: var(--pine); line-height: 1.1; font-weight: 600; }
.price-card .yen small { font-family: var(--font-body); font-size: 13px; color: var(--ink-soft); margin-left: 4px; font-weight: 400; }
.price-card p { font-size: 14px; color: var(--ink-soft); }
.center-actions { margin-top: 40px; text-align: center; }

/* Message */
.message { background: var(--mist); }
.message-inner { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: center; }
.avatar { aspect-ratio: 1; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.avatar svg { width: 70%; }
.message blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(18px, 2vw, 21px); line-height: 2.1; color: var(--pine); }
.message .sign { margin-top: 20px; color: var(--ink-soft); font-size: 14px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 44px; position: relative; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 6px; top: 16px; font-family: var(--font-en); font-size: 26px; color: var(--sage); }
.faq-list summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--pine); border-bottom: 1.5px solid var(--pine); transform: translateY(-75%) rotate(45deg); transition: transform .3s; }
.faq-list details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-answer { padding: 0 20px 24px 44px; color: var(--ink-soft); position: relative; }
.faq-answer::before { content: "A"; position: absolute; left: 8px; top: -6px; font-family: var(--font-en); font-size: 26px; color: var(--mustard); }

/* CTA band */
.cta-band { background: var(--pine); color: var(--white); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 14px; }
.cta-band p { color: #BFD2C9; margin-bottom: 32px; }
.cta-band .btn-primary { background: var(--white); color: var(--pine); }
.cta-band .btn-primary:hover { background: var(--mist); }
.cta-band .ripple { position: absolute; left: -120px; bottom: -160px; width: 420px; opacity: .25; }

/* ---------- Menu page ---------- */
.menu-table { width: 100%; border-collapse: collapse; background: var(--white); }
.menu-table th, .menu-table td { padding: 22px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.menu-table thead th { background: var(--pine); color: var(--white); font-weight: 500; font-size: 14px; }
.menu-table td.price-cell { font-family: var(--font-en); font-size: 24px; color: var(--pine); white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.menu-table .menu-name { font-family: var(--font-head); font-size: 18px; font-weight: 600; }
.menu-table .menu-desc { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.table-note { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }
.sub-block + .sub-block { margin-top: 96px; }
.option-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.option-list li { background: var(--white); border: 1px solid var(--line); padding: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.option-list b { font-family: var(--font-en); font-size: 20px; color: var(--pine); white-space: nowrap; }

/* Simulator */
.simulator { background: var(--white); border: 1px solid var(--line); padding: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.sim-group + .sim-group { margin-top: 26px; }
.sim-group > p { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.sim-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.sim-choices label { position: relative; cursor: pointer; }
.sim-choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sim-choices span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; background: var(--snow); transition: background .2s, border-color .2s, color .2s; }
.sim-choices input:checked + span { background: var(--pine); border-color: var(--pine); color: var(--white); }
.sim-choices input:focus-visible + span { outline: 3px solid var(--mustard); outline-offset: 2px; }
.sim-result { background: var(--mist); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.sim-result dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.sim-result dd { font-variant-numeric: tabular-nums; }
.sim-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.sim-total strong { font-family: var(--font-en); font-size: 40px; color: var(--pine); font-variant-numeric: tabular-nums; }
.sim-time { font-size: 14px; color: var(--ink-soft); }
.notice-box { background: var(--white); border-left: 3px solid var(--mustard); padding: 28px 32px; }
.notice-box li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-soft); }
.notice-box li + li { margin-top: 8px; }
.notice-box li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; background: var(--mustard); border-radius: 50%; }

/* ---------- About / Access page ---------- */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.profile-card { background: var(--mist); padding: 32px; text-align: center; }
.profile-card .avatar { width: 180px; margin: 0 auto 18px; }
.profile-card .name { font-family: var(--font-head); font-size: 22px; letter-spacing: .2em; }
.profile-card .name-en { font-family: var(--font-en); letter-spacing: .2em; color: var(--ink-soft); font-size: 14px; }
.history { margin-top: 28px; border-top: 1px solid var(--line); }
.history div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.history dt { font-family: var(--font-en); font-size: 18px; color: var(--pine); font-variant-numeric: tabular-nums; }
.room-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.room-list li { background: var(--white); border: 1px solid var(--line); padding: 28px 24px; }
.room-list svg { width: 48px; height: 48px; margin-bottom: 14px; }
.room-list h3 { font-size: 18px; margin-bottom: 8px; }
.room-list p { font-size: 14px; color: var(--ink-soft); }

.access-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.info-list div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 700; color: var(--pine); font-size: 15px; }
.map-box { background: var(--white); border: 1px solid var(--line); padding: 12px; }
.map-box figcaption { font-size: 12px; color: var(--ink-soft); margin-top: 8px; }

/* Calendar */
.calendar { background: var(--white); border: 1px solid var(--line); padding: 28px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-head h3 { font-size: 20px; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--snow); border-radius: 4px; cursor: pointer; font-size: 16px; color: var(--pine); }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-variant-numeric: tabular-nums; }
.cal-grid .dow { font-size: 12px; color: var(--ink-soft); padding: 4px 0; }
.cal-grid .dow.sun { color: #B5533C; }
.cal-grid .dow.sat { color: #3C6CB5; }
.cal-day { padding: 8px 0 6px; font-size: 15px; border-radius: 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.2; }
.cal-day small { font-size: 10px; }
.cal-day.open { background: var(--mist); }
.cal-day.open small { color: var(--pine); }
.cal-day.short { background: #F6EBD3; }
.cal-day.short small { color: #8A6418; }
.cal-day.closed { color: #A9B3AF; }
.cal-day.today { outline: 2px solid var(--pine); outline-offset: -2px; font-weight: 700; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 13px; color: var(--ink-soft); }
.cal-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border-radius: 2px; }
.cal-legend .l-open::before { background: var(--mist); }
.cal-legend .l-short::before { background: #F6EBD3; }
.cal-legend .l-closed::before { background: var(--white); border: 1px solid var(--line); }

/* Reserve form */
.reserve-form { background: var(--white); border: 1px solid var(--line); padding: 48px; }
.demo-notice { display: flex; gap: 14px; align-items: flex-start; background: #FBF4E4; border: 1px solid #E5C988; padding: 14px 18px; margin-bottom: 32px; font-size: 14px; color: #6A4E14; }
.demo-notice strong { flex-shrink: 0; background: var(--mustard); color: var(--white); font-size: 12px; letter-spacing: .12em; padding: 2px 10px; margin-top: 2px; }
.form-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.form-row:last-of-type { border-bottom: 0; }
.form-label { font-weight: 700; font-size: 15px; padding-top: 10px; }
.form-label .req { font-size: 11px; font-weight: 500; background: #B5533C; color: var(--white); padding: 1px 8px; margin-left: 8px; vertical-align: 2px; }
.form-label .opt { font-size: 11px; font-weight: 500; background: var(--mist); color: var(--ink-soft); padding: 1px 8px; margin-left: 8px; vertical-align: 2px; }
.form-control input[type="text"], .form-control input[type="email"], .form-control input[type="tel"], .form-control input[type="date"], .form-control select, .form-control textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 12px 14px; border: 1px solid #C9D6CF; border-radius: 4px; background: var(--snow);
}
.form-control textarea { resize: vertical; }
.radio-set { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 10px; }
.radio-set label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.radio-set input { accent-color: var(--pine); width: 18px; height: 18px; }
.field-error { display: block; color: #B5533C; font-size: 13px; margin-top: 6px; min-height: 1em; }
.has-error input, .has-error select, .has-error textarea { border-color: #B5533C !important; background: #FDF4F1 !important; }
.agree { text-align: center; margin: 28px 0 24px; font-size: 14px; }
.agree input { accent-color: var(--pine); width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }
.submit-wrap { text-align: center; }
.form-done { margin-top: 28px; background: var(--mist); padding: 24px 28px; border-left: 4px solid var(--pine); }
.form-done h3 { font-size: 18px; margin-bottom: 8px; color: var(--pine); }
.form-done dl { margin-top: 14px; font-size: 14px; display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; }
.form-done dt { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: #17302A; color: #BFD2C9; padding: 64px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-brand .logo-ja { color: var(--white); }
.footer-brand p { font-size: 14px; margin-top: 16px; }
.site-footer h4 { font-family: var(--font-en); font-weight: 500; letter-spacing: .2em; font-size: 15px; color: var(--sage); margin-bottom: 12px; }
.site-footer li { font-size: 14px; padding: 3px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-note { grid-column: 1 / -1; border-top: 1px solid rgba(191, 210, 201, .2); padding-top: 24px; font-size: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-note strong { color: #F1D28E; font-weight: 500; }

.sp-fixed-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .hero-meta { position: static; margin-top: 32px; }
  .worry-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row:nth-child(even) .feature-art { order: 0; }
  .flow-list { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
  .flow-list li { display: grid; grid-template-columns: 60px 1fr; gap: 0 20px; text-align: left; padding: 0 0 28px; }
  .flow-list li + li::before { display: none; }
  .flow-list li:not(:last-child)::after { content: ""; position: absolute; left: 30px; top: 64px; bottom: 4px; width: 1px; background: rgba(228, 236, 230, .35); }
  .flow-step { margin: 0; grid-row: span 3; }
  .flow-time { justify-self: start; }
  .price-cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .message-inner, .profile, .access-grid, .simulator { grid-template-columns: 1fr; }
  .message-inner .avatar { max-width: 200px; margin: 0 auto; }
  .option-list, .room-list { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  :root { --header-h: 64px; }
  /* backdrop-filter would make the fixed menu position relative to the header */
  .site-header { backdrop-filter: none; background: var(--snow); }
  .logo svg { width: 34px; height: 34px; }
  .logo-ja { font-size: 17px; }
  .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 56px; height: 56px; border: 0; background: transparent; cursor: pointer; color: var(--pine); font-size: 10px; font-family: var(--font-en); letter-spacing: .1em; }
  .nav-toggle .bars { position: relative; width: 26px; height: 14px; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--pine); transition: transform .3s, top .3s; }
  .nav-toggle .bars::before { top: 2px; }
  .nav-toggle .bars::after { top: 10px; }
  .nav-toggle[aria-expanded="true"] .bars::before { top: 6px; transform: rotate(30deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { top: 6px; transform: rotate(-30deg); }
  .global-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--snow); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto; }
  .global-nav.is-open { opacity: 1; visibility: visible; }
  .global-nav ul { flex-direction: column; align-items: stretch; padding: 24px; gap: 0; }
  .global-nav a { padding: 18px 8px; border-bottom: 1px solid var(--line); font-size: 17px; font-family: var(--font-head); }
  .global-nav a::after { display: none; }
  .global-nav .nav-cta { margin: 24px 0 0; text-align: center; border-bottom: 0; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .container, .narrow { width: calc(100% - 40px); }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding: 24px 0 56px; }
  .hero-visual { max-width: 240px; }
  .hero-copy { flex-direction: column; gap: 16px; }
  .hero-title, .hero-sub { writing-mode: horizontal-tb; height: auto; }
  .hero-title { font-size: 28px; letter-spacing: .1em; line-height: 1.7; }
  .hero-title span { display: inline; }
  .hero-title span + span::before { content: "\A"; white-space: pre; }
  .hero-sub { line-height: 2; letter-spacing: .06em; }
  .hero-meta .btn { width: 100%; }
  .btn { padding: 10px 20px; line-height: 1.5; text-align: center; }
  .worries-answer br { display: none; }
  .worry-grid { grid-template-columns: 1fr; gap: 0; }
  .option-list, .room-list { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0 40px; }
  .menu-table thead { display: none; }
  .menu-table, .menu-table tbody, .menu-table tr, .menu-table td, .menu-table th { display: block; width: 100%; }
  .menu-table tr { border-bottom: 1px solid var(--line); padding: 18px 18px; }
  .menu-table th, .menu-table td { border: 0; padding: 0; }
  .menu-table td.price-cell { margin-top: 8px; font-size: 22px; }
  .menu-table td.time-cell { display: inline-block; width: auto; font-size: 13px; color: var(--ink-soft); }
  .menu-table td.time-cell::before { content: "施術時間："; }
  .simulator { padding: 24px 20px; gap: 24px; }
  .reserve-form { padding: 28px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .form-label { padding-top: 0; }
  .form-done dl { grid-template-columns: 1fr; }
  .calendar { padding: 18px 12px; }
  .cal-day { font-size: 14px; }
  .history div { grid-template-columns: 80px 1fr; }
  .info-list div { grid-template-columns: 84px 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-bottom: 100px; }
  .sp-fixed-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--white); border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .sp-fixed-cta a { display: flex; align-items: center; justify-content: center; min-height: 48px; text-decoration: none; font-size: 14px; font-weight: 700; border-radius: 4px; }
  .sp-fixed-cta .tel { border: 1px solid var(--pine); color: var(--pine); }
  .sp-fixed-cta .web { background: var(--pine); color: var(--white); }
}
