/* Proofline LP（デザインの段。最初の画面・課題・柱 3 本）
   取り入れたもの:
   - CLIUS: 左寄せの見出し（導入の一行＋極太の大見出し・文字のグラデーション）、右上の斜めの図形、傾けた端末に製品画面、浮いた角丸のナビ、
            幅の広いピル型のボタン（右端に矢印）、大きな角丸の白いカードを灰色の面に置く、上下 120px の余白
   - キャムマックス・CLIUS: 最初の画面の丸いバッジ（ここでは事実の数字だけ）
   - メールディーラー: 「お悩み → そのお悩み、で解決」の橋渡しの帯、スマホの下に固定した CTA
   - ZAC: 左右交互の柱と、セクションの終わりの CTA
   重さ: 画像を読まない（製品画面は HTML と CSS で描く）。動きは最初の 1 回だけ */
/* 色: Proofline のブランド（深青。2026-10-27）。正本は @siracusahq/tokens の proofline ランプ（主色 500 #06617c・アクセント 300 #14b8e7）。
   ホバー・押下はランプの 700・800。以前の緑系の色は、明るさと鮮やかさを保ったまま色相だけをブランドの青（194°）に回した。状態色（--c-ok など）は変えない */
:root {
  --c-primary: #06617c;
  --c-primary-600: #055b74;
  --c-primary-700: #03485c;
  --c-accent: #14b8e7;
  --c-tint: #e6f1f4;
  --c-tint-2: #f1f6f8;
  --c-ink: #161e20;
  --c-ink-2: #4c5558;
  --c-ink-3: #7c8487;
  --c-line: #dfe4e6;
  --c-bg: #ffffff;
  --c-bg-muted: #f3f5f6;
  --c-ok: #1f8a5b;
  --c-warn: #b7791f;
  --c-bad: #c2413b;
  --grad-text: linear-gradient(90deg, #161e20 0%, #0b3e4d 45%, #06617c 75%, #1085a8 100%);
  --max: 1280px;
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-num: "Jost", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font-family: var(--font); font-size: 16px; line-height: 1.8; letter-spacing: .03em; font-feature-settings: "palt"; line-break: strict; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 48px; } }

/* ---- ボタン: 幅の広いピル型。文字は左、矢印は右（CLIUS） ---- */
.btn { --h: 64px; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 260px; height: var(--h); padding: 0 28px 0 32px; border-radius: 9999px; border: 2px solid var(--c-primary); font-size: 17px; font-weight: 700; letter-spacing: .05em; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.btn::after { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10h13M11 4.5 16.5 10 11 15.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10h13M11 4.5 16.5 10 11 15.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.btn:hover::after { transform: translateX(4px); }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 69, 90, .6); }
.btn--primary:hover { background: var(--c-primary-600); border-color: var(--c-primary-600); }
.btn--outline { background: #fff; color: var(--c-primary); }
.btn--outline:hover { background: var(--c-tint); }
.btn--s { --h: 40px; min-width: 0; gap: 12px; padding: 0 16px 0 20px; font-size: 14px; box-shadow: none; }
.btn--s::after { width: 14px; height: 14px; }
.btn--xl { --h: 76px; min-width: 360px; font-size: 19px; }
.btn:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
@media (max-width: 480px) { .btn { min-width: 0; width: 100%; } .btn--s { width: auto; } .btn--xl { min-width: 0; } }

/* ---- ヘッダー: 最初は浮いた角丸のナビ、スクロールで白い帯（CLIUS） ---- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: 20px; transition: padding .25s, background .25s, box-shadow .25s; }
.header__inner { display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-num); font-weight: 600; font-size: 24px; letter-spacing: .01em; text-decoration: none; color: var(--c-ink); }
.logo img { display: block; width: auto; height: 42px; } /* ロックアップはマークが文字の 1.65 倍（brand-assets 1.8.0）。文字が小さくならないよう 32px の 1.3 倍 */
.footer .logo img { height: 36px; }
.capsule { margin-left: auto; display: flex; align-items: center; gap: 28px; padding: 10px 10px 10px 32px; border-radius: 9999px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(14px); box-shadow: 0 8px 30px -14px rgba(0, 38, 50, .25); transition: background .25s, box-shadow .25s, padding .25s; }
.nav { display: none; gap: 28px; font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--c-ink); }
.nav a:hover { color: var(--c-primary); }
.capsule__cta { display: flex; gap: 8px; }
.capsule__cta .btn--outline { display: none; }
@media (min-width: 1080px) { .nav { display: flex; } .capsule__cta .btn--outline { display: inline-flex; } }
@media (max-width: 1079px) { .capsule { padding: 6px; } }
.header.is-scrolled { padding-top: 0; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--c-line); }
.header.is-scrolled .header__inner { height: 68px; }
.header.is-scrolled .capsule { background: transparent; box-shadow: none; backdrop-filter: none; padding: 0; }

/* ---- 見出し（左寄せ・導入の一行＋極太の大見出し・グラデーションの文字。CLIUS） ---- */
.head { display: grid; gap: 14px; margin-bottom: 48px; max-width: 900px; }
.head--center { justify-items: center; text-align: center; margin-inline: auto; }
/* 見出しの上の一行: 最初の画面の対象の一行と同じ扱い（ティールの文字＋左に短いグラデーションの線） */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 800; color: var(--c-primary); letter-spacing: .06em; }
.kicker::before { content: ""; flex: none; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--c-accent), var(--c-primary)); }
.section--dark .kicker::before { background: linear-gradient(90deg, #9edff3, #14b8e7); }
.h2 { font-size: clamp(30px, 5.2vw, 52px); font-weight: 900; line-height: 1.35; letter-spacing: .02em; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 17px; color: var(--c-ink-2); max-width: 46em; }
@media (min-width: 768px) { .head { margin-bottom: 64px; } .kicker { font-size: 18px; } }

.section { padding-block: 72px; position: relative; }
.section--muted { background: var(--c-bg-muted); }
@media (min-width: 768px) { .section { padding-block: 120px; } }

/* ---- 最初の画面 ---- */
.hero { position: relative; overflow: hidden; padding-top: 132px; padding-bottom: 72px; background: linear-gradient(180deg, #fff 0%, #fff 70%, var(--c-tint-2) 100%); }
@media (min-width: 1080px) { .hero { padding-top: 140px; padding-bottom: 96px; } }
/* 右上の斜めの図形（CLIUS の青紫の斜めの面を、ティールで） */
.hero__shapes { position: absolute; top: 0; right: 0; width: min(62vw, 980px); height: 100%; pointer-events: none; }
.hero__shapes svg { position: absolute; top: 0; right: 0; width: 100%; height: auto; }
@media (max-width: 1079px) { .hero__shapes { width: 100%; opacity: .55; } }
.hero__grid { position: relative; display: grid; gap: 56px; align-items: center; }
.hero__grid > * { min-width: 0; }
@media (min-width: 1080px) { .hero__grid { grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 24px; } }
/* 対象の一行: 札にせず、見出しの上のふつうの太字の一行（CLIUS の「電子カルテCLIUSは」と同じ扱い） */
.hero__kicker { display: flex; align-items: center; gap: 14px; font-size: clamp(15px, 2.2vw, 20px); font-weight: 700; color: var(--c-primary); }
.hero__kicker::before { content: ""; flex: none; width: 32px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--c-accent), var(--c-primary)); }
.hero__kicker strong { font-weight: 900; color: var(--c-primary-700); }
.hero__title { margin-top: 20px; font-size: clamp(32px, 8vw, 56px); font-weight: 900; line-height: 1.28; letter-spacing: .01em; }
.hero__sub { margin-top: 22px; font-size: clamp(16px, 2.2vw, 19px); font-weight: 500; color: var(--c-ink-2); }
.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-size: 17px; font-weight: 700; }
.checks li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--c-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5L17.5 8.5' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* 事実の丸いバッジ（CLIUS・キャムマックスのバッジの位置づけ。導入実績はまだないので、事実の数字だけ） */
.seals { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.seal { width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 2px; background: #fff; border: 2px solid var(--c-tint); box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px rgba(0, 90, 117, .25); }
.seal small { font-size: 11px; font-weight: 700; color: var(--c-ink-2); letter-spacing: .04em; }
.seal b { font-family: var(--font-num); font-size: 30px; line-height: 1; font-weight: 600; color: var(--c-primary); }
.seal b.ja { font-family: var(--font); font-size: 17px; line-height: 1.25; font-weight: 900; }

/* 傾けた端末（CLIUS）。中は製品画面の見本（HTML と CSS。数字は見本） */
.device-wrap { position: relative; }
@media (min-width: 1080px) { .device-wrap { margin-right: -220px; } }
.device { position: relative; border-radius: 28px; padding: 14px; background: linear-gradient(145deg, #2b3335, #10181a); box-shadow: 0 50px 90px -40px rgba(0, 31, 40, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
@media (min-width: 1080px) { .device { transform: perspective(2200px) rotateY(-16deg) rotateX(7deg) rotateZ(4deg); transform-origin: left center; } }
.screen { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-radius: 16px; overflow: hidden; background: #fff; font-size: 12px; min-height: 470px; }
@media (max-width: 640px) { .screen { grid-template-columns: minmax(0, 1fr); min-height: 0; } .side { display: none; } }
.side { background: #f6f8f9; border-right: 1px solid var(--c-line); padding: 16px 12px; display: grid; align-content: start; gap: 4px; }
.side__logo { display: flex; align-items: center; gap: 6px; font-family: var(--font-num); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.side__logo img { width: 18px; height: 18px; }
.side a { display: block; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--c-ink-2); font-weight: 500; }
.side a.on { background: var(--c-tint); color: var(--c-primary); font-weight: 700; }
.main { padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; }
.main__title { font-size: 15px; font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { border: 1px solid var(--c-line); border-radius: 12px; padding: 12px; background: #fff; }
.stat span { font-size: 11px; color: var(--c-ink-2); }
.stat b { display: block; font-family: var(--font-num); font-size: 28px; line-height: 1.15; font-weight: 600; }
.meter { height: 6px; border-radius: 6px; background: #e8edee; margin-top: 8px; overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--v); background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); }
.rows { border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--c-line); }
.rows li:first-child { border-top: 0; }
.rows li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { flex: none; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 9999px; }
.badge--ok { background: #e3f3ea; color: var(--c-ok); }
.badge--warn { background: #fbf0dc; color: var(--c-warn); }
.badge--bad { background: #fbe6e5; color: var(--c-bad); }
/* 端末の前に浮かせる「直し方」のカード */
.float-card { position: absolute; left: -36px; bottom: -40px; width: 300px; background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: 0 30px 60px -24px rgba(0, 31, 40, .45); border: 1px solid var(--c-line); font-size: 13px; }
.float-card h4 { margin: 0 0 10px; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.float-card h4::before { content: "直し方"; font-size: 11px; font-weight: 800; color: #fff; background: var(--c-primary); padding: 2px 8px; border-radius: 9999px; }
.float-card ol { counter-reset: s; display: grid; gap: 6px; color: var(--c-ink-2); }
.float-card li { counter-increment: s; display: flex; gap: 8px; }
.float-card li::before { content: counter(s); flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--c-tint); color: var(--c-primary); font-family: var(--font-num); font-weight: 600; font-size: 12px; display: grid; place-items: center; }
@media (max-width: 1079px) { .float-card { position: relative; left: auto; bottom: auto; width: auto; margin: -24px 16px 0; } }

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .rise--2 { animation-delay: .15s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---- 課題（メールディーラーの「お悩み → 解決」） ---- */
.worries { display: grid; gap: 20px; }
@media (min-width: 900px) { .worries { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.worry { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: 24px; padding: 24px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.worry__num { position: absolute; z-index: 1; top: 34px; right: 38px; font-family: var(--font-num); font-size: 56px; font-weight: 600; line-height: 1; color: var(--c-tint); }
.worry__ill svg { width: 100%; height: auto; border-radius: 16px; }
.worry__to { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px dashed var(--c-line); font-size: 15px; font-weight: 800; color: var(--c-primary); text-decoration: none; }
.worry__to::before { content: "解決"; flex: none; font-size: 11px; font-weight: 800; color: #fff; background: var(--c-primary); padding: 2px 10px; border-radius: 9999px; }
.worry__to::after { content: "↓"; margin-left: auto; font-weight: 900; }
.worry__to:hover { color: var(--c-primary-600); }
.worry__icon { width: 72px; height: 72px; border-radius: 20px; background: var(--c-tint); display: grid; place-items: center; }
.worry__icon svg { width: 38px; height: 38px; stroke: var(--c-primary); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.worry h3 { font-size: 21px; font-weight: 900; line-height: 1.5; }
.worry p { color: var(--c-ink-2); font-size: 15px; }
/* 橋渡しの帯（吹き出しの三角つき） */
.bridge { position: relative; margin-top: 72px; background: linear-gradient(120deg, var(--c-primary-700), var(--c-primary) 55%, #0b799a); color: #fff; border-radius: 28px; padding: 44px 32px; text-align: center; overflow: hidden; }
.bridge::before { content: ""; position: absolute; top: -1px; left: 50%; width: 56px; height: 28px; transform: translateX(-50%); background: var(--c-bg); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.bridge::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(19, 154, 195, .45), transparent 70%); }
.bridge p { position: relative; font-size: clamp(22px, 3.6vw, 34px); font-weight: 900; line-height: 1.5; }
.bridge p em { font-style: normal; color: #9edff3; }

/* ---- 柱 3 本（CLIUS の大きな白いカード ＋ ZAC の左右交互） ---- */
.pillars { display: grid; gap: 32px; }
.pillar { background: #fff; border-radius: 32px; padding: 32px 24px; display: grid; gap: 32px; align-items: center; box-shadow: 0 30px 60px -48px rgba(0, 38, 50, .35); }
.pillar > * { min-width: 0; }
@media (min-width: 960px) {
  .pillar { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; padding: 64px; }
  .pillar:nth-child(even) .pillar__text { order: 2; }
}
.pillar .pillar__num { margin: 0; font-family: var(--font-num); font-size: 64px; font-weight: 600; line-height: 1; background: linear-gradient(180deg, var(--c-accent), var(--c-primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillar h3 { margin-top: 18px; font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; line-height: 1.45; }
.pillar p { margin-top: 18px; font-size: 16px; color: var(--c-ink-2); }
.pillar__points { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.pillar__points li { font-size: 13px; font-weight: 700; color: var(--c-primary); background: var(--c-tint); padding: 6px 14px; border-radius: 9999px; }
.pillar__visual { position: relative; border-radius: 24px; background: linear-gradient(140deg, var(--c-tint) 0%, #d4e9ef 100%); padding: 32px 28px; overflow: hidden; }
.pillar__visual::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .7), transparent 70%); }
.panel { position: relative; z-index: 1; background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 24px 50px -30px rgba(0, 38, 50, .45); font-size: 13px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.panel__title { font-weight: 800; font-size: 14px; }
.panel__note { color: var(--c-ink-2); }
.steps-mini { display: grid; gap: 8px; }
.steps-mini li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--c-bg-muted); }
.steps-mini li b { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c-primary); color: #fff; font-family: var(--font-num); font-size: 12px; display: grid; place-items: center; }
.report { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 14px; align-items: center; }
.report__code { border: 1px dashed var(--c-primary); border-radius: 12px; padding: 10px; text-align: center; font-family: var(--font-num); font-size: 12px; color: var(--c-primary); }
.report__code b { display: block; font-size: 15px; letter-spacing: .06em; white-space: nowrap; }
.mid-cta { margin-top: 64px; display: grid; justify-items: center; gap: 14px; text-align: center; }
.mid-cta p { color: var(--c-ink-2); font-size: 15px; }

/* ---- スマホの下に固定する CTA（メールディーラー） ---- */
.sp-cta { position: fixed; inset: auto 0 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--c-line); }
.sp-cta .btn { width: 100%; --h: 56px; }
@media (min-width: 900px) { .sp-cta { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 80px; } }

/* ---- 作成中の注記（デザインの段の見本だけ） ---- */
.wip { padding-block: 48px; text-align: center; color: var(--c-ink-3); font-size: 14px; border-top: 1px dashed var(--c-line); }

/* ---- 仕組み（主色の濃い面。読み進める中の山場） ---- */
.section--dark { background: linear-gradient(135deg, #002e3c 0%, var(--c-primary-700) 45%, var(--c-primary) 100%); color: #fff; overflow: hidden; }
.section--dark::after { content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(19, 154, 195, .35), transparent 70%); pointer-events: none; }
.section--dark .kicker { color: #9edff3; }
.section--dark .h2 { color: #fff; }
.section--dark .lead { color: rgba(255, 255, 255, .82); }
.flow { position: relative; z-index: 1; display: grid; gap: 40px; margin-top: 8px; }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  /* 段のあいだに「>」を置き、左から右へ進む順番を示す（点検の基準・導入の流れと同じ印） */
  .flow__step:not(:last-child)::after { content: ""; position: absolute; top: 56px; right: -18px; width: 14px; height: 14px; border-top: 3px solid #9edff3; border-right: 3px solid #9edff3; transform: translateY(-50%) rotate(45deg); }
}
.flow__step { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; gap: 10px; }
.flow__icon { position: relative; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .1), 0 20px 40px -16px rgba(0, 0, 0, .45); }
.flow__icon svg { width: 48px; height: 48px; fill: none; stroke: var(--c-primary); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow__step h3 { margin-top: 14px; font-size: 26px; font-weight: 900; letter-spacing: .04em; }
.flow__step p { font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, .8); }
/* ---- 点検の基準（数字を大きく） ---- */
.ladder { display: grid; gap: 16px; }
.ladder > * { min-width: 0; }
@media (min-width: 1080px) { .ladder { grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 20px; } }
.ladder__label { font-size: 14px; font-weight: 800; color: var(--c-primary); }
.ladder__src { background: var(--c-bg-muted); border-radius: 24px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.ladder__src ul { display: grid; gap: 10px; }
.ladder__src li { font-weight: 700; padding-left: 16px; border-left: 3px solid var(--c-accent); line-height: 1.5; }
.ladder__src small { display: block; font-weight: 500; font-size: 13px; color: var(--c-ink-2); }
.ladder__step { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: 24px; padding: 28px; display: grid; gap: 6px; align-content: start; }
.ladder__step b { font-family: var(--font-num); font-size: 72px; font-weight: 600; line-height: 1; background: linear-gradient(180deg, var(--c-accent), var(--c-primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ladder__step span { font-size: 17px; font-weight: 900; }
.ladder__step small { margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--c-line); font-size: 13px; color: var(--c-ink-2); line-height: 1.6; }
@media (min-width: 1080px) {
  .ladder > *:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -15px; width: 10px; height: 10px; border-top: 2px solid var(--c-primary); border-right: 2px solid var(--c-primary); transform: translateY(-50%) rotate(45deg); }
  .ladder__src { position: relative; }
}
.ladder__note { margin-top: 20px; font-size: 13px; color: var(--c-ink-2); }

/* ---- Proofline 自身のセキュリティ（左に見出し、右に 2×2） ---- */
.trust { display: grid; gap: 40px; }
@media (min-width: 1080px) { .trust { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 64px; align-items: start; } .trust__head { margin-bottom: 0; position: sticky; top: 120px; } }
.trust__grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.trust__item { background: #fff; border-radius: 24px; padding: 32px 28px; display: grid; gap: 12px; align-content: start; }
.trust__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--c-tint); display: grid; place-items: center; }
.trust__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--c-primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust__item h3 { font-size: 20px; font-weight: 900; }
.trust__item p { font-size: 15px; color: var(--c-ink-2); }

/* ---- 別の選択肢との比較（Proofline の列を主色で囲む） ---- */
.compare-wrap { overflow-x: auto; padding: 12px 4px 4px; }
.compare { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare th, .compare td { padding: 18px 16px; text-align: center; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.compare thead th { font-size: 15px; font-weight: 800; color: var(--c-ink-2); }
.compare tbody th { text-align: left; font-weight: 800; white-space: nowrap; }
.compare td { color: var(--c-ink-2); font-size: 14px; }
.compare .m { display: block; font-style: normal; font-size: 22px; font-weight: 900; line-height: 1.2; }
.m--ok { color: var(--c-primary); } .m--mid { color: var(--c-warn); } .m--no { color: #b4bbbd; }
.compare .is-us { background: var(--c-tint-2); color: var(--c-ink); font-weight: 700; border-left: 2px solid var(--c-primary); border-right: 2px solid var(--c-primary); }
.compare thead .is-us { background: var(--c-primary); color: #fff; font-size: 17px; border-radius: 16px 16px 0 0; border-top: 2px solid var(--c-primary); }
.compare tbody tr:last-child .is-us { border-bottom: 2px solid var(--c-primary); border-radius: 0 0 16px 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- 料金 ---- */
.plans { display: grid; gap: 20px; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: #fff; border-radius: 24px; padding: 36px 32px; display: grid; gap: 14px; align-content: start; border-top: 6px solid var(--c-tint); }
.plan:nth-child(2) { border-top-color: #9fcfde; }
.plan:nth-child(3) { border-top-color: var(--c-primary); }
.plan__name { font-size: 26px; font-weight: 900; }
.plan__for { font-size: 14px; color: var(--c-ink-2); }
.plan__plus { font-size: 13px; font-weight: 800; color: var(--c-primary); }
.plan ul { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--c-line); font-size: 15px; }
.plan li { position: relative; padding-left: 26px; }
.plan li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--c-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5L17.5 8.5' fill='none' stroke='%23007567' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ---- 導入の流れ ---- */
.steps { display: grid; gap: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step { position: relative; background: var(--c-bg-muted); border-radius: 24px; padding: 32px 28px; display: grid; gap: 10px; align-content: start; }
.step__num { font-family: var(--font-num); font-size: 15px; font-weight: 600; letter-spacing: .12em; color: var(--c-primary); }
.step h3 { font-size: 20px; font-weight: 900; }
.step p { font-size: 15px; color: var(--c-ink-2); }
@media (min-width: 900px) { .step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -17px; width: 10px; height: 10px; border-top: 2px solid var(--c-primary); border-right: 2px solid var(--c-primary); transform: translateY(-50%) rotate(45deg); } }

/* ---- よくある質問（CLIUS のアコーディオン） ---- */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 22px 60px 22px 68px; font-size: 17px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--c-primary); color: #fff; font-family: var(--font-num); font-weight: 600; display: grid; place-items: center; }
.faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--c-primary); border-bottom: 2px solid var(--c-primary); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 28px 24px 68px; color: var(--c-ink-2); font-size: 15px; }

/* ---- 最後の CTA ---- */
.final { background: linear-gradient(135deg, #002e3c, var(--c-primary) 60%, #0b799a); color: #fff; overflow: hidden; }
.final__shapes { position: absolute; inset: 0; background:
  linear-gradient(115deg, transparent 60%, rgba(19, 154, 195, .35) 60%, rgba(19, 154, 195, .35) 72%, transparent 72%),
  linear-gradient(115deg, transparent 78%, rgba(255, 255, 255, .08) 78%); pointer-events: none; }
.final .h2 { color: #fff; }
.final .lead { color: rgba(255, 255, 255, .85); }
.final .container { position: relative; }
.final__cards { display: grid; gap: 20px; max-width: 960px; margin-inline: auto; }
@media (min-width: 768px) { .final__cards { grid-template-columns: repeat(2, 1fr); } }
.final__card { background: #fff; color: var(--c-ink); border-radius: 24px; padding: 36px 32px; display: grid; gap: 14px; justify-items: start; }
.final__card h3 { font-size: 22px; font-weight: 900; }
.final__card p { color: var(--c-ink-2); font-size: 15px; }

/* ---- フッター ---- */
.footer { background: #0b1518; color: #b9c3c6; padding-block: 56px; font-size: 14px; }
.footer__inner { display: grid; gap: 28px; }
@media (min-width: 960px) { .footer__inner { grid-template-columns: auto 1fr; align-items: start; } .footer__note { grid-column: 1 / -1; } }
.footer .logo { color: #fff; }
.footer__by { margin-top: 8px; font-size: 13px; color: #8a979b; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: flex-end; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: #fff; }
.footer__note { display: block; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: #7f8d91; line-height: 1.8; }
@media (max-width: 959px) { .footer__links { justify-content: flex-start; } }
/* 比較の表: 観点の列は横に送っても残す（スマホ） */
.compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; }
/* 仕組み（スマホ）: 縦に長くならないよう 2×2 にし、アイコンを小さく */
@media (max-width: 899px) {
  .flow { grid-template-columns: repeat(2, 1fr); gap: 36px 12px; }
  .flow__icon { width: 84px; height: 84px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .1); }
  .flow__icon svg { width: 36px; height: 36px; }
  .flow__step h3 { margin-top: 8px; font-size: 20px; }
  .flow__step p { font-size: 13px; }
}

/* 仕組み: アイコンの右上に順番の番号 */
.flow__icon::after { content: attr(data-n); position: absolute; top: -2px; right: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--c-accent); color: #002733; font-family: var(--font-num); font-size: 16px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--c-primary-700); }
@media (max-width: 899px) { .flow__icon::after { width: 26px; height: 26px; font-size: 13px; } }

/* 導入の流れ: 仕組みと同じ形を、白い面で（アイコンの丸はティールの塗り、文字は黒） */
.flow--light .flow__icon--fill { background: linear-gradient(145deg, var(--c-accent), var(--c-primary)); box-shadow: 0 0 0 10px var(--c-tint), 0 20px 40px -18px rgba(0, 61, 80, .5); }
.flow--light .flow__icon--fill svg { stroke: #fff; }
.flow--light .flow__icon::after { background: var(--c-primary-700); color: #fff; box-shadow: 0 0 0 3px #fff; }
.flow--light .flow__step h3 { color: var(--c-ink); }
.flow--light .flow__step p { color: var(--c-ink-2); }
@media (min-width: 900px) { .flow--light .flow__step:not(:last-child)::after { border-color: var(--c-primary); } }

/* ---- フォームのページ（お問い合わせ・資料ダウンロード・送信のあと）: 最初の画面と同じ斜めの図形と見出し ---- */
.formpage { background: var(--c-bg-muted); }
.formpage .header .capsule { margin-left: auto; }
.formhero { position: relative; overflow: hidden; padding-top: 128px; padding-bottom: 96px; background: linear-gradient(180deg, #fff 0%, var(--c-bg-muted) 100%); }
.formhero .hero__shapes { width: min(46vw, 640px); height: 520px; background:
  linear-gradient(115deg, transparent 45%, rgba(127, 198, 220, .55) 45%, rgba(127, 198, 220, .55) 62%, transparent 62%),
  linear-gradient(115deg, transparent 62%, var(--c-accent) 62%, var(--c-primary) 100%); opacity: .9; }
@media (max-width: 899px) { .formhero .hero__shapes { width: 60%; height: 220px; opacity: .35; } }
.form-wrap { position: relative; display: grid; gap: 40px; }
.form-wrap > * { min-width: 0; }
@media (min-width: 1000px) { .form-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 72px; align-items: start; } }
.form-intro { display: grid; gap: 18px; align-content: start; }
.form-intro .checks { margin-top: 8px; }
.form-note { font-size: 14px; color: var(--c-ink-2); }
.form-note a { color: var(--c-primary); font-weight: 700; }
.form-card { background: #fff; border-radius: 28px; padding: 40px 36px; box-shadow: 0 40px 80px -48px rgba(0, 38, 50, .45); }
@media (max-width: 640px) { .form-card { padding: 28px 20px; border-radius: 24px; } }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.field .req, .field .opt { font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 9999px; }
.field .req { color: #fff; background: var(--c-primary); }
.field .opt { color: var(--c-ink-2); background: var(--c-bg-muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 14px 16px; border: 1.5px solid #d3dadc; border-radius: 12px; background: #fbfcfc; color: var(--c-ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.field input::placeholder, .field textarea::placeholder { color: #a7afb1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(19, 154, 195, .2); }
.agree { font-size: 13px; color: var(--c-ink-2); }
.agree a { color: var(--c-primary); }
.form .btn { width: 100%; min-width: 0; border: 0; cursor: pointer; font: inherit; font-size: 18px; font-weight: 800; }
.hp { position: absolute; left: -9999px; }
/* 資料の表紙（見本） */
.doc { position: relative; margin-top: 16px; max-width: 420px; aspect-ratio: 4 / 3; }
.doc__page { position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(145deg, #fff 0%, #fff 55%, var(--c-tint) 100%); box-shadow: 0 30px 60px -30px rgba(0, 38, 50, .45); padding: 28px; display: grid; align-content: space-between; gap: 10px; overflow: hidden; border: 1px solid var(--c-line); }
.doc__page::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 260px; background: linear-gradient(160deg, var(--c-accent), var(--c-primary)); transform: rotate(25deg); opacity: .9; }
.doc__page--back { transform: translate(18px, 14px) rotate(3deg); background: #e9eeef; box-shadow: none; }
.doc__page--back::after { display: none; }
.doc__brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-num); font-weight: 600; font-size: 16px; position: relative; z-index: 1; }
.doc__brand img { width: 22px; height: 22px; }
.doc__label { font-size: 12px; font-weight: 800; color: var(--c-primary); position: relative; z-index: 1; }
.doc__title { font-size: 22px; font-weight: 900; line-height: 1.45; position: relative; z-index: 1; }
.doc__lines { display: grid; gap: 6px; position: relative; z-index: 1; }
.doc__lines i { display: block; height: 6px; border-radius: 3px; background: #dbe3e5; width: 70%; }
.doc__lines i:nth-child(2) { width: 55%; } .doc__lines i:nth-child(3) { width: 40%; }
/* 送信のあと */
.done { position: relative; max-width: 720px; margin: 24px auto 0; background: #fff; border-radius: 28px; padding: 56px 32px; text-align: center; display: grid; gap: 18px; justify-items: center; box-shadow: 0 40px 80px -48px rgba(0, 38, 50, .45); }
.done__icon { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--c-accent), var(--c-primary)); box-shadow: 0 0 0 10px var(--c-tint); }
.done__icon svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.done__cta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
/* フォームのページ: スマホでも「トップに戻る」を出す。資料の表紙はスマホでは出さず、フォームを先に見せる。短いページでも下が空かないように */
.formpage .capsule__cta .btn--outline { display: inline-flex; }
@media (max-width: 999px) { .doc { display: none; } }
.formhero { min-height: calc(100vh - 220px); }

/* お問い合わせ: 左に「あとの流れ」と資料のカード。PC では左をスクロールについてこさせる */
@media (min-width: 1000px) { .form-intro { position: sticky; top: 108px; } }
.next { margin-top: 12px; background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 30px 60px -48px rgba(0, 38, 50, .4); }
.next__title { font-size: 15px; font-weight: 900; margin-bottom: 18px; }
.next__steps { display: grid; gap: 0; }
.next__steps li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-bottom: 20px; }
.next__steps li:last-child { padding-bottom: 0; }
.next__steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 2px; width: 2px; background: var(--c-tint); }
.next__steps b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--c-accent), var(--c-primary)); color: #fff; font-family: var(--font-num); font-size: 16px; font-weight: 600; }
.next__steps strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.5; margin-top: 4px; }
.next__steps span { display: block; font-size: 14px; color: var(--c-ink-2); line-height: 1.7; }
.minidoc { display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 20px; background: var(--c-tint); text-decoration: none; transition: background .2s; }
.minidoc:hover { background: #d7e9ef; }
.minidoc__cover { position: relative; flex: none; width: 64px; height: 48px; border-radius: 8px; background: #fff; overflow: hidden; display: grid; place-items: start; padding: 6px; box-shadow: 0 8px 18px -10px rgba(0, 38, 50, .5); }
.minidoc__cover::after { content: ""; position: absolute; right: -14px; top: -10px; width: 36px; height: 70px; background: linear-gradient(160deg, var(--c-accent), var(--c-primary)); transform: rotate(25deg); }
.minidoc__cover img { width: 14px; height: 14px; }
.minidoc__text { display: grid; }
.minidoc__text small { font-size: 12px; color: var(--c-ink-2); font-weight: 700; }
.minidoc__text strong { font-size: 15px; font-weight: 800; color: var(--c-primary); }
.minidoc::after { content: ""; margin-left: auto; width: 18px; height: 18px; background: var(--c-primary); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10h13M11 4.5 16.5 10 11 15.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10h13M11 4.5 16.5 10 11 15.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---- 法務文書のページ（scripts/build.mjs が content/legal/*.md から作る） ---- */
.legal { padding-top: 128px; padding-bottom: 96px; background: var(--c-bg-muted); }
.legal__inner { max-width: 880px; }
.legal__date { margin-top: 12px; font-size: 14px; color: var(--c-ink-2); }
.legal__body { margin-top: 40px; background: #fff; border-radius: 28px; padding: 48px 44px; font-size: 15px; line-height: 1.9; box-shadow: 0 40px 80px -60px rgba(0, 38, 50, .45); }
@media (max-width: 640px) { .legal__body { padding: 28px 20px; border-radius: 20px; } }
.legal__body h2 { margin: 40px 0 14px; padding-top: 24px; border-top: 1px solid var(--c-line); font-size: 20px; font-weight: 900; }
.legal__body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__body h3 { margin: 28px 0 10px; font-size: 17px; font-weight: 800; }
.legal__body p, .legal__body ul, .legal__body ol, .legal__body table { margin: 0 0 14px; }
.legal__body ul, .legal__body ol { padding-left: 1.5em; }
.legal__body ul { list-style: disc; } .legal__body ol { list-style: decimal; }
.legal__body li { margin: 4px 0; }
.legal__body a { color: var(--c-primary); }
.legal__body table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.legal__body th, .legal__body td { border: 1px solid var(--c-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal__body th { background: var(--c-bg-muted); font-weight: 800; white-space: nowrap; }
.legal__body hr { border: 0; border-top: 1px solid var(--c-line); margin: 28px 0; }
.legal__body code { font-size: .92em; background: var(--c-bg-muted); padding: 1px 6px; border-radius: 4px; }

/* ---- Cookie 同意バナー（assets/consent.js）: 画面の下に固定。スマホの固定 CTA より上に重ねる ---- */
.consent { position: fixed; inset-inline: 0; bottom: 0; z-index: 200; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--c-bg); border-top: 1px solid var(--c-line); box-shadow: 0 -12px 32px -20px rgba(0, 46, 60, .35); }
.consent__inner { display: flex; flex-direction: column; gap: 16px; padding-block: 20px; }
.consent__title { margin: 0 0 4px; font-weight: 700; color: var(--c-ink); }
.consent__text { margin: 0; font-size: 14px; line-height: 1.8; color: var(--c-ink-2); }
.consent__text a { color: var(--c-primary); }
.consent__actions { display: flex; gap: 12px; flex: none; }
.consent .btn { justify-content: center; padding: 0 24px; }
.consent .btn::after { display: none; }
@media (max-width: 480px) { .consent__actions .btn { flex: 1; } }
@media (min-width: 768px) { .consent__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; } }
