/* =========================================================
   TOP 親しみ版（比較用）— style.css の上に重ねる上書きスタイル
   方針：生成りの地色／柔らかい青／丸ゴシックの見出し／大きな角丸／波の区切り
   ========================================================= */
:root {
  --navy: #2F5A8A;
  --navy-2: #3D6E9F;
  --navy-ink: #24364D;
  --teal: #3E8E8A;
  --orange: #E2643F;
  --orange-2: #EE7B55;
  --sky: #E8F1FA;
  --sky-2: #F3F8FC;
  --sand: #FFF6EC;
  --peach: #FDEDE3;
  --mint: #E6F4EE;
  --lemon: #FFF6D8;
  --cream: #FFFBF5;
  --line: #E6E0D6;
  --text: #2B3A4F;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 10px 30px rgba(80, 60, 30, .10);
  --shadow-sm: 0 4px 14px rgba(80, 60, 30, .08);
  --ff-head: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
body { background: var(--cream); }
.site-header { background: rgba(255, 251, 245, .96); }
.brand-mark { border-radius: 50%; background: linear-gradient(135deg, #5FB3A7, var(--navy)); }
.gnav a:hover, .gnav a[aria-current="page"] { border-bottom-color: var(--orange); }
.lang { border: 2px solid var(--navy); color: var(--navy); border-radius: 999px; padding: 4px 14px; font-weight: 700; text-decoration: none; font-size: .9em; }
.lang:hover { background: var(--navy); color: #fff; }
.alertbar { background: #C4473A; }

/* 見出しの英字：残しつつ柔らかく */
.sec-head .en { color: var(--orange); letter-spacing: .18em; font-family: var(--ff-head); text-transform: none; font-size: .85em; }
.sec-head .en::before { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); vertical-align: middle; margin-right: 8px; }
.sec-head.center .en::after { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); vertical-align: middle; margin-left: 8px; }
.sec-head h2 { font-size: 1.85em; }

/* 波の区切り */
.wave { display: block; width: 100%; height: 48px; }
.wave.top { margin-bottom: -1px; }
.wave.bottom { margin-top: -1px; }
.section.sky { background: var(--sky-2); }
.section.sand { background: var(--sand); }
.section.mint { background: var(--mint); }

/* ---------- FV（明るい地＋写真） ---------- */
.ffv { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFF3E6 0%, var(--cream) 100%); }
.ffv .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.ffv .eyebrow { display: inline-flex; gap: 8px; align-items: center; background: #fff; color: var(--navy-ink); border-radius: 999px; padding: 6px 16px; font-weight: 700; box-shadow: var(--shadow-sm); margin-bottom: 18px; font-size: .92em; }
.ffv .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.ffv h1 { font-size: 2.3em; line-height: 1.5; color: var(--navy-ink); margin-bottom: 16px; }
.ffv h1 .mk-line { background: linear-gradient(transparent 62%, #FFD9C4 62%); }
.ffv .lead { color: var(--text); margin-bottom: 20px; }
.ffv-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 26px; }
.ffv-badges li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 16px 8px 8px; font-weight: 700; color: var(--navy-ink); box-shadow: var(--shadow-sm); }
.ffv-badges .b-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.ffv-badges .b-ic svg { width: 18px; height: 18px; }
.ffv-badges li:nth-child(1) .b-ic { background: var(--sky); color: var(--navy); }
.ffv-badges li:nth-child(2) .b-ic { background: var(--peach); color: var(--orange); }
.ffv-badges li:nth-child(3) .b-ic { background: var(--mint); color: var(--teal); }
.ffv-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ffv-cta a { display: flex; align-items: center; gap: 14px; text-decoration: none; border-radius: 22px; padding: 16px 18px; font-weight: 700; box-shadow: var(--shadow); transition: transform .15s; }
.ffv-cta a:hover { transform: translateY(-2px); }
.ffv-cta .ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.ffv-cta b { display: block; font-family: var(--ff-head); font-size: 1.2em; line-height: 1.3; }
.ffv-cta small { display: block; font-weight: 500; font-size: .85em; line-height: 1.45; }
.ffv-cta .web { background: var(--orange); color: #fff; }
.ffv-cta .web .ico { background: rgba(255,255,255,.22); }
.ffv-cta .first { background: #fff; color: var(--navy-ink); }
.ffv-cta .first .ico { background: var(--sky); color: var(--navy); }
.ffv-cta .first small { color: #5B6878; }
.ffv-tel { margin: 14px 0 0; font-size: .95em; }
.ffv-tel a { font-weight: 700; font-size: 1.2em; color: var(--navy-ink); text-decoration: none; margin-left: .3em; }

.photo { position: relative; }
.photo .frame { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow); background: #F3E4D3; }
.photo .frame svg { width: 100%; height: 100%; display: block; }
.photo .tag { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); background: rgba(255,255,255,.92); border-radius: 999px; padding: 4px 14px; font-size: .8em; color: #7A6A58; white-space: nowrap; }
.bubble { position: absolute; background: #fff; border-radius: 22px; padding: 14px 18px; box-shadow: var(--shadow); font-family: var(--ff-head); font-weight: 700; color: var(--navy-ink); line-height: 1.5; max-width: 250px; }
.bubble::after { content: ""; position: absolute; width: 18px; height: 18px; background: #fff; transform: rotate(45deg); }
.bubble small { display: block; font-family: var(--ff); font-weight: 500; font-size: .78em; color: #7A8899; margin-top: 4px; }
.ffv .bubble { left: -26px; top: 26px; }
.ffv .bubble::after { right: 34px; bottom: -8px; }

/* ---------- 臨時休診 ---------- */
.fclosure { margin-top: -28px; position: relative; z-index: 2; }
.fclosure .box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; border: 2px solid #F2C6BE; }
.fclosure .lbl { background: #C4473A; color: #fff; border-radius: 14px; padding: 8px 14px; font-weight: 700; font-family: var(--ff-head); display: flex; align-items: center; gap: 6px; }
.fclosure .lbl svg { width: 20px; height: 20px; }
.fclosure ul { list-style: none; margin: 0; padding: 0; }
.fclosure li { font-weight: 700; color: #8A2A1E; }

/* ---------- 診療時間 ---------- */
.htable { border-radius: var(--radius); border-color: var(--line); }
.htable thead th { background: var(--navy); }
.htable thead th.sat { background: #4F7FB0; }
.htable thead th.sun { background: #C4473A; }
.htable tbody th { background: #FFF8EF; }
.tabs { background: #F1E9DD; }
.tel-card { border-radius: var(--radius); }
.tel-card.auto { background: var(--teal); }
.tel-card.staff { background: var(--navy); }

/* ---------- 受診の流れ ---------- */
.fsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.fstep { background: #fff; border-radius: var(--radius-lg); padding: 30px 26px 26px; text-align: center; box-shadow: var(--shadow-sm); position: relative; }
.fstep .num { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-weight: 700; font-family: var(--ff-head); border-radius: 999px; padding: 4px 16px; font-size: .85em; letter-spacing: .08em; }
.fstep .illust { width: 96px; height: 96px; margin: 6px auto 14px; border-radius: 50%; display: grid; place-items: center; }
.fstep .illust svg { width: 48px; height: 48px; }
.fstep:nth-child(1) .illust { background: var(--peach); color: var(--orange); }
.fstep:nth-child(2) .illust { background: var(--sky); color: var(--navy); }
.fstep:nth-child(3) .illust { background: var(--mint); color: var(--teal); }
.fstep h3 { font-size: 1.25em; }
.fstep p { text-align: left; }

/* ---------- お知らせ ---------- */
.news-feature, .news-list a { border-radius: var(--radius); border-color: var(--line); }
.news-feature .ph { background: linear-gradient(135deg, #FDE3D3, #FFF1D6); color: #8A6A4E; }
.pill { border-radius: 999px; }

/* ---------- 診療のご案内（パステルのカード） ---------- */
.fmed { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fmed a { text-decoration: none; color: var(--navy-ink); border-radius: var(--radius-lg); padding: 26px 22px 24px; display: block; transition: transform .15s, box-shadow .15s; }
.fmed a:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--navy-ink); }
.fmed .c1 { background: var(--sky); } .fmed .c2 { background: var(--mint); } .fmed .c3 { background: var(--peach); } .fmed .c4 { background: var(--lemon); }
.fmed .ic { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.fmed .ic svg { width: 32px; height: 32px; }
.fmed .c1 .ic { color: var(--navy); } .fmed .c2 .ic { color: var(--teal); } .fmed .c3 .ic { color: var(--orange); } .fmed .c4 .ic { color: #B8862B; }
.fmed h3 { font-size: 1.25em; margin-bottom: 6px; }
.fmed p { margin: 0 0 10px; }
.fmed .more { color: var(--orange); font-weight: 700; }
.fmed-wide { margin-top: 20px; display: flex; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius-lg); padding: 20px 26px; text-decoration: none; color: var(--navy-ink); box-shadow: var(--shadow-sm); }
.fmed-wide:hover { color: var(--navy-ink); box-shadow: var(--shadow); }

/* ---------- 当院について ---------- */
.fabout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.fabout .photo .frame { border-radius: 58% 42% 50% 50% / 46% 54% 46% 54%; }
.fabout .bubble { right: -10px; bottom: 30px; }
.fabout .bubble::after { left: 30px; top: -8px; }
.qual li { background: #fff; color: var(--navy-ink); border: 2px solid var(--navy); }

/* ---------- ブログ・アクセス ---------- */
.post-card { border-radius: var(--radius); border-color: var(--line); }
.post-card .ph { background: linear-gradient(135deg, #DCEBF7, #E6F4EE); color: #5B7A8A; }
.dtable th { background: #FFF8EF; }
.dtable th, .dtable td { border-color: var(--line); }
.map-ph { border-radius: var(--radius-lg); background: linear-gradient(135deg, #E6F4EE, #DCEBF7); min-height: 320px; display: grid; place-items: center; color: #5B7A8A; }

/* ---------- フッター ---------- */
.site-footer { background: #2E4560; margin-top: 0; }

@media (max-width: 1000px) {
  .ffv .wrap, .fabout { grid-template-columns: 1fr; }
  .ffv .photo { max-width: 420px; margin: 0 auto; }
  .fmed { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .ffv h1 { font-size: 1.65em; }
  .ffv-cta { grid-template-columns: 1fr; }
  .ffv .bubble { left: 0; top: -8px; max-width: 210px; }
  .fclosure .box { grid-template-columns: 1fr; }
  .fsteps, .fmed { grid-template-columns: 1fr; }
  .fsteps { gap: 34px; }
  .fabout .bubble { right: 0; }
  .lang { padding: 3px 10px; font-size: .8em; }
}
