/* ========================================================================
   AIPM LP (/aipm) 専用スタイル
   共通の styles.css とはクラス名が衝突するため、このページでは読み込まない。
   ここだけで完結させること。
   ======================================================================== */

:root {
  color: #0b0b0b;
  background: #f8f7f4;
  font-family: "Noto Sans JP", sans-serif;
  font-synthesis: none;
  --serif: "Noto Serif JP", "Yu Mincho", serif;
  --grotesk: "Space Grotesk", "Avenir Next", sans-serif;
  --line: rgba(10, 10, 10, .2);
  --page: #f8f7f4;
  --content-max: 1100px;
  --content-width: min(75.6vw, var(--content-max));
  --content-edge: calc((100vw - var(--content-width)) / 2);
  --rail-width: clamp(150px, 12vw, 180px);
  --header-gutter: var(--content-edge);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; overflow-x: hidden; background: var(--page); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
section[id] { scroll-margin-top: 92px; }
:where(a, button, summary, details, [tabindex]):focus-visible { outline: 2px solid #050505; outline-offset: 3px; }
.is-dark :where(a, button, summary):focus-visible, .final-cta :where(a, button):focus-visible { outline-color: #fff; }

.site-shell { width: 100%; overflow: visible; background: var(--page); }
.site-header { height: 82px; padding: 0 var(--header-gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; position: sticky; top: 0; z-index: 50; background: rgba(248,247,244,.93); border-bottom: 1px solid rgba(10,10,10,.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { width: clamp(126px, 10.2vw, 152px); min-width: 126px; height: 62px; display: flex; align-items: center; overflow: hidden; }
.brand img { display: block; width: 100%; height: 49px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(17px, 1.65vw, 25px); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.main-nav > a:not(.header-cta) { position: relative; padding: 12px 0; }
.main-nav > a:not(.header-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 1px; background: #111; transition: right .3s ease; }
.main-nav > a:hover::after { right: 0; }
.header-cta { min-width: 218px; height: 44px; margin-left: 4px; padding: 0 17px 0 21px; border-radius: 999px; background: #050505; color: white; display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; transition: transform .25s ease, background .25s ease; }
.header-cta:hover { transform: translateY(-2px); background: #272727; }
.header-cta svg { width: 11px; }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
/* アイコンの出し分けはCSSで行う。SVG要素は hidden プロパティを持たないためJSからは触らない */
.menu-button [data-menu-icon="close"], .menu-button.is-open [data-menu-icon="open"] { display: none; }
.menu-button.is-open [data-menu-icon="close"] { display: block; }

.dot-wave { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* コピーは上下中央に置く。上詰めだと画面が高いほど下に空白が溜まり、
   ヒーロー全体が左上に寄って見えるため */
.hero { min-height: calc(100svh - 82px); padding: clamp(56px, 8vh, 96px) var(--content-edge); position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.hero .dot-wave { z-index: 0; opacity: .75; }
.hero-copy { position: relative; z-index: 2; width: 52%; }
.hero h1 { margin: 0; font: 400 clamp(40px, 4.3vw, 58px)/1.3 var(--serif); letter-spacing: .012em; }
/* JS無効でも本文が読めるよう、既定では .decrypt-measure の実テキストを表示する。
   アニメーション中だけ透明化し、上に重ねた .decrypt-visual のスクランブル文字を見せる。
   実テキストは常にDOM上に残るため、読み上げ・クロールにも影響しない。 */
.decrypt-text { position: relative; display: inline-block; }
.decrypt-text.is-animating .decrypt-measure { color: transparent; }
.decrypt-visual { position: absolute; inset: 0; display: block; }
.hero-title-decrypt, .hero-title-decrypt .decrypt-measure, .hero-title-decrypt .decrypt-visual { white-space: pre-line; }
.hero-copy > p { margin: 25px 0 29px; font-size: clamp(12px, 1vw, 14px); line-height: 1.85; font-weight: 500; }
.mobile-copy-break { display: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; }
/* ラベルはボタン内で折らず、入らなければ行を折り返す */
.button-row .button { flex: 0 0 auto; white-space: nowrap; }
.button { min-width: 172px; min-height: 46px; padding: 0 23px; border: 1px solid #111; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; font-size: 12.5px; font-weight: 500; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 12px; height: 12px; flex: 0 0 auto; }
.button-dark { background: #050505; color: #fff; }
.button-dark:hover { background: #292929; }
.button-light { background: rgba(248,247,244,.74); }
.button-light:hover { background: #fff; }
.button-white { background: #fff; color: #111; border-color: #fff; }
.button-white:hover { background: #e8e8e8; }
.button-wide { min-width: 240px; }
/* コピーの右側に残る空きの中で光学的に中央へ置く（旧140pxは内側に寄りすぎていた） */
.hero-wordmark { position: absolute; z-index: 2; top: 50%; right: calc(var(--content-edge) + clamp(40px, calc(34vw - 258px), 88px)); display: flex; align-items: center; gap: clamp(11px, 1.1vw, 16px); transform: translateY(-50%); }
.hero-wordmark > .wordmark-decrypt { display: block; font: 600 clamp(56px, 6.2vw, 88px)/1 var(--grotesk); letter-spacing: .13em; white-space: nowrap; }
.wordmark-decrypt .decrypt-measure, .wordmark-decrypt .decrypt-visual { white-space: nowrap; }
.hero-wordmark i { display: block; width: 1px; height: clamp(50px, 5.5vw, 78px); background: rgba(10,10,10,.24); }

.content-section { display: block; padding-inline: var(--content-edge); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.content-section > *:not(.dot-wave) { position: relative; z-index: 2; }
.section-wave { opacity: .07; }
.section-label { max-width: var(--content-width); margin: 0 auto; padding: 72px 0 32px; border-right: 0; border-bottom: 1px solid var(--line); text-align: center; }
.section-label span { color: #767676; font-size: 10px; letter-spacing: .14em; }
.section-label p { margin: 14px 0 20px; font: 400 clamp(22px, 2vw, 26px)/1.5 var(--serif); letter-spacing: .04em; }
.section-label i { display: block; width: 44px; height: 1px; margin: 0 auto; background: #929292; }
.section-body { max-width: var(--content-width); margin: 0 auto; padding: 68px 0 92px; min-width: 0; }
.section-body h2 { margin: 0; font: 400 clamp(38px, 3.75vw, 52px)/1.43 var(--serif); letter-spacing: .012em; }
/* やむを得ず折り返す時は文節の切れ目で折る。未対応ブラウザは通常の禁則にフォールバック */
h1, h2, h3, .why-deck-lead, .policy-emphasis, .transformation-close p, .section-label p,
.fit-grid > article > span, .faq-list summary, .insight-card h3 { word-break: auto-phrase; }
.is-dark { background: #070707; color: #fff; }
.is-dark .section-label { border-color: rgba(255,255,255,.22); background: transparent; }
.is-dark .section-label span { color: #9a9a9a; }
.is-dark .section-label i { background: #777; }

.source-note { display: block; margin-top: 20px; color: #6f6f6f; font-size: 9px; line-height: 1.7; }
.pain-grid { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pain-grid li { min-height: 140px; padding: 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; gap: 22px; align-items: flex-start; font: 500 13px/1.9 "Noto Sans JP", sans-serif; background: rgba(255,255,255,.18); }
.pain-grid span { color: #8a8a8a; font: 400 12px/1.9 var(--serif); }
.why-bridge { margin-top: 58px; padding: 44px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.why-bridge h3 { margin: 0; font: 400 clamp(29px, 2.9vw, 40px)/1.5 var(--serif); }
.why-bridge p { margin: 0; font-size: 13px; line-height: 2.15; }
.why-bridge strong { display: inline-block; margin-top: 12px; font-size: 15px; }

.about-section .dot-wave, .policy-section .dot-wave, .final-cta .dot-wave { opacity: .42; }
.about-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: end; }
.about-intro h2 { font-weight: 300; }
.about-intro h2 em { display: block; margin-top: 16px; font-style: normal; }
.about-intro p { margin: 0 0 16px; font-size: 13.5px; line-height: 2; }
.comparison-table { margin-top: 58px; border-top: 1px solid rgba(255,255,255,.25); }
.comparison-head, .comparison-row { display: grid; grid-template-columns: 1fr 1fr; }
.comparison-head span { padding: 16px 24px; color: #9a9a9a; font-size: 9px; letter-spacing: .08em; }
.comparison-head span + span, .comparison-row span + span { border-left: 1px solid rgba(255,255,255,.2); }
.comparison-row { border-top: 1px solid rgba(255,255,255,.14); }
.comparison-row span { padding: 19px 24px; font-size: 13px; line-height: 1.75; }
.comparison-row span:last-child { color: #fff; background: rgba(255,255,255,.035); }

.services-content > h2 { margin-bottom: 58px; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.service-detail-card { position: relative; min-width: 0; padding: 38px; }
.service-detail-card + .service-detail-card { border-left: 1px solid var(--line); }
.service-detail-card .number { font: 400 28px/1 var(--serif); }
.service-detail-card .service-diagram { position: absolute; top: 28px; right: 20px; width: 145px; height: 124px; opacity: .72; }
.service-name { margin: 52px 0 12px; color: #5f5f5f; font-size: 11.5px; letter-spacing: .05em; }
.service-detail-card h3 { margin: 0 0 24px; padding-right: 40px; font: 400 clamp(22px, 2vw, 29px)/1.55 var(--serif); }
.service-detail-card > p:not(.service-name) { margin: 0; min-height: 98px; font-size: 13px; line-height: 1.9; }
.service-detail-card ul { margin: 28px 0 0; padding: 23px 0 0; list-style: none; border-top: 1px solid var(--line); }
.service-detail-card li { position: relative; padding: 7px 0 7px 18px; font-size: 11.5px; line-height: 1.65; }
.service-detail-card li::before { content: ""; position: absolute; left: 0; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: #111; }
.section-cta { margin-top: 34px; float: right; }

.insight-tabs { display: flex; justify-content: flex-end; gap: 8px; padding-top: 12px; }
.insight-tabs button { min-width: 72px; height: 34px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; font-size: 10px; }
.insight-tabs button.is-active { background: #050505; color: #fff; }
.insight-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.insight-card { min-height: 220px; padding: 22px; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; background: rgba(255,255,255,.22); transition: transform .25s ease, background .25s ease; }
.insight-card:hover { transform: translateY(-3px); background: #fff; }
.insight-card h3 { margin: 31px 0 18px; font: 400 17px/1.65 var(--serif); }
.insight-card small { margin-top: auto; color: #8a8a8a; font-size: 9px; }
.insight-card > svg { position: absolute; right: 20px; bottom: 18px; width: 13px; }
.insight-card[hidden] { display: none; }
.insight-links { margin-top: 30px; display: flex; justify-content: flex-end; gap: 12px; }

.policy-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.policy-intro h2 { font-weight: 300; }
.policy-intro p { margin: 0 0 14px; font-size: 13px; line-height: 2; }
.policy-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2); }
.policy-grid article { min-height: 190px; padding: 28px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.policy-grid span { color: #8c8c8c; font: 400 12px/1 var(--serif); }
.policy-grid h3 { margin: 34px 0 12px; font: 400 18px/1.5 var(--serif); }
.policy-grid p { margin: 0; color: #c6c6c6; font-size: 11px; line-height: 1.75; }
.policy-emphasis { margin: 42px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,.2); font: 300 clamp(22px, 2vw, 29px)/1.65 var(--serif); }

.process-content > h2 { margin-bottom: 50px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-grid article { min-height: 205px; padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid span { color: #8d8d8d; font: 400 12px/1 var(--serif); }
.process-grid h3 { margin: 31px 0 13px; font: 400 20px/1.3 var(--serif); }
.process-grid p { margin: 0; font-size: 11.5px; line-height: 1.85; }

.fit-content > h2 { margin-bottom: 48px; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.fit-grid article { padding: 34px; }
.fit-grid article + article { border-left: 1px solid var(--line); }
.fit-grid > article > span { display: block; padding-bottom: 20px; border-bottom: 1px solid var(--line); font: 400 18px/1.4 var(--serif); }
.fit-grid ul { list-style: none; margin: 22px 0 0; padding: 0; }
.fit-grid li { position: relative; padding: 8px 0 8px 22px; font-size: 12.5px; line-height: 1.7; }
.fit-grid li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: #111; }
.fit-no { color: #6a6a6a; }
.fit-no li::before { background: transparent; border: 1px solid #999; }

.faq-content { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 78px; padding: 23px 34px 23px 0; cursor: pointer; list-style: none; position: relative; display: flex; gap: 22px; align-items: flex-start; font-size: 14px; font-weight: 500; line-height: 1.8; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font: 300 22px/1 var(--serif); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary span { color: #888; font: 400 11px/1.9 var(--serif); }
.faq-list details p { margin: -4px 0 0; padding: 0 34px 27px 42px; font-size: 12.5px; line-height: 2; }

.final-cta { min-height: 390px; position: relative; padding: 68px 0; background: #050505; color: white; display: grid; grid-template-columns: minmax(0, calc(var(--content-width) - 292px)) 240px; justify-content: center; align-items: center; gap: 52px; }
.final-cta > *:not(.dot-wave) { position: relative; z-index: 2; }
.final-cta h2 { margin: 0 0 25px; max-width: 820px; font: 300 clamp(30px, 2.7vw, 41px)/1.45 var(--serif); letter-spacing: .014em; }
.final-cta p { max-width: 690px; margin: 0 0 8px; font-size: 12px; line-height: 1.95; }
.final-cta > .button { align-self: end; margin-bottom: 7px; }

.contact-form-section { padding: 80px 0; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, calc(var(--content-width) * .39)) minmax(0, calc(var(--content-width) * .61)); justify-content: center; gap: clamp(60px, 7vw, 100px); align-items: start; border-bottom: 1px solid var(--line); }
.contact-form-section > *:not(.dot-wave) { position: relative; z-index: 2; }
.contact-form-wave { opacity: .055; }
.contact-form-kicker { color: #767676; font-size: 9.5px; letter-spacing: .1em; }
.contact-form-intro h2 { margin: 20px 0 24px; font: 400 clamp(34px, 3.3vw, 45px)/1.45 var(--serif); letter-spacing: .015em; }
.contact-form-intro p { max-width: 390px; margin: 0 0 20px; font-size: 13px; font-weight: 500; line-height: 1.95; }
.contact-form-note { margin-top: 28px !important; padding-top: 24px; border-top: 1px solid var(--line); color: #5c5c5c; }

/* 埋め込みフォーム（別オリジンiframe）。フォーム側が白カードを持つ前提で外枠はフラットに保つ。 */
.contact-form-embed { position: relative; min-height: 620px; background: #fff; border: 1px solid var(--line); }
.contact-form-pending { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 32px; text-align: center; }
.contact-form-pending span { color: #8a8a8a; font-size: 9px; letter-spacing: .12em; }
.contact-form-pending p { margin: 0; font: 400 19px/1.7 var(--serif); }
.contact-form-pending p.contact-form-pending-note { color: #5c5c5c; font: 400 12px/1.9 "Noto Sans JP", sans-serif; }
.contact-form-iframe { display: block; width: 100%; min-height: 620px; border: 0; background: #fff; }
.prism-form-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px; background: #fff; color: #5c5c5c; font-size: 12px; line-height: 1.7; text-align: center; pointer-events: none; transition: opacity .26s ease, visibility .26s ease; z-index: 1; }
.prism-form-loading p { margin: 0; }
.prism-form-loading-spinner { width: 26px; height: 26px; border: 2px solid rgba(10,10,10,.14); border-top-color: #050505; border-radius: 50%; animation: prism-spin .9s linear infinite; }
@keyframes prism-spin { to { transform: rotate(360deg); } }
.contact-form-embed.is-loaded .prism-form-loading { opacity: 0; visibility: hidden; }

.site-footer { width: var(--content-width); min-height: 205px; margin: 0 auto; padding: 42px 0 52px; display: grid; grid-template-columns: minmax(120px, .9fr) minmax(0, 2.1fr) minmax(130px, .8fr) 40px; align-items: start; gap: 28px; position: relative; }
.site-footer .brand { width: 138px; height: 62px; }
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px 30px; padding-top: 11px; font-size: 11.5px; font-weight: 500; }
.footer-company { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; font-size: 10px; }
.to-top { width: 34px; height: 34px; border: 1px solid #777; border-radius: 50%; display: grid; place-items: center; }
.to-top svg { width: 15px; }
.copyright { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #8a8a8a; font: 9px/1 var(--serif); }

/* Editorial broadsheet direction */
.why-section { min-height: auto; display: block; padding-inline: var(--content-edge); }
.why-content { padding: 0; }
.why-stat-spread { min-height: 0; padding: clamp(88px, 9vw, 128px) 0 clamp(70px, 7vw, 96px); border-bottom: 1px solid var(--line); text-align: center; }
.why-stat { padding: 0; }
.why-stat > p { margin: 0 0 10px; font: 400 clamp(25px, 2.7vw, 38px)/1.4 var(--serif); }
.why-stat > div { height: clamp(168px, 19vw, 260px); display: flex; align-items: flex-end; justify-content: center; }
.why-stat strong { font: 300 clamp(176px, 19.6vw, 270px)/.86 var(--serif); letter-spacing: -.075em; }
.why-stat b { margin: 0 0 17px 18px; font: 300 clamp(58px, 6.4vw, 88px)/1 var(--serif); }
/* 直下のspan（「は」）だけを対象にする。子孫セレクタだと数字側の .decrypt-* まで巻き込む */
.why-stat > div > span { margin: 0 0 23px 14px; font: 400 clamp(15px, 1.45vw, 20px)/1 var(--serif); }
.why-stat h2 { margin: 28px 0 0; font-size: clamp(40px, 4.65vw, 64px); white-space: nowrap; letter-spacing: .015em; }
.why-stat .source-note { margin-top: 24px; }
.why-deck { max-width: 980px; margin: 66px auto 0; padding: 38px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: .9fr 1.15fr 1fr; gap: clamp(34px, 4.5vw, 64px); text-align: left; font-size: 12px; line-height: 2.05; }
.why-deck p { margin: 0; }
.why-deck-lead { font: 400 14px/1.9 var(--serif); }
.pain-heading { padding: 48px 0 26px; display: flex; align-items: baseline; gap: 32px; }
.pain-heading span { color: #767676; font-size: 8px; letter-spacing: .1em; }
.pain-heading h3 { margin: 0; font: 400 24px/1.4 var(--serif); }
.pain-grid { margin: 0; grid-template-columns: repeat(4, 1fr); }
.pain-grid li { min-height: 180px; padding: 24px 20px; display: block; font-size: 11px; line-height: 1.9; }
.pain-grid span { display: block; margin-bottom: 27px; }
.why-bridge { margin-top: 0; padding: 52px 0 58px; grid-template-columns: 1.05fr .95fr; align-items: center; }
.editorial-quote { display: grid; grid-template-columns: 28px 1fr 28px; gap: 10px; }
.editorial-quote > span { font: 300 38px/1 var(--serif); }
.editorial-quote > span:last-child { align-self: end; }
.why-bridge h3 { font-size: clamp(28px, 2.7vw, 38px); }

.about-content { padding-top: 56px; padding-bottom: 62px; }
.about-intro { grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.about-intro h2 { padding-right: 38px; border-right: 1px solid rgba(255,255,255,.22); font-size: clamp(35px, 3.25vw, 45px); }
.about-intro > div { display: block; }
.about-intro > div p + p { margin-top: 18px; }
.about-intro p { margin: 0; font-size: 13px; }
.about-principles { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.22); display: grid; grid-template-columns: repeat(3, 1fr); }
.about-principles article { min-height: 145px; padding: 8px 28px; }
.about-principles article + article { border-left: 1px solid rgba(255,255,255,.18); }
.about-principles span { color: #9a9a9a; font-size: 8px; letter-spacing: .08em; }
.about-principles h3 { margin: 24px 0 8px; font: 400 21px/1.3 var(--serif); }
.about-principles p { margin: 0; color: #c4c4c4; font-size: 11.5px; line-height: 1.85; }

.transformation-section { position: relative; padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.transformation-inner { width: var(--content-width); margin: 0 auto; display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(42px, 5vw, 72px); }
.transformation-heading > span { color: #767676; font-size: 8px; letter-spacing: .1em; }
.transformation-heading h2 { margin: 19px 0 0; font: 400 clamp(26px, 2.6vw, 36px)/1.5 var(--serif); }
.transformation-section .comparison-table { margin: 0; border-top-color: var(--line); }
.transformation-section .comparison-head span { color: #6e6e6e; border-color: var(--line); }
.transformation-section .comparison-row { border-color: var(--line); }
.transformation-section .comparison-row span { padding: 16px 20px; font-size: 12px; color: #111; }
.transformation-section .comparison-row span + span { border-color: var(--line); background: rgba(255,255,255,.26); }
.transformation-close { grid-column: 1 / -1; padding-top: 35px; border-top: 1px solid var(--line); display: grid; grid-template-columns: .66fr 1.34fr auto; gap: 30px; align-items: center; }
.transformation-close p { margin: 0; color: #666; font-size: 11.5px; }
.transformation-close h3 { margin: 0; font: 400 24px/1.55 var(--serif); }

.services-content { padding-top: 52px; }
.services-content > h2 { font-size: clamp(38px, 3.6vw, 50px); }
.service-detail-grid { border-left: 0; border-right: 0; }
.service-detail-card { padding: 32px 34px 34px 0; }
.service-detail-card + .service-detail-card { padding-left: 34px; }
.service-detail-card .service-diagram { width: 116px; height: 99px; top: 22px; right: 12px; }
.service-name { margin-top: 38px; }
.service-detail-card h3 { font-size: clamp(25px, 2.2vw, 31px); }
.service-detail-card > p:not(.service-name) { min-height: 0; font-size: 12.5px; }
.service-detail-card ul { columns: 2; column-gap: 24px; }
.service-detail-card li { break-inside: avoid; font-size: 11px; }

.insights-content { padding-top: 48px; }
.insights-editorial { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 6vw, 86px); }
.insights-intro h2 { font-size: clamp(28px, 2.6vw, 39px); }
.insights-intro > p { max-width: 330px; margin: 22px 0 0; font-size: 12.5px; line-height: 1.95; }
.insight-tabs { justify-content: flex-start; margin-top: 28px; padding: 0; }
.insight-tabs button { min-width: 62px; height: 30px; }
.insight-links { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.insight-links a { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid #aaa; font-size: 11px; }
.insight-links svg { width: 10px; }
.insight-grid { margin: 0; display: block; border-top: 1px solid var(--line); }
.insight-card { min-height: 72px; padding: 18px 36px 18px 0; border: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 80px 1fr 52px; gap: 18px; align-items: center; background: transparent; }
.insight-card:hover { transform: none; padding-left: 10px; }
.insight-card time { color: #767676; font-size: 8.5px; }
.insight-card h3 { margin: 0; font: 400 15px/1.55 var(--serif); }
.insight-card > span { padding: 4px 7px; border: 1px solid #bbb; text-align: center; color: #5f5f5f; font-size: 8px; }
.insight-card small { display: none; }
.insight-card > svg { right: 4px; bottom: auto; width: 11px; }

.policy-section .section-wave { opacity: .04; }
.policy-content { padding-top: 46px; padding-bottom: 52px; }
.policy-intro { grid-template-columns: .72fr 1.28fr; gap: 54px; }
.policy-intro h2 { color: #111; font-size: clamp(30px, 3vw, 42px); font-weight: 400; }
.policy-intro > div { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.policy-intro p { color: #111; font-size: 12.5px; }
.policy-grid { margin-top: 35px; border-color: var(--line); }
.policy-grid article { min-height: 135px; padding: 22px; border-color: var(--line); }
.policy-grid span { color: #767676; }
.policy-grid h3 { margin: 20px 0 9px; color: #111; font-size: 16px; }
.policy-grid p { color: #555; font-size: 11.5px; }
.policy-emphasis { margin-top: 30px; padding-top: 25px; border-color: var(--line); color: #111; font-size: clamp(18px, 1.7vw, 24px); }

.process-section .dot-wave { opacity: .38; }
.process-content { padding-top: 48px; padding-bottom: 54px; }
.process-content > h2 { margin-bottom: 44px; font-size: clamp(36px, 3.25vw, 45px); font-weight: 300; }
.process-grid { grid-template-columns: repeat(6, 1fr); border-color: rgba(255,255,255,.18); }
.process-grid article { min-height: 178px; padding: 22px 16px; border-color: rgba(255,255,255,.18); }
.process-grid span { color: #9a9a9a; }
.process-grid h3 { margin: 25px 0 11px; color: #fff; font-size: 18px; }
.process-grid p { color: #bfbfbf; font-size: 10.5px; }

.fit-content, .faq-content { padding-top: 50px; }
.fit-content > h2 { font-size: clamp(36px, 3.25vw, 45px); }
.fit-grid { border-left: 0; border-right: 0; }
.fit-grid article { padding: 30px 32px 30px 0; }
.fit-grid article + article { padding-left: 32px; }
.faq-content h2 { font-size: clamp(30px, 3vw, 42px); }
.faq-list summary { font-family: var(--serif); font-size: 14.5px; }

@media (max-width: 1260px) {
  :root { --content-width: min(82vw, var(--content-max)); }
  .main-nav { gap: 17px; font-size: 11px; }
  .header-cta { min-width: 212px; font-size: 10.8px; }
  .final-cta { grid-template-columns: 1fr; }
  .final-cta > .button { justify-self: end; }
}

/* 3カラムのままだと見出しとリード文が文節の途中で折れるため1カラムへ畳む */
@media (max-width: 1280px) {
  .transformation-close { grid-template-columns: 1fr; gap: 22px; }
  .transformation-close .button { justify-self: start; }
}

/* 1000px以下では2カラムの左列が見出しに対して狭すぎるため、編集レイアウトを1カラムへ畳む。
   ここを760pxのままにしていると、761〜1000px帯で見出しが軒並み文節途中で折れる */
@media (max-width: 1000px) {
  .transformation-inner, .about-intro, .policy-intro, .faq-content, .insights-editorial, .why-bridge, .contact-form-section { grid-template-columns: 1fr; }
  .transformation-inner { gap: 30px; }
  .about-intro { gap: 30px; }
  .about-intro h2 { padding: 0 0 28px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .policy-intro, .faq-content { gap: 34px; }
  .insights-editorial { gap: 38px; }
  .why-bridge { gap: 28px; }
  .contact-form-section { gap: 40px; }
  .service-detail-card h3 { font-size: clamp(20px, 2.3vw, 24px); }
}

@media (max-width: 1080px) and (min-width: 761px) {
  .why-stat-spread { padding-top: 88px; }
  .why-stat > div { height: 184px; }
  .why-stat strong { font-size: 188px; }
  .why-stat h2 { font-size: 43px; }
  .why-deck { max-width: 820px; grid-template-columns: 1fr 1fr; gap: 24px 46px; }
  .why-deck-lead { grid-column: 1 / -1; text-align: center; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid li { min-height: 148px; padding: 24px 26px; font-size: 12px; }
}

@media (max-width: 900px) and (min-width: 761px) {
  :root { --content-width: calc(100vw - 80px); --content-edge: 40px; --rail-width: 130px; }
  /* 52%のままだと本文が「両面か／ら、」のように折れ、ボタンの文字も2行になる */
  .hero-copy { width: 58%; }
  .section-body { padding-left: 0; }
  .service-detail-card { padding: 30px 24px; }
}

/* 900px以下はナビ項目が1行に収まらないためドロワー化する。
   ヘッダー高さが変わる760px以下では inset のみ下の指定で上書きする */
@media (max-width: 900px) {
  .menu-button { display: block; }
  .main-nav { position: fixed; inset: 82px 0 auto; padding: 24px 28px 28px; background: var(--page); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; transform: translateY(-135%); transition: transform .35s ease; }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav > a:not(.header-cta) { display: block; padding: 13px 0; font-size: 12px; }
  .header-cta { margin-top: 12px; min-width: 100%; height: 48px; font-size: 11px; }
}

@media (max-width: 760px) {
  :root { --content-width: calc(100vw - 40px); --content-edge: 20px; }
  section[id] { scroll-margin-top: 76px; }
  .site-header { height: 66px; padding: 0 20px; }
  .brand { width: 105px; min-width: 105px; height: 53px; }
  .brand img { height: 39px; }
  .main-nav { inset: 66px 0 auto; }
  .hero { min-height: calc(100svh - 66px); padding: 46px var(--content-edge) 32px; display: block; }
  .hero-copy { width: 100%; transform: none; }
  .hero h1 { font-size: clamp(34px, 8.7vw, 38px); line-height: 1.4; letter-spacing: -.02em; }
  .hero-copy > p { margin-top: 24px; font-size: 11px; line-height: 1.9; }
  .mobile-copy-break { display: block; }
  .hero-wordmark { top: 555px; right: var(--content-edge); gap: 12px; transform: none; }
  .hero-wordmark > .wordmark-decrypt { font-size: clamp(38px, 11vw, 45px); letter-spacing: .1em; }
  .hero-wordmark i { height: 39px; }
  .hero .button-row { flex-direction: column; align-items: flex-start; }
  .hero .button { width: 205px; min-height: 42px; }
  .content-section { display: block; padding-inline: 0; }
  .section-label { padding: 34px 20px 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-label span { font-size: 9px; }
  .section-label p { margin: 11px 0 15px; font-size: 20px; }
  .is-dark .section-label { border-color: rgba(255,255,255,.2); }
  .section-body { padding: 50px 20px 64px; }
  .section-body h2 { font-size: 34px; line-height: 1.48; }
  .about-intro, .policy-intro, .faq-content { grid-template-columns: 1fr; gap: 34px; }
  .why-section { min-height: auto; padding-inline: 20px; }
  .pain-grid { margin-top: 38px; grid-template-columns: 1fr; }
  .pain-grid li { min-height: 112px; padding: 21px 20px; font-size: 11.5px; }
  .why-bridge { margin-top: 40px; grid-template-columns: 1fr; gap: 28px; }
  /* 見出しは指定の改行位置どおり2行に収める。1行が入りきらないと「防げな／い。」のように
     文節の途中で折れるため、モバイルでは行が収まるサイズまで落とす */
  .why-bridge h3 { font-size: 26px; }
  .why-bridge p { font-size: 11.5px; }
  /* 「メッセージの数ではない。」が1行で収まる上限 */
  .about-intro h2 { font-size: 25px; padding: 0 0 30px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .comparison-table { margin-top: 40px; }
  .comparison-head span, .comparison-row span { padding: 14px 12px; }
  .comparison-row span { font-size: 10.5px; line-height: 1.7; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-card { padding: 28px 20px 34px; }
  .service-detail-card + .service-detail-card { border-left: 0; border-top: 1px solid var(--line); padding-left: 20px; }
  .service-detail-card .service-diagram { width: 120px; height: 103px; }
  .service-name { margin-top: 44px; }
  .service-detail-card h3 { padding-right: 0; font-size: 25px; }
  .service-detail-card > p:not(.service-name) { min-height: 0; }
  .service-detail-card ul { columns: 1; }
  .section-cta { float: none; width: 100%; }
  .insight-tabs { justify-content: flex-start; padding-top: 0; }
  .insight-links { justify-content: stretch; flex-direction: column; }
  .policy-grid { grid-template-columns: 1fr; }
  .policy-grid article { min-height: 150px; }
  .policy-emphasis { font-size: 23px; }
  .fit-content > h2 { font-size: 30px; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-grid article { padding: 26px 20px; }
  .fit-grid article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 20px; }
  .faq-list summary { padding-right: 30px; font-size: 14px; }
  .faq-list details p { padding-left: 36px; padding-right: 12px; }
  .why-content { padding: 0 0 0; }
  .why-stat-spread { min-height: auto; padding: 54px 0 40px; }
  .why-stat > p { font-size: 23px; }
  .why-stat > div { height: 124px; }
  .why-stat strong { font-size: 126px; }
  .why-stat b { margin-bottom: 9px; font-size: 43px; }
  .why-stat > div > span { margin: 0 0 13px 9px; font-size: 13px; }
  .why-stat h2 { margin-top: 20px; font-size: 29px; white-space: normal; }
  .why-deck { margin-top: 38px; padding: 28px 0 0; display: block; border-left: 0; }
  .why-deck p { margin-bottom: 22px; }
  .pain-heading { display: block; padding-top: 35px; }
  .pain-heading h3 { margin-top: 10px; font-size: 22px; }
  .editorial-quote { grid-template-columns: 22px 1fr 22px; }
  .about-intro > div { grid-template-columns: 1fr; }
  .about-principles { grid-template-columns: 1fr; }
  .about-principles article { padding: 23px 0; min-height: 0; }
  .about-principles article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .transformation-section { padding: 45px 20px 54px; }
  .transformation-inner { grid-template-columns: 1fr; }
  .transformation-section .comparison-row span { padding: 13px 10px; font-size: 9.5px; }
  .transformation-close { grid-template-columns: 1fr; }
  .transformation-close .button { width: 100%; }
  .insights-editorial { grid-template-columns: 1fr; gap: 38px; }
  .insights-intro h2 { font-size: 30px; }
  .insight-grid { margin-top: 0; }
  .insight-card { min-height: 92px; grid-template-columns: 68px 1fr; gap: 11px; }
  .insight-card > span { grid-column: 1; grid-row: 2; }
  .insight-card h3 { grid-row: 1 / 3; grid-column: 2; }
  .policy-intro > div { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid article { min-height: 165px; }
  .final-cta { min-height: 480px; padding: 52px 20px; display: block; }
  /* 「プロジェクトマネジメントに、」がカタカナの途中で折れない上限まで詰める */
  .final-cta h2 { font-size: clamp(23px, 6.1vw, 32px); }
  .final-cta p { font-size: 12.5px; }
  .final-cta > .button { margin-top: 30px; width: 100%; }
  .contact-form-section { padding: 52px 20px; grid-template-columns: 1fr; gap: 40px; }
  .contact-form-intro h2 { font-size: 34px; }
  .contact-form-intro p { font-size: 12.5px; }
  .site-footer { padding: 35px 20px 65px; grid-template-columns: 1fr 40px; gap: 30px; }
  .site-footer .brand { width: 116px; height: 57px; }
  .site-footer nav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; gap: 16px 26px; font-size: 10px; }
  .footer-company { grid-row: 3; }
  .to-top { grid-column: 2; grid-row: 1; }
  .copyright { left: 20px; transform: none; bottom: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
