@import "./themes.css?v=14";
@import "./img-themes.css?v=34";

/* ================================================================
   ★ ENGINE PALETTE — ここだけ変えれば ivory/white テーマ全体が変わる
   accent    : 文字・ボーダーのアクセントカラー
   footer-bg : フッター背景色（濃いめ）
   ================================================================ */
html[data-theme="ivory"],
html[data-theme="white"] {
  --eng-accent:    #FF6600;
  --eng-accent-rgb: 255, 102, 0;
  --eng-footer-bg: #CC5200;
}

/* ── アクセントカラーピッカー（編集画面・ivory/whiteテーマ限定）──
   フッター・FAQ・料金表・スタッフキャッチコピー・アクセスアイコン・
   選ばれる理由の数字・About特徴の数字、全部がこの1色に連動する。 */
html[data-theme="ivory"][data-decorative-color="blue"],
html[data-theme="white"][data-decorative-color="blue"] {
  --eng-accent:    #3A72B0;
  --eng-accent-rgb: 58, 114, 176;
  --eng-footer-bg: color-mix(in srgb, #3A72B0 75%, black);
}
html[data-theme="ivory"][data-decorative-color="green"],
html[data-theme="white"][data-decorative-color="green"] {
  --eng-accent:    #3D8A6E;
  --eng-accent-rgb: 61, 138, 110;
  --eng-footer-bg: color-mix(in srgb, #3D8A6E 75%, black);
}
html[data-theme="ivory"][data-decorative-color="orange"],
html[data-theme="white"][data-decorative-color="orange"] {
  --eng-accent:    #FF6600;
  --eng-accent-rgb: 255, 102, 0;
  --eng-footer-bg: #CC5200;
}
html[data-theme="ivory"][data-decorative-color="pink"],
html[data-theme="white"][data-decorative-color="pink"] {
  --eng-accent:    #B05082;
  --eng-accent-rgb: 176, 80, 130;
  --eng-footer-bg: color-mix(in srgb, #B05082 75%, black);
}
html[data-theme="ivory"][data-decorative-color="gold"],
html[data-theme="white"][data-decorative-color="gold"] {
  --eng-accent:    #a0895f;
  --eng-accent-rgb: 160, 137, 95;
  --eng-footer-bg: #111111;
}

/* ── アクセントカラーピッカー（blue-grey/blackテーマ）──
   黒背景ヘッダーの上に載る文字色として使うため、白地用より明るめのブルーを使用。
   green/orange/pink/goldは白地用と同じ値で黒背景でも視認性十分なためそのまま流用。
   フッターは常に黒固定にするため--eng-footer-bgはここでは定義しない。 */
html[data-theme="blue-grey"],
html[data-theme="black"] {
  --eng-accent:    #a0895f;
  --eng-accent-rgb: 160, 137, 95;
}
html[data-theme="blue-grey"][data-decorative-color="blue"],
html[data-theme="black"][data-decorative-color="blue"] {
  --eng-accent:    #3A72B0;
  --eng-accent-rgb: 58, 114, 176;
}
html[data-theme="blue-grey"][data-decorative-color="green"],
html[data-theme="black"][data-decorative-color="green"] {
  --eng-accent:    #3D8A6E;
  --eng-accent-rgb: 61, 138, 110;
}
html[data-theme="blue-grey"][data-decorative-color="orange"],
html[data-theme="black"][data-decorative-color="orange"] {
  --eng-accent:    #FF6600;
  --eng-accent-rgb: 255, 102, 0;
}
html[data-theme="blue-grey"][data-decorative-color="pink"],
html[data-theme="black"][data-decorative-color="pink"] {
  --eng-accent:    #B05082;
  --eng-accent-rgb: 176, 80, 130;
}
html[data-theme="blue-grey"][data-decorative-color="gold"],
html[data-theme="black"][data-decorative-color="gold"] {
  --eng-accent:    #a0895f;
  --eng-accent-rgb: 160, 137, 95;
}


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* 長い英字連続文字列（URL等）がはみ出さず自然に折り返す（全セクション共通）。
     white-space:nowrap の要素（ヘッダー店名など）には影響しない。 */
  overflow-wrap: break-word;
}

html {
  width: 100%;
  min-height: 100%;
  overscroll-behavior-y: none;
  background: var(--color-bg);
}

body {
  width: 100%;
  min-height: 100svh;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  touch-action: pan-y;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  color: var(--color-text);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

#app {
  width: 100%;
  max-width: 393px;
  margin: 0 auto;
}

.screen {
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.s1 {
  padding:
    max(1.25rem, env(safe-area-inset-top))
    1.25rem
    max(0.875rem, env(safe-area-inset-bottom));
  gap: 0;
  position: relative;
  isolation: isolate;
}

.s1-hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  padding-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

/* ヒーロー下端フェード — テーマ・背景設定に依存しない共通レイヤー */
.s1::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.biz-name {
  font-size: clamp(1.5rem, calc(120vw / var(--title-len, 8)), 5rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.14;
  color: var(--color-accent);
  white-space: pre-line;
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
  width: 100%;
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* キャッチフレーズ(大) — 太字の見出し */
.biz-catchphrase {
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-accent);
  margin-top: 1.25rem;
  letter-spacing: 0.04em;
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  -webkit-font-smoothing: antialiased;
  white-space: pre-line;
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
  opacity: 0.96;
}

/* キャッチフレーズ(小) — 補足の一言 */
.biz-catchphrase-sub {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--color-accent);
  margin-top: 0.75rem;
  letter-spacing: 0.12em;
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  -webkit-font-smoothing: antialiased;
  white-space: pre-line;
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
  opacity: 0.85;
}

/* ── Luxury Hero Typography（s1のみ） ─────────────────── */
/* 背景画像なし: 柔らかい発光＋薄いシャドウで立体感 */
section.screen.s1 .biz-name {
  color: var(--color-accent);
  opacity: 0.94;
  text-shadow:
    0 0 7px rgba(255, 252, 247, 0.20),
    0 0.5px 0 rgba(255, 252, 247, 0.50),
    0 1px 3px rgba(32, 28, 24, 0.10),
    0 6px 22px rgba(32, 28, 24, 0.14),
    0 16px 42px rgba(32, 28, 24, 0.08);
}

/* 背景画像あり: 写真の上でも読めるよう濃いシャドウを強化 */
section.screen.s1[data-bg] .biz-name {
  text-shadow:
    0 0 7px rgba(255, 252, 247, 0.20),
    0 0.5px 0 rgba(255, 252, 247, 0.55),
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.4),
    0 8px 26px rgba(0, 0, 0, 0.4),
    0 20px 48px rgba(0, 0, 0, 0.25);
}

section.screen.s1 .biz-catchphrase,
section.screen.s1 .biz-catchphrase-sub {
  color: var(--color-accent);
  opacity: 0.88;
  text-shadow:
    0 0.5px 0 rgba(255, 252, 247, 0.38),
    0 1px 2px rgba(32, 28, 24, 0.08),
    0 4px 16px rgba(32, 28, 24, 0.11);
}

/* 背景画像あり: 写真の上でも読めるよう濃いシャドウを強化（.biz-nameと同じ考え方） */
section.screen.s1[data-bg] .biz-catchphrase,
section.screen.s1[data-bg] .biz-catchphrase-sub {
  text-shadow:
    0 0 7px rgba(255, 252, 247, 0.20),
    0 0.5px 0 rgba(255, 252, 247, 0.55),
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.4),
    0 8px 26px rgba(0, 0, 0, 0.4),
    0 20px 48px rgba(0, 0, 0, 0.25);
}

/* ── ヒーローテキスト背後のスクリム ───────────────────────────
   白/アイボリー文字色 かつ 背景写真がある時だけ、テキスト裏にごく淡い暗がりを敷く。
   明るい写真の上でもキャッチコピー・サブコピーが確実に読めるようにする狙い。
   写真の雰囲気は保ちつつ中央だけソフトに落とし、周囲は透明にフェードさせる。
   .s1-hero(z-index:1)の::beforeをz-index:-1にすることで、写真の上・テキストの下に配置。 */
html[data-text-color="white"] .s1:has(.s1-bg-slides-wrap) .s1-hero::before,
html[data-text-color="ivory"] .s1:has(.s1-bg-slides-wrap) .s1-hero::before,
html[data-text-color="white"] .s1[data-bg] .s1-hero::before,
html[data-text-color="ivory"] .s1[data-bg] .s1-hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 82%;
  background: radial-gradient(ellipse 58% 46% at 50% 50%,
    rgba(0,0,0,0.36) 0%,
    rgba(0,0,0,0.18) 48%,
    rgba(0,0,0,0) 76%);
  pointer-events: none;
  z-index: -1;
}

/* ── Hero CTA ───────────────────────────────────────── */


.hero-cta__row {
  display: flex;
  width: 100%;
  gap: 0.625rem;
}

.s1-hero .hero-cta__row {
  /* キャッチコピーは中央のまま、CTAボタンだけ下寄り（親指ゾーン）に配置 */
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20vh;
  max-width: 360px;
  margin: 0 auto;
}

/* 予約ボタンを塗りつぶしにして、電話ボタン(ガラス調の枠線のみ)より
   明確に主役として目立たせる。写真の上でも埋もれない強いコントラストを狙う。 */
.hero-cta__primary {
  flex: 1;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  color: #16110c;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: opacity 0.15s ease, transform 0.15s cubic-bezier(0.16,1,0.3,1);
  -webkit-tap-highlight-color: transparent;
}

.hero-cta__secondary {
  flex: 1;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.15s ease, transform 0.15s cubic-bezier(0.16,1,0.3,1);
  -webkit-tap-highlight-color: transparent;
}

.hero-cta__primary:active,
.hero-cta__secondary:active { opacity: 0.72; transform: scale(0.97); }

.hero-cta__icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-cta__icon svg { width: 100%; height: 100%; }

/* ── Services + Menu Section ─────────────────────────── */
.services-menu-section {
  padding: 4rem 1.25rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.services-menu-section .section-label { margin-bottom: 0; }

.services-heading {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text);
  white-space: pre-line;
}

.services-desc {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--color-text-sub);
  letter-spacing: 0.02em;
}

/* 人気メニュー(ピックアップカード) */
.pickup-menu-area {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.pickup-menu-heading {
  font-family: 'Shippori Mincho B1', 'YuMincho', 'Hiragino Mincho ProN', serif;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.pickup-menu-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pickup-menu-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-border-soft);
  border: none;
}

.pickup-menu-card__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-border-soft);
}
.pickup-menu-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pickup-menu-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.25rem 1.125rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 100%);
}

.pickup-menu-card__name {
  font-family: 'Shippori Mincho B1', 'YuMincho', 'Hiragino Mincho ProN', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.pickup-menu-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.625rem;
}

.pickup-menu-card__unit {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
}

.pickup-menu-card__price {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.pickup-menu-card__price-suffix {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  margin-left: 0.125rem;
}

.pickup-menu-card__desc {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.02em;
}

.pickup-menu-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 0.25rem;
}

.pickup-menu-dot {
  appearance: none;
  -webkit-appearance: none;
  width: 7px;
  height: 7px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  outline: none;
  opacity: 0.35;
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.pickup-menu-dot.is-active {
  background: var(--color-text);
  transform: scale(1.35);
  opacity: 1;
}

/* ── 人気メニュー: クロスフェード + Ken Burns アニメーション ── */
.pickup-menu-card__photo img {
  transform-origin: center;
  will-change: transform;
  transform: scale(1);
  transition: transform 10.5s linear;
}

.pickup-menu-card.is-active .pickup-menu-card__photo img {
  transform: scale(1.05);
}

.pickup-menu-card__name,
.pickup-menu-card__unit {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.pickup-menu-card__desc {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease-out 0.06s, transform 0.45s ease-out 0.06s;
}

.pickup-menu-card__price {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease-out 0.12s, transform 0.45s ease-out 0.12s;
}

.pickup-menu-card.is-active .pickup-menu-card__name,
.pickup-menu-card.is-active .pickup-menu-card__unit,
.pickup-menu-card.is-active .pickup-menu-card__desc,
.pickup-menu-card.is-active .pickup-menu-card__price {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .pickup-menu-list {
    display: block;
    position: relative;
    aspect-ratio: 3 / 4;
  }

  .pickup-menu-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.05s ease-in-out;
    z-index: 1;
  }

  .pickup-menu-card.is-active {
    opacity: 1;
  }

  .pickup-menu-card__desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pickup-menu-card__photo img {
    animation: none !important;
  }
  .pickup-menu-card__name,
  .pickup-menu-card__unit,
  .pickup-menu-card__desc,
  .pickup-menu-card__price {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 料金プラン(タブ切り替え・写真なし)。罫線区切りの素の一覧から、
   薄いグレーのパネルに変更(試験導入・サロンのみ)。 */
.menu-list {
  margin-top: 0.5rem;
  background: #E7E2D8;
  border-radius: 16px;
  padding: 0.25rem 1.25rem;
}

.menu-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--card-border);
}

.menu-row::before {
  content: '';
  flex: 0 0 2px;
  height: 16px;
  border-radius: 1px;
  background: #1c1c1e;
}

html[data-theme="black"] .menu-row::before {
  background: #3a3a3a;
}

.menu-list .menu-row:last-child {
  border-bottom: none;
}

.menu-row__body {
  flex: 1;
  min-width: 0;
}

.menu-row__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.menu-row__name {
  color: var(--card-text);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

.menu-row__price {
  color: var(--eng-accent);
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.menu-row__desc {
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--card-text-sub);
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}

/* 料金プラン タブ切り替え */
.menu-tabs {
  margin-top: 0.5rem;
}

.menu-tabs__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--card-border);
}

.menu-tabs__btn {
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--card-text-sub);
  padding: 0.625rem 1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  border-radius: 0;
  transition: color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.menu-tabs__panel {
  display: none;
  background: #ffffff;
  border: none;
  border-radius: 0 0 16px 16px;
  padding: 0.25rem 1.25rem 0.25rem;
}
.menu-tabs__panel .menu-list {
  margin-top: 0;
  background: none;
  border-radius: 0;
  padding: 0;
}
.menu-tabs__panel .menu-row:last-child {
  border-bottom: none;
}

#menu-tab-0:checked ~ .menu-tabs__nav label[for="menu-tab-0"],
#menu-tab-1:checked ~ .menu-tabs__nav label[for="menu-tab-1"],
#menu-tab-2:checked ~ .menu-tabs__nav label[for="menu-tab-2"],
#menu-tab-3:checked ~ .menu-tabs__nav label[for="menu-tab-3"] {
  color: var(--card-text);
  background: none;
  border-bottom-color: var(--eng-accent);
  box-shadow: none;
}

#menu-tab-0:checked ~ .menu-tabs__panel[data-panel="0"],
#menu-tab-1:checked ~ .menu-tabs__panel[data-panel="1"],
#menu-tab-2:checked ~ .menu-tabs__panel[data-panel="2"],
#menu-tab-3:checked ~ .menu-tabs__panel[data-panel="3"] {
  display: block;
}

@media (min-width: 768px) {
  .menu-tabs__btn {
    font-size: 0.8125rem;
    padding: 0.75rem 1.25rem;
  }
}

html[data-theme="black"] .menu-tabs__nav {
  border-bottom-color: rgba(200, 185, 154, 0.25);
}
html[data-theme="black"] .menu-tabs__btn {
  color: rgba(240, 236, 228, 0.5);
}
html[data-theme="black"] #menu-tab-0:checked ~ .menu-tabs__nav label[for="menu-tab-0"],
html[data-theme="black"] #menu-tab-1:checked ~ .menu-tabs__nav label[for="menu-tab-1"],
html[data-theme="black"] #menu-tab-2:checked ~ .menu-tabs__nav label[for="menu-tab-2"],
html[data-theme="black"] #menu-tab-3:checked ~ .menu-tabs__nav label[for="menu-tab-3"] {
  color: #f0ece4;
  border-bottom-color: #c8b99a;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  font-size: 0.5625rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* アイコン opacity をテキストより下げて視線をテキストへ */
.info-row-icon {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
}

.info-row-icon svg { width: 100%; height: 100%; }

/* s2 は自由スクロール */
.s2 {
  height: auto;
  overflow: visible;
  padding-top: 2rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
  background: var(--color-bg);
}


/* 説明文セクション */
.about-section {
  padding: 4rem 1.25rem 4rem;
}

.about-heading {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text);
  white-space: pre-line;
  margin-bottom: 1rem;
}

.about-text {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--color-text-sub);
  letter-spacing: 0.03em;
  white-space: pre-wrap;
  max-width: 34em;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
  }
}

.about-feature {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.about-feature__photo {
  position: relative;
  width: 6.5rem;
  min-height: 6.5rem;
  align-self: stretch;
  flex-shrink: 0;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  background: var(--color-border-soft);
}
.about-feature__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-feature__body {
  flex: 1;
  min-width: 0;
  min-height: 6.5rem;
  padding: 0.875rem 1rem;
  overflow: hidden;
}

.about-feature__title-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}

.about-feature__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--eng-accent);
  color: #ffffff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-right: 0.4375rem;
}

.about-feature__title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--card-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.about-feature__text {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--card-text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .about-feature__title,
  .about-feature__text {
    font-size: 0.6875rem;
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
  }
  .about-feature__body {
    overflow: visible;
  }
}

/* トレーナーセクション */
.trainer-section {
  padding: 4rem 1.25rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.trainer-section__intro .section-label {
  margin-bottom: 1rem;
}

.trainer-heading {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text);
  white-space: pre-line;
  margin-bottom: 0.625rem;
}

.trainer-desc {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--color-text-sub);
  letter-spacing: 0.02em;
}

.trainer-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.125rem;
  border-radius: 12px;
  background: #ffffff;
  border: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* ── ダークモード(SOLID)時のみ: 特徴/スタッフカードを暗いガラス調に ──
   ナチュラル(白)テーマの表示には一切影響しない。
   グレーをワントーン上げた版(0.14)で4エンジン統一 */
html[data-theme="black"] .about-feature,
html[data-theme="black"] .trainer-card,
html[data-theme="black"] .testimonial-card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.38);
}

/* 暗いガラス背景でも読めるよう本文の文字色を明るく */
html[data-theme="black"] .about-feature__title,
html[data-theme="black"] .trainer-card__name,
html[data-theme="black"] .testimonial-card__name {
  color: #f2efe9;
}
html[data-theme="black"] .about-feature__text,
html[data-theme="black"] .trainer-card__bio,
html[data-theme="black"] .testimonial-card__comment {
  color: rgba(242, 239, 233, 0.72);
}
html[data-theme="black"] .testimonial-card__role {
  color: rgba(242, 239, 233, 0.75);
}


.trainer-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trainer-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.trainer-card__name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--card-text);
  font-family: 'Shippori Mincho B1', 'YuMincho', 'Hiragino Mincho ProN', serif;
  -webkit-font-smoothing: antialiased;
}

.trainer-card__title {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--eng-accent);
}

.trainer-card__bio {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--card-text-sub);
  letter-spacing: 0.02em;
  margin-top: 0.375rem;
}

/* お客様の声セクション */
.testimonial-section {
  padding: 4rem 1.25rem 4rem;
}

.testimonial-heading {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text);
  white-space: pre-line;
  margin-top: 0.5rem;
}

.testimonial-desc {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--color-text-sub);
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
}

.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.testimonial-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.125rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}


.testimonial-card__quote {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--eng-accent);
  color: #ffffff;
  font-family: 'Cormorant Garamond', 'Shippori Mincho B1', serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
}
.testimonial-card__quote svg { display: block; width: 18px; height: 18px; }

.testimonial-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.testimonial-card__stars {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  color: #c5a028;
  margin-top: 0.45rem;
  margin-bottom: 0.25rem;
}

.testimonial-card__stars .star {
  display: block;
}

.testimonial-card__stars .star--empty {
  opacity: 0.4;
}

html[data-theme="black"] .testimonial-card__stars {
  color: #d4b24a;
}

.testimonial-card__comment {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--card-text-sub);
  letter-spacing: 0.02em;
}

.testimonial-card__meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.testimonial-card__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--card-text);
  letter-spacing: 0.02em;
  font-family: 'Shippori Mincho B1', 'YuMincho', 'Hiragino Mincho ProN', serif;
  -webkit-font-smoothing: antialiased;
}

.testimonial-card__role {
  font-size: 0.6875rem;
  color: var(--card-text-sub);
  margin-top: 0.125rem;
}

/* アクセスセクション */
.access-section {
  padding: 4rem 1.25rem 4rem;
}

.access-heading {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text);
  white-space: pre-line;
  margin-top: 0.5rem;
}

.access-desc {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--color-text-sub);
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/* テンプレっぽい素の羅列をやめ、うっすら色付きのパネルにする(試験導入・サロンのみ)。
   お客様の声より一段薄い(淡い)トーンで、機能セクションらしい落ち着きを保つ。 */
.access-info-card {
  margin-bottom: 1.5rem;
  padding: 1.375rem 1.25rem 1.125rem;
  border-radius: 18px;
  background: #FBF3ED;
}

/* パネル背景を淡いクリームに固定したため、テーマ(特にダーク)に関わらず
   文字色も読みやすい濃茶系に固定する(--color-text-mutedのままだとダークテーマで白文字になり読めなくなる)。
   .info-row自体の色は、後方の「Access: 視認性向上」ブロックにある同specificityの
   .access-section .info-rowが後勝ちしてしまうため、そちらの直後で別途上書きしている。 */
.access-info-card .payment-block__label,
.access-info-card .payment-tag {
  color: #6B5D4F;
}
.access-info-card .payment-tag {
  border-color: rgba(74,63,53,0.28);
}

.access-section .info-row-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  opacity: 1;
  margin-right: 0.25rem;
}
.access-section .info-row-icon svg { width: 13px; height: 13px; }

.access-section .info-row:nth-of-type(1) .info-row-icon { background: #F3DFCF; color: #C6853F; }
.access-section .info-row:nth-of-type(2) .info-row-icon { background: #DCEEE9; color: #4C8B79; }
.access-section .info-row:nth-of-type(3) .info-row-icon { background: #F4E1EA; color: #B3648A; }

.access-section .info-row {
  font-size: 0.75rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.access-section .info-row:last-child {
  margin-bottom: 0;
}

.access-info-card .payment-block:last-child {
  margin-bottom: 0;
}

/* お支払い方法ブロック */
.payment-block { margin-top: 1.25rem; margin-bottom: 0.25rem; }
.payment-block__label {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.payment-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.payment-tag { font-size: 0.75rem; line-height: 1; padding: 0.4em 0.8em; border: 1px solid var(--color-border); border-radius: 100px; color: var(--color-text-muted); background: transparent; white-space: nowrap; }

/* ── ダークモード(SOLID)専用の追加調整 ──────────────────
   ・アクセスのカード背景を消し、文字・アイコンを白に
   ナチュラル(白)テーマには一切影響しない */
html[data-theme="black"] .access-info-card {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
html[data-theme="black"] .access-section .info-row,
html[data-theme="black"] .access-info-card .info-row,
html[data-theme="black"] .access-info-card .payment-block__label,
html[data-theme="black"] .access-info-card .payment-tag {
  color: #f2efe9;
}
html[data-theme="black"] .access-info-card .payment-tag {
  border-color: rgba(242, 239, 233, 0.32);
}
html[data-theme="black"] .access-section .info-row:nth-of-type(1) .info-row-icon,
html[data-theme="black"] .access-section .info-row:nth-of-type(2) .info-row-icon,
html[data-theme="black"] .access-section .info-row:nth-of-type(3) .info-row-icon {
  background: rgba(var(--eng-accent-rgb), 0.16);
  color: var(--eng-accent);
}

/* ── blue-greyテーマ: アクセスのアイコン、選んだアクセントカラーに統一 ── */
html[data-theme="blue-grey"] .access-section .info-row:nth-of-type(1) .info-row-icon,
html[data-theme="blue-grey"] .access-section .info-row:nth-of-type(2) .info-row-icon,
html[data-theme="blue-grey"] .access-section .info-row:nth-of-type(3) .info-row-icon {
  background: rgba(var(--eng-accent-rgb), 0.12);
  color: var(--eng-accent);
}

/* Google Maps埋め込み */
.map-frame {
  margin-top: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  height: 220px;
  background: #E7E2D8;
  border: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.gallery-area {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 4rem 1.25rem 4rem;
  gap: 0.75rem;
  justify-content: center;
}

/* セクションごとの「うっすら」交互背景。実際にどのセクションが
   奇数/偶数番目になるかは表示状態によって変わるため、CSSで固定せず
   site-boot.js の initSectionAltBg() がDOM出現順に付け外しする。 */
.is-bg-alt {
  background: var(--color-bg-alt);
}

/* section-label の区切り線を控えめに */
.section-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--color-text);
  opacity: 0.75;
  margin-bottom: 1rem;
  -webkit-font-smoothing: antialiased;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.2;
}


.gallery-heading {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text);
  white-space: pre-line;
  margin-bottom: 0.625rem;
}

.gallery-desc {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--color-text-sub);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  align-items: start;
  margin-left: -1.25rem;
  margin-right: -1.25rem;
}

.gallery-grid__item {
  overflow: hidden;
  background: var(--color-surface);
  cursor: pointer;
}
.gallery-grid__item:focus-visible {
  outline: 2px solid var(--color-accent, #fff);
  outline-offset: -2px;
}

.gallery-grid__img-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}

.gallery-grid__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Gallery Caption Glass ──────────────────────────────────
   ギャラリーキャプション専用ガラスクラス。
   SNS / CTA ガラスとは完全に独立。
   ──────────────────────────────────────────────────────── */
.gallery-caption-glass {
  background: rgba(0, 0, 0, 0.50);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.90);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.gallery-grid__caption {
  /* 公開画面の通常グリッドではキャプションを非表示にする。
     クリックで開くライトボックス側はこの要素のテキストを読み取って表示するため、
     マークアップ自体は残し、表示だけを消す。 */
  display: none;
}

.gallery-caption__title {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* PC表示では画像が大きくなる分、タイトル帯もスマホよりやや大きく見やすくする */
@media (min-width: 768px) {
  .gallery-grid__caption {
    padding: 0.5rem 0.75rem 0.625rem;
  }
  .gallery-caption__title {
    font-size: 0.6875rem;
  }
}

/* ── ギャラリー ライトボックス ── */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: calc(env(safe-area-inset-top) + 3.5rem) 1rem calc(env(safe-area-inset-bottom) + 1rem);
  background: #000;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 240ms ease-out;
}
.gallery-lightbox.is-open { opacity: 1; }
.gallery-lightbox[hidden] { display: none; }

.gallery-lightbox__img {
  max-width: 92vw;
  max-height: 60vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 240ms ease-out, transform 240ms ease-out;
  will-change: opacity, transform;
}
.gallery-lightbox.is-open .gallery-lightbox__img {
  opacity: 1;
  transform: scale(1);
}

.gallery-lightbox__counter {
  position: absolute;
  top: calc(env(safe-area-inset-top) + 1rem);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.gallery-lightbox__info {
  width: 100%;
  max-width: min(92vw, 480px);
  max-height: 22vh;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 0.875rem 1.125rem;
  box-sizing: border-box;
  color: #fff;
}
.gallery-lightbox__info[hidden] { display: none; }

.gallery-lightbox__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.gallery-lightbox__title[hidden] { display: none; }

.gallery-lightbox__desc {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  white-space: normal;
  word-break: break-word;
}
.gallery-lightbox__desc[hidden] { display: none; }

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s;
}
.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover { background: rgba(255, 255, 255, 0.22); }

.gallery-lightbox__close {
  top: calc(env(safe-area-inset-top) + 0.75rem);
  right: 1rem;
  width: 44px;
  height: 44px;
}

.gallery-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
}
.gallery-lightbox__nav--prev { left: 0.5rem; }
.gallery-lightbox__nav--next { right: 0.5rem; }
.gallery-lightbox__nav[hidden] { display: none; }

@media (min-width: 768px) {
  .gallery-lightbox__img { max-width: 78vw; max-height: 72vh; }
  .gallery-lightbox__nav { width: 52px; height: 52px; }
  .gallery-lightbox__nav--prev { left: 1.5rem; }
  .gallery-lightbox__nav--next { right: 1.5rem; }
}

.gallery-caption__desc {
  font-size: 0.6rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
  opacity: 0.75;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ギャラリー一覧では詳細説明を非表示(タップ拡大表示を実装した際にそちらで表示する) */
.gallery-grid__caption .gallery-caption__desc {
  display: none;
}

/* ── ギャラリータブ（店内/スタイル/その他 切り替え）── */
.gallery-tabs__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gallery-tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 0;
}

.gallery-tabs__btn {
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--card-text-sub);
  padding: 0.625rem 1.125rem;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.gallery-tabs__panel {
  display: none;
}

#gallery-tab-0:checked ~ .gallery-tabs__nav label[for="gallery-tab-0"],
#gallery-tab-1:checked ~ .gallery-tabs__nav label[for="gallery-tab-1"],
#gallery-tab-2:checked ~ .gallery-tabs__nav label[for="gallery-tab-2"] {
  color: var(--card-text);
  background: none;
  border-bottom-color: var(--eng-accent);
  box-shadow: none;
}

#gallery-tab-0:checked ~ .gallery-tabs__panel[data-panel="0"],
#gallery-tab-1:checked ~ .gallery-tabs__panel[data-panel="1"],
#gallery-tab-2:checked ~ .gallery-tabs__panel[data-panel="2"] {
  display: block;
}

html[data-theme="black"] .gallery-tabs__nav {
  border-bottom-color: rgba(200, 185, 154, 0.25);
}
html[data-theme="black"] .gallery-tabs__btn {
  color: rgba(240, 236, 228, 0.5);
}
html[data-theme="black"] #gallery-tab-0:checked ~ .gallery-tabs__nav label[for="gallery-tab-0"],
html[data-theme="black"] #gallery-tab-1:checked ~ .gallery-tabs__nav label[for="gallery-tab-1"],
html[data-theme="black"] #gallery-tab-2:checked ~ .gallery-tabs__nav label[for="gallery-tab-2"] {
  color: #f0ece4;
  border-bottom-color: #c8b99a;
}

@media (min-width: 768px) {
  .gallery-tabs__btn {
    font-size: 0.875rem;
    padding: 0.75rem 1.375rem;
  }
}

/* SNSボタンに :active フィードバック追加 */
.sns-row {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  padding: 4rem 1.25rem 4rem;
}

.sns-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-text-sub);
  transition: opacity 0.15s ease, transform 0.15s cubic-bezier(0.16,1,0.3,1);
  -webkit-tap-highlight-color: transparent;
}

.sns-btn:active {
  opacity: 0.72;
  transform: scale(0.98);
}

/* sns-btn-icon の R統一 */
.sns-btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--color-border-soft);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sns-btn-icon svg { width: 18px; height: 18px; }

/* ラベルを読める濃さに */
.sns-btn-label {
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* ── FAQ section ──────────────────────────────────────────── */
.faq-section {
  padding: 4rem 1.25rem 4rem;
  width: 100%;
  box-sizing: border-box;
}

.faq-heading {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text);
  white-space: pre-line;
  margin-top: 0.5rem;
}

.faq-desc {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--color-text-sub);
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.faq-list {
  border-top: 1px solid var(--color-border-soft);
}

.faq-item {
  border-bottom: 1px solid var(--color-border-soft);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.125rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--color-text);
}

.faq-item__q-text {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  flex: 1;
}

.faq-item__q-text::before {
  content: "Q";
  display: inline-block;
  font-weight: 700;
  color: var(--eng-accent);
  margin-right: 0.5em;
}

.faq-item__chevron {
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 0.25s ease, opacity 0.2s;
}

.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.faq-item__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-item__a {
  max-height: 600px;
}

.faq-item__a-text {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--color-text-sub);
  padding-top: 1.125rem;
  padding-bottom: 1.125rem;
  margin: 0;
  white-space: pre-wrap;
}

.faq-item__a-text::before {
  content: "A";
  display: inline-block;
  font-weight: 700;
  color: var(--eng-accent);
  margin-right: 0.5em;
}

/* ── Sticky Bottom Bar ───────────────────────────────── */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.625rem 1.25rem max(0.75rem, env(safe-area-inset-bottom));
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-soft);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.sticky-bottom-bar.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sticky-bottom-bar__inner {
  max-width: 393px;
  margin: 0 auto;
}
body.has-sticky-bar .site-footer {
  padding-bottom: max(5rem, calc(env(safe-area-inset-bottom) + 5rem));
}
.sticky-bottom-bar .hero-cta__primary {
  background: var(--color-text);
  color: var(--color-bg);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-color: transparent; box-shadow: none;
}
.sticky-bottom-bar .hero-cta__secondary {
  background: transparent;
  color: var(--color-text);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-color: var(--color-text); box-shadow: none;
  opacity: 0.75;
}

.site-footer {
  flex-shrink: 0;
  position: relative;
  border-top: 1px solid var(--color-border-soft);
  padding: 0.625rem 1.25rem max(1.5rem, env(safe-area-inset-bottom));
  text-align: center;
}

/* copyright の文字間隔を締める */
.footer-copy {
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  color: var(--color-text-sub);
  opacity: 1;
  margin-top: 0.25rem;
}

/* ── フッター(充実版): 黒背景 + ナビ + SNS + コピーライト ── */
.site-footer--full {
  border-top: none;
  background: #40301e;
  padding: 3rem 1.5rem max(2.5rem, env(safe-area-inset-bottom));
}

.footer-brand__name {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #f0eee9;
}

.footer-brand__subtitle {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,238,233,0.75);
  margin-top: 0.375rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(240,238,233,0.14);
}

.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(240,238,233,0.75);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.footer-nav a:hover,
.footer-nav a:active {
  opacity: 0.7;
}

.site-footer--full .sns-row {
  padding: 2rem 0 0;
}

.site-footer--full .sns-btn {
  color: rgba(240,238,233,0.65);
}

.site-footer--full .sns-btn-icon {
  background: rgba(240,238,233,0.08);
  border-color: rgba(240,238,233,0.16);
  color: #f0eee9;
}

.site-footer--full .footer-copy {
  color: rgba(240,238,233,0.65);
  opacity: 1;
  margin-top: 1.75rem;
}


.s1[data-bg] {
  margin-left:  calc((100% - 100vw) / 2);
  margin-right: calc((100% - 100vw) / 2);
  padding-left:  calc((100vw - 100%) / 2 + 1.25rem);
  padding-right: calc((100vw - 100%) / 2 + 1.25rem);
  background-image:
    linear-gradient(to top, var(--color-bg) 0%, transparent 20%, transparent 100%),
    linear-gradient(rgba(0,0,0,0.28), rgba(0,0,0,0.28)),
    var(--bg-image);
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

/* ── 背景スライドショー（クロスフェード） ── */
.s1-bg-slides-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.s1-bg-slides--pc { display: none; }

/* 画像テーマ（例: Glass）の写真レイヤー内に差し込む場合は、
   通常時の100vwはみ出しトリックを使わず、親要素にそのまま合わせる。 */
.s1-bg-slides-wrap--themed {
  left: 0;
  width: 100%;
  transform: none;
  z-index: auto;
}

@keyframes s1KenBurns {
  from { transform: scale(1.00); }
  to   { transform: scale(1.05); }
}
.s1-bg-slide {
  position: absolute;
  inset: 0;
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  opacity: 0;
  transform: scale(1.00);
  transform-origin: center center;
  transition: opacity 1s ease;
  will-change: opacity, transform;
}
.s1-bg-slide.is-active {
  opacity: 1;
  animation: s1KenBurns 10s ease-in-out forwards;
}

@media (min-width: 768px) {
  .s1-bg-slides--mobile { display: none; }
  .s1-bg-slides--pc { display: block; }
}

@media (max-height: 700px) {
  .s1 { padding-top: max(0.875rem, env(safe-area-inset-top)); }
  .s1-hero { padding-bottom: 1rem; }
}

/* ヒーロー中央テキスト + CTAボタン フェードイン */
section.screen.s1 .hero-text {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
section.screen.s1 .hero-text.hero-revealed {
  opacity: 1;
  transform: translateY(0);
}
/* CTAボタン行: transformのみでアニメ（opacity=1固定→薄ガラスグリッチ根本解決） */
section.screen.s1 .hero-cta__row.hero-text {
  opacity: 1;
  transform: translateY(8px);
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
section.screen.s1 .hero-cta__row.hero-text.hero-revealed {
  transform: translateY(0);
}

.scroll-anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-anim-d1 { transition-delay: 0.05s; }
.scroll-anim-d2 { transition-delay: 0.10s; }
.scroll-anim-d3 { transition-delay: 0.18s; }

/* スクロールヒントを早期表示 */
.scroll-hint {
  position: absolute;
  bottom: max(0.875rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-muted);
  opacity: 0;
  animation: scrollHintIn 0.6s ease 1.6s forwards;
  pointer-events: none;
  z-index: 1;
}
.scroll-hint svg { display: block; animation: scrollHintBounce 1.8s ease-in-out 1.8s infinite; }

@keyframes scrollHintIn  { to { opacity: 0.5; } }
@keyframes scrollHintBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

html[data-text-color="ivory"]     .s1 { --color-text: #f4f0e6; --color-text-sub: rgba(244,240,230,0.65); --color-text-muted: rgba(244,240,230,0.42); }
html[data-text-color="blue-grey"] .s1 { --color-text: #0e1e38; --color-text-sub: rgba(14,30,56,0.62);   --color-text-muted: rgba(14,30,56,0.40); }
html[data-text-color="white"]     .s1 { --color-text: #ffffff; --color-text-sub: rgba(255,255,255,0.65); --color-text-muted: rgba(255,255,255,0.42); }
html[data-text-color="black"]     .s1 { --color-text: #111111; --color-text-sub: rgba(17,17,17,0.60);   --color-text-muted: rgba(17,17,17,0.38); }

html[data-accent-color="ivory"]     { --color-accent: #f4f0e6 !important; --color-accent-2: #e6e0d2 !important; }
html[data-accent-color="blue-grey"] { --color-accent: #1d3f72 !important; --color-accent-2: #2e5490 !important; }
html[data-accent-color="white"]     { --color-accent: #ffffff !important; --color-accent-2: rgba(255,255,255,0.82) !important; }
html[data-accent-color="black"]     { --color-accent: #111111 !important; --color-accent-2: #2a2a2a !important; }

@media (prefers-reduced-motion: reduce) {
  .hero-text { opacity: 1 !important; transform: none !important; transition: none !important; }
  section.screen.s1 .hero-cta__primary,
  section.screen.s1 .hero-cta__secondary { backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important; transition: none !important; }
  .scroll-anim { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-hint { animation: none; opacity: 0.5; }
  .scroll-hint svg { animation: none; }
}

@media (min-width: 768px) {
  html {
    background: var(--color-bg);
  }

  body {
    touch-action: auto;
    -webkit-user-select: auto;
    user-select: auto;
  }

  /* ── レイアウトリセット ── */
  #app {
    max-width: 100%;
    display: block;
  }

  .screen {
    height: auto;
    overflow: visible;
  }

  /* ── Hero: フル幅・背景画像 ── */
  .s1,
  .s1[data-bg],
  .s1[data-img-theme]:not([data-img-theme="0"]) {
    position: relative;
    top: auto;
    width: 100%;
    height: 88vh;
    min-height: 560px;
    overflow: hidden;
    padding: 3rem 4rem;
    margin: 0;
    background-image:
      linear-gradient(to bottom, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.52) 100%),
      var(--bg-image-pc, var(--bg-image, none));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .s1-hero {
    flex: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 0;
    position: relative;
    z-index: 1;
  }

  /* 店名 PC サイズ */
  .biz-name {
    font-size: clamp(3.5rem, 7vw, 7rem);
  }

  .biz-catchphrase {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }

  .biz-catchphrase-sub {
    font-size: 1rem;
  }

  /* Hero CTA */
  

  .hero-cta__secondary {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
  }

  /* ハンバーガー非表示 */
  .panels-fab,
  .panels-overlay,
  .panels-drawer,
  .scroll-hint { display: none !important; }

  /* ── コンテンツ: 中央寄せ1カラム ── */
  .s2 {
    height: auto;
    overflow: visible;
    max-width: 960px;
    margin: 0 auto;
    padding: 5rem 2rem 6rem;
    border-left: none;
    background: var(--color-bg);
  }

  .about-section,
  .services-menu-section,
  .access-section,
  .trainer-section {
    padding-left: 0;
    padding-right: 0;
  }

  /* ── その他 ── */
  .site-footer { padding-left: 0; padding-right: 0; }
}

/* 保存後リダイレクト時のフェードイン演出 */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

body.page-fade-in {
  animation: pageFadeIn 0.45s cubic-bezier(0.16,1,0.3,1) both;
}

/* ── Site Header（帯・固定バー） ─────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 160;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(env(safe-area-inset-top) + 3.75rem);
  padding: env(safe-area-inset-top) 1.25rem 0;
  background: var(--color-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.site-header__brand {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  max-width: 70%;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .site-header__brand:hover { opacity: 0.72; }
}

.site-header__name {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: clamp(0.938rem, calc(50vw / var(--header-name-len, 8)), 1.8rem);
  height: 2.16rem; /* 高さ固定でサブタイトル位置を不動に */
  display: flex;
  align-items: center;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header__subtitle {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--color-text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Panels Hamburger Drawer ─────────────────────────────────── */

/* FAB button */
.panels-fab {
  position: static;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  transition: opacity 0.15s, transform 0.15s cubic-bezier(0.16,1,0.3,1);
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.panels-fab:active { transform: scale(0.91); }
/* キーボード操作時だけフォーカスの枠を見せる(タップ操作では出さない) */
.panels-fab:focus:not(:focus-visible) { outline: none; }

/* 帯バー内では「ボタン」ではなく素のアイコンとして馴染ませる */
.site-header .panels-fab {
  border-radius: 0;
  border: none;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--color-text);
  width: auto;
  height: auto;
  padding: 0.5rem;
  margin: -0.5rem;
}

/* Overlay backdrop */
.panels-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.panels-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel — dark glass */
.panels-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  width: 88%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  background: rgba(8,8,14,0.93);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-left: 1px solid rgba(255,255,255,0.07);
  box-shadow: none;
  transform: translateX(100%);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.panels-drawer.is-open {
  transform: translateX(0);
  box-shadow: -12px 0 48px rgba(0,0,0,0.5);
}

.panels-drawer__header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: max(1.25rem, env(safe-area-inset-top)) 1.25rem 1.125rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.panels-drawer__close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.panels-drawer__close:focus:not(:focus-visible) { outline: none; }
.panels-drawer__close:active {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}

.panels-drawer__title {
  flex: 1;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}

.panels-drawer__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 1rem 1.125rem 1.5rem;
}

/* ── Menu navigation items ───────── */
.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.menu-nav__item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  padding: 0.9375rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s cubic-bezier(0.16,1,0.3,1),
              border-color 0.18s,
              transform 0.15s cubic-bezier(0.16,1,0.3,1);
  -webkit-tap-highlight-color: transparent;
}
.menu-nav__item:active {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.13);
  transform: scale(0.985);
}

/* CTA items — slightly highlighted */
.menu-nav__item--cta {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.menu-nav__item--cta .menu-nav__label { font-weight: 600; }

.menu-nav__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.38);
}
.menu-nav__icon svg { width: 18px; height: 18px; }
.menu-nav__item--cta .menu-nav__icon { color: rgba(255,255,255,0.6); }

.menu-nav__label {
  flex: 1;
  color: rgba(255,255,255,0.85);
}

.menu-nav__arrow {
  flex-shrink: 0;
  color: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
}

/* Scroll lock when drawer open */
body.panels-open { overflow: hidden; }

/* ── Fix ①: img-theme 適用時の左右余白バグ修正 ─────────────────── */
/* .s1[data-bg] と同じ全画面幅トリックを img-theme 時にも適用する  */
.s1[data-img-theme]:not([data-img-theme="0"]) {
  margin-left:  calc((100% - 100vw) / 2);
  margin-right: calc((100% - 100vw) / 2);
  padding-left:  calc((100vw - 100%) / 2 + 1.25rem);
  padding-right: calc((100vw - 100%) / 2 + 1.25rem);
  overflow: hidden;
}


/* ═══════════════════════════════════════════════════════
   GYM LAYOUT OVERRIDE — STRUCTURE FIRST
   セクション順序を美容室と別物に。サービス最優先表示
   ═══════════════════════════════════════════════════════ */

/* ── FAB: 角型 ───────────────────────────────────────── */
.panels-fab {
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  color: #ffffff;
}

/* ── s2: flex化してセクション順序を制御 ────────────────── */
.s2 {
  display: flex;
  flex-direction: column;
}

/* 表示順: About → Gallery(Works) → Program(Service) → Trainer(Staff) → Access → Footer */
.about-section         { order: 0; }
.gallery-area          { order: 1; flex: 0 0 auto; justify-content: flex-start; }
.services-menu-section { order: 2; }
.trainer-section       { order: 4; }
.sns-row               { order: 6; }
.testimonial-section    { order: 7; }
.access-section        { order: 7; }
.faq-section           { order: 8; }
.site-footer           { order: 9; }

/* ── Section label: 筆記体・左揃え(フォント指定は1263行目の基本ルールと同一なのでopacityのみ上書き) ── */
.section-label {
  opacity: 1;
}

/* ── About: カードレス・ブランドストーリーとして読ませる ───────────── */
.about-section {
  padding: 4rem 1.5rem 4rem;
}

/* ── Trainer card: 横並び（写真左フルブリード・テキスト右、枠なし） ──────── */
.trainer-card {
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: none;
}

.trainer-card__photo {
  position: relative;
  width: 88px;
  min-height: 117px;
  align-self: stretch;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--color-surface);
  border-radius: 12px 0 0 12px;
}

.trainer-card__body {
  flex: 1;
  min-width: 0;
  justify-content: center;
  padding: 1rem 1.1rem;
}

.trainer-card__bio {
  overflow-wrap: break-word;
}

/* ── Access: 視認性向上 ───────────────────────────────── */
.access-section .info-row {
  font-size: 0.875rem;
  color: var(--color-text-sub);
}

.access-info-card .info-row {
  color: #6B5D4F;
}

/* ============================================================
   Common infrastructure overrides (master sync)
   ============================================================ */

.footer-legal-link {
  color: var(--color-text-sub);
  text-decoration: none;
  opacity: 1;
}
.site-footer--full .footer-legal-link {
  color: rgba(240,238,233,0.72);
}
.footer-legal-link:hover { text-decoration: underline; opacity: 1; }

.footer-edit-hotspot {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  opacity: 0;
  border-radius: 16px;
}

html { overflow-x: visible !important; }
body { overflow-x: hidden; }

@media (min-width: 768px) {
  .sticky-bottom-bar { display: block !important; }
  .sticky-bottom-bar__inner { max-width: 760px; }
  /* PC: ヒーローのCTAボタン行も下部固定バーと同じ幅に揃える。
     モバイル用の「親指ゾーンに固定配置(position:absolute; bottom:20vh)」は
     画面が横長で縦に低いPCだとキャッチコピーと重なってしまうため、
     PCでは通常の並び順(キャッチコピーの下)に戻す。 */
  .s1-hero .hero-cta__row {
    position: static;
    max-width: 760px;
    margin-top: 1.5rem;
  }
  body.has-sticky-bar .site-footer {
    padding-bottom: max(5rem, calc(env(safe-area-inset-bottom) + 5rem)) !important;
  }
}

.section-label,
.hero-cta__primary span:last-child,
.hero-cta__secondary span:last-child {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.panels-drawer__title {
  display: none !important;
}

/* ── 背景色つきセクションを画面幅いっぱいに広げる（中身は本来のカラム幅のまま整列） ──
   #app は393px、.s2 は768px以上で960pxが上限。どちらの場合も背景だけ画面端まで
   届かせるため、幅・位置の指定は常時適用し、余白だけ幅帯ごとに計算を分ける。 */
.about-section,
.services-menu-section,
.testimonial-section,
.faq-section,
.site-footer--full,
.trainer-section,
.access-section,
.gallery-area {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

/* 393px 〜 767px（#app が393px幅で中央寄せされる帯） */
@media (max-width: 767px) {
  .about-section,
  .services-menu-section {
    padding-left: calc(max(0px, (100vw - 393px) / 2) + 1.25rem);
    padding-right: calc(max(0px, (100vw - 393px) / 2) + 1.25rem);
  }

  .testimonial-section,
  .faq-section {
    padding-left: calc(max(0px, (100vw - 393px) / 2) + 1.25rem);
    padding-right: calc(max(0px, (100vw - 393px) / 2) + 1.25rem);
  }

  .trainer-section,
  .access-section,
  .gallery-area {
    padding-left: calc(max(0px, (100vw - 393px) / 2) + 1.25rem);
    padding-right: calc(max(0px, (100vw - 393px) / 2) + 1.25rem);
  }

  .site-footer--full {
    padding-left: calc(max(0px, (100vw - 393px) / 2) + 1.5rem);
    padding-right: calc(max(0px, (100vw - 393px) / 2) + 1.5rem);
  }
}

/* 768px以上（.s2 が960px幅で中央寄せされる帯） */
@media (min-width: 768px) {
  .about-section,
  .services-menu-section {
    padding-left: calc(max(0px, (100vw - 960px) / 2) + 2rem);
    padding-right: calc(max(0px, (100vw - 960px) / 2) + 2rem);
  }

  /* About本文(34em制限)がセクション内で左寄りに見えるのを防ぐため、
     見出し・本文・特徴カードをまとめて中央寄せの狭いカラムに揃える */
  .about-heading,
  .about-text,
  .about-features {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonial-section,
  .faq-section {
    padding-left: calc(max(0px, (100vw - 960px) / 2) + 2rem);
    padding-right: calc(max(0px, (100vw - 960px) / 2) + 2rem);
  }

  .trainer-section,
  .access-section,
  .gallery-area {
    padding-left: calc(max(0px, (100vw - 960px) / 2) + 2rem);
    padding-right: calc(max(0px, (100vw - 960px) / 2) + 2rem);
  }

  .site-footer--full {
    padding-left: calc(max(0px, (100vw - 960px) / 2) + 2rem + 1.5rem);
    padding-right: calc(max(0px, (100vw - 960px) / 2) + 2rem + 1.5rem);
  }
}

/* ── 人気メニュー(ピックアップカード): PCでは3枚横並びにして、下の料金表と釣り合う大きさにする ── */
@media (min-width: 768px) {
  .pickup-menu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .pickup-menu-dots {
    display: none;
  }

  .pickup-menu-card__photo img {
    transform: scale(1);
    transition: transform 0.3s ease-out, filter 0.3s ease-out;
  }

  .pickup-menu-card.is-active .pickup-menu-card__photo img {
    transform: scale(1);
  }

  .pickup-menu-card__name,
  .pickup-menu-card__unit,
  .pickup-menu-card__desc,
  .pickup-menu-card__price {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* PC: 人気メニュー画像もギャラリー・Before/Afterと同じホバーで統一 */
@media (min-width: 768px) and (hover: hover) {
  .pickup-menu-card:hover .pickup-menu-card__photo img {
    transform: scale(1.03);
    filter: brightness(1.05);
  }
}


/* ══════════════════════════════════════════════════════════════
   マイクロインタラクション
   Apple / Airbnb / Stripe / Notion 系の、控えめで上質な操作感を目指す。
   hoverはタッチデバイスで「タップ後もhover状態が残る」事故を避けるため
   @media (hover: hover) でスコープする。transform / opacity 中心の
   軽量実装（layout shiftなし、GPUアクセラレーション対象）。
   ══════════════════════════════════════════════════════════════ */

/* ① ボタン: CTA・SNS・編集画面の主要ボタン */
.hero-cta__primary,
.hero-cta__secondary {
  transition: opacity 0.15s ease, transform 0.22s cubic-bezier(0.16,1,0.3,1), box-shadow 0.22s cubic-bezier(0.16,1,0.3,1);
}
.hero-cta__primary:active,
.hero-cta__secondary:active { transform: translateY(0) scale(0.97); }
@media (hover: hover) {
  .hero-cta__primary:hover,
  .hero-cta__secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  }
}

.sns-btn { transition: opacity 0.15s ease, transform 0.22s cubic-bezier(0.16,1,0.3,1); }
@media (hover: hover) {
  .sns-btn:hover { transform: translateY(-2px); }
}

/* ② カード: スタッフ紹介・お客様の声・About特徴
   人気メニューカードは、写真のKen Burnsズームと重なって「沈んでからズーム」のような
   もたついた動きに見えるため、ホバーの浮き上がりは付けない(ユーザー指示で除外)。 */
.trainer-card,
.testimonial-card,
.about-feature {
  transition: transform 0.22s cubic-bezier(0.16,1,0.3,1), box-shadow 0.22s cubic-bezier(0.16,1,0.3,1);
}
.trainer-card:active,
.testimonial-card:active,
.about-feature:active {
  transform: scale(0.98);
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}
@media (hover: hover) {
  .trainer-card:hover,
  .testimonial-card:hover,
  .about-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
  }
}

/* ③ ギャラリー画像 */
.gallery-grid__img-wrap img {
  transition: transform 0.3s ease-out, filter 0.3s ease-out;
}
@media (hover: hover) {
  .gallery-grid__item:hover .gallery-grid__img-wrap img {
    transform: scale(1.03);
    filter: brightness(1.05);
  }
}

/* ⑤ ナビゲーション（ドロワーメニュー：下線が左から右へ） */
.menu-nav__label {
  position: relative;
  display: inline-block;
}
.menu-nav__label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.16,1,0.3,1);
}
@media (hover: hover) {
  .menu-nav__item:hover .menu-nav__label::after {
    transform: scaleX(1);
  }
}

/* ⑥ スクロール表示（初回のみ・フェード＋控えめな上昇） */
/* ── PC用: ヘッダー内セクションナビ ── */
.site-header__nav { display: none; }

.site-header__nav-link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-sub);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.site-header__nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.16,1,0.3,1);
}
@media (hover: hover) {
  .site-header__nav-link:hover { color: var(--color-text); }
  .site-header__nav-link:hover::after { transform: scaleX(1); }
}

@media (min-width: 768px) {
  .site-header__nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
}

/* アンカーリンクのスムーズスクロールと、固定ヘッダー分のオフセット */
html { scroll-behavior: smooth; }
[id^="sec-"] { scroll-margin-top: 5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ── スマホ・タブレット専用: タップフィードバック ──
   PCのHoverアニメーションと干渉しないよう @media (hover: none) でスコープ。
   transform/opacityのみで実装、レイアウトシフトなし。 ── */
@media (hover: none) {
  .gallery-grid__item:active .gallery-grid__img-wrap img {
    transform: scale(0.99);
    transition: transform 0.15s ease-out;
  }
}

/* ── ivory / white テーマ: ドロワーをライト配色に ────────────────── */
html[data-theme="ivory"] .panels-drawer,
html[data-theme="white"]  .panels-drawer {
  background: rgba(254,253,252,0.97);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-left: 1px solid rgba(28,21,16,0.09);
}

html[data-theme="ivory"] .panels-drawer__header,
html[data-theme="white"]  .panels-drawer__header {
  border-bottom-color: rgba(28,21,16,0.08);
  padding-top: max(0.75rem, env(safe-area-inset-top));
  padding-bottom: 0.75rem;
}

html[data-theme="ivory"] .panels-drawer__close,
html[data-theme="white"]  .panels-drawer__close {
  color: rgba(28,21,16,0.7);
  background: rgba(28,21,16,0.08);
  border-color: rgba(28,21,16,0.18);
}

html[data-theme="ivory"] .menu-nav__item,
html[data-theme="white"]  .menu-nav__item {
  border: 1px solid rgba(28,21,16,0.09);
  background: rgba(28,21,16,0.03);
  color: var(--color-text);
}
html[data-theme="ivory"] .menu-nav__item:active,
html[data-theme="white"]  .menu-nav__item:active {
  background: rgba(28,21,16,0.07);
  border-color: rgba(28,21,16,0.14);
}

html[data-theme="ivory"] .menu-nav__item--cta,
html[data-theme="white"]  .menu-nav__item--cta {
  background: rgba(28,21,16,0.05);
  border-color: rgba(28,21,16,0.12);
}

html[data-theme="ivory"] .menu-nav__icon,
html[data-theme="white"]  .menu-nav__icon {
  color: rgba(28,21,16,0.35);
}
html[data-theme="ivory"] .menu-nav__item--cta .menu-nav__icon,
html[data-theme="white"]  .menu-nav__item--cta .menu-nav__icon {
  color: rgba(28,21,16,0.7);
}

html[data-theme="ivory"] .menu-nav__label,
html[data-theme="white"]  .menu-nav__label {
  color: var(--color-text);
}

html[data-theme="ivory"] .menu-nav__arrow,
html[data-theme="white"]  .menu-nav__arrow {
  color: rgba(28,21,16,0.22);
}

html[data-theme="white"] .panels-drawer {
  background: rgba(255,255,255,0.97);
}
html[data-theme="white"] .menu-nav__item {
  border-color: rgba(0,0,0,0.09);
  background: rgba(0,0,0,0.03);
}
html[data-theme="white"] .menu-nav__icon { color: rgba(0,0,0,0.35); }
html[data-theme="white"] .menu-nav__label { color: #0d0d0d; }
html[data-theme="white"] .menu-nav__arrow { color: rgba(0,0,0,0.22); }

/* ── ivory / white テーマ: アクセスアイコン、選んだアクセントカラーに統一 ── */
html[data-theme="ivory"] .access-section .info-row .info-row-icon,
html[data-theme="white"]  .access-section .info-row .info-row-icon {
  background: rgba(var(--eng-accent-rgb), 0.12);
  color: var(--eng-accent);
}

/* ── ivory / white テーマ: お客様の声アイコン、選んだアクセントカラーに統一 ── */
html[data-theme="ivory"] .testimonial-card__quote,
html[data-theme="white"]  .testimonial-card__quote {
  background: var(--eng-accent);
}

/* ── ivory / white テーマ: メニュータブ・ギャラリータブの選択中の下線、選んだアクセントカラーに統一 ── */
html[data-theme="ivory"] #menu-tab-0:checked ~ .menu-tabs__nav label[for="menu-tab-0"],
html[data-theme="ivory"] #menu-tab-1:checked ~ .menu-tabs__nav label[for="menu-tab-1"],
html[data-theme="ivory"] #menu-tab-2:checked ~ .menu-tabs__nav label[for="menu-tab-2"],
html[data-theme="ivory"] #menu-tab-3:checked ~ .menu-tabs__nav label[for="menu-tab-3"],
html[data-theme="white"] #menu-tab-0:checked ~ .menu-tabs__nav label[for="menu-tab-0"],
html[data-theme="white"] #menu-tab-1:checked ~ .menu-tabs__nav label[for="menu-tab-1"],
html[data-theme="white"] #menu-tab-2:checked ~ .menu-tabs__nav label[for="menu-tab-2"],
html[data-theme="white"] #menu-tab-3:checked ~ .menu-tabs__nav label[for="menu-tab-3"] {
  border-bottom-color: var(--eng-accent);
}
html[data-theme="ivory"] #gallery-tab-0:checked ~ .gallery-tabs__nav label[for="gallery-tab-0"],
html[data-theme="ivory"] #gallery-tab-1:checked ~ .gallery-tabs__nav label[for="gallery-tab-1"],
html[data-theme="ivory"] #gallery-tab-2:checked ~ .gallery-tabs__nav label[for="gallery-tab-2"],
html[data-theme="white"] #gallery-tab-0:checked ~ .gallery-tabs__nav label[for="gallery-tab-0"],
html[data-theme="white"] #gallery-tab-1:checked ~ .gallery-tabs__nav label[for="gallery-tab-1"],
html[data-theme="white"] #gallery-tab-2:checked ~ .gallery-tabs__nav label[for="gallery-tab-2"] {
  border-bottom-color: var(--eng-accent);
}

/* ── ivory / white テーマ: About丸数字、選んだアクセントカラーに統一 ── */
html[data-theme="ivory"] .about-features .about-feature__num,
html[data-theme="white"]  .about-features .about-feature__num {
  background: var(--eng-accent);
}

/* ── blue-grey / black テーマ: About丸数字、選んだアクセントカラーに統一 ── */
html[data-theme="blue-grey"] .about-features .about-feature__num,
html[data-theme="black"]     .about-features .about-feature__num {
  background: var(--eng-accent);
}

/* ── ivory / white テーマ: アクセスカード背景を除去（フラット化） ── */
html[data-theme="ivory"] .access-info-card,
html[data-theme="white"]  .access-info-card {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
html[data-theme="ivory"] .access-info-card .payment-block__label,
html[data-theme="ivory"] .access-info-card .payment-tag,
html[data-theme="white"]  .access-info-card .payment-block__label,
html[data-theme="white"]  .access-info-card .payment-tag {
  color: #6B5D4F;
}
html[data-theme="ivory"] .access-info-card .payment-tag,
html[data-theme="white"]  .access-info-card .payment-tag {
  border-color: var(--color-border);
}

/* ── ivory / white テーマ: フッター背景 オレンジ ── */
html[data-theme="ivory"] .site-footer--full,
html[data-theme="white"]  .site-footer--full {
  background: var(--eng-footer-bg);
}


html[data-theme="ivory"] .faq-item__q-text::before,
html[data-theme="white"]  .faq-item__q-text::before { color: var(--eng-accent); }


/* ── ivory / white テーマ: ゴールド(#a0895f)を全置換 ── */
html[data-theme="ivory"] .menu-row__price,
html[data-theme="white"]  .menu-row__price { color: #1a1a1a; }
html[data-theme="ivory"] .trainer-card__title,
html[data-theme="white"]  .trainer-card__title { color: var(--eng-accent); }





/* ── About 丸数字 3色 ── */
.about-feature:nth-child(3n+1) .about-feature__num { background: #3A72B0; }
.about-feature:nth-child(3n+2) .about-feature__num { background: #3D8A6E; }
.about-feature:nth-child(3n+3) .about-feature__num { background: #C4722A; }

/* ── 本文（ゴシック体）だけ一段細く：Noto Sans JP Light(300) ──
   システムゴシックは日本語の300と400が同じ太さに描画されるため、
   本物のLightを持つ Noto Sans JP に切替。見出し・太字明朝・店名・ラベル類は対象外 */
.about-text,
.services-desc,
.trainer-desc,
.testimonial-desc,
.access-desc,
.gallery-desc,
.faq-desc,
.faq-item__a-text,
.about-feature__text,
.trainer-card__bio,
.testimonial-card__quote,
.pickup-menu-card__desc,
.gallery-caption__desc,
.gallery-lightbox__desc,
.menu-row__desc {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  font-weight: 300;
}

/* 300で細くした分わずかに薄く感じるので、背景直置きの本文だけ色をほんの少し濃く。
   カード/写真上の本文(白系・--card-text-sub)は対象外。両テーマ自動対応、
   color-mix非対応の古い端末は各要素の元の--color-text-subにフォールバック */
.about-text,
.services-desc,
.trainer-desc,
.testimonial-desc,
.access-desc,
.gallery-desc,
.faq-desc,
.faq-item__a-text {
  color: color-mix(in srgb, var(--color-text-sub) 50%, var(--color-text) 50%);
}
