/* =========================================================
   ヘルスケアアイザック 薬局向けLP  style.css
   医療系：白基調 / ネイビー・ブルー・グリーンをアクセント
   ========================================================= */

:root {
  --navy: #12325a;
  --navy-deep: #0d2444;
  --blue: #1b6cb0;
  --blue-light: #eaf3fb;
  --teal: #10a37f;
  --teal-deep: #0c8568;
  --cta: #e8620e;
  --cta-deep: #bf420a;
  --cta-shadow: rgba(191, 66, 10, .34);
  --ink: #1e2a38;
  --ink-soft: #4a5a6b;
  --line: #e2e9f1;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --bg-tint: #eef4fa;
  --amber: #b9760a;
  --amber-bg: #fdf6e9;
  --danger: #c0392b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(18, 50, 90, .06);
  --shadow: 0 8px 30px rgba(18, 50, 90, .10);
  --shadow-lg: 0 16px 48px rgba(18, 50, 90, .16);
  --maxw: 1080px;
  --gap: clamp(16px, 4vw, 28px);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP",
          "Meiryo", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: clip;
  word-break: normal;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.4; margin: 0; font-weight: 800; letter-spacing: .01em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: clamp(48px, 9vw, 88px) 0; }
.section--tint { background: var(--bg-soft); }
.section--navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #eaf1f9; }
.section--navy .lead, .section--navy p { color: #d3e0ef; }

/* ---------- 見出し ---------- */
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--teal-deep);
  background: #e6f6f0;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 16px;
}
.section--navy .eyebrow { color: #baf3e0; background: rgba(16,163,127,.18); }

.h2 { font-size: clamp(1.5rem, 4.6vw, 2.15rem); color: var(--navy); }
.section--navy .h2 { color: #fff; }
.h2 .accent { color: var(--teal-deep); }
.section--navy .h2 .accent { color: #7ff0cf; }
.h2-sub { margin-top: 14px; color: var(--ink-soft); font-size: 1.02rem; font-weight: 500; }
/* スマホでは見出しを縮小し、意図した2行に収める */
@media (max-width: 560px){
  .h2 { font-size: 1.1rem; line-height: 1.5; letter-spacing: -0.012em; }
  .h2-sub { font-size: .93rem; }
  .final-cta .h2 { font-size: 1.15rem; }
}
.section--navy .h2-sub { color: #cfe0f0; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { height: 34px; width: auto; }
.brand .brand-tag { font-size: .72rem; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.header-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cta); color: #fff; font-weight: 800; font-size: .92rem;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: var(--shadow-sm); transition: transform .15s, background .15s;
}
.header-cta:hover { background: var(--cta-deep); text-decoration: none; transform: translateY(-1px); }
@media (max-width: 680px){ .brand .brand-tag{ display:none; } .header-cta{ padding:9px 14px; font-size:.84rem;} }

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: 1.06rem; line-height: 1.3;
  padding: 17px 34px; border-radius: 999px; border: none; cursor: pointer;
  text-align: center; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 56px;
}
.btn--cta {
  background: linear-gradient(135deg, #f2711c 0%, #bf420a 100%);
  color: #fff; box-shadow: 0 10px 26px var(--cta-shadow);
}
.btn--cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(191,66,10,.46); text-decoration: none; }
.btn--cta:active { transform: translateY(0); }
.btn--ghost {
  background: #fff; color: var(--navy); border: 2px solid var(--line);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.btn--lg { font-size: 1.14rem; padding: 20px 40px; min-height: 62px; }
.btn--block { display: flex; width: 100%; }
.btn .arrow { font-size: 1.1em; }
.btn-note { margin-top: 12px; font-size: .84rem; color: var(--ink-soft); }
.section--navy .btn-note { color: #b9cbe0; }

/* 外部リンク識別 */
.ext { display: inline-flex; align-items: center; gap: 5px; }
.ext .ext-ico { width: 1em; height: 1em; flex: none; vertical-align: -.1em; }

/* =========================================================
   ファーストビュー
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 85% -10%, #e7f1fb 0%, rgba(231,241,251,0) 60%),
    linear-gradient(180deg, #f7fbff 0%, #eef5fc 100%);
  padding: clamp(28px, 6vw, 56px) 0 clamp(40px, 7vw, 64px);
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff; font-weight: 800; font-size: .9rem;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 20px; letter-spacing: .02em;
}
.hero-label .dot { width: 8px; height: 8px; border-radius: 50%; background: #4fe0b6; flex: none; }
.hero-label .nb { white-space: nowrap; }
.hero h1 {
  font-size: clamp(1.72rem, 5.6vw, 2.85rem); color: var(--navy); letter-spacing: .01em;
  line-height: 1.36;
}
.hero h1 .hl { color: var(--teal-deep); }
.hero h1 .u { background: linear-gradient(transparent 62%, #ffe9a8 62%); padding: 0 .1em; }
.hero-sub { margin: 20px 0 0; font-size: clamp(1rem, 2.6vw, 1.12rem); color: var(--ink); font-weight: 600; }
.hero-solution {
  margin-top: 18px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--teal);
  border-radius: var(--radius-sm); padding: 16px 18px; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-sm); font-size: 1.02rem;
}
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  font-size: .84rem; font-weight: 700; color: var(--navy);
  background: #fff; border: 1px solid #d3e3f3; border-radius: 999px; padding: 7px 14px;
}
.chip.chip--free { background: #e6f6f0; border-color: #b9e6d5; color: var(--teal-deep); }
.hero-actions { margin-top: 26px; }
.hero-actions .btn { box-shadow: 0 12px 30px rgba(191,66,10,.36); }
.hero-microcopy { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }
.hero-microcopy span { font-size: .84rem; color: var(--ink-soft); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.hero-microcopy span::before { content: "✓"; color: var(--teal); font-weight: 900; }

/* ガイドライン表紙ビジュアル */
.hero-doc { position: relative; }
.doc-figure { position: relative; margin: 0; }
.doc-figure img {
  width: 100%; height: auto; border-radius: 8px;
  box-shadow: 0 24px 60px rgba(18,50,90,.28), 0 4px 12px rgba(18,50,90,.16);
  transform: rotate(-2.2deg);
  border: 1px solid #e7edf4;
  background: #fff;
}
.doc-caption {
  margin-top: 20px; background: #fff; border-radius: var(--radius-sm);
  padding: 14px 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.doc-caption .doc-title { font-weight: 800; color: var(--navy); font-size: .96rem; }
.doc-caption .doc-note { font-size: .8rem; color: var(--ink-soft); margin-top: 6px; }
.doc-badge {
  position: absolute; top: -12px; left: -10px; z-index: 3;
  background: var(--teal); color: #fff; font-weight: 800; font-size: .82rem;
  padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
@media (max-width: 860px){
  .hero-grid { grid-template-columns: 1fr; }
  /* スマホでは画像をヒーロー下部（微コピーとHIJ説明の間）に配置 */
  .hero-doc { order: 0; max-width: 400px; margin: 24px auto 0; }
  .doc-figure img { transform: rotate(-1.4deg); }
}

/* =========================================================
   HIJ 紹介バー
   ========================================================= */
.isac-bar { background: var(--bg-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.isac-bar .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.isac-bar img { height: 46px; width: auto; }
.isac-bar p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.isac-bar .isac-link { white-space: nowrap; }
@media (max-width: 820px){
  .isac-bar .wrap { grid-template-columns: 1fr; text-align: center; gap: 14px; justify-items: center; }
  .isac-bar .isac-link { white-space: normal; max-width: 100%; }
}

/* =========================================================
   汎用カード
   ========================================================= */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-sm);
}
.card--tint { background: var(--bg-soft); }
.card-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-light); color: var(--blue); margin-bottom: 14px;
}
.card-ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.card .num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: 12px;
}

/* 説明カード（ガイドラインとは） */
.explain { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px,4vw,40px); align-items: center; }
.explain .doc-thumb img { border-radius: 8px; box-shadow: var(--shadow); transform: rotate(-1.5deg); border: 1px solid var(--line); }
.explain ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.explain ul li { position: relative; padding-left: 34px; font-weight: 600; color: var(--ink); }
.explain ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px;
  background: #e6f6f0; color: var(--teal-deep); border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: .8rem;
}
@media (max-width: 760px){ .explain { grid-template-columns: 1fr; } .explain .doc-thumb { max-width: 260px; } }

/* =========================================================
   「丸を付けて終わりではない」対応項目
   ========================================================= */
.task-list { columns: 2; column-gap: 26px; margin: 8px 0 0; padding: 0; list-style: none; }
.task-list li {
  break-inside: avoid; padding: 10px 12px 10px 34px; position: relative;
  border-bottom: 1px dashed var(--line); font-size: .94rem; color: var(--ink);
}
.task-list li::before {
  content: "☑"; position: absolute; left: 8px; top: 9px; color: var(--cta); font-weight: 800; font-size: 1.05em;
  opacity: 0; transform: scale(.3); transform-origin: center; display: inline-block;
}
/* スクロールで次々にチェックが入る演出 */
.task-list.checked li::before {
  animation: pop-check .5s cubic-bezier(.34, 1.56, .64, 1) forwards;
  animation-delay: calc(var(--i, 0) * 55ms);
}
@keyframes pop-check {
  0%   { opacity: 0; transform: scale(.2) rotate(-12deg); }
  60%  { opacity: 1; transform: scale(1.28) rotate(4deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@media (prefers-reduced-motion: reduce){
  .task-list li::before { opacity: 1; transform: none; animation: none; }
}
@media (max-width: 640px){ .task-list { columns: 1; } }

.callout-stack { display: grid; gap: 14px; margin-top: 30px; }
.callout {
  background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line);
  border-left: 5px solid var(--amber); padding: 16px 20px; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-sm); font-size: 1.02rem;
}
.callout.callout--big { font-size: clamp(1.05rem, 3vw, 1.28rem); border-left-color: var(--teal); }

/* 図解：薬局を中心に対応要素 */
.hub {
  position: relative; margin: 34px auto 0; max-width: 640px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.hub-center {
  grid-column: 1 / -1; justify-self: center; margin-bottom: 6px;
  background: var(--navy); color: #fff; font-weight: 800; border-radius: 999px;
  padding: 12px 30px; box-shadow: var(--shadow); font-size: 1.05rem;
}
.hub-node {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; text-align: center;
  padding: 12px 6px; font-size: .82rem; font-weight: 700; color: var(--navy); box-shadow: var(--shadow-sm);
}
.hub-node small { display: block; font-size: 1.4rem; margin-bottom: 2px; }
@media (max-width: 560px){ .hub { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   比較表
   ========================================================= */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
table.compare thead th { background: var(--navy); color: #fff; font-size: .92rem; position: sticky; top: 0; }
table.compare thead th.col-us { background: var(--teal-deep); }
table.compare tbody th { font-weight: 700; color: var(--navy); background: var(--bg-soft); width: 30%; white-space: nowrap; }
table.compare td.us { background: #f0faf6; color: var(--ink); font-weight: 600; }
table.compare td.self { color: var(--ink-soft); }
table.compare td .ico-x { color: var(--danger); font-weight: 900; margin-right: 4px; }
table.compare td .ico-o { color: var(--teal-deep); font-weight: 900; margin-right: 4px; }

/* =========================================================
   ステップ
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 820px){ .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px){ .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; text-align: center; box-shadow: var(--shadow-sm); position: relative; }
.step .step-no { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; font-weight: 800; margin-bottom: 12px; }
.step h4 { color: var(--navy); font-size: 1.02rem; }
.step p { color: var(--ink-soft); font-size: .9rem; margin: 8px 0 0; }

/* 立入検査チェック */
.check-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px 24px; margin-top: 6px; }
@media (max-width: 620px){ .check-grid { grid-template-columns: 1fr; } }
.check-grid .ci { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check-grid .ci .b { color: var(--teal-deep); font-weight: 900; flex: none; }

/* =========================================================
   ソリューション4本柱
   ========================================================= */
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.pillar-head { display: flex; gap: 16px; align-items: center; padding: 22px clamp(18px,3vw,26px); background: linear-gradient(180deg,#fbfdff,#f3f8fd); border-bottom: 1px solid var(--line); }
.pillar-head .p-no { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.pillar-head h3 { font-size: clamp(1.1rem, 3vw, 1.3rem); color: var(--navy); }
.pillar-body { padding: clamp(18px,3vw,26px); }
.pillar-body p.lead-p { margin: 0 0 14px; color: var(--ink); font-weight: 600; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tag-list li { background: var(--bg-tint); color: var(--navy); font-weight: 600; font-size: .86rem; border-radius: 8px; padding: 7px 12px; border: 1px solid #dce8f4; }
.pillar-emph { margin-top: 16px; background: #e6f6f0; border-radius: var(--radius-sm); padding: 14px 16px; color: var(--teal-deep); font-weight: 700; font-size: .96rem; }

/* =========================================================
   特典セクション
   ========================================================= */
.benefits-hl {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(22px,4vw,34px); text-align: center; border: 1px solid #ffe6a8;
  margin-bottom: 30px; position: relative; overflow: hidden;
}
.benefits-hl .ribbon { display:inline-block; background:#fff3d6; color:var(--amber); font-weight:800; padding:6px 16px; border-radius:999px; font-size:.85rem; margin-bottom:14px; }
.benefits-hl h3 { font-size: clamp(1.3rem, 4vw, 1.9rem); color: var(--navy); }
.benefits-hl .tablet-shot { max-width: 600px; width: 100%; margin: 18px auto 6px; }
.benefits-hl .tablet-shot img { width: 100%; height: auto; border-radius: 12px; }
.benefits-hl .price-line { font-size: clamp(1.05rem,3.4vw,1.4rem); font-weight: 800; color: var(--teal-deep); margin-top: 6px; }
.benefits-intro { max-width: 760px; margin: 0 auto 26px; text-align: center; color: var(--ink-soft); }

.benefit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.benefit-card .bc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.benefit-card .bc-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; flex: none; }
.benefit-card .bc-ico svg { width: 24px; height: 24px; }
.benefit-card h4 { color: var(--navy); font-size: 1.05rem; }
.benefit-card .bc-sub { font-size: .78rem; color: var(--teal-deep); font-weight: 700; }
.benefit-card ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 7px; }
.benefit-card ul li { position: relative; padding-left: 22px; font-size: .9rem; color: var(--ink-soft); }
.benefit-card ul li::before { content:"・"; position: absolute; left: 4px; color: var(--teal); font-weight: 900; }
.benefit-card .note { margin-top: 12px; font-size: .78rem; color: var(--amber); background: var(--amber-bg); border-radius: 8px; padding: 8px 10px; }

.terms-box { margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px,3vw,28px); box-shadow: var(--shadow-sm); }
.terms-box h4 { color: var(--navy); margin-bottom: 14px; font-size: 1.08rem; }
.terms-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
@media (max-width: 700px){ .terms-grid { grid-template-columns: 1fr; } }
.term-item { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px 16px; }
.term-item .t-k { font-size: .82rem; color: var(--ink-soft); font-weight: 700; }
.term-item .t-v { font-size: 1.15rem; color: var(--teal-deep); font-weight: 800; }
.terms-fine { margin-top: 14px; font-size: .82rem; color: var(--ink-soft); }
.terms-fine strong { color: var(--amber); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 52px 18px 52px; font-weight: 700; color: var(--navy); font-size: 1rem; position: relative;
  font-family: inherit; line-height: 1.6;
}
.faq-q::before { content: "Q"; position: absolute; left: 18px; top: 16px; color: var(--teal); font-weight: 900; font-size: 1.05rem; }
.faq-q::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 11px; height: 11px;
  border-right: 2.4px solid var(--blue); border-bottom: 2.4px solid var(--blue);
  transform: translateY(-60%) rotate(45deg); transition: transform .25s;
}
.faq-q[aria-expanded="true"]::after { transform: translateY(-30%) rotate(-135deg); }
.faq-q:focus-visible { outline: 3px solid #9fd0f0; outline-offset: -3px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 20px 52px; color: var(--ink-soft); font-size: .95rem; position: relative; }
.faq-a-inner::before { content: "A"; position: absolute; left: 20px; top: 0; color: var(--blue); font-weight: 900; }

/* =========================================================
   フォーム
   ========================================================= */
.form-wrap { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px,4vw,36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.col-2 { grid-column: 1 / -1; }
@media (max-width: 560px){ .form-grid { grid-template-columns: 1fr; } }
.field label { font-weight: 700; color: var(--navy); font-size: .9rem; }
.field label .req { color: var(--danger); font-size: .78rem; margin-left: 4px; }
.field label .opt { color: var(--ink-soft); font-size: .74rem; margin-left: 4px; font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fdfefe; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(16,163,127,.14); }
.field .err-msg { color: var(--danger); font-size: .8rem; min-height: 0; }
.field.invalid input, .field.invalid select { border-color: var(--danger); background: #fff5f4; }
.consent { grid-column: 1/-1; display: flex; gap: 10px; align-items: flex-start; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px 16px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.consent label { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.form-actions { grid-column: 1/-1; margin-top: 6px; }
.form-status { grid-column: 1/-1; border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 700; display: none; }
.form-status.ok { display: block; background: #e6f6f0; color: var(--teal-deep); border: 1px solid #b9e6d5; }
.form-status.ng { display: block; background: #fdecea; color: var(--danger); border: 1px solid #f5c6c0; }

/* =========================================================
   最終CTA
   ========================================================= */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(1.55rem, 4.6vw, 2.3rem); }
.final-cta .lead { max-width: 700px; margin: 18px auto 30px; }
.final-cta .btn--cta { box-shadow: 0 14px 34px rgba(191,66,10,.44); }

/* =========================================================
   フッター
   ========================================================= */
.site-footer { background: var(--navy-deep); color: #b9cbe0; padding: 48px 0 120px; font-size: .9rem; }
.site-footer .wrap { display: grid; gap: 22px; }
.footer-top { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.footer-top img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer-info { display: grid; gap: 6px; }
.footer-info dt { font-weight: 700; color: #dbe7f3; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-links a { color: #cfe0f0; }
.footer-note { font-size: .78rem; color: #8fa6bf; line-height: 1.7; }
.footer-copy { font-size: .8rem; color: #7f96b0; }
@media (max-width: 620px){ .footer-top { grid-template-columns: 1fr; } }

/* =========================================================
   スマホ追従CTA
   ========================================================= */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(18,50,90,.12); display: none;
}
.sticky-cta .btn { width: 100%; min-height: 54px; font-size: 1.05rem; }
.sticky-cta .sc-note { text-align: center; font-size: .72rem; color: var(--ink-soft); margin: 4px 0 0; }
@media (max-width: 860px){ .sticky-cta { display: block; } }

/* =========================================================
   注記・小テキスト
   ========================================================= */
.disclaimer { font-size: .82rem; color: var(--ink-soft); background: var(--amber-bg); border: 1px solid #f0e2c4; border-radius: var(--radius-sm); padding: 12px 16px; margin-top: 18px; }
.disclaimer strong { color: var(--amber); }
.muted { color: var(--ink-soft); }
.tiny { font-size: .8rem; }
.placeholder { background: #fff6d9; border: 1px dashed #d9b04b; color: #8a6d1a; border-radius: 4px; padding: 0 5px; font-size: .92em; font-weight: 600; }

/* =========================================================
   スクロールフェード
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .header-cta { transition: none; }
}

/* =========================================================
   導入進捗プログレスバー
   ========================================================= */
.progress-sec { background: var(--bg-soft); }
.progress-card {
  max-width: 860px; margin: 30px auto 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow);
}
.progress-stats { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.pstat-k { font-size: .82rem; color: var(--ink-soft); font-weight: 700; margin-bottom: 4px; }
.pstat--right { text-align: right; }
.pstat-num { font-size: clamp(1.9rem, 7vw, 2.8rem); font-weight: 900; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.pstat-num span { font-size: .46em; font-weight: 800; margin-left: 2px; }
.pstat-rem { color: var(--teal-deep); }
.progress-bar {
  position: relative; height: 30px; background: #e6ecf3;
  border-radius: 999px; overflow: hidden; border: 1px solid #dbe4ee;
}
.progress-fill {
  height: 100%; width: var(--fill, 90%);
  background: linear-gradient(90deg, var(--blue) 0%, var(--teal) 100%);
  border-radius: 999px; display: flex; align-items: center; justify-content: flex-end;
  padding-right: 12px; min-width: 72px;
}
.progress-fill .progress-label { color: #fff; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.progress-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: .74rem; color: var(--ink-soft); font-weight: 600; }
.progress-note {
  text-align: center; margin-top: 18px; font-weight: 800; font-size: .96rem;
  color: var(--amber); background: var(--amber-bg); border: 1px solid #f0dca8;
  border-radius: 999px; padding: 10px 18px; display: inline-flex; gap: 6px;
}
.progress-note-wrap { text-align: center; margin-top: 18px; }
@media (max-width: 560px){
  .progress-stats { align-items: flex-start; gap: 12px; }
  .progress-stats > div { flex: 1 1 0; min-width: 0; }
  .pstat-num { white-space: nowrap; font-size: clamp(1.35rem, 6vw, 2.2rem); }
  .pstat-k { white-space: nowrap; font-size: .76rem; }
}

/* アクセシビリティ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid #9fd0f0; outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* スマホではヒーローのラベルを縮小して1行に収める（hero-label定義より後に配置して確実に上書き） */
@media (max-width: 560px){
  .hero-label { font-size: .75rem; }
  .hero-label .hl-text { white-space: nowrap; }
}
