/* === 診療科目ページ共通スタイル（E. ソフトローズ） === */
:root {
  --base: #fffaf7;
  --white: #ffffff;
  --rose: #e8c5c0;
  --rose-deep: #c89993;
  --rose-soft: #fbe9e6;
  --lavender: #d4c5dc;
  --lav-deep: #9787a8;
  --gold: #c9a961;
  --ink: #3a2e2e;
  --ink-strong: #1a1a1a;
  --ink-soft: #786666;
  --line: #f0e3df;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", sans-serif;
  background: var(--base);
  color: var(--ink-strong);
  line-height: 2.05; font-size: 17px; font-weight: 500;
  -webkit-text-size-adjust: 100%;
}
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--rose-deep); color: #fff;
  padding: 8px 16px; z-index: 9999;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 0; }
a:focus, button:focus { outline: 3px solid var(--lav-deep); outline-offset: 2px; }
a { color: var(--rose-deep); }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 30px; }

/* アンカーリンク移動時、スティッキーナビが見出しを覆わないようにする */
html { scroll-padding-top: 80px; }
.svc-hero { scroll-margin-top: 80px; }
@media (max-width: 768px) {
  html { scroll-padding-top: 130px; }
  .svc-hero { scroll-margin-top: 130px; }
}

/* 薄赤い帯 (中身は空・装飾のみ。高さ確保のため min-height) */
.info-bar {
  background: var(--rose-soft);
  border-bottom: 1px solid var(--rose);
  padding: 6px 20px; text-align: center;
  font-size: 13px; color: var(--ink); letter-spacing: 0.05em;
  min-height: 8px;
}
.info-bar strong { color: var(--rose-deep); margin-right: 8px; font-weight: 700; }
.info-bar a { color: var(--rose-deep); text-decoration: none; }
/* 電話番号リンク (tel:) はスマホ表示時のみ機能。
   デスクトップではクリック不能にして誤発信を防止 */
@media (min-width: 769px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
  }
}

/* ヘッダー */
header {
  background: var(--white);
  padding: 26px 50px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.logo-area { display: flex; align-items: center; gap: 28px; text-decoration: none; }
.logo-img {
  height: 140px; width: auto; transition: transform .3s;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.08));
}
.logo-area:hover .logo-img { transform: scale(1.04); }
.logo-text { line-height: 1.2; }
.logo-text .ja {
  font-size: 46px; font-weight: 900; color: var(--ink);
  letter-spacing: 0.1em; display: block; line-height: 1.15;
  font-family: "Noto Sans JP", "Yu Mincho", serif;
}
.logo-text .en {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 17px; color: var(--rose-deep);
  letter-spacing: 0.4em; margin-top: 10px; display: block; font-weight: 500;
}
.logo-text .tag {
  display: block; margin-top: 10px;
  font-size: 16px; color: var(--ink);
  letter-spacing: 0.18em; font-weight: 800;
  border-top: 2px solid var(--rose-deep); padding-top: 8px;
}
.header-tel a {
  background: linear-gradient(135deg, #d65a4a 0%, #b04135 100%);
  color: var(--white);
  padding: 20px 36px; border-radius: 36px;
  text-decoration: none; font-weight: 900; font-size: 24px;
  display: inline-block; line-height: 1.2;
  box-shadow: 0 6px 20px rgba(214,90,74,0.45); letter-spacing: 0.05em;
}
.header-tel a .lbl {
  display: block; font-size: 11px; letter-spacing: 0.3em;
  font-weight: 700; opacity: .9; margin-bottom: 2px;
}

/* ナビ */
nav.main-nav {
  background: var(--white);
  border-top: 2px solid var(--rose-deep);
  border-bottom: 2px solid var(--rose-deep);
  position: sticky; top: 0; z-index: 100;
}
nav.main-nav ul { display: flex; list-style: none; max-width: 1300px; margin: 0 auto; justify-content: center; }
nav.main-nav a {
  display: block; color: var(--ink); text-decoration: none;
  padding: 20px 22px; font-size: 16px;
  font-weight: 800; letter-spacing: 0.1em;
  position: relative; text-align: center; transition: color .2s;
  white-space: nowrap;
}
nav.main-nav a::after {
  content: ""; position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--rose-deep); transition: width .25s;
}
nav.main-nav a:hover { color: var(--rose-deep); }
nav.main-nav a:hover::after { width: 70%; }
nav.main-nav a .en {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  color: var(--rose-deep); font-size: 14px;
  letter-spacing: 0.3em; display: block; margin-bottom: 4px; font-weight: 700;
}
/* プルダウン */
nav.main-nav li.has-dropdown { position: relative; }
nav.main-nav li.has-dropdown > a::before {
  content: "▾"; position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%); font-size: 11px;
  color: var(--rose-deep); opacity: .8;
}
nav.main-nav .dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 240px; background: var(--white); list-style: none;
  border: 1px solid var(--rose); border-top: 3px solid var(--rose-deep);
  border-radius: 0 0 12px 12px; box-shadow: 0 14px 30px rgba(0,0,0,0.10);
  padding: 8px 0; display: none; z-index: 120;
}
nav.main-nav .dropdown li { flex: none; }
nav.main-nav .dropdown a {
  display: block; text-align: left; padding: 12px 22px;
  color: var(--ink); font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
nav.main-nav .dropdown li:last-child a { border-bottom: none; }
nav.main-nav .dropdown a::after { display: none; }
nav.main-nav .dropdown a:hover { background: var(--rose-soft); color: var(--rose-deep); }
@media (hover: hover) {
  nav.main-nav li.has-dropdown:hover .dropdown,
  nav.main-nav li.has-dropdown:focus-within .dropdown { display: block; }
}
nav.main-nav li.has-dropdown.open .dropdown { display: block; }

/* パンくず */
.breadcrumb {
  background: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.breadcrumb a { color: var(--rose-deep); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--ink); font-weight: 700; }

/* 診療科ヒーロー */
.svc-hero {
  background: linear-gradient(135deg, var(--rose-soft) 0%, var(--white) 60%, var(--lavender) 100%);
  padding: 44px 0 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.svc-hero::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--lavender));
}
.svc-hero .latin-eyebrow {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  color: var(--rose-deep); font-size: 16px;
  letter-spacing: 0.3em; display: block; margin-bottom: 8px; font-weight: 600;
}
.svc-hero h1 {
  font-size: 32px; font-weight: 600;
  color: var(--ink-strong); letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.svc-hero h1::after { display: none; }

/* 英語装飾を一括非表示（各ページ共通） */
.svc-hero .latin-eyebrow,
.svc-h2 .latin-h2,
nav.main-nav a .en,
.logo-text .en,
.fac-body .latin,
.exam-type .sub,
.faq-cat .latin,
.member .name-en,
.philosophy .latin,
.key-message .latin,
.tl-period .latin-line,
.fs-text .latin {
  display: none !important;
}
.svc-hero .catch {
  font-size: 15px; color: var(--ink); font-weight: 500;
  line-height: 1.8;
}

/* 本文セクション */
.svc-content {
  padding: 36px 0 80px;
  background: var(--white);
}
.lead-block {
  background: var(--rose-soft);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 50px;
  font-size: 16px; line-height: 2.0;
}
.lead-block p { margin: 0; color: var(--ink-strong); }
/* 強調文字: 単純に太字 + 赤 (装飾なし)
   .svc-content p strong より高い詳細度で上書きするため複数の親セレクタを明示 */
.lead-block strong,
.svc-content .lead-block p strong,
.svc-content .lead-block strong {
  color: #dc143c;
  font-weight: 900;
  background: none;
  border: none;
  border-bottom: none;
  padding: 0;
}

.svc-h2 {
  font-size: 26px; font-weight: 800;
  color: var(--ink-strong); letter-spacing: 0.08em;
  margin: 50px 0 24px;
  padding-bottom: 14px;
  display: flex; align-items: baseline; gap: 18px;
}
.svc-h2 .latin-h2 {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  color: var(--rose-deep); font-size: 16px;
  letter-spacing: 0.3em; font-weight: 600;
}
.svc-content p { margin-bottom: 18px; color: var(--ink-strong); font-size: 17px; line-height: 2.1; }
.svc-content p strong { color: var(--rose-deep); font-weight: 800; }

/* 症状リスト: 固定列数で枠サイズを統一 */
.symptom-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0 30px;
  list-style: none;
}
.symptom-list li {
  background: var(--rose-soft);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 16px;
  color: var(--ink-strong);
  font-weight: 700;
  border-left: 4px solid var(--rose-deep);
  min-height: 60px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.symptom-list li::before {
  content: "✓ ";
  color: var(--rose-deep);
  font-weight: 800;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .symptom-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .symptom-list { grid-template-columns: 1fr; }
}

/* 特徴ブロック (中央揃え。hover アニメは削除) */
.feat-blocks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0 40px;
}
.feat-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  text-align: center;
}
.feat-block .feat-icon {
  font-size: 44px;
  margin-bottom: 14px;
  display: block;
}
.feat-block h3 {
  font-size: 19px; font-weight: 800;
  color: var(--rose-deep); margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-align: center;
}
.feat-block p {
  font-size: 14px; color: var(--ink-soft);
  line-height: 1.9; margin: 0;
  text-align: left;
}

/* 対象者ボックス */
.target-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin: 30px 0;
}
.target-box {
  background: var(--base);
  border-radius: 16px;
  padding: 28px 30px;
  border-left: 4px solid var(--rose-deep);
}
.target-box h3 {
  font-size: 18px; font-weight: 800;
  color: var(--ink-strong); margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.target-box ul { list-style: none; }
.target-box li {
  padding: 6px 0;
  font-size: 14px; color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.target-box li:last-child { border-bottom: none; }
.target-box li::before { content: "・"; color: var(--rose-deep); font-weight: 800; margin-right: 6px; }

/* エリアボックス */
.area-box {
  background: var(--rose-soft);
  border-radius: 16px;
  padding: 26px 30px;
  margin: 24px 0;
}
.area-box p { margin-bottom: 12px; font-size: 15px; }
.area-box .note { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }

/* 診療内容テーブル */
.svc-table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0;
  background: var(--white);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.svc-table th, .svc-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}
/* ご来院について等のテーブル: タイトル列 (th) を中央揃え */
.svc-table th {
  text-align: center;
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-weight: 800;
  width: 30%;
}
.svc-table tr:last-child th, .svc-table tr:last-child td { border-bottom: none; }

/* CTAボックス */
.cta-box {
  background: linear-gradient(135deg, var(--rose-soft) 0%, var(--lavender) 100%);
  border-radius: 20px;
  padding: 40px 36px;
  margin-top: 60px;
  text-align: center;
}
.cta-box h3 {
  font-size: 22px; font-weight: 900;
  color: var(--ink-strong); margin-bottom: 14px;
  letter-spacing: 0.08em;
}
.cta-box p { font-size: 14px; color: var(--ink); margin-bottom: 20px; }
.cta-btn {
  display: inline-block;
  background: var(--rose-deep); color: var(--white);
  padding: 18px 40px; border-radius: 36px;
  text-decoration: none;
  font-weight: 900; font-size: 24px; letter-spacing: 0.05em;
  box-shadow: 0 6px 20px rgba(200,153,147,0.5);
}
.cta-btn:hover { background: var(--lav-deep); }
.cta-note { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }

/* 戻るリンク */
.back-link {
  display: inline-block;
  margin-top: 40px;
  color: var(--rose-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px dashed var(--rose-deep);
  padding-bottom: 2px;
}
.back-link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* フッター */
footer {
  background: linear-gradient(135deg, var(--rose-deep) 0%, var(--lav-deep) 100%);
  color: var(--white);
  padding: 70px 40px 100px;
  text-align: center;
}
.footer-logo {
  height: 120px; margin: 0 auto 20px;
  background: var(--white);
  padding: 12px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.footer-name { font-size: 28px; font-weight: 900; letter-spacing: 0.15em; margin-bottom: 8px; }
.footer-name-en {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 14px; opacity: .85;
  letter-spacing: 0.3em; margin-bottom: 26px;
}
footer .info { font-size: 14px; line-height: 2.0; opacity: .94; max-width: 700px; margin: 0 auto; }
.footer-links {
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex; justify-content: center; gap: 26px; flex-wrap: wrap;
}
.footer-links a {
  color: var(--white); text-decoration: none;
  font-size: 13px; opacity: .9; letter-spacing: 0.05em;
}
.copyright { margin-top: 24px; font-size: 12px; opacity: .7; }

/* スマホ用 下部固定メニュー */
.mobile-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 2px solid var(--rose);
  box-shadow: 0 -4px 14px rgba(0,0,0,0.1);
  z-index: 200;
}
.mobile-bottom-nav ul { display: flex; list-style: none; }
.mobile-bottom-nav li { flex: 1; }
.mobile-bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8px 4px; text-decoration: none;
  font-size: 11px; color: var(--ink);
  border-right: 1px solid var(--line);
  line-height: 1.3; font-weight: 700;
}
.mobile-bottom-nav li:last-child a { border-right: none; }
.mobile-bottom-nav .mb-icon { font-size: 22px; margin-bottom: 2px; }
.mobile-bottom-nav .mb-tel { color: #c8553f; }
.mobile-bottom-nav .mb-web { color: var(--rose-deep); }
.mobile-bottom-nav .mb-line { color: #06c755; }
.mobile-bottom-nav .mb-monshin { color: var(--lav-deep); }
.mobile-bottom-nav .mb-access { color: var(--gold); }

/* === ブログ記事詳細ページ === */
.blog-article-hero {
  background: linear-gradient(135deg, var(--rose-soft) 0%, var(--white) 60%, var(--lavender) 100%);
  padding: 60px 0;
}
.blog-article-hero .container { max-width: 880px; }
.blog-article-hero .meta {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 16px; flex-wrap: wrap;
}
.blog-article-hero .article-date {
  font-family: "Cormorant Garamond", serif;
  color: var(--rose-deep); font-size: 16px; font-weight: 700;
  letter-spacing: 0.1em;
}
.blog-article-hero .article-cat {
  background: var(--rose-deep); color: var(--white);
  padding: 4px 14px; border-radius: 14px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em;
}
.blog-article-hero .article-cat.staff { background: var(--lav-deep); }
.blog-article-hero h1 {
  font-size: 32px; font-weight: 900;
  color: var(--ink-strong); line-height: 1.6;
  letter-spacing: 0.04em;
}
.blog-article-hero .author {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--rose);
  font-size: 14px; color: var(--ink-soft);
  display: flex; gap: 10px; align-items: center;
}
.blog-article-hero .author strong { color: var(--ink); font-weight: 800; }

.article-body {
  background: var(--white);
  padding: 70px 0 40px;
}
.article-body .container { max-width: 880px; }
.article-body p {
  font-size: 17px; line-height: 2.1;
  margin-bottom: 22px; color: var(--ink-strong);
}
@media (max-width: 768px) {
  .article-body p { font-size: 17px; line-height: 2.0; }
  .article-body h2 { font-size: 20px; }
  .article-body h3 { font-size: 17px; }
  .article-body ul, .article-body ol { font-size: 16px; }
  .blog-article-hero h1 { font-size: 24px; line-height: 1.6; }
  .blog-article-hero .article-date { font-size: 15px; }
  .article-nav a { font-size: 15px; padding: 14px 24px; }
}
.article-body p strong { color: var(--rose-deep); font-weight: 800; }
.article-body h2 {
  font-size: 22px; font-weight: 900;
  color: var(--ink-strong); letter-spacing: 0.06em;
  margin: 40px 0 18px;
  padding: 12px 18px;
  background: var(--rose-soft);
  border-left: 5px solid var(--rose-deep);
  border-radius: 4px;
}
.article-body h3 {
  font-size: 18px; font-weight: 800;
  color: var(--rose-deep); margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--rose);
}
.article-body ul, .article-body ol {
  margin: 16px 0 24px 28px;
  font-size: 15px; line-height: 1.9;
}
.article-body li { margin-bottom: 6px; }
.article-body .highlight-box {
  background: var(--rose-soft);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  border-left: 4px solid var(--rose-deep);
}
.article-body .highlight-box p:last-child { margin-bottom: 0; }
.article-body .related {
  margin: 50px 0 0;
  padding: 30px;
  background: var(--base);
  border-radius: 16px;
}
.article-body .related h3 {
  border: none; padding: 0; margin: 0 0 16px;
  font-size: 16px; color: var(--ink-strong);
}
.article-body .related-links {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.article-body .related-links a {
  background: var(--white); border: 1px solid var(--rose);
  padding: 10px 20px; border-radius: 30px;
  text-decoration: none; color: var(--rose-deep);
  font-weight: 700; font-size: 14px;
  transition: all .2s;
}
.article-body .related-links a:hover {
  background: var(--rose-deep); color: var(--white);
}

.article-nav {
  background: var(--base);
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.article-nav .container {
  max-width: 880px;
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap;
}
.article-nav a {
  background: var(--white); border: 2px solid var(--rose);
  color: var(--rose-deep);
  padding: 12px 28px; border-radius: 30px;
  text-decoration: none; font-weight: 800; font-size: 14px;
  letter-spacing: 0.05em; transition: all .2s;
}
.article-nav a:hover { background: var(--rose-deep); color: var(--white); }

/* レスポンシブ */
@media (max-width: 900px) {
  .target-grid { grid-template-columns: 1fr; }
}
/* === タブレット (769〜1024px): ロゴ・クリニック名を縮小して1行に === */
@media (min-width: 769px) and (max-width: 1024px) {
  header { padding: 16px 22px; gap: 14px; }
  .logo-area { gap: 16px; }
  .logo-img { height: 80px; }
  .logo-text .ja { font-size: 28px; letter-spacing: 0.06em; }
  .logo-text .en { font-size: 12px; letter-spacing: 0.28em; margin-top: 4px; }
  .logo-text .tag { font-size: 12px; padding-top: 5px; margin-top: 6px; }
  .header-tel a { padding: 14px 22px; font-size: 18px; }
  .header-tel a .lbl { font-size: 10px; margin-bottom: 1px; }
  nav.main-nav a { padding: 16px 12px; font-size: 14px; letter-spacing: 0.06em; }
  nav.main-nav a .en { font-size: 12px; letter-spacing: 0.25em; }
}

@media (max-width: 768px) {
  /* 高齢者向けにスマホ本文も大きめ */
  body { padding-bottom: 76px; font-size: 17px; line-height: 2.0; }
  /* === ヘッダー: ロゴ + クリニック名を横並びコンパクト (index.html と同じ) === */
  header {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 14px;
    text-align: left;
    align-items: center;
    position: sticky; top: 0; z-index: 110;
  }
  .logo-area {
    flex: 1 1 auto;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    min-width: 0;
  }
  .logo-img { height: 56px; flex-shrink: 0; }
  .logo-text { line-height: 1.15; }
  .logo-text .ja { font-size: 20px; letter-spacing: 0.04em; font-weight: 800; }
  .logo-text .en { font-size: 11px; letter-spacing: 0.25em; margin-top: 2px; }
  .logo-text .tag {
    font-size: 11px;
    padding-top: 4px;
    margin-top: 4px;
    border-top-width: 1px;
    letter-spacing: 0.08em;
    font-weight: 700;
  }
  /* 電話ボタンは2段目に横いっぱい (ラベル上 / 番号下のスタック) */
  .header-tel {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
    order: 2;
  }
  .header-tel a {
    display: block;
    padding: 10px 16px 12px;
    font-size: 26px;
    text-align: center;
    border-radius: 28px;
    line-height: 1.15;
  }
  .header-tel a .lbl {
    display: block;
    font-size: 10px;
    letter-spacing: 0.25em;
    margin: 0 0 2px;
    opacity: 0.95;
    font-weight: 700;
  }
  /* === ナビ: 2列グリッド + ドロップダウンはタップ式 === */
  nav.main-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 100%;
  }
  nav.main-nav li {
    flex: none;
    width: auto;
    border-bottom: 1px solid var(--line);
  }
  nav.main-nav li:nth-child(odd) { border-right: 1px solid var(--line); }
  /* 末尾が奇数番目なら全幅 */
  nav.main-nav li:nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1;
    border-right: none;
  }
  nav.main-nav a {
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    min-height: 46px;
    display: flex; align-items: center; justify-content: center;
  }
  nav.main-nav a .en { display: none; }
  nav.main-nav li.has-dropdown > a::before {
    content: "▾"; position: static; right: auto; top: auto; transform: none;
    margin-left: 6px; font-size: 11px;
  }
  nav.main-nav .dropdown {
    position: static; transform: none;
    min-width: 0; width: 100%;
    box-shadow: none; border: none;
    border-top: 1px solid var(--rose);
    border-radius: 0; background: var(--rose-soft); padding: 0;
  }
  nav.main-nav .dropdown a {
    padding: 12px 18px; font-size: 13px; font-weight: 700;
    border-bottom: 1px solid rgba(200,153,147,0.2);
    text-align: left; min-height: auto; justify-content: flex-start;
  }
  nav.main-nav .dropdown a:hover { background: var(--rose); color: var(--white); }
  .svc-hero { padding: 30px 20px 22px; }
  .svc-hero h1 { font-size: 24px; font-weight: 600; letter-spacing: 0.04em; }
  .svc-hero .catch { font-size: 14px; line-height: 1.7; }
  .svc-content { padding: 28px 0 60px; }
  .svc-content p { font-size: 17px; }
  .svc-h2 { font-size: 22px; flex-wrap: wrap; gap: 10px; }
  .feat-blocks { grid-template-columns: 1fr; }
  .feat-block h3 { font-size: 19px; }
  .feat-block p { font-size: 15px; }
  .target-grid { grid-template-columns: 1fr; }
  .target-box li { font-size: 16px; }
  .symptom-list li { font-size: 16px; padding: 16px 22px; }
  .svc-table th, .svc-table td { font-size: 15px; }
  .cta-box h3 { font-size: 22px; }
  .cta-btn { font-size: 26px; padding: 20px 36px; }
  .footer-links { gap: 14px; }
  .footer-links a { font-size: 14px; padding: 6px 0; }
  /* スマホ下部固定メニュー（大きく目立つように） */
  .mobile-bottom-nav { display: block; padding-bottom: env(safe-area-inset-bottom); border-top: 3px solid var(--rose-deep); box-shadow: 0 -6px 20px rgba(0,0,0,0.15); }
  .mobile-bottom-nav a { padding: 10px 2px; font-size: 12px; min-height: 64px; font-weight: 800; }
  .mobile-bottom-nav .mb-icon { font-size: 26px; margin-bottom: 4px; }
  .mobile-bottom-nav li:first-child a { background: linear-gradient(135deg, #dc2626, #b91c1c); color: #fff; }
  .mobile-bottom-nav li:first-child .mb-tel { color: #fff; }

  /* ===== スマホ用 ロゴ固定バー + ドーナツメニュー ===== */
  /* header はブロック化して、内部の logo-bar / 電話 / SNS が縦に並ぶ。
     stacking context を作らないように position/z-index を解除 (logo-bar が前面に出るため) */
  header {
    display: block !important;
    padding: 0 !important;
    background: var(--white);
    position: static !important;
    z-index: auto !important;
  }
  /* ロゴ + ハンバーガーボタンの固定バー (メニュー展開時もボタンが見えるよう高z-index) */
  .logo-bar {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: var(--white);
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  body.donut-menu-open .logo-bar {
    position: fixed;
    left: 0; right: 0; top: 0;
  }
  .logo-bar .logo-area {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
  }
  /* 電話バナーは固定バーの外 (通常フロー) */
  .header-tel {
    padding: 10px 14px 12px;
    background: var(--white);
  }

  /* メインナビは通常隠す。フルスクリーンで展開 */
  nav.main-nav {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    background: var(--white);
    z-index: 999;
    padding: 90px 0 100px;
    overflow-y: auto;
    transform: translateY(-20px);
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
  }
  body.donut-menu-open nav.main-nav {
    display: block;
    transform: translateY(0);
    opacity: 1;
  }
  body.donut-menu-open nav.main-nav ul {
    grid-template-columns: 1fr;
    padding: 0 8px;
  }
  body.donut-menu-open nav.main-nav li {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
    grid-column: auto !important;
  }
  body.donut-menu-open nav.main-nav a {
    justify-content: flex-start;
    padding: 18px 28px;
    font-size: 17px;
  }
  body.donut-menu-open nav.main-nav .dropdown {
    background: var(--rose-soft);
  }
  body.donut-menu-open nav.main-nav .dropdown a {
    padding: 14px 30px 14px 44px;
    font-size: 15px;
  }
}

/* ===== ハンバーガーメニューボタン (スマホのみ表示, .logo-bar 内の右端)
   シンプルな黒の3本線。周りの円なし。 ===== */
.donut-menu-btn { display: none; }
.donut-menu-overlay { display: none; }
@media (max-width: 768px) {
  .donut-menu-btn {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 1001;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: opacity .2s ease;
  }
  .donut-menu-btn:hover,
  .donut-menu-btn:focus {
    opacity: 0.7;
    outline: none;
  }
  /* 周りの白い円リングは非表示 */
  .donut-menu-btn .donut-ring { display: none; }
  /* 3本線 (タップで×に変化) */
  .donut-menu-btn .donut-lines {
    position: relative;
    width: 28px;
    height: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .donut-menu-btn .donut-lines span {
    display: block;
    width: 100%;
    height: 3px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
  }
  /* "MENU" 文字をハンバーガーの真下に表示 */
  .donut-menu-btn .donut-label {
    position: static;
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #1a1a1a;
    line-height: 1;
    pointer-events: none;
  }
  .donut-menu-btn.open .donut-lines {
    height: 22px;
  }
  .donut-menu-btn.open .donut-lines span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .donut-menu-btn.open .donut-lines span:nth-child(2) {
    opacity: 0;
  }
  .donut-menu-btn.open .donut-lines span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  .donut-menu-btn.open .donut-label { opacity: 0; }
  /* オーバーレイ: フルスクリーンメニューでは不要 */
  .donut-menu-overlay { display: none !important; }
  /* メニュー展開中はスクロール無効化 */
  body.donut-menu-open {
    overflow: hidden;
  }
}
