/*
Theme Name: aiwell care Nutrition+ LP
Theme URI: http://localhost:8090
Description: aiwell care Nutrition+ ランディングページ（静的LP移植テーマ）。血液検査×栄養指導サービス。
Author: aiwell
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: aiwell-nutrition
*/

:root{
  --navy:#0A2444;
  --lime:#C4F82A;
  --lime-hover:#AEE81A;
  --ink:#111820;
  --sub:#4E5A6B;
  --container:1240px;
  --content-pad:32px;
  --side-space:max(0px,calc((100vw - var(--container))/2));
  --decor-clearance:100px;
  --decor-intrusion:48px; /* 1728px未満で本文端の内側へ入り込める上限 */
  --cx-axis-cap:176px;    /* 1728px時の軸。装飾はこれ以上等倍拡大しない */
  --cx-inner-axis:max(
    0px,
    calc(var(--side-space) + var(--content-pad) - var(--decor-clearance)),
    min(var(--cx-axis-cap),calc(var(--side-space) + var(--content-pad) + var(--decor-intrusion)))
  );
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Noto Sans JP',sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.6;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}

/* セクションと装飾は画面全幅。本文だけを中央の1240pxに収める。 */
.page-shell{
  position:relative;isolation:isolate;width:100%;
  background:#fff;
  overflow:clip;
}


/* ===== Hero ===== */
.hero{
  position:relative;
  min-height:640px;
  height:calc(100vh - 64px);
  max-height:780px;
  overflow:hidden;
  background:#fff;
}

/* ヒーロー写真＝平行四辺形フレーム＋スラッシュ＋縦大タイポ（実写・装飾はCSSで加工） */
.hero-visual{
  position:absolute;z-index:1;
  top:40px;bottom:52px;right:clamp(92px,9.5vw,172px);
  width:39%;
}
/* 斜めはtransformでなくclip-pathで作る＝画像は無変形の長方形で全面カバー（角に背景が出ない・最も広い画） */
.hv-photo{position:absolute;inset:0;overflow:hidden;background:var(--navy);
  clip-path:polygon(13% 0,100% 0,87% 100%,0 100%)}
.hv-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:34% 42%}
/* 斜めスラッシュ（実績帯のライム帯と同じ言語） */
.hv-sl{position:absolute;transform:skewX(-12deg);pointer-events:none}
.hv-sl--lime{top:-16px;left:-3.5%;width:24px;height:38%;background:var(--lime)}
.hv-sl--thin{top:-6px;left:calc(-3.5% + 38px);width:8px;height:20%;background:var(--lime);opacity:.55}
.hv-sl--navy{bottom:-18px;right:-4%;width:24px;height:44%;background:var(--navy)}
/* 右端の縦大タイポ（特大タイポと同一トーン） */
.hero-typo{
  position:absolute;z-index:0;right:4px;top:50%;transform:translateY(-50%);
  writing-mode:vertical-rl;white-space:nowrap;
  font-family:'Archivo Black',sans-serif;font-style:italic;
  font-size:clamp(38px,3.9vw,66px);color:#E9EEF3;line-height:1;letter-spacing:.06em;
  user-select:none;pointer-events:none;
}
/* 装飾文字は疑似要素で出す（本文テキストとして読み上げ・コントラスト判定の対象にしない） */
.hero-typo::before,.faq-typo::before{content:attr(data-typo)}

.hero-inner{
  position:relative;z-index:4;
  max-width:var(--container);margin:0 auto;
  padding:0 var(--content-pad);
  height:100%;
  display:flex;flex-direction:column;justify-content:center;
}
.hero-copy{max-width:60%}
.eyebrow{
  display:flex;align-items:center;gap:8px;
  font-size:14px;font-weight:900;color:var(--ink);
  margin-bottom:18px;
}
.eyebrow img{height:11px;width:auto}
.hero h1{
  font-size:clamp(25px,2.7vw,38px);
  font-weight:900;
  line-height:1.55;
  letter-spacing:0;
  margin-bottom:22px;
}
.hero-line{white-space:nowrap}
/* スマホで「身体が／変わらない」と割れないよう、句のまとまりで折り返す */
.hero h1 .nw{display:inline-block}
.hero h1 .mk{
  display:inline;
  background:linear-gradient(transparent 64%,var(--lime) 64% 88%,transparent 88%);
  padding:0 .08em;
  margin:0;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
.hero .lead-sub{
  font-size:16px;font-weight:500;color:var(--ink);
  margin-bottom:28px;
}
.hero-btns{display:flex;gap:14px;margin-bottom:18px}
.hero-btns .btn-cta,.hero-btns .btn-ghost{font-size:15px;padding:14px 30px}
.hero-note{
  display:flex;align-items:center;gap:7px;
  font-size:13px;color:var(--sub);
}
.hero-note svg{flex:none}
.hero-photo-note{
  font-size:12px;color:#6B7684;margin-top:8px;
}

/* メインビジュアルのみは画面幅いっぱいに展開し、通常セクションとの差をつける */
@media (min-width:961px){
  .hero{
    width:100vw;
    margin-left:calc(50% - 50vw);
    height:clamp(500px,calc(100svh - 204px),820px);
    min-height:500px;
    max-height:none;
  }
  .results{
    width:100vw;
    margin-left:calc(50% - 50vw);
  }
  .results-inner{padding-top:26px;padding-bottom:26px}

  .worry{min-height:0;display:block}
  .worry .sec-inner{width:100%;padding-top:76px;padding-bottom:72px}
  .worry-group{margin:32px 0 14px}
  .worry-grid{gap:22px}
  .wcard{padding:38px 24px 30px}
  .wcard .icon{height:74px;margin-bottom:18px}
  .wcard .icon img{max-height:70px}
  .worry-close{margin-top:30px}
  .worry-close p{margin-bottom:16px}

}

/* ===== 導入実績バンド ===== */
.results{
  position:relative;
  background:var(--navy);
  color:#fff;
  overflow:hidden;
}
.results::before{ /* 斜めのライム帯 */
  content:"";
  position:absolute;z-index:1;
  left:26%;top:-30%;
  width:70px;height:160%;
  background:var(--lime);
  transform:skewX(-22deg);
}
.results::after{ /* 添えの細帯 */
  content:"";
  position:absolute;z-index:1;
  left:31.5%;top:-30%;
  width:14px;height:160%;
  background:var(--lime);
  opacity:.55;
  transform:skewX(-22deg);
}
.results-inner{
  position:relative;z-index:2;
  max-width:var(--container);margin:0 auto;
  padding:18px var(--content-pad);
  display:flex;flex-direction:row;align-items:center;gap:40px;
}
.results-title{
  font-size:17px;font-weight:900;
  padding-bottom:8px;
  border-bottom:3px solid var(--lime);
  white-space:nowrap;
}
.results-clubs{
  display:flex;flex-wrap:nowrap;align-items:flex-start;
  gap:22px;margin-left:auto;
}
.club{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center}
.club .emblem{
  width:52px;height:52px;flex:none;
  display:flex;align-items:center;justify-content:center;
  background:#fff;border-radius:12px;padding:7px;
  box-shadow:0 2px 10px rgba(0,0,0,.18);
}
.club .emblem img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.club .club-name{font-size:13px;font-weight:700;line-height:1.4;white-space:nowrap}
.club .club-name small{font-size:12px;font-weight:500;color:#C6D2E0;display:block;margin-top:3px;white-space:nowrap}
.club-divider{width:1px;height:44px;background:rgba(255,255,255,.3)}

/* ===== セクション共通 ===== */
.sec{position:relative;overflow:hidden;border-top:1px solid #DDE5ED}
.expert,.team{border-top-color:rgba(255,255,255,.18)}

.sec-inner{position:relative;z-index:4;max-width:var(--container);margin:0 auto;padding:96px var(--content-pad) 88px}
.sec-label{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:900;letter-spacing:.05em;margin-bottom:18px}
.sec-label img{height:12px;width:auto}
.sec h2{font-size:clamp(24px,2.4vw,32px);font-weight:900;line-height:1.65;margin-bottom:18px;letter-spacing:.01em}
.mk{
  display:inline;
  background:linear-gradient(transparent 64%,var(--lime) 64% 88%,transparent 88%);
  padding:0 .08em;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}

/* 特大タイポ（1280pxデザイン枠内の旧配置） */
.sec-typo-txt{
  position:absolute;z-index:0;
  right:max(3%,calc(50% - 601.6px));
  font-family:'Archivo Black',sans-serif;font-style:italic;
  color:#E4EAF1;opacity:.45;line-height:1;letter-spacing:.01em;
  font-size:clamp(90px,10.5vw,155px);
  user-select:none;pointer-events:none;
}

/* ===== お悩み ===== */
.worry{background:#F3F5F7}
.worry .sec-typo-txt{top:48px}
.worry-group{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:900;margin:44px 0 18px}
.worry-group img{height:12px;width:auto}
.worry-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.wcard{
  background:#fff;border:1px solid #E8ECF1;border-radius:12px;
  box-shadow:0 4px 16px rgba(10,36,68,.07);
  padding:32px 18px 26px;text-align:center;
}
.wcard .icon{height:68px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.wcard .icon img{max-height:64px;width:auto}
.wcard p{font-size:14px;font-weight:700;line-height:1.75}
.worry-close{text-align:center;margin-top:56px}
.worry-close p{font-size:clamp(21px,2.1vw,29px);font-weight:900;margin-bottom:26px}

/* ===== サービス紹介 ===== */
.service{background:#fff}
.service .sec-typo-txt{top:56px}
.service-lead{font-size:16px;line-height:1.9}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:36px}
.step-card{
  display:flex;flex-direction:column;
  background:#fff;border:1px solid #E8ECF1;border-radius:10px;
  box-shadow:0 4px 16px rgba(10,36,68,.07);
  padding:32px 30px 30px;
}
.step-top{display:flex;align-items:baseline;gap:14px;margin-bottom:16px}
.step-num{
  font-family:'Archivo Black',sans-serif;font-style:italic;
  font-size:52px;color:var(--navy);line-height:1;letter-spacing:-.05em;
}
.step-verb{font-size:21px;font-weight:900;color:var(--ink);letter-spacing:.03em}
.step-what{font-size:16px;font-weight:900;line-height:1.7;color:var(--ink);min-height:54px}
.step-rule{display:block;width:34px;height:3px;margin:16px 0 16px;background:var(--lime)}
.step-body{font-size:14px;color:var(--sub);line-height:1.9}

/* 動画バナー */
.video-cinema{max-width:1180px;margin:52px auto 0;border-radius:16px;padding:52px 48px;
  background:radial-gradient(circle at 1px 1px,rgba(255,255,255,.10) 1px,transparent 1.2px) 0 0/7px 7px,var(--navy);
  box-shadow:0 20px 50px rgba(10,36,68,.22)}
.vc-eyebrow{display:flex;align-items:center;justify-content:center;gap:11px;font-family:'Archivo Black',sans-serif;font-style:italic;font-size:14px;letter-spacing:.12em;color:var(--lime);margin-bottom:12px}
.vc-eyebrow::before,.vc-eyebrow::after{content:"";width:26px;height:2px;background:var(--lime)}
.vc-title{text-align:center;color:#fff;font-size:clamp(22px,2.4vw,30px);font-weight:900;line-height:1.45;margin-bottom:30px}
.video-frame{position:relative;max-width:860px;margin:0 auto;aspect-ratio:16 / 9;border-radius:10px;overflow:hidden;background:#000;box-shadow:0 16px 40px rgba(0,0,0,.4)}
.video-frame .vposter{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.92}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* 再生ボタンはサムネイル中央のロゴに重ならないよう、下寄せにする */
.vplay{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(10,36,68,.10);cursor:pointer;display:flex;align-items:flex-end;justify-content:center;padding-bottom:7%;transition:background .2s}
.vplay:hover{background:rgba(10,36,68,.22)}
.vplay-ic{width:86px;height:86px;border-radius:50%;background:var(--lime);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 28px rgba(0,0,0,.4);transition:transform .2s}
.vplay:hover .vplay-ic{transform:scale(1.06)}
.vplay-ic::after{content:"";width:0;height:0;border-style:solid;border-width:16px 0 16px 26px;border-color:transparent transparent transparent var(--navy);margin-left:5px}
.vdur{position:absolute;top:18px;right:18px;z-index:2;pointer-events:none;background:rgba(0,0,0,.55);color:#fff;font-size:13px;font-weight:800;padding:6px 12px;border-radius:18px}

/* ===== 血液検査 ===== */
.data{background:#F3F5F7}
.data .sec-typo-txt{top:64px}
.data-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:10px}
.dcard{background:#fff;border:1px solid #E8ECF1;border-radius:12px;box-shadow:0 4px 16px rgba(10,36,68,.07);padding:32px 26px 28px}
.dcard .icon{height:78px;display:flex;align-items:center;margin-bottom:14px}
.dcard .icon img{max-height:74px;width:auto}
.dcard h3{font-size:16px;font-weight:900;margin-bottom:10px}
.dcard p{font-size:14px;color:var(--sub);line-height:1.9}
.data-link{display:inline-block;margin-top:32px;font-size:15px;font-weight:700;color:var(--ink);border-bottom:2px solid var(--navy);padding-bottom:4px}
.data-link:hover{color:var(--navy);border-color:var(--navy)}
.data-note{margin-top:18px;font-size:12px;color:#6B7684;line-height:1.8}

/* ===== 担当栄養士 ===== */
.expert{background:var(--navy);color:#fff}
.expert .sec-typo-txt{color:rgba(255,255,255,.06);opacity:.72;top:48px;right:max(4%,calc(50% - 588.8px))}
.expert h2{color:#fff}
.expert h2{max-width:860px}
/* リードは service-lead と同じくセクション幅100%を使う（660px固定だと右半分が間延びして見える）。
   改行は文節単位（auto-phrase）＋最終行の孤立防止（pretty）で整える */
.expert-body{width:100%;font-size:14px;line-height:2.15;color:#DCE4EE;
  word-break:auto-phrase;text-wrap:pretty}

/* ===== サポート事例 ===== */
.case{background:#fff}
.case .sec-typo-txt{top:56px}
.case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:10px}
.ccard{
  position:relative;background:#fff;border:1px solid #E8ECF1;border-radius:12px;
  box-shadow:0 4px 16px rgba(10,36,68,.07);padding:26px 24px 20px;
}
.case-tag{
  display:inline-block;background:var(--navy);color:#fff;
  font-family:'Archivo Black',sans-serif;font-style:italic;
  font-size:12px;padding:4px 14px 4px 10px;
  clip-path:polygon(0 0,100% 0,91% 100%,0 100%);
}
.case-cat{font-size:12px;font-weight:700;color:var(--sub);margin-left:8px}
.ccard > *{position:relative;z-index:1}
.ccard .sil{position:absolute;top:66px;right:4px;width:38%;opacity:.14;z-index:0}
.ccard h3{font-size:17px;font-weight:900;line-height:1.6;margin:14px 0 8px;padding-right:56px;min-height:54px}
.ccard .goal{font-size:13px;color:var(--sub);border-bottom:1px dashed #D7DEE6;padding-bottom:14px;margin-bottom:14px}
.ccard .result-label{font-size:12px;font-weight:700;color:var(--sub);letter-spacing:.02em}
.ccard .result-label .fn{font-size:9.5px;font-weight:700;vertical-align:super;line-height:0;margin-left:1px}
.ccard .num-row{display:flex;align-items:center;gap:10px;margin:4px 0 6px}
.ccard .num{font-family:'Archivo Black',sans-serif;font-style:italic;font-size:50px;color:var(--navy);letter-spacing:-.01em;line-height:1}
.ccard .num small{font-size:23px;margin-left:1px;font-style:italic}
.ccard .num-row img{width:50px;flex:none}
.ccard .sub{font-size:13px;color:var(--sub);line-height:1.7}
.ccard .who{margin-top:14px;padding-top:12px;border-top:1px solid #E8ECF1;font-size:12px;color:#6B7684}
.sec-note{margin-top:26px;font-size:12px;color:#6B7684;text-align:center;line-height:1.8}

/* ===== 利用者の声 ===== */
.voice{background:#F3F5F7}
.voice .sec-typo-txt{top:52px}
.voice-carousel{position:relative;margin-top:24px}
.voice-viewport{overflow:hidden}
.vgrid{display:flex;gap:16px;will-change:scroll-position}
.vcard{display:flex;flex:0 0 calc((100% - 64px) / 4);flex-direction:column;background:#fff;border:1px solid #E8ECF1;border-radius:12px;box-shadow:0 4px 16px rgba(10,36,68,.07);padding:28px 26px 22px}
.vcard .q{width:34px;margin-bottom:14px;filter:grayscale(1) brightness(1.4);opacity:.5}
.vcard p{font-size:14px;font-weight:500;line-height:1.95}
.vcard .who{display:flex;align-items:center;gap:9px;margin-top:auto;padding-top:16px;border-top:1px solid #EDF1F5;font-size:13px;font-weight:700;color:var(--sub)}
.vcard .who img{width:20px}
.voice-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:20px}
.voice-arrow{font-family:inherit;flex:none;width:44px;height:44px;border:1px solid #CBD4DE;border-radius:50%;background:#fff;color:var(--navy);font-size:28px;line-height:1;cursor:pointer;box-shadow:0 3px 10px rgba(10,36,68,.12);transition:.15s}
.voice-arrow:hover{background:var(--navy);border-color:var(--navy);color:#fff}
.voice-toggle{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border:1px solid #CBD4DE;border-radius:22px;background:#fff;color:var(--navy);font-family:inherit;font-size:13px;font-weight:700;line-height:1;cursor:pointer;transition:.15s}
.voice-toggle:hover{border-color:var(--navy)}
.vt-ic{width:10px;height:12px;border-left:3px solid currentColor;border-right:3px solid currentColor}
.voice-toggle[aria-pressed="true"] .vt-ic{width:0;height:0;border-style:solid;border-width:6px 0 6px 10px;border-color:transparent transparent transparent currentColor}
/* 動きを減らす設定では自動で流れないので、止めるボタンは不要 */
@media (prefers-reduced-motion:reduce){.voice-toggle{display:none}}

/* ===== プラン・料金 ===== */
.plan{background:#fff}
.plan .sec-typo-txt{top:52px}
.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:26px}
.pcard{
  position:relative;background:#fff;border:1px solid #E8ECF1;border-radius:12px;
  box-shadow:0 4px 16px rgba(10,36,68,.07);
  padding:36px 26px 26px;text-align:center;
  display:flex;flex-direction:column;
}
.pcard.featured{border:3px solid var(--lime)}
.pbadge{
  position:absolute;top:-15px;left:50%;transform:translateX(-50%);
  font-size:13px;font-weight:900;padding:5px 20px;white-space:nowrap;
  clip-path:polygon(5% 0,95% 0,100% 100%,0 100%);
}
.pbadge.blue{background:var(--navy);color:#fff}
.pbadge.lime{background:var(--lime);color:var(--navy)}
.pcard h3{font-size:19px;font-weight:900;margin-bottom:6px}
.pcard .pfor{font-size:13px;color:var(--sub)}
.pcard .price{font-size:40px;font-weight:900;letter-spacing:.01em;margin-top:12px;line-height:1.2}
.pcard .price-note{font-size:12px;color:var(--sub);padding-bottom:16px;border-bottom:1px solid #E8ECF1;margin-bottom:16px}
.pcard ul{list-style:none;text-align:left;margin-bottom:22px}
.pcard ul li{display:flex;align-items:flex-start;gap:8px;font-size:14px;font-weight:500;line-height:1.7;padding:5px 0}
.pcard ul li img{width:17px;margin-top:4px;flex:none}
.pcard .pfeat{list-style:none;text-align:left;margin-bottom:22px;border-top:1px solid #E8ECF1}
.pcard .pfeat li{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:50px;padding:2px;border-bottom:1px solid #E8ECF1}
.pcard .pfeat .pf-k{font-size:13px;font-weight:600;color:var(--ink)}
.pcard .pfeat .pf-v{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;flex:none;font-size:15px;font-weight:800;color:var(--navy);line-height:1.2}
.pcard .pfeat .pf-v.off{color:#C3CCD6;font-weight:600}
.pcard .pfeat li.off{opacity:.55}
.pcard .pfeat li.off .pf-k{color:#9AA6B2;font-weight:500}
.pcard .pfeat .pf-v img{width:19px;display:block}
.pcard .pfeat .pf-v .pf-sub{font-size:12px;font-weight:500;color:var(--sub);margin-top:2px}
.pcard .pbtns{margin-top:auto;display:flex;flex-direction:column;gap:10px}
.pcard .pbtns a{width:100%}

/* ===== チーム帯 ===== */
.team{position:relative;background:var(--navy);color:#fff;overflow:hidden}
.team-photo{
  position:absolute;top:0;right:0;height:100%;width:62%;
  object-fit:cover;object-position:center 30%;
}
.team-overlay{
  position:absolute;inset:0;
  background:linear-gradient(90deg,var(--navy) 0%,var(--navy) 40%,rgba(10,36,68,.82) 62%,rgba(10,36,68,.55) 100%);
}
.team .sec-typo-txt{color:rgba(255,255,255,.06);opacity:.72;top:40px;z-index:1}
.team .sec-inner{padding:76px var(--content-pad) 72px}
.team h2{color:#fff;display:inline-block;border-bottom:4px solid var(--lime);padding-bottom:8px;margin-bottom:14px}
.team-sub{font-size:14px;font-weight:700;color:#DCE4EE;margin-bottom:20px}
.team-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 40px;max-width:760px;margin-bottom:22px}
.team-checks div{display:flex;align-items:flex-start;gap:9px;font-size:14px;font-weight:700;line-height:1.7}
.team-checks img{width:18px;margin-top:4px;flex:none}
.team-body{font-size:14px;color:#C6D2E0;line-height:2;max-width:640px;margin-bottom:26px}

/* ===== ご利用の流れ ===== */
.flow{background:#F3F5F7}
.flow .sec-typo-txt{top:52px}
.flow-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-top:38px}
.fcard{
  position:relative;background:#fff;border:1px solid #E8ECF1;border-radius:12px;
  box-shadow:0 4px 16px rgba(10,36,68,.07);
  padding:24px 16px 20px;text-align:center;
}
.fcard:not(:last-child)::after{
  content:"";position:absolute;right:-17px;top:44%;
  width:19px;height:19px;z-index:2;
  background:url(assets/parts5/arrow-lime.png) center/contain no-repeat;
}
.fstep{font-family:'Archivo Black',sans-serif;font-style:italic;font-size:15px;color:var(--navy);margin-bottom:12px}
.fcard .icon{height:62px;display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.fcard .icon img{max-height:58px;max-width:90%;width:auto}
.fcard h3{font-size:14px;font-weight:900;line-height:1.6;margin-bottom:8px}
.fcard p{font-size:13px;color:var(--sub);line-height:1.8;text-align:left}
/* カード内の手順ミニリスト（STEP1）。番号は絶対配置でぶら下げ、折返し行を揃える */
.fcard .fsteps{list-style:none;margin:0;padding:0;text-align:left}
.fcard .fsteps li{position:relative;color:var(--sub);line-height:1.8;
  padding-left:20px;margin-bottom:6px}
.fcard .fsteps .n{position:absolute;left:0;top:0;font-weight:700;color:var(--navy)}
.flow-note{margin-top:22px;font-size:12px;color:#6B7684}
.flow-close{display:flex;align-items:center;justify-content:center;gap:30px;margin-top:36px;background:#fff;border:1.5px solid #D9E0E8;border-radius:12px;padding:20px 32px;box-shadow:0 4px 16px rgba(10,36,68,.05)}
.flow-close p{font-size:clamp(18px,1.8vw,24px);font-weight:900}

/* ===== お知らせ・読みもの（TOPICS） ===== */
.topics{background:#F3F5F7}
.topics .sec-typo-txt{top:52px}
.tgroup-head{display:flex;align-items:center;gap:16px;margin:40px 0 18px}
.tgroup-head:first-of-type{margin-top:20px}
.tgroup-head .tgh-label{font-size:16px;font-weight:900;color:var(--ink);white-space:nowrap;display:flex;align-items:center;gap:9px}
.tgroup-head .tgh-label img{height:12px;width:auto}
.tgroup-head .tgh-line{flex:1;height:1px;background:#E1E7EE}
.tgroup-head .tgh-more{font-size:13px;font-weight:700;color:var(--navy);white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.tgroup-head .tgh-more::after{content:"→";transition:transform .2s}
.tgroup-head .tgh-more:hover::after{transform:translateX(3px)}
/* お知らせ＝リスト */
.tlist{border-top:2px solid var(--navy)}
.tlist a{display:flex;align-items:center;gap:20px;padding:18px 6px;border-bottom:1px solid #E8ECF1;color:var(--ink);transition:background .15s}
.tlist a:hover{background:#F3F5F7}
.tlist .tl-date{font-size:13px;color:var(--sub);white-space:nowrap}
.tlist .tl-tag{font-size:12px;font-weight:900;background:var(--navy);color:#fff;padding:3px 12px;min-width:74px;text-align:center;white-space:nowrap;clip-path:polygon(6% 0,100% 0,94% 100%,0 100%)}
.tlist .tl-title{flex:1;font-size:16px;font-weight:700;color:var(--ink)}
.tlist .tl-arrow{color:var(--navy);font-weight:900}
/* インタビュー＝INTERVIEW特大ナンバー行 */
.ivlist{border-top:2px solid var(--navy)}
.ivrow{display:grid;grid-template-columns:180px 1fr 260px;gap:36px;align-items:center;padding:32px 8px;border-bottom:1px solid #E8ECF1;transition:background .15s;color:var(--ink)}
.ivrow:hover{background:#F3F5F7}
.ivnum{font-family:'Archivo Black',sans-serif;font-style:italic;line-height:1}
.ivnum .n{font-size:72px;color:var(--navy);display:inline-block;border-bottom:6px solid var(--lime);padding-bottom:4px}
.ivnum .lbl{display:block;font-size:12px;letter-spacing:.18em;color:var(--sub);margin-top:10px}
.ivq{font-size:22px;font-weight:900;line-height:1.65;margin-bottom:10px}
.ivmeta{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ivwho{font-size:14px;font-weight:700;color:var(--sub)}
.iv-tag{font-size:12px;font-weight:900;background:var(--navy);color:#fff;padding:4px 14px;clip-path:polygon(5% 0,100% 0,95% 100%,0 100%)}
.ivthumb{height:118px;border-radius:10px;overflow:hidden;clip-path:polygon(8% 0,100% 0,92% 100%,0 100%)}
.ivthumb img{width:100%;height:100%;object-fit:cover}
.ivthumb.g{background:linear-gradient(135deg,#123E73,var(--navy))}
/* コラム＝サムネイル付きグリッド */
.tcards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tcard{background:#fff;border:1px solid #E8ECF1;border-radius:12px;overflow:hidden;box-shadow:0 4px 16px rgba(10,36,68,.07);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.tcard:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(10,36,68,.14)}
.tcard .tc-thumb{position:relative;aspect-ratio:1200/630;overflow:hidden;background:linear-gradient(135deg,#1E4E8F,var(--navy))}
.tcard .tc-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.tcard .tc-body{padding:22px 24px 24px;display:flex;flex-direction:column;flex:1}
.tcard .tc-meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.tcard .tc-tag{font-size:12px;font-weight:900;background:var(--navy);color:#fff;padding:3px 12px;clip-path:polygon(6% 0,100% 0,94% 100%,0 100%)}
.tcard .tc-date{font-size:13px;color:var(--sub)}
.tcard h3{font-size:17px;font-weight:900;color:var(--ink);line-height:1.55;margin-bottom:10px}
.tcard p{font-size:14px;color:var(--sub);line-height:1.75;margin-bottom:16px}
.tcard .tc-arrow{margin-top:auto;text-align:right;color:var(--navy);font-size:20px;font-weight:900}

/* ===== FAQ ===== */
.faq{background:#fff}
.faq-grid{display:grid;grid-template-columns:300px 1fr;gap:52px;align-items:start}
.faq-typo{font-family:'Archivo Black',sans-serif;font-style:italic;font-size:clamp(90px,10.5vw,155px);color:#E4EAF1;opacity:.45;line-height:1;margin-top:14px;user-select:none}
.faq-item{background:#fff;border:1px solid #E8ECF1;border-radius:12px;box-shadow:0 4px 16px rgba(10,36,68,.07);margin-bottom:12px;overflow:hidden}
.faq-item summary{display:flex;align-items:center;gap:16px;padding:19px 24px;cursor:pointer;list-style:none;font-size:16px;font-weight:700}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"＋";margin-left:auto;color:var(--navy);font-weight:700;font-size:18px;flex:none}
.faq-item[open] summary::after{content:"−"}
.qmark,.amark{flex:none;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:'Archivo Black',sans-serif;font-style:italic;font-size:14px}
.qmark{background:var(--navy);color:#fff}
.amark{background:var(--lime);color:var(--navy)}
.faq-a{display:flex;gap:16px;padding:2px 24px 22px}
.faq-a p{font-size:14px;color:var(--sub);line-height:1.9;padding-top:5px}

/* ===== 最終CTA ===== */
.cta{
  position:relative;z-index:4;color:#fff;overflow:hidden;background:var(--navy);
  border-top:1px solid rgba(255,255,255,.18);
}
.cta-inner{position:relative;z-index:4;max-width:var(--container);margin:0 auto;padding:84px var(--content-pad) 82px}
.cta h2{max-width:860px;font-size:clamp(26px,2.6vw,36px);font-weight:900;line-height:1.48;margin-bottom:16px}
.cta .cta-lead{width:min(100%,660px);font-size:16px;color:#DCE4EE;line-height:2.15;margin-bottom:32px}
.cta-btns{display:flex;gap:16px;margin-bottom:26px}
.cta-btns .btn-cta{font-size:16px;padding:16px 44px}
.cta-team{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:#C6D2E0;border-bottom:1px solid rgba(255,255,255,.4);padding-bottom:3px}
.cta-team::after{content:"→"}
.cta-team:hover{color:#fff}


/* ===== 確定UIへの調整 ===== */
/* セクションを白地でつなぎ、装飾・カード・文字のトーンを全体で統一する */
.worry,.data,.voice,.flow,.topics{background:#fff}
.sec-inner{padding:84px var(--content-pad)}
.sec-label{margin-bottom:14px}
.sec h2{margin-bottom:14px}
.worry-grid{gap:22px}
.wcard,.step-card,.dcard,.ccard,.vcard,.pcard,.fcard,.tcard{
  border-radius:7px;
  box-shadow:0 3px 12px rgba(10,36,68,.09);
}
.wcard{padding:38px 24px 30px;border-radius:14px;box-shadow:0 6px 20px rgba(10,36,68,.06)}
.wcard .icon{height:74px;margin-bottom:18px}
.wcard .icon img{max-height:70px}
.worry-close{margin-top:42px}
.worry-close p{margin-bottom:20px}
.steps{gap:20px;margin-top:32px}
.step-card{padding:30px 28px 26px}
.step-num{font-size:52px}
.video-cinema{margin-top:38px}
.data-grid{gap:16px;margin-top:24px}
.dcard{padding:26px 22px 22px}
.dcard .icon{height:68px;margin-bottom:10px}
.dcard .icon img{max-height:64px}
.case-grid,.vgrid{gap:16px;margin-top:24px}
.ccard{padding:22px 20px 18px}
.vcard{padding:24px 22px 18px}
.plan-grid{gap:18px;margin-top:34px}
.pcard{padding:32px 22px 22px}
.flow-grid{gap:12px;margin-top:28px}
.fcard{padding:20px 13px 17px}
.flow-close{margin-top:28px;border-radius:7px;padding:16px 28px}
.faq-item{border-radius:0;box-shadow:none;margin:0;border-width:0 1px 1px}
.faq-item:first-child{border-radius:7px 7px 0 0;border-top-width:1px}
.faq-item:last-child{border-radius:0 0 7px 7px}
.faq-item summary{padding:15px 18px;font-size:14px}
.faq-a{padding:2px 18px 18px}
.tgroup-head{margin:34px 0 14px}
.tlist a{padding:14px 6px}
.ivrow{padding:24px 8px}
.cta-inner{padding:86px var(--content-pad) 82px}

/* ===== LP用タイポグラフィ基準 =====
   見出し 26–36px / 小見出し 16–18px / 本文 15–16px / 注釈 12px を下限にする */
.sec-label{font-size:14px;line-height:1.5}
.sec h2{font-size:clamp(26px,2.6vw,36px);line-height:1.48;letter-spacing:0}
.expert h2{white-space:nowrap;letter-spacing:-.01em}
.service-lead,.expert-body,.team-sub,.team-checks div,.team-body,.cta .cta-lead{font-size:16px}
.worry-group{font-size:17px}
.wcard p{font-size:15px;line-height:1.7}
.step-title,.dcard h3,.ccard h3,.pcard h3,.tcard h3{font-size:17px;line-height:1.55}
.step-body,.dcard p,.vcard p,.fcard p,.fcard .fsteps li,.faq-a p,.tcard p{font-size:15px;line-height:1.8}
.data-link,.faq-item summary{font-size:16px}
.case-cat,.ccard .goal,.ccard .result-label,.ccard .sub,.ccard .who,.vcard .who,.pcard .pfor,.pcard .price-note,.pcard ul li,.fcard h3,.flow-note,.sec-note{font-size:13px}
.tlist .tl-title{font-size:16px}
.tlist .tl-date,.tcard .tc-date,.ivwho{font-size:13px}
.fcard h3{font-size:14px;line-height:1.55;min-height:3.1em;margin-bottom:8px;display:flex;flex-direction:column;justify-content:center}
.hero-note,.hero-photo-note,.data-note{font-size:12px}

/* ===== Mobile ===== */
@media (max-width:960px){
  :root{--content-pad:20px}
  .hero{height:auto;max-height:none;min-height:0;padding-bottom:32px}
  .hero-visual{position:relative;top:auto;bottom:auto;right:auto;width:100%;height:300px}
  .hv-photo{clip-path:none}
  .hv-photo img{object-position:50% 34%}
  .hv-sl,.hero-typo{display:none}
  .hero-inner{padding-top:24px;padding-bottom:48px}
  .hero-copy{max-width:100%}
  .hero-line{white-space:normal}
  /* SPは強制改行を解いて自然折返し＋行の均等配分（孤立行を防ぐ） */
  .hero h1{font-size:24px;text-wrap:balance;word-break:auto-phrase}
  .hero h1 br{display:none}
  .results-inner{flex-direction:column;align-items:flex-start;gap:20px}
  .results-clubs{margin-left:0;flex-wrap:wrap;justify-content:center;gap:22px 10px;width:100%}
  .club{width:calc(50% - 6px)}
  .club-divider{display:none}
  .results::before,.results::after{display:none}
  .worry-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .steps{grid-template-columns:1fr}
  .video-cinema{margin-top:32px;padding:34px 16px;border-radius:12px}
  .vc-title{font-size:clamp(20px,5.4vw,25px);line-height:1.5;margin-bottom:22px;word-break:auto-phrase}
  .video-frame{border-radius:8px}
  .vplay-ic{width:66px;height:66px}
  .vplay-ic::after{border-width:13px 0 13px 21px}
  .sec-inner{padding:56px 20px 52px}
  .sec h2{font-size:clamp(24px,6.2vw,30px);line-height:1.48;word-break:auto-phrase}
  .worry-close p{word-break:auto-phrase}
  .expert h2{white-space:normal;letter-spacing:0}
  .service-lead,.expert-body,.team-sub,.team-checks div,.team-body,.cta .cta-lead{font-size:15px}
  .wcard p,.step-body,.dcard p,.vcard p,.fcard p,.fcard .fsteps li,.faq-a p,.tcard p{font-size:14px}
  .dcard h3,.ccard h3,.pcard h3,.tcard h3{font-size:16px}
  .step-what{font-size:16px;min-height:0}
  .step-num{font-size:50px}
  .step-verb{font-size:20px}
  .faq-item summary,.data-link{font-size:15px}
  .data-grid,.case-grid,.vgrid{grid-template-columns:1fr}
  .vcard{flex-basis:100%}
  .voice-arrow{font-size:25px}
  .voice-controls{justify-content:center}
  .ccard h3{min-height:0}
  .plan-grid,.flow-grid{grid-template-columns:1fr}
  .fcard:not(:last-child)::after{display:none}
  .team-photo{width:100%;opacity:.5}
  .team-checks{grid-template-columns:1fr}
  .flow-close{flex-direction:column;gap:14px}
  .ivrow{grid-template-columns:1fr;gap:14px}
  .ivthumb{display:none}
  .ivnum .n{font-size:48px}
  .tcards{grid-template-columns:1fr}
  .tlist a{flex-wrap:wrap;gap:8px 14px}
  .tlist .tl-title{flex-basis:100%;order:3}
  .faq-grid{grid-template-columns:1fr;gap:20px}
  .sec-typo-txt{font-size:64px}
  .faq-typo{font-size:64px;margin-top:0}
  .cta-btns{flex-direction:column;align-items:flex-start}

}

/* ===== Codex edition：全幅を使う幾何学装飾（v7トーン確定） =====
   本文の1240px幅には収めず、画面端とセクション境界を一つの座標系でつなぐ。
   図形はCSSで描画し、全て-45deg／レーン間gap 16・18・24pxで生成する。
   配色はv7方式：線＝navy 0.05の紙テクスチャ、点＝lime 0.8の一点アクセント。
   パターン定義のcolor/opacityは形状生成・検証にのみ使い、描画色はshape種別で決める。 */
.codex-edition .cx-join{
  position:relative;
  z-index:3;
  height:0;
  pointer-events:none;
}
.codex-edition .cx-join--light-light{
  --cx-depth:48px;
}
.codex-edition .cx-join--light-dark{
  --cx-depth:-48px;
}
.codex-edition .cx-join--dark-light{
  --cx-depth:180px;
}
.codex-edition .cx-join--results-worry{
  --cx-depth:24px;
}
.codex-edition .cx-join--team-flow{
  --cx-depth:24px;
}
.codex-edition .cx-motif{
  position:absolute;
  top:var(--cx-depth,48px);
  z-index:1;
  width:720px;
  height:400px;
  overflow:visible;
  opacity:1;
  pointer-events:none;
  user-select:none;
}
.codex-edition .cx-motif--left,
.codex-edition .cx-motif--right{
  /*
    各装飾の最も内側の丸端を共通軸へ揃える。
    1728px以上：本文端から100px外側（1728pxで side 244 + pad 32 - 100 = 176px）。
    1728px未満：軸176pxを保ったまま本文側へ入り、めり込みは本文端+48pxで頭打ち
    （1440pxで約44px、1280pxで48px。軸は 100px まで縮む）。1280px未満は非表示。
  */
  --cx-safe-edge:calc(var(--cx-inner-axis-px,var(--cx-inner-axis)) + 1px);
}
.codex-edition .cx-motif--left{
  left:0;
  clip-path:inset(-1000px calc(720px - var(--cx-safe-edge)) -1000px 0);
}
.codex-edition .cx-motif--right{
  right:0;
  clip-path:inset(-1000px 0 -1000px calc(720px - var(--cx-safe-edge)));
}
.codex-edition .cx-shape{
  position:absolute;
  display:block;
  left:var(--cx-x);
  top:var(--cx-y);
  pointer-events:none;
}
.codex-edition .cx-shape--bar{
  background:var(--navy);
  opacity:.05;
  width:var(--cx-length);
  height:var(--cx-size);
  border-radius:999px;
  transform:translate(-50%,-50%) rotate(-45deg);
  transform-origin:50% 50%;
}
.codex-edition .cx-shape--dot{
  width:var(--cx-size);
  height:var(--cx-size);
  border-radius:50%;
  transform:translate(-50%,-50%);
  background:var(--lime);
  opacity:.8;
}

@media (max-width:1279px){
  .codex-edition .cx-join{display:none}
}


/* ===== スマホの組み直し（UI/UX検品 2026-10-19）===== */
@media (max-width:960px){
  /* ヒーローのボタン：横並びだと390px幅で2つ目が画面外に切れていた → 縦積み・全幅 */
  /* 見出しの <br> を消すと「変わらない。 血液検査…」と2文が1行に混ざるため、
     スマホでも行の区切りは残し、各行の中だけ文節で折り返す */
  .hero h1 br{display:inline}
  .hero-btns{flex-direction:column;gap:10px}
  .hero-btns .btn-cta,.hero-btns .btn-ghost{width:100%;justify-content:center;padding:16px 20px}
  /* お悩みカード：2列だと1行7〜8字で「食べさ／せれば」と泣き別れていた
     → アイコン左・文言右の1列リストにして、文言は自然折り返し */
  .worry-grid{grid-template-columns:1fr;gap:10px}
  .wcard{display:flex;align-items:center;gap:16px;padding:14px 18px;text-align:left}
  .wcard .icon{flex:none;width:52px;height:52px;margin:0}
  .wcard .icon img{max-height:44px}
  .wcard p{font-size:15px;line-height:1.6;word-break:auto-phrase}
  .wcard p br{display:none}
  /* 小さすぎたタップ領域（21px前後）を44px以上に */
  .tgroup-head .tgh-more{min-height:44px}
}

/* ===== UXレビュー対応（app-ux-playbook 2026-10-19）=====
   上の各ブロックを上書きする最終調整。数値は 4/8 の倍数にそろえる */

/* スマホのヒーロー見出し：24px だとセクション見出し（約24px）と同じ大きさで主見出しに見えなかったため 28px に。
   セクション見出し（.sec h2）とマーカーは元の大きさ・太さのまま */
@media (max-width:960px){
  .hero h1{font-size:28px;line-height:1.5}
}

/* セクション上下の余白（LP-C18）：84px → 96px（区切りをはっきりさせる） */
.sec-inner{padding-top:96px;padding-bottom:96px}
@media (max-width:960px){
  .sec-inner{padding-top:56px;padding-bottom:56px}
}

/* 料金欄（MON-C22）：各カードに塗りボタンが2つずつ並び主CTAが競合していた。
   プランごとの次の一手（詳しく見る）を主に、無料相談は文字リンクに弱める */
.pcard .pbtn-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;
  font-size:14px;font-weight:700;color:var(--navy);text-decoration:underline;text-underline-offset:4px}
.pcard .pbtn-link:hover{text-decoration-thickness:2px}

/* ボタン大（56px）：ヒーローと最終CTA、流れの下の相談ボタン */
.hero-btns .btn-cta,.hero-btns .btn-ghost,.cta-btns .btn-cta,.cta-btns .btn-white-o,.flow-close .btn-cta,.worry-close .btn-cta{
  min-height:56px;padding-top:0;padding-bottom:0}

/* 最小の文字を12pxに（LP-C13） */
.club .club-name small,.pcard .pfeat .pf-v .pf-sub,.tlist .tl-tag,.ivnum .lbl,.tcard .tc-tag{font-size:12px}

/* タブレット幅（601〜960px）：ヒーローのボタンが全幅760pxまで伸び、写真は選手の頭が切れていた */
@media (min-width:601px) and (max-width:960px){
  .hero-btns{max-width:420px}
  .hero-visual{height:440px}
  .hv-photo img{object-position:50% 20%}
}

/* ヒーロー（PC）：手前のライム斜線が見出し1行目の「ない。」に重なっていた → 斜線を短くして見出しの上で止める */
.hv-sl--lime{height:26%}
.hv-sl--thin{height:14%}

/* スマホの動画：再生ボタンがサムネ中央のロゴにかかっていた → 小さくして右下に寄せる */
@media (max-width:960px){
  .vplay{justify-content:flex-end;padding:0 5% 5% 0}
  .vplay-ic{width:48px;height:48px}
  .vplay-ic::after{border-width:11px 0 11px 18px;margin-left:4px}
}

/* 一覧の記事タイトル：最後の1文字だけが次の行に残る折り返しを防ぐ */
.tlist .tl-title,.tcard h3{text-wrap:pretty}

/* 1文字だけ次の行に残る折り返しを防ぐ（事例カードの目標文・注記） */
.ccard .goal,.ccard .sub,.sec-note,.data-note{text-wrap:pretty}

/* ===== 提案1：細部の仕上げ（2026-10-19）===== */

/* 背景の大きな英字は、データ（DATA）・事例（CASE）・担当栄養士（EXPERT）だけに残す。
   全セクションに同じ手法が続き、型の繰り返しに見えていたため */
.worry .sec-typo-txt,.service .sec-typo-txt,.voice .sec-typo-txt,.plan .sec-typo-txt,
.team .sec-typo-txt,.flow .sec-typo-txt,.topics .sec-typo-txt,.faq-typo{display:none}

/* 最終CTA（PC）：右半分が空いていたため、相談までの3ステップを並べる（問い合わせページと同じ内容） */
.cta-inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px 64px;align-items:center}
.cta-steps{list-style:none;margin:0;padding:0;counter-reset:none;border-left:1px solid rgba(255,255,255,.18)}
.cta-steps li{display:grid;grid-template-columns:auto 1fr;column-gap:16px;row-gap:4px;padding:16px 0 16px 32px;position:relative}
.cta-steps li + li{border-top:1px solid rgba(255,255,255,.12)}
.cta-steps .cs-n{grid-row:span 2;align-self:start;font-family:'Archivo Black',sans-serif;font-style:italic;font-size:13px;
  color:var(--lime);letter-spacing:.04em;padding-top:2px}
.cta-steps b{font-size:16px;font-weight:900;color:#fff}
.cta-steps span:not(.cs-n){font-size:14px;color:#C6D2E0;line-height:1.7}
@media (max-width:960px){
  .cta-inner{grid-template-columns:1fr;gap:32px}
  .cta-steps{border-left:0;border-top:1px solid rgba(255,255,255,.18)}
  .cta-steps li{padding:16px 0}
}

/* タップ領域：血液検査キットへのリンク（高さ30px）を44pxに */
.data-link{display:inline-flex;align-items:flex-end;min-height:44px}

/* ご利用の流れ（template-parts/flow.php）：プランを切り替えるタブ＋期間ごとの時間軸。
   時間軸の見た目はプラン詳細（plan-detail.css の .tl。デザインカンプの再現）と同じものを .flow 内にだけ当てる。
   plan-detail.css を直したら、ここも合わせること */
.flow{background:#F3F5F7}
.flow .service-lead{margin-bottom:0}
.pt{margin-top:32px}
/* タブ：文字だけ。選択中は紺の文字＋ライムの下線（サイトの見出し下線と同じ表現） */
.pt-tabs{display:none}
.pt.is-tabbed .pt-tabs{display:flex;gap:32px;border-bottom:1px solid #D9E0E8;margin-bottom:8px}
.pt-tab{position:relative;min-height:48px;padding:0 2px 12px;border:0;background:none;cursor:pointer;
  font-family:inherit;font-size:18px;font-weight:900;color:#6B7684;transition:color .2s}
.pt-tab:hover{color:var(--ink)}
.pt-tab[aria-selected="true"]{color:var(--navy)}
.pt-tab[aria-selected="true"]::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:4px;border-radius:2px;background:var(--lime)}
.pt.is-tabbed .pt-name{display:none}
.pt-name{margin-top:24px;font-size:18px;font-weight:900;color:var(--navy)}
.pt-panel + .pt-panel{margin-top:16px}
.flow .flow-note{margin-top:16px;font-size:13px;color:#6B7684;line-height:1.8}
@media (max-width:960px){
  .pt.is-tabbed .pt-tabs{gap:24px}
  .pt-tab{font-size:16px}
}

.flow .tl-wrap{margin-top:30px}
.flow .tl{display:grid;gap:16px}
.flow .tl-col{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr);
  align-items:start;min-width:0}
.flow .tl-axis{position:relative;align-self:stretch;display:flex;justify-content:center;padding-top:30px}
.flow .tl-axis::before{content:"";position:absolute;top:0;bottom:-16px;width:3px;background:var(--navy)}
.flow .tl-col:first-child .tl-axis::before{top:30px}
.flow .tl-col:last-child .tl-axis::before{bottom:auto;height:30px}
.flow .tl-dot{position:relative;z-index:1;width:14px;height:14px;border-radius:50%;
  background:var(--navy);box-shadow:0 0 0 4px #fff,0 0 0 7px var(--navy)}
/* 起点（開始前）だけ中心をライムにして、ここから始まることを示す */
.flow .tl-col:first-child .tl-dot{background:var(--lime)}
.flow .tl-card{background:#fff;border-radius:16px;overflow:hidden;
  box-shadow:0 2px 10px rgba(16,32,64,.05)}
/* バッジ幅は文字数で変わらないよう最小幅で揃える（開始前／1ヶ月目／1〜2週目…） */
.flow .tl-month{display:inline-block;background:var(--navy);color:#fff;
  font-size:15px;font-weight:900;line-height:1.4;letter-spacing:.02em;text-align:center;
  min-width:104px;border-radius:8px;padding:9px 18px;margin:20px 0 0 22px}
/* 項目ごとに枠をつけると3つの箱に分断されて読みにくいので、
   行全体をひとつの面にして、項目のあいだは細い罫線1本だけで区切る */
.flow .tl-items{display:grid;gap:0;padding:0}
.flow .tl-item{display:flex;align-items:flex-start;gap:16px;padding:18px 20px}
.flow .tl-item + .tl-item{border-top:1px solid #EDF0F4}
.flow .tl-item img{width:60px;height:60px;object-fit:contain;flex:none}
.flow .tl-body{min-width:0}
.flow .tl-name{font-size:17px;font-weight:900;line-height:1.5;color:var(--navy)}
.flow .tl-seq{font-size:15px;font-weight:700;color:var(--sub);margin-left:1px}
/* 「×2」は画像の当て込みに合わせてテキスト表記。バッジにすると1行に収まらない */
.flow .tl-count{margin-left:9px;font-size:16px;font-weight:700;color:var(--sub);white-space:nowrap}
.flow .tl-desc{font-size:14px;color:var(--sub);line-height:1.8;margin-top:5px}

/* LINE帯：アイコン・見出し・説明文で1ブロックとして立てる */
.flow .tl-band{display:flex;align-items:center;gap:18px;margin:16px 0 0 56px;
  border:1px solid #E4EFCB;border-radius:16px;
  background:linear-gradient(135deg,#F1F8DF,#FAFCF2);padding:22px 24px}
.flow .tl-band-icon{flex:none;width:56px;height:56px;border-radius:15px;background:#06C755;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 16px rgba(6,199,85,.24)}
.flow .tl-band-icon svg{width:30px;height:30px;fill:#fff}
.flow .tl-band-body{min-width:0}
/* 右端のスマホイラスト。狭い幅では文字を優先して隠す */
.flow .tl-band-illust{display:none;flex:none;margin-left:auto;width:76px;height:auto}
.flow .tl-band-title{font-size:18px;font-weight:900;color:var(--navy);line-height:1.5}
.flow .tl-band-note{font-size:14px;color:var(--sub);line-height:1.85;margin-top:3px}

@media (min-width:1280px){
  .flow .tl-band{gap:20px;padding:26px 28px;margin-left:64px}
  .flow .tl-band-icon{width:62px;height:62px;border-radius:17px}
  .flow .tl-band-icon svg{width:33px;height:33px}
  .flow .tl-band-title{font-size:20px}
  .flow .tl-band-note{font-size:14px}
  .flow .tl-band-illust{display:block;width:92px}
}

/* 1280px以上＝縦軸は保ったまま、カードの中の項目だけ横並びにする */
@media (min-width:1280px){
  .flow .tl-wrap{margin-top:38px}
  .flow .tl{gap:16px}
  .flow .tl-col{grid-template-columns:64px minmax(0,1fr)}
  .flow .tl-axis{padding-top:30px}
  .flow .tl-axis::before{bottom:-16px}
  .flow .tl-col:first-child .tl-axis::before{top:30px}
  .flow .tl-col:last-child .tl-axis::before{height:30px}
  .flow .tl-month{font-size:16px;padding:9px 24px;margin:20px 0 0 22px}
  /* 行によって項目数が違っても列幅を変えない（1ヶ月目3件・2ヶ月目2件で幅が変わるのを防ぐ） */
  .flow .tl-items{grid-template-columns:repeat(var(--tl-max),minmax(0,1fr));padding:0;gap:0}
  /* 横並びになるので区切りも縦罫に切り替える */
  .flow .tl-item + .tl-item{border-top:0;border-left:1px solid #EDF0F4}
  .flow .tl-item{padding:18px 22px 22px;gap:16px}
  .flow .tl-item img{width:64px;height:64px}
  .flow .tl-name{font-size:17px}
  .flow .tl-desc{font-size:14px}
}
