/* ==========================================
   Consultation - お問い合わせ型LPテンプレート（サービス系）
   モバイルファースト設計
   清潔感・信頼感・余白多め
   店主フォーカス・実績重視
   ========================================== */

/* ------------------------------------------
   CSS変数（テーマカラー）
   5色テーマ: Blue / Rose / Brown / Green / Lavender
   Entry: 3色（Blue, Rose, Brown）
   Standard: 5色（上記 + Green, Lavender）
   ------------------------------------------ */
:root {
  /* Blue テーマ（デフォルト：[data-theme="blue"] と同値） */
  --primary: #4A6C91;
  --primary-weak: #F0F4F7;
  --primary-dark: #3d5a7a;
  --accent: #0d9488;

  /* テキスト・背景 */
  --text: #2D3136;
  --text-muted: #5a6169;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;

  /* 追加（見た目不変のための共通変数） */
  --danger: #ef4444;
  --text-on-primary: #ffffff;
  --text-on-dark: #ffffff;

  /* UI */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);

  /* レイアウト */
  --max-width: 1100px;
  --container-padding: 20px;

  /* トランジション */
  --transition: 0.2s ease;
}

/* ------------------------------------------
   テーマカラー（5色）
   Entry: blue, rose, brown（3色）
   Standard: 上記 + green, lavender（5色）
   ------------------------------------------ */

/* Blue テーマ（知的で誠実な「信頼されるサロン」） */
[data-theme="blue"] {
  --primary: #4A6C91;           /* メインカラー: 知的で誠実 */
  --primary-weak: #F0F4F7;      /* アクセント背景: クリーンで現代的 */
  --primary-dark: #3d5a7a;      /* ボタンホバー時 */
  --text: #2D3136;              /* 基本文字色: 高い可読性 */
  --text-muted: #5a6169;        /* サブテキスト */
}

/* Blue テーマ: フッターをチャコールネイビーに（透明感を保つ） */
[data-theme="blue"] .footer {
  background-color: #2C343E;
}

/* Blue テーマ: フッター文字の可読性向上 */
[data-theme="blue"] .footer,
[data-theme="blue"] .footer__brand,
[data-theme="blue"] .footer__address,
[data-theme="blue"] .footer__note,
[data-theme="blue"] .footer__copy,
[data-theme="blue"] .footer__totop {
  color: #E8EAED;
}

[data-theme="blue"] .footer__totop:hover {
  color: #FFFFFF;
}

/* Blue テーマ: ヒーロー見出しの視認性向上（アイスブルー半透明帯） */
[data-theme="blue"] .hero__headline {
  display: inline;
  background-color: rgba(240, 244, 247, 0.85);
  padding: 4px 12px;
  margin-left: -12px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Rose テーマ（女性向けサロン・美容） */
/* 上質な大人ピンク・30代女性向け */
[data-theme="rose"] {
  --primary: #D48D91;           /* ボタン・CTA: 上質な大人ピンク */
  --primary-weak: #F9F6F3;      /* アクセント背景: のっぺり感解消 */
  --primary-dark: #c77d81;      /* ボタンホバー時 */
  --text: #4A3F3F;              /* 基本文字色: 柔らかさと高級感 */
  --text-muted: #6b5f5f;        /* サブテキスト */
}

/* Rose テーマ: フッターを優しく引き締める */
[data-theme="rose"] .footer {
  background-color: #5E5454;
}

/* Rose テーマ: フッター文字の可読性向上 */
[data-theme="rose"] .footer,
[data-theme="rose"] .footer__brand,
[data-theme="rose"] .footer__address,
[data-theme="rose"] .footer__note,
[data-theme="rose"] .footer__copy,
[data-theme="rose"] .footer__totop {
  color: #F2F2F2;
}

[data-theme="rose"] .footer__totop:hover {
  color: #FFFFFF;
}

/* Rose テーマ: 料金を基本文字色に（信頼感・読みやすさ） */
[data-theme="rose"] .menu-item__price {
  color: #4A3F3F;
}

/* Rose テーマ: ヒーロー見出しの視認性向上（半透明帯） */
[data-theme="rose"] .hero__headline {
  display: inline;
  background-color: rgba(249, 246, 243, 0.85);
  padding: 4px 12px;
  margin-left: -12px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Brown テーマ（職人・手仕事・温かみ） */
/* モカブラウンベース: 高級感と温かみを両立 */
[data-theme="brown"] {
  --primary: #8D5B3E;           /* メインカラー: 温かみのあるモカ */
  --primary-weak: #EFE9E1;      /* アクセント背景: 落ち着いたグレージュ */
  --primary-dark: #74492f;      /* ボタンホバー時 */
  --text: #3E2A2A;              /* 基本文字色: 深いダークブラウン */
  --text-muted: #6b5454;        /* サブテキスト */
}

/* Brown テーマ: フッターをダークブラウンに */
[data-theme="brown"] .footer {
  background-color: #3E2A2A;
}

/* Brown テーマ: フッター文字の可読性向上 */
[data-theme="brown"] .footer,
[data-theme="brown"] .footer__brand,
[data-theme="brown"] .footer__address,
[data-theme="brown"] .footer__note,
[data-theme="brown"] .footer__copy,
[data-theme="brown"] .footer__totop {
  color: #EDE8E3;
}

[data-theme="brown"] .footer__totop:hover {
  color: #FFFFFF;
}

/* Brown テーマ: ヒーロー見出しの視認性向上（グレージュ半透明帯） */
[data-theme="brown"] .hero__headline {
  display: inline;
  background-color: rgba(239, 233, 225, 0.85);
  padding: 4px 12px;
  margin-left: -12px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Green テーマ（ナチュラル・健康・癒し）※Standardのみ */
/* ミントグリーン基調: 爽やかさ・清潔感・ナチュラル */
[data-theme="green"] {
  --primary: #5B9E8C;           /* メインカラー: 上品なミントグリーン */
  --primary-weak: #F2F5F2;      /* アクセント背景: 温かみのあるオーガニックミント */
  --primary-dark: #4A8575;      /* ボタンホバー時 */
  --text: #3C423C;              /* 基本文字色: 深いオリーブグレー */
  --text-muted: #5A665E;        /* サブテキスト */
}

/* Green テーマ: フッターをダークオリーブグリーンに */
[data-theme="green"] .footer {
  background-color: #3D4A3D;
}

/* Green テーマ: フッター文字の可読性向上 */
[data-theme="green"] .footer,
[data-theme="green"] .footer__brand,
[data-theme="green"] .footer__address,
[data-theme="green"] .footer__note,
[data-theme="green"] .footer__copy,
[data-theme="green"] .footer__totop {
  color: #E5EDEA;
}

[data-theme="green"] .footer__totop:hover {
  color: #FFFFFF;
}

/* Green テーマ: ヒーロー見出しの視認性向上（ミント半透明帯） */
[data-theme="green"] .hero__headline {
  display: inline;
  background-color: rgba(242, 245, 242, 0.85);
  padding: 4px 12px;
  margin-left: -12px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Lavender テーマ（上品・癒し・リラクゼーション）※Standardのみ */
/* 大人ラベンダー基調: エレガント・癒し・シャンパンゴールドのアクセント */
[data-theme="lavender"] {
  --primary: #A696C1;           /* メインカラー: 青みのある藤色・透明感と洗練 */
  --primary-weak: #F5EEF2;      /* アクセント背景: ピンクグレー（血色感・赤み加算） */
  --primary-dark: #8F80AD;      /* ボタンホバー時 */
  --text: #4E454A;              /* 基本文字色: ダークプラムグレー */
  --text-muted: #706870;        /* サブテキスト */
  --bg-alt: #F5EEF2;            /* セクション背景: ピンクグレー */
  --border: #E4DCE9;            /* ボーダー: 紫みのある淡いライン */
}

/* Lavender テーマ: フッターを寒色系モーヴに */
[data-theme="lavender"] .footer {
  background-color: #554D5C;
}

/* Lavender テーマ: フッター文字の可読性向上 */
[data-theme="lavender"] .footer,
[data-theme="lavender"] .footer__brand,
[data-theme="lavender"] .footer__address,
[data-theme="lavender"] .footer__note,
[data-theme="lavender"] .footer__copy,
[data-theme="lavender"] .footer__totop {
  color: #E8E6ED;
}

[data-theme="lavender"] .footer__totop:hover {
  color: #FFFFFF;
}

/* Lavender テーマ: ヒーロー見出しの視認性向上（ピンクグレー半透明帯） */
[data-theme="lavender"] .hero__headline {
  display: inline;
  background-color: rgba(245, 238, 242, 0.85);
  padding: 4px 12px;
  margin-left: -12px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: #4E454A;               /* プラムグレーで背景のピンクを引き立てる */
}

/* Lavender テーマ: 見出し文字色をプラムグレーに統一 */
[data-theme="lavender"] .section__title {
  color: #4E454A;
}

/* Lavender テーマ: シャンパンゴールドアクセント */
/* バッジ・ステップ番号・アイコン背景に金の輝きを加える */
[data-theme="lavender"] .badge {
  color: #B8972F;
  border-color: #D4AF37;
  background-color: #FFFDF5;
}

[data-theme="lavender"] .step__number {
  background-color: #D4AF37;
  color: #FFFFFF;
}

[data-theme="lavender"] .card__icon {
  background-color: #FBF6E8;
  color: #B8972F;
}

/* ------------------------------------------
   プラン切替（Standard / Entry）
   ------------------------------------------ */
/* Entry専用要素を非表示（デフォルト） */
.entry-only {
  display: none !important;
}

/* Standard専用要素を非表示（デフォルト） */
.standard-only {
  display: block;
}

/* Entryプラン時の切り替え（build.py が data-plan 属性を設定） */
/* .standard-only の非表示は「プラン別表示制御」セクション（後方）で統一管理 */

[data-plan="entry"] .entry-only {
  display: block !important;
}

/* ギャラリーのStandard専用画像 */
[data-plan="entry"] .gallery__item--standard-only {
  display: none !important;
}

/* ------------------------------------------
   素材依存ブロック（ON/OFF切替）
   ------------------------------------------ */
.optional-block.is-hidden {
  display: none !important;
}

/* ------------------------------------------
   リセット・ベース
   ------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 見出し共通：セリフ体で品格と信頼感 */
.hero__headline,
.section__title,
.empathy-block__title,
.card__title,
.menu-item__name {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

legend {
  padding: 0;
}

/* ------------------------------------------
   スキップリンク（アクセシビリティ）
   ------------------------------------------ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 1000;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--text-on-primary);
  font-weight: 700;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

/* ------------------------------------------
   コンテナ
   ------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ------------------------------------------
   アイコン
   ------------------------------------------ */
.icon {
  flex-shrink: 0;
}

/* ------------------------------------------
   ボタン
   ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn--primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--text-on-primary);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn--secondary {
  background-color: var(--bg);
  border-color: var(--primary);
  color: var(--primary);
}

.btn--secondary:hover {
  background-color: var(--primary-weak);
}

.btn--ghost {
  background-color: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  background-color: var(--bg-alt);
  border-color: var(--text-muted);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* ------------------------------------------
   ヘッダー
   ------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.is-scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 16px;
}

.header__logo {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 55vw;
}

/* PC用サイト名：モバイルでは非表示 */
.logo-text--pc {
  display: none;
}

/* モバイル用サイト名：モバイルでは表示 */
.logo-text--mobile {
  display: block;
}

.logo-image {
  display: inline-block;
  max-height: 32px; /* 推奨ロゴ高さ（約32px） */
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}


.header__nav {
  display: none;
  gap: 24px;
}

.header__nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.header__nav a:hover {
  color: var(--primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__inquiry {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: none;
}

.header__inquiry:hover {
  text-decoration: underline;
}

.header__cta {
  white-space: nowrap;
}

.header__sns {
  display: flex; /* PC版では表示（モバイルはメディアクエリで非表示） */
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* モバイル時はヘッダーのSNSアイコンを非表示 */
@media (max-width: 768px) {
  .header__sns {
    display: none !important;
  }
}

.sns-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  transition: color var(--transition), transform var(--transition);
}

.sns-icon:hover {
  color: var(--primary);
  transform: scale(1.1);
}

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

/* SNSアイコンをブランドカラーにして目立たせる */
.sns-icon[aria-label*="LINE"] { color: #06C755 !important; } /* LINE公式グリーン */
.sns-icon[aria-label*="Instagram"] { color: #E1306C !important; } /* インスタ系ピンク */
.sns-icon[aria-label*="Facebook"] { color: #1877F2 !important; } /* FBブルー */

/* アイコンを丸いボタン風にして押しやすくする */
.header .sns-icon {
  background: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.header .sns-icon:hover {
  transform: scale(1.1);
}

/* PC表示 */
@media (min-width: 768px) {
  .header__inner {
    min-height: 70px;
  }

  .header__logo {
    flex: 0 1 auto;
  }

  .logo-text {
    font-size: 20px;
    max-width: none;
  }

  /* PC用サイト名：PCでは表示 */
  .logo-text--pc {
    display: block;
  }

  /* モバイル用サイト名：PCでは非表示 */
  .logo-text--mobile {
    display: none;
  }

  .header__nav {
    display: flex;
  }

  .header__inquiry {
    display: inline;
  }

  .header__sns {
    display: flex; /* PC版で表示 */
  }
}

/* ------------------------------------------
   ヒーロー
   ------------------------------------------ */
.hero {
  padding: 40px 0 50px;
  background: linear-gradient(180deg, var(--primary-weak) 0%, var(--bg) 100%);
}

.hero__grid {
  display: grid;
  gap: 32px;
}

.hero__content {
  text-align: center;
}

.hero__headline {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.hero__sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--bg);
  border: 1px solid var(--primary);
  border-radius: 100px;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.badge:nth-child(1) { animation-delay: 0.1s; }
.badge:nth-child(2) { animation-delay: 0.2s; }
.badge:nth-child(3) { animation-delay: 0.3s; }

.hero__actions {
  margin-bottom: 16px;
}

/* FV テキストリンク（ボタン過多を避ける） */
.hero__link {
  margin-bottom: 16px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition);
}

.link-arrow::after {
  content: '→';
  transition: transform var(--transition);
}

.link-arrow:hover {
  color: var(--primary-dark);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ヒーロー「仮予約する→」リンク強化 */
.hero__link .link-arrow {
  position: relative;
  font-size: 16px;
  font-weight: 700;
}

.hero__link .link-arrow::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.hero__link .link-arrow:hover::after {
  width: 100%;
  transform: none;
}

.hero__note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero__media {
  display: flex;
  justify-content: center;
}

/* FV直下ミニ情報カード */
.hero__info-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.info-mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 24px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 160px;
}

.info-mini-card__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-mini-card__value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.info-mini-card__sub {
  font-size: 12px;
  color: var(--text-muted);
}

.info-mini-card__tel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  transition: color var(--transition);
}

.info-mini-card__tel:hover {
  color: var(--primary-dark);
}

.info-mini-card__tel .icon {
  flex-shrink: 0;
}

.hero__img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-alt);
  box-shadow: var(--shadow-lg);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.hero__img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary-weak);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.hero__img:not([src=""]):not([src="#"]) + .hero__img-placeholder {
  display: none;
}

/* PC表示 */
@media (min-width: 768px) {
  .hero {
    padding: 60px 0 80px;
  }

  .hero__grid {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 48px;
  }

  .hero__content {
    text-align: left;
  }

  .hero__badges {
    justify-content: flex-start;
  }

  .hero__info-cards {
    justify-content: flex-start;
  }

  .hero__headline {
    font-size: 38px;
  }

  .hero__sub {
    font-size: 17px;
  }
}

/* ------------------------------------------
   セクション共通
   ------------------------------------------ */
.section {
  padding: 50px 0;
}

/* 予約フォーム非表示時の余白調整 */
.section--form[style*="display: none"] + .section {
  padding-top: 0;
}

.section--alt {
  background-color: var(--bg-alt);
}

.section--empathy {
  background-color: var(--primary-weak);
  padding: 40px 0;
}

.section--form {
  background: linear-gradient(180deg, var(--bg) 0%, var(--primary-weak) 100%);
  padding: 60px 0;
}

.section--contact {
  padding: 40px 0;
  background-color: var(--bg-alt);
}

.section__header {
  text-align: center;
  margin-bottom: 32px;
}

.section__title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.section__lead {
  font-size: 15px;
  color: var(--text-muted);
}

.section__note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

.section__cta {
  text-align: center;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .section__header {
    margin-bottom: 48px;
  }

  .section__title {
    font-size: 28px;
  }

  .section__lead {
    font-size: 16px;
  }
}

/* ------------------------------------------
   お悩み→解決（共感ブロック）
   ------------------------------------------ */
.empathy-grid {
  display: grid;
  gap: 24px;
}

.empathy-block {
  padding: 24px;
  border-radius: var(--radius-lg);
  background-color: var(--card);
  box-shadow: var(--shadow);
}

.empathy-block__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.empathy-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.empathy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.empathy-list--problem .icon {
  color: var(--danger);
}

.empathy-list--solution .icon {
  color: var(--primary);
}

@media (min-width: 768px) {
  .empathy-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .empathy-block {
    padding: 32px;
  }

  .empathy-block__title {
    font-size: 20px;
  }
}

/* ------------------------------------------
   カード
   ------------------------------------------ */
.cards {
  display: grid;
  gap: 20px;
}

.cards--2col {
  grid-template-columns: 1fr;
}

.cards--3col {
  grid-template-columns: 1fr;
}

.card {
  padding: 24px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  background-color: var(--primary-weak);
  border-radius: 50%;
  color: var(--primary);
  transition: background-color 0.2s ease;
}

.card:hover .card__icon {
  background-color: var(--primary);
  color: var(--text-on-primary);
}

.card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* お客様の声カード */
.card--testimonial {
  display: flex;
  flex-direction: column;
}

.card--testimonial .card__text {
  font-size: 15px;
  margin-bottom: 16px;
}

.card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--primary-weak);
}

.card__avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--primary-weak);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card__author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.card__rating {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}

.card__star--empty {
  color: #d1d5db;
}

@media (min-width: 768px) {
  .cards--2col {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards--3col {
    grid-template-columns: repeat(3, 1fr);
  }

  .card {
    padding: 28px;
  }
}

/* 選ばれる3つの理由カード：アイコンとタイトルを横並び */
#highlights .card {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 8px 16px !important;
  align-items: start !important;
}

#highlights .card__icon {
  grid-row: 1 / 3 !important;
  margin-bottom: 0 !important;
  align-self: start !important;
}

#highlights .card__title {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin-bottom: 4px !important;
}

#highlights .card__text {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

/* ------------------------------------------
   メニュー・料金（リスト型）
   増えても崩れないUI設計
   ------------------------------------------ */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

.menu-item:hover {
  box-shadow: var(--shadow-lg);
}

.menu-item__main {
  flex: 1;
}

.menu-item__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.menu-item__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.menu-item__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.menu-item__duration {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 10px;
  background-color: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.menu-item__price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-left: auto;
}

.menu-item__price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .menu-item {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 24px;
  }

  .menu-item__meta {
    flex-shrink: 0;
    padding-top: 0;
    border-top: none;
    border-left: 1px solid var(--border);
    padding-left: 24px;
    min-width: 200px;
  }

  .menu-item__name {
    font-size: 18px;
  }

  .menu-item__price {
    font-size: 26px;
    font-weight: 900;
  }
}

/* ------------------------------------------
   ステップ（予約の流れ）
   ------------------------------------------ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-on-primary);
  background-color: var(--primary);
  border-radius: 50%;
}

.step__content {
  flex: 1;
}

.step__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.step__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    gap: 24px;
  }

  .step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px;
  }

  .step__number {
    width: 56px;
    height: 56px;
    font-size: 24px;
    margin-bottom: 8px;
  }
}

/* ------------------------------------------
   ギャラリー（Entry: 3枚 / Standard: 5枚）
   ------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
}

.gallery__item {
  margin: 0;
}

.gallery__img-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-alt);
  box-shadow: var(--shadow);
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.03);
}

.gallery__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary-weak);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.gallery__img:not([src=""]):not([src="#"]) + .gallery__placeholder {
  display: none;
}

.gallery__caption {
  padding: 12px 4px 0;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 768px) {
  .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 5枚の時、下の2枚を自動で真ん中に寄せます */
    gap: 20px;
    margin-top: 56px;
    max-width: 100%;
  }

  .gallery__item {
    flex: 0 0 calc(33.333% - 20px); /* 3列を維持 */
    max-width: 350px;
    margin: 0; /* 余計なマージンをリセット */
  }

  /* Entry: 3枚まで表示（中央寄せ） */
  [data-plan="entry"] .gallery {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
  }

  [data-plan="entry"] .gallery__item {
    flex: 0 0 calc(50% - 14px);
    max-width: 350px;
    margin: 0;
  }

  /* Standard: 5枚まで表示（奇数対応・中央寄せ） */
  [data-plan="standard"] .gallery {
    justify-content: center;
  }

  [data-plan="standard"] .gallery__item {
    flex: 0 0 calc(33.333% - 20px);
    max-width: 320px;
    margin: 0;
  }

  .gallery__caption {
    font-size: 14px;
    padding-top: 14px;
  }
}

/* ------------------------------------------
   実績数字
   ------------------------------------------ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.stat-item {
  padding: 24px 16px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-item__number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-item__number small {
  font-size: 18px;
}

.stat-item__label {
  font-size: 13px;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .stats-grid {
    gap: 32px;
  }

  .stat-item {
    padding: 32px 24px;
  }

  .stat-item__number {
    font-size: 48px;
  }

  .stat-item__number small {
    font-size: 24px;
  }

  .stat-item__label {
    font-size: 15px;
  }
}

/* ------------------------------------------
   FAQ
   ------------------------------------------ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item[open] {
  box-shadow: var(--shadow);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--transition);
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item__answer p {
  margin: 0;
}

/* ------------------------------------------
   アクセス
   ------------------------------------------ */
.access-grid {
  display: grid;
  gap: 32px;
}

.access-info {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-list {
  display: flex;
  flex-direction: column;
}

.info-list__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.info-list__item:last-child {
  border-bottom: none;
}

.info-list__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-list__value {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  vertical-align: top;
}

.info-list__tel {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  transition: color var(--transition);
}

.info-list__tel:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.access-map {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
}

.map-embed iframe {
  display: block;
}

@media (min-width: 768px) {
  .access-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }

  .info-list__item {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
    padding: 20px 24px;
  }

  .info-list__label {
    flex-shrink: 0;
    width: 80px;
  }
}

/* ------------------------------------------
   フォーム説明文（イントロ）
   ------------------------------------------ */
.form-intro {
  max-width: 600px;
  margin: 0 auto 32px;
  padding: 24px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
}

.form-intro__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
}

.form-intro__text strong {
  color: var(--primary);
}

.form-intro__list {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 0;
}

.form-intro__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.form-intro__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.form-intro__list li strong {
  color: var(--text);
}

/* ------------------------------------------
   フォームブロック（3モード切替）
   同時に複数表示されないよう .is-active で制御
   ------------------------------------------ */
.form-block {
  /* 初期状態：全て非表示 */
  display: none;
}

/* JSが .is-active を付与したブロックのみ表示 */
.form-block.is-active {
  display: block;
}

/* JSなし環境（html.no-js）ではmailtoのみ表示 */
.no-js #form-mailto {
  display: block;
}

/* JSなし環境では他のフォームを確実に非表示 */
.no-js #form-php,
.no-js #form-external {
  display: none;
}

/* ------------------------------------------
   フォーム
   ------------------------------------------ */
.form {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form__group {
  margin-bottom: 20px;
}

.form__group:last-child {
  margin-bottom: 0;
}

.form__fieldset {
  margin-bottom: 24px;
  padding: 20px;
  background-color: var(--bg-alt);
  border-radius: var(--radius);
}

.form__fieldset--schedule {
  padding: 24px;
}

.form__legend {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.form__hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.form__sublabel {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.form__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.form__label--sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.form__required {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-on-primary);
  background-color: var(--danger);
  border-radius: 4px;
  vertical-align: middle;
}

.form__optional {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  vertical-align: middle;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-weak);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-muted);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

/* チェックボックスグループ */
.form__checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 曜日チェックボックス：7つを均等に */
.form__checkbox-group--days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

/* 時間帯チェックボックス：2列 */
.form__checkbox-group--times {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

/* チェックボックス単体 */
.form__checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.form__checkbox:hover {
  border-color: var(--primary);
  background-color: var(--primary-weak);
}

.form__checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form__checkbox input[type="checkbox"]:checked + .form__checkbox-text {
  color: var(--primary);
  font-weight: 700;
}

.form__checkbox:has(input[type="checkbox"]:checked) {
  border-color: var(--primary);
  background-color: var(--primary-weak);
}

.form__checkbox-text {
  font-size: 14px;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}

.form__checkbox-text small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* ワイドチェックボックス（時間帯用） */
.form__checkbox--wide {
  padding: 12px 16px;
}

.form__checkbox--wide .form__checkbox-text {
  text-align: left;
}

/* フォーカス表示 */
.form__checkbox:has(input[type="checkbox"]:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.form__submit {
  text-align: center;
  margin-top: 28px;
}

.form__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .form {
    padding: 40px;
  }

  /* PC: 曜日は7つ横並び */
  .form__checkbox-group--days {
    grid-template-columns: repeat(7, 1fr);
  }

  /* PC: 時間帯は4つ横並び */
  .form__checkbox-group--times {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Entry用：mailto差し替えUI */
.form-alt {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-alt__text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.form-alt__list {
  text-align: left;
  max-width: 280px;
  margin: 0 auto 24px;
  padding-left: 0;
}

.form-alt__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.form-alt__list li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--primary);
}

.form-alt__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* file:// 直開き時の開発者向け注記 */
.form-alt__devnote {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(26,115,232,.22);
  background: rgba(26,115,232,.06);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
}
.form-alt__devnote strong {
  font-weight: 700;
}

/* ------------------------------------------
   お問い合わせ（Secondary）
   ------------------------------------------ */
.contact-box {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px;
  text-align: center;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-box__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.contact-box__text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-box__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.contact-box__tel {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.contact-box__tel small {
  display: block;
  margin-bottom: 4px;
}

.contact-box__tel a {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.contact-box__tel a:hover {
  text-decoration: underline;
}

.contact-box__sns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.contact-box__sns .sns-icon {
  width: 40px;
  height: 40px;
}

.contact-box__sns .sns-icon svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {
  .contact-box {
    padding: 40px;
  }

  .contact-box__actions {
    flex-direction: row;
    justify-content: center;
  }

  .contact-box__tel small {
    display: inline;
    margin-bottom: 0;
    margin-right: 8px;
  }
}

/* ------------------------------------------
   フッター
   ------------------------------------------ */
.footer {
  padding: 40px 0;
  background-color: var(--text);
  color: rgba(255, 255, 255, 0.8);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__info {
  text-align: center;
}

.footer__brand {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}

.footer__address {
  font-size: 14px;
  margin-bottom: 12px;
}

.footer__note {
  font-size: 12px;
  opacity: 0.7;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copy {
  font-size: 12px;
  opacity: 0.7;
  text-align: center;
}

.footer__totop {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.footer__totop:hover {
  color: var(--text-on-dark);
}

/* ------------------------------------------
   追従CTA（モバイル）
   ------------------------------------------ */
.fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.fixed-cta.is-visible {
  transform: translateY(0);
}

.fixed-cta__btn {
  width: 100%;
}

/* Entry用：電話＋LINEアイコンボタン */
.fixed-cta__icons {
  display: none; /* デフォルト非表示（CSSプラン制御で切替） */
  justify-content: center;
  gap: 16px;
}

.fixed-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-on-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background-color var(--transition), transform var(--transition);
}

.fixed-cta__icon:hover {
  background-color: var(--primary-dark);
  transform: scale(1.08);
}

.fixed-cta__icon--line {
  background-color: #06C755;
}

.fixed-cta__icon--line:hover {
  background-color: #05b34c;
}

/* モバイル：ボタンのタップ領域確保 */
@media (max-width: 767px) {
  .hero__badges {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    padding: 18px 32px;
    font-size: 17px;
    min-height: 50px;
  }
}

/* PC表示では非表示 */
@media (min-width: 768px) {
  .fixed-cta {
    display: none;
  }
}

/* ------------------------------------------
   テーマ切替ボタン（開発・デモ用）
   ※デフォルト非表示。body[data-show-theme-switcher] で表示
   ------------------------------------------ */
.theme-switcher {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 80;
  display: none; /* デフォルト非表示 */
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.theme-switcher__heading {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.1em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2px;
}

/* body に data-show-theme-switcher 属性がある場合のみ表示 */
body[data-show-theme-switcher] .theme-switcher {
  display: flex;
}

/* モバイル幅では属性があっても非表示（FV画像に重なる問題を防止） */
@media (max-width: 767px) {
  body[data-show-theme-switcher] .theme-switcher {
    display: none;
  }
}

.theme-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  padding: 3px 10px 3px 3px;
  border-radius: 16px;
  border: 2px solid transparent;
  transition: border-color var(--transition), background-color var(--transition);
}

.theme-btn:hover {
  background-color: var(--bg-muted);
}

.theme-btn.is-active {
  border-color: var(--text);
}

.theme-btn__color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

.theme-btn__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1;
}

.theme-btn.is-active .theme-btn__label {
  color: var(--text);
  font-weight: 700;
}

@media (min-width: 768px) {
  .theme-switcher {
    bottom: 24px;
    right: 24px;
  }
}

/* ------------------------------------------
   ユーティリティ
   ------------------------------------------ */
.is-hidden {
  display: none !important;
}

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

/* フォーカス可視化（アクセシビリティ） */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* 画像プレースホルダ共通スタイル */
[class*="placeholder"] {
  background-color: var(--primary-weak);
  color: var(--text-muted);
}

/* ------------------------------------------
   プラン別表示制御（Entry / Standard）
   build.py が data-plan 属性をビルド時に設定
   ------------------------------------------ */

/* Entry: お問い合わせフォームセクション非表示 */
[data-plan="entry"] #contact-form {
  display: none !important;
}

/* Entry: ヘッダーの「お問い合わせ」テキストリンク非表示（CTAボタンに統合） */
[data-plan="entry"] .header__inquiry {
  display: none !important;
}

/* Entry: 固定CTA — Standard用ボタン非表示、Entry用アイコン表示 */
[data-plan="entry"] .standard-cta {
  display: none !important;
}
[data-plan="entry"] .entry-cta {
  display: flex !important;
}

/* Standard: Entry用アイコン非表示（デフォルト） */
[data-plan="standard"] .entry-cta {
  display: none !important;
}

/* Entry: Standard専用セクション非表示 */
[data-plan="entry"] .standard-only {
  display: none !important;
}

/* Entry: SNSアイコン非表示 */
[data-plan="entry"] .header__sns {
  display: none !important;
}
[data-plan="entry"] .contact-box__sns {
  display: none !important;
}

/* SNS表示（コンテンツがある場合） */
.contact-box__sns:empty {
  display: none;
}

/* ------------------------------------------
   レスポンシブ対応（320px〜）
   横スクロール防止・狭い幅での調整
   ------------------------------------------ */

/* 超狭幅（320px以下）対応 */
@media (max-width: 374px) {
  :root {
    --container-padding: 12px;
  }

  /* ヘッダー：サイト名の最大幅を制限、CTAを小さく */
  .logo-text {
    max-width: 45vw;
    font-size: 16px;
  }

  .header__cta {
    padding: 6px 10px;
    font-size: 11px; /* モバイルでバランスを整える */
  }

  .header__inner {
    gap: 8px;
  }

  .hero__headline {
    font-size: 22px;
  }

  .hero__badges {
    gap: 6px;
  }

  .badge {
    padding: 4px 10px;
    font-size: 11px;
  }

  .info-mini-card {
    min-width: 140px;
    padding: 12px 16px;
  }

  .info-mini-card__tel {
    font-size: 16px;
  }

  .section__title {
    font-size: 20px;
  }

  .card {
    padding: 16px;
  }

  .menu-item {
    padding: 16px;
  }

  .menu-item__price {
    font-size: 18px;
  }

  .step {
    padding: 16px;
  }

  .step__number {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .form {
    padding: 20px;
  }

  .form-intro {
    padding: 16px;
  }

  .form-alt {
    padding: 24px;
  }

  .contact-box {
    padding: 20px;
  }

  .faq-item__question {
    padding: 12px 16px;
    font-size: 14px;
  }

  .faq-item__answer {
    padding: 0 16px 16px;
  }

  .info-list__item {
    padding: 12px 16px;
  }

  .stat-item {
    padding: 16px 8px;
  }

  .stat-item__number {
    font-size: 24px;
  }

  .stat-item__number small {
    font-size: 14px;
  }

  .btn--lg {
    padding: 14px 24px;
    font-size: 15px;
  }
}

/* 狭幅（375px）対応 */
@media (max-width: 430px) {
  .hero__info-cards {
    flex-direction: column;
    align-items: center;
  }

  .info-mini-card {
    width: 100%;
    max-width: 280px;
  }

  .stats-grid {
    gap: 8px;
  }

  .stat-item {
    padding: 16px 10px;
  }
}

/* 画像差し替え耐性：比率固定＋フォールバック */
.hero__img-wrapper,
.gallery__img-wrapper {
  background-color: var(--bg-alt);
}

.hero__img,
.gallery__img {
  background-color: var(--bg-alt);
}

/* テーブル・リストがはみ出さないように */
table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

/* フォーム要素がはみ出さないように */
input,
select,
textarea,
button {
  max-width: 100%;
}

/* コンテナ幅: .container の max-width: var(--max-width) がベースで統一 */

/* ------------------------------------------
   店主フォーカスエリア（Consultation Type固有）
   ------------------------------------------ */
.section--owner {
  background-color: var(--bg);
  padding: 50px 0;
}

.owner-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.owner__media {
  display: flex;
  justify-content: center;
}

.owner__img-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--bg-alt);
  box-shadow: var(--shadow-lg);
}

.owner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner__img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-color: var(--primary-weak);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.owner__img:not([src=""]):not([src="#"]) + .owner__img-placeholder {
  display: none;
}

.owner__content {
  text-align: center;
}

.owner__name {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.owner__credentials {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.owner__message {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
}

@media (min-width: 768px) {
  .section--owner {
    padding: 80px 0;
  }

  .owner-grid {
    grid-template-columns: auto 1fr;
    gap: 48px;
  }

  .owner__img-wrapper {
    width: 240px;
    height: 240px;
  }

  .owner__content {
    text-align: left;
  }

  .owner__name {
    font-size: 26px;
  }
}

/* ------------------------------------------
   中間CTA（スクロール離脱防止）
   ------------------------------------------ */
.section--mid-cta {
  padding: 40px 0;
  background-color: var(--accent-bg);
}

.mid-cta {
  text-align: center;
}

.mid-cta__text {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ------------------------------------------
   実績・事例紹介（Consultation Type固有）
   ------------------------------------------ */
.cases-list {
  display: grid;
  gap: 24px;
}

.case-item {
  padding: 24px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

.case-item:hover {
  box-shadow: var(--shadow-lg);
}

.case-item__header {
  margin-bottom: 12px;
}

.case-item__category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-weak);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.case-item__title {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.case-item__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.case-item__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.case-item__before,
.case-item__after {
  position: relative;
}

.case-item__label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-on-primary);
  background-color: var(--primary);
  padding: 2px 10px;
  border-radius: 4px;
}

.case-item__label--after {
  background-color: var(--accent, var(--primary));
}

.case-item__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: var(--bg-alt);
}

.case-item__result {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .cases-list {
    gap: 32px;
  }

  .case-item {
    padding: 32px;
  }

  .case-item__title {
    font-size: 20px;
  }

  .case-item__images {
    gap: 20px;
  }
}

/* ------------------------------------------
   アニメーション演出（Standard専用）
   ------------------------------------------ */
/* Entry: アニメーション無効（装飾のないシンプルなLP） */
[data-plan="entry"] .card,
[data-plan="entry"] .step,
[data-plan="entry"] .menu-item,
[data-plan="entry"] .badge {
  animation: none !important;
  opacity: 1 !important;
}

/* Entry: 背景装飾（幾何学模様）を完全オフ */
[data-plan="entry"] .hero::before,
[data-plan="entry"] .hero::after,
[data-plan="entry"] .section::before,
[data-plan="entry"] .section::after {
  display: none !important;
}

/* SNS非表示は「プラン別表示制御」セクションで統一管理 */

/* Standard: アニメーション有効 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-plan="standard"] .card,
[data-plan="standard"] .step,
[data-plan="standard"] .menu-item {
  animation: fadeInUp 0.6s ease-out;
  opacity: 0;
  animation-fill-mode: forwards;
}

[data-plan="standard"] .card:nth-child(1) { animation-delay: 0.1s; }
[data-plan="standard"] .card:nth-child(2) { animation-delay: 0.2s; }
[data-plan="standard"] .card:nth-child(3) { animation-delay: 0.3s; }

/* Standard: 背景装飾（幾何学模様）- 豪華さを強調 */
[data-plan="standard"] .hero {
  position: relative;
  overflow: hidden;
}

[data-plan="standard"] .hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-weak) 0%, transparent 60%);
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

[data-plan="standard"] .hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 200, 100, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Standard: ドット装飾 */
[data-plan="standard"] .section {
  position: relative;
}

[data-plan="standard"] .section::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 8px;
  height: 8px;
  background: var(--primary-weak);
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
}

[data-plan="standard"] .section::after {
  content: '';
  position: absolute;
  bottom: 40px;
  right: 30px;
  width: 12px;
  height: 12px;
  background: var(--primary-weak);
  border-radius: 50%;
  opacity: 0.25;
  pointer-events: none;
}

/* ------------------------------------------
   アクセシビリティ: モーション軽減設定
   ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  [data-plan="standard"] .card,
  [data-plan="standard"] .step,
  [data-plan="standard"] .menu-item {
    animation: none;
    opacity: 1;
  }
}
