@charset "UTF-8";
/* =========================================================
   MovableType移行・保守 LP ／ 株式会社クルーソー
   Technical Minimal
   ========================================================= */

:root {
  --red: #D52440;
  --red-dark: #A81B32;
  --ink: #111111;
  --text: #333333;
  --muted: #555555;
  --line: #dcdcdc;
  --line-strong: #c8c8c8;
  --gray: #f4f4f4;
  --charcoal: #2a2a2a;
  --charcoal-deep: #242424;
  --black: #1c1c1c;
  --white: #ffffff;
  --font-jp: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Inter", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  --container: 1120px;
  --gutter: 32px;
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-jp); font-size: 16px; line-height: 1.85; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 16px; }
.skip-link:focus { top: 8px; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--red { stroke: var(--red); }

/* 未確定の仮表記（承認後に差し替え）。見た目は変えず、検索しやすいようにクラスだけ付与 */
.is-tbd { }

/* ---------- layout ---------- */
.container { max-width: var(--container); margin: 0 auto; }
.container--narrow { max-width: 880px; }
.container--form { max-width: 920px; }
.sec { padding: 128px var(--gutter); }
.sec--gray { background: var(--gray); }
.sec--dark { background: var(--charcoal); color: var(--white); overflow: hidden; }
.sec--services { padding-top: 112px; }

/* ---------- typography ---------- */
.label { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.label::before { content: ""; width: 28px; height: 2px; background: var(--red); flex: none; }
.label--dark { color: #bbbbbb; }
.h2 { margin: 0 0 20px; font-size: 36px; line-height: 1.45; font-weight: 900; letter-spacing: .02em; }
.h2--sm { font-size: 30px; line-height: 1.5; margin-bottom: 16px; color: var(--white); }
.h2--mb-lg { margin-bottom: 64px; }
.lead { max-width: 760px; margin: 0 0 56px; color: var(--text); }
.lead--dark { color: #cccccc; margin-bottom: 64px; }
.small-note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 16px 32px; background: var(--red); color: var(--white); font-weight: 700; text-decoration: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; transition: background-color .2s; }
.btn:hover { background: var(--red-dark); color: var(--white); }
.btn--sm { min-height: 44px; padding: 10px 22px; font-size: 14px; white-space: nowrap; }
.btn--lg { padding: 20px 44px; }
.btn__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .2s; }
.btn:hover .btn__arrow, .services__cta a:hover .btn__arrow { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); }
.text-link:hover { color: var(--red); border-color: var(--red); }
.badge { display: inline-block; background: var(--red); color: var(--white); font-size: 12px; font-weight: 700; padding: 2px 10px; line-height: 1.6; }

/* ---------- check list ---------- */
.check-list li { position: relative; padding: 6px 0 6px 28px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2.2px solid var(--ink); border-bottom: 2.2px solid var(--ink); transform: rotate(-45deg); }
.check-list--red li::before { border-color: var(--red); }
.check-list--ruled { border-bottom: 1px solid #e0e0e0; }
.check-list--ruled li { padding: 12px 0 12px 30px; border-top: 1px solid #e0e0e0; }
.check-list--ruled li::before { top: 21px; }

/* ---------- background grids ---------- */
.bg-grid, .bg-grid-dark { position: relative; isolation: isolate; }
.bg-grid::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(#ececec 1px, transparent 1px), linear-gradient(90deg, #ececec 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 35%, #000 70%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 35%, #000 70%); }
.bg-grid-dark { overflow: hidden; }
.bg-grid-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 85% 0%, #000 0%, transparent 65%);
          mask-image: radial-gradient(ellipse at 85% 0%, #000 0%, transparent 65%); }

/* =========================================================
   Header
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid #e5e5e5; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.site-header__inner { max-width: 1200px; height: var(--header-h); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__logo img { height: 24px; width: auto; }
.site-header__nav { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.site-header__nav a { color: var(--text); text-decoration: none; }
.site-header__nav a:hover { color: var(--red); }

/* =========================================================
   FV
   ========================================================= */
.fv { padding: 96px var(--gutter) 112px; border-bottom: 1px solid #e5e5e5; overflow: hidden; }
.fv__inner { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); gap: 40px; align-items: center; }
.fv__title { margin: 0 0 32px; font-size: clamp(34px, 3.4vw, 46px); line-height: 1.42; font-weight: 900; letter-spacing: .02em; }
.fv__title span { display: block; white-space: nowrap; }
.fv__lead { max-width: 540px; margin: 0 0 44px; font-size: 17px; color: var(--text); }
.fv__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.fv__note { margin-top: 24px; font-size: 14px; color: var(--text); }
.fv__note .badge { margin-right: 10px; vertical-align: 1px; }
.fv__sub { margin-top: 8px; font-size: 14px; color: var(--muted); }
.fv__figure { position: relative; min-width: 0; }
.fv__mark { display: flex; align-items: center; margin: 0 0 12px; font-family: var(--font-en); font-size: 10px; font-weight: 600; letter-spacing: .2em; color: #9a9a9a; }
.fv__mark-line { flex: 1; height: 1px; margin: 0 16px; background: #d8d8d8; }
.fv__mark-box { width: 8px; height: 8px; border: 1px solid var(--red); }
.fv__img { width: calc(100% + var(--gutter)); max-width: none; margin-right: calc(var(--gutter) * -1); }
.fv__cap { display: grid; grid-template-columns: minmax(0, 37fr) minmax(0, 33fr) minmax(0, 30fr); gap: 16px; margin-top: 20px; }
.fv__cap-item { min-width: 0; padding-top: 12px; border-top: 2px solid var(--ink); }
.fv__cap-no { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.fv__cap-title { margin: 2px 0; font-size: 15px; font-weight: 900; line-height: 1.5; }
.fv__cap-text { font-size: 12px; line-height: 1.6; color: var(--muted); }
.fv__cap-item.is-accent { border-top-color: var(--red); }
.fv__cap-item.is-accent .fv__cap-no { color: var(--red); }

/* =========================================================
   お困りごと
   ========================================================= */
.pain-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; margin-top: 48px; border-bottom: 1px solid #d6d6d6; }
.pain-list li { position: relative; padding: 22px 4px 22px 40px; border-top: 1px solid #d6d6d6; }
.pain-list li::before { content: ""; position: absolute; left: 8px; top: 33px; width: 13px; height: 7px; border-left: 2.2px solid var(--red); border-bottom: 2.2px solid var(--red); transform: rotate(-45deg); }

/* =========================================================
   無料診断
   ========================================================= */
.diag { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.diag__list { border-bottom: 1px solid #e0e0e0; }
.diag__list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-top: 1px solid #e0e0e0; }
.diag__list .icon { margin-top: 3px; }
.diag__list h3 { margin-bottom: 4px; font-size: 16px; line-height: 1.5; }
.diag__list p { font-size: 14px; color: var(--text); }

.report { position: relative; min-width: 0; padding: 0 0 28px 28px; }
.report__stack { position: absolute; left: 0; top: 28px; right: 28px; bottom: 0; background: #e6e6e6; }
.report__stack::after { content: ""; position: absolute; left: 14px; top: -14px; right: -14px; bottom: 14px; background: #efefef; border: 1px solid #d8d8d8; }
.report__page { position: relative; background: var(--white); border: 1px solid var(--line-strong); padding: 36px 38px 28px; font-size: 13px; line-height: 1.7; box-shadow: 0 12px 32px rgba(0,0,0,.06); }
.report__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font-family: var(--font-en); font-size: 10px; letter-spacing: .15em; color: var(--muted); }
.report__head img { height: 14px; width: auto; }
.report__eyebrow { margin: 20px 0 2px; font-family: var(--font-en); font-size: 10px; font-weight: 600; letter-spacing: .2em; color: var(--red); }
.report__title { margin-bottom: 4px; font-size: 20px; font-weight: 900; }
.report__target { margin-bottom: 20px; font-size: 12px; color: var(--muted); word-break: break-all; }
.report__h { margin-bottom: 6px; font-weight: 700; }
.report__h span { margin-right: 8px; font-family: var(--font-en); color: var(--red); }
.report__table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.report__table th, .report__table td { padding: 9px 0; border-bottom: 1px solid #e8e8e8; vertical-align: top; }
.report__table th { width: 42%; text-align: left; font-weight: 400; color: var(--muted); padding-right: 12px; }
.report__table td { text-align: right; font-weight: 700; }
.tag { display: inline-block; margin-left: 8px; padding: 1px 7px; font-size: 10px; font-weight: 700; color: var(--white); white-space: nowrap; }
.tag--gray { background: var(--muted); }
.tag--red { background: var(--red); }
.report__risk { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; padding: 14px 16px; background: var(--gray); font-size: 12px; }
.meter { display: flex; align-items: center; gap: 4px; }
.meter i { width: 30px; height: 8px; background: #cfcfcf; }
.meter i.on { background: var(--red); }
.meter b { margin-left: 10px; font-size: 16px; font-weight: 900; }
.report__note { margin-bottom: 18px; font-size: 11px; color: var(--muted); }
.report__text { margin-bottom: 18px; font-size: 12px; color: var(--text); }
.report__foot { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid #e0e0e0; font-family: var(--font-en); font-size: 10px; color: var(--muted); }

.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 72px; border: 1px solid #cfcfcf; }
.scope__col { padding: 32px 36px; border-top: 4px solid var(--ink); }
.scope__col--free { border-top-color: var(--red); }
.scope__col--paid { background: var(--gray); }
.scope__en { font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--muted); }
.scope__col--free .scope__en { color: var(--red); }
.scope h3 { margin: 4px 0 14px; font-size: 20px; }
.scope .check-list { font-size: 15px; }

.cta-center { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 56px; text-align: center; }
.cta-center p { font-size: 14px; color: var(--muted); }

/* =========================================================
   Why Now
   ========================================================= */
.why { border-bottom: 1px solid var(--ink); }
.why__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; padding: 40px 0; border-top: 1px solid var(--ink); }
.why__head { display: flex; gap: 20px; align-items: baseline; }
.why__no { font-family: var(--font-en); font-size: 15px; font-weight: 700; color: var(--red); }
.why__head h3 { margin-bottom: 6px; font-size: 22px; line-height: 1.5; font-weight: 900; }
.why__en { font-family: var(--font-en); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.why__body p { font-size: 16px; line-height: 1.95; color: var(--text); }
.why__body .why__note { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* =========================================================
   移行先の比較
   ========================================================= */
.compare { overflow-x: auto; }
.compare__table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; border-bottom: 1px solid var(--line); }
.compare__table thead th { padding: 0 28px 14px; text-align: left; font-size: 13px; font-weight: 700; color: var(--muted); border-bottom: 2px solid var(--ink); }
.compare__table thead th:first-child { width: 30%; }
.compare__table thead th:nth-child(2) { width: 36%; }
.compare__table .compare__en { font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .18em; }
.compare__table tbody th, .compare__table td { padding: 26px 28px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; font-weight: 400; }
.compare__table td:last-child { color: var(--text); }
.compare__name { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 900; }
.compare__name .icon { width: 26px; height: 26px; }

/* =========================================================
   3層構造（CSSアイソメトリック）
   ========================================================= */
.layers { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 56px; align-items: center; }
.iso { --iso-scale: 1; width: 100%; max-width: 460px; aspect-ratio: 460 / 540; margin: 0 auto; position: relative; }
.iso__stage { position: absolute; left: 0; top: 0; width: 460px; height: 540px; transform: scale(var(--iso-scale)); transform-origin: top left; }
.iso__slab { position: absolute; left: 80px; width: 300px; height: 300px; padding: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start;
  border: 1px solid var(--white); transform: rotateX(56deg) rotateZ(-45deg);
  --edge: #9a9a9a; --edge2: #9a9a9a;
  box-shadow: -1px 1px 0 var(--edge), -2px 2px 0 var(--edge), -3px 3px 0 var(--edge), -4px 4px 0 var(--edge), -5px 5px 0 var(--edge), -6px 6px 0 var(--edge),
              -7px 7px 0 var(--edge), -8px 8px 0 var(--edge), -9px 9px 0 var(--edge), -10px 10px 0 var(--edge2), -11px 11px 0 var(--edge2), -12px 12px 0 var(--edge2),
              -24px 24px 40px rgba(0,0,0,.35); }
.iso__slab i { display: block; height: 34px; border: 1px solid #cfcfcf; }
.iso__slab--server { top: 250px; background: #d9d9d9; }
.iso__slab--server i { background: #cfcfcf; }
.iso__slab--cms { top: 125px; background: #ececec; --edge: #a8a8a8; --edge2: #a8a8a8; }
.iso__slab--cms i { background: var(--white); }
.iso__slab--output { top: 0; background: var(--white); --edge: #b8b8b8; --edge2: var(--red); }
.iso__slab--output i { background: #f2f2f2; }
/* 層と層をつなぐ支柱（左右の角） */
.iso__link { position: absolute; width: 1px; height: 125px; }
.iso__link--lower { top: 275px; background: repeating-linear-gradient(#8a8a8a 0 5px, transparent 5px 10px); }
.iso__link--upper { top: 150px; background: var(--red); }
.iso__link--l { left: 18px; }
.iso__link--r { left: 441px; }

.layer-list { min-width: 0; border-bottom: 1px solid #4a4a4a; }
.layer { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid #4a4a4a; }
.layer__dot { width: 10px; height: 10px; margin-top: 8px; background: #9a9a9a; }
.layer__en { margin-bottom: 2px; font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .2em; color: #9a9a9a; }
.layer.is-accent .layer__dot { background: var(--red); }
.layer.is-accent .layer__en { color: var(--red); }
.layer__title { margin-bottom: 10px; font-size: 19px; font-weight: 900; color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chips li { padding: 4px 10px; border: 1px solid #5a5a5a; font-size: 13px; line-height: 1.5; color: #e8e8e8; }
.layer__text { font-size: 13px; color: #bbbbbb; }

/* =========================================================
   選ばれる理由
   ========================================================= */
.bignum { margin: 0 0 12px; font-family: var(--font-en); font-size: 80px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.bignum--xl { margin-bottom: 8px; font-size: 112px; color: var(--red); }
.reason-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 48px 0 56px; border-top: 2px solid var(--ink); }
.reason-feature__title { margin-bottom: 16px; font-size: 28px; line-height: 1.5; font-weight: 900; }
.reason-feature p { color: var(--text); }
.reason-feature__panel { align-self: stretch; padding: 32px 36px; background: var(--gray); }
.reason-feature__en { margin-bottom: 8px; font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--muted) !important; }
.reason-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reason { padding: 40px 48px 8px 0; border-top: 1px solid var(--ink); }
.reason + .reason { padding: 40px 0 8px 48px; }
.reason h3 { margin-bottom: 12px; font-size: 22px; line-height: 1.5; font-weight: 900; }
.reason p:last-child { color: var(--text); }

/* =========================================================
   対応メニュー
   ========================================================= */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.services li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: var(--white); }
.services li .icon { width: 26px; height: 26px; margin-top: 2px; }
.services h3 { margin-bottom: 2px; font-size: 16px; line-height: 1.5; }
.services p { font-size: 13px; line-height: 1.6; color: var(--text); }
.services__cta { padding: 0 !important; background: var(--charcoal) !important; }
.services__cta a { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 100%; min-height: 44px; padding: 22px 24px; color: var(--white); text-decoration: none; }
.services__cta span { font-size: 13px; color: #cccccc; }
.services__cta strong { display: flex; align-items: center; gap: 10px; }
.services__cta a:hover { background: #333333; color: var(--white); }

/* =========================================================
   対応事例
   ========================================================= */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid #d6d6d6; }
.case__top { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px 30px 0; }
.case__no { font-family: var(--font-en); font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.case__no span { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--red); }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case__tags li { padding: 1px 10px; border: 1px solid var(--muted); font-size: 12px; color: var(--text); }
.case__tags li.is-dark { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.case__body { display: flex; flex-direction: column; flex: 1; padding: 20px 30px 32px; }
.case__title { min-height: 3.2em; margin-bottom: 8px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); font-size: 18px; line-height: 1.6; }
.case__flow > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.case__flow dt { font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.case__flow dd { margin-top: 2px; font-size: 14px; line-height: 1.7; font-weight: 700; }
.case__flow > .case__after { position: relative; margin-top: 14px; padding: 16px 18px 16px 50px; background: #1f1f1f; color: var(--white); border-bottom: 0; }
.case__after::before { content: ""; position: absolute; left: 20px; top: 26px; width: 13px; height: 7px; border-left: 2.4px solid var(--red); border-bottom: 2.4px solid var(--red); transform: rotate(-45deg); }
.case__after dt { color: var(--red); }
.case__after dd { font-size: 15px; line-height: 1.6; }
.case__text { margin-top: 20px; font-size: 14px; line-height: 1.9; color: var(--text); }
/* 未確定の事例（03） */
.case.is-tbd-card { border-style: dashed; border-color: #b0b0b0; }
.case.is-tbd-card .case__no { color: #c8c8c8; }
.case.is-tbd-card .case__no span { color: #9a9a9a; }
.case.is-tbd-card dd, .case.is-tbd-card .case__text { color: var(--muted); }
.case.is-tbd-card .case__after { background: transparent; color: var(--muted); border: 1px dashed #9a9a9a; padding-left: 18px; }
.case.is-tbd-card .case__after::before { display: none; }
.case.is-tbd-card .case__after dt { color: var(--muted); }

/* =========================================================
   費用の目安
   ========================================================= */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.prices li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 32px; background: var(--white); }
.prices li.is-free { border-top: 3px solid var(--red); }
.prices h3 { font-size: 17px; }
.prices li p:not(.prices__val) { font-size: 13px; color: var(--muted); }
.prices__val { font-family: var(--font-en); font-size: 30px; font-weight: 800; }
.prices__val small { font-family: var(--font-jp); font-size: 18px; }
.prices li.is-free .prices__val { color: var(--red); }

/* =========================================================
   進め方
   ========================================================= */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 48px; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: #d0d0d0; }
.flow li { position: relative; padding-right: 20px; }
.flow__no { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--ink); background: var(--white); font-family: var(--font-en); font-size: 16px; font-weight: 700; }
.flow li.is-accent .flow__no { background: var(--red); border-color: var(--red); color: var(--white); }
.flow h3 { margin: 18px 0 6px; font-size: 17px; font-weight: 900; }
.flow p { font-size: 14px; color: var(--text); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { margin-top: 40px; border-bottom: 1px solid #cfcfcf; }
.faq details { padding: 22px 4px; border-top: 1px solid #cfcfcf; }
.faq summary { position: relative; min-height: 28px; padding: 0 36px 0 30px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 0; top: 0; font-family: var(--font-en); font-weight: 700; color: var(--red); }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 8px; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 12px; }
.faq details p { margin: 14px 0 0 30px; color: var(--text); }

/* =========================================================
   お問い合わせ
   ========================================================= */
.contact { padding-top: 136px; background: var(--charcoal-deep); color: var(--white); border-top: 4px solid var(--red); }
.contact__motif { position: absolute; right: -90px; top: 24px; z-index: -1; width: 340px; height: 266px; fill: none; stroke: #6a6a6a; stroke-width: .35; opacity: .5; }
.contact__motif .is-red { stroke: var(--red); }
.contact__title { margin: 0 0 24px; font-size: 52px; line-height: 1.35; font-weight: 900; letter-spacing: .02em; }
.contact__title span { box-shadow: inset 0 -.18em 0 var(--red); }
.contact__lead { margin-bottom: 8px; color: #dddddd; }
.contact__lead--last { margin-bottom: 40px; }

.form { display: flex; flex-direction: column; gap: 32px; padding: 48px 48px 40px; background: var(--white); color: var(--ink); }
.form__group { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.form__group--ruled { padding-top: 28px; border-top: 1px solid #e0e0e0; }
.form__legend { float: left; width: 100%; margin-bottom: 4px; padding: 0; font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--muted); }
.form__legend + * { clear: both; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 700; }
.req, .opt { display: inline-block; margin-left: 8px; padding: 0 7px; font-size: 11px; line-height: 1.6; vertical-align: 1px; }
.req { background: var(--red); color: var(--white); font-weight: 700; }
.opt { border: 1px solid #9a9a9a; color: var(--muted); font-weight: 400; }
.field__hint { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #9a9a9a; border-radius: 0; background: var(--white); font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); }
.field select { -webkit-appearance: none; appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 2px rgba(213,36,64,.25); }
.field.is-invalid input { border-color: var(--red); }
.field--checks { margin: 0; padding: 0; border: 0; }
.field--checks legend { margin-bottom: 8px; padding: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.checks label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 400; cursor: pointer; }
.checks input { width: 20px; height: 20px; flex: none; accent-color: var(--red); }
.form__agree { align-items: center; text-align: center; gap: 12px; padding-top: 28px; border-top: 1px solid #e0e0e0; }
.form__agree-label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.form__agree-label input { width: 20px; height: 20px; flex: none; accent-color: var(--red); }
.form__agree-note { font-size: 13px; color: var(--muted); }
.form__policy { width: 100%; max-height: 180px; overflow-y: auto; padding: 16px 18px; background: #f7f7f7; border: 1px solid #e0e0e0; font-size: 12px; line-height: 1.8; color: #555555; text-align: left; }
.form__policy p + p { margin-top: 8px; }
.form__policy-title { font-weight: 700; }
.form__policy-sign { text-align: right; }
.field--name { margin: 0; padding: 0; border: 0; min-width: 0; }
.field--name legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 700; }
.field__sub { font-size: 12px !important; font-weight: 400 !important; color: var(--muted); }
.form__powered { font-size: 11px; }
.form__powered a { color: #888888; }
.form__agree.is-invalid .form__agree-label { color: var(--red); }
.form__submit { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.btn--submit { padding: 20px 64px; min-height: 56px; font-size: 17px; }
.form__msg { min-height: 1.5em; font-size: 13px; color: var(--red); text-align: center; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { padding: 40px var(--gutter); background: var(--black); color: #bbbbbb; font-size: 13px; }
.site-footer__inner { max-width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer img { height: 22px; width: auto; }
.site-footer a { color: var(--white); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .fv__cap-text { font-size: 11px; }
}

@media (max-width: 1100px) {
  .fv__inner { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .fv__title { font-size: clamp(28px, 5.4vw, 46px); }
  .fv__img { width: 100%; margin-right: 0; }
  .fv__figure { width: 100%; max-width: 880px; margin: 0 auto; }
  .layers { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header__nav { gap: 20px; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; --header-h: 60px; }
  .sec { padding: 80px var(--gutter); }
  .fv { padding: 56px var(--gutter) 72px; }
  .h2 { font-size: 26px; }
  .h2--sm { font-size: 22px; }
  .h2--mb-lg { margin-bottom: 40px; }
  .lead { margin-bottom: 40px; }
  .site-header__nav { display: none; }
  .site-header__logo img { height: 16px; }
  .site-header .btn--sm { padding: 8px 14px; font-size: 12px; min-height: 44px; }
  .label { font-size: 11px; letter-spacing: .14em; }
  .fv__mark { display: none; }
  .fv__cap { gap: 8px; }
  .fv__cap-title { font-size: 13px; }
  .fv__cap-text { font-size: 11px; }
  .btn--lg { padding: 18px 28px; }
  .fv__actions .btn { width: 100%; justify-content: center; }
  .pain-list, .diag, .scope, .why__row, .reason-feature, .reason-pair, .services, .cases, .prices, .form__grid, .checks { grid-template-columns: minmax(0, 1fr); }
  .diag, .reason-feature { gap: 40px; }
  .why__row { gap: 16px; padding: 32px 0; }
  .why__head h3 br { display: none; }
  .report { padding: 0 0 18px 18px; }
  .report__stack { top: 18px; right: 18px; }
  .report__stack::after { left: 9px; top: -9px; right: -9px; bottom: 9px; }
  .report__page { padding: 24px 20px 20px; }
  .report__table th { width: 48%; }
  .scope__col { padding: 28px 24px; }
  .scope__col--paid { border-top: 4px solid var(--ink); }

  /* 比較表 → カード */
  .compare { overflow: visible; }
  .compare__table { min-width: 0; border-bottom: 0; }
  .compare__table thead { display: none; }
  .compare__table, .compare__table tbody, .compare__table tr, .compare__table th, .compare__table td { display: block; width: 100%; }
  .compare__table tr { margin-bottom: 16px; padding: 22px; border: 1px solid var(--line); }
  .compare__table tbody th, .compare__table td { padding: 0; border: 0; }
  .compare__table tbody th { margin-bottom: 12px; }
  .compare__table td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); }
  .compare__table td + td { margin-top: 10px; }

  .bignum { font-size: 64px; }
  .bignum--xl { font-size: 80px; }
  .reason, .reason + .reason { padding: 32px 0 24px; }
  .reason-feature { padding: 32px 0 40px; }
  .reason-feature__panel { padding: 24px; }
  .case__top { padding: 26px 22px 0; }
  .case__body { padding: 16px 22px 26px; }
  .case__title { min-height: 0; }
  .case__no { font-size: 56px; }

  .flow { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .flow::before { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; padding: 0 0 28px; }
  .flow__no { grid-row: span 2; }
  .flow h3 { margin: 12px 0 4px; }
  .flow li:last-child { padding-bottom: 0; }
  .flow::before { bottom: 56px; }

  .contact { padding-top: 96px; }
  .contact__motif { display: none; }
  .contact__title { font-size: 34px; }
  .form { padding: 28px 20px 28px; gap: 28px; }
  .btn--submit { width: 100%; justify-content: center; padding: 18px 20px; }
}

@media (max-width: 400px) {
  .fv__cap { grid-template-columns: minmax(0, 1fr); }
  .fv__cap-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; padding-top: 8px; }
  .fv__cap-no { grid-row: span 2; padding-top: 2px; }
  .fv__cap-title { margin: 0; }
}

@media (max-width: 360px) {
  .fv__title { font-size: 25px; }
  .fv__title span { white-space: normal; }
}

/* 担当者名（姓・名）はスマホでも横並び */
.field--name .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* 単語の途中で改行させない */
.nowrap { white-space: nowrap; }

/* 2カラムのまま幅が狭い範囲では、説明文の1行目が折れないよう少し小さく */
@media (min-width: 1101px) and (max-width: 1240px) {
  .fv__lead { font-size: 16px; }
}
.prices__val--text { font-family: var(--font-jp); font-size: 24px; }
.prices li { flex-direction: column; align-items: flex-start; justify-content: space-between; }
