@charset "utf-8";
/* アドワンM&A
   黒と白、白黒写真、一点の赤橙。直線で組み、唯一の曲線はロゴ由来の「2つの輪と、その重なり」。
   重なりの部分だけが光る図形（.rings）がこのサイトの目印。フォントは Noto Sans JP のみ。 */

:root {
  --ink: #17171b;
  --black: #0e0e11;
  --panel: #1a1a1f;
  --crimson: #d81b3c;
  --crimson-d: #b0112c;
  --orange: #ff8c00;
  --grad: linear-gradient(100deg, #b8002c 0%, #e5283f 60%, #ff8c00 100%);
  --paper: #fff;
  --mist: #f3f3f5;
  --rule: #dedee2;
  --rule-d: rgba(255,255,255,.18);
  --sub: #5e5e66;
  --on-dark: #f2f2f4;
  --on-dark-sub: #b7b7bf;
  --mark: #fff0b3;
  --body: "Noto Sans JP", sans-serif;
  --wrap: 1160px;
  --gut: clamp(16px, 4vw, 40px);
  --head: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.9; letter-spacing: .03em; word-break: auto-phrase; overflow-wrap: anywhere; }
input, select, textarea, button { font-family: inherit; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--crimson-d); text-underline-offset: .2em; }
a:hover { color: var(--crimson); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.prose ul, .list { padding-left: 1.3em; list-style: disc; }
.prose ol, .list--num { padding-left: 1.5em; list-style: decimal; }
.prose li + li, .list li + li { margin-top: .35em; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.nb { white-space: nowrap; }
.pc-only { display: inline; }
@media (max-width: 720px) { .pc-only { display: none; } }

/* 見出しなどは文節で折り返す。切れ目は assets/js/phrase.js が入れる */
h1, h2, h3, h4, summary, .hero__lead, .hero__foot, .page-head__lead, .sec__lead, .panel__ja, .panel__desc, .panel__list span, .rail__name, .route__row, .mega__link span, .c-card__title, .stage__row p, .stage__title p, .matrix__cell p, .merit__row p, .split__rows p, .rows__row p, .step__desc, .btn, .member__desc, .member__strength, .fee-min__text, .fee-min__note, .dl dt, .dl dd, .table th, .table td, .scope__name, .scope__note, .note, .foot-brand p, .foot-grid a, .field__label, .field__hint, .check span, .tiers__range, .tiers__note p, .form__sent, .form__error, .sticky-cta a { word-break: keep-all; overflow-wrap: anywhere; }

.ph-c { display: inline-block; }

/* 未確定項目。公開前に消す */
.tbd { background: var(--mark); color: #5c4300; padding: .05em .4em; font-weight: 700; font-size: .92em; }

/* layout */
.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gut) * 2, 800px); margin-inline: auto; }
.sec { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.sec--mist { background: var(--mist); }
.sec--dark { position: relative; overflow: hidden; background: var(--black); color: var(--on-dark); }
.sec--dark > .wrap a:not(.btn), .sec--dark > .wrap--narrow a:not(.btn) { color: #fff; }

/* 見出し：短い赤橙の線と小さなラベル */
.sec__label { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--ink); line-height: 1.5; }
.sec__label::before { content: ""; flex: none; width: 36px; height: 2px; background: var(--grad); }
.sec__head--center .sec__label { justify-content: center; }
.sec__title { margin-top: 14px; font-weight: 700; font-size: clamp(1.8rem, 3.8vw, 2.9rem); line-height: 1.35; letter-spacing: .02em; }
.sec__lead { margin-top: 16px; max-width: 42em; color: var(--sub); }
.sec--dark .sec__label, .merit .sec__label { color: var(--on-dark); }
.sec--dark .sec__lead { color: var(--on-dark-sub); }
.sec__head--center { text-align: center; }
.sec__head--center .sec__lead { margin-inline: auto; }
.sec__body { margin-top: clamp(30px, 5vw, 56px); }
.sec__more { margin-top: clamp(30px, 5vw, 52px); }
.note { font-size: 13px; line-height: 1.8; color: var(--sub); }
.sec--dark > .wrap > .note { color: var(--on-dark-sub); }
.mt { margin-top: 24px; }
.mt-l { margin-top: 44px; }

/* ボタン：直線と、滑る矢印 */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 58px; min-width: 240px; padding: 12px 22px;
  background: var(--crimson); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.4; letter-spacing: .06em;
  text-decoration: none; border: 1px solid var(--crimson); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn::after { content: "→"; font-weight: 400; font-size: 18px; line-height: 1; transition: transform .25s; }
.btn:hover { background: var(--crimson-d); border-color: var(--crimson-d); color: #fff; }
.btn:hover::after { transform: translateX(6px); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.sec--dark .btn--ghost, .hero .btn--ghost, .merit .btn--ghost, .split__panel .btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.sec--dark .btn--ghost:hover, .hero .btn--ghost:hover, .merit .btn--ghost:hover, .split__panel .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 520px) { .btn { min-width: 0; max-width: 100%; } .btn-row .btn { width: 100%; } }
@media (max-width: 360px) { .page-head--long h1 { font-size: 1.45rem; } .sec__title { font-size: 1.6rem; } }

/* ヘッダー：写真の上は透明、スクロールで黒 */
.site-head { position: fixed; left: 0; right: 0; top: 0; z-index: 50; color: #fff; transition: background .3s; }
.site-head.is-solid { background: rgba(14,14,17,.92); backdrop-filter: blur(8px); }
.head-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--head); padding-inline: clamp(16px, 2.6vw, 36px); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo:hover { color: inherit; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__name { font-size: 21px; font-weight: 700; line-height: 1; white-space: nowrap; }
.gnav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
.gnav__list { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); }
.gnav__list a { color: inherit; text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; display: block; padding-block: 6px; }
.gnav__list > li > a { position: relative; }
.gnav__list > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.gnav__list > li > a:hover, .gnav__list > li > a[aria-current="page"] { color: #fff; }
.gnav__list > li > a:hover::after, .gnav__list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.gnav__cta { display: flex; gap: 6px; }
.head-cta { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; background: var(--crimson); border: 1px solid var(--crimson); transition: background .2s, border-color .2s, color .2s; }
.head-cta:hover { color: #fff; background: var(--crimson-d); border-color: var(--crimson-d); }
/* 簡易企業評価：黒の上で最も目立つ白地に、無料の札と内容の説明を添える */
.head-cta--val { gap: 8px; padding: 6px 12px 6px 8px; background: #fff; border-color: #fff; color: var(--ink); }
.head-cta--val:hover { background: var(--mist); border-color: var(--mist); color: var(--ink); }
.cta-free { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: 0; }
.cta-val { display: flex; flex-direction: column; text-align: left; }
.cta-val__name { font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: .02em; }
.cta-val__sub { font-size: 10px; font-weight: 400; line-height: 1.3; letter-spacing: 0; color: var(--sub); }
.nav-toggle { display: none; width: 68px; height: 40px; background: none; border: 1px solid rgba(255,255,255,.55); cursor: pointer; font-size: 11px; color: inherit; padding: 0; }
.nav-sub { display: none; }
@media (max-width: 1160px) {
  :root { --head: 62px; }
  .nav-toggle { display: block; }
  .logo__name { font-size: 19px; }
  .logo__mark { width: 30px; height: 30px; }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--black); padding: 4px var(--gut) 22px; flex-direction: column; align-items: stretch; gap: 14px; max-height: calc(100vh - var(--head)); overflow-y: auto; }
  .gnav.is-open { display: flex; }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__list > li > a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--rule-d); }
  .gnav__list > li > a::after { display: none; }
  .nav-sub { display: block; }
  .gnav__cta { flex-direction: column; gap: 8px; }
  .head-cta { min-height: 50px; font-size: 15px; }
}

/* メガメニュー */
.mega__btn { display: flex; align-items: center; gap: 6px; padding: 6px 0; background: none; border: 0; font-size: 14px; font-weight: 700; color: inherit; white-space: nowrap; cursor: pointer; }
.mega__btn::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.mega.is-open .mega__btn::after { margin-top: 3px; transform: rotate(-135deg); }
.mega__panel { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 60; padding-block: 28px 30px; color: #fff; background: var(--black); border-top: 1px solid var(--rule-d); }
.mega.is-open .mega__panel { display: block; }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.gnav__list a.mega__link { display: flex; flex-direction: column; gap: 2px; padding: 14px 0 16px; border-top: 1px solid var(--rule-d); white-space: normal; font-size: 13px; font-weight: 400; color: var(--on-dark-sub); transition: color .15s; }
.gnav__list a.mega__link:hover { color: #fff; }
.mega__name { font-size: 16px; font-weight: 700; line-height: 1.5; color: #fff; }
.mega__go { margin-top: 4px; color: #ff9d57; font-weight: 700; }
.mega__sub { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 16px; }
.gnav__list .mega__sub a { padding: 2px 0; font-size: 13px; font-weight: 400; color: var(--on-dark-sub); }
.gnav__list .mega__sub a:hover { color: #fff; }
@media (max-width: 1160px) {
  .mega__btn { justify-content: space-between; width: 100%; padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--rule-d); }
  .mega__btn::after { margin-right: 4px; }
  .mega__panel { position: static; padding: 6px 0 12px; background: none; border: 0; }
  .mega__grid { width: 100%; grid-template-columns: 1fr; }
  .mega__desc, .gnav__list a.mega__link > span:nth-child(2) { display: none; }
  .mega__sub { display: none; }
}

/* 目印：2つの輪と、光る重なり */
.rings { position: absolute; z-index: 2; pointer-events: none; overflow: visible; }
.ring { fill: none; stroke: #fff; stroke-opacity: .6; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.rings__lens { opacity: .96; }
.hero .ring { animation: draw 1.8s cubic-bezier(.6, 0, .2, 1) both; }
.hero .ring--2 { animation-delay: .25s; }
.hero .rings__lens { animation: lens 1.1s ease 1.1s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lens { from { opacity: 0; } to { opacity: .96; } }

/* FV */
.top-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(.45) brightness(.72); }
.hero, .page-head { position: relative; isolation: isolate; overflow: hidden; background: var(--black); color: #fff; }
.hero::before, .page-head::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,14,17,.92) 0%, rgba(14,14,17,.66) 46%, rgba(14,14,17,.12) 100%); }
.hero .top-bg { animation: slowzoom 14s ease-out both; }
@keyframes slowzoom { from { transform: scale(1.07); } to { transform: none; } }
.hero { display: flex; flex-direction: column; min-height: max(640px, 100vh); }
.hero .rings { right: clamp(-90px, 1vw, 40px); top: 50%; width: clamp(340px, 44vw, 660px); transform: translateY(-52%); }
.hero__in { position: relative; z-index: 3; flex: 1; display: flex; align-items: center; padding-block: calc(var(--head) + 24px) 32px; }
.hero__text { max-width: 760px; }
.hero h1 { font-size: clamp(2.1rem, 5.8vw, 4.9rem); font-weight: 700; line-height: 1.2; letter-spacing: .01em; }
.hero__lead { margin-top: 24px; max-width: 30em; color: var(--on-dark); }
.hero .btn-row { margin-top: clamp(28px, 4vw, 44px); }
.hero__foot { margin-top: 22px; font-size: 12px; line-height: 1.7; color: var(--on-dark-sub); }
.hero__foot a { color: inherit; }
/* 下部の3段階レール */
.rail { position: relative; z-index: 3; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--rule-d); }
.rail__item { position: relative; display: block; padding: 18px clamp(16px, 2.6vw, 36px) 20px; color: #fff; text-decoration: none; transition: background .25s; }
.rail__item + .rail__item { border-left: 1px solid var(--rule-d); }
.rail__item::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.rail__item:hover { color: #fff; background: rgba(255,255,255,.06); }
.rail__item:hover::before { transform: scaleX(1); }
.rail__step { display: block; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--on-dark-sub); }
.rail__name { display: block; margin-top: 2px; font-size: clamp(14px, 1.5vw, 17px); font-weight: 700; line-height: 1.5; }
@media (max-width: 860px) {
  .hero { min-height: calc(100svh - 56px); }
  .hero::before { background: linear-gradient(180deg, rgba(14,14,17,.8), rgba(14,14,17,.62)); }
  .page-head::before { background: rgba(14,14,17,.7); }
  .hero h1 br.pc-only { display: inline; }
  .hero .rings { right: -56px; top: calc(var(--head) + 6px); bottom: auto; width: 210px; transform: none; opacity: .9; }
  .rail__item { padding: 12px 10px 14px; }
  .rail__step { letter-spacing: .1em; font-size: 10px; }
  .rail__name { font-size: 12px; line-height: 1.45; }
}

/* 下層の先頭：トップのFVと同じ構成 */
.page-head { display: flex; flex-direction: column; min-height: clamp(440px, 64vh, 660px); padding-top: calc(var(--head) + clamp(28px, 4vw, 48px)); }
.page-head .top-bg { animation: slowzoom 14s ease-out both; }
.page-head .ring { animation: draw 1.8s cubic-bezier(.6, 0, .2, 1) both; }
.page-head .ring--2 { animation-delay: .25s; }
.page-head .rings__lens { animation: lens 1.1s ease 1.1s both; }
.page-head .rings { right: clamp(-70px, 1vw, 30px); top: 48%; width: clamp(240px, 36vw, 520px); transform: translateY(-50%); }
.page-head__in { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(36px, 5vw, 64px); }
.page-head h1 { font-weight: 700; font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1.22; letter-spacing: .01em; max-width: 13em; }
.page-head--long h1 { font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.32; max-width: 17em; }
.page-head__lead { margin-top: 18px; max-width: 34em; color: var(--on-dark); }
.crumbs { font-size: 12px; color: var(--on-dark-sub); margin-bottom: 14px; line-height: 1.6; }
.crumbs a { color: var(--on-dark-sub); }
.crumbs li { display: inline; }
.crumbs li + li::before { content: "/"; margin-inline: .6em; }
.article-meta { font-size: 13px; color: var(--on-dark-sub); margin-top: 12px; }
@media (max-width: 720px) { .page-head { min-height: 400px; } .page-head .rings { opacity: .5; right: -70px; width: 260px; } }

/* 強み：写真に黒いパネルを重ねる */
.split { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); align-items: start; }
.split__img { grid-column: 1; grid-row: 1; aspect-ratio: 5 / 4; overflow: hidden; background: var(--ink); }
.split__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.split__panel { position: relative; z-index: 1; grid-column: 2; grid-row: 1; margin-left: -22%; margin-top: clamp(40px, 7vw, 90px); padding: clamp(26px, 4vw, 52px); background: var(--black); color: #fff; }
.split__panel .sec__label { color: var(--on-dark); }
.split__rows { margin-top: 22px; }
.split__rows > div { padding-block: 14px; border-top: 1px solid var(--rule-d); }
.split__rows h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.5; }
.split__rows p { margin-top: 2px; font-size: 14px; line-height: 1.75; color: var(--on-dark-sub); }
.split__panel .btn { margin-top: 18px; }
.split__panel .btn-row { margin-top: 6px; }
.split__panel .btn-row .btn { margin-top: 12px; }
.split__panel a:not(.btn) { color: #fff; }
.split__rows > div:last-child { border-bottom: 1px solid var(--rule-d); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split__img { aspect-ratio: 16 / 10; }
  .split__panel { grid-column: 1; grid-row: 2; margin: -32px 0 0 16px; }
}

/* 料金：料率の行と最低手数料 */
.tiers { border-bottom: 1px solid var(--rule-d); }
.tiers__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: clamp(14px, 1.8vw, 22px); border-top: 1px solid var(--rule-d); }
.tiers__range { font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 700; line-height: 1.5; color: #fff; }
.tiers__rate { flex: none; font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 700; line-height: 1; background: linear-gradient(100deg, #ff4d5e, #ff8c00); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.tiers__rate small { margin-left: .08em; font-size: .46em; }
.tiers__note { margin-top: 24px; font-size: 14px; line-height: 1.9; color: var(--on-dark); }
.tiers__note p + p { margin-top: 10px; }
.fee-min { margin-top: clamp(24px, 3vw, 36px); padding-top: 20px; border-top: 1px solid var(--rule-d); }
.fee-min__label { font-size: 14px; font-weight: 700; color: var(--on-dark); }
.fee-min__text { margin-top: 4px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); font-weight: 700; line-height: 1.6; color: #fff; }
.fee-min__note { margin-top: 4px; font-size: 13px; color: var(--on-dark-sub); }

/* 料金：支援業務の一覧 */
.scope__group + .scope__group { margin-top: clamp(32px, 4vw, 48px); }
.scope__group h3 { padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 700; line-height: 1.5; }
.scope__row { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 2px 16px; align-items: center; padding: 11px 2px; border-bottom: 1px solid var(--rule); }
.scope__name { font-size: 15px; line-height: 1.65; }
.scope__mark { grid-column: 2; grid-row: 1 / span 2; font-size: 18px; font-weight: 700; line-height: 1; text-align: center; }
.scope__mark--t { color: var(--crimson-d); }
.scope__note { grid-column: 1; font-size: 13px; line-height: 1.7; color: var(--sub); }

/* 代表メッセージ */
.split--message { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--message .split__panel { margin-left: -14%; }
.message { margin-top: 20px; }
.message p { font-size: 15px; line-height: 2; color: var(--on-dark); }
.message p + p { margin-top: 1em; }
.message__sign { margin-top: 1.6em !important; font-weight: 700; color: #fff !important; text-align: right; }
@media (max-width: 820px) { .split--message { grid-template-columns: 1fr; } .split--message .split__panel { margin-left: 16px; } }

/* 事業：ホバーで広がる白黒パネル */
.panels { display: flex; height: clamp(460px, 68vh, 640px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; display: block; color: #fff; text-decoration: none; background: var(--black); transition: flex-grow .55s cubic-bezier(.3, .8, .2, 1); }
.panel + .panel { border-left: 1px solid var(--rule-d); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.6); transition: filter .5s, transform .8s; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(14,14,17,.86)); }
.panel:hover { color: #fff; flex-grow: 1.55; }
.panel:hover img { filter: grayscale(0) brightness(.75); transform: scale(1.03); }
.panel__txt { position: absolute; left: clamp(18px, 2.8vw, 38px); right: clamp(18px, 2.8vw, 38px); bottom: clamp(22px, 3vw, 38px); z-index: 1; }
.panel__step { display: block; font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--on-dark); }
.panel__ja { display: block; margin-top: 6px; font-size: clamp(1.25rem, 2.3vw, 1.75rem); font-weight: 700; line-height: 1.4; }
.panel__desc { display: block; margin-top: 8px; font-size: 14px; line-height: 1.75; color: var(--on-dark); }
.panel__go { display: inline-block; margin-top: 12px; padding-bottom: 2px; font-size: 13px; font-weight: 700; background: linear-gradient(#ff8c00, #ff8c00) left bottom / 100% 1px no-repeat; }
@media (max-width: 760px) {
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; height: 250px; }
  .panel + .panel { border-left: 0; border-top: 1px solid var(--rule-d); }
}

/* 目的の入口：大きな行 */
.route { border-bottom: 1px solid var(--ink); }
.route__row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(18px, 2.4vw, 28px) 4px; border-top: 1px solid var(--ink); color: var(--ink); font-size: clamp(1.1rem, 2.3vw, 1.65rem); font-weight: 700; line-height: 1.45; text-decoration: none; transition: padding .3s, color .2s; }
.route__row::after { content: "→"; flex: none; font-weight: 400; transition: transform .3s; }
.route__row:hover { padding-left: 18px; color: var(--crimson); }
.route__row:hover::after { transform: translateX(-10px); }

/* 流れ：太い数字と線 */
.flow { counter-reset: st; }
.steps { border-bottom: 1px solid var(--rule); }
.step { counter-increment: st; display: grid; grid-template-columns: clamp(58px, 9vw, 96px) minmax(0, 1fr); padding-block: 20px; border-top: 1px solid var(--rule); }
.step:first-child { border-top: 1px solid var(--ink); }
.step::before { content: counter(st, decimal-leading-zero); grid-row: span 2; font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.15; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.step__name { font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.6; font-weight: 700; }
.step__desc { font-size: 15px; line-height: 1.8; color: var(--sub); }

/* 表 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; background: #fff; color: var(--ink); }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 16px; border: 1px solid var(--rule); }
.table thead th { background: var(--black); color: #fff; border-color: var(--black); white-space: nowrap; font-size: 14px; }
.table tbody th { background: var(--mist); width: 26%; min-width: 8em; }
.dl { display: grid; grid-template-columns: minmax(7em, 13em) minmax(0, 1fr); border-top: 1px solid var(--ink); }
.dl dt, .dl dd { padding: 16px 12px; border-bottom: 1px solid var(--rule); line-height: 1.75; }
.dl dt { font-weight: 700; }
@media (max-width: 620px) { .dl { grid-template-columns: 1fr; } .dl dt { border-bottom: 0; padding-bottom: 0; } .dl dd { padding-top: 4px; } }

/* 計算の帯 */
.sec--accent { position: relative; background: var(--grad); color: #fff; }
.sec--accent .sec__label { color: #fff; }
.sec--accent .sec__label::before { background: #fff; }
.sec--accent .sec__lead { color: #fff; }
.calc-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.calc-band--full { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
.calc-band__side { position: sticky; top: calc(var(--head) + 28px); }
.calc-band--full .checks { grid-template-columns: 1fr; }
@media (max-width: 820px) { .calc-band { grid-template-columns: 1fr; } .calc-band__side { position: static; } }

/* 簡易評価 */
.calc { background: #fff; color: var(--ink); padding: clamp(22px, 3.4vw, 40px); border: 1px solid var(--rule); }
.calc a:not(.btn) { color: var(--crimson-d) !important; }
.calc .note { color: var(--sub); }
.calc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.calc__group { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.calc__group legend { font-size: 1.1rem; font-weight: 700; padding: 0; margin-bottom: 12px; }
.field { display: block; min-width: 0; }
.field__label { display: block; font-weight: 700; line-height: 1.5; margin-bottom: 6px; font-size: 15px; }
.field__hint { display: block; font-size: 13px; font-weight: 400; line-height: 1.6; color: var(--sub); margin-top: 4px; }
.req { color: var(--crimson-d); font-size: 12px; margin-left: .4em; }
.opt { color: var(--sub); font-size: 12px; margin-left: .4em; font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 54px; padding: 10px 14px; font: inherit; color: var(--ink); background: #fff; border: 1px solid #9c9ca4; border-radius: 0; }
textarea { min-height: 180px; line-height: 1.7; }
.money { display: flex; align-items: center; gap: 8px; }
.money input { font-variant-numeric: tabular-nums; text-align: right; font-size: 18px; }
.money span { white-space: nowrap; font-size: 14px; }
.field-err { display: block; color: var(--crimson-d); font-size: 14px; font-weight: 700; margin-top: 6px; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.check { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; cursor: pointer; font-size: 15px; }
.check input { width: 22px; height: 22px; flex: none; margin: 3px 0 0; accent-color: var(--crimson); }
@media (max-width: 680px) { .calc__grid, .checks { grid-template-columns: 1fr; } }
.result { margin-top: 28px; border-top: 1px solid var(--ink); padding-top: 24px; }
.result__label { font-size: 14px; font-weight: 700; color: var(--sub); }
.result__num { font-variant-numeric: tabular-nums; font-weight: 700; font-size: clamp(1.8rem, 4.6vw, 2.8rem); line-height: 1.3; margin-top: 4px; }
.result__num small { font-weight: 400; font-size: .42em; margin-left: .2em; }
.vbar { display: flex; height: 52px; margin-top: 18px; background: var(--mist); overflow: hidden; }
.vbar__seg { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; line-height: 1.25; padding: 2px 6px; text-align: center; min-width: 0; overflow: hidden; color: #fff; }
.vbar__seg--net { background: var(--black); }
.vbar__seg--g3 { background: var(--crimson); }
.vbar__seg--g5 { background: var(--orange); color: var(--ink); }
.result__calc { margin-top: 20px; }
.result__calc td, .result__calc th { padding: 10px 12px; font-size: 14px; }
.result__calc td:last-child { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.result__calc tbody th { font-weight: 400; width: auto; background: #fff; }
.result__calc .is-total th, .result__calc .is-total td { font-weight: 700; background: var(--mist); }
.notice { margin-top: 20px; padding: 16px 18px; background: var(--mist); border-left: 2px solid var(--crimson); font-size: 14px; line-height: 1.8; }
.notice ul { padding-left: 1.2em; list-style: disc; }
.factors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 18px; }
.factors h4 { margin: 0 0 6px; font-size: 15px; }
@media (max-width: 680px) { .factors { grid-template-columns: 1fr; } }

/* form */
.form { display: grid; gap: 22px; }
.form__sent { padding: 18px 20px; background: var(--mark); color: #4a3700; line-height: 1.7; }
.form__attach { padding: 14px 18px; background: var(--mist); border-left: 2px solid var(--crimson); font-size: 14px; line-height: 1.7; }

/* コラム */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.c-card { display: block; color: var(--ink); text-decoration: none; }
.c-card:hover { color: var(--crimson-d); }
.c-card__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.c-card__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .4s, transform .6s; }
.c-card:hover .c-card__img img { filter: grayscale(0); transform: scale(1.03); }
.c-card__cat { position: absolute; left: 0; bottom: 0; z-index: 1; padding: 2px 12px; background: var(--black); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.8; }
.c-card__title { display: block; padding-top: 12px; font-size: 16px; font-weight: 700; line-height: 1.65; }
.c-card__date { display: block; margin-top: 4px; color: var(--sub); font-size: 12px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
/* TOP：1本を大きく、残りを並べる */
.cards--feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(24px, 4vw, 48px); }
.cards--feature .c-card:first-child { grid-row: span 3; }
.cards--feature .c-card:first-child .c-card__title { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; }
.cards--feature .c-card:not(:first-child) { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 0 16px; padding-block: 16px; border-top: 1px solid var(--rule); align-content: start; }
.cards--feature .c-card:nth-child(2) { border-top-color: var(--ink); }
.cards--feature .c-card:not(:first-child) .c-card__img { grid-row: span 2; }
.cards--feature .c-card:not(:first-child) .c-card__cat { display: none; }
.cards--feature .c-card:not(:first-child) .c-card__title { padding-top: 0; font-size: 14px; line-height: 1.65; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards--feature { grid-template-columns: 1fr; } .cards--feature .c-card:first-child { grid-row: auto; margin-bottom: 20px; } }
@media (max-width: 520px) { .cards:not(.cards--feature) { grid-template-columns: 1fr; } .cards--feature .c-card:not(:first-child) { grid-template-columns: 104px minmax(0, 1fr); } }

/* 本文 */
.prose { line-height: 2; }
.prose > * + * { margin-top: 1.1em; }
.prose section > * + * { margin-top: 1.1em; }
.prose h2 { font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.5; margin-top: 2.4em; padding-top: 16px; border-top: 1px solid var(--ink); }
.prose h3 { font-size: 1.08rem; line-height: 1.6; margin-top: 1.9em; }
.prose .table { margin-block: .4em; }
.article-lead { position: relative; z-index: 4; margin-top: -36px; padding: clamp(22px, 3vw, 36px); background: var(--black); color: var(--on-dark); }
.disclaimer { font-size: 13px; line-height: 1.8; color: var(--sub); padding: 14px 16px; border: 1px solid var(--rule); }
.sources { font-size: 13px; line-height: 1.8; color: var(--sub); }
.sources li { overflow-wrap: anywhere; }

/* FAQ */
.faq { border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary { cursor: pointer; padding: 16px 40px 16px 2px; font-weight: 700; line-height: 1.6; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 6px; top: 16px; color: var(--crimson); }
.faq details[open] summary::after { content: "－"; }
.faq__a { padding: 0 2px 18px; font-size: 15px; }
.faq__a > * + * { margin-top: .8em; }
.faq__group { margin-top: 56px; }
.faq__group:first-child { margin-top: 0; }
.faq__group > h2 { font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 16px; line-height: 1.45; }
.gl-acc { border-top: 1px solid var(--rule); }
.gl-acc:last-of-type { border-bottom: 1px solid var(--rule); }
.gl-acc summary { cursor: pointer; padding: 15px 40px 15px 2px; font-weight: 700; line-height: 1.6; position: relative; list-style: none; }
.gl-acc summary::-webkit-details-marker { display: none; }
.gl-acc summary::after { content: "＋"; position: absolute; right: 6px; top: 15px; color: var(--crimson); }
.gl-acc[open] summary::after { content: "－"; }
.gl-acc__in { padding: 0 2px 20px; font-size: 15px; line-height: 1.9; }
.gl-acc__in > * + * { margin-top: 1em; }
.gl-acc__in ul { padding-left: 1.3em; list-style: disc; }
.gl-acc__in ol { padding-left: 1.5em; list-style: decimal; }

/* メンバー紹介：黒地に3列 */
.members { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 44px); }
.member__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); border: 1px solid var(--rule-d); }
.member__art { display: block; width: 100%; height: 100%; }
.member__body { padding-top: 20px; }
.member__strength { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--on-dark); }
.member__strength::before { content: ""; flex: none; width: 24px; height: 2px; background: var(--grad); }
.member__name { margin-top: 8px; font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 700; line-height: 1.3; color: #fff; }
.member__role { margin-top: 2px; font-size: 14px; color: var(--on-dark-sub); }
.member__desc { margin-top: 14px; font-size: 15px; color: var(--on-dark); }
.member__works { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.member__works li { padding: 3px 12px; border: 1px solid var(--rule-d); font-size: 13px; line-height: 1.7; }
@media (max-width: 860px) { .members { grid-template-columns: 1fr; gap: 44px; } .member__photo { aspect-ratio: 1 / 1; } }

/* 各ページのメリット：左に見出し、右に行 */
.merit { padding-block: clamp(64px, 8vw, 110px); background: var(--black); color: var(--on-dark); }
.merit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.merit .sec__title { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
.merit__more { margin-top: 28px; }
.merit__rows { border-bottom: 1px solid var(--rule-d); }
.merit__row { padding-block: clamp(18px, 2.4vw, 28px); border-top: 1px solid var(--rule-d); }
.merit__row h3 { font-size: clamp(1.08rem, 1.8vw, 1.35rem); font-weight: 700; line-height: 1.5; color: #fff; }
.merit__row p { margin-top: 6px; font-size: 15px; line-height: 1.85; color: var(--on-dark-sub); }
@media (max-width: 860px) { .merit__grid { grid-template-columns: 1fr; } }

/* フッター */
.site-foot { position: relative; overflow: hidden; background: var(--black); color: var(--on-dark-sub); border-top: 1px solid var(--rule-d); font-size: 14px; line-height: 1.8; }
.foot-in { position: relative; z-index: 1; padding-block: clamp(44px, 6vw, 72px) 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.site-foot .logo { color: #fff; }
.foot-brand p { margin-top: 12px; font-size: 13px; }
.foot-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.foot-cta a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 18px; border: 1px solid rgba(255,255,255,.55); color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.foot-cta a:hover { background: #fff; border-color: #fff; color: var(--ink); }
.foot-cta a:first-child { background: var(--crimson); border-color: var(--crimson); }
.foot-cta a:first-child:hover { background: var(--crimson-d); border-color: var(--crimson-d); color: #fff; }
.foot-grid h2 { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .08em; }
.foot-grid li + li { margin-top: 3px; }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 32px; padding-block: 14px; border-top: 1px solid var(--rule-d); font-size: 12px; }
.foot-word { margin-top: 18px; font-size: clamp(3rem, 13.2vw, 11rem); font-weight: 700; line-height: .82; letter-spacing: -.01em; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: -.06em; user-select: none; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* 先頭へ */
.to-top { position: fixed; right: 14px; bottom: 14px; z-index: 40; display: none; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--ink); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 16px; text-decoration: none; }
.to-top:hover { color: #fff; background: var(--crimson); }
@media (min-width: 721px) { .to-top.is-shown { display: flex; } }

/* スマホ下部の固定導線 */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; }
  .sticky-cta a { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 6px; font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; color: #fff; background: var(--black); }
  .sticky-cta a:last-child { background: var(--crimson); }
  .sticky-cta a.sticky-cta__val { gap: 8px; background: #fff; color: var(--ink); box-shadow: 0 -1px 0 var(--rule); }
  body { padding-bottom: 54px; }
}

/* ===== 下層の部品 ===== */
.sec--tight { padding-block: clamp(32px, 4vw, 52px); }
.sec-pad { padding-block: clamp(64px, 9vw, 120px); }
.sec-head-pad { padding-block: clamp(56px, 7vw, 88px) clamp(28px, 4vw, 44px); }
.card-link { font-weight: 700; font-size: 14px; }

/* 固定された写真と、流れる本文 */
.stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--paper); color: var(--ink); }
.stage__side { position: sticky; top: var(--head); align-self: start; display: flex; align-items: flex-end; height: clamp(440px, calc(100vh - var(--head)), 780px); overflow: hidden; background: var(--black); color: #fff; }
.stage__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.62); }
.stage__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(14,14,17,.88)); }
.stage__title { position: relative; z-index: 1; padding: clamp(24px, 3.4vw, 48px) clamp(20px, 3.4vw, 48px); }
.stage__title .sec__label { color: var(--on-dark); }
.stage__title h2 { margin-top: 12px; font-size: clamp(1.7rem, 3.3vw, 2.9rem); font-weight: 700; line-height: 1.3; }
.stage__title p:not(.sec__label) { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--on-dark); }
.stage__title a { color: #fff; }
.stage__main { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(44px, 6vw, 88px) max(var(--gut), calc((100vw - var(--wrap)) / 2)) clamp(44px, 6vw, 88px) clamp(24px, 5vw, 72px); }
.stage--top .stage__main { justify-content: flex-start; }
.stage__row { padding-block: clamp(20px, 2.5vw, 30px); border-top: 1px solid var(--ink); }
.stage__row:last-of-type { border-bottom: 1px solid var(--ink); }
.stage__row h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 700; line-height: 1.5; }
.stage__row p { margin-top: 6px; font-size: 15px; line-height: 1.85; color: var(--sub); }
.stage--dark { background: var(--black); color: var(--on-dark); }
.stage--dark .stage__row { border-color: var(--rule-d); }
.stage--dark .stage__row p, .stage--dark .step__desc, .stage--dark .note { color: var(--on-dark-sub); }
.stage--dark a:not(.btn) { color: #fff; }
.stage--dark .btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.stage--dark .steps, .stage--dark .step { border-color: var(--rule-d); }
.stage--dark .step:first-child { border-top-color: var(--rule-d); }
.stage--dark .step::before { background: linear-gradient(100deg, #ff4d5e, #ff8c00); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; }
  .stage__side { position: relative; top: 0; height: 240px; }
  .stage__main { padding: 28px var(--gut) 52px; }
  .stage--form .stage__side { order: 2; }
  .stage__side:first-child + .stage__main .stage__row:first-child { border-top: 0; }
}

/* 左に見出し、右に本文 */
.duo { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.duo__side { position: sticky; top: calc(var(--head) + 28px); }
.duo__main { min-width: 0; }
.duo .sec__title { font-size: clamp(1.5rem, 2.7vw, 2.2rem); }
.duo .sec__lead { font-size: 14px; line-height: 1.85; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .duo__side { position: static; } }

/* 線で組んだ格子 */
.matrix { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-d); border-left: 1px solid var(--rule-d); }
.matrix--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.matrix__cell { position: relative; min-height: clamp(170px, 18vw, 230px); padding: clamp(20px, 2.4vw, 30px); border-right: 1px solid var(--rule-d); border-bottom: 1px solid var(--rule-d); transition: background .3s; }
.matrix__cell::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.matrix__cell:hover { background: rgba(255,255,255,.05); }
.matrix__cell:hover::before { transform: scaleX(1); }
.matrix__cell h3 { font-size: clamp(1.02rem, 1.6vw, 1.25rem); font-weight: 700; line-height: 1.5; color: #fff; }
.matrix__cell p { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--on-dark-sub); }
@media (max-width: 900px) { .matrix, .matrix--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .matrix--3 { grid-template-columns: 1fr; } .matrix__cell { min-height: 0; } }

/* 主要ページへの入口 */
.guide { padding-block: clamp(56px, 7vw, 96px); }
.matrix--links .matrix__cell { display: block; min-height: 0; padding-right: clamp(44px, 4vw, 56px); text-decoration: none; }
.matrix--links .matrix__cell::after { content: "→"; position: absolute; right: clamp(16px, 2vw, 26px); top: clamp(20px, 2.4vw, 30px); color: #fff; font-size: 18px; line-height: 1.4; transition: transform .25s; }
.matrix--links .matrix__cell:hover::after { transform: translateX(5px); }
.matrix--links .matrix__cell p { margin-top: 6px; }
@media (max-width: 900px) { .matrix--links.matrix--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .matrix--links .matrix__cell:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 520px) { .matrix--links .matrix__cell { padding: 16px 26px 16px 12px; } .matrix--links .matrix__cell::after { right: 8px; top: 16px; font-size: 14px; } .matrix--links .matrix__cell h3 { font-size: 13px; } .matrix--links .matrix__cell p { display: none; } }

/* 大きな行（文章つき） */
.rows { border-bottom: 1px solid var(--ink); }
.rows__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px clamp(20px, 4vw, 56px); padding-block: clamp(20px, 2.6vw, 32px); border-top: 1px solid var(--ink); }
.rows__row h3 { font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 700; line-height: 1.45; }
.rows__row p { font-size: 15px; line-height: 1.85; color: var(--sub); }
@media (max-width: 720px) { .rows__row { grid-template-columns: 1fr; } }

/* 文字の多いページ */
.doc { border-bottom: 1px solid var(--rule); }
.doc__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px clamp(28px, 5vw, 72px); padding-block: clamp(22px, 3vw, 36px); border-top: 1px solid var(--rule); }
.doc__row:first-child { border-top-color: var(--ink); }
.doc__row > h2 { font-size: clamp(1.1rem, 1.9vw, 1.4rem); font-weight: 700; line-height: 1.5; }
.doc__intro { max-width: 46em; }
@media (max-width: 720px) { .doc__row { grid-template-columns: 1fr; } }

/* パネルの変形 */
.panel__list { display: block; margin-top: 10px; }
.panel__list span { display: block; padding-block: 8px; border-top: 1px solid var(--rule-d); font-size: 15px; line-height: 1.6; color: var(--on-dark); }
@media (max-width: 1000px) {
  .panels--4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; }
  .panels--4 .panel { height: 340px; }
  .panels--4 .panel + .panel { border-left: 0; }
}
@media (max-width: 760px) {
  .panels--list .panel { height: 300px; }
  .panels--4 { grid-template-columns: 1fr; }
  .panels--4 .panel { height: 250px; }
}

/* FAQ */
.faq-nav ul { margin-top: 18px; border-bottom: 1px solid var(--rule); }
.faq-nav a { display: block; padding: 10px 2px; border-top: 1px solid var(--rule); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; transition: color .2s, padding .25s; }
.faq-nav a:hover { padding-left: 8px; color: var(--crimson); }
@media (max-width: 900px) { .faq-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; border-bottom: 0; } }

/* 記事 */
.article { padding-top: 0; }
.article-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.toc { position: sticky; top: calc(var(--head) + 28px); margin-top: clamp(44px, 6vw, 72px); font-size: 13px; line-height: 1.6; }
.toc ol { margin-top: 12px; border-bottom: 1px solid var(--rule); }
.toc a { display: block; padding: 9px 2px; border-top: 1px solid var(--rule); color: var(--sub); text-decoration: none; transition: color .2s; }
.toc a:hover { color: var(--crimson); }
.article-main { min-width: 0; max-width: 780px; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } .toc { display: none; } }

/* 締めの帯 */
.closing { padding-block: clamp(56px, 7vw, 92px); }
.closing__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px clamp(24px, 5vw, 64px); }
.closing .btn { background: #fff; border-color: #fff; color: var(--ink); }
.closing .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.closing .btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.closing .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* 短いFV */
.hero--short { min-height: max(560px, 80vh); }
.hero--short h1 { font-size: clamp(2.2rem, 5vw, 4rem); }

/* スクロールでの表示 */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .split__img.reveal { transform: none; opacity: 1; clip-path: inset(0 101% 0 0); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
.js .split__img.reveal.is-in { clip-path: inset(0); }
.js .stage__side.reveal { transform: none; opacity: 1; clip-path: inset(0 101% 0 0); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
.js .stage__side.reveal.is-in { clip-path: inset(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .split__img.reveal, .js .stage__side.reveal { opacity: 1; transform: none; clip-path: none; }
}

/* ===== WordPress用の追加 ===== */
.admin-bar .site-head { top: 32px; }
.admin-bar .stage__side { top: calc(var(--head) + 32px); }
.admin-bar .duo__side, .admin-bar .toc, .admin-bar .calc-band__side { top: calc(var(--head) + 60px); }
@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } }
@media (max-width: 900px) { .admin-bar .stage__side, .admin-bar .duo__side { top: 0; } }

.form__error { padding: 14px 18px; margin-bottom: 22px; background: #fdecee; border-left: 2px solid var(--crimson); color: var(--crimson-d); font-size: 14px; font-weight: 700; line-height: 1.7; }
.cf-turnstile { min-height: 65px; max-width: 100%; overflow: hidden; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.article--plain { padding-top: clamp(44px, 6vw, 72px); }
.article--plain .toc { margin-top: 0; }

/* 一覧のページ送り */
.pagination { margin-top: clamp(36px, 5vw, 56px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.pagination a.page-numbers:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.pagination .current { border-color: var(--crimson); background: var(--crimson); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* 旧ページの本文 */
.prose img { height: auto; }
.prose .wp-block-image, .prose figure { margin-block: 1.4em; }
