/* security.eggai.co.jp — 国内のセキュリティ会社・研修会社のサイト（GMO・KnowBe4・GLOBIS など）の作りに合わせた、白地＋EggAI の青の企業サイト */

:root {
  --brand: #2b5faa;
  --brand-dark: #1d4583;
  --brand-50: #eef3fa;
  --brand-100: #dbe6f5;
  --ink: #1a1f29;
  --ink-2: #3a4252;
  --sub: #5b6575;
  --line: #e3e7ee;
  --bg: #f5f7fa;
  --white: #ffffff;
  --red: #d64541;
  --c-exec: #e08a12;   /* 経営層向け（動画・案内PDFと同じ色分け） */
  --c-site: #c99a00;   /* 現場向け */
  --c-it: #3b6fb6;     /* IT担当者向け */
  --c-all: #23998b;    /* 社員全員向け */
  --radius: 10px;
  --shadow: 0 2px 10px rgba(26, 31, 41, 0.06);
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.8 var(--font); letter-spacing: 0.02em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.45; font-weight: 700; letter-spacing: 0.03em; word-break: auto-phrase; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); margin-inline: auto; }
.nw { display: inline-block; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.blue { color: var(--brand); }

/* ---------------------------------------------------------------- ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 6px; border: 2px solid transparent; font: 700 15px/1.3 var(--font); letter-spacing: 0.04em; text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s; word-break: auto-phrase; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-50); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: var(--brand-50); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-l { padding: 18px 34px; font-size: 16px; }
.btn-s { padding: 9px 16px; font-size: 13px; border-width: 1.5px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------------------------------------------------------------- ヘッダー */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; margin-right: auto; line-height: 1.15; }
.logo b { font-size: 21px; font-weight: 900; letter-spacing: 0.01em; color: var(--ink); }
.logo b span { color: var(--brand); }
.logo small { font-size: 11px; color: var(--sub); letter-spacing: 0.08em; }
.gnav { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
.gnav a { text-decoration: none; padding: 6px 0; }
.gnav a:hover { color: var(--brand); }
.header-cta { display: flex; gap: 8px; }

/* パンくず */
.crumbs { padding: 14px 0; font-size: 12.5px; color: var(--sub); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 8px; color: #aab2bf; }

/* ---------------------------------------------------------------- 最初の画面 */
.hero { background: linear-gradient(180deg, var(--brand-50), #fff); padding: 28px 0 64px; }
.hero-in { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 4px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; }
.hero h1 { margin-top: 18px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.4; }
.hero .lead { margin-top: 18px; font-size: 16.5px; color: var(--ink-2); }
.checks { margin-top: 20px; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 30px; font-size: 15.5px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .note { margin-top: 14px; font-size: 13px; color: var(--sub); }
.hero .note b { color: var(--red); }
.hero .note span { display: block; }

/* 動画の見本（プレーヤーと残りの4本） */
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 12px 32px rgba(26, 31, 41, 0.16); aspect-ratio: 16 / 9; }
.player img, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(26, 31, 41, 0.08); cursor: pointer; }
.play span { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(43, 95, 170, 0.95); box-shadow: 0 6px 18px rgba(26, 31, 41, 0.3); transition: transform 0.15s; }
.play:hover span { transform: scale(1.06); }
.play svg { width: 30px; height: 30px; margin-left: 4px; fill: #fff; }
.player-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 13px; color: var(--sub); }
.player-cap b { color: var(--ink); }
.set { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.set figure { margin: 0; }
.set img { border-radius: 6px; border: 1px solid var(--line); }
.set figcaption { margin-top: 4px; font-size: 11px; color: var(--sub); line-height: 1.4; }

/* 数字の帯（製品の事実） */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 20px 12px 18px; text-align: center; }
.facts li + li { border-left: 1px solid var(--line); }
.facts .k { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.facts b { display: block; margin: 2px 0; font-size: 30px; font-weight: 700; color: var(--brand); line-height: 1.3; }
.facts b small { font-size: 16px; margin-left: 2px; }
.facts .n { display: block; font-size: 12.5px; color: var(--sub); line-height: 1.5; word-break: auto-phrase; }

/* ---------------------------------------------------------------- セクション */
.sec { padding: 88px 0; }
.sec-gray { background: var(--bg); }
.sec-title { text-align: center; margin-bottom: 44px; }
.sec-title h2 { font-size: clamp(24px, 2.6vw, 32px); }
.sec-title h2::after { content: ""; display: block; width: 40px; height: 3px; margin: 16px auto 0; background: var(--brand); }
.sec-title p { margin-top: 14px; color: var(--sub); font-size: 15px; }

/* お悩み */
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.worries li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.worries svg { width: 28px; height: 28px; flex: none; color: var(--brand); }
.answer { margin-top: 34px; text-align: center; font-size: 19px; font-weight: 700; }
.answer span { color: var(--brand); }

/* 5本のカード（研修会社の講座一覧の形） */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.course .thumb { position: relative; }
.course .thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dur { position: absolute; right: 8px; bottom: 8px; background: rgba(26, 31, 41, 0.85); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.course .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.aud { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 4px; color: #fff; }
.aud.exec { background: var(--c-exec); } .aud.site { background: var(--c-site); } .aud.it { background: var(--c-it); } .aud.all { background: var(--c-all); }
.course h3 { font-size: 17px; line-height: 1.55; }
.course .case { font-size: 13.5px; color: var(--sub); line-height: 1.7; }
.course ul { margin-top: 4px; display: grid; gap: 3px; }
.course li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.6; }
.course li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.course.more { justify-content: center; align-items: flex-start; padding: 28px; background: var(--brand-50); border-color: var(--brand-100); box-shadow: none; gap: 12px; }
.course.more h3 { font-size: 19px; }
.course.more p { font-size: 14px; color: var(--ink-2); }

/* 動画の中の場面 */
.scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.scenes figure { margin: 0; }
.scenes img { border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.scenes figcaption { margin-top: 8px; font-size: 13px; color: var(--sub); line-height: 1.6; }
.scenes figcaption b { display: block; color: var(--ink); font-size: 14px; }

/* 進め方・流れ（番号つき） */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; }
.steps li::before { counter-increment: s; content: "STEP " counter(s); display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: 0.08em; }
.steps h3 { margin-top: 6px; font-size: 18px; }
.steps p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.steps4 { grid-template-columns: repeat(4, 1fr); }

/* 料金 */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--brand); border-radius: 12px; overflow: hidden; background: #fff; }
.price-main { padding: 36px 40px; background: var(--brand-50); }
.price-main .label { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; background: var(--red); padding: 4px 10px; border-radius: 4px; }
.price-main h3 { margin-top: 14px; font-size: 18px; }
.price-main .yen, .pcard .yen { margin-top: 10px; font-size: 48px; font-weight: 700; color: var(--brand); line-height: 1.2; }
.price-main .yen small, .pcard .yen small { font-size: 18px; margin-left: 4px; color: var(--ink); }
.price-main p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.price-main .regular { color: var(--sub); }
.deliver { margin-top: 12px !important; padding-top: 12px; border-top: 1px solid var(--brand-100); font-weight: 500; color: var(--ink) !important; }
.deliver b { color: var(--brand); font-size: 1.15em; }
.price-incl { padding: 36px 40px; }
.price-incl h4 { font-size: 15px; }
.price-incl ul { margin-top: 10px; display: grid; gap: 8px; }
.price-incl li { position: relative; padding-left: 26px; font-size: 15px; }
.price-incl li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); }
.price-incl li::after { content: ""; position: absolute; left: 5px; top: 10px; width: 6px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.price-incl .ng { margin-top: 18px; font-size: 13px; color: var(--sub); }

/* セキュリティチェックのご案内（横長のカード） */
.xsell { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 36px 40px; box-shadow: var(--shadow); }
.xsell .chip { background: var(--ink); }
.xsell h3 { margin-top: 12px; font-size: 22px; }
.xsell p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.xsell .btn { margin-top: 18px; }
.report { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 28px rgba(26, 31, 41, 0.1); overflow: hidden; font-size: 13.5px; }
.report-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--ink); color: #fff; font-size: 13px; }
.report-h b { font-size: 15px; }
.report table { font-size: 13px; }
.report th, .report td { padding: 10px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.report th { width: 7.5em; color: var(--sub); font-weight: 500; white-space: nowrap; }
.lv { display: inline-block; min-width: 3.4em; text-align: center; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 3px; color: #fff; margin-right: 8px; }
.lv-h { background: var(--red); } .lv-m { background: var(--c-exec); } .lv-l { background: #8a94a6; }
.report .note { padding: 10px 18px 12px; font-size: 12px; color: var(--sub); }

/* よくあるご質問 */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.faq details + details { margin-top: 12px; }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: center; padding: 20px 24px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 400; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 24px 22px 68px; color: var(--ink-2); font-size: 15px; }

/* ---------------------------------------------------------------- 資料請求 */
.request { padding: 88px 0; background: var(--brand); color: #fff; }
.req-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.req-copy h2 { font-size: clamp(26px, 2.8vw, 34px); color: #fff; }
.req-copy > p { margin-top: 14px; color: rgba(255, 255, 255, 0.88); }
.docs { margin-top: 28px; display: grid; gap: 14px; }
.docs li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; background: rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 12px; }
.docs img { border-radius: 4px; background: #fff; }
.docs b { display: block; font-size: 15px; }
.docs span { font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.form { background: #fff; color: var(--ink); border-radius: 12px; padding: 32px; display: grid; gap: 16px; box-shadow: 0 20px 44px rgba(10, 20, 40, 0.25); }
.form label { display: block; font-size: 14px; font-weight: 700; }
.form label > input, .form label > textarea { display: block; margin-top: 6px; }
.req { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 3px; background: var(--red); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; vertical-align: 1px; }
.opt { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 3px; background: var(--bg); color: var(--sub); font-size: 11px; font-weight: 500; vertical-align: 1px; }
.form input:not([type="checkbox"]), .form textarea { width: 100%; padding: 12px 14px; border: 1px solid #ccd3de; border-radius: 6px; background: #fff; font: 400 16px/1.5 var(--font); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.form .invalid { border-color: var(--red) !important; box-shadow: 0 0 0 3px #f8dcda !important; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.form legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; cursor: pointer; }
.form .check input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.form .consent a { color: var(--brand); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 1.5em; font-size: 14px; color: var(--sub); }
.form-msg.error { color: var(--red); font-weight: 700; }
.form-note { font-size: 12px; color: var(--sub); line-height: 1.7; }

/* ---------------------------------------------------------------- フッター */
.site-footer { background: #142033; color: rgba(255, 255, 255, 0.78); padding: 56px 0 32px; font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .logo b { color: #fff; }
.site-footer .logo b span { color: #8fb3e8; }
.site-footer .logo small { color: rgba(255, 255, 255, 0.6); }
.foot-grid p { margin-top: 12px; line-height: 1.8; }
.foot-grid h4 { font-size: 13px; color: #fff; margin-bottom: 10px; }
.foot-grid li + li { margin-top: 6px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12px; color: rgba(255, 255, 255, 0.5); }

/* 下に出る資料請求ボタン */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 10px 26px rgba(26, 31, 41, 0.25); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.float-cta svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- トップページの部品 */
.report-l { font-size: 14px; }
.report-l th { width: 8.5em; }
.set-top { grid-template-columns: repeat(4, 1fr); }
.set-top figcaption { font-weight: 700; color: var(--ink-2); }
.player-cap a { color: var(--brand); font-weight: 700; text-decoration: none; }
.chip-line { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stats > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stats .k { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.stats b { margin-top: 6px; font-size: 44px; font-weight: 700; color: var(--brand); line-height: 1.2; }
.stats b small { font-size: 18px; margin-left: 2px; }
.stats p { margin-top: 6px; font-size: 14.5px; }
.src { display: block; margin-top: auto; padding-top: 14px; font-size: 11.5px; color: var(--sub); line-height: 1.6; }
.chart { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px 20px; }
.chart h3 { font-size: 16px; }
.bars { margin-top: 14px; display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 12em 1fr; align-items: center; gap: 14px; font-size: 14px; }
.bar > span { color: var(--sub); }
.bar i { display: block; height: 28px; background: var(--bg); border-radius: 4px; position: relative; font-style: normal; }
.bar i::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; border-radius: 4px; background: #9fb4d6; }
.bar.now i::before { background: var(--red); }
.bar i b { position: absolute; top: 50%; transform: translateY(-50%); font-size: 16px; font-weight: 700; white-space: nowrap; }
.bar.now i b { color: var(--red); }
.w6::before { width: 36%; } .w6 b { left: calc(36% + 10px); }
.w10::before { width: 60%; } .w10 b { left: calc(60% + 10px); }

.svc2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc3 .svc { padding: 28px 26px; }
.svc3 .svc h3 { font-size: 19px; }
.svc .links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.svc .links .more { margin-top: 0; text-decoration: none; }
.free-check { margin-top: 22px; border: 2px solid var(--brand); background: var(--brand-50); border-radius: var(--radius); padding: 22px 22px 24px; }
.free-check h4 { margin-top: 10px; font-size: 17px; }
.free-check p { margin: 6px 0 16px; font-size: 14px; color: var(--ink-2); }
.remain { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--red); }
.svc { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px 34px; box-shadow: var(--shadow); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.svc:hover { border-color: var(--brand); box-shadow: 0 6px 22px rgba(43, 95, 170, 0.14); }
.svc .chip { align-self: flex-start; }
.svc h3 { font-size: 22px; }
.svc p { font-size: 15px; color: var(--ink-2); }
.svc .more { margin-top: auto; padding-top: 6px; color: var(--brand); font-weight: 700; font-size: 15px; }

.check-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.plans2 { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plans2 > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; }
.plans2 h4 { margin-top: 10px; font-size: 16.5px; }
.plans2 p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.mini-h { font-size: 17px; margin-bottom: 12px; }
.flow { counter-reset: f; display: grid; gap: 0; border-left: 2px solid var(--brand-100); margin-left: 15px; }
.flow li { position: relative; padding: 0 0 22px 30px; }
.flow li::before { counter-increment: f; content: counter(f); position: absolute; left: -16px; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.flow b { font-size: 16px; }
.flow p { margin-top: 4px; font-size: 14px; color: var(--ink-2); }

.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: border-color 0.15s, box-shadow 0.15s; }
.ind:hover { border-color: var(--brand); box-shadow: 0 6px 22px rgba(43, 95, 170, 0.14); }
.ind img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.ind .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ind h3 { font-size: 17px; }
.ind p { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.ind .meta { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--sub); }
.ind-more { justify-content: center; align-items: flex-start; gap: 10px; padding: 22px; background: var(--brand-50); border-color: var(--brand-100); box-shadow: none; }
.ind-more h3 { font-size: 16px; }
.ind-more p { font-size: 13.5px; color: var(--ink-2); }

.price2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px 34px; box-shadow: var(--shadow); }
.pcard-hl { border: 2px solid var(--brand); background: var(--brand-50); }
.pcard .label { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; background: var(--red); padding: 4px 10px; border-radius: 4px; margin-bottom: 10px; }
.pcard h3 { font-size: 18px; }
.pcard p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.pcard .yen { margin-top: 10px; }
.pcard .yen2 { margin-top: 10px; font-size: 32px; font-weight: 700; color: var(--brand); line-height: 1.3; }

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reasons li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.reasons .no { display: block; font-size: 30px; font-weight: 900; color: var(--brand-100); line-height: 1; }
.reasons h3 { margin-top: 10px; font-size: 18px; }
.reasons p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

/* ---------------------------------------------------------------- 下層ページ（資料のダウンロード・個人情報） */
.page-head { background: var(--brand-50); padding: 48px 0 44px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(26px, 3vw, 36px); }
.page-head p { margin-top: 12px; color: var(--ink-2); max-width: 760px; }
.page-head .back { margin-top: 24px; }
.dl { display: grid; gap: 14px; }
.dl > li { display: grid; grid-template-columns: 84px 1fr auto; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow); }
.dl > li.hl { border: 2px solid var(--brand); background: var(--brand-50); }
.dl img { border-radius: 4px; border: 1px solid var(--line); background: #fff; }
.dl h3 { font-size: 17px; }
.dl p { margin-top: 2px; font-size: 13.5px; color: var(--sub); }
.mark { display: inline-block; margin-left: 10px; padding: 3px 8px; border-radius: 4px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 2px; }
.cta-box { margin-top: 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 12px; padding: 26px 30px; }
.cta-box h3 { font-size: 18px; }
.cta-box p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.back { margin-top: 28px; font-size: 14px; }
.back a:not(.btn) { color: var(--brand); }
.prose { padding: 48px 0 88px; }
.prose h2 { font-size: 18px; margin-top: 34px; padding-left: 12px; border-left: 4px solid var(--brand); }
.prose p, .prose li { margin-top: 10px; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose a { color: var(--brand); }
.prose .meta { margin-top: 36px; color: var(--sub); font-size: 14px; }

/* ---------------------------------------------------------------- 狭い画面 */
@media (max-width: 1024px) {
  .gnav { display: none; }
}
@media (max-width: 960px) {
  .hero-in, .req-grid, .xsell, .price { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .courses { grid-template-columns: 1fr 1fr; }
  .scenes { grid-template-columns: 1fr 1fr; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .header-in { height: 60px; gap: 12px; }
  .header-cta .btn-outline { display: none; }
  .logo b { font-size: 18px; }
  .logo small { display: none; }
  .hero { padding: 16px 0 44px; }
  .hero .cta .btn { width: 100%; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .sec { padding: 60px 0; }
  .worries, .courses, .scenes, .steps, .steps4, .foot-grid, .row2 { grid-template-columns: 1fr; }
  .set { grid-template-columns: 1fr 1fr; }
  .price-main, .price-incl, .xsell { padding: 26px 22px; }
  .form { padding: 24px 18px; }
  .faq details p { padding-left: 24px; }
  .float-cta { left: 12px; right: 12px; bottom: 12px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .float-cta, .play span { transition: none; }
}

/* トップページ・下層ページの部品の、狭い画面 */
@media (max-width: 960px) {
  .svc2, .svc3, .check-in, .price2 { grid-template-columns: minmax(0, 1fr); }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .stats, .reasons { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .plans2 { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .set-top { grid-template-columns: 1fr 1fr; }
  .svc, .pcard { padding: 26px 22px; }
  .bar { grid-template-columns: 1fr; gap: 6px; }
  .dl > li { grid-template-columns: 64px minmax(0, 1fr); padding: 14px; }
  .dl h3 { overflow-wrap: anywhere; }  /* 320px 幅で見出しの文節が収まらず横にはみ出していた */
  .dl > li .btn { grid-column: 1 / -1; }
  .cta-box { grid-template-columns: 1fr; }
}
/* 320px 幅の端末：見出しの「まとめて改行する語」（.nw）が1行に収まらず横にはみ出すので、語の途中でも折り返す */
@media (max-width: 360px) {
  .nw { display: inline; }
  .hero h1 { font-size: 26px; }
}

/* 業界ページ：今日から守れる5つの約束（動画の台本から） */
.entry-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 20px; }
.entry-box p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.entry-box .src { margin-top: 10px; font-size: 12.5px; color: var(--sub); }
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; counter-reset: pr; list-style: none; margin: 0; padding: 0; }
.promises li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 62px; }
.promises li::before { counter-increment: pr; content: counter(pr); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.promises h3 { font-size: 16.5px; }
.promises p { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 640px) { .promises { grid-template-columns: minmax(0, 1fr); } .entry-box { padding: 18px; } }
