/* ============================================================
   みずはらクリニック トップページ v2
   完全新規CSS（HEROデザイン非依存・自前資産のみ使用）
   ============================================================ */

:root {
  /* ブランドカラー（ロゴのリーフ緑から採取） */
  --green:        #5aa46a;   /* メイン緑 */
  --green-deep:   #2f7d5e;   /* 深い緑（ロゴ文字系） */
  --green-bright: #8cc63f;   /* リーフのライム差し色 */
  --green-pale:   #eef6e8;   /* 淡い緑背景 */
  --green-mist:   #f6faf2;   /* ごく淡い緑白 */
  --wood:         #c79a5e;   /* 木目の温かみ差し色 */
  --ink:          #36443d;   /* 本文（深緑グレー） */
  --sub:          #6c7a72;   /* サブ文字 */
  --line:         #e3ece0;   /* 罫線 */
  --white:        #ffffff;
  --red:          #d8534a;   /* 休診案内など */

  --radius:   18px;
  --radius-l: 28px;
  --shadow:   0 10px 30px rgba(47, 125, 94, 0.08);
  --shadow-h: 0 18px 44px rgba(47, 125, 94, 0.16);
  --maxw: 1120px;

  /* UDデジタル教科書体（Windows標準搭載）を優先・非搭載端末はゴシックにフォールバック */
  --font-ja: "UD Digi Kyokasho N", "UD デジタル教科書体 N", "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-head: "UD Digi Kyokasho N", "UD デジタル教科書体 N", "Zen Kaku Gothic New", "BIZ UDPGothic", sans-serif;
  --font-en: "Jost", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: .25s; }
a:hover { color: var(--green); }
ul { list-style: none; }

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

/* ============ 共通：セクション見出し ============ */
.section { padding: 96px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head.left { text-align: left; }
.section-en {
  font-family: var(--font-en);
  font-size: 14px; font-weight: 600; letter-spacing: .18em;
  color: var(--green); text-transform: uppercase; margin-bottom: 6px;
}
.section-ja {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 36px); font-weight: 900; letter-spacing: .04em;
  position: relative; display: inline-block; padding-bottom: 18px;
}
.section-head:not(.left) .section-ja::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 46px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--green-bright), var(--green));
}
.section-head.left .section-ja::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 46px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--green-bright), var(--green));
}
.section-desc { margin-top: 16px; color: var(--sub); font-size: 15px; }

/* ============ ボタン ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700;
  font-family: var(--font-head); font-size: 15px; letter-spacing: .03em;
  transition: .25s; cursor: pointer; border: 2px solid transparent; line-height: 1.4;
}
.btn i { font-size: .95em; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(90,164,106,.35); }
.btn-primary:hover { background: var(--green-deep); color: #fff; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(47,125,94,.4); }
.btn-outline { background: #fff; color: var(--green-deep); border-color: var(--green); }
.btn-outline:hover { background: var(--green-pale); color: var(--green-deep); transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--green-deep); border-color: var(--line); padding: 12px 26px; }
.btn-ghost:hover { background: var(--green-pale); border-color: var(--green); color: var(--green-deep); }
.btn-ghost i { transition: transform .25s; }
.btn-ghost:hover i { transform: translateX(4px); }

.section-more { text-align: center; margin-top: 44px; }
.section-more.left { text-align: left; margin-top: 28px; }

/* ============ ヘッダー ============ */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(47,125,94,.07); }
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header-logo img { width: clamp(180px, 22vw, 240px); }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.header-contact { display: flex; align-items: center; gap: 20px; }
.header-addr { font-size: 12px; color: var(--sub); }
.header-addr i { color: var(--green); margin-right: 6px; }
.header-tel { font-family: var(--font-en); font-size: 24px; font-weight: 600; color: var(--green-deep); letter-spacing: .02em; }
.header-tel i { font-size: 18px; margin-right: 8px; }
.header-sns { display: flex; gap: 8px; }
.header-sns a {
  width: 34px; height: 34px; border-radius: 50%; background: var(--green-pale);
  display: grid; place-items: center; color: var(--green-deep); font-size: 15px;
}
.header-sns a:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

/* グローバルナビ */
.gnav { border-top: 1px solid var(--line); background: #fff; }
.gnav-list { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: center; }
.gnav-list > li { position: relative; }
.gnav-list > li > a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 17px 24px; font-family: var(--font-head); font-weight: 700; font-size: 19px;
  position: relative;
}
.gnav-list > li > a .en { font-family: var(--font-en); font-size: 12px; font-weight: 500; color: var(--green); letter-spacing: .08em; text-transform: uppercase; }
.gnav-list > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--green); border-radius: 2px; transition: width .25s;
}
.gnav-list > li > a:hover::after { width: 60%; }
.gnav-child {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: #fff; box-shadow: var(--shadow-h); border-radius: var(--radius);
  padding: 10px; min-width: 240px; opacity: 0; visibility: hidden; transition: .25s; z-index: 10;
}
.has-child:hover .gnav-child { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.gnav-child a { display: block; padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.gnav-child a:hover { background: var(--green-pale); color: var(--green-deep); }
.gnav-sns-sp { display: none; }

/* ハンバーガー */
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: none; cursor: pointer; position: relative; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--green-deep); margin: 6px auto; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ ヒーロー（全幅クロスフェード スライドショー） ============ */
.hero {
  position: relative; width: 100%; overflow: hidden;
  min-height: clamp(480px, 74vh, 720px); display: flex; align-items: center;
}
/* 背景スライド（クロスディゾルブ） */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease-in-out; transform: scale(1.04);
}
.hero-slide.active { opacity: 1; animation: heroKenburns 7s ease-out both; }
@keyframes heroKenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
/* 文字を読みやすくする左側重心のスクリム */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(22,42,32,.66) 0%, rgba(22,42,32,.42) 42%, rgba(22,42,32,.10) 75%, rgba(22,42,32,0) 100%),
    linear-gradient(180deg, rgba(22,42,32,0) 55%, rgba(22,42,32,.30) 100%);
}

.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 56px 24px; position: relative; z-index: 2; width: 100%;
}
.hero-copy { max-width: 640px; animation: heroIn 1s cubic-bezier(.2,.7,.2,1) both; }
.hero-label span {
  display: inline-block; font-family: var(--font-en); font-size: 13px; font-weight: 600;
  letter-spacing: .15em; color: var(--green-deep); background: rgba(255,255,255,.92);
  padding: 7px 18px; border-radius: 999px; text-transform: uppercase;
}
.hero-catch {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(30px, 4.6vw, 52px); line-height: 1.4; letter-spacing: .02em;
  margin: 22px 0 20px; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.hero-catch em { font-style: normal; color: #b6e271; position: relative; }
.hero-lead {
  color: rgba(255,255,255,.95); font-size: clamp(15px, 1.6vw, 17px); margin-bottom: 34px;
  max-width: 540px; text-shadow: 0 1px 12px rgba(0,0,0,.4); line-height: 1.95;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-btns .btn-outline { font-family: var(--font-en); }
.hero-btns .btn-primary { box-shadow: 0 8px 24px rgba(0,0,0,.3); }

@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ============ 初診のご予約 ============ */
.notice { padding: 0; margin-top: -46px; position: relative; z-index: 5; }
.notice-card {
  background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow);
  padding: 40px clamp(24px, 5vw, 56px); text-align: center; border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.notice-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--green-bright), var(--green), var(--green-deep));
}
.notice-title {
  font-family: var(--font-head); font-size: clamp(20px, 3vw, 26px); font-weight: 900;
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px;
}
.notice-title i { color: var(--green); }
.notice-strong { font-weight: 700; font-size: clamp(16px, 2.2vw, 19px); color: var(--green-deep); margin-bottom: 12px; }
.notice-text { color: var(--sub); font-size: 15px; max-width: 720px; margin: 0 auto; }
.notice-text a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ============ お知らせ ============ */
.news-section { background: var(--white); }
.news-list { max-width: 860px; margin: 0 auto; }
.news-item {
  display: flex; gap: 26px; padding: 22px 8px; border-bottom: 1px solid var(--line);
  transition: .2s;
}
.news-item:hover { background: var(--green-mist); }
.news-meta { display: flex; flex-direction: column; gap: 8px; min-width: 120px; flex-shrink: 0; }
.news-meta time { font-family: var(--font-en); font-size: 14px; color: var(--sub); font-weight: 500; }
.news-cate {
  font-size: 12px; font-weight: 700; color: #fff; padding: 3px 12px; border-radius: 999px;
  text-align: center; width: fit-content;
}
.cate-info { background: var(--green); }
.cate-holiday { background: var(--red); }
.news-body h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.news-body p { font-size: 14px; color: var(--sub); line-height: 1.8; }
.news-body a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ============ ご挨拶 ============ */
.greeting-section { background: var(--green-mist); }
.greeting-grid { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.greeting-photo { position: relative; }
.greeting-photo img {
  width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow); object-fit: cover;
}
.greeting-name {
  position: absolute; bottom: 18px; left: 18px; right: 18px; background: rgba(255,255,255,.95);
  backdrop-filter: blur(4px); padding: 12px 20px; border-radius: var(--radius);
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.greeting-role { font-size: 12px; color: var(--sub); }
.greeting-person { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .08em; }
.greeting-text { padding-top: 6px; }
.greeting-text p { margin-bottom: 18px; font-size: 15.5px; }
.greeting-text p:first-child::first-letter { color: var(--green-deep); }

/* ============ 当院の特徴 ============ */
.feature-section { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.feature-card {
  background: #fff; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); transition: .3s; display: flex; flex-direction: column;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); }
.feature-img { aspect-ratio: 16 / 10; overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.feature-card:hover .feature-img img { transform: scale(1.05); }
.feature-body { padding: 28px 30px 30px; flex: 1; display: flex; flex-direction: column; }
.feature-no {
  font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .1em;
  color: var(--green); margin-bottom: 8px;
}
.feature-body h3 { font-family: var(--font-head); font-size: 19px; font-weight: 700; margin-bottom: 12px; line-height: 1.5; }
.feature-body p { font-size: 14.5px; color: var(--sub); margin-bottom: 18px; flex: 1; }
.feature-link { font-weight: 700; color: var(--green-deep); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; }
.feature-link i { transition: transform .25s; }
.feature-link:hover i { transform: translateX(5px); }

/* ============ 診療案内 ============ */
.medical-section { background: var(--green-mist); overflow: hidden; }
.medical-bg {
  position: absolute; inset: 0; opacity: .5;
  background:
    radial-gradient(circle at 12% 20%, rgba(140,198,63,.10), transparent 30%),
    radial-gradient(circle at 88% 80%, rgba(90,164,106,.10), transparent 32%);
}
.medical-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.medical-card {
  background: #fff; border-radius: var(--radius-l); padding: 40px 20px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid var(--line); transition: .3s; position: relative; overflow: hidden;
}
.medical-card::after {
  content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--green-bright), var(--green)); transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.medical-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); }
.medical-card:hover::after { transform: scaleX(1); }
.medical-icon {
  width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%;
  background: linear-gradient(140deg, var(--green-pale), #fff);
  display: grid; place-items: center; font-size: 34px; color: var(--green);
  transition: .3s; box-shadow: inset 0 0 0 1px var(--line);
}
.medical-card:hover .medical-icon { background: linear-gradient(140deg, var(--green), var(--green-deep)); color: #fff; transform: scale(1.06); }
.medical-card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.5; }

/* ============ note ============ */
.note-section { background: #fff; }
.note-card {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  border-radius: var(--radius-l); padding: clamp(36px, 5vw, 60px); color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; overflow: hidden; position: relative;
}
.note-text .section-en { color: rgba(255,255,255,.7); }
.note-text .section-ja { color: #fff; }
.note-text .section-ja::after { background: rgba(255,255,255,.6); }
.note-text p { color: rgba(255,255,255,.92); margin-bottom: 26px; font-size: 15.5px; max-width: 560px; }
.note-card .btn-primary { background: #fff; color: var(--green-deep); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.note-card .btn-primary:hover { background: var(--green-pale); color: var(--green-deep); }
.note-visual { font-size: 130px; color: rgba(255,255,255,.18); }

/* ============ 医院情報 ============ */
.info-section { background: var(--green-mist); }
.info-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: stretch; }
.info-detail { background: #fff; border-radius: var(--radius-l); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.info-clinic-name { font-family: var(--font-head); font-size: 24px; font-weight: 900; }
.info-kamoku { color: var(--green-deep); font-weight: 700; font-size: 14px; margin-bottom: 24px; }
.info-dl { margin-bottom: 28px; }
.info-dl > div { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.info-dl dt { min-width: 92px; font-weight: 700; font-size: 14px; color: var(--green-deep); }
.info-dl dt i { color: var(--green); margin-right: 8px; width: 16px; text-align: center; }
.info-dl dd { font-size: 14.5px; }
.info-dl dd a { color: var(--green-deep); font-weight: 700; }
.hours-title { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.hours-title::before { content: ""; width: 4px; height: 18px; background: var(--green); border-radius: 2px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours-table th, .hours-table td { border: 1px solid var(--line); padding: 9px 4px; text-align: center; }
.hours-table thead th { background: var(--green-pale); color: var(--green-deep); font-weight: 700; }
.hours-table tbody th { background: var(--green-mist); font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.hours-table td { color: var(--green); font-weight: 700; }
.hours-table td.off { color: #c5cfc8; }
.hours-note { font-size: 12.5px; color: var(--sub); margin-top: 12px; }
.info-map { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); position: relative; min-height: 420px; display: flex; flex-direction: column; }
.info-map iframe { flex: 1; width: 100%; border: 0; }
.map-btn { position: absolute; bottom: 16px; right: 16px; background: rgba(255,255,255,.95); backdrop-filter: blur(4px); }

/* ============ 連携医療機関 ============ */
.partner-section { background: #fff; }
.partner-list { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.partner-item {
  display: inline-flex; align-items: center; gap: 12px; padding: 18px 32px;
  background: var(--green-mist); border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--green-deep); transition: .25s;
}
.partner-item i { font-size: 13px; color: var(--green); }
.partner-item:hover { background: var(--green); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow); }
.partner-item:hover i { color: #fff; }

/* ============ フッター ============ */
.site-footer { background: #2b3a32; color: rgba(255,255,255,.85); }
.footer-top { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.footer-logo { width: 150px; background: #fff; padding: 14px; border-radius: var(--radius); margin-bottom: 18px; }
.footer-kamoku { font-weight: 700; font-size: 14px; margin-bottom: 12px; color: #fff; }
.footer-addr { font-size: 13.5px; line-height: 1.9; margin-bottom: 10px; }
.footer-tel a, .footer-fax { font-family: var(--font-en); font-size: 16px; }
.footer-tel a { color: #fff; font-weight: 600; }
.footer-fax { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-sns { display: flex; gap: 10px; margin-top: 18px; }
.footer-sns a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: grid; place-items: center; color: #fff; font-size: 16px;
}
.footer-sns a:hover { background: var(--green); transform: translateY(-3px); }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 24px; }
.footer-nav a { padding: 11px 4px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14.5px; font-weight: 500; transition: .2s; }
.footer-nav a:hover { color: var(--green-bright); padding-left: 10px; }
.footer-copy { text-align: center; padding: 22px; background: rgba(0,0,0,.2); font-family: var(--font-en); font-size: 13px; letter-spacing: .05em; }

/* ============ ページトップ ============ */
.pagetop {
  position: fixed; bottom: 24px; right: 24px; width: 50px; height: 50px; border-radius: 50%;
  background: var(--green); color: #fff; border: none; cursor: pointer; font-size: 20px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .3s; z-index: 90;
}
.pagetop.show { opacity: 1; visibility: visible; }
.pagetop:hover { background: var(--green-deep); transform: translateY(-4px); }

/* ============ スマホ下部固定バー ============ */
.sp-fixed-bar { display: none; }

/* ============ スクロール出現アニメ ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ レスポンシブ ============ */
@media (max-width: 1024px) {
  .hero-inner { gap: 36px; }
  .greeting-grid { grid-template-columns: 300px 1fr; gap: 36px; }
  .header-addr { display: none; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  /* ヘッダー */
  .header-right { display: none; }
  .nav-toggle { display: block; }
  .gnav {
    position: fixed; top: 0; right: -100%; width: min(82vw, 340px); height: 100vh;
    background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,.12); padding: 80px 0 40px;
    overflow-y: auto; transition: right .35s cubic-bezier(.2,.7,.2,1); z-index: 99; border-top: none;
  }
  .gnav.open { right: 0; }
  .gnav-list { flex-direction: column; }
  .gnav-list > li > a { flex-direction: row; justify-content: space-between; padding: 16px 28px; border-bottom: 1px solid var(--line); }
  .gnav-list > li > a .en { font-size: 11px; }
  .gnav-list > li > a::after { display: none; }
  .gnav-child { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; padding: 0 28px 12px; min-width: auto; border-radius: 0; }
  .gnav-child a { padding: 9px 16px; color: var(--sub); }
  .gnav-sns-sp { display: flex; flex-direction: column; gap: 4px; padding: 20px 28px; }
  .gnav-sns-sp a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 700; color: var(--green-deep); }
  body.nav-open { overflow: hidden; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; visibility: hidden; transition: .3s; z-index: 98; }
  .nav-overlay.show { opacity: 1; visibility: visible; }

  /* ヒーロー */
  .hero { min-height: clamp(440px, 78vh, 600px); }
  .hero-inner { padding: 40px 24px; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(22,42,32,.30) 0%, rgba(22,42,32,.45) 60%, rgba(22,42,32,.62) 100%);
  }
  .hero-copy { max-width: none; }
  .hero-catch { font-size: clamp(22px, 6vw, 32px); line-height: 1.55; }
  .hero-lead { max-width: none; }

  /* セクション */
  .greeting-grid { grid-template-columns: 1fr; gap: 28px; }
  .greeting-photo { max-width: 320px; margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .medical-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .medical-card { padding: 30px 14px; }
  .medical-icon { width: 70px; height: 70px; font-size: 28px; }
  .note-card { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .note-text .section-head.left { text-align: center; }
  .note-text .section-head.left .section-ja::after { left: 50%; transform: translateX(-50%); }
  .note-text p { margin-left: auto; margin-right: auto; }
  .note-visual { display: none; }
  .info-grid { grid-template-columns: 1fr; gap: 28px; }
  .info-map { min-height: 320px; }

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

  /* スマホ下部固定バー */
  .sp-fixed-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; width: 100%;
    z-index: 95; box-shadow: 0 -4px 16px rgba(0,0,0,.1);
  }
  .sp-fixed-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px;
    font-weight: 700; font-size: 14px; color: #fff;
  }
  .sp-fixed-bar a:first-child { background: var(--green); }
  .sp-fixed-bar a:last-child { background: var(--green-deep); color: #fff; }
  .pagetop { bottom: 70px; }
}

@media (max-width: 480px) {
  .news-item { flex-direction: column; gap: 8px; }
  .news-meta { flex-direction: row; align-items: center; min-width: auto; }
  .medical-grid { grid-template-columns: 1fr 1fr; }
  .partner-item { width: 100%; justify-content: center; }
}
