:root {
  --ink: #102033;
  --muted: #617087;
  --line: #dbe4ee;
  --bg: #f6f9fc;
  --surface: #ffffff;
  --primary: #0f4c81;
  --primary-2: #1768aa;
  --accent: #0ea5e9;
  --accent-soft: #e8f6fd;
  --navy: #0b2f4f;
  --success: #087f5b;
  --shadow: 0 20px 50px rgba(15, 76, 129, .10);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(219,228,238,.9);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, var(--primary), var(--accent));
  font-weight: 900; font-size: 22px; box-shadow: 0 8px 18px rgba(14,165,233,.20);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 15px; letter-spacing: .02em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.global-nav { display: flex; align-items: center; gap: 4px; }
.global-nav a { padding: 10px 12px; border-radius: 10px; color: #33455b; font-size: 14px; font-weight: 700; }
.global-nav a:hover, .global-nav a.is-active { color: var(--primary); background: #eef6fb; }
.global-nav .nav-cta { margin-left: 7px; padding: 11px 17px; color: #fff; background: var(--primary); }
.global-nav .nav-cta:hover, .global-nav .nav-cta.is-active { color: #fff; background: var(--primary-2); }
.nav-toggle { display: none; width: 46px; height: 42px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 16%, rgba(14,165,233,.16), transparent 28%),
    radial-gradient(circle at 10% 4%, rgba(23,104,170,.08), transparent 26%),
    linear-gradient(180deg, #f9fcff 0%, #fff 100%);
}
.hero::after {
  content: ""; position: absolute; width: 440px; height: 440px; border: 1px solid rgba(15,76,129,.08);
  border-radius: 50%; right: -170px; top: 190px; box-shadow: 0 0 0 70px rgba(14,165,233,.025), 0 0 0 140px rgba(14,165,233,.018);
}
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 56px; padding: 86px 0 94px; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.hero h1 { margin: 18px 0 18px; font-size: clamp(40px, 5.2vw, 70px); line-height: 1.13; letter-spacing: -.035em; }
.hero h1 .accent { color: var(--primary); }
.hero-lead { margin: 0; color: #4c5e73; font-size: 18px; line-height: 1.9; max-width: 610px; }
.hero-actions { display: flex; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 800; font-size: 14px; border: 1px solid transparent; transition: .2s ease; }
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 12px 24px rgba(15,76,129,.16); }
.btn-primary:hover { transform: translateY(-2px); background: var(--primary-2); }
.btn-secondary { background: #fff; border-color: var(--line); color: var(--primary); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(15,76,129,.08); }
.hero-note { margin-top: 26px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.hero-note i { width: 9px; height: 9px; background: #10b981; border-radius: 50%; box-shadow: 0 0 0 5px #dcfce7; }

.dashboard {
  position: relative; background: #fff; border: 1px solid #e1eaf3; border-radius: 25px; box-shadow: 0 35px 80px rgba(15,76,129,.15); padding: 17px; transform: rotate(1deg);
}
.dashboard-bar { height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 5px 11px; border-bottom: 1px solid #edf2f7; }
.dots { display: flex; gap: 6px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.dashboard-title { font-size: 11px; color: var(--muted); font-weight: 700; }
.dashboard-body { display: grid; grid-template-columns: 78px 1fr; min-height: 365px; }
.dash-side { border-right: 1px solid #edf2f7; padding: 18px 10px; }
.dash-logo { width: 35px; height: 35px; margin: 0 auto 18px; border-radius: 10px; background: linear-gradient(145deg, var(--primary), var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 900; }
.dash-side span { display: block; height: 8px; border-radius: 10px; background: #edf2f7; margin: 13px 3px; }
.dash-side span:nth-child(3), .dash-side span:nth-child(5) { width: 70%; }
.dash-main { padding: 18px; background: #fbfdff; }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-head strong { font-size: 15px; }
.dash-chip { font-size: 10px; color: var(--primary); background: var(--accent-soft); padding: 5px 8px; border-radius: 999px; font-weight: 800; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.stat { background: #fff; border: 1px solid #e7eef5; padding: 13px; border-radius: 13px; }
.stat small { display: block; color: var(--muted); font-size: 9px; }
.stat b { display: block; font-size: 23px; margin-top: 2px; color: var(--navy); }
.dash-panel { margin-top: 11px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 10px; }
.chart, .activity { background: #fff; border: 1px solid #e7eef5; border-radius: 13px; padding: 13px; }
.chart strong, .activity strong { display: block; font-size: 10px; margin-bottom: 12px; }
.chart-bars { height: 115px; display: flex; align-items: end; gap: 8px; padding-top: 10px; border-bottom: 1px solid #edf2f7; }
.chart-bars i { flex: 1; background: linear-gradient(180deg, var(--accent), var(--primary)); border-radius: 5px 5px 0 0; opacity: .88; }
.activity p { margin: 0 0 9px; height: 8px; background: #eaf0f6; border-radius: 10px; }
.activity p:nth-child(2), .activity p:nth-child(5) { width: 72%; }
.dashboard-badge { position: absolute; right: -22px; bottom: 32px; padding: 11px 14px; border-radius: 12px; color: #fff; background: var(--navy); box-shadow: var(--shadow); font-size: 11px; font-weight: 800; }

.section { padding: 94px 0; }
.section-soft { background: var(--bg); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-label { color: var(--primary); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.section-dark .section-label { color: #7dd3fc; }
.section h2, .page-hero h1 { margin: 9px 0 14px; font-size: clamp(30px, 4vw, 46px); line-height: 1.3; letter-spacing: -.025em; }
.section-head p, .page-hero p { margin: 0; color: var(--muted); font-size: 16px; }
.section-dark .section-head p { color: #c8d7e6; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid #e1e9f1; border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 25px rgba(16,32,51,.035); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--accent-soft); color: var(--primary); font-size: 21px; font-weight: 900; }
.card h3 { margin: 18px 0 9px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.check-list { display: grid; gap: 13px; margin: 28px 0 0; }
.check-item { display: flex; gap: 12px; align-items: flex-start; }
.check-icon { flex: 0 0 auto; width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: #e9fbf4; color: var(--success); font-size: 12px; font-weight: 900; }
.check-item strong { display: block; font-size: 15px; }
.check-item small { color: var(--muted); font-size: 13px; }

.feature-board { background: linear-gradient(145deg, #0f4c81, #0b2f4f); padding: 28px; border-radius: 30px; color: #fff; box-shadow: var(--shadow); }
.feature-board h3 { margin: 0 0 19px; font-size: 19px; }
.feature-tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feature-tag { padding: 17px 12px; border-radius: 15px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); text-align: center; }
.feature-tag b { display: block; font-size: 14px; }
.feature-tag small { color: #bfdbfe; font-size: 10px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric { padding: 24px; border: 1px solid #e2e9f1; border-radius: 18px; background: #fff; }
.metric b { display: block; color: var(--primary); font-size: 26px; line-height: 1.2; }
.metric span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }

.cta-band { position: relative; overflow: hidden; border-radius: 30px; padding: 46px 52px; background: linear-gradient(120deg, #0b2f4f, #0f4c81); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -70px; top: -130px; border: 45px solid rgba(255,255,255,.055); }
.cta-band h2 { margin: 0 0 8px; font-size: 30px; position: relative; z-index: 1; }
.cta-band p { margin: 0; color: #c9d8e8; position: relative; z-index: 1; }
.cta-band .btn { flex-shrink: 0; background: #fff; color: var(--navy); position: relative; z-index: 1; }

.page-hero { padding: 86px 0 58px; background: linear-gradient(180deg, #f7fbff, #fff); border-bottom: 1px solid #edf2f7; }
.page-hero .breadcrumb { margin-bottom: 12px; color: #7b8b9c; font-size: 12px; }
.page-hero .breadcrumb a { color: var(--primary); }
.page-hero p { max-width: 800px; }

.service-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 36px; }
.flow-item { position: relative; padding: 20px 12px; background: #fff; border: 1px solid #dfe8f1; border-radius: 15px; text-align: center; }
.flow-item:not(:last-child)::after { content: "→"; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); z-index: 2; color: var(--accent); font-weight: 900; }
.flow-item b { display: block; color: var(--primary); font-size: 12px; }
.flow-item span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }

.detail-list { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); }
.detail-row { display: grid; grid-template-columns: 220px 1fr; background: #fff; }
.detail-row dt, .detail-row dd { margin: 0; padding: 19px 22px; }
.detail-row dt { background: #f7fafc; color: #44566b; font-weight: 800; }
.detail-row dd { color: #33455b; }

.partner-diagram { display: grid; grid-template-columns: 1fr 90px 1fr; gap: 18px; align-items: center; }
.partner-box { padding: 30px; background: #fff; border-radius: 22px; border: 1px solid #dfe7ef; }
.partner-box.primary { border-color: #b8d8ee; background: #f7fcff; }
.partner-box h3 { margin: 0 0 12px; font-size: 20px; }
.partner-box p { margin: 0; color: var(--muted); }
.partner-arrow { text-align: center; color: var(--primary); font-weight: 900; font-size: 28px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: start; }
.contact-panel { padding: 30px; border-radius: 22px; background: var(--navy); color: #fff; }
.contact-panel h2 { margin: 0 0 12px; font-size: 24px; }
.contact-panel p { color: #c9d8e8; font-size: 14px; }
.contact-panel a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-form { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.form-row { margin-bottom: 19px; }
.form-row label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; color: #35485d; }
.required { color: #c2410c; margin-left: 4px; font-size: 11px; }
.form-row input, .form-row textarea, .form-row select { width: 100%; border: 1px solid #cfdbe7; background: #fff; border-radius: 10px; padding: 12px 13px; color: var(--ink); outline: none; transition: .15s; }
.form-row textarea { min-height: 160px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(14,165,233,.10); }
.form-note { font-size: 12px; color: var(--muted); }
.form-error { margin: 0 0 20px; padding: 13px 15px; border-radius: 10px; color: #9f1239; background: #fff1f2; border: 1px solid #fecdd3; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.notice { padding: 16px 18px; background: #fff8e8; color: #6f5216; border: 1px solid #f2ddb0; border-radius: 13px; font-size: 13px; }

.site-footer { margin-top: 0; padding: 58px 0 25px; background: #071f35; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
.footer-brand { display: flex; gap: 11px; align-items: center; }
.footer-brand > div { display: flex; flex-direction: column; }
.footer-brand strong { font-size: 15px; }
.footer-brand small { color: #7f9bb3; font-size: 10px; letter-spacing: .12em; }
.footer-lead { margin: 15px 0 0; color: #a9bed0; font-size: 13px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 30px; }
.footer-links a { color: #c8d7e6; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10); color: #7893ab; font-size: 11px; }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .global-nav { position: absolute; left: 20px; right: 20px; top: 69px; display: none; padding: 12px; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .global-nav.is-open { display: flex; }
  .global-nav .nav-cta { margin-left: 0; text-align: center; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding: 67px 0 82px; }
  .hero-copy { max-width: 760px; }
  .dashboard { max-width: 680px; transform: none; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .service-flow { grid-template-columns: repeat(3, 1fr); }
  .flow-item:nth-child(3)::after { display: none; }
  .partner-diagram { grid-template-columns: 1fr; }
  .partner-arrow { transform: rotate(90deg); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 13px; }
  .hero-grid { padding-top: 55px; gap: 42px; }
  .hero h1 { font-size: 41px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .dashboard { padding: 10px; }
  .dashboard-body { grid-template-columns: 50px 1fr; }
  .dash-side { padding: 14px 6px; }
  .dash-main { padding: 12px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-stats .stat:last-child { grid-column: span 2; }
  .dash-panel { grid-template-columns: 1fr; }
  .dashboard-badge { right: 8px; bottom: -18px; }
  .section { padding: 70px 0; }
  .card-grid, .metric-grid { grid-template-columns: 1fr; }
  .feature-tags { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }
  .service-flow { grid-template-columns: 1fr 1fr; }
  .flow-item:nth-child(2n)::after { display: none; }
  .flow-item:nth-child(3)::after { display: block; }
  .detail-row { grid-template-columns: 1fr; }
  .detail-row dt { padding-bottom: 8px; }
  .detail-row dd { padding-top: 8px; }
  .contact-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
