/* =========================================================
   monopole — 体験型 法人研修
   デザインの軸: 盤面タイルの淡色 4 色 × 木製コマの原色 4 色 × 生成りの紙
   ========================================================= */

:root {
  /* 紙とインク */
  --paper: #F3EFE7;
  --paper-2: #EAE4D7;
  --card: #FBF9F4;
  --ink: #17171A;
  --ink-2: #48474D;
  --ink-3: #66645E;
  --line: #DCD4C5;
  --line-2: #C9BFAD;

  /* コマの色 */
  --red: #D9392B;
  --red-ink: #B8291D; /* 赤い文字（エラー等）。コントラスト確保用 */
  --blue: #2457D6;
  --yellow: #F2B21B;
  --green: #1E8048;

  /* 盤面タイルの色 */
  --red-tint: #F6DED8;
  --blue-tint: #DCE5F4;
  --yellow-tint: #F5EAD4;
  --green-tint: #E1EBDC;

  /* 文字 */
  --font-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Jost", var(--font-jp);
  --font-serif: "Instrument Serif", "Times New Roman", serif;

  /* 動き */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* 寸法 */
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 76px;
  --section-y: clamp(88px, 11vw, 168px);

  /* 研修テーマの色（ページごとに上書き） */
  --pc: var(--ink);
  --pt: var(--paper-2);
  --pc-on: #fff;
  --pc-ink: var(--ink);
}

.theme-blue, .pcard--blue { --pc: var(--blue); --pt: var(--blue-tint); --pc-on: #fff; --pc-ink: #1E4CC0; }
.theme-red, .pcard--red { --pc: var(--red); --pt: var(--red-tint); --pc-on: #fff; --pc-ink: #B8291D; }
.theme-yellow, .pcard--yellow { --pc: var(--yellow); --pt: var(--yellow-tint); --pc-on: var(--ink); --pc-ink: #8A5E00; }
.theme-green, .pcard--green { --pc: var(--green); --pt: var(--green-tint); --pc-on: #fff; --pc-ink: var(--green); }
.theme-blue, .theme-red, .theme-yellow, .theme-green, .pcard { --pt-light: color-mix(in srgb, var(--pt) 52%, var(--card)); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
main section.section[id]:not(.contact-body) { scroll-margin-top: calc(var(--section-y) * -.45); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* 紙の質感（ごく薄い粒子） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-feature-settings: "palt"; letter-spacing: .04em; word-break: auto-phrase; overflow-wrap: anywhere; text-wrap: balance; }
p, li, dd, figcaption, summary { word-break: auto-phrase; }
p, li, dd, small { text-wrap: pretty; }
/* build 時に BudouX で文節の切れ目へ <wbr> を入れた要素は、その位置でだけ折り返す（Safari・Firefox も同じ挙動） */
.ln, .display, .pcard-name, .pcard-catch, .ccard-name, .ccard-catch, .closing-title, .decision-card p,
.pcard-text, .ccard-text, .phase-text, .tr-text, .refl-text, .scene figcaption span, .flow-step p, .theory-card p, .area-card p, .side-item p { word-break: keep-all; overflow-wrap: anywhere; }
.pcard-catch, .ccard-catch { text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--focus, var(--blue)); outline-offset: 3px; border-radius: 6px; }
.theme-dark, .closing-panel, .site-footer, .game-card, .gm-game { --focus: var(--yellow); }
::selection { background: var(--yellow); color: var(--ink); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.ico { width: 20px; height: 20px; flex: none; }
.ico--xs { width: 13px; height: 13px; vertical-align: -1px; margin-left: 4px; }

.section { padding: var(--section-y) 0; position: relative; }
.note { font-size: 12.5px; color: var(--ink-3); margin: 24px 0 0; }

/* ---------- typography ---------- */
.display {
  font-weight: 700;
  font-size: clamp(30px, 4.1vw, 56px);
  line-height: 1.32;
  letter-spacing: .04em;
  margin: 0;
}
.display .ln, .ln--block { display: block; }
.display--sm { font-size: clamp(26px, 3vw, 40px); }
.display--xl { font-size: clamp(36px, 5vw, 72px); line-height: 1.24; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12.5px;
  line-height: 1;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-2);
}
/* 家型の小さな印 */
.pip {
  width: 11px; height: 12px; flex: none;
  background: var(--ink);
  clip-path: polygon(50% 0, 100% 44%, 100% 100%, 0 100%, 0 44%);
}
.pip--red { background: var(--red); }
.pip--blue { background: var(--blue); }
.pip--yellow { background: var(--yellow); }
.pip--green { background: var(--green); }

.sec-head { margin-bottom: clamp(44px, 5.5vw, 80px); }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px 72px; align-items: end; }
.sec-lead { color: var(--ink-2); margin: 0; max-width: 34em; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; text-decoration: none;
  padding-bottom: 6px; border-bottom: 1.5px solid currentColor;
}
.text-link .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.text-link:hover .ico { transform: translateX(4px); }

.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-family: var(--font-en); font-size: 11.5px; letter-spacing: .16em; }
.chip--line { border: 1px solid var(--ink); }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: var(--paper); --b-bd: var(--ink); --i-bg: var(--paper); --i-fg: var(--ink);
  display: inline-flex; align-items: center; gap: 16px;
  min-height: 58px; padding: 9px 9px 9px 28px;
  border-radius: 999px; border: 1.5px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg);
  font: 700 15px/1.3 var(--font-jp); letter-spacing: .06em;
  text-decoration: none; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--i-bg); color: var(--i-fg); transition: transform .45s var(--ease), background .3s, color .3s; }
.btn-ico .ico { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(23, 23, 26, .55); }
.btn:hover .btn-ico { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--ink:hover { --b-bg: #2B2B30; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); --i-bg: var(--ink); --i-fg: var(--paper); }
.btn--ghost:hover { --b-bg: var(--ink); --b-fg: var(--paper); --i-bg: var(--paper); --i-fg: var(--ink); }
.btn--paper { --b-bg: var(--paper); --b-fg: var(--ink); --b-bd: var(--paper); --i-bg: var(--ink); --i-fg: var(--paper); }
.btn--paper:hover { --b-bg: #fff; --b-bd: #fff; }
.btn--ghost-light { --b-bg: transparent; --b-fg: var(--paper); --b-bd: rgba(243, 239, 231, .45); --i-bg: var(--paper); --i-fg: var(--ink); }
.btn--ghost-light:hover { --b-bg: var(--paper); --b-fg: var(--ink); --b-bd: var(--paper); --i-bg: var(--ink); --i-fg: var(--paper); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 13.5px; }
.btn--sm:hover { box-shadow: none; }
.btn--lg { min-height: 66px; padding-left: 34px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); transition: background .35s, box-shadow .35s; }
.is-program .site-header:not(.is-scrolled), .is-examples .site-header:not(.is-scrolled) { background: var(--pt-light); }
.site-header.is-scrolled { background: rgba(243, 239, 231, .86); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex: none; }
.brand .mark { width: 38px; height: 38px; overflow: visible; }
.wordmark {
  display: block; width: 112px; aspect-ratio: 848 / 168;
  background: currentColor;
  -webkit-mask: url(../img/logo-wordmark.svg) center / contain no-repeat;
  mask: url(../img/logo-wordmark.svg) center / contain no-repeat;
}
.mark-flag { transform-box: fill-box; transform-origin: 0% 50%; }
.brand:hover .mark-flag, .ring-center:hover .mark-flag { animation: flag 1.1s ease-in-out infinite; }
@keyframes flag { 0%, 100% { transform: none; } 50% { transform: scaleX(.78) skewY(-10deg); } }

.gnav { margin-left: auto; }
.gnav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gnav-item { position: relative; }
.gnav-link, .gnav-trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); font: 500 14px/1.4 var(--font-jp); letter-spacing: .06em;
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .25s;
}
.gnav-trigger .ico { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.gnav-link:hover, .gnav-trigger:hover, .has-menu.is-open .gnav-trigger { background: rgba(23, 23, 26, .06); }
.gnav-link[aria-current], .gnav-trigger.is-current { background: rgba(23, 23, 26, .08); }
.has-menu.is-open .gnav-trigger .ico { transform: rotate(180deg); }

/* 研修テーマのメニュー（3研修 → その下に MARKETING BASICS） */
.gnav-menu {
  position: absolute; top: 100%; left: -14px; z-index: 70; width: 400px; padding-top: 14px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.has-menu.is-open .gnav-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .3s var(--ease), visibility 0s; }
html:not(.js) .has-menu:hover .gnav-menu, html:not(.js) .has-menu:focus-within .gnav-menu { opacity: 1; visibility: visible; transform: none; }
.gm-card { padding: 12px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(45, 34, 20, .45); }
.gm-label { margin: 6px 12px 4px; font-family: var(--font-en); font-size: 10.5px; letter-spacing: .24em; color: var(--ink-3); }
.gm-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding: 10px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background .2s; }
.gm-link:hover { background: var(--paper); }
.gm-text b { display: block; font-size: 14.5px; line-height: 1.5; letter-spacing: .04em; }
.gm-text small { display: block; font-size: 11.5px; line-height: 1.5; color: var(--ink-2); }
.gm-link > .ico, .gm-all > .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.gm-link > .ico { color: var(--ink-3); }
.gm-link:hover > .ico, .gm-all:hover > .ico { transform: translateX(3px); }
.gm-game { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: var(--paper); text-decoration: none; }
.gm-game-t { display: grid; gap: 6px; }
.gm-game small { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: rgba(243, 239, 231, .72); }
.gm-game .mb-logo { width: 150px; margin: 0; }
.gm-game > .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.gm-game:hover > .ico { transform: translateX(3px); }
.gm-tree { display: grid; gap: 2px; list-style: none; margin: 6px 0 0 24px; padding: 0 0 0 12px; border-left: 1.5px solid var(--line-2); }
.gm-tree li { position: relative; }
.gm-tree li::before { content: ""; position: absolute; left: -12px; top: 50%; width: 10px; border-top: 1.5px solid var(--line-2); }
.gm-all-t { display: grid; gap: 2px; }
.gm-all-t b { font-size: 13px; }
.gm-all-t small { font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.gm-all > .ico { margin-left: auto; }
.gm-all { display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin: 10px 4px 2px; padding-left: 8px; padding-right: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--ink); text-decoration: none; }
.header-cta { display: flex; gap: 8px; flex: none; }

.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; place-items: center; color: var(--ink); }
.menu-bars { position: relative; width: 18px; height: 10px; display: block; }
.menu-bars span { position: absolute; left: 0; width: 100%; height: 1.75px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-bars span:first-child { top: 0; }
.menu-bars span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-bars span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:last-child { top: 4px; transform: rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 55; background: var(--paper); padding: calc(var(--header-h) + 16px) 0 40px; overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer-nav { list-style: none; padding: 0; margin: 0 0 36px; }
.drawer-nav a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: clamp(22px, 6vw, 30px); font-weight: 700; letter-spacing: .04em; }
.drawer-no { font-family: var(--font-en); font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: .1em; }
.drawer-sub { display: grid; list-style: none; margin: 0; padding: 6px 0 10px 34px; border-bottom: 1px solid var(--line); }
.drawer-nav .drawer-sub a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 11px 0; border-bottom: 0; font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.drawer-sub li + li a { border-top: 1px dashed var(--line); }
.drawer-sub small { flex-basis: 100%; padding-left: 23px; font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.drawer-nav .drawer-sub .drawer-game > a { flex-direction: column; align-items: flex-start; gap: 6px; margin: 6px 0 2px; padding: 14px 16px; border-radius: 14px; background: var(--ink); color: var(--paper); }
.drawer-game .mb-logo { width: 150px; margin: 0; }
.drawer-sub .drawer-game small { flex-basis: auto; padding: 0; color: rgba(243, 239, 231, .72); }
.drawer-tree { list-style: none; margin: 2px 0 6px 18px; padding: 0 0 0 12px; border-left: 1.5px solid var(--line-2); }
.drawer-nav li:has(> .drawer-sub) > a { border-bottom: 0; }
.drawer.is-open .drawer-nav > li { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
.drawer-foot { margin-top: 36px; font-size: 12px; color: var(--ink-3); }
body.is-locked { overflow: hidden; }

/* ---------- reveal ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero { padding: clamp(8px, 2vw, 24px) 0 clamp(40px, 5vw, 72px); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 16px 32px; align-items: center; min-height: min(680px, calc(100svh - var(--header-h) - 130px)); }
.hero-title { font-size: clamp(44px, 5.8vw, 88px); font-weight: 700; line-height: 1.14; letter-spacing: .03em; margin: 0 0 24px; }
.hero-title .ln { display: block; white-space: nowrap; }
.hero-en { font-family: var(--font-serif); font-size: clamp(26px, 2.5vw, 38px); line-height: 1.15; color: var(--ink-2); margin: 0 0 26px; letter-spacing: 0; }
.hero-en em { color: var(--red); }
.hero-lead { color: var(--ink-2); font-size: clamp(15px, 1.2vw, 17px); margin: 0 0 34px; }
.hero-lead .ln { display: block; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 34px 0 0; font-size: 13px; color: var(--ink-3); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 8px; height: 9px; background: var(--line-2); clip-path: polygon(50% 0, 100% 44%, 100% 100%, 0 100%, 0 44%); }
html.js .hero-copy > * { animation: rise 1s var(--ease) both; }
html.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
html.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
html.js .hero-copy > :nth-child(4) { animation-delay: .24s; }
html.js .hero-copy > :nth-child(5) { animation-delay: .32s; }
html.js .hero-copy > :nth-child(6) { animation-delay: .4s; }

.hero-board { position: relative; }
.board-frame { position: relative; width: 116%; margin-left: -7%; }
.board-svg { display: block; width: 100%; height: auto; overflow: visible; }
.b-tile { cursor: pointer; }
.b-tile .b-face { transition: stroke .2s; stroke: transparent; stroke-width: 2.5; }
@media (hover: hover) { .b-tile:hover .b-face { stroke: var(--ink); } }
.b-pc { transition: transform .64s cubic-bezier(.45, 0, .25, 1); }
.b-pc-shadow { fill: rgba(45, 34, 20, .3); transform-box: fill-box; transform-origin: center; }
.b-pc-hop { transform-box: fill-box; transform-origin: 50% 100%; }
.b-pc.is-hop .b-pc-hop { animation: bhop .64s cubic-bezier(.3, 0, .3, 1); }
.b-pc.is-hop .b-pc-shadow { animation: bshadow .64s ease-in-out; }
@keyframes bhop { 0% { transform: none; } 45% { transform: translateY(-40px); } 82% { transform: translateY(0) scale(1.06, .88); } 100% { transform: none; } }
@keyframes bshadow { 45% { transform: scale(.55); opacity: .45; } }
html.js .b-tile { animation: tileIn .9s var(--ease) both; animation-delay: calc(var(--i) * 28ms + .1s); }
html.js .b-pc-hop { animation: pieceIn .7s var(--ease-spring) both; animation-delay: calc(var(--i) * 45ms + .7s); }
html.js .is-ready .b-tile, html.js .is-ready .b-pc-hop { animation: none; }
html.js .is-ready .b-pc.is-hop .b-pc-hop { animation: bhop .64s cubic-bezier(.3, 0, .3, 1); }
@keyframes tileIn { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: none; } }
@keyframes pieceIn { from { opacity: 0; transform: translateY(-70px); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }

.hud {
  position: absolute; bottom: 1%; right: -3%;
  width: 176px; padding: 14px 16px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 22px 44px -28px rgba(45, 34, 20, .45);
}
html.js .hud { animation: rise .9s var(--ease) 1.4s both; }
.hud-label { font-family: var(--font-en); font-size: 9.5px; letter-spacing: .22em; color: var(--ink-3); margin: 0; }
.hud-month { display: flex; align-items: baseline; gap: 4px; margin: 4px 0 10px; font-family: var(--font-en); line-height: 1; }
.hud-fy { font-size: 10px; letter-spacing: .14em; color: var(--ink-3); margin-right: 4px; }
.hud-month b { font-size: 36px; font-weight: 500; }
.hud-month small { font-size: 13px; font-family: var(--font-jp); font-weight: 700; }
.hud-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; align-items: end; height: 46px; }
.hud-bars i { display: block; height: var(--h); background: var(--paper-2); border-radius: 2px; transition: background .5s, transform .5s var(--ease); transform-origin: bottom; }
.hud-bars i.is-on { background: var(--ink); }
.hud-bars i.is-now { background: var(--c, var(--red)); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1.5px solid var(--ink); padding: 20px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.mq-word { font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; white-space: nowrap; letter-spacing: .06em; line-height: 1.2; }
.mq-word--en { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: 0; }
.mq-pc .piece { display: block; width: 28px; height: 31px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about teaser ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px 80px; align-items: center; }
.about-body p { color: var(--ink-2); }
.about-body .text-link { margin-top: 12px; }

/* ---------- method ---------- */
.method, .a-method { background: var(--paper-2); }
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.phase { position: relative; background: var(--card); border-radius: var(--radius-lg); padding: 30px 30px 34px; }
.phases .phase:not(:last-child)::after {
  content: ""; position: absolute; z-index: 1; top: 50%; right: -17px; width: 34px; height: 34px; margin-top: -17px;
  border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3EFE7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.phase-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; }
.phase-no { font-family: var(--font-serif); font-size: 60px; line-height: .8; }
.phase-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--paper); }
.phase-ico .ico { width: 24px; height: 24px; }
.phase-en { font-family: var(--font-en); font-size: 12px; letter-spacing: .24em; color: var(--ink-3); margin: 0 0 4px; }
.phase-ja { font-size: 20px; margin: 0 0 10px; }
.phase-text { font-size: 14.5px; color: var(--ink-2); margin: 0; }

/* すごろく型のトラック */
.track { --cell: clamp(76px, 10vw, 140px); position: relative; margin-top: clamp(40px, 5vw, 72px); padding-top: 58px; }
.track-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; position: relative; }
.track .track-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: calc(var(--cell) / 2); border-top: 2px dashed var(--line-2); }
.track-step { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; position: relative; }
.track-cell {
  position: relative; display: grid; place-items: center; width: var(--cell); aspect-ratio: 1;
  border-radius: 24px; background: var(--card); border: 1.5px solid var(--ink);
  transition: background .5s var(--ease), transform .5s var(--ease-spring), box-shadow .5s;
}
.track-cell b { font-size: clamp(14px, 1.55vw, 22px); letter-spacing: .04em; white-space: nowrap; }
.track-no { position: absolute; top: 10px; left: 12px; font-family: var(--font-en); font-size: 11px; color: var(--ink-3); line-height: 1; }
.track-step small { font-size: 13px; color: var(--ink-2); }
.track-step.is-on .track-cell { background: var(--ct); box-shadow: inset 0 0 0 4px var(--card); }
.track-step.is-now .track-cell { transform: translateY(-4px); }
.track-pc { position: absolute; top: 0; left: calc(var(--p, 0) * 25% + 12.5%); transform: translateX(-50%); transition: left .7s cubic-bezier(.45, 0, .25, 1); z-index: 2; }
.track-pc .piece { display: block; width: 44px; height: 48px; transform-origin: 50% 100%; }
.track-pc.is-hop .piece { animation: hop2 .7s cubic-bezier(.3, 0, .3, 1); }
@keyframes hop2 { 0% { transform: none; } 42% { transform: translateY(-26px); } 80% { transform: translateY(0) scale(1.07, .88); } 100% { transform: none; } }

/* ---------- programs ---------- */
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.program-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcard {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 30px 26px; border-radius: var(--radius-lg);
  background: var(--pt-light); color: var(--ink); text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -36px rgba(45, 34, 20, .5); background: var(--pt); }
.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.pcard-no { font-family: var(--font-serif); font-size: 66px; line-height: .8; }
.pcard-token { position: relative; width: 96px; height: 96px; flex: none; }
.pcard-token .tile-art { display: block; width: 100%; height: 100%; filter: drop-shadow(0 8px 10px rgba(45, 34, 20, .16)); transform: rotate(-4deg); }
.pcard-pc { position: absolute; left: 50%; bottom: 8px; margin-left: -14px; }
.pcard-pc .piece { display: block; width: 30px; height: 33px; transform-origin: 50% 100%; }
.pcard:hover .pcard-pc .piece { animation: hop2 .7s cubic-bezier(.3, 0, .3, 1); }
.pcard-name { font-size: clamp(22px, 2vw, 27px); margin: 0 0 4px; line-height: 1.4; }
.pcard-catch { font-weight: 700; color: var(--ink-2); margin: 0; }
.pcard-text { font-size: 14px; color: var(--ink-2); margin: 16px 0 22px; }
.pcard-keys { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 26px; }
.pcard-keys li { font-size: 12px; line-height: 1.5; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(23, 23, 26, .08); }
.pcard-more { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid rgba(23, 23, 26, .14); font-weight: 700; font-size: 14.5px; }
.pcard-more .ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--ink); color: var(--paper); transition: transform .45s var(--ease); }
.pcard:hover .pcard-more .ico { transform: translateX(4px); }

.coming { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.coming-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 13.5px; color: var(--ink-2); margin: 0 0 22px; }
.coming-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.ccard { border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: 24px 24px 26px; }
.ccard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--ink-3); }
.ccard-no { font-family: var(--font-serif); font-size: 38px; line-height: .8; }
.ccard-ico .ico { width: 24px; height: 24px; }
.ccard-name { font-size: 19px; margin: 0 0 2px; }
.ccard-catch { font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin: 0 0 10px; }
.ccard-text { font-size: 13.5px; color: var(--ink-3); margin: 0; }

/* ---------- dark sections ---------- */
.theme-dark { background: var(--ink); color: var(--paper); }
.theme-dark .eyebrow { color: rgba(243, 239, 231, .66); }
.theme-dark .sec-lead { color: rgba(243, 239, 231, .72); }

/* ---------- game teaser ---------- */
.mb-logo {
  display: block; width: min(330px, 82%); aspect-ratio: 1476 / 313; margin: 6px 0 30px;
  background: currentColor;
  -webkit-mask: url(../img/mb-logo.png) center / contain no-repeat;
  mask: url(../img/mb-logo.png) center / contain no-repeat;
}
.mb-logo--lg { width: min(440px, 92%); }
.area-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--c); color: #fff; flex: none; }
.area-ico .ico { width: 20px; height: 20px; }
.area-ico--yellow { color: var(--ink); }
.gv { position: absolute; margin: 0; border-radius: 24px; overflow: hidden; background: #F6F5F1; box-shadow: 0 44px 80px -44px rgba(0, 0, 0, .7); }
.gv img { width: 100%; height: 100%; object-fit: cover; }
.gv--board { top: 0; right: 0; width: 86%; aspect-ratio: 3 / 2; }
.gv--box { left: 0; bottom: 0; width: 54%; aspect-ratio: 4 / 3; border: 6px solid var(--ink); }
.g-hero .gv--box { border-color: var(--paper); }

/* ---------- scenes ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 44px 24px; align-items: start; }
.scene { margin: 0; }
.scene--1 { grid-column: 1 / span 7; }
.scene--2 { grid-column: 9 / span 4; align-self: end; }
.scene--3 { grid-column: 2 / span 5; }
.scene--4 { grid-column: 7 / span 6; margin-top: clamp(40px, 8vw, 120px); }
.scene-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.scene-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.scene:hover .scene-img img { transform: scale(1.045); }
.scene figcaption { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; margin-top: 16px; }
.scene-no { grid-row: span 2; font-family: var(--font-serif); font-size: 30px; line-height: 1.1; }
.scene figcaption b { font-size: 17px; line-height: 1.5; }
.scene figcaption span:last-child { font-size: 13.5px; color: var(--ink-2); }


/* ---------- flow ---------- */
.flow-track { position: relative; padding-top: 66px; }
.flow-track::before { content: ""; position: absolute; left: 0; right: 0; top: 46px; border-top: 2px dashed var(--line-2); }
.flow-flag { position: absolute; top: 34px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; height: 26px; border-radius: 999px; font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; background: var(--paper); border: 1.5px solid var(--ink); line-height: 1; }
.flow-flag--start { left: 0; }
.flow-flag--goal { right: 0; background: var(--ink); color: var(--paper); }
.flow-flag .ico { width: 13px; height: 13px; color: var(--yellow); }
.flow-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.flow-step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 24px; }
.flow-no { display: block; font-family: var(--font-serif); font-size: 36px; line-height: .9; margin-bottom: 22px; }
.flow-ico { position: absolute; top: 20px; right: 16px; color: var(--ink-3); }
.flow-ico .ico { width: 20px; height: 20px; }
.flow-step h3 { font-size: 15.5px; margin: 0 0 6px; line-height: 1.5; }
.flow-step p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.75; }
.flow-track .track-pc { top: -4px; left: calc((var(--p, 0) + .5) / 6 * 100%); }
.flow-track .track-pc .piece { width: 38px; height: 42px; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 44px 80px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-head p { color: var(--ink-2); margin: 20px 0 28px; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item:first-child { border-top: 1px solid var(--line-2); }
.faq-item summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 26px 4px; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; line-height: 1.6; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q, .faq-al { font-family: var(--font-serif); font-size: 32px; line-height: 1; font-weight: 400; }
.faq-q { color: var(--blue); }
.faq-al { color: var(--red); }
.faq-pm { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); transition: background .3s, transform .45s var(--ease); }
.faq-pm::before, .faq-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.75px; margin: -.9px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease); }
.faq-pm::after { transform: rotate(90deg); }
.faq-item[open] .faq-pm { background: var(--ink); color: var(--paper); }
.faq-item[open] .faq-pm::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 0 4px 28px; }
.faq-a p { margin: 0; color: var(--ink-2); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: hidden; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}

/* ---------- closing ---------- */
.closing { padding: calc(var(--section-y) * .6) 0 calc(var(--section-y) * .7); }
.closing-panel {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 96px);
  border-radius: clamp(24px, 3vw, 40px);
  background-color: var(--ink); color: var(--paper);
  background-image: linear-gradient(rgba(243, 239, 231, .045) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(243, 239, 231, .045) 1.5px, transparent 1.5px);
  background-size: 72px 72px; background-position: center;
}
.closing-panel .eyebrow { color: rgba(243, 239, 231, .7); }
.closing-en { font-family: var(--font-serif); font-style: italic; font-size: clamp(64px, 11vw, 172px); line-height: .92; letter-spacing: -.01em; margin: 0 0 28px; }
.closing-title { font-size: clamp(21px, 2.4vw, 32px); margin: 0 0 12px; line-height: 1.5; }
.closing-text { color: rgba(243, 239, 231, .74); margin: 0 0 40px; }
.closing .btn-row { justify-content: center; }
.closing-pc { position: absolute; animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.4s); }
.closing-pc .piece { display: block; width: clamp(34px, 4vw, 56px); height: auto; }
.closing-pc:nth-child(1) { left: 7%; top: 16%; transform: rotate(-8deg); }
.closing-pc:nth-child(2) { right: 9%; top: 12%; }
.closing-pc:nth-child(3) { left: 13%; bottom: 14%; }
.closing-pc:nth-child(4) { right: 6%; bottom: 20%; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(64px, 8vw, 104px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 48px; }
.brand--light { color: var(--paper); }
.footer-brand p { margin: 16px 0 0; font-size: 13px; color: rgba(243, 239, 231, .6); }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-h { font-family: var(--font-en); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(243, 239, 231, .5); margin: 0 0 16px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-nav a { display: inline-block; padding-block: 5px; text-decoration: none; font-size: 14px; color: rgba(243, 239, 231, .86); transition: color .2s; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-company { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(243, 239, 231, .14); font-size: 13px; color: rgba(243, 239, 231, .66); }
.footer-company p { margin: 0; }
.footer-company a { color: var(--paper); text-decoration: none; }
.footer-company a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-giant { width: min(100% - 2 * var(--gutter), var(--container)); margin: clamp(40px, 6vw, 80px) auto 0; }
.footer-giant .wordmark { width: 100%; color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 28px; font-size: 12px; color: rgba(243, 239, 231, .5); }
.to-top { color: rgba(243, 239, 231, .7); text-decoration: none; font-family: var(--font-en); letter-spacing: .2em; font-size: 11px; }
.to-top:hover { color: #fff; }

/* =========================================================
   研修詳細ページ
   ========================================================= */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; padding: 0; margin: 0 0 clamp(28px, 4vw, 52px); font-size: 12.5px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

.p-hero { background: var(--pt-light); padding-top: 18px; }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.p-kicker { display: flex; align-items: center; gap: 18px; margin: 0 0 30px; }
.p-no { font-family: var(--font-serif); font-size: 76px; line-height: .78; }
.p-kicker-t { display: grid; padding-left: 18px; border-left: 1.5px solid var(--ink); line-height: 1.5; }
.p-kicker-t small { font-family: var(--font-en); font-size: 11px; letter-spacing: .26em; color: var(--ink-3); }
.p-kicker-t b { font-size: 15px; }
.p-title { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.26; letter-spacing: .03em; margin: 0 0 26px; }
.p-title .ln { display: block; }
.p-lead { color: var(--ink-2); max-width: 32em; margin: 0 0 22px; }
.p-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 8px 7px 12px; border-radius: 999px; background: var(--card); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: background .25s, box-shadow .25s; }
.p-badge .ico { width: 16px; height: 16px; color: var(--pc-ink); }
.p-badge-more { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding: 3px 10px; border-radius: 999px; background: var(--paper); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.p-badge-more .ico { width: 13px; height: 13px; color: currentColor; transition: transform .3s var(--ease); }
.p-badge:hover { background: #fff; box-shadow: 0 8px 18px -12px rgba(45, 34, 20, .5); }
.p-badge:hover .p-badge-more .ico { transform: translateX(3px); }
html.js .p-hero-copy > * { animation: rise .9s var(--ease) both; }
html.js .p-hero-copy > :nth-child(2) { animation-delay: .08s; }
html.js .p-hero-copy > :nth-child(3) { animation-delay: .16s; }
html.js .p-hero-copy > :nth-child(4) { animation-delay: .24s; }
html.js .p-hero-copy > :nth-child(5) { animation-delay: .32s; }
.p-hero-media { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.3; }
.p-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.p-hero-media figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; width: fit-content; padding: 11px 18px; border-radius: 14px; background: rgba(251, 249, 244, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 700; line-height: 1.5; }
.p-hero-media figcaption span { display: block; font-family: var(--font-en); font-size: 10px; font-weight: 500; letter-spacing: .22em; color: var(--ink-3); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(44px, 5vw, 72px) 0 0; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.facts > div { padding: 24px 28px 26px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); }
.facts dt .ico { width: 16px; height: 16px; }
.facts dd { margin: 4px 0 0; font-size: clamp(16px, 1.5vw, 20px); font-weight: 700; }


.ba { display: grid; gap: 16px; }
.ba-card { border-radius: var(--radius-lg); padding: 30px 32px 32px; }
.ba-card--before { background: var(--card); }
.ba-card--after { background: var(--pt); }
.ba-card header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ba-tag { font-family: var(--font-en); font-size: 10.5px; letter-spacing: .24em; padding: 6px 10px; border-radius: 7px; background: var(--ink); color: var(--paper); line-height: 1; }
.ba-card--before .ba-tag { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ba-card h3 { font-size: 19px; margin: 0; }
.ba-card ul, .ba-card ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ba-card li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.7; }
.ba-card--before .ico { width: 20px; height: 20px; margin-top: 3px; color: var(--ink-3); }
.ba-card--after li b { font-family: var(--font-serif); font-weight: 400; font-size: 26px; line-height: 1; width: 34px; flex: none; }
.ba-card--after li { padding-bottom: 12px; border-bottom: 1px solid rgba(23, 23, 26, .1); }
.ba-card--after li:last-child { padding-bottom: 0; border-bottom: 0; }

.theory { background: var(--paper-2); }
.theory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.theory-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius-lg); padding: 18px 18px 22px; }
.theory-vis { border-radius: 16px; background: var(--pt-light); padding: 18px 14px; margin-bottom: 20px; }
.tv { display: block; width: 100%; height: auto; overflow: visible; }
.tv-fill { fill: var(--pc); }
.tv-soft { fill: #fff; stroke: var(--pc); stroke-width: 1.3; }
.tv-ring { fill: none; stroke: var(--pc); stroke-width: 1.3; stroke-dasharray: 3 4; }
.tv-ring-fill { fill: var(--pt); stroke: var(--pc); stroke-width: 1.3; }
.tv-orbit { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 4; }
.tv-t { font-family: var(--font-jp); font-size: 15px; font-weight: 700; fill: var(--ink); letter-spacing: .02em; }
.tv-t--inv { fill: var(--pc-on); }
.tv-t--s { font-size: 11.5px; }
.tv-t--xs { font-size: 10px; }
.tv-line { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tv-line--strong { stroke: var(--pc); stroke-width: 2.4; }
.tv-line--soft { stroke: var(--ink-3); stroke-width: 1.8; }
.tv-line--dash { stroke-dasharray: 3 3; stroke: var(--ink-3); }
.tv-axis { fill: none; stroke: var(--ink-3); stroke-width: 1; }
.tv-arrow { fill: var(--ink); }
.theory-idx { font-family: var(--font-en); font-size: 11px; letter-spacing: .24em; color: var(--ink-3); margin: 0 4px 6px; }
.theory-card h3 { font-size: 20px; margin: 0 4px 6px; }
.theory-card h3 small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; letter-spacing: .04em; color: var(--ink-2); }
.theory-card p { font-size: 14px; color: var(--ink-2); margin: 0 4px; line-height: 1.75; }
.theory-card .theory-tag { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.theory-tag .ico { width: 14px; height: 14px; }


.decision-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.decision-card { position: relative; min-height: 250px; padding: 26px 24px 90px; border-radius: var(--radius-lg); background: rgba(243, 239, 231, .06); border: 1px solid rgba(243, 239, 231, .14); transition: background .4s, border-color .4s; }
.decision-card:hover { background: rgba(243, 239, 231, .1); border-color: rgba(243, 239, 231, .3); }
.decision-no { font-family: var(--font-en); font-size: 12px; letter-spacing: .22em; color: color-mix(in srgb, var(--pc) 62%, #fff); }
.decision-card p { margin: 16px 0 0; font-size: clamp(18px, 1.55vw, 22px); font-weight: 700; line-height: 1.55; color: var(--paper); letter-spacing: .04em; }
.decision-pc { position: absolute; right: 22px; bottom: 22px; }
.decision-pc .piece { display: block; width: 40px; height: 44px; transform-origin: 50% 100%; }
.decision-card:hover .decision-pc .piece { animation: hop2 .7s cubic-bezier(.3, 0, .3, 1); }

.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 83px; top: 22px; bottom: 22px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 44px; padding: 13px 0; align-items: baseline; border-bottom: 1px dashed var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline li::after { content: ""; position: absolute; left: 78px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.timeline li.is-game::after { background: var(--pc-ink); border-color: var(--pc-ink); }
.timeline time { font-family: var(--font-en); font-size: 20px; font-weight: 500; text-align: right; }
.timeline li.is-game span { font-weight: 700; }

.voices { background: var(--paper-2); }
.voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.voice { margin: 0; padding: 28px; border-radius: var(--radius-lg); background: var(--card); }
.voice .ico { width: 28px; height: 28px; color: var(--pc); }
.voice h3 { font-size: 18px; margin: 14px 0 8px; }
.voice p { color: var(--ink-2); font-size: 14.5px; }
.voice footer { font-size: 12px; color: var(--ink-3); }

.others { padding-bottom: calc(var(--section-y) * .4); }
.outcome + .others { padding-top: calc(var(--section-y) * .45); }

/* =========================================================
   MARKETING BASICS
   ========================================================= */
.g-hero { padding: 18px 0 var(--section-y); }
.g-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px 64px; align-items: center; }
.g-hero-copy .display { margin-bottom: 24px; }
.g-hero-copy > p { color: var(--ink-2); margin: 0; max-width: 32em; }
.g-hero-visual { position: relative; aspect-ratio: 1 / .86; }
.g-hero .gv { box-shadow: 0 40px 70px -40px rgba(45, 34, 20, .5); }

.g-areas { background: var(--paper-2); }
.area-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.area-card { position: relative; padding: 28px 26px 30px; border-radius: var(--radius-lg); background: var(--t); }
.area-card--blue { --t: var(--blue-tint); }
.area-card--red { --t: var(--red-tint); }
.area-card--green { --t: var(--green-tint); }
.area-card--yellow { --t: var(--yellow-tint); }
.area-no { display: block; font-family: var(--font-serif); font-size: 46px; line-height: .8; margin-bottom: 34px; }
.area-card .area-ico { position: absolute; top: 24px; right: 24px; }
.area-card h3 { font-size: 21px; margin: 0 0 6px; }
.area-card p { font-size: 14px; color: var(--ink-2); margin: 0; }

.component-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .9fr); gap: 20px; align-items: end; }
.component { margin: 0; }
.component-img { border-radius: var(--radius-lg); overflow: hidden; background: #F6F5F1; aspect-ratio: 4 / 3; }
.component-img img { width: 100%; height: 100%; object-fit: cover; }
.component--2 .component-img { aspect-ratio: 3 / 2.1; background: #fff; padding: 14px; }
.component--2 .component-img img { object-fit: contain; }
.component figcaption { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; font-weight: 700; }
.component figcaption span { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 1; }

.cycle-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px 64px; align-items: center; }
.cycle-grid .sec-lead { margin-top: 24px; }
.ring { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring-path { fill: none; stroke: rgba(243, 239, 231, .22); stroke-width: 1.5; stroke-dasharray: 4 7; }
.ring.is-paused .ring-run { animation-play-state: paused; }
.ring-run { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 70 872.5; transform-origin: 200px 200px; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ring-center { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; justify-items: center; gap: 10px; color: var(--paper); }
.ring-center .mark { width: 22cqw; height: 22cqw; }
.ring-center span { font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; color: rgba(243, 239, 231, .6); }
.ring-steps { list-style: none; padding: 0; margin: 0; }
.ring-steps li { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(var(--a)) translateX(37.5cqw) rotate(calc(var(--a) * -1)); }
.ring-node { display: grid; justify-items: center; gap: 2px; min-width: 112px; padding: 10px 14px 12px; border-radius: 16px; background: var(--paper); color: var(--ink); font-size: 13.5px; font-weight: 700; line-height: 1.4; white-space: nowrap; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .6); }
.ring-node b { font-family: var(--font-serif); font-weight: 400; font-size: 22px; line-height: 1; }

/* =========================================================
   about / contact / 404
   ========================================================= */
.a-hero, .c-hero { padding-top: 18px; }
.a-hero { padding-bottom: calc(var(--section-y) * .6); }
.a-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); gap: 40px; align-items: end; }
.a-hero-mark .mark { display: block; width: 100%; max-width: 260px; height: auto; margin-left: auto; color: var(--ink); }
.mark--draw circle { stroke-linecap: round; }
html.js .mark--draw circle, html.js .mark--draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease) forwards; }
html.js .mark--draw path:nth-of-type(1) { animation-delay: .5s; }
html.js .mark--draw path:nth-of-type(2) { animation-delay: 1.1s; }
html.js .mark--draw path:nth-of-type(3) { animation-delay: 1.4s; animation-duration: 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.story-grid, .company-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 80px; align-items: start; }
.story-body p { color: var(--ink-2); margin: 0 0 1.5em; }
.story-body .story-first { font-size: clamp(18px, 1.7vw, 23px); font-weight: 700; line-height: 1.8; color: var(--ink); }
.company-table { margin: 0; border-top: 1.5px solid var(--ink); }
.company-table > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.company-table dt { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.company-table dd { margin: 0; }
.company-table a { text-decoration: none; border-bottom: 1px solid currentColor; }

.c-hero { padding-bottom: clamp(36px, 5vw, 64px); }
.c-lead { color: var(--ink-2); margin: 24px 0 0; }
.contact-body { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 32px 64px; align-items: start; }
.contact-side { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 14px; }
.side-item { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--card); }
.side-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); flex: none; }
.side-item h2 { font-size: 16.5px; margin: 0 0 4px; line-height: 1.5; }
.side-item p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.75; }
.mini-flow { list-style: none; padding: 18px 24px; margin: 0; border-radius: var(--radius); border: 1.5px dashed var(--line-2); display: grid; gap: 8px; }
.mini-flow li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }
.mini-flow span { font-family: var(--font-en); font-size: 11px; font-weight: 500; color: var(--ink-3); letter-spacing: .14em; }

.form-wrap { padding: clamp(24px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--card); }
.form { display: grid; gap: 28px; }
.f-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.f-label { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 0; font-size: 14px; font-weight: 700; line-height: 1.5; }
.req { display: inline-block; padding: 2px 8px; border-radius: 5px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; }
.opt { font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin: 0; padding: 14px 16px;
  font: 500 16px/1.6 var(--font-jp); color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-radius: 12px;
  transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field ::placeholder { color: var(--ink-3); opacity: .8; }
.form .field [aria-invalid="true"] { border-color: var(--red-ink) !important; background: #FFF4F1 !important; }
.f-msg { margin: 6px 0 0; font-size: 12.5px; font-weight: 700; color: var(--red-ink); }
.f-msg--agree { margin-top: -18px; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.75px solid var(--ink); border-bottom: 1.75px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.seg, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-item, .chip-check { position: relative; }
.seg-item input, .chip-check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-item span, .chip-check span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); font-size: 14px; font-weight: 700; line-height: 1.4; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.seg-item input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip-check span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-2); transition: background .2s, border-color .2s; }
.chip-check input:checked + span { border-color: var(--ink); background: var(--yellow-tint); }
.chip-check input:checked + span::before { border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.seg-item input:focus-visible + span, .chip-check input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.seg-item:hover span, .chip-check:hover span { border-color: var(--ink); }
.agree { display: flex; align-items: center; gap: 12px; font-size: 14.5px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.agree a { font-weight: 700; }
.agree .req { margin-left: 8px; }
.agree.is-invalid { color: var(--red-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-top: 6px; }
.f-pending { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.f-error { margin: 0; font-size: 14px; font-weight: 700; color: var(--red-ink); }
.form button[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.form-done { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 40px 16px; }
.form-done[hidden] { display: none; }
.form-done h2 { font-size: 26px; margin: 0; }
.form-done p { color: var(--ink-2); margin: 0 0 12px; }
.done-pc .piece { display: block; width: 56px; height: 62px; transform-origin: 50% 100%; animation: hop2 .9s cubic-bezier(.3, 0, .3, 1) .2s; }

.nf { padding: var(--section-y) 0; }
.nf-inner { display: grid; justify-items: center; gap: 14px; text-align: center; }
.nf-tile { width: 132px; transform: rotate(-6deg); filter: drop-shadow(0 16px 20px rgba(45, 34, 20, .2)); }
.nf-code { font-family: var(--font-serif); font-size: clamp(88px, 14vw, 160px); line-height: .9; margin: 12px 0 0; }
.nf-inner > p:not(.nf-code) { color: var(--ink-2); margin: 0 0 18px; }

/* =========================================================
   ゲームと研修テーマ（トップ）
   ========================================================= */
.game-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 36px; overflow: hidden; background: var(--ink); color: var(--paper); }
.game-card-visual { position: relative; min-height: 520px; background: radial-gradient(120% 90% at 30% 20%, #2B2B30 0%, var(--ink) 70%); }
.game-card-visual .gv--board { top: 11%; right: -6%; width: 94%; }
.game-card-visual .gv--box { left: 7%; bottom: 9%; width: 52%; border-color: var(--ink); }
.game-card-body { display: flex; flex-direction: column; padding: clamp(36px, 5vw, 64px) clamp(28px, 4.5vw, 60px); }
.game-card-status { margin: 0 0 18px; }
.chip--paper { background: var(--paper); color: var(--ink); font-family: var(--font-jp); font-weight: 700; letter-spacing: .08em; }
.game-card-name { margin: 0; }
.game-card-name .mb-logo { width: min(360px, 86%); margin: 0 0 22px; }
.game-card-text { margin: 0 0 30px; color: rgba(243, 239, 231, .76); }
.game-card-label { margin: 0 0 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: rgba(243, 239, 231, .62); }
.theme-rows { display: grid; gap: 8px; list-style: none; margin: 0 0 30px; padding: 0; }
.theme-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 0 14px; padding: 14px 18px; border-radius: 16px; background: rgba(243, 239, 231, .06); border: 1px solid rgba(243, 239, 231, .14); color: var(--paper); text-decoration: none; transition: background .25s, border-color .25s; }
.theme-row:hover { background: rgba(243, 239, 231, .12); border-color: rgba(243, 239, 231, .32); }
.tr-no { font-family: var(--font-serif); font-size: 24px; line-height: 1; }
.tr-text b { display: block; font-size: 16px; line-height: 1.45; letter-spacing: .04em; }
.tr-text small { display: block; font-size: 12px; line-height: 1.6; color: rgba(243, 239, 231, .66); }
.theme-row > .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.theme-row:hover > .ico { transform: translateX(3px); }
.text-link--light { align-self: flex-start; margin-top: auto; color: var(--paper); }
.games .coming { margin-top: 40px; }
.ccard-sub { font-size: 12px; font-weight: 700; letter-spacing: .06em; }

/* 研修の実例（トップの紹介） */
.ex-teaser, .faq { background: var(--paper-2); }
.ex-teaser .sec-lead { margin-bottom: 18px; }
.day-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; list-style: none; margin: 0 0 clamp(32px, 4vw, 48px); padding: 0; }
.ds-item { position: relative; display: grid; gap: 2px; padding: 16px 12px 14px; border-radius: 14px; background: var(--card); overflow: hidden; }
.ds-item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--ds, var(--line-2)); }
.ds-item time { font-family: var(--font-en); font-size: 12px; color: var(--ink-3); }
.ds-item b { font-size: 13.5px; line-height: 1.4; }
.ds-item--input { --ds: var(--blue); }
.ds-item--output { --ds: var(--red); }
.ds-item--reflect { --ds: var(--yellow); }
.ex-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ex-photo { margin: 0; }
.ex-photo figcaption { margin-top: 10px; font-size: 14px; }

/* =========================================================
   研修テーマのページ（追加分）・研修の実例のページ
   ========================================================= */
.theme-neutral { --pc: var(--ink); --pt: var(--paper-2); --pt-light: var(--paper-2); --pc-on: #fff; --pc-ink: var(--ink); }
.p-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.p-badge small { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); white-space: nowrap; }
.p-badge-more { white-space: nowrap; }
.mb-logo--xs { width: 112px; margin: 0; }
.p-aud { margin: 0; }
.p-aud-label { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); }
.p-aud-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.p-aud-tags li { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(23, 23, 26, .08); font-size: 12.5px; line-height: 1.5; }
.ba--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.outcome-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 28px 0 0; font-size: 14px; color: var(--ink-2); }

.day-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px 72px; align-items: start; }
.tl-body { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tl-text { font-weight: 700; }
.timeline--kinds li.tl-other .tl-text { font-weight: 500; color: var(--ink-2); }
.timeline--kinds li.tl-input::after { background: var(--blue); border-color: var(--blue); }
.timeline--kinds li.tl-output::after { background: var(--red); border-color: var(--red); }
.timeline--kinds li.tl-reflect::after { background: var(--yellow); border-color: #C88F00; }
.kind { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1; }
.kind--input { background: var(--blue-tint); color: #1E4CC0; }
.kind--output { background: var(--red-tint); color: var(--red-ink); }
.kind--reflect { background: var(--yellow-tint); color: #8A5E00; }
.day-side { position: sticky; top: calc(var(--header-h) + 32px); padding: 28px; border-radius: var(--radius-lg); background: var(--card); }
.day-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.day-side > p:not(.day-legend) { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.day-themes { display: grid; gap: 6px; list-style: none; margin: 18px 0 0; padding: 0; }
.day-themes a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: var(--paper); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s; }
.day-themes a:hover { background: var(--paper-2); }
.day-themes a .ico { width: 15px; height: 15px; margin-left: auto; }
.reflections { background: var(--paper-2); }
.refl-grid, .fmt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.refl-card { display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 26px; border-radius: var(--radius-lg); background: var(--card); box-shadow: inset 0 6px 0 var(--rc, var(--ink)); }
.refl-card--blue { --rc: var(--blue); }
.refl-card--red { --rc: var(--red); }
.refl-card--yellow { --rc: var(--yellow); }
.refl-theme { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; }
.refl-text { margin: 0; font-size: 15px; line-height: 1.85; }
.refl-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 13px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.refl-link .ico { width: 14px; height: 14px; }
.fmt-card { padding: 30px 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.fmt-no { margin: 0 0 18px; font-family: var(--font-serif); font-size: 34px; line-height: 1; }
.fmt-name { margin: 0 0 6px; font-size: 22px; }
.fmt-term { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.fmt-term .ico { width: 16px; height: 16px; }
.fmt-list { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }
.fmt-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.7; }
.fmt-list .ico { width: 16px; height: 16px; margin-top: 4px; color: var(--green); }
.is-examples .scenes { background: var(--paper-2); }

/* フッターの研修テーマ（ゲームの下に字下げ） */
.footer-nav .footer-sub a { position: relative; padding-left: 14px; color: rgba(243, 239, 231, .72); }
.footer-nav .footer-sub a::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; border-top: 1px solid rgba(243, 239, 231, .35); }

/* =========================================================
   responsive
   ========================================================= */

/* 4. 導入の流れ: 6列では狭くなる幅から3列に（コマの歩行表示はなし） */
@media (max-width: 1279px) {
  .flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-track { padding-top: 0; }
  .flow-track::before, .flow-flag, .flow-track .track-pc { display: none; }
  .flow-track .flow-step.is-now { border-color: var(--line); background: var(--card); translate: none; }
}

/* 20. 縦の短いノートPC（1366×657 等）で研修詳細の主ボタンを最初の画面に収める */
@media (min-width: 1024px) and (max-height: 760px) {
  .p-kicker { margin-bottom: 16px; }
  .p-no { font-size: 60px; }
  .p-title { font-size: clamp(30px, 3.2vw, 44px); margin-bottom: 16px; }
  .p-lead { margin-bottom: 14px; }
  .p-badge { margin-bottom: 18px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .gnav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .brand .mark { width: 34px; height: 34px; }
  .wordmark { width: 104px; }

  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero-copy { padding-top: 16px; }
  .hero-board { margin: 8px calc(var(--gutter) * -.5) 0; }
  .hud { top: -6px; bottom: auto; right: 2%; width: 150px; padding: 12px 14px 14px; }
  .hud-label { font-size: 8.5px; letter-spacing: .14em; white-space: nowrap; }
  .hud-month b { font-size: 30px; }

  .sec-head--split, .about-grid, .faq-grid, .day-grid, .game-card, .ba--row, .p-hero-grid, .g-hero-grid, .cycle-grid, .story-grid, .company-grid, .contact-grid, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .faq-head, .contact-side, .day-side { position: static; }
  .game-card-visual { min-height: 0; aspect-ratio: 16 / 10; }
  .day-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .program-grid, .coming-grid { grid-template-columns: 1fr 1fr; }
  .phases { grid-template-columns: 1fr; gap: 14px; }
  .phases .phase:not(:last-child)::after { top: auto; bottom: -17px; right: auto; left: 50%; margin: 0 0 0 -17px; transform: rotate(90deg); }
  .phase-top { margin-bottom: 24px; }
  .theory-grid, .area-grid, .decision-grid { grid-template-columns: 1fr 1fr; }
  .scene-grid { gap: 36px 16px; }
  .scene--1 { grid-column: 1 / -1; }
  .scene--2 { grid-column: 1 / span 6; align-self: start; }
  .scene--3 { grid-column: 7 / span 6; margin-top: 64px; }
  .scene--4 { grid-column: 2 / span 10; margin-top: 0; }
  .a-hero-grid { grid-template-columns: 1fr; }
  .a-hero-mark { display: none; }
  .a-hero { padding-bottom: 0; }
  .component-grid { grid-template-columns: 1fr 1fr; }
  .component--1 { grid-column: 1 / -1; }
  .g-hero-visual { max-width: 640px; }
}

@media (max-width: 767px) {
  body { font-size: 15px; line-height: 1.85; }
  .hero-title { font-size: clamp(44px, 13vw, 64px); }
  .hero-en { font-size: 26px; }
  .btn { min-height: 54px; font-size: 14.5px; padding-left: 24px; }
  .btn-row .btn { flex: 1 1 auto; justify-content: space-between; }
  .program-grid, .program-grid--2, .coming-grid, .theory-grid, .area-grid, .decision-grid, .f-row, .refl-grid, .fmt-grid { grid-template-columns: minmax(0, 1fr); }
  .day-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-photos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .ex-photo { flex: 0 0 78%; scroll-snap-align: start; }
  .game-card { border-radius: 24px; }
  .game-card-body { padding: 28px 22px 30px; }
  .theme-row { padding: 12px 14px; gap: 0 12px; }
  /* 10. 見出しの各行を1行に収める */
  .display:not(.display--sm) { font-size: clamp(24px, 7.4vw, 30px); }
  .display.display--xl { font-size: clamp(26px, 7.6vw, 36px); }
  /* 1. 月次カードはスマホでは出さない（盤面が隠れるため） */
  .hud { display: none; }
  .board-frame { width: 108%; margin-left: -4%; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .pcard { padding: 26px 24px 22px; }
  .pcard-token { width: 84px; height: 84px; }
  .flow-steps { grid-template-columns: 1fr; gap: 10px; }
  .flow-step { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; padding: 18px 20px; }
  .flow-no { grid-row: span 2; margin: 0; font-size: 30px; }
  .flow-ico { display: none; }
  .scene-grid { grid-template-columns: 1fr; gap: 32px; }
  .scene--1, .scene--2, .scene--3, .scene--4 { grid-column: 1; margin-top: 0; }
  .marquee { padding: 14px 0; }
  .track { --cell: calc((100vw - 2 * var(--gutter) - 36px) / 4); padding-top: 52px; }
  .track-cell { border-radius: 16px; }
  .track-no { display: none; }
  .track-step small { font-size: 11px; line-height: 1.5; }
  .track-pc .piece { width: 34px; height: 38px; }
  .decision-card { min-height: 0; padding-bottom: 76px; }
  .timeline::before { left: 67px; }
  .timeline li { grid-template-columns: 52px 1fr; gap: 36px; }
  .timeline li::after { left: 62px; }
  .timeline time { font-size: 17px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div { padding: 16px 18px 18px; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .company-table > div { grid-template-columns: 1fr; gap: 2px; }
  .closing-pc:nth-child(3), .closing-pc:nth-child(4) { display: none; }
  .closing-pc:nth-child(1) { left: 8%; top: 7%; }
  .closing-pc:nth-child(2) { right: 8%; top: 7%; }
  .closing-pc .piece { width: 30px; }
  .ring-node { min-width: 0; padding: 8px 10px 9px; font-size: 11.5px; }
  .ring-node b { font-size: 17px; }
  .ring-steps li { transform: translate(-50%, -50%) rotate(var(--a)) translateX(39cqw) rotate(calc(var(--a) * -1)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .seg-item span, .chip-check span { padding: 8px 16px; }
}

@media (max-width: 420px) {
  .p-no { font-size: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- track states (flow) ---------- */
html.js .flow-step[data-reveal] { transition: opacity 1s var(--ease), transform 1s var(--ease), translate .5s var(--ease-spring), border-color .4s, background .4s; transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms, 0ms, 0ms; }
.flow-step.is-now { border-color: var(--ink); background: #fff; translate: 0 -4px; }
.flow-track.is-goal .flow-flag--goal { animation: pop .7s var(--ease-spring); }
@keyframes pop { 40% { transform: scale(1.12); } }
.f-pending.is-flash { color: var(--red-ink); animation: flash .9s; }
@keyframes flash { 0%, 50% { opacity: .2; } 25%, 75%, 100% { opacity: 1; } }

/* ---------- notes (写真はイメージ) ---------- */
.img-note { position: absolute; top: 12px; right: 12px; z-index: 1; padding: 3px 9px; border-radius: 7px; background: rgba(23, 23, 26, .66); color: #fff; font-size: 11px; line-height: 1.6; letter-spacing: .04em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.footer-h { text-transform: none; letter-spacing: .16em; }
@media (max-width: 767px) {
  .p-title { font-size: clamp(28px, 7.6vw, 34px); }
}
