:root {
  --navy: #142036;
  --navy-2: #1f3258;
  --blue: #2f6fed;
  --blue-dark: #2057c9;
  --accent: #16b8a6;
  --ink: #1a2333;
  --muted: #5c6b82;
  --bg: #ffffff;
  --soft: #f4f7fc;
  --soft-2: #eef3fb;
  --border: #e3e9f3;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(20,32,54,.06), 0 1px 2px rgba(20,32,54,.04);
  --shadow-lg: 0 18px 44px rgba(20,32,54,.14);
  --wrap: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.8; -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-dark); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ===== ヘッダー ===== */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.hwrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 16px; }
.logo { font-size: 21px; font-weight: 800; letter-spacing: .01em; color: var(--navy); text-decoration: none; }
.logo span { color: var(--blue); font-weight: 700; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-size: 14.5px; font-weight: 600; padding: 9px 14px; border-radius: 9px; }
.nav a:hover { background: var(--soft); }
.nav a.active { color: var(--blue-dark); }
.nav a.nav-cta { background: var(--blue); color: #fff; margin-left: 6px; }
.nav a.nav-cta:hover { background: var(--blue-dark); }
.nav-toggle { display: none; margin-left: auto; background: var(--soft); border: 1px solid var(--border); border-radius: 9px; width: 42px; height: 42px; font-size: 20px; cursor: pointer; }

/* ===== ヒーロー ===== */
.hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,237,.5), transparent 65%); }
.hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 76px 20px 84px; position: relative; z-index: 1; }
.hero .eyebrow { color: #8fb6ff; font-weight: 700; font-size: 13px; letter-spacing: .12em; }
.hero h1 { font-size: 40px; line-height: 1.35; margin: 12px 0 16px; }
.hero p { font-size: 16px; color: #cdd9ee; max-width: 560px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== ボタン ===== */
.btn { display: inline-block; border-radius: 10px; padding: 13px 26px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: filter .15s, transform .05s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { filter: brightness(.96); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ===== セクション ===== */
section { padding: 64px 0; }
.sec-alt { background: var(--soft); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.sec-label { color: var(--blue); font-weight: 800; font-size: 13px; letter-spacing: .12em; }
.sec-title { font-size: 28px; margin: 8px 0 10px; }
.sec-desc { color: var(--muted); font-size: 15px; }
.page-head { background: var(--soft); border-bottom: 1px solid var(--border); padding: 44px 0; }
.page-head h1 { font-size: 30px; }
.page-head .crumb { color: var(--muted); font-size: 13px; margin-top: 6px; }
.page-head .crumb a { color: var(--muted); text-decoration: none; }

/* ===== 強み・カード ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.sec-alt .card { background: #fff; }
.card .c-ico { width: 52px; height: 52px; border-radius: 13px; background: var(--soft-2); color: var(--blue); display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }
.card .c-num { font-size: 13px; font-weight: 800; color: var(--blue); }

/* ===== 数値実績 ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 22px 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat .s-num { font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.stat .s-num small { font-size: 16px; }
.stat .s-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ===== サービス詳細 ===== */
.svc { display: grid; grid-template-columns: 1fr; gap: 18px; }
.svc-item { display: grid; grid-template-columns: 64px 1fr; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.svc-item .si-ico { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 26px; }
.svc-item h3 { font-size: 19px; margin-bottom: 6px; }
.svc-item p { color: var(--muted); font-size: 14.5px; }
.svc-item ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; }

/* ===== フロー ===== */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); position: relative; }
.flow-step .fs-no { font-size: 13px; font-weight: 800; color: #fff; background: var(--blue); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; }
.flow-step h4 { font-size: 15.5px; margin-bottom: 5px; }
.flow-step p { font-size: 13px; color: var(--muted); }

/* ===== 会社概要テーブル・沿革 ===== */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--border); font-size: 14.5px; vertical-align: top; }
.info-table th { width: 200px; background: var(--soft); color: var(--ink); font-weight: 700; white-space: nowrap; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.timeline { border-left: 2px solid var(--border); margin-left: 8px; padding-left: 24px; }
.tl-item { position: relative; padding-bottom: 22px; }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--border); }
.tl-year { font-weight: 800; color: var(--navy); font-size: 14px; }
.tl-text { color: var(--muted); font-size: 14px; }
.mission { text-align: center; max-width: 720px; margin: 0 auto; }
.mission .m-big { font-size: 26px; font-weight: 800; line-height: 1.6; margin: 14px 0; }
.mission .m-big span { color: var(--blue); }

/* ===== CTAバンド ===== */
.cta-band { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; text-align: center; }
.cta-band h2 { font-size: 26px; margin-bottom: 8px; }
.cta-band p { color: #e3ecff; margin-bottom: 22px; }

/* ===== フォーム ===== */
.form-card { max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.fld { display: block; margin-bottom: 16px; }
.fld > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.fld em { font-style: normal; font-size: 11px; color: #fff; background: var(--blue); padding: 1px 8px; border-radius: 999px; margin-left: 7px; }
.fld input, .fld select, .fld textarea { width: 100%; font: inherit; background: var(--soft); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; color: var(--ink); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--soft-2); }
.fld input.invalid, .fld textarea.invalid { border-color: #e11d48; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-done { text-align: center; padding: 30px 10px; }
.form-done .fd-ico { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 30px; display: grid; place-items: center; margin: 0 auto 16px; }
.contact-aside { font-size: 14px; color: var(--muted); }
.contact-aside .ca-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-aside .ca-item strong { color: var(--ink); display: block; }

/* ===== フッター ===== */
.site-footer { background: var(--navy); color: #b9c6dd; padding: 44px 0 26px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; margin-bottom: 26px; }
.foot-brand .fb-logo { font-size: 20px; font-weight: 800; color: #fff; }
.foot-brand .fb-logo span { color: #6f9bff; }
.foot-brand p { font-size: 13px; margin-top: 8px; max-width: 320px; }
.foot-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-nav a { color: #b9c6dd; text-decoration: none; font-size: 14px; }
.foot-nav a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 12px; color: #8294b2; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ===== レスポンシブ ===== */
@media (max-width: 880px) {
  .grid-3, .stats, .flow, .svc-item { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .svc-item { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--border); padding: 10px 14px 16px; gap: 4px; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav a.nav-cta { margin: 6px 0 0; text-align: center; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 30px; }
  .info-table th { width: 130px; }
}
