/* _shared.css — index.html の設計システム＋下層ページ用の部品（_gen/build_pages.py が生成） */

/* ===== デザイントークン（v2：白背景・シンプル・部分的に4色）=====
   4色は意味で使い分ける：青＝幹部・店長育成／緑＝離職改善・定着／黄＝評価制度／コーラル＝教育カリキュラム・強調 */
:root{
  --bg:#FFFFFF; --paper:#F5F6F8; --paper2:#EEF0F4;
  --ink:#15171C; --navy:#15171C; --muted:#5E636E; --note:#8A8F99;
  --line:#E6E8EC; --line-dark:#E6E8EC;
  --blue:#2F6BFF; --green:#12B48A; --yellow:#FFC12E; --coral:#FF5A4E;
  --blue-t:#E9F0FF; --green-t:#E3F7F1; --yellow-t:#FFF5D9; --coral-t:#FFECEA;
  --accent:#FF5A4E; --accent-ink:#E2463A; --sub:#2F6BFF;
  --ease:cubic-bezier(.22,1,.36,1);
  --wrap:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;word-break:auto-phrase;line-break:strict;overflow-wrap:break-word}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Zen Kaku Gothic New',sans-serif;font-size:16px;line-height:1.85;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,.lead,.btn,summary{word-break:auto-phrase;text-wrap:pretty}
.zp{white-space:nowrap}
.en{font-family:'Space Grotesk',sans-serif;letter-spacing:.2em;text-transform:uppercase}
.l-wrap{width:min(var(--wrap),calc(100% - 56px));margin:0 auto;position:relative;z-index:1}
.hero{width:100%}
@media(max-width:768px){.l-wrap{width:calc(100% - 40px)}}
.skip-link{position:absolute;left:12px;top:-60px;z-index:100;background:var(--ink);color:#fff;padding:10px 16px;border-radius:6px;text-decoration:none}
.skip-link:focus{top:12px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px}

/* 署名モチーフ：4色の点（eyebrow・区切り・フッターで繰り返す） */
.c-eyebrow{display:inline-flex;align-items:center;gap:12px;font-family:'Space Grotesk',sans-serif;font-size:12px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--ink)}
.c-eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--blue);box-shadow:12px 0 0 var(--green),24px 0 0 var(--yellow),36px 0 0 var(--coral);margin-right:40px}
.c-h2{font-weight:900;font-size:clamp(28px,3.6vw,42px);line-height:1.45;letter-spacing:.02em;margin:16px 0 0;color:var(--ink)}
.c-mk{background:linear-gradient(transparent 62%,var(--yellow-t) 62%)}
.c-mk--b{background:linear-gradient(transparent 62%,var(--blue-t) 62%)}
.c-mk--g{background:linear-gradient(transparent 62%,var(--green-t) 62%)}
.c-mk--c{background:linear-gradient(transparent 62%,var(--coral-t) 62%)}

/* ボタン：黒のピル＋色の丸い矢印 */
.c-btn{display:inline-flex;align-items:center;gap:14px;background:var(--ink);color:#fff;text-decoration:none;font-weight:700;font-size:15px;letter-spacing:.04em;padding:10px 10px 10px 28px;border-radius:999px;transition:transform .25s var(--ease),box-shadow .25s}
.c-btn span[aria-hidden]{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:var(--yellow);color:var(--ink);font-size:16px;transition:transform .3s var(--ease)}
.c-btn:hover{transform:translateY(-2px);box-shadow:0 14px 30px -14px rgba(21,23,28,.6)}
.c-btn:hover span[aria-hidden]{transform:translateX(3px)}
.c-btn--ghost{background:#fff;color:var(--ink);border:1.5px solid var(--ink)}
.c-btn--ghost span[aria-hidden]{background:var(--blue-t)}

/* ===== ヘッダー（白・スクロールで影）===== */
.c-hd{position:fixed;top:0;left:0;right:0;z-index:50;color:var(--ink);background:rgba(255,255,255,.92);backdrop-filter:blur(10px);transition:box-shadow .35s}
.c-hd__in{max-width:1320px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 32px;transition:padding .35s}
.c-hd__logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
.c-hd__logo img{width:34px;height:34px}
.c-hd__logo b{font-weight:900;font-size:19px;letter-spacing:.08em}
.c-hd__logo small{display:block;font-size:10.5px;font-weight:500;letter-spacing:.12em;color:var(--muted);line-height:1.2}
.c-hd__nav{display:flex;align-items:center;gap:28px}
.c-hd__nav a{text-decoration:none;font-size:14px;font-weight:700;position:relative}
.c-hd__nav a:not(.c-hd__cta)::after{content:"";position:absolute;left:0;bottom:-6px;width:0;height:3px;border-radius:3px;background:var(--yellow);transition:width .25s}
.c-hd__nav a:not(.c-hd__cta):hover::after,.c-hd__nav a[aria-current="page"]:not(.c-hd__cta)::after{width:100%}
.c-hd__cta{background:var(--ink);color:#fff;padding:10px 20px;border-radius:999px;white-space:nowrap}
.c-hd.is-solid{box-shadow:0 6px 24px -18px rgba(0,0,0,.45)}
.c-hd.is-solid .c-hd__in{padding:10px 32px}
.c-hd__menu{display:none;width:46px;height:46px;border:0;background:transparent;color:inherit;cursor:pointer;position:relative}
.c-hd__menu span{position:absolute;left:11px;right:11px;height:2px;background:currentColor}
.c-hd__menu span:nth-child(1){top:16px}.c-hd__menu span:nth-child(2){top:22px}.c-hd__menu span:nth-child(3){top:28px}
.c-drawer{position:fixed;inset:0;z-index:60;pointer-events:none}
.c-drawer__bg{position:absolute;inset:0;background:rgba(21,23,28,.35);opacity:0;transition:opacity .3s}
.c-drawer__panel{position:absolute;top:0;right:0;bottom:0;width:min(330px,86vw);background:#fff;padding:84px 28px 32px;transform:translateX(100%);transition:transform .35s var(--ease);overflow-y:auto}
.c-drawer__panel a{display:block;text-decoration:none;color:var(--ink);font-weight:700;padding:14px 0;border-bottom:1px solid var(--line)}
.c-drawer__panel a.sub{font-weight:500;font-size:14px;padding:10px 0 10px 16px;color:var(--muted)}
.c-drawer__panel .c-btn{margin-top:26px;width:100%;justify-content:space-between;color:#fff;border:0;padding-left:24px}
.c-drawer__close{position:absolute;top:18px;right:18px;width:46px;height:46px;border:0;background:transparent;font-size:28px;line-height:1;color:var(--ink);cursor:pointer}
body.is-locked{overflow:hidden}
body.is-locked .c-drawer{pointer-events:auto}
body.is-locked .c-drawer__bg{opacity:1}
body.is-locked .c-drawer__panel{transform:none}
@media(max-width:900px){
  .c-hd__nav a:not(.c-hd__cta){display:none}
  .c-hd__menu{display:block}
  .c-hd__in,.c-hd.is-solid .c-hd__in{padding:10px 16px}
  .c-hd__logo small{display:none}
  .c-hd__cta{padding:9px 16px;font-size:13px}
}

/* ===== ① FV（fv-98 TypeReveal を白背景で：タイプライター＋色のマーカー）===== */
.c-fv{position:relative;width:100%;min-height:760px;height:100svh;overflow:hidden;background:#fff}
.c-fv::before{content:"";position:absolute;right:0;top:0;width:52%;height:100%;background-image:radial-gradient(var(--line) 1.4px,transparent 1.4px);background-size:22px 22px;opacity:.9;pointer-events:none}
.c-fv__in{position:relative;z-index:3;height:100%;max-width:1320px;margin:0 auto;padding:96px 56px 40px;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:48px;align-items:center}
.c-fv__kicker{display:inline-flex;align-items:center;gap:10px;font-family:'Space Grotesk',sans-serif;font-size:12px;font-weight:700;letter-spacing:.24em;color:var(--muted);margin:0 0 26px}
.c-fv__kicker i{width:8px;height:8px;border-radius:50%;display:inline-block}
.c-fv__h1{margin:0;font-weight:900;font-size:clamp(34px,4.5vw,64px);line-height:1.32;letter-spacing:.03em;color:var(--ink)}
.c-fv__line{display:block;min-height:1.4em;white-space:nowrap}
.c-fv__band{display:inline;padding:0 .08em}
.c-fv__band--y{background:linear-gradient(transparent 64%,var(--yellow) 64%,var(--yellow) 92%,transparent 92%)}
.c-fv__band--b{background:linear-gradient(transparent 64%,#BFD2FF 64%,#BFD2FF 92%,transparent 92%)}
.c-fv__band--c{background:linear-gradient(transparent 64%,#FFC9C4 64%,#FFC9C4 92%,transparent 92%)}
.c-fv__band em{font-style:normal;color:var(--coral)}
.j .c-fv__band{visibility:hidden}
.j .c-fv__band.is-on,.fv-safe .c-fv__band{visibility:visible}
.c-fv__cursor{display:inline-block;font-weight:400;color:var(--blue);transform:translateY(-.04em);animation:c-fv-blink 1.05s steps(1) .2s infinite}
@keyframes c-fv-blink{0%,55%{opacity:1}56%,100%{opacity:0}}
.c-fv__sub{margin:30px 0 0;font-size:clamp(15px,1.35vw,17px);line-height:1.95;color:var(--muted);font-weight:500}
.c-fv__sub b{color:var(--ink)}
.c-fv__acts{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:34px}
.c-fv__acts small{font-size:13px;color:var(--note);line-height:1.6}
.j .c-fv__sub,.j .c-fv__acts,.j .c-fv__kicker,.j .c-fv__visual{opacity:0;animation:c-fv-up .9s var(--ease) 3.4s forwards}
.j .c-fv__kicker{animation-delay:1.2s}
.j .c-fv__visual{animation-delay:1.4s}
@keyframes c-fv-up{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
/* 右：本人キャラのカードと色の図形 */
.c-fv__visual{position:relative;justify-self:center;width:min(440px,100%)}
.c-fv__card{position:relative;z-index:2;border-radius:32px;overflow:hidden;background:var(--blue-t);aspect-ratio:4/5}
.c-fv__card img{width:100%;height:100%;object-fit:cover;object-position:center top}
.c-fv__shape{position:absolute;z-index:1;pointer-events:none}
.c-fv__shape--1{width:150px;height:150px;border-radius:50%;background:var(--yellow);right:-46px;top:-36px}
.c-fv__shape--2{width:90px;height:90px;border-radius:50%;border:14px solid var(--green);left:-40px;top:38%}
.c-fv__shape--3{width:70px;height:70px;border-radius:16px;background:var(--coral);right:-26px;bottom:110px;transform:rotate(18deg)}
.c-fv__shape--4{width:120px;height:60px;border-radius:120px 120px 0 0;background:var(--blue);left:12%;bottom:-30px}
.j .c-fv__shape{animation:c-fv-float 6s ease-in-out infinite alternate}
.c-fv__shape--2{animation-delay:-2s!important}.c-fv__shape--3{animation-delay:-4s!important}
@keyframes c-fv-float{from{translate:0 0}to{translate:0 -12px}}
.c-fv__badges{position:absolute;z-index:3;left:-34px;bottom:-26px;display:flex;gap:10px}
.c-fv__badge{width:108px;height:108px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;box-shadow:0 14px 30px -16px rgba(21,23,28,.5)}
.c-fv__badge:nth-child(1){background:var(--blue)}
.c-fv__badge:nth-child(2){background:var(--green)}
.c-fv__badge:nth-child(3){background:var(--coral)}
.c-fv__badge b{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:26px;line-height:1}
.c-fv__badge b small{font-family:'Zen Kaku Gothic New',sans-serif;font-size:12px;font-weight:700;margin-left:1px}
.c-fv__badge span{font-size:10.5px;font-weight:700;line-height:1.4;margin-top:5px}
.c-fv__wm{position:absolute;z-index:1;left:56px;bottom:-1.8vh;margin:0;font-family:'Space Grotesk',sans-serif;font-weight:700;white-space:nowrap;font-size:clamp(64px,10vw,160px);letter-spacing:.02em;line-height:1;color:transparent;-webkit-text-stroke:1.5px var(--line);pointer-events:none}
.c-fv__splash{position:absolute;inset:0;z-index:20;background:#fff;display:none;align-items:center;justify-content:center;transition:opacity .5s ease}
.j .c-fv__splash{display:flex}
.c-fv__splash.is-out{opacity:0;pointer-events:none}
.c-fv__splash span{font-weight:900;color:var(--ink);font-size:clamp(20px,2.6vw,30px);letter-spacing:.16em}
@media(max-width:900px){
  .c-fv{height:auto;min-height:0}
  .c-fv::before{width:100%;height:46%;top:auto;bottom:0}
  .c-fv__in{grid-template-columns:1fr;padding:108px 22px 72px;gap:56px}
  .c-fv__h1{font-size:clamp(26px,7.6vw,40px)}
  .c-fv__visual{width:min(300px,78%)}
  .c-fv__badges{left:-28px;bottom:-30px;gap:6px}
  .c-fv__badge{width:84px;height:84px}
  .c-fv__badge b{font-size:20px}
  .c-fv__badge span{font-size:9.5px}
  .c-fv__shape--1{width:96px;height:96px;right:-30px;top:-24px}
  .c-fv__shape--2{width:64px;height:64px;border-width:10px;left:-30px}
  .c-fv__wm{display:none}
}

/* ===== ② 共感（sec-empathy-04「23:47の独り言」を明るく）===== */
.c-night{position:relative;padding:120px 0 128px;background:var(--paper);overflow:hidden}
.c-night__top{display:flex;align-items:baseline;gap:22px;flex-wrap:wrap;margin-top:18px}
.c-night__clock{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:clamp(74px,13vw,148px);line-height:1;color:var(--ink)}
.c-night__clock i{font-style:normal;display:inline-block;transform:translateY(-.06em);animation:c-night-blink 1.4s steps(1,end) infinite;color:var(--coral)}
@keyframes c-night-blink{0%,60%{opacity:1}61%,100%{opacity:.15}}
.c-night__dow{font-size:14px;letter-spacing:.06em;color:var(--muted);padding-bottom:16px}
.c-night h2{font-weight:900;font-size:clamp(26px,3.8vw,40px);line-height:1.55;margin:28px 0 0;color:var(--ink)}
.c-night__grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:38px;margin-top:48px;align-items:stretch}
.c-night__shot{position:relative;margin:0;border-radius:24px;overflow:hidden;min-height:320px}
.c-night__shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.c-night__shot figcaption{position:absolute;left:18px;right:18px;bottom:15px;z-index:3;font-size:14px;line-height:1.5;color:#fff;font-weight:700}
.c-night__shot--night img{filter:brightness(1.7) contrast(.9) saturate(.85)}
.c-night__shot--night::after,.c-night__shot--day::after{content:"";position:absolute;left:0;right:0;bottom:0;height:50%;z-index:2;background:linear-gradient(180deg,rgba(21,23,28,0),rgba(21,23,28,.7))}
.c-night__th{display:grid;gap:12px;align-self:center}
.c-night__t{position:relative;margin:0;padding:18px 22px;background:#fff;border-radius:18px 18px 18px 4px;color:var(--muted);font-size:15.5px;box-shadow:0 10px 30px -24px rgba(21,23,28,.4)}
.c-night__t:nth-child(1){border-left:5px solid var(--blue)}
.c-night__t:nth-child(2){border-left:5px solid var(--green)}
.c-night__t:nth-child(3){border-left:5px solid var(--coral)}
.c-night__t time{display:block;font-family:'Space Grotesk',sans-serif;font-size:12px;letter-spacing:.2em;color:var(--note);margin-bottom:2px}
.c-night__t b{color:var(--ink);font-weight:700}
.c-night__turn{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:38px;margin-top:64px;align-items:center}
.c-night__turnbody{display:grid;grid-template-columns:4px minmax(0,1fr);gap:24px}
.c-night__tline{background:linear-gradient(var(--blue),var(--green),var(--yellow),var(--coral));width:4px;border-radius:4px}
.c-night__turntext p{margin:0;font-size:clamp(17px,2vw,20px);line-height:2.05;color:var(--ink);font-weight:500}
.c-night__turntext small{display:block;font-size:14px;line-height:1.8;color:var(--muted);margin-top:16px}
@media(max-width:860px){
  .c-night{padding:88px 0 96px}
  .c-night__grid,.c-night__turn{grid-template-columns:minmax(0,1fr);gap:24px}
  .c-night__shot{min-height:240px}
}

/* ===== ③ 本当の原因（sec-intro-19「悩みの関係図」）===== */
.c-cause{position:relative;padding:120px 0 130px;background:#fff}
.c-cause__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:end;margin-bottom:48px}
.c-cause__head p{margin:0;color:var(--muted)}
.c-cause__map{position:relative;min-height:560px;border-radius:28px;background:var(--paper);overflow:hidden}
.c-cause__map::before{content:"";position:absolute;inset:0;background-image:radial-gradient(#D9DCE2 1.2px,transparent 1.2px);background-size:24px 24px}
.c-cause__map svg{position:absolute;inset:0;width:100%;height:100%;z-index:1}
.c-cause__node{position:absolute;z-index:2;display:flex;align-items:center;gap:10px;background:#fff;border-radius:999px;padding:12px 20px 12px 14px;box-shadow:0 14px 30px -22px rgba(21,23,28,.45);font-weight:700;font-size:clamp(13px,1.5vw,15px);white-space:nowrap;color:var(--ink)}
.c-cause__node::before{content:"";width:12px;height:12px;border-radius:50%;flex:none;background:var(--c,var(--blue))}
.c-cause__node small{display:none}
.c-cause__node--1{left:6%;top:12%;--c:var(--blue)}.c-cause__node--2{right:6%;top:14%;--c:var(--coral)}.c-cause__node--3{left:8%;top:46%;--c:var(--yellow)}.c-cause__node--4{right:7%;top:48%;--c:var(--green)}.c-cause__node--5{left:40%;top:5%;--c:var(--blue)}
.c-cause__core{position:absolute;z-index:3;left:50%;top:45%;transform:translate(-50%,-50%);width:min(300px,68%);aspect-ratio:1;border-radius:50%;background:var(--ink);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:34px}
.c-cause__core span{font-family:'Space Grotesk',sans-serif;font-size:11px;letter-spacing:.24em;color:var(--yellow);text-transform:uppercase}
.c-cause__core b{font-weight:900;font-size:clamp(20px,2.7vw,29px);line-height:1.5;margin-top:10px}
.c-cause__three{position:absolute;left:16px;right:16px;bottom:16px;z-index:4;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.c-cause__three div{display:flex;align-items:center;gap:14px;padding:16px 18px;background:#fff;border-radius:18px}
.c-cause__three div:nth-child(1){box-shadow:inset 0 -4px 0 var(--blue)}
.c-cause__three div:nth-child(2){box-shadow:inset 0 -4px 0 var(--green)}
.c-cause__three div:nth-child(3){box-shadow:inset 0 -4px 0 var(--coral)}
.c-cause__three img{width:42px;height:42px;flex:none}
.c-cause__three p{margin:0;font-size:14px;line-height:1.6;color:var(--muted)}
.c-cause__three b{display:block;color:var(--ink);font-size:15px}
.c-cause__after{margin:34px 0 0;max-width:40em;color:var(--ink)}
@media(max-width:860px){
  .c-cause{padding:84px 0 96px}
  .c-cause__head{grid-template-columns:1fr;gap:16px}
  .c-cause__map{min-height:auto;padding:22px 16px 16px;display:flex;flex-direction:column;gap:10px}
  .c-cause__map svg{display:none}
  .c-cause__node{position:relative;inset:auto;white-space:normal;border-radius:14px}
  .c-cause__core{position:relative;left:auto;top:auto;transform:none;width:220px;margin:14px auto}
  .c-cause__three{position:relative;left:auto;right:auto;bottom:auto;grid-template-columns:1fr;margin-top:10px}
}

/* ===== ④ 選ばれる理由（sec-reasons-02「左sticky＋特大番号」）===== */
.c-reasons{padding:120px 0;background:#fff}
.c-reasons__grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:64px;align-items:start}
.c-reasons__side{position:sticky;top:110px}
.c-reasons__side p{color:var(--muted);font-size:15px;max-width:22em;margin:18px 0 0}
.c-reasons__side img{width:120px;margin-top:28px;mix-blend-mode:multiply}
.c-reasons__list{display:grid;gap:14px}
.c-reasons__item{display:grid;grid-template-columns:auto 1fr;gap:26px;align-items:start;padding:30px 30px;border-radius:24px;background:var(--paper)}
.c-reasons__n{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:clamp(44px,5.4vw,72px);line-height:.85;color:var(--c,var(--blue))}
.c-reasons__item:nth-child(1){--c:var(--blue)}.c-reasons__item:nth-child(2){--c:var(--green)}.c-reasons__item:nth-child(3){--c:var(--yellow)}.c-reasons__item:nth-child(4){--c:var(--coral)}
.c-reasons__thumb{width:112px;height:84px;border-radius:14px;overflow:hidden;float:right;margin:0 0 10px 18px}
.c-reasons__thumb img{width:100%;height:100%;object-fit:cover}
.c-reasons__item h3{font-size:clamp(19px,2.1vw,23px);font-weight:900;margin:0 0 10px;color:var(--ink);line-height:1.5}
.c-reasons__item p{color:var(--muted);font-size:15px;margin:0}
@media(max-width:860px){.c-reasons{padding:84px 0}.c-reasons__grid{grid-template-columns:1fr;gap:32px}.c-reasons__side{position:static}.c-reasons__side img{display:none}.c-reasons__item{grid-template-columns:1fr;gap:8px;padding:24px 20px}}

/* ===== ⑤ プログラム（sec-process-09「手帳の見開き」を6ヶ月に）===== */
.c-plan{padding:120px 0;background:var(--paper);position:relative}
.c-plan__head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:40px;flex-wrap:wrap}
.c-plan__head .en{font-size:12px;color:var(--note);white-space:nowrap}
.c-plan__lead{margin:16px 0 0;color:var(--muted);max-width:38em}
.c-plan__book{background:#fff;border-radius:28px;position:relative;padding:clamp(22px,3.6vw,40px);box-shadow:0 30px 60px -44px rgba(21,23,28,.35)}
.c-plan__bh{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:22px;gap:14px;flex-wrap:wrap}
.c-plan__bh b{font-weight:900;font-size:clamp(16px,1.9vw,20px);letter-spacing:.06em;color:var(--ink)}
.c-plan__legend{display:flex;gap:16px;font-size:12px;color:var(--muted);flex-wrap:wrap}
.c-plan__legend i{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:6px;vertical-align:-1px}
.c-plan__months{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.c-plan__m{position:relative;border-radius:20px;min-height:168px;padding:16px 18px;overflow:hidden;background:var(--paper)}
.c-plan__fill{position:absolute;inset:0;transform-origin:left}
.c-plan__m--p1 .c-plan__fill{background:var(--blue-t)}
.c-plan__m--p2 .c-plan__fill{background:var(--green-t)}
.c-plan__m--p3 .c-plan__fill{background:var(--yellow-t)}
.c-plan__m--p4 .c-plan__fill{background:var(--coral-t)}
.c-plan__no{position:relative;font-family:'Space Grotesk',sans-serif;font-size:12px;font-weight:700;letter-spacing:.2em;color:var(--muted);display:flex;justify-content:space-between}
.c-plan__tag{position:relative;display:inline-block;margin-top:8px;font-size:12px;letter-spacing:.08em;font-weight:700;color:#fff;padding:3px 12px;border-radius:999px}
.c-plan__m--p1 .c-plan__tag,.c-plan__legend .p1{background:var(--blue)}
.c-plan__m--p2 .c-plan__tag,.c-plan__legend .p2{background:var(--green)}
.c-plan__m--p3 .c-plan__tag,.c-plan__legend .p3{background:var(--yellow)}
.c-plan__m--p3 .c-plan__tag{color:var(--ink)}
.c-plan__m--p4 .c-plan__tag,.c-plan__legend .p4{background:var(--coral)}
.c-plan__m ul{position:relative;list-style:none;margin:10px 0 0;padding:0;font-size:13.5px;color:#3D424B;line-height:1.75}
.c-plan__m li{padding-left:12px;position:relative}
.c-plan__m li::before{content:"・";position:absolute;left:0;color:var(--note)}
.c-plan__foot{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px;margin-top:26px;align-items:start}
.c-plan__inc{margin:0;padding:18px 22px;background:var(--paper);border-radius:18px}
.c-plan__inc b{display:block;color:var(--ink);margin-bottom:6px}
.c-plan__inc ul{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:14px;color:var(--muted)}
.c-plan__inc li::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-right:8px;vertical-align:2px}
.c-plan__note{margin:0;font-size:13px;color:var(--note)}
.c-plan__note strong{display:block;font-size:15px;color:var(--ink);margin-bottom:6px}
@media(max-width:860px){.c-plan{padding:84px 0}.c-plan__months{grid-template-columns:1fr 1fr}.c-plan__foot{grid-template-columns:1fr}}
@media(max-width:480px){.c-plan__months{grid-template-columns:1fr}}

/* ===== ⑥ 実績（sec-numbers-07「特大1数字フィーチャー」）===== */
.c-proof{position:relative;overflow:hidden;background:#fff;padding:112px 0 120px}
.c-proof__glow{position:absolute;right:-8%;top:8%;width:420px;height:420px;border-radius:50%;background:var(--yellow-t);pointer-events:none}
.c-proof__hero{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(24px,3.4vw,56px);align-items:center;margin-top:20px}
.c-proof__lead{font-weight:700;font-size:clamp(17px,2vw,22px);color:var(--muted);margin:0 0 4px;line-height:1.6}
.c-proof__num{display:flex;align-items:flex-start;margin:0;color:var(--ink);font-family:'Space Grotesk',sans-serif;font-weight:700;line-height:.86;letter-spacing:-.03em;font-size:clamp(96px,17vw,230px);font-variant-numeric:tabular-nums}
.c-proof__unit{font-size:.3em;line-height:1;margin:.3em 0 0 .06em;color:var(--green)}
.c-proof__say{font-weight:900;font-size:clamp(21px,2.6vw,30px);line-height:1.55;margin:16px 0 0;max-width:17em;color:var(--ink)}
.c-proof__desc{font-size:15px;color:var(--muted);margin:12px 0 0;max-width:27em}
.c-proof__photo{position:relative;margin:0}
.c-proof__photo img{width:100%;height:clamp(260px,31vw,400px);object-fit:cover;border-radius:24px}
.c-proof__photo figcaption{margin-top:12px;font-size:14px;line-height:1.7;color:var(--muted);padding-left:14px;border-left:4px solid var(--green)}
.c-proof__subs{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:48px 0 0;padding:0}
.c-proof__subs li{min-width:0;padding:20px 22px;border-radius:20px;background:var(--paper)}
.c-proof__subs li:nth-child(1){background:var(--blue-t)}
.c-proof__subs li:nth-child(2){background:var(--yellow-t)}
.c-proof__subs li:nth-child(3){background:var(--coral-t)}
.c-proof__subs li:nth-child(4){background:var(--green-t)}
.c-proof__v{display:block;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:clamp(28px,3vw,36px);line-height:1.2;color:var(--ink);font-variant-numeric:tabular-nums}
.c-proof__vu{font-family:'Zen Kaku Gothic New',sans-serif;font-size:.46em;margin-left:.08em;color:var(--ink);font-weight:700}
.c-proof__l{display:block;font-size:13.5px;line-height:1.7;color:var(--muted);margin-top:4px}
.c-proof__case{display:grid;grid-template-columns:72px 1fr;gap:20px;align-items:start;margin:28px 0 0;padding:24px 26px;background:var(--paper);border-radius:22px}
.c-proof__case img{width:72px;height:72px;border-radius:50%;object-fit:cover}
.c-proof__case p{margin:0;font-size:15px;line-height:1.95}
.c-proof__case b{display:block;font-size:14px;font-weight:700;letter-spacing:.06em;color:var(--ink);margin-bottom:4px}
.c-proof__voices{margin:22px 0 0;display:flex;flex-wrap:wrap;gap:10px 12px;align-items:center}
.c-proof__voices>span{font-size:13px;font-weight:700;color:var(--ink);margin-right:6px}
.c-proof__voices q{display:inline-block;quotes:"「" "」";background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:8px 18px;font-size:14px;color:var(--ink)}
.c-proof__voices q:nth-of-type(1){border-color:var(--blue)}
.c-proof__voices q:nth-of-type(2){border-color:var(--green)}
.c-proof__voices q:nth-of-type(3){border-color:var(--yellow)}
.c-proof__voices q:nth-of-type(4){border-color:var(--coral)}
.c-proof__voices small{flex-basis:100%;font-size:12px;color:var(--note)}
@media(max-width:860px){.c-proof{padding:84px 0 92px}.c-proof__hero{grid-template-columns:1fr;gap:28px}.c-proof__subs{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.c-proof__case{grid-template-columns:56px 1fr;gap:14px;padding:18px}.c-proof__case img{width:56px;height:56px}}

/* ===== ⑦ プロフィール（sec-message-01「ポートレート＋一節ずつ灯る文」）===== */
.c-msg{padding:124px 0;background:var(--paper);position:relative;overflow:hidden}
.c-msg__deco{position:absolute;right:-30px;bottom:-30px;width:300px;opacity:.9;pointer-events:none;z-index:0;mix-blend-mode:multiply}
.c-msg__grid{display:grid;grid-template-columns:300px 1fr;gap:60px;align-items:start;margin-top:24px}
.c-msg__pcol{position:sticky;top:110px}
.c-msg__portrait{aspect-ratio:4/5;border-radius:28px;overflow:hidden;background:var(--blue-t)}
.c-msg__portrait img{width:100%;height:100%;object-fit:cover;object-position:center top}
.j .c-msg__portrait{clip-path:inset(100% 0 0 0)}
.c-msg__name{margin-top:18px}
.c-msg__name span{font-size:12px;color:var(--note);letter-spacing:.04em}
.c-msg__name b{display:block;font-weight:900;font-size:22px;margin-top:2px;color:var(--ink);letter-spacing:.06em}
.c-msg__name a{display:inline-block;margin-top:12px;font-size:14px;font-weight:700;color:var(--ink);text-decoration:none;background:linear-gradient(transparent 60%,var(--yellow) 60%)}
.c-msg__body{font-weight:500;font-size:clamp(18px,2.1vw,23px);line-height:1.95;max-width:26em;margin:20px 0 0}
.c-msg__body p{margin:0 0 1em}
.j .c-msg__body .w{color:rgba(21,23,28,.18);transition:color .1s}
.c-msg__career{margin:30px 0 0;padding:20px 22px;background:#fff;border-radius:18px;font-size:15px;color:var(--muted);max-width:40em}
@media(max-width:820px){.c-msg{padding:92px 0}.c-msg__grid{grid-template-columns:1fr;gap:32px}.c-msg__pcol{position:static}.c-msg__portrait{max-width:240px}.c-msg__deco{width:180px}}

/* ===== ⑧ よくある質問（sec-faq-02「2カラム＋下線ドロー」）===== */
.c-faq{padding:120px 0;position:relative;background:#fff}
.c-faq__head{position:relative;display:block;width:fit-content}
.c-faq__uline{width:100%;height:10px;overflow:visible;display:block;margin-top:4px}
.c-faq__uline path{fill:none;stroke:var(--yellow);stroke-width:6;stroke-linecap:round}
.c-faq__grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:48px}
.c-faq__qa{padding:24px 26px;border-radius:22px;background:var(--paper)}
.c-faq__q{display:flex;gap:14px;align-items:baseline}
.c-faq__qn{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:15px;color:#fff;line-height:1;flex:none;width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--c,var(--blue));transform:translateY(5px)}
.c-faq__qa:nth-child(4n+1){--c:var(--blue)}.c-faq__qa:nth-child(4n+2){--c:var(--green)}.c-faq__qa:nth-child(4n+3){--c:var(--yellow)}.c-faq__qa:nth-child(4n+4){--c:var(--coral)}
.c-faq__q h3{font-size:clamp(16.5px,1.7vw,18px);font-weight:900;margin:0;color:var(--ink);line-height:1.6}
.c-faq__a{margin:10px 0 0 44px;font-size:15px;color:var(--muted)}
.c-faq__more{margin:40px 0 0;text-align:right}
@media(max-width:820px){.c-faq{padding:84px 0}.c-faq__grid{grid-template-columns:1fr}.c-faq__more{text-align:left}}

/* ===== ⑨ 相談までの流れ ===== */
.c-flow{padding:110px 0;background:var(--paper)}
.c-flow__list{list-style:none;margin:44px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.c-flow__item{position:relative;padding:26px 22px;border-radius:24px;background:#fff}
.c-flow__n{display:inline-block;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:12px;letter-spacing:.2em;color:#fff;background:var(--c,var(--blue));padding:4px 12px;border-radius:999px}
.c-flow__item:nth-child(1){--c:var(--blue)}.c-flow__item:nth-child(2){--c:var(--green)}.c-flow__item:nth-child(3){--c:#E3A400}.c-flow__item:nth-child(4){--c:var(--coral)}
.c-flow__item img{width:84px;height:84px;border-radius:50%;object-fit:cover;margin:16px 0 14px}
.c-flow__item h3{margin:0;font-size:17px;font-weight:900;color:var(--ink);line-height:1.5}
.c-flow__item p{margin:8px 0 0;font-size:14px;color:var(--muted)}
@media(max-width:860px){.c-flow{padding:84px 0}.c-flow__list{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.c-flow__list{grid-template-columns:1fr}.c-flow__item{display:grid;grid-template-columns:72px 1fr;gap:0 16px;align-items:start}.c-flow__item img{width:72px;height:72px;margin:0;grid-row:span 3}.c-flow__n{grid-column:2;justify-self:start}}

/* ===== ⑩⑪ 最終CTA（sec-cta-13「代表の顔が見える窓口」）===== */
.c-cta{position:relative;padding:110px 0 0;background:#fff;overflow:hidden}
.c-cta::before{content:"";position:absolute;left:-120px;top:60px;width:340px;height:340px;border-radius:50%;background:var(--blue-t)}
.c-cta::after{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;background:var(--yellow-t)}
.c-cta__grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:clamp(38px,5.6vw,80px);align-items:center}
.c-cta__photos{width:min(370px,100%);justify-self:center}
.c-cta__photo{position:relative;margin:0;background:#fff;border-radius:24px;padding:10px 10px 12px;box-shadow:0 30px 58px -40px rgba(21,23,28,.5)}
.c-cta__photo img{width:100%;height:auto;border-radius:16px}
.c-cta__photo figcaption{font-size:13px;line-height:1.65;color:var(--muted);text-align:center;padding-top:10px}
.c-cta__photo--main{width:88%;transform:rotate(-2.2deg)}
.c-cta__photo--main::before{content:"";position:absolute;top:-12px;left:50%;transform:translateX(-50%) rotate(1.6deg);width:92px;height:24px;border-radius:4px;background:var(--yellow);opacity:.85}
.c-cta__photo--sub{width:72%;margin:18px 0 0 auto;transform:rotate(2.4deg)}
.c-cta__u{position:relative;z-index:0;white-space:nowrap}
.c-cta__u i{position:absolute;left:0;right:0;bottom:6px;height:.32em;background:var(--yellow);z-index:-1;transform-origin:left center;display:block;border-radius:2px}
.c-cta__body{color:var(--muted);font-size:15px;margin:20px 0 0;max-width:35em}
.c-cta__hand{font-size:15px;line-height:1.9;color:var(--ink);margin:22px 0 0;padding:14px 18px;border-radius:16px;background:var(--green-t);max-width:33em;font-weight:500}
.c-cta__chipsl{font-size:13px;font-weight:700;letter-spacing:.1em;color:var(--ink);margin:28px 0 12px}
.c-cta__chips{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.c-cta__chips li{display:flex;align-items:center;gap:8px;background:var(--paper);border-radius:999px;padding:8px 18px;font-size:13.5px}
.c-cta__chips li::before{content:"";width:7px;height:7px;border-radius:50%;flex:none;background:var(--c,var(--blue))}
.c-cta__chips li:nth-child(1){--c:var(--blue)}.c-cta__chips li:nth-child(2){--c:var(--green)}.c-cta__chips li:nth-child(3){--c:var(--yellow)}.c-cta__chips li:nth-child(4){--c:var(--coral)}
.c-cta__acts{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:32px 0 0}
.c-cta__acts small{font-size:13px;color:var(--muted);line-height:1.6}
.c-cta__band{position:relative;margin-top:80px;border-top:1px solid var(--line);background:var(--paper)}
.c-cta__assure{width:min(var(--wrap),calc(100% - 56px));margin:0 auto;padding:22px 0;list-style:none;display:flex;flex-wrap:wrap;gap:12px 36px}
.c-cta__assure li{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.6}
.c-cta__assure svg{width:18px;height:18px;flex:none}
@media(max-width:980px){.c-cta__grid{grid-template-columns:1fr;gap:46px}.c-cta__photos{width:min(330px,84%)}}
@media(max-width:620px){.c-cta{padding:80px 0 0}.c-cta__u{white-space:normal}.c-cta__band{margin-top:56px}}

/* ===== フッター（白系・4色のライン）===== */
.c-ft{position:relative;background:#fff;color:var(--ink);overflow:hidden;border-top:1px solid var(--line)}
.c-ft::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:linear-gradient(90deg,var(--blue) 0 25%,var(--green) 25% 50%,var(--yellow) 50% 75%,var(--coral) 75% 100%)}
.c-ft__wrap{position:relative;max-width:1200px;margin:0 auto;padding:0 32px}
.c-ft__top{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;flex-wrap:wrap;padding:64px 0 40px;border-bottom:1px solid var(--line)}
.c-ft__brand span{font-family:'Space Grotesk',sans-serif;font-size:11px;font-weight:700;letter-spacing:.3em;color:var(--muted)}
.c-ft__brand b{display:block;font-weight:900;font-size:clamp(24px,2.8vw,32px);letter-spacing:.1em;margin:8px 0 4px}
.c-ft__brand small{font-size:13px;color:var(--muted)}
.c-ft__grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:0 44px;padding:46px 0}
.c-ft__blk+.c-ft__blk{border-left:1px solid var(--line);padding-left:44px}
.c-ft__sec{display:flex;align-items:center;gap:10px;font-family:'Space Grotesk',sans-serif;font-size:11px;letter-spacing:.24em;color:var(--ink);font-weight:700;margin:0 0 18px}
.c-ft__sec::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c,var(--blue))}
.c-ft__blk:nth-child(2){--c:var(--green)}.c-ft__blk:nth-child(3){--c:var(--coral)}
.c-ft__nap{margin:0;display:grid;grid-template-columns:auto 1fr;gap:0 18px}
.c-ft__nap dt{font-size:12px;color:var(--note);font-weight:700;padding:11px 0;border-bottom:1px solid var(--line)}
.c-ft__nap dd{margin:0;font-size:14px;line-height:1.8;padding:11px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.c-ft__links{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.c-ft__links a{text-decoration:none;color:var(--ink);font-size:14px;display:inline-block;padding:4px 0}
.c-ft__links a:hover{color:var(--blue)}
.c-ft__links .sub a{padding-left:14px;font-size:13px;color:var(--muted)}
.c-ft__low{border-top:1px solid var(--line);background:var(--paper)}
.c-ft__low .c-ft__wrap{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding-top:14px;padding-bottom:calc(14px + env(safe-area-inset-bottom));font-size:12px;color:var(--muted)}
.c-ft__low a{color:var(--muted);text-decoration:none}
@media(max-width:960px){.c-ft__grid{grid-template-columns:1fr}.c-ft__blk+.c-ft__blk{border-left:0;padding-left:0;border-top:1px solid var(--line);margin-top:30px;padding-top:30px}}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .j .c-fv__band{visibility:visible}
  .j .c-msg__portrait{clip-path:none}
  .j .c-msg__body .w{color:inherit}
}

/* ===================================================================
   下層ページ用（トップの設計システムをそのまま継承し、部品だけ足す）
   =================================================================== */
input,textarea,select{max-width:100%;box-sizing:border-box}
input[type=text],input[type=email],input[type=tel],input[type=url],textarea,select{width:100%;font-size:16px}

/* ページヒーロー（白・色の図形・4色のライン） */
.c-ph{position:relative;padding:150px 0 64px;background:#fff;color:var(--ink);overflow:hidden;border-bottom:1px solid var(--line)}
.c-ph::before{content:"";position:absolute;right:-60px;top:70px;width:300px;height:300px;border-radius:50%;background:var(--blue-t)}
.c-ph::after{content:"";position:absolute;right:200px;bottom:-40px;width:120px;height:120px;border-radius:50%;background:var(--yellow-t)}
.c-ph__bg{display:none}
.c-ph .l-wrap{z-index:2}
.c-ph h1{margin:16px 0 0;font-weight:900;font-size:clamp(30px,4.4vw,52px);line-height:1.4;letter-spacing:.03em;color:var(--ink)}
.c-ph__lead{margin:18px 0 0;max-width:40em;font-size:clamp(15px,1.5vw,17px);color:var(--muted)}
.c-crumb{list-style:none;margin:0 0 22px;padding:0;display:flex;flex-wrap:wrap;gap:6px;font-size:12.5px;color:var(--note)}
.c-crumb li+li::before{content:"/";margin-right:6px;opacity:.6}
.c-crumb a{color:var(--muted);text-decoration:none}
@media(max-width:860px){.c-ph{padding:112px 0 48px}.c-ph::before{width:180px;height:180px;right:-60px}.c-ph::after{display:none}}

/* 共通セクション */
.c-sec{padding:100px 0}
.c-sec--paper{background:var(--paper)}
.c-sec--line{border-top:1px solid var(--line)}
.c-sec__lead{margin:16px 0 0;color:var(--muted);max-width:40em}
@media(max-width:860px){.c-sec{padding:72px 0}}

/* 読みもの（本文） */
.c-prose{max-width:42em}
.c-prose p{margin:0 0 1.2em}
.c-prose h3{font-weight:900;font-size:clamp(19px,2.1vw,23px);color:var(--navy);margin:2em 0 .6em;line-height:1.5}
.c-prose ul,.c-prose ol{padding-left:1.4em;margin:0 0 1.2em}
.c-prose li{margin:.3em 0}
.c-prose strong{color:var(--navy)}

/* 悩みのリスト（カード・色のチェック） */
.c-pains{list-style:none;margin:36px 0 0;padding:0;display:grid;gap:10px;max-width:780px}
.c-pains li{display:grid;grid-template-columns:28px 1fr;gap:12px;padding:18px 22px;border-radius:18px;background:var(--paper);font-weight:700;color:var(--ink)}
.c-pains li::before{content:"✓";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-top:3px;border-radius:50%;background:var(--c,var(--blue));color:#fff;font-size:12px;font-weight:900}
.c-pains li:nth-child(4n+1){--c:var(--blue)}.c-pains li:nth-child(4n+2){--c:var(--green)}.c-pains li:nth-child(4n+3){--c:#E3A400}.c-pains li:nth-child(4n+4){--c:var(--coral)}
.c-pains li small{display:block;font-weight:500;color:var(--muted);font-size:14px;margin-top:2px}

/* 写真と文章の左右（ジグザグ） */
.c-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
.c-split+.c-split{margin-top:72px}
.c-split--rev .c-split__img{order:2}
.c-split__img{margin:0}
.c-split__img img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:24px}
.c-split__img figcaption{margin-top:10px;font-size:13px;color:var(--muted);padding-left:12px;border-left:4px solid var(--yellow)}
.c-split h3{font-weight:900;font-size:clamp(20px,2.3vw,26px);line-height:1.5;color:var(--ink);margin:12px 0 0}
.c-split p{color:var(--muted);margin:14px 0 0}
.c-split__n{display:inline-block;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:12px;letter-spacing:.2em;color:#fff;background:var(--c,var(--blue));padding:4px 12px;border-radius:999px}
.c-split:nth-of-type(4n+2) .c-split__n{--c:var(--green)}.c-split:nth-of-type(4n+3) .c-split__n{--c:#E3A400}.c-split:nth-of-type(4n+4) .c-split__n{--c:var(--coral)}
@media(max-width:860px){.c-split{grid-template-columns:1fr;gap:24px}.c-split--rev .c-split__img{order:0}}

/* テーマ別ページへの入口（2×2・テーマ色） */
.c-themes{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:44px}
.c-theme{display:grid;grid-template-columns:140px 1fr;background:#fff;border-radius:24px;overflow:hidden;text-decoration:none;color:inherit;border:1.5px solid var(--line);transition:border-color .25s,transform .25s var(--ease)}
.c-theme:hover{border-color:var(--c);transform:translateY(-2px)}
.c-theme img{width:100%;height:100%;object-fit:cover;min-height:150px}
.c-theme div{padding:20px 22px;border-top:5px solid var(--c)}
.c-theme span{font-family:'Space Grotesk',sans-serif;font-size:11px;letter-spacing:.22em;color:var(--c);font-weight:700}
.c-theme h3{margin:6px 0 6px;font-size:18px;font-weight:900;color:var(--ink);line-height:1.45}
.c-theme p{margin:0;font-size:14px;color:var(--muted)}
.c-theme[href*="kanbu"]{--c:var(--blue)}.c-theme[href*="rishoku"]{--c:var(--green)}.c-theme[href*="hyoka"]{--c:#E3A400}.c-theme[href*="curriculum"]{--c:var(--coral)}
@media(max-width:760px){.c-themes{grid-template-columns:1fr}.c-theme{grid-template-columns:110px 1fr}}

/* 進め方（番号の索引・カード） */
.c-index{list-style:none;margin:40px 0 0;padding:0;display:grid;gap:12px}
.c-index li{display:grid;grid-template-columns:120px 1fr;gap:24px;padding:24px 26px;border-radius:20px;background:var(--paper)}
.c-sec--paper .c-index li{background:#fff}
.c-index b{font-family:'Space Grotesk',sans-serif;font-size:13px;letter-spacing:.18em;color:var(--c,var(--blue))}
.c-index li:nth-child(4n+2){--c:var(--green)}.c-index li:nth-child(4n+3){--c:#E3A400}.c-index li:nth-child(4n+4){--c:var(--coral)}
.c-index h3{margin:0;font-size:18px;font-weight:900;color:var(--ink);line-height:1.5}
.c-index p{margin:6px 0 0;color:var(--muted);font-size:15px}
@media(max-width:620px){.c-index li{grid-template-columns:1fr;gap:6px}}

/* アコーディオンFAQ */
.c-acc{margin:36px 0 0;display:grid;gap:10px;max-width:880px}
.c-acc__item{border-radius:18px;background:var(--paper)}
.c-sec--paper .c-acc__item{background:#fff}
.c-acc__q{width:100%;display:grid;grid-template-columns:34px 1fr 24px;gap:10px;align-items:baseline;text-align:left;background:none;border:0;padding:20px 22px;cursor:pointer;font:inherit;color:var(--ink);font-weight:900;font-size:16.5px;line-height:1.6}
.c-acc__q::before{content:"Q";font-family:'Space Grotesk',sans-serif;color:var(--blue);font-size:20px}
.c-acc__item:nth-child(4n+2) .c-acc__q::before{color:var(--green)}.c-acc__item:nth-child(4n+3) .c-acc__q::before{color:#E3A400}.c-acc__item:nth-child(4n+4) .c-acc__q::before{color:var(--coral)}
.c-acc__q::after{content:"+";font-family:'Space Grotesk',sans-serif;font-size:22px;color:var(--muted);transition:transform .3s;justify-self:end}
.c-acc__item.is-open .c-acc__q::after{transform:rotate(45deg)}
.c-acc__a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s var(--ease)}
.c-acc__item.is-open .c-acc__a{grid-template-rows:1fr}
.c-acc__a>div{overflow:hidden}
.c-acc__a p{margin:0;padding:0 22px 22px 66px;color:var(--muted)}
.c-acc__cat{margin:48px 0 0;font-weight:900;color:var(--ink);font-size:clamp(20px,2.2vw,24px)}
.c-acc__cat:first-of-type{margin-top:0}

/* プロフィールの表 */
.c-table{width:100%;max-width:880px;border-collapse:separate;border-spacing:0;margin-top:36px;background:#fff;border-radius:20px;overflow:hidden}
.c-table th,.c-table td{text-align:left;padding:18px 22px;border-bottom:1px solid var(--line);vertical-align:top;font-size:15px}
.c-table tr:last-child th,.c-table tr:last-child td{border-bottom:0}
.c-table th{width:170px;color:var(--ink);font-weight:900}
@media(max-width:620px){.c-table th,.c-table td{display:block;width:auto;padding:12px 18px}.c-table th{border-bottom:0;padding-bottom:0}}

/* 経歴の年表 */
.c-timeline{list-style:none;margin:36px 0 0;padding:0 0 0 22px;border-left:3px solid var(--line);max-width:760px}
.c-timeline li{position:relative;padding:0 0 26px 18px}
.c-timeline li::before{content:"";position:absolute;left:-31px;top:7px;width:16px;height:16px;border-radius:50%;background:var(--c,var(--blue))}
.c-timeline li:nth-child(4n+2){--c:var(--green)}.c-timeline li:nth-child(4n+3){--c:var(--yellow)}.c-timeline li:nth-child(4n+4){--c:var(--coral)}
.c-timeline b{display:block;color:var(--ink);font-weight:900}
.c-timeline span{color:var(--muted);font-size:15px}

/* 下層ページの最終CTA帯（白・色の図形） */
.c-band{position:relative;padding:96px 0;background:var(--paper);color:var(--ink);overflow:hidden}
.c-band::before{content:"";position:absolute;right:-80px;top:-80px;width:280px;height:280px;border-radius:50%;background:var(--yellow-t)}
.c-band::after{content:"";position:absolute;left:8%;bottom:-60px;width:140px;height:140px;border-radius:50%;border:22px solid var(--blue-t)}
.c-band .l-wrap{display:grid;grid-template-columns:minmax(0,1.3fr) auto;gap:32px;align-items:center}
.c-band h2{margin:14px 0 0;font-weight:900;font-size:clamp(24px,3.2vw,36px);line-height:1.5}
.c-band p{margin:14px 0 0;color:var(--muted);max-width:34em}
.c-band small{display:block;margin-top:12px;color:var(--muted);font-size:13px}
@media(max-width:860px){.c-band{padding:72px 0}.c-band .l-wrap{grid-template-columns:1fr}}

/* 関連ページ */
.c-related{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.c-related a{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border:1.5px solid var(--ink);border-radius:999px;text-decoration:none;font-weight:700;font-size:14px;color:var(--ink);transition:background .25s,color .25s}
.c-related a:hover{background:var(--ink);color:#fff}

/* LINE案内（お問い合わせ） */
.c-line{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px;align-items:start}
.c-line__card{background:#fff;border-radius:28px;padding:34px;text-align:center;box-shadow:0 30px 60px -44px rgba(21,23,28,.4);border-top:6px solid var(--green)}
.c-line__card .c-btn{margin-top:18px}
.c-line__card p{margin:12px 0 0;font-size:14px;color:var(--muted)}
.c-line__keys{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:22px}
.c-line__keys span{font-weight:900;color:var(--ink);background:var(--paper);border-radius:14px;padding:8px 16px;font-size:15px}
.c-line__keys span:first-child{background:var(--yellow-t)}.c-line__keys span:last-child{background:var(--blue-t)}
.c-line__keys small{display:block;font-weight:500;color:var(--muted);font-size:12px}
@media(max-width:860px){.c-line{grid-template-columns:1fr}}


/* ===== ブログ用トークン（blog-shared.css が使う名前を v2 の色に対応させる）===== */
:root{--ai:#15171C;--ai2:#2F6BFF;--shu:#FF5A4E;--yama:#FFC12E;--yama2:#FFF5D9;--kami:#F5F6F8;--kami2:#EEF0F4;--body:#2B2F35}
.wrap{width:min(var(--wrap),calc(100% - 56px));margin:0 auto}
@media(max-width:768px){.wrap{width:calc(100% - 40px)}}
.page-hero{position:relative;padding:150px 0 64px;background:#fff;color:var(--ink);overflow:hidden;border-bottom:1px solid var(--line)}
.page-hero h1{margin:14px 0 0;font-weight:900;font-size:clamp(30px,4.4vw,52px);line-height:1.4;color:var(--ink)}
.page-hero p{color:var(--muted)}
.page-hero .crumb,.page-hero .crumb a{color:var(--muted);font-size:12.5px;text-decoration:none}
.sec-eyebrow{font-family:'Space Grotesk',sans-serif;font-size:12px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--ink)}
.page-sec{padding:90px 0}
@media(max-width:860px){.page-hero{padding:112px 0 48px}.page-sec{padding:64px 0}}
/* blog-shared.css — ブログ（個別/一覧）・サイドバー・page-hero(marquee) の共通CSS断片。
   STEP 7 で各サイトの assets/css/_shared.css の末尾に追記して使う。
   前提トークン: --ai --ai2 --shu --yama --yama2 --kami --kami2 --ink --body --muted --line。
   ベースの .page-hero{...} は _shared.css に既にある前提（ここは marquee 追加と post/sidebar/archive）。 */

/* サイト側のリセット有無に依存しないための保険。padding を持つ箱が幅指定と足し算されて
   スマホで横スクロールを出す事故（375/390px）を防ぐ。 */
.post-wrap,.post-main,.post-side,.widget,.post-toc,.post-author,.post-body .cbox,
.post-body blockquote,.p-card,.p-card__bd{ box-sizing:border-box; }

/* ============ 固定ページ見出しヘッダー：右→左ギャラリー＋カラーオーバーレイ ============ */
.page-hero .wrap{ position:relative; z-index:3; }
.page-hero::before{ z-index:2; }
.page-hero__bg{ position:absolute; inset:0; z-index:0; overflow:hidden; display:flex; align-items:center; }
.page-hero__bg::after{ content:""; position:absolute; inset:0; background:linear-gradient(105deg, rgba(20,28,40,.90) 0%, rgba(30,42,59,.78) 50%, rgba(20,28,40,.90) 100%); }
.page-hero__mq{ display:flex; width:max-content; height:100%; will-change:transform; animation:page-hero-mq 64s linear infinite; }
.page-hero__mq img{ height:100%; width:auto; aspect-ratio:4/3; object-fit:cover; display:block; flex:0 0 auto; }
@keyframes page-hero-mq{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .page-hero__mq{ animation:none; } }

/* ============ 投稿（single）ページ ============ */
.post-hero{ position:relative; overflow:hidden; color:#F1F4EF; padding:104px 0 70px; }
.post-hero__bg{ position:absolute; inset:0; z-index:0; }
.post-hero__bg img{ width:100%; height:100%; object-fit:cover; display:block; }
.post-hero__bg::after{ content:""; position:absolute; inset:0; background:linear-gradient(160deg, rgba(20,28,40,.74) 0%, rgba(14,20,30,.92) 100%); }
.post-hero::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:5px; background:linear-gradient(90deg,var(--shu),var(--yama)); z-index:2; }
.post-hero .wrap{ position:relative; z-index:1; max-width:860px; }
.post-hero__meta{ display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.post-hero__date{ font-family:'Space Grotesk',monospace; font-size:13px; letter-spacing:.06em; color:rgba(241,244,239,.82); }
.post-hero__cat{ font-size:11px; font-weight:700; letter-spacing:.08em; padding:4px 12px; border-radius:999px; color:#fff; background:var(--ai); }  /* 既定色（WPでis-*が付かない時用）。is-*が上書き */
.post-hero h1{ font-family:'Shippori Mincho',serif; font-weight:800; font-size:clamp(25px,3.8vw,40px); line-height:1.55; letter-spacing:.04em; margin:0; color:#F6F8F4; }
.post-hero .crumb{ font-family:'Space Grotesk',monospace; font-size:10.5px; letter-spacing:.18em; color:rgba(241,244,239,.6); margin:24px 0 0; }
.post-hero .crumb a{ color:rgba(241,244,239,.82); text-decoration:none; }

/* 投稿レイアウト：本文 + サイドバー */
.post-wrap{ display:grid; grid-template-columns:minmax(0,1fr) 312px; gap:52px; max-width:1140px; margin:0 auto; padding:56px 24px 96px; align-items:start; }
.post-main{ min-width:0; }
.post-figure{ margin:0 0 36px; }
.post-figure img{ width:100%; border-radius:14px; box-shadow:0 24px 50px -28px rgba(20,30,46,.5); display:block; }
/* --- 本文タイポグラフィ（読みやすさの主戦場）---
   ねらい：1段落＝1〜3文で改行多め／強調は黄色マーカー／H2とH3で階層が一目で分かる。
   --mark はマーカーの黄色。サイトのパレットに合わせて調整してよい（淡い黄色を保つこと）。 */
.post-body{ --mark:rgba(216,102,44,.22); counter-reset:h2c; font-size:16.5px; line-height:2.05; color:var(--body);
  word-break:auto-phrase; text-wrap:pretty; }   /* 助詞が行頭に落ちるのを減らす（Chrome）。他ブラウザでは無視される */
.post-body > *:first-child{ margin-top:0; }
.post-body p{ font-size:inherit; line-height:inherit; color:inherit; margin:0 0 1.85em; }
.post-body .post-lead{ font-size:17.5px; color:var(--ink); line-height:2; font-weight:500; margin:0 0 2.2em; padding:0 0 1.6em; border-bottom:1px solid var(--line); }

/* 見出し：H2＝横線＋番号、H3＝黄色の縦バー。粒度の違いが見た目で分かるようにする */
.post-body h2,.post-body h3{ word-break:auto-phrase; text-wrap:pretty; scroll-margin-top:96px; }
.post-body h2{
  font-family:'Shippori Mincho',serif; font-size:clamp(21px,2.9vw,29px); font-weight:700;
  color:var(--ink); line-height:1.62; letter-spacing:.02em;
  margin:3.2em 0 1.1em; padding:0 0 .6em; border-bottom:1px solid var(--line); position:relative;
}
.post-body h2::before{
  counter-increment:h2c; content:counter(h2c,decimal-leading-zero);
  display:block; font-family:'Space Grotesk',monospace; font-size:12px; font-weight:700;
  letter-spacing:.18em; color:var(--shu); margin:0 0 .5em;
}
.post-body h2::after{ content:""; position:absolute; left:0; bottom:-1px; width:4em; height:3px; background:var(--yama); }
.post-body h3{
  font-family:'Shippori Mincho',serif; font-size:clamp(17px,2.1vw,21px); font-weight:700;
  color:var(--ink); line-height:1.65; margin:2.6em 0 .9em; padding-left:14px; border-left:4px solid var(--yama);
}
.post-body h2 + p,.post-body h3 + p{ margin-top:0; }
.post-body h2 + .post-img,.post-body h3 + .post-img{ margin-top:1.2em; }

/* 強調：太字は色を変えない。読ませたい「1文だけ」を黄色マーカー（記事全体で6〜10箇所）。
   マーカーの色はサイトのアクセントに合わせ替えてよい（医療系クライアントで緑を使った実例もある）。 */
.post-body strong{ font-weight:700; color:var(--ink); }
.post-body mark.marker{
  background:linear-gradient(transparent 60%, var(--mark) 60%);
  color:inherit; font-weight:700; padding:0 2px;
}
.post-body mark.marker strong{ font-weight:700; }
/* 短い注意語だけ色文字（「自己判断はせず」等）。1記事1〜2回まで */
.post-body .txt-alert{ color:var(--shu); font-weight:700; }

/* 枠3種：box＝チェック／warning＝注意・警告／remark＝穏やかな補足。役割で使い分け、混用しない */
.post-body .cbox{ margin:0 0 2em; padding:22px 26px 8px; border-radius:12px; border:1px solid var(--line); background:var(--kami2); border-left:4px solid var(--ai); }
.post-body .cbox__ttl{ font-family:'Shippori Mincho',serif; font-weight:700; font-size:15.5px; color:var(--ink); margin:0 0 .9em; }
.post-body .cbox > :last-child{ margin-bottom:1em; }
.post-body .cbox p{ font-size:15.5px; line-height:1.95; }
.post-body .cbox li{ margin-bottom:.55em; }
.post-body .cbox--warning{ background:#FDF4F1; border-color:#EFCDC1; border-left-color:var(--shu); }
.post-body .cbox--warning .cbox__ttl{ color:var(--shu); }
.post-body .cbox--remark{ background:#F5F7FA; border-color:#DFE5EC; border-left-color:var(--muted); }

/* リンク・コード */
.post-body a{ color:var(--shu); font-weight:700; text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }
.post-body a:hover{ text-decoration-thickness:2px; }
.post-body code{ font-family:ui-monospace,Menlo,Consolas,monospace; font-size:.92em; background:var(--kami2); border:1px solid var(--line); border-radius:5px; padding:1px 6px; }

/* リスト：行間を本文よりわずかに詰め、項目の頭を目立たせる */
.post-body ul,.post-body ol{ margin:0 0 1.85em; padding:0; list-style:none; }
.post-body li{ position:relative; padding-left:1.6em; margin:0 0 .7em; line-height:1.95; }
.post-body ul > li::before{ content:""; position:absolute; left:.35em; top:.78em; width:8px; height:8px; border-radius:50%; background:var(--yama); }
.post-body ol{ counter-reset:olc; }
.post-body ol > li{ padding-left:2em; }
.post-body ol > li::before{
  counter-increment:olc; content:counter(olc);
  position:absolute; left:0; top:.28em; width:1.5em; height:1.5em; border-radius:50%;
  background:var(--ai); color:#fff; font-family:'Space Grotesk',monospace; font-size:12px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.post-body li > ul,.post-body li > ol{ margin:.7em 0 0; }

/* 引用・画像・表 */
/* 引用＝他者の言葉。枠（.cbox）と見た目が被らないよう、背景は敷かず罫線だけで示す */
.post-body blockquote{ margin:.4em 0 2em; padding:2px 0 2px 26px; border-left:3px solid var(--line); }
.post-body blockquote p{ margin:0; font-size:15px; line-height:1.95; color:var(--muted); }
.post-body .post-img{ margin:0 0 2em; }
.post-body .post-img img{ width:100%; height:auto; border-radius:12px; display:block; }
.post-body .post-img figcaption{ margin-top:10px; font-size:12.5px; line-height:1.7; color:var(--muted); text-align:center; }
/* 表：横に広いときだけスクロールさせる。セルの文章は折り返してよい（nowrap にすると必ず横スクロールになる） */
.post-body table{ display:block; max-width:100%; overflow-x:auto; border-collapse:collapse; margin:0 0 1.85em; font-size:14.5px; line-height:1.75; }
.post-body th,.post-body td{ border:1px solid var(--line); padding:10px 14px; text-align:left; vertical-align:top; min-width:6em; }
.post-body th{ background:var(--kami2); font-weight:700; color:var(--ink); white-space:nowrap; }

/* 目次：h2 が2つ以上のときだけ出る（build_blog_pages.py が生成） */
.post-toc{ margin:0 0 40px; border:1px solid var(--line); border-radius:12px; background:var(--kami2); padding:22px 26px 24px; }
.post-toc__ttl{ font-family:'Shippori Mincho',serif; font-size:15px; font-weight:700; color:var(--ink); margin:0 0 14px; padding-left:12px; border-left:4px solid var(--yama); }
.post-toc__list{ list-style:none; margin:0; padding:0; counter-reset:tocc; }
.post-toc__list li{ position:relative; padding-left:2em; margin:0 0 .6em; line-height:1.7; }
/* 番号は h2 の行だけに振る（h3 でも増やすと、本文の H2 番号とズレる） */
.post-toc__list li:not(.is-sub)::before{ counter-increment:tocc; content:counter(tocc,decimal-leading-zero); position:absolute; left:0; top:.15em; font-family:'Space Grotesk',monospace; font-size:11px; font-weight:700; color:var(--shu); }
.post-toc__list li.is-sub{ padding-left:3.2em; font-size:13.5px; }
.post-toc__list li.is-sub::before{ content:"—"; position:absolute; left:1.6em; top:.15em; color:var(--muted); }
.post-toc a{ color:var(--ink); text-decoration:none; font-size:14.5px; font-weight:500; }
.post-toc a:hover{ color:var(--shu); text-decoration:underline; text-underline-offset:3px; }
.post-foot{ margin:44px 0 0; }
.post-foot__bar{ border-top:1px solid var(--line); padding-top:28px; display:flex; gap:16px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.post-foot__back{ display:inline-flex; align-items:center; gap:8px; text-decoration:none; font-weight:700; font-size:14px; color:var(--ink); }
.post-foot__back:hover{ color:var(--shu); }
.post-foot__cta{ display:inline-block; background:var(--ai); color:var(--kami); font-weight:700; font-size:13.5px; padding:12px 26px; border-radius:999px; text-decoration:none; transition:background .25s; }
.post-foot__cta:hover{ background:var(--shu); }

/* ============ 著者ボックス（この記事を書いた人）============ */
.post-author{ margin:52px 0 0; border:1px solid var(--line); border-radius:14px; background:var(--kami2); padding:26px 28px 28px; position:relative; }
.post-author__label{ position:absolute; top:-11px; left:24px; background:var(--ai); color:#fff; font-size:11px; font-weight:700; letter-spacing:.1em; padding:4px 14px; border-radius:999px; }
.post-author__row{ display:grid; grid-template-columns:88px 1fr; gap:22px; align-items:start; }
.post-author__ph{ width:88px; height:88px; object-fit:cover; border-radius:50%; display:block; border:3px solid #fff; box-shadow:0 10px 24px -14px rgba(20,30,46,.55); }
.post-author__bd{ min-width:0; }
.post-author__name{ font-family:'Shippori Mincho',serif; font-weight:700; font-size:17px; color:var(--ink); margin:2px 0 8px; display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.post-author__role{ font-family:'Zen Kaku Gothic New',sans-serif; font-size:12px; font-weight:500; color:var(--muted); letter-spacing:.04em; }
.post-author__bio{ font-size:13.5px; line-height:1.95; color:var(--body); margin:0; }
.post-author__link{ display:inline-block; margin-top:12px; font-size:12.5px; font-weight:700; color:var(--shu); text-decoration:none; }
.post-author__link:hover{ text-decoration:underline; }
@media(max-width:680px){
  .post-author{ padding:24px 20px 22px; }
  .post-author__row{ grid-template-columns:64px 1fr; gap:16px; }
  .post-author__ph{ width:64px; height:64px; }
}

/* ============ サイドバー・ウィジェット ============ */
.post-side{ position:sticky; top:88px; display:flex; flex-direction:column; gap:26px; }
.widget{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px 22px 24px; }
.widget__ttl{ font-family:'Shippori Mincho',serif; font-size:16px; font-weight:700; color:var(--ink); margin:0 0 16px; padding-left:12px; border-left:4px solid var(--yama); letter-spacing:.04em; }
.w-search{ display:flex; gap:8px; }
.w-search input{ flex:1; min-width:0; border:1px solid var(--line); border-radius:8px; padding:10px 12px; font-size:13.5px; font-family:inherit; background:var(--kami2); }
.w-search button{ border:none; background:var(--ai); color:#fff; border-radius:8px; padding:0 16px; font-weight:700; cursor:pointer; }
.w-recent{ display:flex; flex-direction:column; gap:14px; }
.w-recent a{ display:grid; grid-template-columns:70px 1fr; gap:12px; align-items:center; text-decoration:none; color:inherit; }
.w-recent a.is-noimg{ grid-template-columns:1fr; }        /* サムネ未生成のとき（空欄を作らない） */
.p-card.p-card--noimg{ grid-template-columns:1fr; }       /* 一覧カードも同様（後方の .p-card 定義に負けないよう詳細度を上げる） */
.w-recent img{ width:70px; height:48px; object-fit:cover; border-radius:7px; display:block; }
.w-recent div{ min-width:0; }
.w-recent b{ font-family:'Shippori Mincho',serif; font-weight:700; font-size:13px; line-height:1.5; color:var(--ink); display:block; }
.w-recent span{ font-family:'Space Grotesk',monospace; font-size:10.5px; color:var(--muted); letter-spacing:.06em; }
.w-recent a:hover b{ color:var(--shu); }
.w-list{ list-style:none; margin:0; padding:0; }
.w-list li{ border-bottom:1px dashed var(--line); }
.w-list li:last-child{ border-bottom:none; }
.w-list a{ display:flex; justify-content:space-between; align-items:center; gap:10px; padding:10px 2px; text-decoration:none; color:var(--ink); font-size:13.5px; font-weight:500; }
.w-list a:hover{ color:var(--shu); }
.w-list .n{ font-family:'Space Grotesk',monospace; font-size:11px; color:var(--muted); background:var(--kami2); border-radius:999px; padding:2px 9px; }
.w-cta{ background:linear-gradient(160deg,#2A6FB5,var(--ai2)); border:none; color:#F1F4EF; }
.w-cta .widget__ttl{ color:#fff; border-color:var(--yama2); }
.w-cta p{ font-size:13px; line-height:1.85; color:rgba(241,244,239,.82); margin:0 0 16px; }
.w-cta a{ display:inline-block; background:var(--yama2); color:var(--ai2); font-weight:700; font-size:13.5px; padding:12px 28px; border-radius:999px; text-decoration:none; }
.w-cta a:hover{ background:#fff; }

/* ============ ブログ/お知らせ 一覧（archive）カード ============ */
.p-news{ max-width:940px; }
.p-newsgrid{ display:grid; gap:28px; }
.p-card{ display:grid; grid-template-columns:320px 1fr; text-decoration:none; color:inherit; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:#fff; transition:box-shadow .25s, transform .25s; }
.p-card:hover{ box-shadow:0 24px 46px -26px rgba(34,48,74,.5); transform:translateY(-3px); }
.p-card__ph{ overflow:hidden; background:var(--ai2); }
.p-card__ph img{ width:100%; height:100%; min-height:188px; object-fit:cover; display:block; transition:transform .5s; }
.p-card:hover .p-card__ph img{ transform:scale(1.05); }
.p-card__bd{ padding:26px 30px; display:flex; flex-direction:column; gap:10px; }
.p-card__meta{ display:flex; align-items:center; gap:12px; }
.p-card__date{ font-family:'Space Grotesk',monospace; font-size:13px; letter-spacing:.06em; color:var(--muted); }
.p-card__cat{ font-size:11px; font-weight:700; letter-spacing:.08em; padding:4px 12px; border-radius:999px; color:#fff; background:var(--ai); }  /* 既定色。is-*が上書き */
.p-card__ttl{ font-family:'Shippori Mincho',serif; font-size:clamp(18px,2.3vw,22px); font-weight:700; line-height:1.55; color:var(--ink); margin:0; }
.p-card__ex{ font-size:13.5px; line-height:1.9; color:var(--body); margin:0; }
.p-card__more{ margin-top:4px; font-family:'Space Grotesk',monospace; font-size:11px; letter-spacing:.14em; color:var(--shu); font-weight:700; }
.p-newsnote{ font-size:12.5px; color:var(--muted); margin:30px 0 0; }

/* ============ カテゴリ色（post-hero/p-card 共通の .is-*）============ */
.post-hero__cat.is-event,.p-card__cat.is-event{ background:var(--shu); }
.post-hero__cat.is-guide,.p-card__cat.is-guide{ background:var(--ai); }
.post-hero__cat.is-trail,.p-card__cat.is-trail{ background:#5f8a5a; }
.post-hero__cat.is-map,.p-card__cat.is-map{ background:var(--yama); color:var(--ai2); }
.post-hero__cat.is-info,.p-card__cat.is-info{ background:#7c7464; }

/* ============ レスポンシブ（モバイルは1列）============ */
@media(max-width:900px){ .post-wrap{ grid-template-columns:1fr; gap:40px; padding:44px 22px 72px; } .post-side{ position:static; } }
@media(max-width:680px){
  .post-hero{ padding:84px 0 52px; }
  .p-card{ grid-template-columns:1fr; }
  .p-card__ph img{ min-height:0; aspect-ratio:1200/630; }
  .p-card__bd{ padding:22px; }
  /* スマホの読みやすさ：文字はやや小さく、行間は詰めすぎない。見出し前後の余白は圧縮 */
  .post-body{ font-size:16px; line-height:1.98; }
  .post-body .post-lead{ font-size:16.5px; padding-bottom:1.3em; margin-bottom:1.9em; }
  .post-body h2{ margin:2.6em 0 .9em; }
  .post-body h3{ margin:2.1em 0 .8em; }
  .post-body li{ padding-left:1.5em; }
  .post-body blockquote{ padding:16px 18px; }
  .post-body .cbox{ padding:18px 20px 6px; }
  .post-toc{ padding:18px 20px 20px; margin-bottom:32px; }
  .post-toc__list li.is-sub{ padding-left:2.6em; }
  .post-toc__list li.is-sub::before{ left:1.2em; }
}

/* 書体をサイトの型（D モダン＝ゴシック）にそろえる。一覧のサムネは文字が切れないよう左寄せで切る */
.post-hero h1,.post-body h2,.post-body h3,.post-toc,.post-toc *,.widget,.widget *,.p-card,.p-card *,.post-author,.post-author *{font-family:'Zen Kaku Gothic New',sans-serif}
.post-hero h1,.post-body h2,.p-card__ttl{font-weight:900}
.p-card__ph img{object-position:left center}
/* v2：ブログの見出し帯も白に */
.page-hero__bg{display:none!important}
.page-hero::before{content:"";position:absolute;right:-60px;top:70px;width:280px;height:280px;border-radius:50%;background:var(--blue-t)}
.page-hero .wrap{position:relative;z-index:2}
.post-hero{background:#fff!important;color:var(--ink)!important;border-bottom:1px solid var(--line)}
.post-hero__bg{display:none!important}
.post-hero h1{color:var(--ink)!important}
.post-hero__date,.post-hero .crumb,.post-hero .crumb a{color:var(--muted)!important}
.post-hero::after{background:linear-gradient(90deg,var(--blue) 0 25%,var(--green) 25% 50%,var(--yellow) 50% 75%,var(--coral) 75% 100%)!important;height:6px}
