/* ============================================================
   AiDEA mitsumori LP  ── ブルートンマナ（0円開発LPに準拠）
   青 #0D3BC7 ×ネイビー ×白／角丸カード／サンセリフ太字／pill型CTA
============================================================ */
:root {
  --blue: #0D3BC7;
  --blue-deep: #071E5A;
  --blue-bright: #1E6FFF;
  --blue-pale: #EAF0FF;
  --ink: #101B33;
  --ink-soft: #5C677E;
  --paper: #FFFFFF;
  --ground: #F4F6FB;
  --line: #DDE3F0;
  --ok: #1E9E5A;
  --ng: #C7392B;
  --red: #E60012;
  /* 旧変数の別名（HTML/後方参照の保険） */
  --navy: #071E5A;
  --navy-deep: #071E5A;
  --gold: #0D3BC7;
  --gold-deep: #0D3BC7;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
/* 旧「明朝」見出しは、0円LPに合わせて太字サンセリフに */
.serif { font-family: inherit; font-weight: 900; letter-spacing: .01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
.sp-only { display: none; }
.gold { color: var(--blue); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.eyebrow {
  display: inline-block; background: var(--blue); color: #fff;
  font-weight: 800; font-size: 12px; letter-spacing: .22em;
  padding: 6px 18px; border-radius: 999px; margin-bottom: 18px;
}
.section h2 {
  font-size: clamp(26px, 4.6vw, 40px); font-weight: 900; color: var(--ink);
  line-height: 1.5; letter-spacing: .01em; margin-bottom: 32px; text-wrap: balance;
}
.body { font-size: 15px; color: var(--ink-soft); margin-bottom: 16px; }
.body strong { color: var(--ink); font-weight: 800; }
.note { font-size: 12px; color: #9aa0ab; }

/* ボタン（pill / ブルー） */
.btn {
  display: inline-block; background: var(--blue); color: #fff;
  font-weight: 900; font-size: 16px; padding: 16px 46px;
  letter-spacing: .06em; border-radius: 999px;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 12px 30px rgba(13, 59, 199, .28);
}
.btn:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(13, 59, 199, .34); }
.btn:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.btn-gold { background: var(--blue); color: #fff; }
.btn-gold:hover { background: var(--blue-bright); }
.btn-large { font-size: 18px; padding: 18px 60px; }

/* ============ §0 ヘッダー ============ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(7, 30, 90, .96); backdrop-filter: blur(8px); box-shadow: 0 2px 16px rgba(7,30,90,.22); }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.logo { color: #fff; font-weight: 900; font-size: 20px; letter-spacing: .02em; }
.logo em { font-style: normal; color: #9FC2FF; }
.gnav { display: flex; align-items: center; gap: 28px; }
.gnav a { color: rgba(255,255,255,.9); font-size: 14px; font-weight: 700; transition: color .2s; }
.gnav a:hover { color: #9FC2FF; }
.nav-cta {
  background: #fff; color: var(--blue) !important;
  font-weight: 900; padding: 10px 24px; border-radius: 999px; transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--blue-pale); }
.menu-btn { display: none; }

/* ============ §1 ヒーロー ============ */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("../images/hero.jpg") center / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(5,15,60,.95) 0%, rgba(10,30,110,.82) 42%, rgba(18,55,184,.30) 80%, rgba(7,30,90,.55) 100%);
}
.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 140px 24px 80px; width: 100%; }
.hero-kicker { color: #9FC2FF; font-weight: 800; font-size: 15px; letter-spacing: .12em; margin-bottom: 18px; }
.hero-title {
  font-size: clamp(40px, 7vw, 74px); font-weight: 900; line-height: 1.22;
  letter-spacing: .02em; text-shadow: 0 8px 28px rgba(0,0,0,.45); margin-bottom: 24px;
}
.hero-sub { font-size: clamp(15px, 2vw, 18px); line-height: 2.0; text-shadow: 0 2px 12px rgba(0,0,0,.5); margin-bottom: 36px; }
.hero-sub strong { color: #fff; font-size: 1.22em; font-weight: 900; }
.hero-cta { margin-bottom: 44px; }
.hero .btn { background: #fff; color: var(--blue); box-shadow: 0 14px 34px rgba(0,0,0,.3); }
.hero .btn:hover { background: var(--blue-pale); }
.cta-note { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.85); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chips li {
  border: 2px solid rgba(255,255,255,.85); border-radius: 14px; background: rgba(6,18,70,.45);
  backdrop-filter: blur(2px);
  padding: 8px 18px; font-size: 13px; color: rgba(255,255,255,.95); font-weight: 700;
  display: flex; align-items: center; gap: 6px;
}
.hero-chips b { color: #fff; font-size: 15px; font-weight: 900; }
.hero-chips span { color: rgba(255,255,255,.6); }

/* ============ §2 課題共感 ============ */
.pain { background: var(--paper); }
.pain-steps { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; counter-reset: step; }
.pain-steps li {
  counter-increment: step;
  background: var(--ground); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft);
  font-size: 13.5px; font-weight: 700; padding: 10px 18px;
  display: flex; align-items: center; gap: 8px;
}
.pain-steps li::before {
  content: counter(step);
  font-weight: 900; color: var(--blue);
}
.pain-steps li:not(:last-child)::after { content: "▸"; color: #b8c0d4; margin-left: 4px; }
.pain-steps li.bad { background: var(--red); border-color: var(--red); color: #fff; }
.pain-steps li.bad::before { color: #fff; }
.pain-close { font-size: clamp(16px, 2.4vw, 21px); color: var(--ink); font-weight: 900; }
.pain-close strong { color: var(--red); }

/* ============ §3 3大リスク ============ */
.risks { background: var(--ground); }
.risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.risk-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px 28px; box-shadow: 0 6px 18px rgba(16,27,51,.05); }
.risk-num { font-size: 34px; font-weight: 900; color: var(--blue); margin-bottom: 12px; }
.risk-card h3 { font-size: 18px; font-weight: 900; color: var(--ink); line-height: 1.55; margin-bottom: 14px; }
.risk-card p { font-size: 14px; color: var(--ink-soft); }

/* ============ §4 転換メッセージ ============ */
.impact { background: linear-gradient(160deg, #071E5A, #0C2E9C); padding: 110px 24px; text-align: center; }
.impact-line { width: 64px; height: 5px; background: var(--blue-bright); border-radius: 3px; margin: 0 auto 28px; }
.impact-text { color: #fff; font-size: clamp(24px, 4.5vw, 40px); font-weight: 900; letter-spacing: .03em; }

/* ============ §5 解決策 ============ */
.solution { background: var(--paper); }
.ba-wrap { display: flex; align-items: stretch; gap: 20px; margin-bottom: 48px; }
.ba-before, .ba-after { flex: 1; padding: 30px 32px; border-radius: 16px; }
.ba-before { background: var(--ground); border: 1px solid var(--line); }
.ba-label { font-size: 12px; font-weight: 900; letter-spacing: .14em; margin-bottom: 16px; }
.ba-before .ba-label { color: #8a93a8; }
.ba-before ol { counter-reset: bstep; }
.ba-before li {
  counter-increment: bstep; font-size: 14px; color: var(--ink-soft); padding: 5px 0;
}
.ba-before li::before {
  content: counter(bstep); font-weight: 900;
  color: #9aa4ba; margin-right: 12px;
}
.ba-arrow { align-self: center; color: var(--blue); font-size: 30px; font-weight: 900; }
.ba-after { background: linear-gradient(135deg, #0C2E9C, #0D3BC7); color: #fff; box-shadow: 0 16px 40px rgba(13,59,199,.22); }
.ba-after .ba-label { color: #9FC2FF; }
.ba-after li { display: flex; align-items: center; gap: 16px; padding: 16px 0; font-size: 16px; font-weight: 800; }
.ba-after li + li { border-top: 1px solid rgba(255,255,255,.16); }
.ba-after li b { color: #fff; font-size: 28px; font-weight: 900; }
.time-block { text-align: center; padding: 38px 24px; border: 2px solid var(--blue); border-radius: 16px; box-shadow: 0 12px 30px rgba(13,59,199,.10); }
.time-caption { font-size: 14px; font-weight: 800; color: var(--ink-soft); margin-bottom: 8px; }
.time-nums { display: flex; align-items: baseline; justify-content: center; gap: 28px; margin-bottom: 10px; }
.before-num { font-size: clamp(34px, 5vw, 48px); color: #9aa4ba; font-weight: 900; }
.t-arrow { color: var(--blue); font-size: 24px; align-self: center; font-weight: 900; }
.after-num { font-size: clamp(54px, 8vw, 80px); color: var(--blue); font-weight: 900; }

/* ============ §6 3ステップ ============ */
.steps { background: var(--ground); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 36px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 38px 28px; text-align: center; box-shadow: 0 6px 18px rgba(16,27,51,.05); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%; background: var(--blue-pale); color: var(--blue);
  font-size: 26px; font-weight: 900; margin-bottom: 16px;
}
.step-card h3 { font-size: 22px; font-weight: 900; color: var(--ink); margin-bottom: 14px; }
.step-card p { font-size: 14px; color: var(--ink-soft); text-align: left; }
.steps-close { text-align: center; font-size: clamp(15px, 2.2vw, 19px); color: var(--ink); font-weight: 900; }

/* ============ §7 載せ替え ============ */
.feature-carry { background: var(--paper); }
.two-col { display: flex; gap: 56px; align-items: center; }
.col-text { flex: 1.15; }
.col-img { flex: 1; }
.col-img img { border-radius: 16px; box-shadow: 0 14px 36px rgba(16,27,51,.16); }
.check-list { margin-top: 20px; }
.check-list li {
  position: relative; padding-left: 34px; font-size: 15px; font-weight: 800;
  color: var(--ink); margin-bottom: 12px;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: .15em;
  width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center;
}

/* ============ §7-2 案件・入金・図面データの一元管理 ============ */
.feature-manage { text-align: center; background: var(--ground); }
.manage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.manage-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 26px; box-shadow: 0 6px 18px rgba(16,27,51,.05); }
.manage-tag {
  display: inline-block; background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 900; letter-spacing: .08em;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 16px;
}
.manage-card h3 { font-size: 17px; font-weight: 900; color: var(--ink); line-height: 1.55; margin-bottom: 12px; }
.manage-card p:last-child { font-size: 14px; color: var(--ink-soft); }

/* ============ §8 オールインワンとの違い ============ */
.feature-add { text-align: center; background: var(--paper); }
.center-body { max-width: 760px; margin: 0 auto 36px; text-align: left; }
.keep-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.keep {
  background: #fff; border: 2px solid var(--line); border-radius: 999px; color: var(--ink-soft);
  font-size: 14px; font-weight: 800; padding: 12px 24px;
}
.keep small { color: #9aa4ba; font-weight: 700; margin-left: 4px; }
.plus { font-size: 26px; color: var(--blue); font-weight: 900; }
.add-one {
  background: var(--blue); color: #fff; font-size: 15px; font-weight: 900;
  padding: 14px 28px; border-radius: 999px; box-shadow: 0 10px 26px rgba(13,59,199,.32);
}

/* ============ §9 デモ ============ */
.demo { background: var(--ground); }
.gold-eyebrow { background: var(--blue); color: #fff; }
.demo-cta { margin-top: 28px; }
.demo-cta .note { margin-top: 14px; }

/* ============ §10 FAQ ============ */
.faq { background: var(--paper); }
.faq-list { max-width: 820px; }
.faq-item { background: #fff; border: 2px solid var(--line); border-radius: 14px; margin-bottom: 14px; }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; font-size: 16px; font-weight: 900; color: var(--ink);
  transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; flex: none;
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.faq-item summary::after {
  content: "＋"; margin-left: auto; color: var(--blue); font-size: 20px; font-weight: 400; transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--ground); }
.faq-item p { padding: 0 24px 22px 66px; font-size: 14.5px; color: var(--ink-soft); }

/* ============ §11 クロージング ============ */
.closing {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(30,111,255,.5), transparent 60%),
    linear-gradient(135deg, #081C55, #0D3BC7);
  padding: 100px 0; text-align: center; color: #fff;
}
.closing-line { width: 64px; height: 5px; background: #fff; border-radius: 3px; margin: 0 auto 28px; }
.closing h2 { font-size: clamp(28px, 5vw, 44px); font-weight: 900; margin-bottom: 18px; color: #fff; }
.closing-sub { font-size: 15px; color: #DCE6FF; margin-bottom: 36px; }
.closing .btn { background: #fff; color: var(--blue); box-shadow: 0 14px 34px rgba(0,0,0,.3); }
.closing .btn:hover { background: var(--blue-pale); }
.contact-box { margin-top: 44px; display: inline-block; border: 1px solid rgba(255,255,255,.45); border-radius: 14px; padding: 24px 44px; background: rgba(255,255,255,.06); }
.contact-box p:first-child { font-size: 17px; margin-bottom: 8px; font-weight: 900; }
.contact-box .ph {
  font-size: 12.5px; color: #C9D6F6;
  border: 1px dashed rgba(255,255,255,.4); border-radius: 8px; padding: 6px 14px; display: inline-block;
}

/* ============ フッター ============ */
.site-footer { background: #071E5A; color: #8FA3D9; padding: 44px 0; text-align: center; }
.f-logo { font-weight: 900; font-size: 18px; color: #fff; }
.f-logo em { font-style: normal; color: #9FC2FF; }
.f-desc { font-size: 13px; margin: 8px 0 20px; }
.f-copy { font-size: 11px; color: rgba(255,255,255,.5); }

/* ============ スクロールリビール ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn:hover { transform: none; transition: none; }
}

/* ============ レスポンシブ ============ */
@media (max-width: 900px) {
  .two-col { flex-direction: column; gap: 32px; }
  .demo .two-col { flex-direction: column-reverse; }
  .risk-grid, .step-grid, .manage-grid { grid-template-columns: 1fr; }
  .ba-wrap { flex-direction: column; }
  .ba-arrow { transform: rotate(90deg); align-self: center; }
}
@media (max-width: 767px) {
  .sp-only { display: inline; }
  .section { padding: 68px 0; }
  .gnav {
    position: fixed; inset: 68px 0 auto; background: #071E5A;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 0 20px;
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: 0 10px 24px rgba(0,0,0,.3);
  }
  .gnav.open { transform: none; }
  .gnav a { padding: 14px 28px; font-size: 15px; }
  .nav-cta { margin: 12px 24px 0; text-align: center; }
  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 0 8px;
  }
  .menu-btn span { display: block; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
  .menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn.open span:nth-child(2) { opacity: 0; }
  .menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header { background: rgba(7,30,90,.96); }
  .hero { min-height: 100svh; }
  .hero-inner { padding: 120px 24px 64px; }
  .contact-box { padding: 20px 20px; }
  .faq-item p { padding-left: 24px; }
}

/* ---------- 載せ替えセクション下: イメージ動画 ---------- */
.carry-movie { max-width: 860px; margin: 48px auto 0; }
.carry-movie video {
  display: block; width: 100%; height: auto;
  border-radius: 16px; box-shadow: 0 14px 36px rgba(16,27,51,.16);
}
