/* =============================================
   病院ポータルサイト用CSS
   女性向けクリーンデザイン - モバイルファースト
   ============================================= */

/* カラーパレット */
:root {
  /* メインカラー - 優しいピンク系 */
  --primary-color: #E91E63;
  --primary-light: #F8BBD0;
  --primary-dark: #C2185B;
  
  /* セカンダリカラー - 落ち着いたティール */
  --secondary-color: #00BCD4;
  --secondary-light: #B2EBF2;
  --secondary-dark: #0097A7;
  
  /* ニュートラルカラー */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --background: #FAFAFA;
  --white: #FFFFFF;
  --border-color: #E0E0E0;
  
  /* 機能色 */
  --success: #4CAF50;
  --warning: #FF9800;
  --error: #F44336;
  --info: #2196F3;
  
  /* シャドウ */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Arial, "メイリオ", Meiryo, sans-serif;
  color: var(--text-primary);
  background-color: var(--background);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* コンテナ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =============================================
   パンくずリスト
   ============================================= */
.breadcrumbs {
  background: var(--white);
  padding: 12px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  font-size: 14px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.3s;
}

.breadcrumb-item a:hover {
  opacity: 0.7;
}

.breadcrumb-item .separator {
  margin: 0 8px;
  color: var(--text-light);
}

.breadcrumb-item:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

/* =============================================
   ページヘッダー
   ============================================= */
.page-header {
  background: var(--white);
  padding: 24px 16px;
  margin-bottom: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.page-title .count {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 20px;
}

.term-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 12px;
}

/* =============================================
   エリア・駅リスト
   ============================================= */
.child-areas,
.child-stations {
  background: var(--white);
  padding: 24px 16px;
  margin-bottom: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.child-areas h2,
.child-stations h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid var(--primary-color);
}

.area-list,
.station-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.area-item a,
.station-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s;
}

.area-item a:hover,
.station-item a:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.area-name,
.station-name {
  font-weight: 500;
  font-size: 14px;
}

.area-count,
.station-count {
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--white);
  padding: 2px 8px;
  border-radius: 12px;
}

/* =============================================
   病院リスト
   ============================================= */
.hospital-list {
  margin-bottom: 40px;
}

.hospital-list h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.result-count {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding: 0 16px;
}

.hospital-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.hospital-item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s;
}

.hospital-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.hospital-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border-color);
}

.hospital-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.hospital-name a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}

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

.hospital-info {
  padding: 20px;
}

.info-row {
  display: flex;
  margin-bottom: 12px;
  align-items: flex-start;
}

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

.info-row dt {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 14px;
  min-width: 80px;
  margin-right: 12px;
}

.info-row dt i {
  margin-right: 6px;
  color: var(--primary-color);
  font-size: 16px;
}

.info-row dd {
  flex: 1;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
}

.info-row dd a {
  color: var(--primary-color);
  text-decoration: none;
}

.info-row dd a:hover {
  text-decoration: underline;
}

.hospital-footer {
  padding: 16px 20px;
  background: var(--background);
  text-align: center;
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 24px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s;
}

.btn-detail:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.btn-detail i {
  font-size: 16px;
}

/* =============================================
   ページネーション
   ============================================= */
.pagination-wrapper {
  margin: 32px 0;
}

.pagination-wrapper .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-wrapper .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s;
}

.pagination-wrapper .page-numbers:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
  color: var(--primary-dark);
}

.pagination-wrapper .page-numbers.current {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.pagination-wrapper .prev,
.pagination-wrapper .next {
  padding: 0 16px;
}

/* =============================================
   結果なし
   ============================================= */
.no-results {
  background: var(--white);
  padding: 48px 24px;
  text-align: center;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.no-results p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 16px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 24px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-back:hover {
  background: var(--secondary-dark);
  transform: scale(1.05);
}

/* =============================================
   関連エリア
   ============================================= */
.related-areas {
  background: var(--white);
  padding: 24px 16px;
  margin-bottom: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.related-areas h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid var(--secondary-color);
}

.related-area-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.related-area-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.3s;
}

.related-area-list li a:hover {
  background: var(--secondary-light);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =============================================
   レスポンシブ - タブレット以上
   ============================================= */
@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
  
  .page-header {
    padding: 32px 24px;
  }
  
  .page-title {
    font-size: 32px;
  }
  
  .page-title .count {
    font-size: 18px;
  }
  
  .child-areas,
  .child-stations {
    padding: 32px 24px;
  }
  
  .area-list,
  .station-list {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }
  
  .hospital-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .hospital-name {
    font-size: 20px;
  }
  
  .info-row dt {
    min-width: 100px;
  }
  
  .related-area-list {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

/* =============================================
   レスポンシブ - デスクトップ
   ============================================= */
@media (min-width: 1024px) {
  .hospital-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .area-list,
  .station-list {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/* =============================================
   アイコンフォント（Font Awesome互換）
   ============================================= */
.icon-location::before {
  content: "📍";
  margin-right: 4px;
}

.icon-phone::before {
  content: "📞";
  margin-right: 4px;
}

.icon-train::before {
  content: "🚃";
  margin-right: 4px;
}

.icon-medical::before {
  content: "🏥";
  margin-right: 4px;
}

.icon-calendar::before {
  content: "📅";
  margin-right: 4px;
}

.icon-arrow-right::before {
  content: "→";
}

.icon-chevron-left::before {
  content: "‹";
}

.icon-chevron-right::before {
  content: "›";
}

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

.hospital-item,
.area-item,
.station-item {
  animation: fadeIn 0.4s ease-out;
}

/* =============================================
   アクセシビリティ
   ============================================= */
.screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* フォーカススタイル */
a:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* =============================================
   ユーティリティクラス
   ============================================= */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.px-1 { padding-left: 8px; padding-right: 8px; }
.px-2 { padding-left: 16px; padding-right: 16px; }
.px-3 { padding-left: 24px; padding-right: 24px; }

.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }

/* =====================================
   エリアページ全体のスタイル
===================================== */
.area-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    background: #fff;
}

/* =====================================
   ページヘッダー（画像通りのシンプルスタイル）
===================================== */
.page-header.area-header {
    background: #F9FAFB;
    color: #1F2937;
    padding: 40px 35px;
    border-radius: 0;
    margin-bottom: 30px;
    box-shadow: none;
    border: 1px solid #E5E7EB;
}

.page-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 25px 0;
    line-height: 1.6;
    color: #1F2937;
}

.page-meta {
    display: none; /* 画像には表示されていないので非表示 */
}

.meta-item {
    display: none;
}

.lead-text {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-top: 0;
    line-height: 1.9;
}

.lead-text p {
    margin: 0 0 15px 0;
    color: #4B5563;
    font-size: 15px;
}

.lead-text p:last-child {
    margin-bottom: 0;
}

.pr-notice {
    margin-top: 20px;
    font-size: 11px;
    color: #9CA3AF;
}

/* =====================================
   目次（TOC）- シンプルスタイル
===================================== */
.table-of-contents {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 25px 28px;
    margin-bottom: 30px;
}

.toc-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 18px;
    color: #1F2937;
}

.toc-list {
    list-style: none;
    counter-reset: toc-counter;
    margin: 0;
    padding: 0;
}

.toc-list > li {
    counter-increment: toc-counter;
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

.toc-list > li::before {
    content: counter(toc-counter) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: #6B7280;
    font-size: 14px;
}

.toc-list a {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
    line-height: 1.6;
}

.toc-list a:hover {
    color: #22D3EE;
}

/* =====================================
   黄色ハイライト（画像2のスタイル）
===================================== */
.highlight-yellow {
    background: linear-gradient(transparent 60%, #FEF08A 60%);
    font-weight: 500;
}

strong {
    font-weight: 600;
}

/* =====================================
   コンテンツセクション共通
===================================== */
.content-section {
    margin-bottom: 50px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.content-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 25px 0;
    padding-bottom: 0;
    border-bottom: none;
    color: #1F2937;
}

.content-section h3 {
    font-size: 22px;
    font-weight: bold;
    margin: 35px 0 18px 0;
    color: #1F2937;
}

.content-section h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 25px 0 12px 0;
    color: #374151;
}

.section-intro {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 25px;
    color: #4B5563;
}

/* =====================================
   引用・ポイントボックス（画像通りの正確なスタイル）
===================================== */
.quote-box {
    background: #F0FDF4;
    border: 1px solid #86EFAC;
    padding: 18px 22px;
    margin: 20px 0;
    border-radius: 8px;
}


/* チェックリストボックス（画像通り） */
.checklist-box {
    background: #ECFEFF;
    border: 2px solid #22D3EE;
    border-radius: 12px;
    padding: 0;
    margin: 30px 0;
}

.checklist-title {
    background: #22D3EE;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px 10px 0 0;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 0;
}

.checklist-title::before {
    content: "📋";
    font-size: 18px;
}

.checklist-content {
    padding: 20px 25px;
}

.checklist-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.checklist-box li {
    position: relative;
    padding-left: 28px;
    color: #0E7490;
    font-size: 14px;
    line-height: 1.6;
}

.checklist-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22D3EE;
    font-weight: bold;
    font-size: 18px;
}

/* =====================================
   エリア概要
===================================== */
.overview-content {
    margin-top: 20px;
}

.area-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.feature-box {
    background: #F9FAFB;
    padding: 25px;
    border-radius: 12px;
    border: none;
}

.feature-box h3 {
    font-size: 18px;
    margin: 0 0 15px 0;
    color: #1F2937;
}

.feature-box ul {
    margin: 15px 0;
    padding-left: 20px;
}

.feature-box li {
    margin-bottom: 12px;
    color: #4B5563;
}

/* =====================================
   オンライン診療レコメンド
===================================== */
.online-recommend-section {
    background: linear-gradient(135deg, #F0F4FF 0%, #E8EFFF 100%);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.recommend-intro {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.online-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.benefit-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    color: #1F2937;
}

.benefit-text p {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

/* =====================================
   DMMクリニックカード
===================================== */
.clinic-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    position: relative;
    border: 2px solid #F3F4F6;
}

.clinic-card.featured-clinic {
    border: 2px solid #FCD34D;
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FCD34D 0%, #FDE68A 100%);
    color: #78350F;
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* =====================================
   正方形ロゴ画像対応CSS
===================================== */

/* クリニックロゴエリア */
.clinic-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F9FAFB;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.clinic-logo img {

    object-fit: contain;
    padding: 8px;
}

/* クリニックヘッダーのレイアウト調整 */
.clinic-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}

.clinic-name-area {
    flex: 1;
    min-width: 0;
}

.clinic-name {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 6px 0;
    color: #1F2937;
    line-height: 1.3;
}

.clinic-subtitle {
    font-size: 13px;
    color: #6B7280;
    margin: 0;
    line-height: 1.4;
}

/* タブレット */
@media (max-width: 768px) {

    .clinic-header {
        gap: 15px;
    }

    .clinic-name {
        font-size: 18px;
    }

    .clinic-subtitle {
        font-size: 12px;
    }
}

/* スマートフォン */
@media (max-width: 480px) {

    .clinic-logo img {
        padding: 6px;
    }

    .clinic-header {
        gap: 12px;
    }

    .clinic-name {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .clinic-subtitle {
        font-size: 11px;
        line-height: 1.3;
    }
}

/* 横並び（PC） */
@media (min-width: 769px) {

    .clinic-header {
        gap: 20px;
    }

    .clinic-name {
        font-size: 22px;
    }

    .clinic-subtitle {
        font-size: 14px;
    }
}

/* 縦並び（モバイル）オプション */
@media (max-width: 360px) {
    .clinic-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

.clinic-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F0FDF4;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #065F46;
}

.section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1F2937;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 15px;
}

.price-item {
    background: #F9FAFB;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    border: 2px solid #E5E7EB;
}

.price-item.best-value {
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
    color: white;
    border: none;
}

.best-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #EF4444;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.price-type {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #6B7FED;
}

.price-item.best-value .price-amount {
    color: #FDE68A;
}

.price-note {
    font-size: 13px;
    color: #6B7280;
}

.price-item.best-value .price-note {
    color: rgba(255,255,255,0.9);
}

.campaign-notice {
    background: #FEF3C7;
    border: 2px solid #FDE68A;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    color: #92400E;
}

.btn-dmm {
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
    font-size: 14px;
}

.aga-cta-btn,
.dmm-aga-cta {
    display: inline-block;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(107, 127, 237, 0.3);
}

.aga-cta-btn:hover,
.dmm-aga-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 127, 237, 0.4);
}

.more-info-toggle {
    text-align: center;
    margin: 25px 0;
}

.toggle-btn {
    background: white;
    border: 2px solid #E5E7EB;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #4B5563;
}

.toggle-btn:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    color: #1F2937;
}

.feature-desc {
    font-size: 14px;
    color: #6B7280;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.info-table th,
.info-table td {
    padding: 14px;
    border: 1px solid #E5E7EB;
    text-align: left;
}

.info-table th {
    background: #F9FAFB;
    font-weight: 600;
    width: 30%;
    color: #374151;
}

/* =====================================
   アコーディオン風セクション（画像通りのスタイル）
===================================== */
.accordion-section {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    background: white;
    transition: background 0.2s;
    border: none;
}

.accordion-header:hover {
    background: #F9FAFB;
}

.accordion-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1F2937;
}

.accordion-icon {
    font-size: 20px;
}

.accordion-badge {
    background: #22D3EE;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.accordion-arrow {
    color: #22D3EE;
    transition: transform 0.3s;
    font-size: 14px;
}

.accordion-content {
    padding: 0 22px 22px 22px;
    display: none;
}

.accordion-section.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-section.active .accordion-content {
    display: block;
}

.accordion-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6B7280;
    margin-top: 8px;
}

.accordion-note::before {
    content: "👆";
    font-size: 16px;
}

/* =====================================
   子エリア・駅一覧（アコーディオン内）
===================================== */
.area-list,
.station-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.area-item,
.station-item {
    background: #F9FAFB;
    border-radius: 6px;
    transition: all 0.2s;
    border: 1px solid #E5E7EB;
}

.area-item:hover,
.station-item:hover {
    background: #F3F4F6;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.area-item a,
.station-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
}

.area-name,
.station-name {
    font-weight: 500;
}

.area-count,
.station-count {
    background: #22D3EE;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* =====================================
   クリニック一覧
===================================== */
.hospital-list {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 40px;
}

.hospital-list h2 {
    font-size: 28px;
    margin-bottom: 25px;
}

.result-info {
    margin-bottom: 25px;
}

.result-count {
    font-size: 15px;
    color: #6B7280;
}

.result-count strong {
    color: #6B7FED;
    font-weight: 600;
}

.hospital-grid {
    display: grid;
    gap: 20px;
}

.hospital-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
    border: 1px solid #E5E7EB;
}

.hospital-item:hover {
    border-color: #6B7FED;
    box-shadow: 0 4px 12px rgba(107, 127, 237, 0.12);
    transform: translateY(-2px);
}

.hospital-header {
    margin-bottom: 20px;
}

.hospital-name {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.hospital-name a {
    color: #1F2937;
    text-decoration: none;
}

.hospital-name a:hover {
    color: #6B7FED;
}

.hospital-info {
    margin-bottom: 20px;
}

.info-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F3F4F6;
}

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

.info-row dt {
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-row dd {
    margin: 0;
    color: #6B7280;
}

.info-row.highlight {
    background: #F9FAFB;
    padding: 15px;
    border-radius: 8px;
    border-bottom: none;
    margin-bottom: 15px;
}

.afterpill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.afterpill-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    background: #E5E7EB;
    color: #374151;
}

.pill-finasteride {
    background: #DBEAFE;
    color: #1E40AF;
}

.pill-minoxidil {
    background: #D1FAE5;
    color: #065F46;
}

.pill-dutasteride {
    background: #FEE2E2;
    color: #991B1B;
}

.afterpill-price {
    font-size: 18px;
    font-weight: bold;
    color: #6B7FED;
}

.clinic-description {
    grid-template-columns: 1fr;
    background: #F9FAFB;
    padding: 15px;
    border-radius: 8px;
}

.clinic-description dt {
    margin-bottom: 8px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    background: #E5E7EB;
    color: #374151;
}

.feature-female-doctor {
    background: #FCE7F3;
    color: #BE185D;
}

.feature-online {
    background: #DBEAFE;
    color: #1E40AF;
}

.feature-holiday {
    background: #FED7AA;
    color: #9A3412;
}

.feature-card {
    background: #D1FAE5;
    color: #065F46;
}

.feature-station {
    background: #E9D5FF;
    color: #6B21A8;
}

.station-link {
    color: #6B7FED;
    text-decoration: none;
    font-weight: 500;
}

.station-link:hover {
    text-decoration: underline;
}

.station-separator {
    margin: 0 8px;
    color: #D1D5DB;
}

.hospital-footer {
    text-align: center;
    margin-top: 20px;
}

.btn-detail {
    display: inline-block;
    background: #6B7FED;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-detail:hover {
    background: #5A6FDC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 127, 237, 0.3);
}

/* =====================================
   クリニックの選び方
===================================== */
.how-to-choose .intro-text {
    margin-bottom: 30px;
}



.choice-point {
    display: flex;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.point-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.point-content {
    flex: 1;
}

.point-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #1F2937;
}

.check-points {
    background: #F9FAFB;
    padding: 18px;
    border-radius: 8px;
    margin-top: 15px;
}

.check-points strong {
    display: block;
    margin-bottom: 10px;
    color: #6B7FED;
}

.check-points ul {
    margin: 0;
    padding-left: 20px;
}

.check-points li {
    margin-bottom: 8px;
}

.summary-box {
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.summary-box h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: white;
}

/* =====================================
   治療の流れ
===================================== */
.treatment-flow .flow-steps {
    display: grid;
    gap: 25px;
    margin-top: 30px;
}

.flow-step {
    display: flex;
    gap: 20px;
    position: relative;
    padding-left: 10px;
}

.flow-step::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 70px;
    bottom: -25px;
    width: 2px;
    background: linear-gradient(to bottom, #6B7FED 0%, transparent 100%);
}

.flow-step:last-child::before {
    display: none;
}

.step-number {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(107, 127, 237, 0.3);
}

.step-content {
    flex: 1;
    background: #F9FAFB;
    padding: 25px;
    border-radius: 12px;
}

.step-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #1F2937;
}

.step-detail {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.step-detail strong {
    display: block;
    margin-bottom: 10px;
    color: #6B7FED;
}

.step-detail ul {
    margin: 0;
    padding-left: 20px;
}

.flow-note {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.flow-note h3 {
    margin: 0 0 15px 0;
    color: #92400E;
}

/* =====================================
   治療の種類
===================================== */
.treatment-list {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.treatment-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.treatment-header {
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.treatment-name {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.treatment-badge {
    background: rgba(255,255,255,0.25);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
}

.treatment-detail {
    padding: 25px;
}

.treatment-overview {
    margin-bottom: 25px;
}

.treatment-overview h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #6B7FED;
}

.treatment-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.detail-box {
    background: #F9FAFB;
    padding: 18px;
    border-radius: 8px;
    border-left: 3px solid #6B7FED;
}

.detail-box h5 {
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #1F2937;
}

.detail-box ul {
    margin: 0;
    padding-left: 20px;
}

.detail-box li {
    margin-bottom: 8px;
}

.treatment-recommendation {
    background: #DBEAFE;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.treatment-recommendation strong {
    display: block;
    margin-bottom: 8px;
    color: #1E40AF;
}

.treatment-comparison {
    margin-top: 40px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    border: 1px solid #E5E7EB;
    text-align: left;
}

.comparison-table thead {
    background: #1F2937;
    color: white;
}

.comparison-table tbody tr:nth-child(even) {
    background: #F9FAFB;
}

.comparison-table tbody tr:hover {
    background: #F3F4F6;
}

/* =====================================
   費用相場
===================================== */
.cost-guide .cost-overview {
    margin-bottom: 30px;
}

.cost-table-wrapper {
    overflow-x: auto;
    margin: 25px 0;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.cost-table th,
.cost-table td {
    padding: 15px;
    border: 1px solid #E5E7EB;
    text-align: left;
}

.cost-table thead {
    background: #1F2937;
    color: white;
}

.cost-table tbody tr:nth-child(even) {
    background: #F9FAFB;
}

.cost-table tbody tr:hover {
    background: #F3F4F6;
}

.cost-examples {
    margin-top: 40px;
}

.cost-patterns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.pattern-box {
    background: white;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    border: 1px solid #E5E7EB;
}

.pattern-box.popular {
    border: 2px solid #FCD34D;
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FCD34D;
    color: #78350F;
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 13px;
}

.pattern-box h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    text-align: center;
    color: #1F2937;
}

.pattern-desc {
    text-align: center;
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 20px;
}

.pattern-items {
    background: #F9FAFB;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.pattern-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #E5E7EB;
}

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

.item-name {
    color: #374151;
}

.item-price {
    font-weight: 600;
    color: #6B7FED;
}

.pattern-total {
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.6;
}

.cost-tips {
    margin-top: 40px;
}



.tip-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.tip-number {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: #6B7FED;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.tip-content h4 {
    font-size: 17px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #1F2937;
}

.tip-example {
    background: #DBEAFE;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 14px;
    color: #1E40AF;
}

.cost-note {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.cost-note h3 {
    margin: 0 0 15px 0;
    color: #92400E;
}

.cost-note ul {
    margin: 0;
    padding-left: 20px;
}

.cost-note li {
    margin-bottom: 10px;
}

/* =====================================
   年齢別アドバイス
===================================== */
.age-guide .age-groups {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.age-group {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #E5E7EB;
    border-left: 5px solid #6B7FED;
}

.age-group h3 {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #6B7FED;
}

.age-content {
    display: grid;
    gap: 20px;
}

.age-overview,
.age-recommendations,
.age-tips {
    background: #F9FAFB;
    padding: 20px;
    border-radius: 8px;
}

.age-overview h4,
.age-recommendations h4,
.age-tips h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 12px 0;
    color: #1F2937;
}

.age-recommendations ul,
.age-tips ul {
    margin: 0;
    padding-left: 20px;
}

.age-recommendations li,
.age-tips li {
    margin-bottom: 10px;
}

/* =====================================
   副作用と注意点
===================================== */
.side-effects .medicine-side-effects {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.medicine-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.medicine-item h3 {
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
    color: white;
    padding: 20px 25px;
    margin: 0;
    font-size: 20px;
}

.medicine-content {
    padding: 25px;
}

.side-effect-list,
.precautions {
    background: #F9FAFB;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.side-effect-list:last-child,
.precautions:last-child {
    margin-bottom: 0;
}

.side-effect-list h4,
.precautions h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #6B7FED;
}

.side-effect-list ul,
.precautions ul {
    margin: 0;
    padding-left: 20px;
}

.side-effect-list li,
.precautions li {
    margin-bottom: 10px;
}

.side-effect-management {
    margin-top: 40px;
}

.management-steps {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

.management-step {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    border-left: 4px solid #6B7FED;
}

.management-step h4 {
    font-size: 17px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #1F2937;
}

.safety-tips {
    background: #D1FAE5;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.safety-tips h3 {
    margin: 0 0 15px 0;
    color: #065F46;
}

.safety-tips ul {
    margin: 0;
    padding-left: 20px;
}

.safety-tips li {
    margin-bottom: 10px;
}

/* =====================================
   オンライン vs 通院比較
===================================== */
.online-vs-clinic .comparison-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.comparison-box {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.comparison-box h3 {
    padding: 20px 25px;
    margin: 0;
    font-size: 20px;
    color: white;
}

.comparison-box.online h3 {
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
}

.comparison-box.clinic h3 {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
}

.box-content {
    padding: 25px;
}

.box-content h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 12px 0;
    color: #1F2937;
}

.merit-list,
.demerit-list {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.merit-list li {
    margin-bottom: 8px;
    color: #065F46;
}

.merit-list li::marker {
    content: "✓ ";
    color: #10B981;
    font-weight: bold;
}

.demerit-list li {
    margin-bottom: 8px;
    color: #991B1B;
}

.demerit-list li::marker {
    content: "✗ ";
    color: #EF4444;
    font-weight: bold;
}

.recommendation-patterns {
    margin-top: 40px;
}

.pattern-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.pattern-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    border-top: 4px solid #6B7FED;
}

.pattern-card.hybrid {
    border-top-color: #FCD34D;
    background: linear-gradient(135deg, #FFFBEB 0%, #FFF 100%);
}

.pattern-card h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #1F2937;
}

.pattern-card ul {
    margin: 15px 0 0 0;
    padding-left: 20px;
}

.pattern-card li {
    margin-bottom: 10px;
}

.decision-flowchart {
    margin-top: 40px;
}

.flowchart {
    background: #F9FAFB;
    padding: 30px;
    border-radius: 12px;
    margin-top: 25px;
}

.flow-question {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #E5E7EB;
}

.flow-question:last-child {
    margin-bottom: 0;
}

.flow-question p {
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #1F2937;
}

.flow-answer {
    display: flex;
    gap: 15px;
}

.answer-yes,
.answer-no {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

.answer-yes {
    background: #D1FAE5;
    color: #065F46;
}

.answer-no {
    background: #FCE7F3;
    color: #9F1239;
}

.access-method {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.access-method.highlight {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    border: 2px solid #38BDF8;
}

.access-method h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #1F2937;
}

.station-access-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.station-access-list li {
    margin-bottom: 10px;
}

.station-access-list a {
    color: #6B7FED;
    text-decoration: none;
    font-weight: 500;
}

.station-access-list a:hover {
    text-decoration: underline;
}

.access-note {
    background: #F9FAFB;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
    color: #6B7280;
}

.parking-note {
    background: #F9FAFB;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.parking-note strong {
    display: block;
    margin-bottom: 10px;
    color: #6B7FED;
}

.parking-note ul {
    margin: 0;
    padding-left: 20px;
}

.online-benefits-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.online-benefits-list li {
    background: white;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.online-benefits-list li::before {
    content: "✓";
    color: #10B981;
    font-weight: bold;
    margin-right: 8px;
}

/* =====================================
   関連エリア
===================================== */
.related-areas {
    background: #F9FAFB;
    padding: 35px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.related-areas h2 {
    font-size: 22px;
    margin: 0 0 20px 0;
    color: #1F2937;
}

.related-area-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-area-list li {
    background: white;
    border-radius: 8px;
    transition: all 0.2s;
    border: 1px solid #E5E7EB;
}

.related-area-list li:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.related-area-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #374151;
}

.related-area-list .count {
    background: #6B7FED;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

/* =====================================
   ページネーション
===================================== */
.pagination-wrapper {
    margin-top: 40px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: block;
    padding: 10px 15px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s;
    font-weight: 500;
}

.pagination a:hover {
    background: #6B7FED;
    color: white;
    border-color: #6B7FED;
}

.pagination .current {
    background: #6B7FED;
    color: white;
    border-color: #6B7FED;
}

/* =====================================
   レスポンシブ対応
===================================== */
@media (max-width: 768px) {
    .area-page {
        padding: 15px;
    }

    .page-header.area-header {
        padding: 30px 20px;
    }

    .page-title {
        font-size: 24px;
    }

    .page-meta {
        flex-direction: column;
        gap: 8px;
    }

    .table-of-contents {
        padding: 20px;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .content-section h3 {
        font-size: 20px;
    }

    .online-recommend-section {
        padding: 25px 20px;
    }

    .clinic-header {
        flex-direction: column;
        text-align: center;
    }

    .clinic-highlights {
        grid-template-columns: 1fr;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .area-features {
        grid-template-columns: 1fr;
    }

    .area-list,
    .station-list {
        grid-template-columns: 1fr;
    }

    .info-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .choice-point {
        flex-direction: column;
    }

    .flow-step {
        flex-direction: column;
        padding-left: 0;
    }

    .flow-step::before {
        display: none;
    }

    .treatment-details-grid {
        grid-template-columns: 1fr;
    }

    .cost-patterns {
        grid-template-columns: 1fr;
    }

    .comparison-overview {
        grid-template-columns: 1fr;
    }

    .pattern-list {
        grid-template-columns: 1fr;
    }

    .flow-answer {
        flex-direction: column;
    }

    .online-benefits-list ul {
        grid-template-columns: 1fr;
    }

    .related-area-list {
        grid-template-columns: 1fr;
    }

    .accordion-header h3 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .clinic-name {
        font-size: 20px;
    }

    .aga-cta-btn,
    .dmm-aga-cta {
        padding: 14px 28px;
        font-size: 14px;
    }

    .toc-list > li {
        padding-left: 30px;
    }
}

/* =====================================
   印刷用スタイル
===================================== */
@media print {
    .online-recommend-section,
    .btn-dmm,
    .aga-cta-btn,
    .dmm-aga-cta,
    .more-info-toggle,
    .pagination-wrapper {
        display: none;
    }

    .page-header.area-header {
        background: #6B7FED;
        color: black;
    }
}
/* =====================================
   エリアページ全体のスタイル
===================================== */
.area-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    background: #fff;
}

/* =====================================
   ページヘッダー（画像通りのシンプルスタイル）
===================================== */
.page-header.area-header {
    background: #F9FAFB;
    color: #1F2937;
    padding: 40px 35px;
    border-radius: 0;
    margin-bottom: 30px;
    box-shadow: none;
    border: 1px solid #E5E7EB;
}

.page-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 25px 0;
    line-height: 1.6;
    color: #1F2937;
}

.page-meta {
    display: none; /* 画像には表示されていないので非表示 */
}

.meta-item {
    display: none;
}

.lead-text {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-top: 0;
    line-height: 1.9;
}

.lead-text p {
    margin: 0 0 15px 0;
    color: #4B5563;
    font-size: 15px;
}

.lead-text p:last-child {
    margin-bottom: 0;
}

.pr-notice {
    margin-top: 20px;
    font-size: 11px;
    color: #9CA3AF;
}

/* =====================================
   目次（TOC）- シンプルスタイル
===================================== */
.table-of-contents {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 25px 28px;
    margin-bottom: 30px;
}

.toc-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 18px;
    color: #1F2937;
}

.toc-list {
    list-style: none;
    counter-reset: toc-counter;
    margin: 0;
    padding: 0;
}

.toc-list > li {
    counter-increment: toc-counter;
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

.toc-list > li::before {
    content: counter(toc-counter) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: #6B7280;
    font-size: 14px;
}

.toc-list a {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
    line-height: 1.6;
}

.toc-list a:hover {
    color: #22D3EE;
}

/* =====================================
   黄色ハイライト（画像2のスタイル）
===================================== */
.highlight-yellow {
    background: linear-gradient(transparent 60%, #FEF08A 60%);
    font-weight: 500;
}

strong {
    font-weight: 600;
}

/* =====================================
   コンテンツセクション共通
===================================== */
.content-section {
    margin-bottom: 50px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.content-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 25px 0;
    padding-bottom: 0;
    border-bottom: none;
    color: #1F2937;
}

.content-section h3 {
    font-size: 22px;
    font-weight: bold;
    margin: 35px 0 18px 0;
    color: #1F2937;
}

.content-section h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 25px 0 12px 0;
    color: #374151;
}

.section-intro {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 25px;
    color: #4B5563;
}

/* =====================================
   引用・ポイントボックス（画像通りの正確なスタイル）
===================================== */
.quote-box {
    background: #F0FDF4;
    border: 1px solid #86EFAC;
    padding: 18px 22px;
    margin: 20px 0;
    border-radius: 8px;
}

.quote-box p {
    margin: 8px 0;
    color: #166534;
    font-size: 15px;
    line-height: 1.7;
}

.quote-box p::before {
    content: "「";
    font-weight: normal;
}

.quote-box p::after {
    content: "」";
    font-weight: normal;
}

/* チェックリストボックス（画像通り） */
.checklist-box {
    background: #ECFEFF;
    border: 2px solid #22D3EE;
    border-radius: 12px;
    padding: 0;
    margin: 30px 0;
}

.checklist-title {
    background: #22D3EE;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px 10px 0 0;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 0;
}

.checklist-title::before {
    content: "📋";
    font-size: 18px;
}

.checklist-content {
    padding: 20px 25px;
}

.checklist-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.checklist-box li {
    position: relative;
    padding-left: 28px;
    color: #0E7490;
    font-size: 14px;
    line-height: 1.6;
}

.checklist-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22D3EE;
    font-weight: bold;
    font-size: 18px;
}

/* =====================================
   エリア概要
===================================== */
.overview-content {
    margin-top: 20px;
}

.area-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.feature-box {
    background: #F9FAFB;
    padding: 25px;
    border-radius: 12px;
    border: none;
}

.feature-box h3 {
    font-size: 18px;
    margin: 0 0 15px 0;
    color: #1F2937;
}

.feature-box ul {
    margin: 15px 0;
    padding-left: 20px;
}

.feature-box li {
    margin-bottom: 12px;
    color: #4B5563;
}

/* =====================================
   オンライン診療レコメンド
===================================== */
.online-recommend-section {
    background: linear-gradient(135deg, #F0F4FF 0%, #E8EFFF 100%);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.recommend-intro {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.online-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.benefit-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    color: #1F2937;
}

.benefit-text p {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

/* =====================================
   DMMクリニックカード
===================================== */
.clinic-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    position: relative;
    border: 2px solid #F3F4F6;
}

.clinic-card.featured-clinic {
    border: 2px solid #FCD34D;
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FCD34D 0%, #FDE68A 100%);
    color: #78350F;
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.clinic-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.clinic-logo {
    flex-shrink: 0;
}


.clinic-name-area {
    flex: 1;
}

.clinic-name {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #1F2937;
}

.clinic-subtitle {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

.clinic-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F0FDF4;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #065F46;
}

.section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1F2937;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 15px;
}

.price-item {
    background: #F9FAFB;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    border: 2px solid #E5E7EB;
}

.price-item.best-value {
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
    color: white;
    border: none;
}

.best-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #EF4444;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.price-type {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #6B7FED;
}

.price-item.best-value .price-amount {
    color: #FDE68A;
}

.price-note {
    font-size: 13px;
    color: #6B7280;
}

.price-item.best-value .price-note {
    color: rgba(255,255,255,0.9);
}

.campaign-notice {
    background: #FEF3C7;
    border: 2px solid #FDE68A;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    color: #92400E;
}

.btn-dmm {
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
    font-size: 14px;
}

.aga-cta-btn,
.dmm-aga-cta {
    display: inline-block;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(107, 127, 237, 0.3);
}

.aga-cta-btn:hover,
.dmm-aga-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 127, 237, 0.4);
}

.more-info-toggle {
    text-align: center;
    margin: 25px 0;
}

.toggle-btn {
    background: white;
    border: 2px solid #E5E7EB;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #4B5563;
}

.toggle-btn:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    color: #1F2937;
}

.feature-desc {
    font-size: 14px;
    color: #6B7280;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.info-table th,
.info-table td {
    padding: 14px;
    border: 1px solid #E5E7EB;
    text-align: left;
}

.info-table th {
    background: #F9FAFB;
    font-weight: 600;
    width: 30%;
    color: #374151;
}

/* =====================================
   アコーディオン風セクション（画像通りのスタイル）
===================================== */
.accordion-section {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    background: white;
    transition: background 0.2s;
    border: none;
}

.accordion-header:hover {
    background: #F9FAFB;
}

.accordion-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1F2937;
}

.accordion-icon {
    font-size: 20px;
}

.accordion-badge {
    background: #22D3EE;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.accordion-arrow {
    color: #22D3EE;
    transition: transform 0.3s;
    font-size: 14px;
}

.accordion-content {
    padding: 0 22px 22px 22px;
    display: none;
}

.accordion-section.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-section.active .accordion-content {
    display: block;
}

.accordion-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6B7280;
    margin-top: 8px;
}

.accordion-note::before {
    content: "👆";
    font-size: 16px;
}

/* =====================================
   子エリア・駅一覧（アコーディオン内）
===================================== */
.area-list,
.station-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.area-item,
.station-item {
    background: #F9FAFB;
    border-radius: 6px;
    transition: all 0.2s;
    border: 1px solid #E5E7EB;
}

.area-item:hover,
.station-item:hover {
    background: #F3F4F6;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.area-item a,
.station-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
}

.area-name,
.station-name {
    font-weight: 500;
}

.area-count,
.station-count {
    background: #22D3EE;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* =====================================
   クリニック一覧
===================================== */
.hospital-list {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 40px;
}

.hospital-list h2 {
    font-size: 28px;
    margin-bottom: 25px;
}

.result-info {
    margin-bottom: 25px;
}

.result-count {
    font-size: 15px;
    color: #6B7280;
}

.result-count strong {
    color: #6B7FED;
    font-weight: 600;
}

.hospital-grid {
    display: grid;
    gap: 20px;
}

.hospital-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
    border: 1px solid #E5E7EB;
}

.hospital-item:hover {
    border-color: #6B7FED;
    box-shadow: 0 4px 12px rgba(107, 127, 237, 0.12);
    transform: translateY(-2px);
}

.hospital-header {
    margin-bottom: 20px;
}

.hospital-name {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.hospital-name a {
    color: #1F2937;
    text-decoration: none;
}

.hospital-name a:hover {
    color: #6B7FED;
}

.hospital-info {
    margin-bottom: 20px;
}

.info-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F3F4F6;
}

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

.info-row dt {
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-row dd {
    margin: 0;
    color: #6B7280;
}

.info-row.highlight {
    background: #F9FAFB;
    padding: 15px;
    border-radius: 8px;
    border-bottom: none;
    margin-bottom: 15px;
}

.afterpill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.afterpill-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    background: #E5E7EB;
    color: #374151;
}

.pill-finasteride {
    background: #DBEAFE;
    color: #1E40AF;
}

.pill-minoxidil {
    background: #D1FAE5;
    color: #065F46;
}

.pill-dutasteride {
    background: #FEE2E2;
    color: #991B1B;
}

.afterpill-price {
    font-size: 18px;
    font-weight: bold;
    color: #6B7FED;
}

.clinic-description {
    grid-template-columns: 1fr;
    background: #F9FAFB;
    padding: 15px;
    border-radius: 8px;
}

.clinic-description dt {
    margin-bottom: 8px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    background: #E5E7EB;
    color: #374151;
}

.feature-female-doctor {
    background: #FCE7F3;
    color: #BE185D;
}

.feature-online {
    background: #DBEAFE;
    color: #1E40AF;
}

.feature-holiday {
    background: #FED7AA;
    color: #9A3412;
}

.feature-card {
    background: #D1FAE5;
    color: #065F46;
}

.feature-station {
    background: #E9D5FF;
    color: #6B21A8;
}

.station-link {
    color: #6B7FED;
    text-decoration: none;
    font-weight: 500;
}

.station-link:hover {
    text-decoration: underline;
}

.station-separator {
    margin: 0 8px;
    color: #D1D5DB;
}

.hospital-footer {
    text-align: center;
    margin-top: 20px;
}

.btn-detail {
    display: inline-block;
    background: #6B7FED;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-detail:hover {
    background: #5A6FDC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 127, 237, 0.3);
}

/* =====================================
   クリニックの選び方
===================================== */
.how-to-choose .intro-text {
    margin-bottom: 30px;
}



.point-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.point-content {
    flex: 1;
}

.point-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #1F2937;
}

.check-points {
    background: #F9FAFB;
    padding: 18px;
    border-radius: 8px;
    margin-top: 15px;
}

.check-points strong {
    display: block;
    margin-bottom: 10px;
    color: #6B7FED;
}

.check-points ul {
    margin: 0;
    padding-left: 20px;
}

.check-points li {
    margin-bottom: 8px;
}

.summary-box {
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.summary-box h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: white;
}

/* =====================================
   治療の流れ
===================================== */
.treatment-flow .flow-steps {
    display: grid;
    gap: 25px;
    margin-top: 30px;
}

.flow-step {
    display: flex;
    gap: 20px;
    position: relative;
    padding-left: 10px;
}

.flow-step::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 70px;
    bottom: -25px;
    width: 2px;
    background: linear-gradient(to bottom, #6B7FED 0%, transparent 100%);
}

.flow-step:last-child::before {
    display: none;
}

.step-number {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(107, 127, 237, 0.3);
}

.step-content {
    flex: 1;
    background: #F9FAFB;
    padding: 25px;
    border-radius: 12px;
}

.step-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #1F2937;
}

.step-detail {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.step-detail strong {
    display: block;
    margin-bottom: 10px;
    color: #6B7FED;
}

.step-detail ul {
    margin: 0;
    padding-left: 20px;
}

.flow-note {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.flow-note h3 {
    margin: 0 0 15px 0;
    color: #92400E;
}

/* =====================================
   治療の種類
===================================== */
.treatment-list {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.treatment-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.treatment-header {
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.treatment-name {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.treatment-badge {
    background: rgba(255,255,255,0.25);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
}

.treatment-detail {
    padding: 25px;
}

.treatment-overview {
    margin-bottom: 25px;
}

.treatment-overview h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #6B7FED;
}

.treatment-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.detail-box {
    background: #F9FAFB;
    padding: 18px;
    border-radius: 8px;
    border-left: 3px solid #6B7FED;
}

.detail-box h5 {
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #1F2937;
}

.detail-box ul {
    margin: 0;
    padding-left: 20px;
}

.detail-box li {
    margin-bottom: 8px;
}

.treatment-recommendation {
    background: #DBEAFE;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.treatment-recommendation strong {
    display: block;
    margin-bottom: 8px;
    color: #1E40AF;
}

.treatment-comparison {
    margin-top: 40px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    border: 1px solid #E5E7EB;
    text-align: left;
}

.comparison-table thead {
    background: #1F2937;
    color: white;
}

.comparison-table tbody tr:nth-child(even) {
    background: #F9FAFB;
}

.comparison-table tbody tr:hover {
    background: #F3F4F6;
}

/* =====================================
   費用相場
===================================== */
.cost-guide .cost-overview {
    margin-bottom: 30px;
}

.cost-table-wrapper {
    overflow-x: auto;
    margin: 25px 0;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.cost-table th,
.cost-table td {
    padding: 15px;
    border: 1px solid #E5E7EB;
    text-align: left;
}

.cost-table thead {
    background: #1F2937;
    color: white;
}

.cost-table tbody tr:nth-child(even) {
    background: #F9FAFB;
}

.cost-table tbody tr:hover {
    background: #F3F4F6;
}

.cost-examples {
    margin-top: 40px;
}

.cost-patterns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.pattern-box {
    background: white;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    border: 1px solid #E5E7EB;
}

.pattern-box.popular {
    border: 2px solid #FCD34D;
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FCD34D;
    color: #78350F;
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 13px;
}

.pattern-box h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    text-align: center;
    color: #1F2937;
}

.pattern-desc {
    text-align: center;
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 20px;
}

.pattern-items {
    background: #F9FAFB;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.pattern-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #E5E7EB;
}

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

.item-name {
    color: #374151;
}

.item-price {
    font-weight: 600;
    color: #6B7FED;
}

.pattern-total {
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.6;
}

.cost-tips {
    margin-top: 40px;
}


.tip-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.tip-number {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: #6B7FED;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.tip-content h4 {
    font-size: 17px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #1F2937;
}

.tip-example {
    background: #DBEAFE;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 14px;
    color: #1E40AF;
}

.cost-note {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.cost-note h3 {
    margin: 0 0 15px 0;
    color: #92400E;
}

.cost-note ul {
    margin: 0;
    padding-left: 20px;
}

.cost-note li {
    margin-bottom: 10px;
}

/* =====================================
   年齢別アドバイス
===================================== */
.age-guide .age-groups {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.age-group {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #E5E7EB;
    border-left: 5px solid #6B7FED;
}

.age-group h3 {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #6B7FED;
}

.age-content {
    display: grid;
    gap: 20px;
}

.age-overview,
.age-recommendations,
.age-tips {
    background: #F9FAFB;
    padding: 20px;
    border-radius: 8px;
}

.age-overview h4,
.age-recommendations h4,
.age-tips h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 12px 0;
    color: #1F2937;
}

.age-recommendations ul,
.age-tips ul {
    margin: 0;
    padding-left: 20px;
}

.age-recommendations li,
.age-tips li {
    margin-bottom: 10px;
}

/* =====================================
   副作用と注意点
===================================== */
.side-effects .medicine-side-effects {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.medicine-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.medicine-item h3 {
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
    color: white;
    padding: 20px 25px;
    margin: 0;
    font-size: 20px;
}

.medicine-content {
    padding: 25px;
}

.side-effect-list,
.precautions {
    background: #F9FAFB;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.side-effect-list:last-child,
.precautions:last-child {
    margin-bottom: 0;
}

.side-effect-list h4,
.precautions h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #6B7FED;
}

.side-effect-list ul,
.precautions ul {
    margin: 0;
    padding-left: 20px;
}

.side-effect-list li,
.precautions li {
    margin-bottom: 10px;
}

.side-effect-management {
    margin-top: 40px;
}

.management-steps {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

.management-step {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    border-left: 4px solid #6B7FED;
}

.management-step h4 {
    font-size: 17px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #1F2937;
}

.safety-tips {
    background: #D1FAE5;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.safety-tips h3 {
    margin: 0 0 15px 0;
    color: #065F46;
}

.safety-tips ul {
    margin: 0;
    padding-left: 20px;
}

.safety-tips li {
    margin-bottom: 10px;
}

/* =====================================
   オンライン vs 通院比較
===================================== */
.online-vs-clinic .comparison-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.comparison-box {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.comparison-box h3 {
    padding: 20px 25px;
    margin: 0;
    font-size: 20px;
    color: white;
}

.comparison-box.online h3 {
    background: linear-gradient(135deg, #6B7FED 0%, #9D7CB8 100%);
}

.comparison-box.clinic h3 {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
}

.box-content {
    padding: 25px;
}

.box-content h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 12px 0;
    color: #1F2937;
}

.merit-list,
.demerit-list {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.merit-list li {
    margin-bottom: 8px;
    color: #065F46;
}

.merit-list li::marker {
    content: "✓ ";
    color: #10B981;
    font-weight: bold;
}

.demerit-list li {
    margin-bottom: 8px;
    color: #991B1B;
}

.demerit-list li::marker {
    content: "✗ ";
    color: #EF4444;
    font-weight: bold;
}

.recommendation-patterns {
    margin-top: 40px;
}

.pattern-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.pattern-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    border-top: 4px solid #6B7FED;
}

.pattern-card.hybrid {
    border-top-color: #FCD34D;
    background: linear-gradient(135deg, #FFFBEB 0%, #FFF 100%);
}

.pattern-card h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #1F2937;
}

.pattern-card ul {
    margin: 15px 0 0 0;
    padding-left: 20px;
}

.pattern-card li {
    margin-bottom: 10px;
}

.decision-flowchart {
    margin-top: 40px;
}

.flowchart {
    background: #F9FAFB;
    padding: 30px;
    border-radius: 12px;
    margin-top: 25px;
}

.flow-question {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #E5E7EB;
}

.flow-question:last-child {
    margin-bottom: 0;
}

.flow-question p {
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #1F2937;
}

.flow-answer {
    display: flex;
    gap: 15px;
}

.answer-yes,
.answer-no {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

.answer-yes {
    background: #D1FAE5;
    color: #065F46;
}

.answer-no {
    background: #FCE7F3;
    color: #9F1239;
}


.access-method {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.access-method.highlight {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    border: 2px solid #38BDF8;
}

.access-method h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #1F2937;
}

.station-access-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.station-access-list li {
    margin-bottom: 10px;
}

.station-access-list a {
    color: #6B7FED;
    text-decoration: none;
    font-weight: 500;
}

.station-access-list a:hover {
    text-decoration: underline;
}

.access-note {
    background: #F9FAFB;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
    color: #6B7280;
}

.parking-note {
    background: #F9FAFB;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.parking-note strong {
    display: block;
    margin-bottom: 10px;
    color: #6B7FED;
}

.parking-note ul {
    margin: 0;
    padding-left: 20px;
}

.online-benefits-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.online-benefits-list li {
    background: white;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.online-benefits-list li::before {
    content: "✓";
    color: #10B981;
    font-weight: bold;
    margin-right: 8px;
}

/* =====================================
   関連エリア
===================================== */
.related-areas {
    background: #F9FAFB;
    padding: 35px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.related-areas h2 {
    font-size: 22px;
    margin: 0 0 20px 0;
    color: #1F2937;
}

.related-area-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-area-list li {
    background: white;
    border-radius: 8px;
    transition: all 0.2s;
    border: 1px solid #E5E7EB;
}

.related-area-list li:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.related-area-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #374151;
}

.related-area-list .count {
    background: #6B7FED;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

/* =====================================
   ページネーション
===================================== */
.pagination-wrapper {
    margin-top: 40px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: block;
    padding: 10px 15px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s;
    font-weight: 500;
}

.pagination a:hover {
    background: #6B7FED;
    color: white;
    border-color: #6B7FED;
}

.pagination .current {
    background: #6B7FED;
    color: white;
    border-color: #6B7FED;
}

/* =====================================
   レスポンシブ対応（大幅改善）
===================================== */

/* タブレット（768px以下） */
@media (max-width: 768px) {
    .area-page {
        padding: 12px;
    }

    .page-header.area-header {
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .page-title {
        font-size: 22px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .quote-box {
        padding: 15px 18px;
        margin: 18px 0;
    }

    .quote-box p {
        font-size: 14px;
        margin: 6px 0;
    }

    .checklist-box {
        margin: 25px 0;
    }

    .checklist-title {
        font-size: 14px;
        padding: 10px 16px;
    }

    .checklist-content {
        padding: 18px 20px;
    }

    .checklist-box ul {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .checklist-box li {
        font-size: 13px;
    }

    .table-of-contents {
        padding: 20px;
        margin-bottom: 20px;
    }

    .toc-header {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .toc-list > li {
        padding-left: 25px;
        margin-bottom: 10px;
    }

    .toc-list a {
        font-size: 13px;
    }

    .accordion-section {
        margin-bottom: 10px;
    }

    .accordion-header {
        padding: 15px 18px;
    }

    .accordion-header h3 {
        font-size: 14px;
        gap: 8px;
    }

    .accordion-icon {
        font-size: 18px;
    }

    .accordion-badge {
        font-size: 11px;
        padding: 2px 8px;
    }

    .accordion-content {
        padding: 0 18px 18px 18px;
    }

    .accordion-note {
        font-size: 12px;
        margin-top: 6px;
    }

    .area-list,
    .station-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 8px;
        margin-top: 12px;
    }

    .area-item a,
    .station-item a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .area-count,
    .station-count {
        font-size: 10px;
        padding: 2px 6px;
    }

    .content-section {
        margin-bottom: 40px;
        padding: 0;
    }

    .content-section h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .content-section h3 {
        font-size: 18px;
        margin: 25px 0 15px 0;
    }

    .section-intro {
        font-size: 15px;
        line-height: 1.8;
    }

    .online-recommend-section {
        padding: 25px 18px;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 20px;
        flex-direction: column;
        gap: 8px;
    }

    .recommend-intro {
        padding: 20px;
    }

    .online-benefits {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .benefit-icon {
        font-size: 28px;
    }

    .benefit-text strong {
        font-size: 15px;
    }

    .benefit-text p {
        font-size: 13px;
    }

    .clinic-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .featured-badge {
        font-size: 13px;
        padding: 6px 20px;
        top: -12px;
    }

    .clinic-header {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .clinic-name {
        font-size: 20px;
    }

    .clinic-subtitle {
        font-size: 13px;
    }

    .clinic-highlights {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .highlight-item {
        padding: 10px 12px;
        font-size: 12px;
        gap: 6px;
    }

    .price-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .price-item {
        padding: 20px;
    }

    .price-type {
        font-size: 15px;
    }

    .price-amount {
        font-size: 22px;
    }

    .price-note {
        font-size: 12px;
    }

    .campaign-notice {
        padding: 10px;
        font-size: 13px;
    }

    .btn-dmm {
        font-size: 13px;
        margin: 18px 0;
    }

    .aga-cta-btn,
    .dmm-aga-cta {
        padding: 14px 30px;
        font-size: 15px;
        border-radius: 40px;
    }

    .more-info-toggle {
        margin: 20px 0;
    }

    .toggle-btn {
        padding: 10px 25px;
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-icon {
        font-size: 28px;
    }

    .feature-title {
        font-size: 15px;
    }

    .feature-desc {
        font-size: 13px;
    }

    .info-table th,
    .info-table td {
        padding: 10px;
        font-size: 13px;
    }

    .hospital-grid {
        gap: 15px;
    }

    .hospital-item {
        padding: 20px;
    }

    .hospital-name {
        font-size: 18px;
    }

    .info-row {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .info-row dt {
        font-size: 13px;
    }

    .info-row dd {
        font-size: 14px;
        padding-left: 0;
    }

    .info-row.highlight {
        padding: 12px;
    }

    .afterpill-tags {
        gap: 6px;
    }

    .afterpill-tag {
        font-size: 12px;
        padding: 5px 10px;
    }

    .afterpill-price {
        font-size: 16px;
    }

    .feature-tags {
        gap: 6px;
    }

    .feature-tag {
        font-size: 11px;
        padding: 4px 8px;
    }

    .btn-detail {
        padding: 10px 25px;
        font-size: 14px;
    }

    .area-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-box {
        padding: 20px;
    }

    .choice-point {
        flex-direction: column;
        padding: 20px;
    }

    .point-number {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .point-title {
        font-size: 18px;
    }

    .flow-step {
        flex-direction: column;
        padding-left: 0;
    }

    .flow-step::before {
        display: none;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 13px;
    }

    .step-content {
        padding: 18px;
    }

    .step-title {
        font-size: 17px;
    }

    .treatment-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .detail-box {
        padding: 15px;
    }

    .comparison-table-wrapper,
    .cost-table-wrapper {
        font-size: 12px;
    }

    .comparison-table th,
    .comparison-table td,
    .cost-table th,
    .cost-table td {
        padding: 8px;
        font-size: 12px;
    }

    .cost-patterns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pattern-box {
        padding: 20px;
    }

    .pattern-box h4 {
        font-size: 17px;
    }

    .tips-list {
        gap: 20px;
    }

    .tip-item {
        flex-direction: column;
        padding: 20px;
    }

    .tip-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .tip-content h4 {
        font-size: 16px;
    }

    .age-group {
        padding: 20px;
    }

    .age-group h3 {
        font-size: 20px;
    }

    .medicine-item h3 {
        padding: 18px 20px;
        font-size: 18px;
    }

    .medicine-content {
        padding: 20px;
    }

    .management-step {
        padding: 18px;
    }

    .comparison-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .comparison-box h3 {
        padding: 18px 20px;
        font-size: 18px;
    }

    .box-content {
        padding: 20px;
    }

    .pattern-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pattern-card {
        padding: 20px;
    }

    .flowchart {
        padding: 20px;
    }

    .flow-question {
        padding: 18px;
    }

    .flow-answer {
        flex-direction: column;
        gap: 10px;
    }

    .access-method {
        padding: 20px;
    }

    .online-benefits-list ul {
        grid-template-columns: 1fr;
    }

    .related-areas {
        padding: 25px 20px;
    }

    .related-area-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .related-area-list a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .related-area-list .count {
        font-size: 11px;
    }

    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* スマートフォン（480px以下） */
@media (max-width: 480px) {
    .area-page {
        padding: 8px;
    }

    .page-header.area-header {
        padding: 18px 12px;
        margin-bottom: 12px;
    }

    .page-title {
        font-size: 18px;
        line-height: 1.45;
        margin-bottom: 15px;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .quote-box {
        padding: 10px 12px;
        margin: 12px 0;
    }

    .quote-box p {
        font-size: 12px;
        line-height: 1.5;
        margin: 5px 0;
    }

    .checklist-box {
        margin: 15px 0;
    }

    .checklist-title {
        font-size: 12px;
        padding: 7px 12px;
    }

    .checklist-title::before {
        font-size: 14px;
    }

    .checklist-content {
        padding: 12px 15px;
    }

    .checklist-box li {
        font-size: 11px;
        padding-left: 20px;
        line-height: 1.5;
    }

    .checklist-box li::before {
        font-size: 14px;
    }

    .table-of-contents {
        padding: 15px;
        margin-bottom: 12px;
    }

    .toc-header {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .toc-list > li {
        padding-left: 20px;
        margin-bottom: 7px;
    }

    .toc-list > li::before {
        font-size: 12px;
    }

    .toc-list a {
        font-size: 11px;
        line-height: 1.5;
        word-break: keep-all;
    }

    .accordion-header {
        padding: 10px 12px;
    }

    .accordion-header h3 {
        font-size: 12px;
        gap: 5px;
    }

    .accordion-icon {
        font-size: 14px;
    }

    .accordion-badge {
        font-size: 9px;
        padding: 2px 5px;
    }

    .accordion-arrow {
        font-size: 11px;
    }

    .accordion-content {
        padding: 0 12px 12px 12px;
    }

    .accordion-note {
        font-size: 10px;
        margin-top: 5px;
    }

    .area-list,
    .station-list {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-top: 8px;
    }

    .area-item a,
    .station-item a {
        padding: 8px 10px;
        font-size: 12px;
    }

    .area-name,
    .station-name {
        font-size: 12px;
    }

    .area-count,
    .station-count {
        font-size: 9px;
        padding: 2px 5px;
    }

    .content-section {
        margin-bottom: 30px;
    }

    .content-section h2 {
        font-size: 18px;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .content-section h3 {
        font-size: 16px;
        margin: 20px 0 12px 0;
        line-height: 1.4;
    }

    .content-section h4 {
        font-size: 14px;
        margin: 15px 0 10px 0;
        line-height: 1.4;
    }

    .section-intro {
        font-size: 13px;
        line-height: 1.65;
        margin-bottom: 15px;
    }

    .online-recommend-section {
        padding: 18px 12px;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 16px;
        line-height: 1.4;
    }

    .recommend-intro {
        padding: 15px;
    }

    .recommend-intro p {
        font-size: 13px;
        line-height: 1.65;
    }

    .benefit-icon {
        font-size: 22px;
    }

    .benefit-text strong {
        font-size: 13px;
    }

    .benefit-text p {
        font-size: 11px;
        line-height: 1.5;
    }

    .clinic-card {
        padding: 18px 12px;
        margin-bottom: 15px;
    }

    .featured-badge {
        font-size: 11px;
        padding: 5px 15px;
        top: -10px;
    }


    .clinic-name {
        font-size: 17px;
        margin-bottom: 5px;
        line-height: 1.3;
    }

    .clinic-subtitle {
        font-size: 11px;
        line-height: 1.4;
    }

    .clinic-highlights {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-bottom: 15px;
    }

    .highlight-item {
        padding: 7px 9px;
        font-size: 10px;
        gap: 5px;
    }

    .section {
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .price-grid {
        gap: 12px;
    }

    .price-item {
        padding: 15px;
    }

    .price-type {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .price-amount {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .price-note {
        font-size: 10px;
    }

    .campaign-notice {
        padding: 7px;
        font-size: 11px;
        line-height: 1.4;
    }

    .btn-dmm {
        font-size: 11px;
        margin: 12px 0;
        line-height: 1.4;
    }

    .aga-cta-btn,
    .dmm-aga-cta {
        padding: 11px 20px;
        font-size: 13px;
        border-radius: 30px;
        display: inline-block;
        width: auto;
        max-width: 100%;
        box-sizing: border-box;
    }

    .more-info-toggle {
        margin: 15px 0;
    }

    .toggle-btn {
        padding: 7px 18px;
        font-size: 12px;
    }

    .toggle-icon {
        font-size: 10px;
    }

    .features-grid {
        gap: 12px;
    }

    .feature-icon {
        font-size: 20px;
    }

    .feature-title {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .feature-desc {
        font-size: 11px;
        line-height: 1.4;
    }

    .info-table {
        font-size: 11px;
    }

    .info-table th,
    .info-table td {
        padding: 7px;
        font-size: 11px;
        line-height: 1.4;
    }

    .hospital-grid {
        gap: 12px;
    }

    .hospital-item {
        padding: 15px 12px;
    }

    .hospital-header {
        margin-bottom: 15px;
    }

    .hospital-name {
        font-size: 16px;
        line-height: 1.4;
    }

    .info-row {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .info-row dt {
        font-size: 11px;
        margin-bottom: 3px;
    }

    .info-row dd {
        font-size: 12px;
        line-height: 1.5;
    }

    .info-row.highlight {
        padding: 10px;
        margin-bottom: 10px;
    }

    .afterpill-tags {
        gap: 5px;
    }

    .afterpill-tag {
        font-size: 10px;
        padding: 4px 7px;
    }

    .afterpill-price {
        font-size: 14px;
    }

    .clinic-description {
        padding: 10px;
    }

    .clinic-description dt {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .clinic-description dd {
        font-size: 12px;
        line-height: 1.5;
    }

    .feature-tags {
        gap: 5px;
    }

    .feature-tag {
        font-size: 9px;
        padding: 3px 6px;
    }

    .hospital-footer {
        margin-top: 15px;
    }

    .btn-detail {
        padding: 8px 18px;
        font-size: 12px;
        border-radius: 20px;
    }

    .choice-point {
        padding: 12px;
        gap: 12px;
    }

    .point-number {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .point-title {
        font-size: 15px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .point-content p {
        font-size: 13px;
        line-height: 1.65;
    }

    .check-points {
        padding: 12px;
        margin-top: 10px;
    }

    .check-points strong {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .check-points ul {
        padding-left: 18px;
    }

    .check-points li {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .summary-box {
        padding: 18px;
    }

    .summary-box h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .summary-box p {
        font-size: 13px;
        line-height: 1.65;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 11px;
    }

    .step-content {
        padding: 12px;
    }

    .step-title {
        font-size: 15px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .step-content p {
        font-size: 13px;
        line-height: 1.65;
    }

    .step-detail {
        padding: 12px;
        margin-top: 10px;
    }

    .step-detail strong {
        font-size: 12px;
    }

    .step-detail ul {
        padding-left: 18px;
    }

    .step-detail li {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .flow-note {
        padding: 15px;
    }

    .flow-note h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .flow-note p {
        font-size: 13px;
        line-height: 1.65;
    }

    .treatment-item {
        margin-bottom: 20px;
    }

    .treatment-header {
        padding: 12px 15px;
    }

    .treatment-name {
        font-size: 15px;
    }

    .treatment-badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .treatment-detail {
        padding: 15px;
    }

    .treatment-overview p {
        font-size: 13px;
        line-height: 1.65;
    }

    .detail-box {
        padding: 12px;
    }

    .detail-box h5 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .detail-box ul {
        padding-left: 18px;
    }

    .detail-box li {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .treatment-recommendation {
        padding: 12px;
        margin-top: 12px;
    }

    .treatment-recommendation strong {
        font-size: 12px;
    }

    .treatment-recommendation p {
        font-size: 12px;
        line-height: 1.6;
    }

    .comparison-table th,
    .comparison-table td,
    .cost-table th,
    .cost-table td {
        padding: 5px;
        font-size: 10px;
        line-height: 1.4;
    }

    .pattern-box {
        padding: 15px;
    }

    .pattern-box h4 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .pattern-desc {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .pattern-items {
        padding: 10px;
    }

    .pattern-item {
        padding: 7px 0;
    }

    .item-name {
        font-size: 12px;
    }

    .item-price {
        font-size: 12px;
    }

    .pattern-total {
        padding: 12px;
        font-size: 12px;
        line-height: 1.5;
    }

    .tip-item {
        padding: 15px;
        gap: 10px;
    }

    .tip-number {
        width: 35px;
        height: 35px;
        font-size: 15px;
    }

    .tip-content h4 {
        font-size: 14px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .tip-content p {
        font-size: 12px;
        line-height: 1.6;
    }

    .tip-example {
        padding: 8px;
        font-size: 11px;
        line-height: 1.5;
        margin-top: 8px;
    }

    .cost-note {
        padding: 15px;
    }

    .cost-note h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .cost-note li {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 8px;
    }

    .age-group {
        padding: 15px;
    }

    .age-group h3 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .age-overview,
    .age-recommendations,
    .age-tips {
        padding: 12px;
    }

    .age-overview h4,
    .age-recommendations h4,
    .age-tips h4 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .age-overview p {
        font-size: 12px;
        line-height: 1.6;
    }

    .age-recommendations ul,
    .age-tips ul {
        padding-left: 18px;
    }

    .age-recommendations li,
    .age-tips li {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .medicine-item h3 {
        font-size: 16px;
        padding: 12px 15px;
    }

    .medicine-content {
        padding: 15px;
    }

    .side-effect-list,
    .precautions {
        padding: 12px;
    }

    .side-effect-list h4,
    .precautions h4 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .side-effect-list ul,
    .precautions ul {
        padding-left: 18px;
    }

    .side-effect-list li,
    .precautions li {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .management-step {
        padding: 12px;
    }

    .management-step h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .management-step p {
        font-size: 12px;
        line-height: 1.6;
    }

    .safety-tips {
        padding: 15px;
    }

    .safety-tips h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .safety-tips ul {
        padding-left: 18px;
    }

    .safety-tips li {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 6px;
    }

    .comparison-box h3 {
        font-size: 16px;
        padding: 12px 15px;
    }

    .box-content {
        padding: 15px;
    }

    .box-content h4 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .merit-list,
    .demerit-list {
        padding-left: 18px;
    }

    .merit-list li,
    .demerit-list li {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .pattern-card {
        padding: 15px;
    }

    .pattern-card h4 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .pattern-card p {
        font-size: 12px;
        line-height: 1.6;
    }

    .pattern-card ul {
        padding-left: 18px;
    }

    .pattern-card li {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .flowchart {
        padding: 15px;
    }

    .flow-question {
        padding: 12px;
    }

    .flow-question p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .answer-yes,
    .answer-no {
        padding: 8px;
        font-size: 11px;
        line-height: 1.4;
    }

    .access-method {
        padding: 15px;
    }

    .access-method h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .access-method p {
        font-size: 13px;
        line-height: 1.65;
    }

    .station-access-list {
        margin: 10px 0;
    }

    .station-access-list li {
        margin-bottom: 8px;
    }

    .station-access-list a {
        font-size: 12px;
    }

    .access-note {
        padding: 10px;
        font-size: 11px;
        line-height: 1.5;
    }

    .parking-note {
        padding: 12px;
    }

    .parking-note strong {
        font-size: 12px;
    }

    .parking-note ul {
        padding-left: 18px;
    }

    .parking-note li {
        font-size: 11px;
        line-height: 1.5;
        margin-bottom: 5px;
    }

    .online-benefits-list li {
        padding: 8px;
        font-size: 11px;
    }

    .related-areas {
        padding: 18px 15px;
    }

    .related-areas h2 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .related-areas p {
        font-size: 13px;
        line-height: 1.65;
        margin-bottom: 12px;
    }

    .related-area-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .related-area-list a {
        padding: 8px 10px;
        font-size: 12px;
    }

    .related-area-list .count {
        font-size: 10px;
        padding: 2px 6px;
    }

    .pagination {
        gap: 5px;
    }

    .pagination a,
    .pagination span {
        padding: 6px 9px;
        font-size: 12px;
    }

    /* 改行制御 */
    h1, h2, h3, h4, h5, h6 {
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    p {
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    /* 長いテキストの折り返し */
    .highlight-yellow {
        display: inline;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    /* テーブルのスクロール最適化 */
    .comparison-table-wrapper,
    .cost-table-wrapper {
        margin-left: -12px;
        margin-right: -12px;
        padding: 0 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* iframe（地図）のレスポンシブ */
    iframe {
        max-width: 100%;
        height: auto;
    }
}

/* =====================================
   印刷用スタイル
===================================== */
@media print {
    .online-recommend-section,
    .btn-dmm,
    .aga-cta-btn,
    .dmm-aga-cta,
    .more-info-toggle,
    .pagination-wrapper {
        display: none;
    }

    .page-header.area-header {
        background: #6B7FED;
        color: black;
    }
}