/*
Theme Name: さんさん整骨院
Theme URI: https://sunsun-seikotsuin.com/
Author: Silver1
Description: さんさん整骨院公式WordPressテーマ。10代〜80代まで見やすく、シンプルな動線で集客に特化したデザイン。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: sunsun
*/

/* ========================================
   CSS カスタムプロパティ（変数）
======================================== */
:root {
  --color-primary:        #FF7A1A;   /* サンシャインオレンジ */
  --color-primary-dark:   #E06600;
  --color-primary-light:  #FFF3E8;
  --color-primary-pale:   #FFF8F2;
  --color-accent:         #00A8CC;   /* スカイブルー（信頼） */
  --color-accent-light:   #E6F7FB;
  --color-green:          #3AAB5C;   /* ヘルスグリーン */
  --color-green-light:    #EDFAF3;
  --color-text:           #1E1E1E;
  --color-text-muted:     #666666;
  --color-border:         #E8E8E8;
  --color-bg:             #FFFFFF;
  --color-bg-light:       #F8F8F8;
  --color-footer:         #1A2332;
  --color-footer-text:    #BCC4D0;
  --font-jp:              'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
  --radius-sm:            6px;
  --radius-md:            12px;
  --radius-lg:            24px;
  --shadow-sm:            0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:            0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:            0 8px 40px rgba(0,0,0,0.16);
  --transition:           0.25s ease;
  --max-width:            1200px;
  --section-py:           80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   タイポグラフィ
======================================== */
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: var(--color-text);
}

.section-title span {
  color: var(--color-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-top: 8px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* ========================================
   ボタン
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,122,26,0.35);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,122,26,0.45);
}

.btn-line {
  background: #06C755;
  color: #fff;
  box-shadow: 0 4px 16px rgba(6,199,85,0.35);
}
.btn-line:hover {
  background: #05A847;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-tel {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,168,204,0.35);
}
.btn-tel:hover {
  background: #0090B0;
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-full { width: 100%; }

/* ========================================
   アナウンスバー
======================================== */
.announce-bar {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  line-height: 1.5;
}

/* ========================================
   ヘッダー
======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.logo-icon {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

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

.header-tel {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.header-tel-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.header-tel-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.header-tel-num a { color: inherit; }

.header-btn-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.header-btn-group .btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 50px;
}

/* PCナビゲーション */
.site-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  gap: 0;
  align-items: center;
}

.nav-list li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
  border-bottom: 2px solid transparent;
}

.nav-list li a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.5);
}

.mobile-menu.open { display: block; }

.mobile-menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 100vw);
  height: 100vh;
  background: #fff;
  overflow-y: auto;
  padding: 80px 24px 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open .mobile-menu-inner { transform: translateX(0); }

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-light);
  border-radius: 50%;
}

.mobile-nav-list { margin-bottom: 32px; }

.mobile-nav-list li { border-bottom: 1px solid var(--color-border); }

.mobile-nav-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}

.mobile-nav-list li a::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-tel-box {
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.mobile-tel-box a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.mobile-tel-box small {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ========================================
   フローティング予約ボタン（SP固定）
======================================== */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.float-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 12px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.float-btn svg { width: 22px; height: 22px; }
.float-btn-tel { background: var(--color-accent); }
.float-btn-line { background: #06C755; }
.float-btn-web { background: var(--color-primary); }

/* ========================================
   ヒーローセクション
======================================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #FFF3E8 0%, #FFF8F2 40%, #E6F7FB 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,26,0.15) 0%, transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: normal;
  color: var(--color-primary);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.9;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero-info-item svg { color: var(--color-primary); flex-shrink: 0; }
.hero-info-item a { color: var(--color-text-muted); }

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--color-primary);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-float-cards {
  display: none;
}

.hero-float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-float-card.card-1 {
  bottom: 24px;
  left: -20px;
}

.hero-float-card.card-2 {
  top: 24px;
  right: -10px;
  text-align: center;
}

.hero-float-card .num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

/* ========================================
   お悩みセクション
======================================== */
.symptoms {
  padding: var(--section-py) 0;
  background: var(--color-bg-light);
}

.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.symptom-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  border: 2px solid var(--color-border);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.symptom-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  color: var(--color-primary);
}

.symptom-icon {
  width: 64px;
  height: 64px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: background var(--transition);
}

.symptom-card:hover .symptom-icon {
  background: var(--color-primary);
}

.symptom-icon svg { transition: color var(--transition); }

.symptom-name {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

/* ========================================
   3つの特徴
======================================== */
.features {
  padding: var(--section-py) 0;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.feature-card {
  background: var(--color-primary-pale);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,122,26,0.08);
}

.feature-num {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,122,26,0.2);
  line-height: 1;
  margin-bottom: 16px;
  font-style: italic;
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ========================================
   施術メニュー
======================================== */
.menu-section {
  padding: var(--section-py) 0;
  background: var(--color-bg-light);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.menu-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.menu-card-header {
  padding: 28px 24px 20px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #fff 100%);
  border-bottom: 3px solid var(--color-primary);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.menu-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.menu-card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.menu-card-title small { display: block; font-size: 0.75rem; color: var(--color-text-muted); font-weight: 400; margin-top: 4px; }

.menu-card-body {
  padding: 20px 24px;
  flex: 1;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.menu-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
}

.menu-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin: 3px;
}

/* ========================================
   初めての方へ（来院の流れ）
======================================== */
.flow-section {
  padding: var(--section-py) 0;
  background: #fff;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.flow-list::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  z-index: 0;
}

.flow-item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}

.flow-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  box-shadow: 0 0 0 6px var(--color-primary-light);
}

.flow-step-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.flow-step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-step-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================================
   料金セクション
======================================== */
.price-section {
  padding: var(--section-py) 0;
  background: var(--color-bg-light);
}

.price-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

.price-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 500px;
}

.price-table th {
  background: var(--color-primary);
  color: #fff;
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
}

.price-table td {
  padding: 16px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--color-primary-pale); }

.price-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-insurance {
  background: var(--color-green-light);
  color: var(--color-green);
}

.badge-self {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* ========================================
   スタッフ紹介
======================================== */
.staff-section {
  padding: var(--section-py) 0;
  background: #fff;
}

.staff-card {
  max-width: 760px;
  margin: 48px auto 0;
  background: var(--color-primary-pale);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  box-shadow: var(--shadow-md);
}

.staff-photo {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  min-height: 260px;
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-info {
  padding: 36px 32px;
}

.staff-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.staff-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.staff-name span {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.staff-message {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.staff-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-tag {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ========================================
   よくある質問
======================================== */
.faq-section {
  padding: var(--section-py) 0;
  background: var(--color-bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: background var(--transition);
  width: 100%;
  text-align: left;
}

.faq-question:hover { background: var(--color-primary-pale); }
.faq-item.open .faq-question { background: var(--color-primary-pale); }

.faq-q-mark {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.faq-q-text {
  flex: 1;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
}

.faq-chevron {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 24px 20px 76px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

.faq-item.open .faq-answer { display: block; }

/* ========================================
   アクセス・営業時間
======================================== */
.access-section {
  padding: var(--section-py) 0;
  background: #fff;
}

.access-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

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

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

.access-table th,
.access-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  text-align: left;
  vertical-align: top;
}

.access-table th {
  width: 120px;
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.access-table td { font-weight: 500; }

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

.hours-table th,
.hours-table td {
  padding: 10px 12px;
  font-size: 0.85rem;
  text-align: center;
  border: 1px solid var(--color-border);
}

.hours-table th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

.hours-table td.available { color: var(--color-green); font-weight: 700; }
.hours-table td.closed { color: #999; }
.hours-table td.holiday { background: #FFF5F5; color: #E53E3E; }
.hours-cell-day { background: var(--color-bg-light); font-weight: 600; }

/* ========================================
   予約CTAセクション
======================================== */
.booking-section {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #FF5500 100%);
  color: #fff;
  text-align: center;
}

.booking-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.booking-desc {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

.booking-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.booking-method {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all var(--transition);
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.booking-method:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-4px);
}

.booking-method-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.booking-method-name {
  font-size: 1rem;
  font-weight: 700;
}

.booking-method-detail {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.booking-method-note {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* ========================================
   フッター
======================================== */
.site-footer {
  background: var(--color-footer);
  color: var(--color-footer-text);
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.footer-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-address {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-address a { color: var(--color-footer-text); }

.footer-sns {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer-sns a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition);
  color: #fff;
}

.footer-sns a:hover { background: var(--color-primary); }

.footer-nav-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-nav-list a:hover { color: var(--color-primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ========================================
   ページ内汎用スタイル
======================================== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.cta-center {
  text-align: center;
  margin-top: 36px;
}

/* ========================================
   ブログページ
======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.blog-card-thumb {
  aspect-ratio: 16/9;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}

.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-card-cat {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  width: fit-content;
}

.blog-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: auto;
}

/* ========================================
   レスポンシブ
======================================== */

/* タブレット (〜1024px) */
@media (max-width: 1024px) {
  :root { --section-py: 64px; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero-cta { justify-content: center; }
  .hero-info-list { align-items: center; }
  .hero-image { max-width: 480px; margin: 0 auto; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .flow-list::before { display: none; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .staff-card { grid-template-columns: 220px 1fr; }
}

/* スマートフォン (〜768px) */
@media (max-width: 768px) {
  :root { --section-py: 48px; }

  /* ヘッダー SP */
  .site-nav { display: none; }
  .header-contact { display: none; }
  .hamburger { display: flex; }

  .header-inner {
    padding: 12px 16px;
    justify-content: space-between;
  }

  .logo-main { font-size: 1rem; }

  /* ヒーロー SP */
  .hero { min-height: auto; }
  .hero-inner { padding: 40px 16px; grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-title { font-size: 1.6rem; }

  /* 症状 SP */
  .symptoms-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .symptom-icon { width: 52px; height: 52px; font-size: 1.5rem; }
  .symptom-name { font-size: 0.85rem; }

  /* 特徴 SP */
  .features-grid { grid-template-columns: 1fr; gap: 16px; }

  /* メニュー SP */
  .menu-grid { grid-template-columns: 1fr; }

  /* 流れ SP */
  .flow-list { grid-template-columns: 1fr; gap: 24px; }

  /* 料金 SP */
  .price-table-wrap { margin: 0 -24px; border-radius: 0; }

  /* スタッフ SP */
  .staff-card { grid-template-columns: 1fr; }
  .staff-photo { min-height: 200px; }

  /* アクセス SP */
  .access-inner { grid-template-columns: 1fr; }
  .map-wrap iframe { height: 280px; }

  /* 予約 SP */
  .booking-methods { grid-template-columns: 1fr; gap: 12px; max-width: 320px; }
  .booking-method { padding: 20px; flex-direction: row; text-align: left; gap: 16px; }
  .booking-method-icon { width: 50px; height: 50px; flex-shrink: 0; }

  /* フッター SP */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  /* ブログ SP */
  .blog-grid { grid-template-columns: 1fr; }

  /* フローティングCTA */
  .floating-cta { display: grid; }
  body { padding-bottom: 60px; }
}

/* スマートフォン小 (〜480px) */
@media (max-width: 480px) {
  .hero-title { font-size: 1.4rem; }
  .section-title { font-size: 1.4rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }

  .access-table th { width: 90px; }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease both;
}

/* ========================================
   スクロールアニメーション（IntersectionObserver）
======================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   ユーティリティ
======================================== */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

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

/* 単一記事・固定ページ */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent-light) 100%);
  padding: 60px 0 40px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
}

.page-content {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 24px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--color-primary);
}

.page-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--color-primary);
}

.page-content p { margin-bottom: 16px; }

.page-content ul, .page-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.page-content li {
  list-style: disc;
  margin-bottom: 8px;
}
