@charset "UTF-8";
/* ============================================================
   北海道版 生成AI 導入ロードマップ診断
   デザインシステム  2026-09-10
   配色・フォントの正 ＝ _共通ルールブック.md ／ ui-taste §2
   ============================================================ */

:root {
  --navy: #10293C;
  --navy-soft: #1B3E56;
  --teal: #0F7E9D;
  --teal-dark: #0B6A85;
  --cyan: #7FD7E2;

  --ink: #16242E;
  --mute: #5D6E78;
  --faint: #8A9AA4;

  --paper: #F4F7F9;
  --surface: #FFFFFF;
  --wash: #EAF1F4;
  --line: #DCE5EA;

  --radius: 10px;
  --shell: 1140px;
  --shadow: 0 1px 2px rgba(16, 41, 60, .05), 0 12px 28px -18px rgba(16, 41, 60, .35);
}

* { box-sizing: border-box; }

/* display を指定した要素にも hidden を効かせる */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: .01em;
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: -.015em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}

.measure { max-width: 34em; }

.num { font-variant-numeric: tabular-nums; }

.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;
}

/* ハニーポット（人には見せない） */
.hp-field {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* ---------------- アイコン ---------------- */
/* よそおいアイコンのSVGをインライン埋め込みし、色は color で制御する */
.icon { width: 24px; height: 24px; flex: none; display: block; color: inherit; }
.icon-lg { width: 34px; height: 34px; }
.icon-sm { width: 18px; height: 18px; }

/* ---------------- ヘッダー ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .shell {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; }
.brand img { height: 24px; width: auto; }
.brand-note {
  display: none;
  font-size: 12px; font-weight: 700; color: var(--mute);
  padding-left: 12px; border-left: 1px solid var(--line); line-height: 1.5;
  white-space: nowrap;
}
.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header-link {
  display: none;
  font-size: 14px; font-weight: 700; color: var(--mute); text-decoration: none;
  white-space: nowrap;
}
.site-header .btn { white-space: nowrap; }
.header-link:hover { color: var(--teal-dark); }

/* ---------------- ボタン ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding-inline: 26px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-size: 16px; font-weight: 700; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  font-family: inherit;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:disabled { opacity: .42; cursor: not-allowed; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:not(:disabled):hover { background: var(--teal-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:not(:disabled):hover { background: var(--navy-soft); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sm { height: 42px; padding-inline: 18px; font-size: 14px; }
.btn-full { width: 100%; }

/* ---------------- セクション ---------------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tight { padding-block: clamp(40px, 6vw, 64px); }
.bg-surface { background: var(--surface); }
.bg-wash { background: var(--wash); }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--teal-dark); text-transform: uppercase;
}
.h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; }
.lead { color: var(--mute); font-size: 1rem; line-height: 1.9; max-width: 34em; }
.small { font-size: .8125rem; line-height: 1.8; color: var(--mute); }

/* ---------------- ヒーロー（左テキスト・右写真の非対称） ---------------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; }
.hero-copy { padding-block: clamp(40px, 6vw, 84px); }
.hero-title {
  font-size: clamp(2.15rem, 5vw, 3.5rem);
  line-height: 1.28;
  margin-top: 20px;
}
.hero-title .row { display: block; }
.hero-title em { font-style: normal; color: var(--teal); }
.hero-lead { margin-top: 22px; max-width: 27em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px;
  font-size: .8125rem; font-weight: 700; color: var(--mute);
}
.hero-facts li { display: flex; align-items: center; gap: 7px; }
.hero-facts .icon { color: var(--teal); }
.hero-photo { min-height: 220px; }
.hero-photo img { width: 100%; height: 240px; object-fit: cover; }

/* ---------------- 数値ストリップ ---------------- */
.stat-strip {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stat-strip > div {
  padding: 22px 4px 20px;
  border-bottom: 1px solid var(--line);
}
.stat-strip > div + div { border-left: 1px solid var(--line); }
.stat-value {
  font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 900; line-height: 1.1;
  color: var(--navy); letter-spacing: -.02em;
}
.stat-value span { font-size: .5em; margin-left: 3px; color: var(--mute); }
.stat-label { font-size: .8125rem; font-weight: 700; color: var(--mute); margin-top: 6px; }

/* ---------------- 手順（階段状） ---------------- */
.steps { display: grid; gap: 16px; margin-top: 40px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.step-order {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--teal-dark);
}
.step h3 { margin-top: 10px; }
.step p { margin-top: 12px; }

/* ---------------- 結果の見どころ（ベントー） ---------------- */
.bento { display: grid; gap: 14px; margin-top: 40px; }
.bento-cell {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.bento-cell .icon-lg { color: var(--teal); }
.bento-cell h3 { margin-top: 16px; font-size: 1.06rem; }
.bento-cell p { margin-top: 10px; max-width: 32em; }
.bento-shot {
  margin: 0; padding: 0; overflow: hidden;
  display: flex; flex-direction: column;
}
.bento-shot .shot-inner {
  flex: 1; display: grid; place-items: center;
  padding: 22px 14px; background: var(--surface);
}
.bento-shot .shot-inner svg { width: 100%; max-width: 420px; height: auto; }
.bento-shot figcaption {
  padding: 14px 20px; background: var(--navy); color: #C8D8E0;
  font-size: .8125rem; font-weight: 700; line-height: 1.7;
}

/* ---------------- 業種選択 ---------------- */
.industry-grid { display: grid; gap: 12px; margin-top: 28px; }
.industry-option {
  display: block; position: relative; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 20px;
  transition: border-color .18s ease, background-color .18s ease;
}
.industry-option:hover { border-color: var(--teal); }
.industry-option input { position: absolute; opacity: 0; pointer-events: none; }
.industry-option .icon-lg { color: var(--faint); transition: color .18s ease; }
.industry-option:hover .icon-lg { color: var(--teal); }
.industry-name { display: block; font-weight: 900; font-size: 1.06rem; margin-top: 14px; line-height: 1.5; }
.industry-desc { display: block; font-size: .8125rem; color: var(--mute); margin-top: 6px; line-height: 1.7; }
.industry-option.selected {
  border-color: var(--teal); background: #F2F9FB;
  box-shadow: inset 0 0 0 1px var(--teal);
}
.industry-option.selected .icon-lg { color: var(--teal); }
.industry-option:focus-within { outline: 3px solid rgba(15, 126, 157, .35); outline-offset: 2px; }

.start-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px;
}
.start-hint { font-size: .8125rem; font-weight: 700; color: var(--mute); }

/* ---------------- 設問画面 ---------------- */
.quiz-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.progress-box { min-width: 236px; flex: 1 1 236px; max-width: 320px; }
.progress-meta {
  display: flex; justify-content: space-between; font-size: .75rem; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}
.progress-track { height: 6px; border-radius: 999px; background: var(--wash); overflow: hidden; }
.progress-fill { height: 100%; background: var(--teal); width: 0; transition: width .3s ease; }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius); padding: 8px 14px;
  font-size: .75rem; font-weight: 700; color: var(--navy);
}
.section-tag .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--teal); }

.question-card { display: none; }
.question-card.is-active { display: block; }

.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3.5vw, 34px);
}
.q-meta { font-size: .75rem; font-weight: 700; color: var(--faint); letter-spacing: .04em; }
.q-text {
  font-size: clamp(1.2rem, 2.6vw, 1.55rem); font-weight: 900; line-height: 1.6;
  margin-top: 12px;
}
.choices { display: grid; gap: 10px; margin-top: 28px; }
.choice {
  display: flex; align-items: flex-start; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 16px 18px; cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease;
}
.choice:hover { border-color: var(--teal); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-mark {
  width: 22px; height: 22px; border-radius: 999px; border: 2px solid var(--line);
  display: grid; place-items: center; margin-top: 3px; flex: none;
  transition: border-color .16s ease;
}
.choice-mark i { width: 10px; height: 10px; border-radius: 999px; background: var(--teal); transform: scale(0); transition: transform .16s ease; }
.choice-label { font-size: .8125rem; font-weight: 700; color: var(--teal-dark); }
.choice-body { font-size: .95rem; line-height: 1.7; margin-top: 2px; }
.choice.selected { border-color: var(--teal); background: #F2F9FB; }
.choice.selected .choice-mark { border-color: var(--teal); }
.choice.selected .choice-mark i { transform: scale(1); }
.choice:focus-within { outline: 3px solid rgba(15, 126, 157, .35); outline-offset: 2px; }

.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }

.resume-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  border: 1px solid var(--teal); background: #F2F9FB; border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 22px;
}
.resume-bar p { font-size: .875rem; font-weight: 700; color: var(--navy); }

/* ---------------- 結果画面 ---------------- */
.result-hero { background: var(--navy); color: #fff; }
.result-hero .eyebrow { color: var(--cyan); }
.result-grid { display: grid; gap: 26px; align-items: center; }
.score-line { display: flex; align-items: baseline; gap: 10px; }
.score-number {
  font-size: clamp(3.6rem, 11vw, 5.6rem); font-weight: 900; line-height: 1;
  color: var(--cyan); letter-spacing: -.03em;
}
.score-max { font-size: 1.1rem; font-weight: 700; color: #93AABA; }
.score-track { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .16); overflow: hidden; margin-top: 20px; }
.score-fill { height: 100%; background: var(--cyan); width: 0; transition: width .9s cubic-bezier(.22, .8, .3, 1); }
.rank-badge {
  display: inline-flex; align-items: center; gap: 14px;
  border: 1px solid rgba(127, 215, 226, .5); border-radius: var(--radius);
  padding: 14px 20px;
}
.rank-letter { font-size: 2.6rem; font-weight: 900; line-height: 1; color: var(--cyan); }
.rank-label { font-size: 1rem; font-weight: 700; line-height: 1.5; }
.result-hero .rank-comment { color: #C8D8E0; margin-top: 20px; max-width: 34em; }

.result-cols { display: grid; gap: 16px; align-items: start; }
.radar-wrap { display: grid; place-items: center; padding-block: 8px; }
.radar-wrap svg { width: 100%; max-width: 420px; height: auto; }

.bar-list { display: grid; gap: 16px 28px; margin-top: 22px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 8px 12px; align-items: baseline; }
.bar-name { font-size: .875rem; font-weight: 700; }
.bar-track {
  grid-column: 1 / -1; display: block; height: 6px;
  border-radius: 999px; background: var(--wash); overflow: hidden;
}
.bar-fill { display: block; height: 6px; background: var(--teal); border-radius: 999px; }
.bar-pct { font-size: .8125rem; font-weight: 700; text-align: right; color: var(--navy); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  font-size: .8125rem; font-weight: 700; color: var(--navy); background: var(--surface);
}
.tag-weak { border-color: var(--teal); color: var(--teal-dark); background: #F2F9FB; }

.road-list { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.road-item {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.road-no {
  width: 30px; height: 30px; border-radius: 999px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: .8125rem; font-weight: 700;
}
.road-action { font-size: 1.02rem; font-weight: 700; line-height: 1.7; }
.road-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: .75rem; font-weight: 700; color: var(--mute); }
.road-when { color: var(--teal-dark); }

/* 詳細レポートの受け取りフォーム */
.form-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 38px);
}
.field { margin-top: 18px; }
.field:first-child { margin-top: 0; }
.field > label { display: block; font-size: .8125rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.req { color: var(--teal-dark); font-size: .75rem; margin-left: 6px; }
.input, select.input {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink);
  font-family: inherit; font-size: 1rem;
}
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 49%, var(--mute) 50%), linear-gradient(-45deg, transparent 49%, var(--mute) 50%); background-size: 6px 6px, 6px 6px; background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-repeat: no-repeat; }
.input:focus { outline: 3px solid rgba(15, 126, 157, .3); outline-offset: 1px; border-color: var(--teal); }
.field-note { font-size: .75rem; color: var(--mute); margin-top: 7px; }
.two-col { display: grid; gap: 18px; }

.agree {
  display: flex; align-items: flex-start; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; margin-top: 22px; cursor: pointer;
}
.agree input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--teal); }
.agree span { font-size: .875rem; line-height: 1.75; color: var(--mute); }

.alert {
  border: 1px solid var(--teal); background: #F2F9FB; border-radius: var(--radius);
  padding: 14px 18px; font-size: .875rem; line-height: 1.8; color: var(--navy);
  margin-bottom: 22px;
}
.alert-quiet { border-color: var(--line); background: var(--wash); color: var(--mute); }

/* 受け取り完了 */
.done-mark {
  width: 56px; height: 56px; border-radius: 999px; background: var(--wash);
  display: grid; place-items: center; color: var(--teal); margin-inline: auto;
}
.next-list { display: grid; gap: 14px; margin-top: 22px; }
.next-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .95rem; line-height: 1.8; }
.next-list .n {
  width: 24px; height: 24px; border-radius: 999px; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: var(--teal-dark); margin-top: 4px;
}

/* ---------------- CTA帯 ---------------- */
.cta-band { background: var(--navy); color: #fff; }
.cta-inner { display: grid; gap: 22px; align-items: center; padding-block: clamp(34px, 5vw, 52px); }
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta-band p { color: #B6C6D0; margin-top: 12px; }
.cta-band .btn-primary { background: var(--cyan); color: var(--navy); }
.cta-band .btn-primary:hover { background: #A2E4EC; }

/* ---------------- フッター ---------------- */
.site-footer { background: var(--navy); color: #fff; }
.footer-top { display: grid; gap: 24px; padding-block: 40px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { color: #93AABA; font-size: .8125rem; margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { color: #C8D8E0; font-size: .875rem; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-addr { color: #93AABA; font-size: .8125rem; line-height: 1.9; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 20px; color: #7E93A2; font-size: .75rem;
}

/* ---------------- 768px 以上 ---------------- */
@media (min-width: 640px) {
  .site-header .shell { height: 68px; }
  .brand img { height: 26px; }
  .brand-note { display: block; }
  .header-link { display: inline-block; }
  .header-link:hover { color: var(--teal-dark); }
}

@media (min-width: 768px) {
  .stat-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .steps .step:nth-child(2) { transform: translateY(26px); }
  .steps .step:nth-child(3) { transform: translateY(52px); }
  .steps { padding-bottom: 52px; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-shot { grid-column: span 2; }
  .bento > .bento-cell:last-child { grid-column: span 2; }
  .result-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .next-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  /* 写真をセクション右端まで伸ばす。絶対配置なので横スクロールは発生しない */
  .hero-photo {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 48%; min-height: 0;
  }
  .hero-photo img { width: 100%; height: 100%; }
  .hero-copy { max-width: min(560px, calc(50vw - 56px)); padding-block: clamp(64px, 7vw, 92px); }
  .industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quiz-shell { max-width: 860px; }
  .result-shell { max-width: 1000px; }

  /* 大きな1セル（表示例）＋説明3セルで、空きマスを作らない */
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento-shot { grid-column: span 2; grid-row: span 3; }
  .bento > .bento-cell:last-child { grid-column: auto; }
}

/* ---------------- モーション ---------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .steps .step:nth-child(2), .steps .step:nth-child(3) { transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .btn { display: none !important; }
  body { background: #fff; }
}
