/* ============================================
   アイルコンサルティング株式会社 コーポレートサイト
   デザイン: 構成=案B（図解）× トーン=案A（白地・紺のみ・細線）／フォント=Noto Sans JP
   正本の設計: Box TOKOSHIMA\S10_営業\20_マーケティング\10_ホームページ作成\設計書\23_デザイン統合案_トップ_v2.html
   ============================================ */

:root {
  --navy: #171C61;
  --navy-dark: #0f1345;
  --navy-soft: #EEF0F7;
  --bg-light: #F6F8FC;
  --text: #1f2233;
  --muted: #5a5e73;
  --line: #DDE2EF;
  --font: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', 'Noto Sans JP', sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.85; -webkit-font-smoothing: antialiased; word-break: auto-phrase; }
img { max-width: 100%; display: block; }
p, li, dd, blockquote { text-wrap: pretty; }
/* 文節のまとまりで折り返す（指定した区切りでのみ改行。PC・スマホ共通） */
.ib { display: inline-block; }
.sp-only { display: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
section { padding: 96px 0; }
.light { background: var(--bg-light); }
.eyebrow { font-family: var(--font-en); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow.nocase { text-transform: none; letter-spacing: .06em; }
.sec-title { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.sec-lead { color: var(--muted); margin-top: 12px; max-width: 760px; }
.more { display: inline-block; margin-top: 32px; color: var(--navy); font-weight: 700; font-size: 14px; border: 1.5px solid var(--navy); border-radius: 3px; padding: 10px 24px; background: #fff; transition: .2s; }
.more:hover { background: var(--navy-soft); }
.note { font-size: 12px; color: var(--muted); margin-top: 16px; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 3px; font-size: 15px; font-weight: 700; transition: .2s; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-line { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-line:hover { background: var(--navy-soft); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--navy-soft); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- キーボード操作時のフォーカス表示 ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #3b62d6; outline-offset: 2px; }
.philo a:focus-visible, .cta a:focus-visible, .ftr a:focus-visible { outline-color: #fff; }
.cases dd.reach { color: var(--navy); font-weight: 700; }

/* ---------- ヘッダー ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.hdr .logo img { height: 26px; width: auto; }
.hdr nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.hdr nav a:not(.btn):hover, .hdr nav a[aria-current="page"] { color: var(--navy); }
.hdr nav a[aria-current="page"] { font-weight: 700; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--navy); margin: 6px 10px; transition: .2s; }

/* ---------- 下層ページの見出し ---------- */
.page-head { padding: 72px 0 56px; border-bottom: 1px solid var(--line); background: var(--bg-light); }
.page-head h1 { font-size: 34px; color: var(--navy); line-height: 1.5; margin-top: 6px; }
.page-head p { color: var(--muted); margin-top: 14px; max-width: 760px; }

/* ---------- トップ: ファーストビュー ---------- */
.hero { padding: 104px 0 96px; border-bottom: 1px solid var(--line); }
.hero .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 46px; line-height: 1.45; color: var(--navy); margin: 18px 0 20px; letter-spacing: .02em; }
.hero .mid { font-size: 20px; color: var(--navy); font-weight: 700; margin-bottom: 14px; }
.hero .sub { font-size: 16px; color: var(--muted); max-width: 560px; }
.hero .btns { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.stairs > div { border: 1px solid var(--navy); border-radius: 2px; padding: 12px 18px; margin-bottom: 18px; position: relative; background: #fff; }
.stairs > div:nth-child(2) { margin-left: 12%; }
.stairs > div:nth-child(3) { margin-left: 24%; }
.stairs > div:nth-child(4) { margin-left: 36%; margin-bottom: 0; background: var(--navy); color: #fff; }
.stairs > div:not(:first-child)::before { content: ""; position: absolute; left: -22px; top: -19px; width: 14px; height: 44px; border-left: 1px solid var(--navy); border-bottom: 1px solid var(--navy); }
.stairs small { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.stairs b { font-size: 17px; color: var(--navy); }
.stairs > div:nth-child(4) small { color: rgba(255,255,255,.7); }
.stairs > div:nth-child(4) b { color: #fff; }

/* ---------- トップ: Pick Up（特に知らせたいお知らせ） ---------- */
.pickup { padding: 40px 0; border-bottom: 1px solid var(--line); }
.pickup .box { border: 1.5px solid var(--navy); border-radius: 2px; padding: 24px 28px; display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: start; }
.pickup .label { font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: .14em; color: #fff; background: var(--navy); display: inline-block; padding: 2px 10px; }
.pickup .cat { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; }
.pickup h2 { font-size: 19px; color: var(--navy); line-height: 1.6; }
.pickup ul { margin-top: 10px; }
.pickup li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.pickup li:first-child { border-top: 0; }
.pickup time { font-family: var(--font-en); color: var(--muted); }
.pickup .apply { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.pickup .apply a { font-size: 13px; color: var(--navy); border: 1px solid var(--navy); border-radius: 2px; padding: 3px 12px; }
.pickup .apply a:hover { background: var(--navy-soft); }

/* ---------- お悩み ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.pgrid > div { border: 1px solid var(--line); border-radius: 2px; padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; font-size: 15px; background: #fff; }
.pgrid .ico { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; background: var(--navy-soft); display: grid; place-items: center; }
.pgrid .ico svg { width: 36px; height: 36px; }

/* ---------- 私たちの考え方 ---------- */
.philo { background: var(--navy); color: #fff; }
.philo .grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.philo .eyebrow { color: rgba(255,255,255,.6); }
.philo .sec-title { color: #fff; }
.philo p { font-size: 16px; line-height: 2.05; opacity: .9; margin-top: 16px; }
.philo p.statement { opacity: 1; font-size: 18px; font-weight: 700; border-left: 3px solid #fff; padding-left: 20px; margin-top: 28px; line-height: 1.8; }
.chain .steps { position: relative; padding-left: 30px; }
.chain .steps::before { content: ""; position: absolute; left: 9px; top: 36px; bottom: 30px; width: 1px; background: rgba(255,255,255,.7); }
.chain .steps > div { position: relative; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; padding: 12px 16px; margin-bottom: 12px; }
.chain .steps > div:last-child { margin-bottom: 0; background: #fff; border-color: #fff; }
.chain .steps > div::before { content: ""; position: absolute; left: -27px; top: 50%; transform: translateY(-50%); width: 11px; height: 11px; border-radius: 50%; background: var(--navy); border: 1px solid #fff; }
.chain .steps > div:last-child::before { background: #fff; }
.chain small { font-family: var(--font-en); font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.65); display: block; }
.chain b { font-size: 15px; }
.chain .steps > div:last-child small { color: var(--muted); }
.chain .steps > div:last-child b { color: var(--navy); }
.chain .six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.chain .six span { font-size: 12px; text-align: center; border: 1px solid rgba(255,255,255,.3); border-radius: 2px; padding: 2px 0; }
.chain .tryout { margin: 14px 0 0 30px; font-size: 13px; line-height: 1.8; opacity: .75; }

/* ---------- サービス（トップの流れ図） ---------- */
.svc-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; }
.svc-steps a { display: block; background: var(--bg-light); padding: 26px 22px 24px 32px; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%); margin-right: -6px; transition: .2s; }
.svc-steps a:first-child { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); padding-left: 24px; }
.svc-steps a:hover { background: var(--navy-soft); }
.svc-steps small, .ai-band small { font-family: var(--font-en); color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.svc-steps b { display: block; color: var(--navy); font-size: 16px; margin: 4px 0 6px; line-height: 1.5; }
.svc-steps p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.ai-band { margin-top: 12px; border: 1px solid var(--navy); border-radius: 2px; padding: 18px 24px; display: flex; gap: 24px; align-items: center; transition: .2s; }
.ai-band:hover { background: var(--navy-soft); }
.ai-band b { color: var(--navy); font-size: 16px; white-space: nowrap; }
.ai-band span { font-size: 14px; color: var(--muted); }

/* ---------- 選ばれる理由 ---------- */
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.rgrid > div { background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 28px 26px; }
.num { font-family: var(--font-en); font-weight: 600; color: var(--navy); border: 1.5px solid var(--navy); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; flex: 0 0 38px; }
.rgrid b { display: block; color: var(--navy); font-size: 17px; margin: 14px 0 6px; }
.rgrid p { font-size: 14px; color: var(--muted); }
.reason-list > li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.reason-list > li:first-child { border-top: 1px solid var(--line); }
.reason-list h2 { font-size: 21px; color: var(--navy); line-height: 1.5; }
.reason-list p { margin-top: 10px; color: var(--text); }
.six-ring { display: block; width: 100%; max-width: 340px; margin-top: 18px; }
/* 選ばれる理由: 強みの構造（3層 × 理由2つずつ） */
.structure { display: grid; gap: 10px; margin-top: 36px; }
.structure > div { display: grid; grid-template-columns: 190px 1fr auto; gap: 20px; align-items: center; padding: 18px 22px; border-radius: 2px; }
.structure small { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: .12em; }
.structure .name { font-weight: 700; }
.structure p { font-size: 15px; }
.structure .refs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.structure .refs a { font-size: 13px; padding: 3px 12px; border-radius: 2px; white-space: nowrap; }
.structure .s1 { background: var(--navy); color: #fff; }
.structure .s1 small { color: rgba(255,255,255,.7); }
.structure .s1 .refs a { border: 1px solid rgba(255,255,255,.7); }
.structure .s2 { background: var(--navy-soft); color: var(--navy); }
.structure .s3 { border: 1px solid var(--navy); color: var(--navy); background: #fff; }
.structure .s2 small, .structure .s3 small { color: var(--muted); }
.structure .s2 .refs a, .structure .s3 .refs a { border: 1px solid var(--navy); background: #fff; }
.structure .refs a:hover { opacity: .8; }
.reason-list > li { scroll-margin-top: 80px; }
.six-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; max-width: 520px; }
.six-grid span { border: 1px solid var(--navy); color: var(--navy); text-align: center; font-size: 14px; padding: 6px 0; border-radius: 2px; }

/* ---------- 強みの土台 ---------- */
.base .grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.pyramid div { margin: 0 auto 8px; padding: 15px 20px; text-align: center; border-radius: 2px; }
.pyramid small { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: .12em; }
.pyramid b { font-size: 15px; line-height: 1.75; }
.pyramid .l1 { width: 62%; background: var(--navy); color: #fff; }
.pyramid .l1 small { color: rgba(255,255,255,.7); }
.pyramid .l2 { width: 82%; background: var(--navy-soft); color: var(--navy); }
.pyramid .l3 { width: 100%; border: 1px solid var(--navy); color: var(--navy); }
.pyramid .l2 small, .pyramid .l3 small { color: var(--muted); }

/* ---------- 支援の流れ ---------- */
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.flow-steps.three { grid-template-columns: repeat(3, 1fr); gap: 32px; }
.flow-steps.three > div:not(:last-child)::after { width: calc(100% + 32px - 88px); }
.flow-steps > div { text-align: center; position: relative; }
.flow-steps > div:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: calc(50% + 44px); width: calc(100% + 20px - 88px); height: 1px; background: var(--navy); }
.flow-steps .circle { width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid var(--navy); display: grid; place-items: center; margin: 0 auto 14px; color: var(--navy); font-family: var(--font-en); font-weight: 600; background: #fff; }
.flow-steps > div:last-child .circle { background: var(--navy); color: #fff; }
.flow-steps b { color: var(--navy); display: block; font-size: 16px; }
.flow-steps small { display: block; color: var(--muted); font-size: 12px; }
.flow-steps p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.flow-note { margin-top: 36px; border: 1px solid var(--line); background: #fff; padding: 18px 22px; font-size: 14px; color: var(--muted); }

/* ---------- サービス詳細 ---------- */
.svc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.svc-nav a { border: 1px solid var(--navy); color: var(--navy); font-size: 13px; padding: 6px 14px; border-radius: 2px; }
.svc-nav a:hover { background: var(--navy-soft); }
.svc-detail { padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.svc-detail:first-of-type { padding-top: 0; }
.svc-detail .head { display: flex; align-items: baseline; gap: 16px; }
.svc-detail .head small { font-family: var(--font-en); color: var(--muted); letter-spacing: .1em; font-size: 13px; }
.svc-detail h2 { font-size: 24px; color: var(--navy); line-height: 1.5; }
.svc-detail dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.svc-detail dl > div { background: var(--bg-light); padding: 20px 22px; border-radius: 2px; }
.svc-detail dl > div.wide { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); }
.svc-detail dt { font-weight: 700; color: var(--navy); font-size: 14px; margin-bottom: 6px; }
.svc-detail dd { font-size: 15px; }
.svc-detail dd ul li { position: relative; padding-left: 16px; }
/* 線は整数pxの位置に置く（小数位置だと太く描画されるため） */
.svc-detail dd ul li::before, .cases ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 1px; background: var(--navy); }

/* ---------- 実績 ---------- */
.wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.wgrid > div { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 26px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tags span { font-size: 11px; background: var(--navy-soft); color: var(--navy); padding: 1px 9px; border-radius: 2px; }
.wgrid b { display: block; color: var(--navy); font-size: 17px; margin-bottom: 8px; line-height: 1.6; }
.wgrid p { font-size: 14px; color: var(--muted); }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.cases > article { scroll-margin-top: 80px; }
.cases ul { font-size: 14px; }
.cases ul li { position: relative; padding-left: 16px; }
.cases ul li::before { top: 12px; }
.wgrid ul { font-size: 14px; color: var(--muted); }
.wgrid ul li { position: relative; padding-left: 14px; }
.wgrid ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 7px; height: 1px; background: var(--navy); }
/* 実績: 支援領域 × 業種 */
.matrix-wrap { overflow-x: auto; margin-top: 28px; }
.matrix { border-collapse: collapse; font-size: 14px; min-width: 880px; width: 100%; }
.matrix th, .matrix td { border: 1px solid var(--line); padding: 10px 8px; text-align: center; }
.matrix thead th { background: var(--bg-light); color: var(--navy); font-weight: 700; font-size: 13px; line-height: 1.5; }
.matrix thead tr:first-child th { background: var(--navy); color: #fff; }
.matrix tbody th { text-align: left; color: var(--navy); background: var(--bg-light); white-space: nowrap; padding: 10px 14px; }
.matrix tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.matrix td a { display: inline-block; min-width: 24px; color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--navy); }
.matrix td a:hover { opacity: .7; }
.matrix td span { color: var(--navy); }
.cases > article { border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 26px 28px; background: #fff; }
.cases h3 { color: var(--navy); font-size: 17px; line-height: 1.6; margin-bottom: 10px; }
.cases dl { font-size: 14px; }
.cases dt { color: var(--muted); font-size: 12px; margin-top: 8px; }
.table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15px; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 16px 14px; text-align: left; vertical-align: top; }
.table th { width: 32%; color: var(--navy); font-weight: 700; background: var(--bg-light); }
.table tr:first-child th, .table tr:first-child td { border-top: 1px solid var(--line); }

/* ---------- 代表 ---------- */
.msg blockquote { margin-top: 36px; border-left: 3px solid var(--navy); padding: 4px 0 4px 32px; font-size: 18px; line-height: 2; max-width: 880px; }
.msg blockquote span { display: block; }
.msg blockquote span + span { margin-top: 8px; }
.msg .sign { margin-top: 18px; padding-left: 35px; color: var(--muted); }
.profile-name { margin-top: 18px; font-size: 22px; color: var(--navy); font-weight: 700; }
.profile-name small { display: block; font-size: 14px; color: var(--muted); font-weight: 400; }
.timeline > li { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline > li:first-child { border-top: 1px solid var(--line); }
.timeline b { color: var(--navy); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.skill-tags span { border: 1px solid var(--navy); color: var(--navy); font-size: 14px; padding: 4px 14px; border-radius: 2px; }
.message-full p { margin-top: 20px; font-size: 17px; line-height: 2.1; }
.message-full p:first-child { margin-top: 32px; }
.message-full .sign { margin-top: 28px; color: var(--muted); }

/* ---------- 会社概要 ---------- */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.mvv > div { border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 26px; background: #fff; }
.mvv small { font-family: var(--font-en); color: var(--muted); letter-spacing: .12em; font-size: 12px; }
.mvv h3 { color: var(--navy); font-size: 16px; margin: 2px 0 10px; }
.mvv p, .mvv li { font-size: 16px; }
.mvv li span { font-family: var(--font-en); color: var(--navy); font-weight: 600; margin-right: 8px; }

/* ---------- お知らせ ---------- */
.news ul { margin-top: 28px; border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 110px 100px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.news time { font-family: var(--font-en); color: var(--muted); }
.news .cat { font-size: 12px; color: var(--navy); border: 1px solid var(--navy); padding: 0 8px; justify-self: start; height: 24px; line-height: 22px; }
.news li p { grid-column: 3; color: var(--muted); font-size: 14px; margin-top: 4px; }
.news li p.links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.news li p.links a { color: var(--navy); text-decoration: underline; }

/* ---------- お問い合わせ ---------- */
.assure { border: 1px solid var(--navy); padding: 18px 22px; margin-top: 8px; font-size: 15px; }
.form-notice { border: 1px solid var(--line); background: var(--bg-light); padding: 14px 18px; margin-top: 24px; font-size: 13px; color: var(--muted); }
.form-notice b { display: block; color: var(--text); }
.form .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.form { margin-top: 36px; }
.form .row { margin-bottom: 22px; }
.form label.l, .form .l { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.req { display: inline-block; font-size: 11px; color: #fff; background: var(--navy); padding: 0 6px; margin-left: 8px; border-radius: 2px; font-weight: 400; vertical-align: 1px; }
.opt { display: inline-block; font-size: 11px; color: var(--muted); border: 1px solid var(--line); padding: 0 6px; margin-left: 8px; border-radius: 2px; font-weight: 400; vertical-align: 1px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea { width: 100%; border: 1px solid #c9cfdf; border-radius: 2px; padding: 12px 14px; font-size: 16px; font-family: inherit; background: #fff; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.form textarea { min-height: 160px; resize: vertical; }
.radios { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.radios label, .agree label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.radios input, .agree input { width: 18px; height: 18px; accent-color: var(--navy); }
.agree { background: var(--bg-light); padding: 16px 18px; }
.agree a { color: var(--navy); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; }
.form .submit { text-align: center; margin-top: 28px; }
.form .submit .btn { min-width: 240px; }
.form .error { color: #b3261e; font-size: 13px; margin-top: 6px; display: none; }
.form .invalid .error { display: block; }
.form .invalid input, .form .invalid textarea { border-color: #b3261e; }

/* ---------- 文章ページ（プライバシーポリシー等） ---------- */
.prose h2 { font-size: 18px; color: var(--navy); margin-top: 40px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.prose p, .prose li { margin-top: 12px; }
.prose ol { list-style: decimal; padding-left: 1.6em; }
.prose ul { list-style: disc; padding-left: 1.6em; }
.prose h3 { font-size: 16px; margin-top: 28px; }
.prose [id] { scroll-margin-top: 80px; }
.prose .vendors > div { border: 1px solid var(--line); padding: 12px 16px; margin-top: 12px; }
.prose .vendors dt { font-weight: 700; color: var(--navy); }
.prose .vendors dd { margin-top: 4px; font-size: 14px; }
.prose .date { margin-top: 40px; color: var(--muted); font-size: 14px; }

/* ---------- CTA・フッター ---------- */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 80px 0; }
.cta h2 { font-size: 26px; line-height: 1.6; }
.cta p { opacity: .85; margin: 12px auto 28px; max-width: 640px; font-size: 15px; }
.ftr { background: var(--navy-dark); color: rgba(255,255,255,.8); font-size: 13px; padding: 48px 0 28px; }
.ftr .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.ftr .flogo { height: 24px; width: auto; margin-bottom: 16px; }
.ftr a { display: block; margin-bottom: 6px; }
.ftr a:hover { color: #fff; }
.ftr .copy { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 18px; font-size: 12px; opacity: .7; }

/* ---------- スマホ ---------- */
@media (max-width: 900px) {
  .hdr nav { gap: 16px; font-size: 13px; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .hdr .wrap { height: 60px; }
  .hdr .logo img { height: 22px; }
  .burger { display: block; }
  .hdr nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(15,19,69,.08); font-size: 15px; }
  .hdr nav.open { display: flex; }
  .hdr nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .hdr nav .btn { margin-top: 16px; text-align: center; padding: 12px; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .sec-title { font-size: 24px; }
  .page-head { padding: 48px 0 36px; }
  .page-head h1 { font-size: 26px; }
  .hero { padding: 64px 0; }
  .hero .grid, .philo .grid, .base .grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 32px; }
  .hero .mid { font-size: 17px; }
  .pgrid, .rgrid, .wgrid, .cases, .mvv { grid-template-columns: minmax(0, 1fr); }
  .cases li, .wgrid li { overflow-wrap: anywhere; }
  .sp-only { display: block; }
  .pickup h2 { font-size: 17px; }
  .svc-steps { grid-template-columns: 1fr; }
  .svc-steps a, .svc-steps a:first-child { clip-path: none; margin: 0 0 8px; padding: 20px; border-left: 3px solid var(--navy); }
  .ai-band { flex-direction: column; align-items: flex-start; gap: 6px; }
  .flow-steps { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .pyramid .l1 { width: 86%; }
  .pyramid .l2 { width: 94%; }
  .pyramid b { font-size: 14px; }
  .flow-steps > div::after { display: none; }
  .flow-steps.three { grid-template-columns: 1fr; gap: 24px; }
  .pickup { padding: 28px 0; }
  .pickup .box { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .pickup .apply { margin-left: 0; }
  .structure > div { grid-template-columns: 1fr; gap: 6px; }
  .structure .refs { justify-content: flex-start; }
  .pgrid > div { flex-direction: row; align-items: center; }
  .pgrid .ico { flex-basis: 52px; width: 52px; height: 52px; }
  .pgrid .ico svg { width: 30px; height: 30px; }
  .svc-detail dl { grid-template-columns: 1fr; }
  .svc-detail .head { flex-direction: column; gap: 2px; }
  .svc-detail h2 { font-size: 21px; }
  .reason-list > li { grid-template-columns: 1fr; gap: 12px; }
  .timeline > li { grid-template-columns: 1fr; gap: 6px; }
  .table th, .table td { display: block; width: 100%; }
  .table th { border-bottom: 0; padding-bottom: 6px; }
  .table td { padding-top: 6px; }
  .msg blockquote { font-size: 16px; padding-left: 20px; }
  .msg .sign { padding-left: 23px; }
  .news li { grid-template-columns: 1fr; gap: 4px; }
  .news li p { grid-column: 1; }
  .ftr .cols { grid-template-columns: 1fr; gap: 20px; }
  .cta h2 { font-size: 21px; }
}
