/* ============================================================
   harijin（鍼灸整体院テーマ）メインCSS
   静的デモ C:\dev\shinkyu-demo の style.css から派生。テーマ用の追加は末尾の「テーマ追加分」
   色・余白は :root のトークンで一元管理（差し替え時はここだけ直す）
   ============================================================ */
:root {
    /* 白ベース（ヘッダーだけ .site-header で紺黒に戻す） */
    --bg: #fbfaf7;
    --bg-2: #f5f1e9;
    --bg-3: #ede6d8;
    --card: #fff;
    --card-solid: #fff;
    --line: rgba(40, 50, 70, .12);
    --line-gold: rgba(168, 132, 58, .45);
    --gold: #a07c34;
    --gold-hi: #86662a;
    --gold-deep: #c4a25c;
    --text: #1d2430;
    --text-2: #475163;
    --muted: #687183;
    --blue: #3a64a0;
    --photo: linear-gradient(150deg, #eee8dc, #ddd4c3);
    --line-green: #06c755;
    --radius: 22px;
    --radius-sm: 14px;
    --wrap: 1180px;
    --serif: "Noto Serif JP", "Yu Mincho", serif;
    --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", system-ui, sans-serif;
    --shadow: 0 16px 40px rgba(30, 40, 60, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.8;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.serif { font-family: var(--serif); }
.gold { color: var(--gold-hi); }

/* ---------- デモ表示 ---------- */
.demo-bar {
    background: linear-gradient(90deg, var(--gold-deep), var(--gold));
    color: #1a1204; font-size: 12px; font-weight: 700; text-align: center; padding: 5px 12px; letter-spacing: .06em;
}

/* ---------- 見出しまわり ---------- */
.eyebrow {
    display: inline-block; color: var(--gold); font-size: 11.5px; font-weight: 700;
    letter-spacing: .28em; text-transform: uppercase; margin-bottom: 10px;
}
.h-sec { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.35; margin: 0 0 18px; }
.lead { color: var(--text-2); }
.center { text-align: center; }
section { padding: 88px 0; border-top: 1px solid var(--line); position: relative; }
section.tight { padding: 64px 0; }
main > section:nth-of-type(even) { background-color: var(--bg-2); }

/* ---------- ボタン ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 999px; padding: 14px 28px; font-weight: 700; font-size: 14.5px; text-decoration: none;
    letter-spacing: .04em; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; border: 0; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 10px 30px rgba(6,199,85,.35); }
.btn-ghost { background: rgba(168,132,58,.06); color: var(--gold-hi); border: 1px solid var(--line-gold); }
.btn-ghost:hover { background: rgba(168,132,58,.12); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

.chip {
    display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
    background: #f3efe7; border: 1px solid var(--line); color: var(--text-2);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.card.gold-edge { border-color: var(--line-gold); }

/* 写真の差し替え位置（デモ用） */
.photo {
    position: relative; overflow: hidden; border-radius: var(--radius);
    background: var(--photo);
    display: grid; place-items: center; color: rgba(40,50,70,.42); text-align: center;
}
.photo svg { width: 38%; max-width: 150px; opacity: .55; }
.photo .photo-label {
    position: absolute; left: 12px; bottom: 10px; font-size: 11px; letter-spacing: .06em;
    background: rgba(255,255,255,.78); color: #3b4352; border: 1px solid rgba(0,0,0,.06); padding: 3px 9px; border-radius: 999px;
}
.photo.light { background: linear-gradient(160deg, #f4f1ea, #d9d4c8); color: rgba(20,30,50,.5); }
.photo.light .photo-label { background: rgba(255,255,255,.7); color: #333; border-color: rgba(0,0,0,.08); }

/* ---------- ヘッダー ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    /* ヘッダーだけ紺黒のまま：色トークンをここで上書き */
    --text: #e9edf4; --text-2: #c3cbd8; --muted: #8793a6;
    --gold: #d6b05c; --gold-hi: #f0d28a; --line: rgba(120, 150, 200, .16);
    color: var(--text);
    background: rgba(5,10,22,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--serif); color: var(--gold-hi); font-size: 19px; line-height: 1.2; white-space: nowrap; }
.brand-sub { display: block; font-family: var(--sans); color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; }
.gnav { display: flex; gap: 20px; font-size: 13px; font-weight: 500; }
.gnav a { text-decoration: none; color: var(--text-2); padding: 6px 0; position: relative; white-space: nowrap; }
.gnav a:hover, .gnav a.current { color: #fff; }
.gnav a.current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); }
.tel-pill {
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: .02em;
    padding: 7px 16px 7px 8px; border-radius: 999px; border: 1px solid rgba(6,199,85,.45); background: rgba(6,199,85,.08); white-space: nowrap;
}
.tel-pill .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--line-green); display: grid; place-items: center; }
.tel-pill .ico svg { width: 16px; height: 16px; }
.menu-btn { display: none; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 999px; height: 36px; padding: 0 14px; color: var(--text); cursor: pointer; font: 700 11.5px/1 var(--sans); letter-spacing: .14em; }

/* ---------- トップ：ヒーロー ---------- */
.hero { padding: 110px 0 120px; border-top: 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1.38; margin: 6px 0 22px; letter-spacing: .04em; }
.hero .lead { font-size: 15px; font-weight: 500; }
.hero .chips { margin: 22px 0 30px; }
.yin {
    position: absolute; width: 300px; height: 300px; left: 38%; top: 50%; transform: translate(-50%, -50%);
    color: var(--gold); opacity: .07; pointer-events: none;
}
/* 写真は重ねずに並べる：左に上が丸いアーチの大写真、右に小写真とひと言 */
.hero-visual { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr auto; gap: 16px; }
.hero-visual .photo.main { grid-row: 1 / span 2; aspect-ratio: 4 / 5; border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius); }
.hero-visual .photo.sub { aspect-ratio: 1 / 1; align-self: end; }
.hero-note {
    padding: 18px 18px 16px; background: #fff;
    border: 1px solid var(--line-gold); border-radius: 18px; box-shadow: var(--shadow);
}
.hero-note b { display: block; font-size: 15px; margin-bottom: 8px; }
.hero-note p { margin: 0; font-size: 12.5px; color: var(--text-2); line-height: 1.9; }

/* ---------- トップ：新規限定バナー ---------- */
.offer {
    position: relative; border-radius: 26px; padding: 14px; background: #fff;
    border: 1px solid var(--line-gold); box-shadow: var(--shadow);
}
.offer-inner {
    border: 1.5px solid var(--gold); border-radius: 18px; padding: 44px 48px 30px 150px; position: relative;
    background: radial-gradient(80% 120% at 85% 20%, rgba(214,176,92,.08), transparent 60%);
}
.offer-ribbon {
    position: absolute; left: 22px; top: -1px; width: 104px; height: calc(100% - 50px);
    background: linear-gradient(180deg, #b8934a, #86662a); border: 1.5px solid var(--gold); border-top: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 26px), 0 100%);
    display: flex; justify-content: center; padding-top: 26px;
}
.offer-ribbon span {
    writing-mode: vertical-rl; font-family: var(--serif); font-size: 36px; letter-spacing: .12em; color: #fff;
}
.offer-body { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.offer-left { min-width: 0; }
.offer-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.no1 {
    font-family: var(--serif); color: #1c1405; font-size: 26px; padding: 6px 26px 4px;
    background: linear-gradient(135deg, #b88a36, #f3d991 45%, #c79a45 70%, #8e6a26);
    box-shadow: 0 6px 16px rgba(160,124,52,.2);
}
.no1 b { font-family: Georgia, serif; font-style: italic; font-size: 46px; font-weight: 700; margin-left: 6px; letter-spacing: -.02em; }
.tag-green { background: #e5f1ec; color: #1f5646; border: 1px solid #a9cdbf; font-family: var(--serif); font-size: 19px; padding: 4px 12px; }
.offer-course { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); letter-spacing: .08em; margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line-gold); }
.offer-detail { font-family: var(--serif); color: var(--gold-hi); font-size: clamp(22px, 2.6vw, 34px); letter-spacing: .1em; margin: 14px 0 0; }
.offer-detail small { color: var(--gold); font-size: .8em; }
.offer-price { text-align: center; border-left: 1px solid var(--line-gold); padding-left: 36px; }
.offer-price .label { display: inline-block; border: 1px solid var(--gold); color: var(--gold-hi); font-family: var(--serif); font-size: 20px; letter-spacing: .12em; padding: 4px 36px; }
.offer-price .yen {
    display: block; font-family: Georgia, "Noto Serif JP", serif; font-size: clamp(56px, 7vw, 92px); line-height: 1.1; margin-top: 10px;
    background: linear-gradient(180deg, #d4a947, #a57a2c 55%, #6f511b); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.offer-price .tax { font-family: var(--serif); color: var(--gold-hi); font-size: 18px; }
.offer-foot { text-align: center; font-family: var(--serif); font-size: 18px; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line-gold); letter-spacing: .06em; }

/* ---------- トップ：三本柱 ---------- */
.pillars { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 18px; margin-top: 28px; }
.pillar {
    text-align: center; padding: 30px 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
    border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s;
}
.pillar:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.pillar svg { width: 28px; height: 28px; color: var(--gold); margin: 0 auto 10px; }
.pillar b { display: block; font-size: 16px; }
.pillar small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.5; margin-top: 4px; }

/* ---------- トップ：こんなお悩みに ---------- */
.worries { display: grid; grid-template-columns: .9fr 1.4fr; gap: 40px; align-items: center; }
.worry-grid { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 10px; }
.worry {
    min-height: 78px; display: grid; place-items: center; text-align: center; padding: 10px; font-size: 13px; font-weight: 700;
    border-radius: 16px; background: #fff; border: 1px solid var(--line);
}
.worry.accent { border-color: var(--line-gold); background: #fbf5e7; color: var(--gold-hi); }

/* ---------- トップ：院長 ---------- */
.director { display: grid; grid-template-columns: 1fr 1.25fr; gap: 42px; align-items: center; }
.director .photo { aspect-ratio: 4 / 3; }
.director .director-photo { box-shadow: 18px 18px 0 var(--bg-3); border-radius: var(--radius) var(--radius) var(--radius) 120px; }
.director-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.avatar { width: 72px; height: 72px; border-radius: 50%; flex: none; border: 2px solid var(--line-gold); overflow: hidden; }
.avatar .photo { width: 100%; height: 100%; border-radius: 50%; border: 0; }
.avatar .photo svg { width: 55%; }
.director-head small { color: var(--muted); font-size: 12px; display: block; }
.director-head .name { font-family: var(--serif); font-size: 30px; letter-spacing: .08em; line-height: 1.3; }
.director-head .kana { color: var(--muted); font-size: 11.5px; }
.quote-card { padding: 28px 30px 20px; }
.quote-card .q { color: var(--gold-deep); font-family: Georgia, serif; font-size: 34px; line-height: 1; }
.quote-card p { margin: 6px 0 12px; color: var(--text-2); font-weight: 500; }
.more { display: block; text-align: right; font-size: 12.5px; color: var(--blue); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* ---------- トップ：推薦 ---------- */
.recommend .card { padding: 36px 42px 26px; max-width: 980px; margin: 26px auto 0; }
.recommend p { color: var(--text-2); font-weight: 500; }
.rec-person { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.rec-person .avatar { width: 58px; height: 58px; border-color: var(--line); }
.rec-person small { color: var(--muted); font-size: 11.5px; display: block; line-height: 1.6; }
.rec-person b { font-size: 18px; letter-spacing: .06em; }

/* ---------- トップ：アクセス ---------- */
.access .card { padding: 34px; max-width: 980px; margin-inline: auto; }
.access-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: center; }
.access h3 { font-size: 22px; margin: 4px 0 12px; line-height: 1.6; }
.access .hours { color: var(--text-2); font-size: 14px; }
.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: #eee; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.15); }
.note-box { margin-top: 22px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); font-size: 13.5px; color: var(--text-2); }

/* ---------- 共通：予約エリア・フッター ---------- */
.cta { text-align: center; background: radial-gradient(60% 120% at 50% 0%, rgba(6,199,85,.08), transparent 70%); }
.cta p { color: var(--text-2); font-weight: 500; margin: 0 0 22px; }
.cta .stack { display: grid; gap: 14px; grid-template-columns: min(360px, 100%); justify-content: center; }
.cta .stack .btn { padding: 15px; }
.site-footer { background: var(--bg-3); border-top: 1px solid var(--line); padding: 36px 0 30px; text-align: center; }
.sns { display: flex; justify-content: center; gap: 26px; margin-bottom: 16px; }
.sns a { text-decoration: none; color: var(--muted); font-size: 10.5px; letter-spacing: .12em; }
.sns span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin: 0 auto 6px; }
.sns svg { width: 22px; height: 22px; }
.foot-en { color: var(--gold); letter-spacing: .22em; font-size: 12.5px; font-weight: 500; }
.foot-copy { color: var(--muted); font-size: 11.5px; margin-top: 4px; }

/* スマホの下部固定ボタン */
.sp-bar { display: none; }

/* ---------- 施術ページ（テンプレート） ---------- */
.svc-hero { padding: 72px 0 84px; border-top: 0; }
.svc-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.svc-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 74px); margin: 4px 0 10px; letter-spacing: .08em; line-height: 1.2; }
.svc-hero .catch { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); line-height: 1.7; margin: 0 0 22px; color: var(--text-2); }
.svc-points { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 12px; margin: 26px 0 28px; }
.svc-point { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-gold); background: #fff; }
.svc-point b { display: block; font-size: 14px; margin-bottom: 6px; }
.svc-point p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.75; }
.svc-visual { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: auto 1fr; gap: 16px; }
.svc-visual .photo.main { grid-row: 1 / span 2; aspect-ratio: 4 / 5; border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius); }
.svc-visual .photo.sub { aspect-ratio: 1 / 1; }
.svc-visual .svc-badge { border-radius: var(--radius); border: 1px solid var(--line-gold); background: #fff; box-shadow: var(--shadow); padding: 22px; display: grid; align-content: center; }
.svc-badge b { font-size: 15px; display: block; margin-bottom: 8px; }
.svc-badge p { margin: 0; font-size: 13px; color: var(--text-2); }

.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.two-col .lead { margin: 0; font-weight: 500; }
.wide-note { margin-top: 30px; padding: 22px 28px; font-weight: 500; color: var(--text-2); }

.bg-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 26px; align-items: start; }
.bg-grid > .card { padding: 32px 30px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.timeline li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; }
.num { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-gold); color: var(--gold); font-size: 11px; font-weight: 700; display: grid; place-items: center; background: rgba(168,132,58,.07); }
.timeline b { display: block; font-size: 15.5px; line-height: 1.5; }
.timeline p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.exam-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.exam { padding: 22px 22px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.exam .ico { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-gold); display: grid; place-items: center; color: var(--gold); margin-bottom: 16px; }
.exam .ico svg { width: 22px; height: 22px; }
.exam small { color: var(--gold); font-weight: 700; font-size: 13px; }
.exam h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 4px 0 10px; }
.exam p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }

.feature-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 16px; margin-top: 30px; }
.feature { padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line-gold); background: #fff; box-shadow: var(--shadow); }
.feature .head { display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: center; margin-bottom: 18px; }
.feature .num { width: 58px; height: 58px; font-size: 13px; }
.feature h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.55; margin: 0; }
.feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.95; }

.tag-box { margin-top: 30px; padding: 28px 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.tag-box .chip { font-size: 13.5px; font-weight: 700; padding: 9px 18px; background: var(--bg-2); }

.hybrid { display: grid; grid-template-columns: .9fr 2fr; gap: 24px; align-items: stretch; }
.hybrid > .card { padding: 32px 30px; }
.hybrid .trio { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line-gold); background: var(--bg-2); display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 14px; }
.trio-item { border-radius: 18px; border: 1px solid var(--line); background: #fff; padding: 34px 20px 28px; text-align: center; }
.trio-item .ico { width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--line-gold); display: grid; place-items: center; color: var(--gold); margin: 0 auto 16px; }
.trio-item .ico svg { width: 24px; height: 24px; }
.trio-item h3 { font-family: var(--serif); color: var(--gold-hi); font-weight: 500; font-size: 26px; margin: 0 0 8px; }
.trio-item p { margin: 0; color: var(--muted); font-size: 12.5px; }

.to-price { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 34px; border-color: var(--line-gold); background: radial-gradient(40% 90% at 92% 90%, rgba(214,176,92,.14), transparent 70%), var(--card); }
.to-price h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 40px); margin: 0 0 8px; }
.to-price p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* ---------- ふわっと表示 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============================================================
   タブレット・スマホ
   ============================================================ */
@media (max-width: 1080px) {
    .gnav { display: none; }
    .menu-btn { display: inline-flex; align-items: center; }
    .gnav.open {
        display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 70px;
        background: rgba(5,10,22,.97); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    }
    .gnav.open a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .worries { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    body { font-size: 14.5px; padding-bottom: 68px; }
    section { padding: 64px 0; }
    .tel-pill { display: none; }
    .header-inner { height: 62px; }
    .gnav.open { top: 62px; }
    .brand-name { font-size: 17px; }

    .hero { padding: 56px 0 70px; }
    .hero-grid, .svc-hero-grid, .director, .access-grid, .two-col, .bg-grid, .hybrid { grid-template-columns: 1fr; gap: 30px; }
    .hero .btns .btn, .svc-hero .btns .btn { flex: 1 1 100%; }
    .hero-visual, .svc-visual { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 12px; }
    .hero-visual .photo.main, .svc-visual .photo.main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3.4; border-radius: 160px 160px 20px 20px; }
    .hero-note { padding: 14px; align-self: end; }
    .svc-visual .svc-badge { padding: 16px; }
    .director .director-photo { box-shadow: 12px 12px 0 var(--bg-3); }
    .hero-note p { font-size: 11.5px; }
    .yin { left: 70%; top: 30%; width: 220px; height: 220px; }

    .offer { padding: 8px; border-radius: 20px; }
    .offer-inner { padding: 22px 16px 18px; }
    .offer-ribbon { position: static; width: auto; height: auto; clip-path: none; border: 1.5px solid var(--gold); border-radius: 10px; padding: 6px 12px; margin-bottom: 16px; }
    .offer-ribbon span { writing-mode: horizontal-tb; font-size: 20px; }
    .offer-body { grid-template-columns: 1fr; gap: 18px; }
    .no1 { font-size: 18px; padding: 4px 16px 2px; }
    .no1 b { font-size: 32px; }
    .tag-green { font-size: 15px; }
    .offer-price { border-left: 0; border-top: 1px solid rgba(214,176,92,.45); padding: 16px 0 0; }
    .offer-price .label { font-size: 15px; padding: 3px 22px; }
    .offer-foot { font-size: 14.5px; }

    .pillars { grid-template-columns: 1fr; }
    .pillar { display: grid; grid-template-columns: 34px 1fr; text-align: left; align-items: center; gap: 4px 14px; padding: 18px 20px; }
    .pillar svg { grid-row: span 2; margin: 0; }
    .pillar small { margin-top: 0; }
    .worry-grid { grid-template-columns: 1fr; }
    .worry { min-height: 64px; }

    .recommend .card, .access .card { padding: 24px 20px; }
    .svc-points { grid-template-columns: 1fr; }
    .exam-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .hybrid .trio { grid-template-columns: 1fr; }
    .trio-item { padding: 22px 16px; }
    .to-price { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
    .tag-box { padding: 20px; gap: 8px; }
    .tag-box .chip { font-size: 12.5px; padding: 7px 13px; }

    .sp-bar {
        display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(30,40,60,.06); backdrop-filter: blur(8px);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .sp-bar a { display: grid; place-items: center; gap: 2px; padding: 8px 4px 9px; text-decoration: none; font-size: 11px; font-weight: 700; color: var(--text-2); }
    .sp-bar a + a { border-left: 1px solid var(--line); }
    .sp-bar svg { width: 20px; height: 20px; }
    .sp-bar .line { color: #fff; background: var(--line-green); }
}

/* ============================================================
   テーマ追加分（WordPress）
   ============================================================ */
/* 写真が入ったとき（入っていなければ仮の枠のまま） */
.photo.has-img { background: #e9e4da; display: block; }
.photo.has-img img { width: 100%; height: 100%; object-fit: cover; }
.director-photo { aspect-ratio: 4 / 3; }
.recommend .q { color: var(--gold-deep); font-family: Georgia, serif; font-size: 34px; line-height: 1; }

/* WordPress のメニュー（外観 → メニュー で作った場合） */
.gnav li { list-style: none; display: contents; }
.gnav .current-menu-item > a { color: #fff; }
.gnav .current-menu-item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); }
.brand img.brand-mark { border-radius: 50%; object-fit: cover; }

/* 固定ページ・お知らせ */
.page-head { padding: 72px 0 28px; border-top: 0; }
.page-head .btn { margin-top: 14px; }
.entry { padding: 34px 38px; color: var(--text-2); }
.entry > :first-child { margin-top: 0; }
.entry h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--text); margin: 1.8em 0 .6em; padding-bottom: .4em; border-bottom: 1px solid var(--line-gold); }
.entry h3 { font-size: 18px; color: var(--gold-hi); margin: 1.6em 0 .5em; }
.entry a { color: var(--gold-hi); }
.entry img { border-radius: 14px; height: auto; }
.entry table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.entry th, .entry td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; }
.entry th { color: var(--text); width: 36%; }
.entry ul, .entry ol { padding-left: 1.3em; }
.post-list { list-style: none; margin: 0; padding: 8px 26px; }
.post-list li + li { border-top: 1px solid var(--line); }
.post-list a { display: block; padding: 16px 0; text-decoration: none; }
.post-date { color: var(--gold); font-size: 12.5px; margin-right: 14px; }
.pager { margin-top: 20px; text-align: center; }
.pager .page-numbers { display: inline-block; padding: 6px 12px; margin: 0 2px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.pager .current { border-color: var(--line-gold); color: var(--gold-hi); }
@media (max-width: 860px) {
    .entry { padding: 22px 18px; }
    .page-head { padding: 44px 0 16px; }
}

/* ---------- 0.3.0：バナーのリンク・トップのブログ ---------- */
a.offer { display: block; color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; }
a.offer:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.blog-card {
    display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
    border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .25s, transform .25s;
}
.blog-card:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.blog-thumb { display: block; aspect-ratio: 16 / 10; background: var(--bg-3); }
.blog-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-body { display: block; padding: 16px 18px 20px; }
.blog-body .post-date { display: block; margin: 0 0 6px; }
.blog-body b { display: block; font-weight: 500; line-height: 1.7; }
@media (max-width: 860px) {
    .blog-grid { grid-template-columns: 1fr; gap: 14px; }
    .blog-card { flex-direction: row; }
    .blog-thumb { flex: 0 0 36%; aspect-ratio: auto; min-height: 104px; }
    .blog-body { padding: 12px 14px; align-self: center; }
    .blog-body b { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
