@charset "UTF-8";
/* ==========================================================================
   現場安全360 — 食品・飲料工場向け 安全教育LP
   jollygood.co.jp/safety360/
   正典: /DESIGN.md 「11. 現場安全360 (/safety360/)」
   ========================================================================== */

:root {
  /* ---- surface ---- */
  --bg:        #eef2f3;
  --bg-soft:   #e3ebec;
  --surface:   #ffffff;
  --surface-2: #f7fafa;

  /* ---- ink (WCAG AA on --surface) ---- */
  --ink:       #0f1f2b;  /* 15.9:1 */
  --ink-2:     #3a4f5e;  /*  7.9:1 */
  --ink-3:     #55697a;  /*  5.2:1 */

  /* ---- line ---- */
  --line:      #ccd8dc;
  --line-2:    #dde6e8;

  /* ---- brand ---- */
  --navy:      #0f1f2b;
  --green:     #147050;  /*  5.9:1 on white */
  --green-2:   #0e5b41;
  --green-pale:#e6f2ed;
  --blue:      #13567f;  /*  6.9:1 on white */
  --blue-pale: #e6eff5;
  --amber:     #b8530f;  /*  5.2:1 on white */
  --amber-2:   #97430c;
  --amber-pale:#fbeee2;
  --danger:    #9c2727;  /*  7.4:1 on white */
  --danger-pale:#f8eaea;
  --hazard:    #f4b400;  /* 装飾専用。文字色に使わない */

  --shadow:    0 10px 30px rgba(15, 31, 43, .08);
  --shadow-lg: 0 22px 54px rgba(15, 31, 43, .16);
  --radius:    14px;

  --maxw: 1180px;

  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "Yu Gothic", "BIZ UDPGothic", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.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;
}

/* ============================ ヘッダー ============================ */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 31, 43, .97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 3px solid var(--hazard);
}
.hdrIn { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; }
.brand { display: grid; line-height: 1.25; text-decoration: none; }
.brand small { font-size: 11px; letter-spacing: .1em; font-weight: 800; color: #9fc4b6; }
.brand b { font-size: 18px; color: #fff; letter-spacing: .01em; }
.hdrNav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hdrNav a { color: #d5e2e6; font-size: 13.5px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.hdrNav a:hover { color: #fff; }
.hdrNav a.hdrCta {
  background: var(--amber); color: #fff; border-radius: 9px; padding: 10px 18px; font-size: 14px;
}
.hdrNav a.hdrCta:hover { background: var(--amber-2); color: #fff; }

/* ============================ 共通ブロック ============================ */
.sec { padding: 84px 0; }
.sec--tight { padding: 60px 0; }
.sec--white { background: var(--surface); }
.sec--soft { background: var(--bg-soft); }
.sec--navy { background: var(--navy); color: #eef4f6; }
.sec--navy h2, .sec--navy h3 { color: #fff; }
.sec--navy .lead { color: #c3d3d9; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px; font-size: 13px; font-weight: 900; letter-spacing: .08em; color: var(--green);
}
.eyebrow::before {
  content: ""; width: 34px; height: 6px; border-radius: 2px;
  background: repeating-linear-gradient(135deg, var(--hazard) 0 6px, #0f1f2b 6px 12px);
}
.sec--navy .eyebrow { color: #7fd3b3; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 900; letter-spacing: .01em; }
h2 { margin: 0 0 16px; font-size: clamp(25px, 3.1vw, 37px); line-height: 1.38; }
h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.5; }
.lead { margin: 0 0 34px; color: var(--ink-2); font-size: 16.5px; font-weight: 700; max-width: 900px; }
.secFoot {
  margin: 34px 0 0; padding: 20px 24px; background: var(--surface-2);
  border-left: 6px solid var(--green); border-radius: 0 10px 10px 0;
  font-weight: 800; font-size: 16px; color: var(--ink);
}
.sec--white .secFoot { background: var(--bg-soft); }
.note { margin: 18px 0 0; color: var(--ink-3); font-size: 13.5px; font-weight: 700; line-height: 1.8; }
.note a { color: var(--blue); font-weight: 800; }

/* ---- ボタン ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 10px;
  font-size: 16px; font-weight: 900; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--amber); color: #fff; box-shadow: 0 12px 26px rgba(184, 83, 15, .3); }
.btn--primary:hover { background: var(--amber-2); }
.btn--ghost { border-color: var(--ink-3); color: var(--ink); background: rgba(255,255,255,.7); }
.btn--onDark { border-color: rgba(255,255,255,.65); color: #fff; }
.btn--onDark:hover { background: rgba(255,255,255,.12); }
.btnRow { display: flex; gap: 14px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---- 画像フレーム + 説明用イメージ表示 ---- */
.figure { position: relative; border-radius: var(--radius); overflow: hidden; background: #0f1f2b; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure .tagImg {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(15, 31, 43, .84); color: #e9f1f4;
  font-size: 11.5px; font-weight: 800; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px; line-height: 1.6;
}
.figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 30px 16px 12px;
  background: linear-gradient(transparent, rgba(9, 20, 28, .9));
  color: #f1f7f8; font-size: 13.5px; font-weight: 800; line-height: 1.6;
}
/* キャプションと「説明用イメージ」の重なりを避ける */
.figure:has(figcaption) .tagImg { top: 10px; bottom: auto; }
.figure--16x9 img { aspect-ratio: 16 / 9; }
.figure--3x2 img { aspect-ratio: 3 / 2; }
.figure--4x3 img { aspect-ratio: 4 / 3; }

/* ---- 360°バッジ ---- */
.badge360 {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(15, 31, 43, .82); color: #fff;
  border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  padding: 5px 13px 5px 9px; font-size: 12px; font-weight: 900; letter-spacing: .04em;
}
.badge360 i {
  width: 15px; height: 15px; border-radius: 50%; font-style: normal;
  border: 2px dashed #7fd3b3; animation: spin360 7s linear infinite;
}
@keyframes spin360 { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge360 i { animation: none; } }

/* ============================ #top ヒーロー ============================ */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.heroBg { position: absolute; inset: 0; }
.heroBg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.heroBg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(9,20,28,.94) 0%, rgba(9,20,28,.86) 34%, rgba(9,20,28,.42) 62%, rgba(9,20,28,.30) 100%),
    linear-gradient(0deg, rgba(9,20,28,.62) 0%, rgba(9,20,28,0) 42%);
}
.heroIn { position: relative; z-index: 2; padding: 92px 0 84px; max-width: 780px; }
.heroEyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px; padding: 7px 16px;
  color: #d9ecff; font-size: 13px; font-weight: 900; letter-spacing: .05em;
}
.hero h1 {
  margin: 0 0 22px; color: #fff;
  font-size: clamp(29px, 4.5vw, 51px); line-height: 1.33;
  text-shadow: 0 3px 22px rgba(0,0,0,.5);
}
.hero h1 .br, .heroLead .br { display: block; }
@media (max-width: 620px) { .heroLead .br { display: inline; } }
.heroLead {
  margin: 0 0 26px; color: #e2edf1; font-size: clamp(15.5px, 1.5vw, 18px);
  font-weight: 700; line-height: 1.9; max-width: 700px;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.heroBadges { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 30px; padding: 0; list-style: none; }
.heroBadges li {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.96); color: var(--navy);
  border-radius: 10px; padding: 11px 17px; font-size: 14.5px; font-weight: 900;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}
.heroBadges li svg { flex: none; }
.heroBadges li.is-soft { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.45); box-shadow: none; }
.heroNote { margin: 22px 0 0; color: #b9cdd5; font-size: 12.5px; font-weight: 700; }
/* 狭い画面では本文の下に流し込み、ヒーロー注記との重なりを避ける */
.heroImgTag {
  display: inline-block; margin-top: 12px; z-index: 3;
  background: rgba(9,20,28,.7); color: #d6e4e9; font-size: 11.5px; font-weight: 800;
  padding: 4px 11px; border-radius: 999px;
}
@media (min-width: 861px) {
  .heroImgTag { position: absolute; right: 24px; bottom: 4px; margin: 0; }
}
.heroRule { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; z-index: 3;
  background: repeating-linear-gradient(135deg, var(--hazard) 0 14px, #0f1f2b 14px 28px); }

/* ============================ #try 体験 ============================ */
.tryWrap { display: grid; gap: 22px; }
.tryAlert {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--amber-pale); border: 2px solid #e2b98e; border-radius: 12px;
  padding: 16px 20px; color: #6d3708; font-weight: 800; font-size: 15px; line-height: 1.8;
}
.tryAlert b { color: #7d3d05; }
.tryAlert .ic { flex: none; font-size: 20px; line-height: 1.4; }
.tryStage {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #0a141c; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.tryStage iframe { display: block; width: 100%; height: min(66vh, 600px); min-height: 380px; border: 0; }
.tryHints { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.tryHints li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 13.5px; font-weight: 800; color: var(--ink-2);
}
.tryHints li.is-strong { background: var(--green-pale); border-color: #9ccdba; color: var(--green-2); }

/* ---- スマホで見る（QRコード）---- */
.qrRow {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px;
}
.qrText b { display: block; font-size: 16.5px; color: var(--ink); }
.qrText span { display: block; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.qrPanel {
  display: grid; grid-template-columns: auto minmax(0,1fr); gap: 24px; align-items: center;
  background: var(--surface-2); border: 2px dashed var(--line); border-radius: 12px; padding: 22px 24px;
}
.qrPanel[hidden] { display: none; }
.qrBox { background: #fff; padding: 12px; border-radius: 10px; border: 1px solid var(--line); line-height: 0; }
.qrBox img { width: 168px; height: 168px; image-rendering: pixelated; }
.qrHelp b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.qrHelp span { display: block; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.qrHelp code {
  display: block; margin-top: 10px; padding: 8px 11px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 7px;
  font-size: 12.5px; color: var(--ink-3); word-break: break-all;
}
@media (max-width: 700px) {
  .qrRow { grid-template-columns: 1fr; }
  .qrPanel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
.tryAfter {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px 26px;
}
.tryAfter p { margin: 0; font-weight: 800; color: var(--ink); }
.tryAfter p small { display: block; color: var(--ink-3); font-size: 13.5px; font-weight: 700; }

/* ============================ #problem ============================ */
.probGrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.probCard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr;
}
.probCard .figure { border-radius: 0; }
.probCard .body { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.probCard .num {
  display: inline-flex; align-items: center; width: fit-content; min-height: 28px; padding: 0 13px;
  border-radius: 999px; background: var(--danger-pale); color: var(--danger);
  font-weight: 900; font-size: 13px; letter-spacing: .06em;
}
.probCard.is-do   { border-color: var(--green); box-shadow: 0 14px 34px rgba(20,112,80,.16); }
.probCard.is-do .num { background: var(--green-pale); color: var(--green-2); }
.probCard.is-result .num { background: var(--blue-pale); color: var(--blue); }
.probCard.is-result .figure img { object-fit: cover; object-position: 50% 0; }
.probCard h3 { font-size: 17.5px; margin: 0; }
.probCard p { margin: 0; color: var(--ink-2); font-size: 14.5px; font-weight: 700; }

/* ============================ #evidence ============================ */
.evGrid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 34px; align-items: start; }
.chartCard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow);
}
.chartCard h3 { font-size: 17px; margin: 0 0 4px; }
.chartCard .cSub { margin: 0 0 22px; color: var(--ink-3); font-size: 13px; font-weight: 700; }
.barRow { display: grid; grid-template-columns: 132px minmax(0,1fr) 74px; gap: 12px; align-items: center; margin-bottom: 13px; }
.barRow .bLbl { font-size: 13.5px; font-weight: 800; color: var(--ink-2); line-height: 1.45; }
.barRow .bTrack { display: block; height: 20px; background: var(--bg-soft); border-radius: 4px; overflow: hidden; }
.barRow .bFill { display: block; height: 100%; border-radius: 4px; background: var(--blue); width: 0; transition: width 1.1s cubic-bezier(.22,1,.36,1); }
.barRow.is-top .bFill { background: var(--danger); }
.barRow.is-top .bLbl { color: var(--danger); font-weight: 900; }
.barRow .bVal { font-size: 14px; font-weight: 900; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .barRow .bFill { transition: none; } }

.statRow { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 0 0 22px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--danger);
  border-radius: 0 12px 12px 0; padding: 18px 20px; box-shadow: var(--shadow);
}
.stat span { display: block; color: var(--ink-3); font-size: 13px; font-weight: 800; line-height: 1.6; }
.stat b { display: block; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; color: var(--danger); font-variant-numeric: tabular-nums; }
.stat small { display: block; color: var(--ink-2); font-size: 13px; font-weight: 700; line-height: 1.65; margin-top: 4px; }
.stat.is-blue { border-left-color: var(--blue); }
.stat.is-blue b { color: var(--blue); }

.sceneGrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 30px; }
.scene { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0f1f2b; }
.scene img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.scene .cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 11px;
  background: linear-gradient(transparent, rgba(9,20,28,.92));
  color: #fff; font-size: 13.5px; font-weight: 900; line-height: 1.5;
}
.scene .tagImg { position: absolute; right: 8px; top: 8px; background: rgba(9,20,28,.78); color: #dbe7eb;
  font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }

.srcBox {
  margin: 30px 0 0; padding: 16px 20px; background: var(--surface-2);
  border: 1px dashed var(--line); border-radius: 10px;
  color: var(--ink-2); font-size: 13px; font-weight: 700; line-height: 1.85;
}
.srcBox b { color: var(--ink); }
.srcBox a { color: var(--blue); font-weight: 800; word-break: break-all; }

/* ============================ #how 4要素 ============================ */
.howGrid { display: grid; gap: 26px; }
.howRow {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 34px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.howRow:nth-child(even) .howMedia { order: 2; }
.howNum {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px;
  color: var(--green); font-size: 13px; font-weight: 900; letter-spacing: .08em;
}
.howNum i {
  width: 30px; height: 30px; border-radius: 8px; background: var(--green); color: #fff;
  display: grid; place-items: center; font-style: normal; font-size: 15px;
}
.howBody h3 { font-size: clamp(19px, 2.1vw, 24px); }
.howBody p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; font-weight: 700; }
.howList { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.howList li {
  display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 10px;
  font-size: 14.5px; font-weight: 700; color: var(--ink-2); line-height: 1.75;
}
.howList li::before { content: "✓"; color: var(--green); font-weight: 900; }

/* ---- 判断テスト デモ ---- */
.quiz { background: var(--surface-2); border: 2px solid var(--line); border-radius: 12px; padding: 22px 24px; }
.quiz .qHead { display: flex; gap: 10px; align-items: center; margin: 0 0 6px; }
.quiz .qTag { background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 900; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
.quiz .qScene { margin: 0 0 14px; color: var(--ink-3); font-size: 13px; font-weight: 800; }
.quiz .qText { margin: 0 0 16px; font-size: 16.5px; font-weight: 900; color: var(--ink); line-height: 1.65; }
.qOpts { display: grid; gap: 10px; margin: 0 0 4px; }
.qOpt {
  display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 12px; align-items: center;
  width: 100%; text-align: left; background: var(--surface); color: var(--ink);
  border: 2px solid var(--line); border-radius: 10px; padding: 14px 16px;
  font-size: 15px; font-weight: 800; font-family: inherit; line-height: 1.6; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.qOpt:hover { border-color: var(--blue); background: var(--blue-pale); }
.qOpt .k {
  width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); color: var(--ink-2);
  display: grid; place-items: center; font-weight: 900; font-size: 14px;
}
.qOpt[data-state="correct"] { border-color: var(--green); background: var(--green-pale); }
.qOpt[data-state="correct"] .k { background: var(--green); color: #fff; }
.qOpt[data-state="wrong"] { border-color: var(--danger); background: var(--danger-pale); }
.qOpt[data-state="wrong"] .k { background: var(--danger); color: #fff; }
.qOpt[disabled] { cursor: default; }
.qFb { margin: 14px 0 0; padding: 15px 17px; border-radius: 10px; font-size: 14.5px; font-weight: 800; line-height: 1.8; display: none; }
.qFb.show { display: block; }
.qFb b { display: block; margin-bottom: 3px; font-size: 15.5px; }
.qFb.ok { background: var(--green-pale); color: var(--green-2); border: 1px solid #9ccdba; }
.qFb.ng { background: var(--danger-pale); color: #7d1f1f; border: 1px solid #dba7a7; }
.qReset { margin: 12px 0 0; background: none; border: 0; padding: 0; color: var(--blue); font: inherit;
  font-size: 13.5px; font-weight: 800; cursor: pointer; text-decoration: underline; display: none; }
.qReset.show { display: inline; }

/* ---- 達成マップ ---- */
.mapCard { background: var(--navy); border-radius: 12px; padding: 22px 24px; }
.mapCard h4 { margin: 0 0 4px; color: #fff; font-size: 15.5px; }
.mapCard .mSub { margin: 0 0 16px; color: #a7bfc8; font-size: 12.5px; font-weight: 700; }
.mapSvg { width: 100%; height: auto; display: block; }
.mapLegend { display: flex; gap: 16px; flex-wrap: wrap; margin: 14px 0 0; color: #c3d3d9; font-size: 12.5px; font-weight: 800; }
.mapLegend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }

/* ============================ #courses ============================ */
.crsGrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.crsGrid--5 { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.crsGrid--5 .body { padding: 14px 15px 18px; gap: 7px; }
.crsGrid--5 h3 { font-size: 15.5px; line-height: 1.55; }
/* 5枚並べても場面が読み取れるよう、サムネイルを縦長にする */
.crsGrid--5 .figure--3x2 img { aspect-ratio: 4 / 5; }
.crsGrid--5 .badge360 { left: 8px; top: 8px; padding: 3px 9px 3px 7px; font-size: 10.5px; gap: 5px; }
.crsGrid--5 .badge360 i { width: 11px; height: 11px; border-width: 1.6px; }
.crsGrid--5 .tagImg { right: 7px; bottom: 7px; font-size: 10px; padding: 3px 8px; }
@media (max-width: 1080px) { .crsGrid--5 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 700px)  { .crsGrid--5 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.crs {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr;
  transition: transform .16s ease, box-shadow .16s ease;
}
.crs:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: reduce) { .crs:hover { transform: none; } }
.crs .figure { border-radius: 0; }
.crs .body { padding: 18px 20px 22px; display: grid; gap: 10px; align-content: start; }
.crsId {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  background: var(--green); color: #fff; border-radius: 7px; padding: 4px 11px;
  font-size: 12.5px; font-weight: 900; letter-spacing: .06em;
}
.crs h3 { margin: 0; font-size: 18px; line-height: 1.5; }
.crsRow { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 10px; font-size: 14px; line-height: 1.75; }
.crsRow dt { color: var(--ink-3); font-weight: 900; font-size: 12.5px; }
.crsRow dd { margin: 0; color: var(--ink-2); font-weight: 700; }
.crsRow dd.is-learn { color: var(--ink); font-weight: 800; }

/* ============================ #record ============================ */
/* 受講記録は「決裁を通す画面」。文字が読めるサイズで全幅に置く */
.recGrid { display: grid; gap: 26px; }
.recShot {
  margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); background: var(--surface);
}
.recShot img { width: 100%; }
.recList { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px;
  grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 860px) { .recList { grid-template-columns: 1fr; } }
.recList li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 16px 18px;
  display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 13px; align-items: start;
}
.recList li i {
  width: 34px; height: 34px; border-radius: 9px; background: var(--blue-pale); color: var(--blue);
  display: grid; place-items: center; font-style: normal; font-size: 16px;
}
.recList li b { display: block; font-size: 15.5px; }
.recList li span { display: block; color: var(--ink-2); font-size: 13.5px; font-weight: 700; line-height: 1.75; }

/* ============================ #device ============================ */
.devGrid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 36px; align-items: center; }
.devList { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.devList li {
  background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--green);
  border-radius: 0 12px 12px 0; padding: 18px 22px;
}
/* 濃色セクション内の白カード。継承色のままだと白地に白文字になる */
.devList li b { display: block; font-size: 17px; margin-bottom: 3px; color: var(--ink); }
.devList li span { color: var(--ink-2); font-size: 14.5px; font-weight: 700; }
.devList li.is-optional { border-left-color: var(--ink-3); background: var(--surface-2); }

/* ============================ #packs ============================ */
.packGrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.pack {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr;
  transition: transform .16s ease;
}
.pack:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .pack:hover { transform: none; } }
.pack img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.pack .body { padding: 16px 18px 20px; display: grid; gap: 6px; align-content: start; }
.pack h3 { margin: 0; font-size: 16.5px; line-height: 1.5; }
.pack p { margin: 0; color: var(--ink-2); font-size: 13.5px; font-weight: 700; }
.pack .go { color: var(--green); font-size: 13.5px; font-weight: 900; margin-top: 2px; }
/* 建設・電気工事は別ページなので、1枚のカードに2本のリンクを並べる */
.pack .goRow { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2px; }
.pack .goRow .go { margin-top: 0; text-decoration: none; }
.pack .goRow .go:hover { text-decoration: underline; }
.pack.is-current { border: 2px solid var(--green); }
.pack .cur { background: var(--green); color: #fff; font-size: 11.5px; font-weight: 900; padding: 3px 10px; border-radius: 999px; width: fit-content; }

/* ============================ #event ============================ */
.eventCard {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.eventCard .figure { border-radius: 0; height: 100%; }
.eventCard .figure img { height: 100%; min-height: 300px; }
.eventBody { padding: 36px 38px; display: grid; gap: 14px; align-content: center; }
.eventBody h3 { font-size: clamp(21px, 2.4vw, 27px); margin: 0; }
.eventBody p { margin: 0; color: var(--ink-2); font-size: 15px; font-weight: 700; }
.split2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 4px 0 0; }
.splitBox { background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; padding: 15px 17px; }
.splitBox b { display: block; font-size: 14.5px; color: var(--ink); }
.splitBox span { color: var(--ink-2); font-size: 13px; font-weight: 700; }

/* ============================ #custom ============================ */
.cusGrid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 36px; align-items: center; }
.cusSteps { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: cs; }
.cusSteps li {
  display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 13px; align-items: start;
  font-size: 15px; font-weight: 700; color: var(--ink-2); line-height: 1.75;
}
.cusSteps li::before {
  counter-increment: cs; content: counter(cs);
  width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 15px;
}
.cusSteps li b { color: var(--ink); display: block; }

/* ============================ #why ============================ */
.whyGrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.why {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); padding: 26px 26px 28px; display: grid; gap: 10px; align-content: start;
}
.why i {
  width: 46px; height: 46px; border-radius: 12px; background: rgba(127,211,179,.18); color: #7fd3b3;
  display: grid; place-items: center; font-style: normal; font-size: 22px;
}
.why h3 { margin: 0; font-size: 18px; color: #fff; }
.why p { margin: 0; color: #c3d3d9; font-size: 14.5px; font-weight: 700; }
.evidenceQuote {
  margin: 30px 0 0; background: rgba(255,255,255,.06); border-left: 6px solid #7fd3b3;
  border-radius: 0 12px 12px 0; padding: 24px 28px;
}
.evidenceQuote p { margin: 0 0 8px; color: #fff; font-size: clamp(16px, 1.8vw, 19px); font-weight: 800; line-height: 1.8; }
.evidenceQuote small { display: block; color: #a7bfc8; font-size: 13px; font-weight: 700; line-height: 1.8; }

/* ============================ #price 始め方 ============================ */
.stepGrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; counter-reset: st; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 24px;
  display: grid; gap: 7px; align-content: start; box-shadow: var(--shadow); position: relative;
}
.step::before {
  counter-increment: st; content: counter(st);
  width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 17px;
}
.step b { font-size: 16.5px; }
.step span { color: var(--ink-2); font-size: 13.5px; font-weight: 700; line-height: 1.75; }
.priceBox {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center;
  margin: 30px 0 0; background: var(--navy); border-radius: var(--radius); padding: 30px 34px; color: #eef4f6;
}
.priceBox h3 { color: #fff; margin: 0 0 6px; font-size: 20px; }
.priceBox p { margin: 0; color: #c3d3d9; font-size: 14.5px; font-weight: 700; }

/* ============================ #faq ============================ */
.faqList { display: grid; gap: 12px; max-width: 940px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 24px;
  display: grid; grid-template-columns: 30px minmax(0,1fr) 22px; gap: 14px; align-items: center;
  font-size: 16px; font-weight: 900; color: var(--ink); line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; width: 30px; height: 30px; border-radius: 8px; background: var(--blue-pale); color: var(--blue);
  display: grid; place-items: center; font-size: 14px; font-weight: 900;
}
.faq summary::after { content: "＋"; color: var(--ink-3); font-size: 17px; text-align: right; }
.faq[open] summary::after { content: "−"; }
.faq .a {
  padding: 0 24px 22px 68px; color: var(--ink-2); font-size: 14.5px; font-weight: 700; line-height: 1.9;
  margin-top: -6px;
}
.faq .a b { color: var(--ink); }

/* ============================ #cta ============================ */
.faqMore {
  max-width: 940px; margin: 20px 0 0; padding: 18px 22px;
  background: var(--surface-2); border: 1px dashed var(--line); border-radius: 12px;
  color: var(--ink-2); font-size: 14.5px; font-weight: 700; line-height: 1.85;
}
.faqMore a { color: var(--amber); font-weight: 900; text-decoration: none; white-space: nowrap; }
.faqMore a:hover { text-decoration: underline; }

.ctaSec { background: linear-gradient(150deg, #0f1f2b 0%, #12384c 62%, #147050 150%); color: #fff; text-align: center; padding: 84px 0; position: relative; overflow: hidden; }
.ctaSec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: repeating-linear-gradient(135deg, var(--hazard) 0 14px, #0f1f2b 14px 28px); }
.ctaSec h2 { color: #fff; margin: 0 0 14px; }
.ctaSec p { margin: 0 auto 30px; color: #cfe0e5; font-size: 16.5px; font-weight: 700; max-width: 720px; }
.ctaSec .btnRow { justify-content: center; }
.ctaSec .note { color: #a7bfc8; }

/* ============================ #next 4ステップ ============================ */
.flow4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 0 0 30px; }
.flowStep {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 20px 20px 22px; display: grid; gap: 5px; align-content: start;
}
.flowStep .fk { color: var(--ink-3); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.flowStep b { font-size: 21px; color: var(--ink); }
.flowStep span { color: var(--ink-2); font-size: 13.5px; font-weight: 700; line-height: 1.7; }
.flowStep.is-here { background: var(--green); border-color: var(--green); }
.flowStep.is-here .fk { color: #bfe6d6; }
.flowStep.is-here b, .flowStep.is-here span { color: #fff; }
.flowStep.is-here::after {
  content: "このサービス"; position: absolute; right: 14px; top: 16px;
  background: #fff; color: var(--green-2); font-size: 11px; font-weight: 900; padding: 3px 9px; border-radius: 999px;
}
.nextGrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.nextCard {
  display: grid; grid-template-columns: 128px minmax(0,1fr); gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: var(--shadow);
}
.nextCard img { width: 100%; height: 100%; object-fit: cover; }
.nextCard .body { padding: 18px 20px; display: grid; gap: 4px; align-content: center; }
.nextCard .pos { color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.nextCard h3 { margin: 0; font-size: 16.5px; }
.nextCard p { margin: 0; color: var(--ink-2); font-size: 13.5px; font-weight: 700; }

/* ============================ フッター ============================ */
.ftr { background: var(--navy); color: #a7bfc8; padding: 44px 0 56px; font-size: 13.5px; font-weight: 700; }
.ftrIn { display: grid; gap: 18px; }
.ftrLinks { display: flex; gap: 20px; flex-wrap: wrap; }
.ftrLinks a { color: #d5e2e6; text-decoration: none; font-weight: 800; }
.ftrLinks a:hover { color: #fff; text-decoration: underline; }
.ftrNote { color: #8ba5af; font-size: 12.5px; line-height: 1.85; }

/* ============================ レスポンシブ ============================ */
@media (max-width: 1080px) {
  .probGrid, .crsGrid, .whyGrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .packGrid, .stepGrid, .flow4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sceneGrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .evGrid, .recGrid, .devGrid, .cusGrid, .eventCard { grid-template-columns: 1fr; }
  .eventCard .figure img { min-height: 240px; }
  .eventBody { padding: 28px 26px 32px; }
  .howRow { grid-template-columns: 1fr; gap: 24px; }
  .howRow:nth-child(even) .howMedia { order: 0; }
}
@media (max-width: 860px) {
  .hdrNav a:not(.hdrCta) { display: none; }
  .sec { padding: 60px 0; }
  .heroIn { padding: 64px 0 62px; }
  .nextGrid { grid-template-columns: 1fr; }
  .tryAfter { grid-template-columns: 1fr; }
  .priceBox { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .probGrid, .crsGrid, .whyGrid, .packGrid, .stepGrid, .flow4, .statRow, .split2 { grid-template-columns: 1fr; }
  .sceneGrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .heroBadges li { font-size: 13.5px; padding: 10px 14px; }
  .tryStage iframe { height: min(72vh, 460px); }
  .howRow { padding: 20px; }
  .eventBody { padding: 24px 20px 28px; }
  .faq summary { padding: 16px 18px; font-size: 15px; grid-template-columns: 28px minmax(0,1fr) 20px; gap: 11px; }
  .faq .a { padding: 0 18px 18px 57px; }
  .barRow { grid-template-columns: 104px minmax(0,1fr) 64px; gap: 9px; }
  .barRow .bLbl { font-size: 12.5px; }
  .nextCard { grid-template-columns: 100px minmax(0,1fr); }
  .btn { width: 100%; }
  .btnRow { flex-direction: column; }
}
