@charset "UTF-8";
/* ============================================================
   0005 クリニック・医院向けサイト雛形 - "CLEAN CARE" theme
   ソフトティール × ミント × 白。清潔・信頼・安心感。
   2段ヘッダー／モバイル下部固定バー／診療時間表／
   ブロブ写真＋波形区切りなど、医療系サイト特有の構成。
   0001〜0004とは別系統のレイアウト。
============================================================ */

:root {
  /* 仏光殿暮らしの相談室 — 安心の青（ネイビー×水色）× 温かいクリーム × OSSオレンジ
     パンフレットのトーン&マナーに合わせて配色を差し替え */
  --teal:      #2b78a8;   /* メインの青（信頼・安心） */
  --teal-deep: #1c5074;   /* 濃紺（見出し・締め） */
  --teal-pale: #a7c8dd;
  --mint:      #eaf3f8;   /* 薄い水色（面で使う） */
  --cream:     #faf6ee;   /* 温かいクリーム */
  --orange:    #e79246;   /* 相談ボタン用の暖色アクセント（OSSオレンジ） */
  --orange-deep:#cf7a2d;
  --ink:   #21384a;       /* 濃紺の見出し文字 */
  --text:  #3d5461;
  --sub:   #75909f;
  --line:  #dde8ef;

  /* サービス別アクセント（パンフレットの色分けを踏襲） */
  --sv-life:   #6fa842;   /* 生活支援：グリーン */
  --sv-guar:   #2f78b5;   /* 身元引受：ブルー */
  --sv-care:   #e0685f;   /* 在宅介護・施設入居：コーラル */
  --sv-intro:  #2aa198;   /* 介護施設紹介：ティール */
  --sv-asset:  #c49a2e;   /* 財産管理・任意後見：ゴールド */
  --sv-will:   #8a9a3f;   /* 遺言・財産承継：オリーブ */
  --sv-fune:   #8a6fa8;   /* 葬儀・葬儀後：パープル */
  --sv-shigo:  #7f6a9e;   /* 死後事務：深いパープル */
  --sv-estate: #b0713a;   /* 不動産整理・解約手続き：ブラウン */

  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-en: "Quicksand", "Helvetica Neue", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;   /* 見出し用の明朝 */
  --font-display: "EB Garamond", "Times New Roman", Georgia, serif;            /* 大型英字ディスプレイ */

  --container: 1140px;
  --infobar-h: 42px;
  --header-h: 96px;
  --header-h-sm: 62px;
  --header-h-tablet: 200px; /* iPad幅：ロゴ+メニューが複数行になる場合の高さ（JSで実測値に上書き） */
  --r: 22px;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

body {
  font-family: var(--font-jp);
  color: var(--text);
  background: #fff;
  font-size: 18px; /* シニア向けに可読性を優先し標準より大きめ */
  line-height: 2.05;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
  padding-top: calc(var(--infobar-h) + var(--header-h));
  overflow-x: hidden;
}
@media (max-width: 1200px) {
  body { padding-top: var(--header-h-sm); padding-bottom: 64px; } /* 下部固定バーぶん */
}
@media (max-width: 1200px) and (min-width: 641px) {
  body { padding-top: calc(var(--infobar-h) + var(--header-h-tablet)); } /* iPad幅：info-bar分＋ヘッダーが2行になる場合に備える */
}

.en { font-family: var(--font-en); letter-spacing: 0.08em; }

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

section { position: relative; }
.sec { padding: 100px 0; }
@media (max-width: 768px) { .sec { padding: 56px 0; } }
.sec-mint { background: var(--mint); }
.sec-cream { background: var(--cream); }

/* ---------- 波形区切り（SVG data URI） ---------- */
.wave { display: block; width: 100%; height: 60px; }
.wave svg { display: block; width: 100%; height: 100%; }
.wave.into-mint { background: #fff; }
.wave.outof-mint { background: #fff; transform: rotate(180deg); }

/* ---------- 見出し（大型英字ディスプレイ＋明朝） ---------- */
.h-sec { text-align: center; margin-bottom: 68px; }
.h-sec .icon-dot { display: none; }
.h-sec .en-sub {
  display: block;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(42px, 7vw, 80px); letter-spacing: 0.01em; line-height: 1.1;
  color: var(--teal); text-transform: none;
}
.h-sec .en-sub::after {
  content: ""; display: block; width: 47px; height: 8px; margin: 14px auto 0;
  background: radial-gradient(circle 3.2px at 4px 4px, var(--orange) 3.2px, transparent 3.5px);
  background-size: 17px 8px; background-repeat: repeat-x;
}
.h-sec h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(27px, 3.6vw, 42px); letter-spacing: 0.14em; line-height: 1.85;
  color: var(--ink);
  margin-top: 16px;
}
.h-sec h2 .tealtxt { color: var(--teal); }
.h-sec .lead { margin-top: 16px; font-size: 18px; color: var(--sub); }

/* ---------- ボタン（ピル型＋円形矢印） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  flex-shrink: 0; white-space: nowrap;
  min-width: 260px; padding: 17px 24px 17px 36px;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  background: var(--teal); color: #fff;
  font-weight: 700; font-size: 18px; letter-spacing: 0.12em;
  cursor: pointer;
  transition: 0.35s var(--ease);
  box-shadow: 0 12px 26px rgba(28,80,116,0.22);
}
.btn::after {
  content: "→";
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 700; font-size: 18px;
  transition: transform 0.35s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(28,80,116,0.3); }
.btn:hover::after { transform: translateX(5px); }
.btn.btn-orange { background: var(--orange); border-color: var(--orange); box-shadow: 0 12px 26px rgba(207,122,45,0.32); }
.btn.btn-orange:hover { box-shadow: 0 18px 34px rgba(207,122,45,0.42); }
.btn.btn-ghost { background: #fff; color: var(--teal); box-shadow: 0 10px 22px rgba(28,80,116,0.12); }
.btn.btn-ghost::after { background: var(--mint); }
.btn.btn-sm { min-width: 0; padding: 11px 16px 11px 24px; font-size: 15px; gap: 10px; }
.btn.btn-sm::after { width: 24px; height: 24px; font-size: 13px; }
.btn.no-arrow { padding: 17px 36px; }
.btn.btn-sm.no-arrow { padding: 11px 24px; }
.btn.no-arrow::after { display: none; }
.btn-center { text-align: center; margin-top: 52px; }

/* ---------- placeholder ---------- */
.ph {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  background:
    linear-gradient(135deg, rgba(62,158,148,0.06) 25%, transparent 25%, transparent 50%, rgba(62,158,148,0.06) 50%, rgba(62,158,148,0.06) 75%, transparent 75%),
    #eef5f3;
  background-size: 24px 24px, auto;
  color: #9db4af;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-en); font-weight: 600; font-size: 13.5px; letter-spacing: 0.1em;
  background: rgba(255,255,255,0.92); padding: 5px 14px; border-radius: 999px;
  white-space: nowrap;
}
.ph.r-16-9 { aspect-ratio: 16/9; }
.ph.r-4-3 { aspect-ratio: 4/3; }
.ph.r-3-4 { aspect-ratio: 3/4; }
.ph.r-1-1 { aspect-ratio: 1/1; }
.ph.r-21-9 { aspect-ratio: 21/9; }

/* ブロブ（雫型）マスク */
.blob { border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%; overflow: hidden; }
.blob2 { border-radius: 46% 54% 48% 52% / 58% 52% 48% 42%; overflow: hidden; }

/* ============================================================
   2段ヘッダー
============================================================ */
.info-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  height: var(--infobar-h);
  background: var(--teal);
  color: #fff;
  display: flex; align-items: center;
  font-size: 18px; letter-spacing: 0.06em;
}
.info-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.info-bar .ib-l { display: flex; align-items: center; gap: 18px; white-space: nowrap; overflow: hidden; }
.info-bar .ib-l .dot::before { content: "●"; font-size: 10px; margin-right: 6px; color: var(--teal-pale); }
.info-bar .ib-tel { font-family: var(--font-en); font-weight: 700; font-size: 22px; letter-spacing: 0.06em; white-space: nowrap; color: #fff; }
/* マウス操作のPCでは電話リンクを無効化（タッチ端末ではタップ発信可） */
@media (hover: hover) and (pointer: fine) {
  .info-bar a.ib-tel { pointer-events: none; }
}
.info-bar .ib-tel small { font-family: var(--font-jp); font-weight: 400; font-size: 13px; margin-right: 6px; }

.site-header {
  position: fixed; top: var(--infobar-h); left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(43,122,114,0.1); }
.site-header .inner { width: 100%; max-width: none; margin: 0 auto; padding: 0 clamp(24px, 3vw, 56px); display: flex; align-items: center; gap: 18px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; white-space: nowrap; }
.brand .logo-img { height: clamp(60px, 5vw, 72px); width: auto; display: block; }
@media (max-width: 1200px) { .brand .logo-img { height: 48px; } }
.site-footer .brand .logo-img { height: 60px; }
.header-brand { gap: 16px; }
.header-brand-copy {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
  line-height: 1.25; white-space: nowrap;
}
.header-brand-copy strong {
  color: var(--orange-deep); font-size: clamp(34px, 3vw, 42px); font-weight: 700;
  letter-spacing: 0.015em;
}
.header-brand-copy small {
  margin-top: 0; color: var(--ink); font-size: clamp(11px, 0.9vw, 14px); font-weight: 700;
  letter-spacing: 0.035em;
}
.brand .mark {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--mint); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.brand .mark svg { width: 26px; height: 26px; }
.brand .name { font-family: var(--font-serif); font-weight: 600; font-size: 22px; color: var(--ink); line-height: 1.3; letter-spacing: 0.05em; }
.brand .name small { display: block; font-family: var(--font-en); font-weight: 600; font-size: 11px; letter-spacing: 0.2em; color: var(--teal); }

.g-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.g-nav a.nav-link {
  position: relative; text-align: center;
  font-weight: 700; font-size: 14.5px; letter-spacing: 0.02em;
  color: var(--ink); padding: 6px 0; white-space: nowrap;
}
.g-nav a.nav-link small { display: block; font-family: var(--font-en); font-weight: 600; font-size: 10.5px; letter-spacing: 0.14em; color: var(--teal-pale); text-transform: uppercase; line-height: 1.4; }
.g-nav a.nav-link::after {
  content: ""; position: absolute; left: 20%; right: 20%; bottom: -3px; height: 3px; border-radius: 3px;
  background: var(--teal); transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.g-nav a.nav-link:hover::after, .g-nav a.nav-link.is-current::after { transform: scaleX(1); }
.g-nav a.nav-link:hover, .g-nav a.nav-link.is-current { color: var(--teal); }

/* 「無料相談」ボタン：.g-nav の外に出た .inner 直下の独立要素 */
.site-header .inner > a.btn.btn-sm { flex-shrink: 0; }

.hamburger {
  display: none; width: 46px; height: 46px; flex-shrink: 0;
  border: 2px solid var(--teal); border-radius: 12px; background: #fff;
  position: relative; cursor: pointer; margin-left: auto;
}
.hamburger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--teal); transition: 0.3s var(--ease); }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ドロワー（上からスライド・白） */
.drawer {
  position: fixed; top: var(--header-h-sm); left: 0; right: 0; z-index: 980;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px 22px 26px;
  transform: translateY(-110%);
  transition: transform 0.4s var(--ease);
  max-height: calc(100vh - var(--header-h-sm) - 64px);
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(43,122,114,0.12);
  border-radius: 0 0 22px 22px;
}
body.drawer-open .drawer { transform: translateY(0); }
.drawer a.d-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 6px; border-bottom: 1px dashed var(--line);
  font-weight: 700; font-size: 18px; color: var(--ink);
}
.drawer a.d-link small { font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; color: var(--teal-pale); }
.drawer .d-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.drawer .d-btns .btn { min-width: 0; width: 100%; }

@media (max-width: 1200px) {
  .site-header { top: 0; height: var(--header-h-sm); }
  .brand .mark { width: 40px; height: 40px; }
  .brand .name { font-size: 18px; }
  .header-brand-copy strong { font-size: 32px; }
  .header-brand-copy small { font-size: 12px; }
}

/* iPad幅：info-bar（受付時間・相談ダイヤル）は表示したまま、その下にヘッダーを重ねる */
@media (max-width: 1200px) and (min-width: 641px) {
  .site-header { top: var(--infobar-h); }
}

/* スマホ幅のみ info-bar を非表示（下部固定バーに集約） */
@media (max-width: 640px) {
  .info-bar { display: none; }
}

/* iPad幅：1行目に「ロゴ（左）＋無料相談ボタン（右）」、2行目に
   メニューだけを幅いっぱい使って1行で表示する（ハンバーガーには畳まない） */
@media (max-width: 1200px) and (min-width: 641px) {
  .site-header { height: auto; padding: 16px 0; }
  .site-header .inner {
    flex-wrap: wrap;
    row-gap: 16px; column-gap: 16px;
    padding: 0 24px;
  }
  /* 1行目：ロゴ（左）と無料相談ボタン（右） */
  .brand { order: 1; }
  .brand .logo-img { height: 60px; }
  .site-header .inner > a.btn.btn-sm {
    order: 2; margin-left: auto;
    min-width: 0; padding: 10px 20px 10px 24px; font-size: 18px; gap: 8px;
  }
  .site-header .inner > a.btn.btn-sm::after { width: 20px; height: 20px; font-size: 13px; }

  /* 2行目：メニューのみ幅いっぱいで1行表示 */
  .g-nav {
    order: 3; flex-basis: 100%; width: 100%; margin-left: 0;
    flex-wrap: nowrap; justify-content: space-between;
    max-width: 920px; margin-inline: auto;
  }
  .g-nav a.nav-link { font-size: 13.8px; letter-spacing: -0.015em; padding: 4px 0; }
  .g-nav a.nav-link small { display: none; }
}

/* 744px未満（iPad miniより狭い、稀なケース）の保険：メニューの折り返しを許可 */
@media (max-width: 743px) and (min-width: 641px) {
  .g-nav { flex-wrap: wrap; justify-content: flex-start; row-gap: 8px; column-gap: 16px; max-width: none; }
}

@media (max-width: 640px) {
  .g-nav { display: none; }
  .site-header .inner > a.btn.btn-sm { display: none; }
  .hamburger { display: block; }
  .site-header .inner { gap: 10px; padding-inline: 14px; }
  .header-brand { gap: 6px; }
  .header-brand .logo-img { height: 34px; }
  .header-brand-copy { gap: 1px; }
  .header-brand-copy strong { font-size: 16px; letter-spacing: 0; }
  .header-brand-copy small { margin-top: 0; font-size: 7.5px; letter-spacing: 0; line-height: 1.25; }
}
@media (max-width: 380px) {
  .header-brand .logo-img { height: 31px; }
  .header-brand-copy { gap: 1px; }
  .header-brand-copy strong { font-size: 14px; }
  .header-brand-copy small { font-size: 7px; }
}

/* モバイル下部固定バー（電話/予約/アクセス） */
.bottom-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 970;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(43,122,114,0.12);
}
.bottom-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 9px 4px 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink);
}
.bottom-bar a svg { width: 20px; height: 20px; color: var(--teal); }
.bottom-bar a.bb-reserve { background: var(--orange); color: #fff; }
.bottom-bar a.bb-reserve svg { color: #fff; }
.bottom-bar a + a { border-left: 1px solid var(--line); }
@media (max-width: 1200px) { .bottom-bar { display: flex; } }

/* ============================================================
   MV（ブロブ写真＋やわらかコピー）
============================================================ */
.hero {
  position: relative;
  background: linear-gradient(160deg, #fff 30%, var(--mint));
  padding: 62px 0 72px;
  overflow: hidden;
}
.hero .hero-en {
  position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 0;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(66px, 11vw, 150px); line-height: 1; white-space: nowrap;
  color: rgba(43,120,168,0.06); pointer-events: none; user-select: none;
}
.hero .float-c { position: absolute; border-radius: 50%; background: rgba(62,158,148,0.1); }
.hero .fc1 { width: 220px; height: 220px; top: -60px; left: -60px; }
.hero .fc2 { width: 90px; height: 90px; bottom: 120px; left: 42%; background: rgba(240,157,85,0.16); }
.hero .fc3 { width: 140px; height: 140px; top: 40px; right: 26%; background: rgba(62,158,148,0.07); }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 44px; align-items: center; }
.hero-copy .h-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-copy .h-badges span {
  background: #fff; border: 1.5px solid var(--teal); color: var(--teal);
  border-radius: 999px; padding: 8px 22px;
  font-weight: 700; font-size: 18px;
}
.hero-copy .hero-kicker span {
  background: rgba(239, 242, 245, 0.92); border: 0; color: var(--ink);
  border-radius: 10px; padding: 9px 24px;
}
.hero-copy h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(33px, 4.6vw, 56px);
  line-height: 1.62; letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 16px;
}
.hero-copy h1 .tealtxt { color: var(--teal); }
.hero-copy h1 .marker { background: linear-gradient(transparent 70%, rgba(231,146,70,0.4) 70%); padding: 0 2px; }
.hero-copy h1 .hero-line { display: inline-block; white-space: nowrap; }
.hero-copy h1 .hero-accent {
  color: var(--orange-deep);
  padding: 0 2px;
}
.hero-copy h1.hero-copy-long { font-size: clamp(31px, 3.65vw, 48px); line-height: 1.62; }
.hero-copy p.desc { max-width: 490px; font-size: 18px; line-height: 1.72; color: var(--sub); margin-bottom: 24px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-btns .btn { min-width: 0; padding: 15px 20px 15px 28px; gap: 10px; }
.hero-btns .btn::after { width: 28px; height: 28px; }

.hero-visual { position: relative; }
.hero-visual .main-blob img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 50% 30%; display: block; }
.hero-visual .sub-blob img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; display: block; }
.hero-visual .main-blob { position: relative; z-index: 1; box-shadow: 0 30px 60px rgba(43,122,114,0.18); }
.hero-visual .sub-blob {
  position: absolute; z-index: 2; width: 54%;
  right: -16px; bottom: -34px;
  border: 6px solid #fff;
  box-shadow: 0 16px 40px rgba(43,122,114,0.18);
}
.hero-visual::before {
  content: ""; position: absolute; inset: -8% -6% auto auto; width: 60%; aspect-ratio: 1; z-index: 0;
  border-radius: 55% 45% 52% 48% / 46% 54% 46% 54%;
  background: rgba(62,158,148,0.12);
}
@media (max-width: 1010px) {
  .hero { padding: 34px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }
}
@media (min-width: 641px) and (max-width: 1010px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
    gap: 16px;
    align-items: center;
  }
  .hero-visual {
    max-width: 390px;
    margin: 0;
    justify-self: end;
  }
  .hero-copy h1.hero-copy-long {
    max-width: 100%;
    font-size: clamp(29px, 4.2vw, 34px);
    line-height: 1.55;
    letter-spacing: 0.025em;
  }
  .hero-copy h1.hero-copy-long br,
  .hero-copy p.desc br { display: block; }
  .hero-copy h1 .hero-line { display: inline-block; white-space: nowrap; }
  .hero-copy p.desc { max-width: 390px; font-size: 16px; }
  .hero-btns .btn { padding-inline: 18px; font-size: 14px; }
}
@media (max-width: 640px) {
  .hero-copy h1 { font-size: clamp(27px, 8.3vw, 33px); letter-spacing: 0.06em; }
  .hero-copy h1.hero-copy-long { font-size: clamp(25px, 7.6vw, 31px); letter-spacing: 0.025em; line-height: 1.68; }
}

/* ============================================================
   MV直下：主なご相談内容
============================================================ */
.hero-consult {
  position: relative;
  z-index: 3;
  margin-top: -54px;
  padding: 0 0 52px;
  background: linear-gradient(180deg, rgba(251,250,247,0) 0, var(--cream) 72px, var(--cream) 100%);
}
.hero-consult-head {
  display: grid;
  grid-template-columns: minmax(28px, 72px) auto minmax(28px, 72px);
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 22px;
}
.hero-consult-head span { width: 100%; height: 2px; background: var(--teal); opacity: 0.75; }
.hero-consult-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.2vw, 29px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  white-space: nowrap;
}
.hero-consult-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hero-consult-card {
  position: relative;
  min-height: 150px;
  display: grid;
  grid-template-columns: 88px 1fr 26px;
  align-items: center;
  gap: 18px;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid rgba(28,80,116,0.08);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(28,80,116,0.09);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hero-consult-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--card-accent, var(--teal));
}
.hero-consult-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(28,80,116,0.15);
  border-color: color-mix(in srgb, var(--card-accent, var(--teal)) 35%, transparent);
}
.hero-consult-life { --card-accent: var(--orange); }
.hero-consult-guar { --card-accent: var(--teal); }
.hero-consult-intro { --card-accent: var(--teal-deep); }
.hero-consult-icon {
  width: 88px; height: 88px;
  display: grid; place-items: center;
  border-radius: 24px;
  background: color-mix(in srgb, var(--card-accent, var(--teal)) 12%, #fff);
  color: var(--card-accent, var(--teal));
}
.hero-consult-icon svg { width: 58px; height: 58px; }
.hero-consult-copy { min-width: 0; }
.hero-consult-copy strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.hero-consult-copy small { display: block; margin-top: 7px; font-size: 14px; line-height: 1.7; color: var(--sub); }
.hero-consult-arrow {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--card-accent, var(--teal));
  color: #fff;
  font-family: var(--font-en);
  font-size: 14px;
  transition: transform 0.3s var(--ease);
}
.hero-consult-card:hover .hero-consult-arrow { transform: translateX(4px); }
.hero-consult-note {
  margin-top: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
@media (max-width: 1000px) {
  .hero-consult { margin-top: 0; padding-top: 30px; }
  .hero-consult-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .hero-consult-card { min-height: 126px; grid-template-columns: 76px 1fr 30px; padding: 18px 22px; }
  .hero-consult-icon { width: 76px; height: 76px; border-radius: 20px; }
  .hero-consult-icon svg { width: 48px; height: 48px; }
}
@media (max-width: 640px) {
  .hero-consult { padding: 38px 0 42px; }
  .hero-consult-head { gap: 12px; margin-bottom: 18px; }
  .hero-consult-head h2 { font-size: 18px; letter-spacing: 0.04em; white-space: normal; text-align: center; }
  .hero-consult-card { grid-template-columns: 64px 1fr 24px; gap: 13px; min-height: 112px; padding: 16px 14px; border-radius: 15px; }
  .hero-consult-icon { width: 64px; height: 64px; border-radius: 17px; }
  .hero-consult-icon svg { width: 42px; height: 42px; }
  .hero-consult-copy strong { font-size: 18px; }
  .hero-consult-copy small { font-size: 12.5px; margin-top: 3px; }
  .hero-consult-note { font-size: 12px; line-height: 1.7; padding: 0 12px; }
}

/* ============================================================
   診療時間テーブル
============================================================ */
.timetable-card {
  background: #fff; border-radius: var(--r); padding: 34px;
  box-shadow: 0 14px 40px rgba(43,122,114,0.1);
}
.timetable { table-layout: fixed; }
.timetable th, .timetable td {
  text-align: center; padding: 13px 6px; font-size: 18px;
  border-bottom: 1px solid var(--line);
}
.timetable thead th {
  background: var(--mint); color: var(--teal-deep); font-weight: 700;
  border-bottom: none;
}
.timetable thead th:first-child { border-radius: 12px 0 0 12px; }
.timetable thead th:last-child { border-radius: 0 12px 12px 0; }
.timetable tbody th { font-weight: 700; color: var(--ink); text-align: left; padding-left: 12px; white-space: nowrap; }
.timetable td .on { color: var(--teal); font-weight: 700; }
.timetable td .off { color: #ccb; opacity: 0.5; }
.timetable-note { margin-top: 16px; font-size: 18px; color: var(--sub); }
.timetable-note li { padding-left: 1.2em; text-indent: -1.2em; }
.timetable-note li::before { content: "※ "; color: var(--teal); }

/* ============================================================
   診療案内カード
============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: #fff; border-radius: var(--r); padding: 34px 28px 30px;
  text-align: center;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px rgba(43,122,114,0.07);
  transition: 0.35s var(--ease);
  display: block;
}
.svc:hover { border-color: var(--teal); transform: translateY(-6px); }
.svc .s-ico {
  width: 76px; height: 76px; margin: 0 auto 18px;
  border-radius: 45% 55% 52% 48% / 55% 46% 54% 45%;
  background: var(--mint); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.svc .s-ico svg { width: 34px; height: 34px; }
.svc h3 { font-weight: 700; font-size: 20px; letter-spacing: 0.08em; color: var(--ink); margin-bottom: 4px; }
.svc .s-en { font-family: var(--font-en); font-weight: 600; font-size: 12.5px; letter-spacing: 0.2em; color: var(--teal-pale); text-transform: uppercase; display: block; margin-bottom: 12px; }
.svc p { font-size: 18px; color: var(--sub); text-align: left; }
.svc .s-more { display: inline-block; margin-top: 14px; font-family: var(--font-en); font-weight: 700; font-size: 18px; letter-spacing: 0.14em; color: var(--teal); }

/* ============================================================
   特徴（丸番号＋横並び）
============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 820px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  display: grid; grid-template-columns: 92px 1fr; gap: 22px; align-items: start;
  background: #fff; border-radius: var(--r); padding: 30px;
  box-shadow: 0 10px 30px rgba(43,122,114,0.07);
}
.feat .f-num {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--mint);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--teal);
}
.feat .f-num .en { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 36px; line-height: 1; }
.feat .f-num small { font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: 0.24em; margin-top: 6px; }
.feat h3 { font-family: var(--font-serif); font-weight: 600; font-size: 21.5px; color: var(--ink); line-height: 1.7; margin-bottom: 8px; letter-spacing: 0.05em; }
.feat p { font-size: 18px; color: var(--sub); }

/* ============================================================
   医師紹介
============================================================ */
.doctor { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .doctor { grid-template-columns: 1fr; gap: 30px; } .doctor .d-photo { max-width: 340px; margin: 0 auto; } }
.doctor .d-photo { position: relative; }
.doctor .d-photo::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 60%; aspect-ratio: 1; z-index: -1;
  border-radius: 55% 45% 52% 48% / 46% 54% 46% 54%;
  background: var(--mint);
}
.doctor .d-role { display: inline-block; background: var(--mint); color: var(--teal-deep); border-radius: 999px; font-weight: 700; font-size: 14.5px; padding: 6px 20px; margin-bottom: 18px; }
.doctor h3 { font-family: var(--font-serif); font-weight: 600; font-size: 32px; letter-spacing: 0.14em; color: var(--ink); margin-bottom: 4px; }
.doctor .d-en { font-family: var(--font-en); font-weight: 600; font-size: 18px; letter-spacing: 0.2em; color: var(--teal-pale); display: block; margin-bottom: 20px; }
.doctor p { font-size: 18px; color: var(--text); margin-bottom: 12px; }
.doctor .d-career { margin-top: 20px; font-size: 18px; color: var(--sub); border-left: 3px solid var(--teal-pale); padding-left: 16px; line-height: 2.1; }

/* スタッフカード */
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 820px) { .staff-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }
.staff { text-align: center; }
.staff .st-photo { max-width: 190px; margin: 0 auto 18px; }
.staff .st-role { font-size: 13.5px; font-weight: 700; color: var(--teal); letter-spacing: 0.1em; }
.staff h3 { font-weight: 700; font-size: 19px; color: var(--ink); margin: 2px 0 10px; }
.staff p { font-size: 18px; color: var(--sub); text-align: left; }

/* ============================================================
   初めての方へ（縦タイムライン）
============================================================ */
.vflow { max-width: 720px; margin: 0 auto; }
.vflow-item { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 26px; padding-bottom: 44px; }
.vflow-item:not(:last-child)::before {
  content: ""; position: absolute; left: 41px; top: 84px; bottom: 0; width: 2px;
  background: repeating-linear-gradient(var(--teal-pale) 0 6px, transparent 6px 12px);
}
.vflow-item .v-ball {
  width: 84px; height: 84px; border-radius: 50%;
  background: #fff; border: 3px solid var(--teal);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--teal); font-family: var(--font-en); font-weight: 700; font-size: 21px;
  box-shadow: 0 8px 20px rgba(43,122,114,0.14);
}
.vflow-item .v-ball small { font-size: 10.5px; letter-spacing: 0.2em; }
.vflow-item .v-body { background: #fff; border-radius: var(--r); padding: 24px 28px; box-shadow: 0 10px 28px rgba(43,122,114,0.08); }
.vflow-item h3 { font-weight: 700; font-size: 18.5px; color: var(--ink); margin-bottom: 6px; }
.vflow-item p { font-size: 18px; color: var(--sub); }

/* ============================================================
   FAQ
============================================================ */
.qa-item { background: #fff; border-radius: 18px; margin-bottom: 14px; box-shadow: 0 6px 20px rgba(43,122,114,0.06); overflow: hidden; }
.qa-q {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 18px;
  padding: 24px 28px; background: none; border: none; cursor: pointer;
  font-weight: 700; font-size: 18px; color: var(--ink);
}
.qa-q .q-ball { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--teal); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 23px; }
.qa-q .plus { margin-left: auto; color: var(--teal); font-size: 22px; font-weight: 400; transition: transform 0.3s var(--ease); }
.qa-item.is-open .plus { transform: rotate(45deg); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); padding: 0 28px 0 90px; font-size: 18px; color: var(--ink); }
.qa-item.is-open .qa-a { padding-bottom: 22px; }

/* ============================================================
   お知らせ
============================================================ */
.news-flat li { border-bottom: 1px dashed var(--line); }
.news-flat li:first-child { border-top: 1px dashed var(--line); }
.news-flat a { display: grid; grid-template-columns: 112px 116px 1fr; gap: 18px; align-items: center; padding: 20px 8px; transition: background 0.3s; border-radius: 10px; }
.news-flat a:hover { background: var(--mint); }
.news-flat .d { font-family: var(--font-en); font-weight: 600; font-size: 15px; color: var(--teal); }
.news-flat .c {
  font-size: 13px; font-weight: 700; text-align: center;
  border: 1.5px solid var(--teal); color: var(--teal);
  border-radius: 999px; padding: 3px 10px;
  /* 長いタグ名でもカプセルが2行に割れないようにする */
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.news-flat .c.c-warn { border-color: var(--orange); color: var(--orange-deep); }
.news-flat .t { font-size: 18px; }
@media (max-width: 620px) {
  .news-flat a { grid-template-columns: auto minmax(0, auto); }
  .news-flat .t { grid-column: 1 / -1; }
  .news-flat .c { max-width: 100%; }
}

/* 休診案内など強調ボックス */
.notice-box {
  background: #fdf3e7; border: 2px dashed var(--orange); border-radius: var(--r);
  padding: 22px 26px; font-size: 18px;
  display: flex; gap: 14px; align-items: flex-start;
}
.notice-box .n-ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; }
.notice-box .n-ico svg { width: 20px; height: 20px; }
.notice-box b { color: var(--orange-deep); }

/* ============================================================
   アクセス
============================================================ */
.access-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: stretch; }
@media (max-width: 860px) { .access-grid { grid-template-columns: 1fr; } }
.access-grid .map-ph { border-radius: var(--r); min-height: 320px; height: 100%; }
.map-embed { border-radius: var(--r); overflow: hidden; min-height: 360px; height: 100%; box-shadow: 0 12px 34px rgba(28,80,116,0.12); background: var(--mint); }
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; display: block; border: 0; }
.access-info { background: #fff; border-radius: var(--r); padding: 34px; box-shadow: 0 10px 30px rgba(43,122,114,0.07); }
.access-info dl { display: grid; grid-template-columns: 96px 1fr; row-gap: 14px; font-size: 18px; }
.access-info dt { font-weight: 700; color: var(--teal-deep); }
.access-info .a-tel {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-weight: 700; font-size: clamp(32px, 3.4vw, 40px); color: var(--teal-deep); line-height: 1.2; margin: 22px 0 4px;
}
.access-info .a-tel::before {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h5l2 5-3 2c1 2.5 3.5 5 6 6l2-3 5 2v5c0 1-1 2-2 2C10 23 1 14 1 5c0-1 1-2 2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h5l2 5-3 2c1 2.5 3.5 5 6 6l2-3 5 2v5c0 1-1 2-2 2C10 23 1 14 1 5c0-1 1-2 2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ============================================================
   相談CTA（濃紺フルバンド・大型英字・大きな電話番号）
============================================================ */
.reserve-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(rgba(255,255,255,0.055) 1.6px, transparent 1.7px),
    linear-gradient(130deg, var(--teal-deep) 0%, #12395c 55%, #0d2b47 100%);
  background-size: 28px 28px, auto;
  padding: 120px 0 130px;
}
.reserve-band::before {
  content: "Contact us"; position: absolute; left: 2%; top: -18px; z-index: 0;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(90px, 15vw, 212px); line-height: 1; white-space: nowrap;
  color: rgba(255,255,255,0.05); pointer-events: none; user-select: none;
}
.reserve-band::after {
  content: ""; position: absolute; right: -140px; bottom: -160px; width: 420px; height: 420px;
  border-radius: 55% 45% 52% 48% / 46% 54% 46% 54%;
  background: rgba(255,255,255,0.04); pointer-events: none;
}
.reserve-card { position: relative; z-index: 1; text-align: center; color: #fff; }
.reserve-card h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(27px, 3.4vw, 40px); letter-spacing: 0.14em; line-height: 1.9;
  color: #fff; margin-bottom: 18px;
}
.reserve-card p { font-size: 18px; color: rgba(255,255,255,0.72); margin-bottom: 48px; }
.reserve-card .r-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 880px; margin: 0 auto; }
@media (max-width: 860px) { .reserve-card .r-cols { grid-template-columns: 1fr; max-width: 480px; } }
.reserve-card .r-col .r-label { white-space: nowrap; }
.reserve-card .r-col {
  padding: 36px 18px; border-radius: 24px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(2px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.reserve-card .r-col .r-label {
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(19px, 2vw, 22px);
  letter-spacing: 0.18em; color: #fff;
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 4px;
}
.reserve-card .r-col .r-label::before, .reserve-card .r-col .r-label::after { content: ""; width: 26px; height: 2.5px; border-radius: 2px; background: var(--orange); }
.reserve-card .r-col .a-tel {
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(28px, 3vw, 39px); color: #fff; line-height: 1.2;
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap; max-width: 100%;
  transition: opacity 0.3s;
}
.reserve-card .r-col .a-tel:hover { opacity: 0.85; }
.reserve-card .r-col .a-tel::before {
  content: ""; flex-shrink: 0; width: 0.78em; height: 0.78em; background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h5l2 5-3 2c1 2.5 3.5 5 6 6l2-3 5 2v5c0 1-1 2-2 2C10 23 1 14 1 5c0-1 1-2 2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h5l2 5-3 2c1 2.5 3.5 5 6 6l2-3 5 2v5c0 1-1 2-2 2C10 23 1 14 1 5c0-1 1-2 2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.reserve-card .r-col .btn { width: 100%; max-width: 340px; }
.reserve-card .r-col small { font-size: 14px; color: rgba(255,255,255,0.55); }

/* ============================================================
   下層ページヒーロー（ミント＋波）
============================================================ */
.page-hero { background: var(--mint); padding: 72px 0 48px; text-align: center; position: relative; overflow: hidden; }
.page-hero .en-sub {
  display: block;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(46px, 9vw, 98px); line-height: 1; letter-spacing: 0.01em;
  color: rgba(43,120,168,0.15); text-transform: none;
  white-space: nowrap;
  margin-bottom: -0.36em;
  pointer-events: none; user-select: none;
}
.page-hero h1 { position: relative; font-family: var(--font-serif); font-weight: 600; font-size: clamp(29px, 4vw, 44px); letter-spacing: 0.16em; color: var(--ink); }
.page-hero .crumb { position: relative; margin-top: 20px; font-size: 13.5px; font-family: var(--font-en); font-weight: 600; letter-spacing: 0.1em; color: var(--sub); }
.page-hero .crumb a:hover { color: var(--teal); }
.page-hero .crumb .sep { margin: 0 8px; opacity: 0.5; }
.page-hero + .wave.outof-mint { background: var(--mint); color: #fff; transform: none; }
.page-hero + .wave.outof-mint svg { transform: rotate(180deg); }

/* ---------- テーブル ---------- */
.soft-table tr { border-bottom: 1px dashed var(--line); }
.soft-table th, .soft-table td { text-align: left; padding: 18px 14px; font-size: 18px; vertical-align: top; }
.soft-table th { width: 180px; color: var(--teal-deep); font-weight: 700; }
@media (max-width: 620px) {
  .soft-table, .soft-table tbody, .soft-table tr, .soft-table th, .soft-table td { display: block; width: 100%; }
  .soft-table th { padding-bottom: 0; }
  .soft-table td { padding-top: 2px; }
}
.card-white { background: #fff; border-radius: var(--r); padding: 40px; box-shadow: 0 12px 34px rgba(43,122,114,0.08); }
@media (max-width: 640px) { .card-white { padding: 26px 20px; } }

/* ============================================================
   forms
============================================================ */
.form-row { margin-bottom: 26px; }
.form-row label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.req-mark { font-size: 12.5px; background: var(--orange); color: #fff; padding: 2px 12px; border-radius: 999px; font-weight: 700; }
.opt-mark { font-size: 12.5px; background: var(--mint); color: var(--teal-deep); padding: 2px 12px; border-radius: 999px; font-weight: 700; }
.form-row input[type=text], .form-row input[type=email], .form-row input[type=tel], .form-row select, .form-row textarea {
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--line); border-radius: 14px; background: #fff;
  font-size: 18px; transition: border-color 0.3s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--teal); }
.form-row textarea { resize: vertical; min-height: 150px; }
.privacy-agree { background: var(--mint); border-radius: 18px; padding: 22px; margin: 30px 0; font-size: 18px; }
.privacy-agree label { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; margin-top: 12px; }
.error-msg { color: #cf4a3d; font-size: 18px; margin-top: 6px; display: block; }
.confirm-table th { color: var(--teal-deep); font-weight: 700; width: 170px; }
.confirm-table tr { border-bottom: 1px dashed var(--line); }
.confirm-table th, .confirm-table td { text-align: left; padding: 15px 10px; font-size: 18px; }

/* ============================================================
   footer（白ベース・大型英字ウォーターマーク）
============================================================ */
.site-footer { background: #fff; position: relative; overflow: hidden; }
.site-footer .f-inner { padding-top: 26px; padding-bottom: 64px; }
.site-footer .f-watermark {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(48px, 8.6vw, 110px); line-height: 1.15; white-space: nowrap;
  color: rgba(43,120,168,0.08);
  margin: 14px 0 30px;
  pointer-events: none; user-select: none;
}
.site-footer .f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
@media (max-width: 860px) { .site-footer .f-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer .brand .name { font-size: 21px; }
.site-footer .f-addr { font-size: 18px; color: var(--sub); margin: 18px 0 16px; }
.site-footer .f-tel {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-weight: 700; font-size: 30px; color: var(--teal-deep); line-height: 1.2;
  transition: color 0.3s;
}
.site-footer .f-tel:hover { color: var(--teal); text-decoration: none; }
.site-footer .f-tel::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h5l2 5-3 2c1 2.5 3.5 5 6 6l2-3 5 2v5c0 1-1 2-2 2C10 23 1 14 1 5c0-1 1-2 2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h5l2 5-3 2c1 2.5 3.5 5 6 6l2-3 5 2v5c0 1-1 2-2 2C10 23 1 14 1 5c0-1 1-2 2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.site-footer .f-tel small { font-family: var(--font-jp); font-weight: 500; font-size: 13px; color: var(--sub); }
.site-footer h4 {
  font-family: var(--font-serif); font-weight: 600; font-size: 18px; color: var(--ink); letter-spacing: 0.14em;
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
  position: relative;
}
.site-footer h4::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 34px; height: 2px; background: var(--orange); }
.site-footer li { margin-bottom: 11px; font-size: 18px; }
.site-footer li a { display: inline-flex; align-items: baseline; gap: 9px; color: var(--text); transition: color 0.3s; }
.site-footer li a::before { content: "—"; font-size: 12px; color: var(--teal-pale); }
.site-footer li a:hover { color: var(--teal); text-decoration: none; }
.site-footer .f-bottom { border-top: 1px solid var(--line); padding: 20px 0 24px; text-align: center; font-family: var(--font-en); font-weight: 600; font-size: 12.5px; letter-spacing: 0.22em; color: var(--sub); }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: 0.35s var(--ease); z-index: 960;
  box-shadow: 0 8px 22px rgba(43,122,114,0.3);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--teal-deep); }
.to-top svg { width: 17px; height: 17px; }
@media (max-width: 1200px) { .to-top { bottom: 76px; } }

/* ---------- reveal ---------- */
.reveal, .reveal-l, .reveal-r, .reveal-down, .reveal-pop {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal { transform: translateY(40px); }
.reveal-l { transform: translateX(-48px); }
.reveal-r { transform: translateX(48px); }
.reveal-down { transform: translateY(-36px); }
.reveal-pop { transform: scale(0.88); }
.reveal.is-inview, .reveal-l.is-inview, .reveal-r.is-inview, .reveal-down.is-inview { opacity: 1; transform: none; }
.reveal-pop.is-inview { opacity: 1; transform: scale(1); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

[data-plx] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-l, .reveal-r, .reveal-down, .reveal-pop { opacity: 1; transform: none; transition: none; }
  [data-plx] { transform: none !important; }
}

.text-center { text-align: center; }
.gallery3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery3 .g-item .ph { border-radius: 18px; }
.gallery3 .g-item p { text-align: center; font-size: 14.5px; font-weight: 700; color: var(--teal-deep); margin-top: 10px; }
@media (max-width: 768px) { .gallery3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .gallery3 { grid-template-columns: 1fr; } }

/* ============================================================
   仏光殿暮らしの相談室 専用の追加コンポーネント
   （パンフレットのトーン&マナーを再現するための拡張）
============================================================ */

/* ---- ヒーロー下の帯コピー ---- */
.tagline-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(rgba(255,255,255,0.05) 1.4px, transparent 1.5px),
    linear-gradient(120deg, var(--teal-deep), #12395c);
  background-size: 24px 24px, auto;
  color: #fff; text-align: center;
  padding: 38px 20px;
  font-family: var(--font-serif); font-size: clamp(19px, 2.4vw, 26px); font-weight: 600; letter-spacing: 0.18em;
}
.tagline-band small { display: block; font-family: var(--font-jp); font-weight: 500; font-size: 15px; letter-spacing: 0.2em; color: var(--teal-pale); margin-top: 10px; }

/* ---- 汎用リード文 ---- */
.lead-p { max-width: 760px; margin: 0 auto; text-align: center; font-size: 18px; color: var(--text); }
.lead-p .em { color: var(--teal); font-weight: 700; }
.mt-s { margin-top: 20px; } .mt-m { margin-top: 40px; } .mt-l { margin-top: 64px; }

/* ---- ご依頼の流れ（番号アロー・横並び） ---- */
.flow4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .flow4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .flow4 { grid-template-columns: 1fr; } }
.flow4 .fl {
  position: relative; background: #fff; border-radius: 18px; padding: 28px 22px;
  box-shadow: 0 10px 28px rgba(28,80,116,0.08); border: 1px solid var(--line);
}
.flow4 .fl .fl-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 66px; height: 66px; border-radius: 50%; background: var(--teal); color: #fff;
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 29px; margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(28,80,116,0.25);
}
.flow4 .fl h3 { font-family: var(--font-serif); font-size: 20px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.flow4 .fl p { font-size: 18px; color: var(--sub); }
.flow4 .fl:not(:last-child)::after {
  content: "▶"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  color: var(--teal-pale); font-size: 18px; z-index: 2;
}
@media (max-width: 860px) { .flow4 .fl::after { display: none !important; } }

/* ---- チェックリスト（不安の心当たり） ---- */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
@media (max-width: 680px) { .checklist { grid-template-columns: 1fr; } }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start; font-size: 18px; color: var(--text);
  padding: 12px 4px; border-bottom: 1px dashed var(--line);
}
.checklist li::before {
  content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px;
  background: var(--mint); color: var(--teal); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* ---- サービス一覧（大型アイコン・英字ナンバー・円形矢印） ---- */
.svc-list { display: grid; gap: 24px; }
.svc-row {
  position: relative;
  display: grid; grid-template-columns: 64px 108px 1fr 58px; gap: 30px; align-items: center;
  background: #fff; border-radius: 28px; padding: 34px 44px 34px 36px;
  box-shadow: 0 12px 34px rgba(28,80,116,0.07);
  border: 1px solid var(--line);
  transition: 0.4s var(--ease);
  overflow: hidden;
}
.svc-row::after {
  content: ""; position: absolute; right: -50px; top: -50px; width: 150px; height: 150px;
  border-radius: 50%; background: color-mix(in srgb, var(--sv) 7%, #fff);
  transition: transform 0.45s var(--ease); pointer-events: none;
}
.svc-row:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(28,80,116,0.14); border-color: color-mix(in srgb, var(--sv) 40%, #fff); }
.svc-row:hover::after { transform: scale(1.5); }
.svc-row .sr-no {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 48px; line-height: 1; color: var(--sv); text-align: center;
}
.svc-row .sr-no small {
  display: block; font-style: normal; font-family: var(--font-en); font-weight: 700;
  font-size: 11px; letter-spacing: 0.26em; color: var(--sub); margin-top: 8px;
}
.svc-row .sr-ico {
  width: 108px; height: 108px; border-radius: 50%;
  background: color-mix(in srgb, var(--sv) 12%, #fff);
  color: var(--sv); display: flex; align-items: center; justify-content: center;
  transition: 0.4s var(--ease);
}
.svc-row .sr-ico svg { width: 52px; height: 52px; }
.svc-row:hover .sr-ico { background: var(--sv); color: #fff; }
.svc-row .sr-body { position: relative; z-index: 1; }
.svc-row .sr-body h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: var(--ink); margin-bottom: 6px; letter-spacing: 0.08em; }
.svc-row .sr-body .sr-tag { display: inline-block; font-size: 13.5px; font-weight: 700; color: #fff; background: var(--sv); border-radius: 999px; padding: 3px 14px; margin-bottom: 10px; letter-spacing: 0.08em; }
.svc-row .sr-body p { font-size: 18px; color: var(--sub); }
.svc-row .sr-more {
  position: relative; z-index: 1;
  flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%;
  border: 1.5px solid var(--sv); color: var(--sv);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 700; font-size: 21px;
  transition: 0.4s var(--ease);
}
.svc-row:hover .sr-more { background: var(--sv); color: #fff; transform: translateX(5px); }
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 76px 1fr; grid-template-rows: auto auto; padding: 26px 24px; gap: 8px 18px; }
  .svc-row .sr-no { grid-column: 2; grid-row: 1; text-align: left; font-size: 28px; display: flex; align-items: baseline; gap: 10px; }
  .svc-row .sr-no small { margin-top: 0; }
  .svc-row .sr-ico { grid-column: 1; grid-row: 1 / 3; width: 76px; height: 76px; align-self: start; }
  .svc-row .sr-ico svg { width: 38px; height: 38px; }
  .svc-row .sr-body { grid-column: 2; grid-row: 2; }
  .svc-row .sr-body h3 { font-size: 21px; }
  .svc-row .sr-more { display: none; }
}

/* サービス詳細ブロック（色帯見出し） */
.svc-detail { background: #fff; border-radius: var(--r); box-shadow: 0 12px 34px rgba(28,80,116,0.08); overflow: hidden; margin-bottom: 40px; scroll-margin-top: calc(var(--infobar-h) + var(--header-h) + 20px); }
.svc-detail .sd-head {
  display: flex; align-items: center; gap: 18px; padding: 24px 34px;
  background: var(--sv); color: #fff;
}
.svc-detail .sd-head .sd-ico { width: 74px; height: 74px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.18); border-radius: 22px; }
.svc-detail .sd-head .sd-ico svg { width: 40px; height: 40px; }
.svc-detail .sd-head h3 { font-family: var(--font-serif); font-size: clamp(23px, 2.8vw, 30px); font-weight: 600; letter-spacing: 0.1em; }
.svc-detail .sd-head .sd-en { display: block; font-family: var(--font-en); font-size: 12.5px; letter-spacing: 0.2em; opacity: 0.8; font-weight: 600; }
/* 見出し横の注記バッジ（例：介護保険適用外） */
.svc-detail .sd-head h3 .sd-note {
  display: inline-block; margin-left: 12px; vertical-align: middle;
  background: rgba(255,255,255,0.22); border: 1px solid rgba(255,255,255,0.42);
  border-radius: 999px; padding: 4px 15px;
  font-family: var(--font-jp); font-size: 14.5px; font-weight: 700; letter-spacing: 0.06em;
}
@media (max-width: 600px) {
  .svc-detail .sd-head h3 .sd-note { display: block; margin: 8px 0 0; font-size: 13.5px; padding: 3px 12px; }
}
.svc-detail .sd-body { padding: 30px 34px 36px; }
.svc-detail .sd-body > p { font-size: 18px; color: var(--text); }
@media (max-width: 600px) { .svc-detail .sd-head { padding: 20px 22px; } .svc-detail .sd-body { padding: 24px 22px 28px; } }
.sd-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
@media (max-width: 760px) { .sd-feats { grid-template-columns: 1fr; } }
.sd-feats .sdf { background: var(--cream); border-radius: 16px; padding: 20px 22px; }
.sd-feats .sdf h4 { font-size: 18px; color: var(--ink); font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.sd-feats .sdf h4::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sv); flex-shrink: 0; }
.sd-feats .sdf p { font-size: 18px; color: var(--sub); }

/* 施設向け：サポート項目の補足リスト（□）と要点タグ（■） */
.sd-feats .sdf .sdf-list { margin-top: 11px; display: grid; gap: 6px; }
.sd-feats .sdf .sdf-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 18px; color: var(--text); line-height: 1.75; }
.sd-feats .sdf .sdf-list li::before {
  content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-top: 0.55em;
  border: 1.5px solid var(--sv); border-radius: 3px;
}
.sd-feats .sdf .sdf-tag {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 13px;
  font-size: 18px; font-weight: 700; color: var(--orange-deep); line-height: 1.7;
}
.sd-feats .sdf .sdf-tag::before { content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-top: 0.45em; background: var(--orange); }

/* 施設向け：「こんなお悩み」→ 解決の導線ボックス */
.trouble-solve {
  display: grid; grid-template-columns: 1fr auto 300px; gap: 30px; align-items: center;
  background: #fff; border: 2px solid var(--orange); border-radius: var(--r);
  padding: 34px 36px; box-shadow: 0 12px 34px rgba(28,80,116,0.07);
}
.trouble-solve .ts-title {
  font-family: var(--font-serif); font-size: clamp(19px, 2.2vw, 23px); font-weight: 600;
  color: var(--ink); letter-spacing: 0.06em; margin-bottom: 18px;
}
.trouble-solve .checklist { grid-template-columns: 1fr; gap: 10px; }
.trouble-solve .ts-arrow { color: var(--orange); font-family: var(--font-en); font-size: 32px; font-weight: 700; line-height: 1; }
.trouble-solve .ts-answer {
  background: var(--orange); color: #fff; border-radius: 16px; padding: 24px 22px;
  text-align: center; font-weight: 700; font-size: 18px; line-height: 1.95; letter-spacing: 0.03em;
}
@media (max-width: 900px) {
  .trouble-solve { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; }
  .trouble-solve .ts-arrow { text-align: center; transform: rotate(90deg); }
}

/* ---- 料金テーブル ---- */
.price-table { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 10px 30px rgba(28,80,116,0.07); }
.price-table caption { text-align: left; font-family: var(--font-serif); font-weight: 600; color: #fff; background: linear-gradient(120deg, var(--teal-deep), #14456b); padding: 19px 28px; font-size: 20px; letter-spacing: 0.12em; }
.price-table th, .price-table td { padding: 16px 24px; border-bottom: 1px dashed var(--line); font-size: 18px; vertical-align: middle; }
.price-table th { text-align: left; color: var(--text); font-weight: 500; }
.price-table td { text-align: right; white-space: nowrap; font-weight: 700; color: var(--teal-deep); }
.price-table td .en { font-family: var(--font-display); font-weight: 600; font-size: 26px; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: none; }
.price-note { margin-top: 14px; font-size: 18px; color: var(--sub); }
.price-note li { padding-left: 1.2em; text-indent: -1.2em; }
.price-note li::before { content: "※ "; color: var(--teal); }
@media (max-width: 560px) {
  .price-table th, .price-table td { padding: 13px 16px; font-size: 18px; }
  .price-table td .en { font-size: 19px; }
}

/* ---- 会員プランカード ---- */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 820px) { .plan-grid { grid-template-columns: 1fr; } }
.plan {
  background: #fff; border-radius: var(--r); padding: 34px 32px 36px;
  box-shadow: 0 14px 40px rgba(28,80,116,0.1); border: 2px solid var(--line); position: relative;
}
.plan.is-recommend { border-color: var(--orange); }
.plan .plan-badge { position: absolute; top: -14px; left: 32px; background: var(--orange); color: #fff; font-size: 18px; font-weight: 700; padding: 5px 18px; border-radius: 999px; }
.plan .plan-no { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--teal-pale); font-size: 24px; letter-spacing: 0.06em; }
.plan h3 { font-family: var(--font-serif); font-size: 28px; color: var(--ink); font-weight: 600; margin: 6px 0 8px; letter-spacing: 0.08em; }
.plan .plan-target { font-size: 18px; color: var(--sub); margin-bottom: 22px; }
.plan .plan-fees { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.plan .plan-fee { background: var(--mint); border-radius: 14px; padding: 16px; text-align: center; }
.plan .plan-fee .pf-label { font-size: 18px; color: var(--sub); font-weight: 700; }
.plan .plan-fee .pf-val { font-family: var(--font-display); font-weight: 600; color: var(--teal-deep); font-size: 29px; line-height: 1.3; }
.plan .plan-fee .pf-val small { font-family: var(--font-jp); font-size: 18px; }
.plan ul.plan-inc li { font-size: 18px; color: var(--text); padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed var(--line); }
.plan ul.plan-inc li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
@media (max-width: 640px) { .plan .plan-fee .pf-val { font-size: 27px; } }

/* ---- 比較表（家族/友人 vs サービス） ---- */
.cmp-table { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 10px 30px rgba(28,80,116,0.08); }
.cmp-table th, .cmp-table td { padding: 16px 18px; font-size: 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table thead th { background: var(--teal-deep); color: #fff; font-weight: 700; text-align: center; }
.cmp-table thead th.col-us { background: var(--teal); }
.cmp-table tbody th { font-weight: 700; color: var(--ink); background: var(--cream); white-space: nowrap; }
.cmp-table .tag-ng { display: inline-block; font-size: 12.5px; font-weight: 700; color: #fff; background: #c96a5f; border-radius: 5px; padding: 1px 8px; margin-right: 6px; }
.cmp-table .tag-ok { display: inline-block; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--teal); border-radius: 5px; padding: 1px 8px; margin-right: 6px; }
.cmp-table td.col-us { background: var(--mint); }
@media (max-width: 640px) { .cmp-table th, .cmp-table td { padding: 12px 12px; font-size: 18px; } }

/* ---- ステップカード（身元保証の解説） ---- */
.step-list { display: grid; gap: 20px; }
.step-item { display: grid; grid-template-columns: 96px 1fr; gap: 24px; background: #fff; border-radius: var(--r); padding: 26px 30px; box-shadow: 0 8px 24px rgba(28,80,116,0.07); }
.step-item .st-no { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 24px; background: var(--mint); color: var(--teal-deep); }
.step-item .st-no b { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 40px; line-height: 1; }
.step-item .st-no small { font-size: 11px; letter-spacing: 0.24em; font-weight: 700; color: var(--teal); margin-top: 6px; }
.step-item h3 { font-family: var(--font-serif); font-size: 22px; color: var(--ink); font-weight: 600; margin-bottom: 8px; letter-spacing: 0.06em; }
.step-item p { font-size: 18px; color: var(--sub); }
.step-item p + p { margin-top: 10px; }
.step-item ul.st-inc { margin: 12px 0; }
.step-item ul.st-inc li {
  position: relative; padding-left: 22px;
  font-size: 18px; color: var(--text); line-height: 1.9;
}
.step-item ul.st-inc li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  color: var(--teal); font-weight: 700; font-size: 18px;
}
@media (max-width: 600px) { .step-item { grid-template-columns: 64px 1fr; gap: 16px; padding: 22px; } .step-item .st-no { width: 64px; height: 64px; border-radius: 14px; } .step-item .st-no b { font-size: 24px; } }

/* ---- 悩みカード（アイコン＋テキスト） ---- */
.worry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .worry-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .worry-grid { grid-template-columns: 1fr; } }
.worry { background: #fff; border-radius: 18px; padding: 26px 22px; text-align: center; box-shadow: 0 8px 24px rgba(28,80,116,0.06); }
.worry .w-ico { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: var(--mint); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.worry .w-ico svg { width: 42px; height: 42px; }
.worry p { font-size: 18px; color: var(--text); }

/* ---- 提携法人カード ---- */
.partner { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; background: #fff; border-radius: 18px; padding: 24px 28px; box-shadow: 0 8px 24px rgba(28,80,116,0.06); border: 1px solid var(--line); }
.partner + .partner { margin-top: 18px; }
.partner .p-tags { display: flex; flex-direction: column; gap: 8px; }
.partner .p-tags span { font-size: 14.5px; font-weight: 700; color: #fff; border-radius: 8px; padding: 7px 14px; text-align: center; }
.partner .p-name b { font-size: 20px; color: var(--ink); }
.partner .p-name p { font-size: 18px; color: var(--sub); margin-top: 6px; }
@media (max-width: 620px) { .partner { grid-template-columns: 1fr; gap: 16px; } .partner .p-tags { flex-direction: row; flex-wrap: wrap; } }

/* ---- 強調ポイントボックス ---- */
.point-box { background: var(--mint); border-radius: var(--r); padding: 42px 38px; text-align: center; position: relative; }
.point-box::before, .point-box::after {
  font-family: var(--font-display); font-style: italic; font-size: 76px; line-height: 1;
  color: var(--teal-pale); position: absolute; opacity: 0.55;
}
.point-box::before { content: "\201C"; left: 18px; top: 4px; }
.point-box::after { content: "\201D"; right: 18px; bottom: -22px; }
.point-box .pb-lead { font-family: var(--font-serif); font-size: clamp(21px, 2.8vw, 29px); font-weight: 600; color: var(--teal-deep); letter-spacing: 0.1em; line-height: 1.9; }
.point-box .pb-lead .marker { background: linear-gradient(transparent 60%, #ffe9a8 60%); padding: 0 4px; }
.point-box p { font-size: 18px; color: var(--text); margin-top: 14px; }
@media (max-width: 600px) { .point-box { padding: 24px 20px; } }

/* リンク化されたpoint-box（会員登録費用→登録ページ誘導など） */
a.point-box.is-link {
  display: block; text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 0 0 rgba(43,122,114,0);
}
a.point-box.is-link:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(28,80,116,0.16); }
a.point-box.is-link .pb-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; font-size: 18px; font-weight: 700; color: var(--teal-deep);
  background: #fff; border-radius: 999px; padding: 10px 22px;
}
a.point-box.is-link .pb-cta::after { content: "→"; transition: transform 0.3s var(--ease); }
a.point-box.is-link:hover .pb-cta::after { transform: translateX(4px); }

/* お知らせ カテゴリタブ（アクティブ切替） */
.round-tabs button { transition: 0.25s var(--ease); }
.round-tabs button.is-active { background: var(--teal) !important; color: #fff !important; }

/* サービス色ユーティリティ */
.sv-life   { --sv: var(--sv-life); }
.sv-guar   { --sv: var(--sv-guar); }
.sv-care   { --sv: var(--sv-care); }
.sv-intro  { --sv: var(--sv-intro); }
.sv-asset  { --sv: var(--sv-asset); }
.sv-will   { --sv: var(--sv-will); }
.sv-fune   { --sv: var(--sv-fune); }
.sv-estate { --sv: var(--sv-estate); }

/* ---- 人生のステージ表（パンフ4-5「人生に寄り添うトータルサポート」） ---- */
.stage-list { display: grid; gap: 26px; }
.stage {
  display: grid; grid-template-columns: 250px 1fr 1.4fr;
  background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 12px 34px rgba(28,80,116,0.08); border: 1px solid var(--line);
}
.stage .st-stage {
  background: color-mix(in srgb, var(--sv) 9%, #fff);
  padding: 30px 26px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.stage .st-stage .st-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--sv); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 26px;
}
.stage .st-stage h3 { font-family: var(--font-serif); font-size: 23px; font-weight: 600; color: var(--ink); line-height: 1.6; letter-spacing: 0.06em; }
.stage .st-stage small { font-size: 14.5px; color: var(--sub); font-weight: 700; }
.stage .st-stage .st-illust { align-self: center; margin-top: auto; width: auto; max-width: 78%; max-height: 150px; padding-top: 10px; }
.stage .st-voice { padding: 30px 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.stage .st-voice p { width: 100%; }
.stage .st-voice .st-item { flex-shrink: 0; width: auto; max-width: 170px; max-height: 116px; }
.stage .st-voice p {
  position: relative; width: 100%;
  background: var(--cream); border-radius: 18px; padding: 20px 22px;
  font-size: 18px; color: var(--text);
}
.stage .st-voice p::before { content: "\201C"; position: absolute; left: 10px; top: -14px; font-family: var(--font-display); font-style: italic; font-size: 46px; color: var(--teal-pale); }
.stage .st-support { padding: 30px 32px 28px; border-left: 1px dashed var(--line); }
.stage .st-support h4 { font-family: var(--font-serif); color: var(--sv); font-size: 21.5px; font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; letter-spacing: 0.05em; }
.stage .st-support h4::before { content: ""; flex-shrink: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--sv); }
.stage .st-support > p { font-size: 18px; color: var(--sub); margin-bottom: 16px; }
.stage .st-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stage .st-chips span {
  font-size: 18px; font-weight: 700; color: var(--sv);
  background: color-mix(in srgb, var(--sv) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--sv) 35%, #fff);
  border-radius: 999px; padding: 5px 15px;
}
@media (max-width: 960px) {
  .stage { grid-template-columns: 1fr; }
  .stage .st-stage { flex-direction: row; align-items: center; padding: 22px 24px; }
  .stage .st-stage .st-illust { margin-top: 0; margin-left: auto; max-height: 88px; max-width: 30%; padding-top: 0; }
  .stage .st-voice { padding: 22px 24px 6px; }
  .stage .st-voice .st-item { max-width: 84px; max-height: 80px; }
  .stage .st-support { border-left: none; padding: 20px 24px 26px; }
}

/* ---- 安心コンシェルジュ（パンフ4-5左） ---- */
.concierge {
  background: #fff; border-radius: 28px; padding: 52px 42px 46px;
  box-shadow: 0 14px 40px rgba(28,80,116,0.09); border: 1px solid var(--line);
  text-align: center;
}
@media (max-width: 640px) { .concierge { padding: 34px 22px 30px; } }
.concierge .cg-badge {
  display: inline-block; background: var(--teal-deep); color: #fff;
  border-radius: 999px; font-size: 14.5px; font-weight: 700; letter-spacing: 0.14em;
  padding: 7px 24px; margin-bottom: 16px;
}
.concierge h3 { font-family: var(--font-serif); font-size: clamp(23px, 2.8vw, 30px); color: var(--ink); font-weight: 600; letter-spacing: 0.1em; line-height: 1.8; }
.concierge .cg-note { font-size: 18px; color: var(--sub); margin-top: 10px; }
.cg-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.cg-chips span { font-size: 18px; font-weight: 700; color: #fff; border-radius: 999px; padding: 10px 24px; letter-spacing: 0.06em; }
.cg-img { max-width: 860px; margin: 26px auto 0; }
.cg-img img { width: 100%; height: auto; display: block; }

/* ---- 行政ができること／できないこと（パンフ8-9） ---- */
.gov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
@media (max-width: 780px) { .gov-grid { grid-template-columns: 1fr; } }
.gov { background: #fff; border-radius: 22px; padding: 32px 32px 30px; box-shadow: 0 10px 30px rgba(28,80,116,0.07); border-top: 6px solid var(--teal); }
.gov.gov-ng { border-top-color: #c96a5f; }
.gov h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.gov h3 small { display: block; font-family: var(--font-jp); font-size: 18px; font-weight: 700; color: var(--sub); margin-top: 4px; letter-spacing: 0.1em; }
.gov ul { margin-top: 16px; }
.gov li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; color: var(--text); padding: 11px 0; border-bottom: 1px dashed var(--line); }
.gov li::before {
  content: "○"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px;
  background: var(--mint); color: var(--teal); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; margin-top: 3px;
}
.gov.gov-ng li::before { content: "✕"; background: #f7ebe9; color: #c96a5f; }

/* ---- 自分で探すと vs コンシェルジュサポート（パンフ16-17） ---- */
.vs-grid { display: grid; grid-template-columns: 1fr 54px 1fr; gap: 14px; align-items: stretch; }
@media (max-width: 820px) { .vs-grid { grid-template-columns: 1fr; } .vs-arrow { transform: rotate(90deg); margin: -4px auto; } }
.vs-arrow { align-self: center; text-align: center; color: var(--teal); font-size: 28px; font-weight: 700; }
.vs-card { background: #fff; border-radius: 22px; padding: 30px 30px 26px; box-shadow: 0 10px 30px rgba(28,80,116,0.07); }
.vs-card.is-bad { background: #f3f4f5; box-shadow: none; border: 1px solid #e3e6e8; }
.vs-card h3 { text-align: center; font-size: 17.5px; font-weight: 700; color: #fff; background: var(--teal); border-radius: 999px; padding: 8px 12px; margin-bottom: 20px; letter-spacing: 0.05em; }
/* 2カラム幅が狭いときも「私たちのコンシェルジュサポートなら」を1行に収める（スマホ幅は sp-br で意図的に2行） */
@media (min-width: 821px) and (max-width: 1100px) { .vs-card { padding: 26px 18px 22px; } .vs-card h3 { font-size: 16px; letter-spacing: 0.02em; padding: 8px 6px; } }
.vs-card.is-bad h3 { background: #8b979e; }
.vs-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 18px; color: var(--text); padding: 8px 0; }
.vs-card li::before { content: "✓"; flex-shrink: 0; width: 21px; height: 21px; border-radius: 50%; background: var(--mint); color: var(--teal); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.vs-card.is-bad li::before { content: "！"; background: #e8eaec; color: #8b979e; }
.vs-card .vs-foot { margin-top: 16px; text-align: center; font-size: 18px; font-weight: 700; color: var(--teal-deep); background: var(--mint); border-radius: 12px; padding: 12px 10px; }
.vs-card.is-bad .vs-foot { color: #6f7b82; background: #e8eaec; }

/* ---- 会員サービス（パンフ2-3「会員になると受けられるサービス」） ---- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit-grid .bf { background: #fff; border-radius: 18px; padding: 24px 24px 20px; box-shadow: 0 8px 24px rgba(28,80,116,0.06); border: 1px solid var(--line); }
.benefit-grid .bf h4 { font-size: 17.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.benefit-grid .bf h4::before { content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); color: var(--teal); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.benefit-grid .bf p { font-size: 18px; color: var(--sub); }

/* 3ステップ版フロー */
.flow4.flow3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .flow4.flow3 { grid-template-columns: 1fr; } }

/* ============================================================
   施設関係者の方へ 専用
============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

/* お困りごと → 解決 の対比カード */
.ba-col { background: #fff; border-radius: var(--r); padding: 32px 34px; box-shadow: 0 10px 30px rgba(28,80,116,0.07); border-top: 6px solid var(--teal); }
.ba-col.is-trouble { border-top-color: #c9895f; }
.ba-col h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.ba-col li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; color: var(--text); padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ba-col li:last-child { border-bottom: none; }
.ba-col li::before {
  content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px; margin-top: 2px;
  background: var(--mint); color: var(--teal); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.ba-col.is-trouble li::before { content: "!"; background: #f6e9e1; color: #c9895f; font-family: var(--font-en); }

/* ご相談事例カード */
.case { background: #fff; border-radius: var(--r); padding: 32px 34px; box-shadow: 0 10px 30px rgba(28,80,116,0.07); border: 1px solid var(--line); }
.case .case-badge { display: inline-block; background: var(--teal-deep); color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 18px; letter-spacing: 0.1em; border-radius: 999px; padding: 5px 18px; margin-bottom: 12px; }
.case h3 { font-family: var(--font-serif); font-size: 20.5px; font-weight: 600; color: var(--ink); margin-bottom: 16px; letter-spacing: 0.04em; }
.case ul { margin-bottom: 4px; }
.case li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; color: var(--text); padding: 8px 0; border-bottom: 1px dashed var(--line); }
.case li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-top: 9px; }
.case .case-result { margin-top: 18px; display: flex; gap: 12px; align-items: center; font-size: 18px; font-weight: 700; color: var(--teal-deep); background: var(--mint); border-radius: 14px; padding: 14px 18px; }
.case .case-result::before { content: "→"; font-family: var(--font-en); color: var(--teal); flex-shrink: 0; }

/* 2つのサポートへの入口カード */
.offer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .offer-nav { grid-template-columns: 1fr; } }
.offer-nav .on-body b { word-break: keep-all; }
.offer-nav a { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 30px; box-shadow: 0 10px 28px rgba(28,80,116,0.07); transition: 0.35s var(--ease); }
.offer-nav a:hover { transform: translateY(-4px); border-color: var(--teal-pale); box-shadow: 0 18px 38px rgba(28,80,116,0.14); }
.offer-nav .on-no { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 48px; line-height: 1; color: var(--teal-pale); }
.offer-nav .on-body b { display: block; font-family: var(--font-serif); font-size: 21px; font-weight: 600; color: var(--ink); letter-spacing: 0.04em; margin-bottom: 4px; }
.offer-nav .on-body span { font-size: 14.5px; color: var(--sub); }
.offer-nav .on-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--teal); color: var(--teal); display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-weight: 700; transition: 0.35s var(--ease); }
.offer-nav a:hover .on-arrow { background: var(--teal); color: #fff; }
@media (max-width: 640px) {
  .offer-nav .on-no {
    min-width: max-content;
    font-size: 34px;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
  }
  .offer-nav .on-body b { font-size: 19px; }
}

/* サポートの見出しバナー（チラシの上部バナー再現） */
.offer { scroll-margin-top: calc(var(--infobar-h) + var(--header-h) + 16px); }
.offer-banner {
  position: relative; overflow: hidden;
  background: radial-gradient(rgba(255,255,255,0.05) 1.4px, transparent 1.5px), linear-gradient(120deg, var(--teal-deep), #12395c);
  background-size: 24px 24px, auto;
  color: #fff; border-radius: 26px; padding: 44px 48px;
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
}
.offer-banner .ob-no { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(58px, 9vw, 90px); line-height: 1; color: rgba(255,255,255,0.35); }
.offer-banner .ob-chip { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; padding: 6px 20px; font-size: 14.5px; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 14px; }
.offer-banner h2 { font-family: var(--font-serif); font-size: clamp(25px, 3.2vw, 36px); font-weight: 600; color: #fff; letter-spacing: 0.06em; line-height: 1.65; }
.offer-banner h2 .accent { color: var(--orange); }
.offer-banner p { margin-top: 14px; font-size: 18px; color: rgba(255,255,255,0.82); }
@media (max-width: 640px) {
  .offer-banner { grid-template-columns: 1fr; padding: 32px 26px; gap: 10px; }
  .offer-banner .ob-no { font-size: 46px; }
}

/* 汎用マーカー下線 */
.marker { background: linear-gradient(transparent 68%, rgba(231,146,70,0.4) 68%); padding: 0 2px; }

/* ---- 会員登録費用チラシ（サムネイル＋要約。クリックで別タブ拡大） ---- */
.flyer-card {
  display: grid; grid-template-columns: 250px 1fr; gap: 38px; align-items: center;
  background: #fff; border-radius: var(--r); padding: 36px 40px;
  box-shadow: 0 12px 34px rgba(28,80,116,0.1); border: 1px solid var(--line);
}
.flyer-card .fc-thumb {
  display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 26px rgba(28,80,116,0.16);
  transition: 0.35s var(--ease);
}
.flyer-card .fc-thumb:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(28,80,116,0.24); }
.flyer-card .fc-thumb img { display: block; width: 100%; }
.flyer-card .fc-body h3 { font-family: var(--font-serif); font-size: clamp(20px, 2.3vw, 24px); font-weight: 600; color: var(--ink); letter-spacing: 0.08em; line-height: 1.75; margin-bottom: 12px; }
.flyer-card .fc-body p { font-size: 18px; color: var(--sub); margin-bottom: 24px; }
@media (max-width: 720px) {
  .flyer-card { grid-template-columns: 1fr; padding: 28px 22px; gap: 26px; }
  .flyer-card .fc-thumb { max-width: 240px; margin: 0 auto; }
  .flyer-card .fc-body { text-align: center; }
}

.pc-br {
  display: inline;
}
@media (max-width: 640px) {
  .pc-br { display: none; }
}

.sp-br {
  display: none;
}

@media (max-width: 640px) {
  .sp-br {
    display: inline;
  }
}

@media (max-width: 640px) {
.st-support h4.st-title-top {
  align-items: flex-start;
}
.st-support h4.st-title-top::before {
  align-self: flex-start;
  margin-top: 0.7em;
}

.sdf h4.st-title-top {
  align-items: flex-start;
}
.sdf h4.st-title-top::before {
  align-self: flex-start;
  margin-top: 0.7em;
}
}

/* ============================================================
   画像モーダル（チラシ拡大表示など）
============================================================ */
.img-modal {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  align-items: center; justify-content: center;
  padding: 24px;
}
.img-modal.is-open { display: flex; }
.img-modal .im-overlay {
  position: absolute; inset: 0;
  background: rgba(20, 30, 40, 0.82);
  cursor: pointer;
}
.img-modal .im-body {
  position: relative; z-index: 1;
  max-width: min(680px, 92vw);
  max-height: 88vh;
  animation: im-pop 0.25s var(--ease);
}
@keyframes im-pop {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.img-modal .im-body img {
  display: block;
  width: 100%; height: auto;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  background: #fff;
}
.img-modal .im-close {
  position: absolute; top: -18px; right: -18px;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  color: var(--ink);
  transition: 0.2s var(--ease);
}
.img-modal .im-close:hover { background: var(--orange); color: #fff; transform: rotate(90deg); }
.img-modal .im-close svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .img-modal .im-close { top: -50px; right: 0; }
}
body.img-modal-open { overflow: hidden; }

/* ============================================================
   ブログ（一覧・詳細）
============================================================ */

/* ---- タグ絞り込みタブ ---- */
.tag-tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.tag-tab {
  display: inline-block; padding: 9px 24px;
  border: 2px solid var(--teal); border-radius: 999px;
  background: #fff; color: var(--teal);
  font-weight: 700; font-size: 17px; letter-spacing: 0.04em;
  transition: 0.3s var(--ease);
}
.tag-tab:hover { background: var(--mint); }
.tag-tab.is-active { background: var(--teal); color: #fff; }

/* ---- ページ送り ---- */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 52px; }
.pager .pg-num, .pager .pg-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; height: 48px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font-weight: 700; font-size: 16px; color: var(--ink);
  transition: 0.3s var(--ease);
}
.pager a.pg-num:hover, .pager a.pg-arrow:hover { border-color: var(--teal); background: var(--mint); color: var(--teal-deep); }
.pager .pg-num.is-current { background: var(--teal); border-color: var(--teal); color: #fff; }
.pager .is-disabled { color: #b9c6cf; background: #f6f8fa; }
.pager .pg-gap { color: var(--sub); padding: 0 2px; }
.pager-info { text-align: center; margin-top: 16px; font-size: 15px; color: var(--sub); }
@media (max-width: 560px) {
  .pager .pg-num, .pager .pg-arrow { min-width: 42px; height: 42px; padding: 0 12px; font-size: 15px; }
}

/* ---- 記事詳細 ---- */
.post-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.post-meta .d { font-family: var(--font-en); font-weight: 600; font-size: 17px; color: var(--teal); }
.post-tag {
  display: inline-block; font-size: 15px; font-weight: 700;
  border: 1.5px solid var(--teal); color: var(--teal);
  border-radius: 999px; padding: 2px 14px; transition: 0.3s var(--ease);
}
.post-tag:hover { background: var(--teal); color: #fff; }
.post-tag.is-accent { border-color: var(--orange); color: var(--orange-deep); }
.post-tag.is-accent:hover { background: var(--orange); color: #fff; }

.post-title {
  font-weight: 700; font-size: clamp(23px, 2.6vw, 29px);
  color: var(--ink); line-height: 1.7; letter-spacing: 0.04em; margin-bottom: 26px;
}
.post-body { font-size: 18px; color: var(--text); }
.post-body p { margin-bottom: 18px; }
.post-body p:last-child { margin-bottom: 0; }
.post-body .post-h3 {
  font-family: var(--font-serif); font-weight: 600; font-size: 21px;
  color: var(--ink); letter-spacing: 0.06em;
  margin: 34px 0 14px; padding-left: 16px; border-left: 5px solid var(--teal);
}
.post-body .post-list { margin: 0 0 18px; padding: 0; list-style: none; }
.post-body .post-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 7px 0; border-bottom: 1px dashed var(--line);
}
.post-body .post-list li:last-child { border-bottom: none; }
.post-body .post-list li::before {
  content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); margin-top: 0.72em;
}
.post-body a { color: var(--teal); font-weight: 700; text-decoration: underline; }
.post-body a:hover { color: var(--teal-deep); }
.post-body strong { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 68%, rgba(231,146,70,0.34) 68%); padding: 0 2px; }

/* ---- 前後の記事 ---- */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.post-nav .pn-item {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 22px; transition: 0.3s var(--ease);
}
.post-nav .pn-item:hover { border-color: var(--teal); box-shadow: 0 10px 26px rgba(28,80,116,0.1); transform: translateY(-3px); }
.post-nav .pn-label { display: block; font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; color: var(--teal); margin-bottom: 6px; }
.post-nav .pn-title { display: block; font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.7; }
.post-nav .pn-next { text-align: right; }
@media (max-width: 620px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .pn-next { text-align: left; }
}

/* ---- 記事本文中の画像 ---- */
.post-body .post-figure { margin: 28px 0; }
.post-body .post-figure img {
  display: block; width: 100%; height: auto;
  border-radius: 16px; box-shadow: 0 10px 28px rgba(28,80,116,0.12);
}
.post-body .post-figure figcaption {
  margin-top: 12px; text-align: center;
  font-size: 15px; color: var(--sub); line-height: 1.8;
}
.post-body .post-img-missing {
  color: var(--sub); font-size: 15px; text-align: center;
  background: var(--cream); border-radius: 12px; padding: 22px;
}
