@charset "UTF-8";
/* ============================================================
   MONOCOACH — デザインサンプル（架空ブランド）
   方向: スイス/グリッド（見える罫線・番号・整列）
   シグネチャー: 作業手順の分解表 ＋ 習熟カーブ（SVG）
   ============================================================ */

/* ---------- 1. トークン ---------- */
:root {
  --c-navy:   #16243a;   /* 地 */
  --c-deep:   #111a2a;   /* 一段沈めた面 */
  --c-black:  #0c1119;
  --c-steel:  #8a9099;   /* 補助 */
  --c-line:   #2a3346;   /* 罫線 */
  --c-white:  #f2f3f5;
  --c-orange: #ff6a13;   /* 安全オレンジ・主張色 */

  --font-jp: "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Archivo", Helvetica, Arial, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, Consolas, monospace;

  --section-pad: clamp(72px, 10vw, 136px);
  --container: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(20px, 4.5vw, 52px);

  --z-header: 100;
  --z-nav: 200;
  --z-fixed: 1000;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.8s;
}

/* ---------- 2. リセット / ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-jp);
  color: var(--c-white);
  background: var(--c-navy);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 3px; }

h1, h2, h3 { font-weight: 700; line-height: 1.42; letter-spacing: 0.005em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-fixed);
  background: var(--c-orange); color: #0c1119; padding: 10px 18px; font-size: 13px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
.sp-br { display: none; }
@media (max-width: 560px) { .sp-br { display: inline; } }

.note { margin-top: 20px; font-size: 12.5px; color: var(--c-steel); line-height: 1.9; }

/* ---------- 3. レイアウト ---------- */
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container--narrow { width: min(var(--container-narrow), 100% - var(--gutter) * 2); margin-inline: auto; }

.section { padding-block: var(--section-pad); }
.section--tone { background: var(--c-deep); border-block: 1px solid var(--c-line); }

.sec-head { margin-bottom: clamp(38px, 5vw, 62px); }
.sec-head__en {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; color: var(--c-orange); margin-bottom: 14px;
}
.sec-head__title { font-size: clamp(26px, 4.2vw, 46px); }
.sec-head__lead {
  margin-top: 20px; max-width: 52em; font-size: 14.5px; color: var(--c-steel); line-height: 2.05;
}

/* ---------- 4. ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--gutter);
  transition: background 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled {
  background: rgba(22,36,58,0.9); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--c-line);
}
.site-header__logo {
  font-family: var(--font-en); font-weight: 800; font-size: 21px; letter-spacing: 0.02em;
}
.site-header__logo span { color: var(--c-orange); }

.global-nav { display: flex; align-items: center; gap: 26px; }
.global-nav ul { display: flex; gap: 22px; }
.global-nav a { font-size: 13.5px; letter-spacing: 0.05em; }
.global-nav ul a { position: relative; padding-bottom: 3px; }
.global-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--c-orange); transition: width 0.35s var(--ease-out);
}
.global-nav ul a:hover::after { width: 100%; }

.nav-toggle {
  display: none; width: 44px; height: 44px; background: none; border: none;
  cursor: pointer; position: relative; z-index: calc(var(--z-nav) + 1);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; margin: 5px auto;
  background: var(--c-white); transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. ボタン ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 34px; min-height: 52px;
  background: var(--c-orange); color: #0c1119;
  border: 2px solid var(--c-orange);
  font-weight: 700; font-size: 14.5px; letter-spacing: 0.06em; cursor: pointer;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.button:hover { background: transparent; color: var(--c-orange); }
.button--sm { padding: 10px 20px; min-height: 44px; font-size: 13px; border-width: 1px; }
.button--lg { padding: 19px 46px; min-height: 60px; font-size: 15.5px; }
.button--ghost { background: transparent; color: var(--c-white); border-color: var(--c-line); }
.button--ghost:hover { background: var(--c-white); color: var(--c-navy); border-color: var(--c-white); }

/* ---------- 6. ヒーロー（分割グリッド＋数字帯） ---------- */
.hero { padding-top: clamp(104px, 13vw, 148px); }
.hero__grid {
  width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto;
  display: grid; gap: clamp(32px, 4vw, 56px); align-items: center;
  padding-bottom: clamp(48px, 6vw, 80px);
}
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1fr 1.05fr; } }
.hero__cap {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.24em; color: var(--c-orange); margin-bottom: 20px;
}
.hero__title { font-size: clamp(36px, 6.6vw, 76px); line-height: 1.2; }
.hero__title em {
  font-style: normal; color: var(--c-orange);
  /* 蛍光マーカー。終端を切らないとベースラインより下まで塗られて「箱」に見える */
  background: linear-gradient(
    transparent 70%,
    rgba(255,106,19,0.30) 70%,
    rgba(255,106,19,0.30) 88%,
    transparent 88%
  );
}
.hero__lead { margin-top: 24px; font-size: 15px; color: #c2c7cf; line-height: 2.05; }
.hero__actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual { margin: 0; }
.hero__visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--c-line); }

/* 数字帯 */
.stats {
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto;
}
.stats__item {
  padding: 26px 8px 24px;
  border-right: 1px solid var(--c-line);
}
.stats__item:last-child { border-right: none; }
.stats__num {
  display: block; font-family: var(--font-en); font-weight: 800;
  font-size: clamp(34px, 4.4vw, 50px); line-height: 1; letter-spacing: -0.01em;
}
.stats__num--hl { color: var(--c-orange); }
.stats__num small { font-family: var(--font-jp); font-size: 14px; font-weight: 500; margin-left: 3px; }
.stats__label {
  display: block; margin-top: 10px; font-size: 12.5px; color: var(--c-steel); letter-spacing: 0.04em;
}
@media (max-width: 719px) {
  .stats__item:nth-child(2n) { border-right: none; }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--c-line); }
}

/* ---------- 7. 課題 ---------- */
.problems { display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
@media (min-width: 880px) { .problems { grid-template-columns: repeat(3, 1fr); } }
.problems__item { background: var(--c-navy); padding: clamp(26px, 3vw, 38px); }
.problems__num {
  font-family: var(--font-mono); font-weight: 700; font-size: 12px;
  letter-spacing: 0.2em; color: var(--c-orange); margin-bottom: 16px;
}
.problems__title { font-size: 18px; margin-bottom: 12px; line-height: 1.6; }
.problems__text { font-size: 13.5px; color: var(--c-steel); line-height: 2; }

/* ---------- 8. シグネチャー: 作業手順の分解表 ---------- */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.steps, .plan {
  width: 100%; min-width: 720px; border-collapse: collapse;
  border: 1px solid var(--c-line);
}
.steps th, .steps td, .plan th, .plan td {
  border: 1px solid var(--c-line);
  padding: 14px 16px; text-align: left; vertical-align: middle;
  font-weight: 400; font-size: 13.5px;
}
.steps thead th, .plan thead th {
  background: var(--c-black); color: var(--c-steel);
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; white-space: nowrap;
}
.steps tbody tr { transition: background 0.25s; }
.steps tbody tr:hover { background: rgba(255,106,19,0.06); }
.steps__no, .steps__c-no {
  font-family: var(--font-mono); font-weight: 700; color: var(--c-orange);
  width: 60px; text-align: center !important;
}
.steps__name { font-weight: 700; white-space: nowrap; }
.steps__t, .steps__c-t {
  font-family: var(--font-mono); text-align: right !important; width: 84px; white-space: nowrap;
}
.steps__c-r { width: 96px; }

.tag {
  display: inline-block; padding: 2px 9px; font-size: 11px;
  font-family: var(--font-mono); letter-spacing: 0.06em;
  border: 1px solid var(--c-line); color: var(--c-steel);
}
.tag--danger { border-color: var(--c-orange); color: var(--c-orange); }
.tag--pick {
  background: var(--c-orange); color: #0c1119; border-color: var(--c-orange);
  font-weight: 700; margin-left: 10px;
}

.detail { margin: clamp(32px, 4vw, 52px) 0 0; }
.detail img { width: 100%; border: 1px solid var(--c-line); }
.detail figcaption {
  margin-top: 12px; font-size: 12px; color: var(--c-steel); font-family: var(--font-mono);
  letter-spacing: 0.02em; line-height: 1.8;
}

/* ---------- 9. 習熟カーブ ---------- */
.chart { margin: 0; border: 1px solid var(--c-line); padding: clamp(18px, 3vw, 34px); background: var(--c-deep); }
.chart svg { width: 100%; height: auto; display: block; }
/* 線が引かれる演出 */
/* 導入後の線は「引かれる」、従来の破線は「浮かび上がる」（破線は描画演出と相性が悪い） */
.chart__line--new { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.chart.is-inview .chart__line--new { animation: draw 1.4s var(--ease-out) 0.5s forwards; }
.chart__line--old { opacity: 0; }
.chart.is-inview .chart__line--old { animation: fadeIn 1s ease 0.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.chart figcaption { margin-top: 16px; display: flex; gap: 24px; flex-wrap: wrap; }
.legend {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--c-steel); font-family: var(--font-mono);
}
.legend__key { width: 22px; height: 3px; display: inline-block; }
.legend__key--new { background: var(--c-orange); }
.legend__key--old { background: var(--c-steel); }

/* ---------- 10. 料金表 ---------- */
.plan tbody th {
  font-weight: 700; font-size: 15px; white-space: nowrap;
}
.plan__pick { background: rgba(255,106,19,0.07); }
.plan__pick th { color: var(--c-orange); }

/* ---------- 11. 最終CTA ---------- */
.cta {
  padding-block: clamp(76px, 10vw, 132px); text-align: center;
  background:
    linear-gradient(180deg, transparent, rgba(255,106,19,0.07)),
    var(--c-black);
  border-top: 2px solid var(--c-orange);
}
.cta__cap {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.28em; color: var(--c-orange); margin-bottom: 18px;
}
.cta__title { font-size: clamp(25px, 4.2vw, 46px); line-height: 1.45; }
.cta__text { margin-top: 24px; font-size: 14.5px; color: var(--c-steel); line-height: 2.1; }
.cta__actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 12. フッター ---------- */
.site-footer { padding: 40px 0 34px; background: var(--c-black); border-top: 1px solid var(--c-line); }
.site-footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--c-steel);
  font-family: var(--font-mono);
}
.site-footer__logo { font-family: var(--font-en); font-weight: 800; font-size: 17px; color: var(--c-white); }

/* ---------- 13. サンプル明示バッジ（全サンプル共通仕様） ---------- */
.sample-badge {
  position: fixed; left: 16px; bottom: 16px; z-index: var(--z-fixed);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(12,17,25,0.9); backdrop-filter: blur(8px);
  border: 1px solid var(--c-line);
  color: var(--c-white); font-size: 11.5px; letter-spacing: 0.03em; line-height: 1.5;
  transition: border-color 0.3s;
}
.sample-badge:hover { border-color: var(--c-orange); }
.sample-badge__tag {
  background: var(--c-orange); color: #0c1119; font-weight: 700;
  padding: 2px 8px; border-radius: 999px; font-size: 10px; letter-spacing: 0.12em;
}
@media (max-width: 640px) {
  .sample-badge { left: 10px; bottom: 10px; padding: 6px 12px 6px 8px; font-size: 10.5px; }
  .sample-badge__text { max-width: 15em; }
}

/* ---------- 14. SPナビ ---------- */
@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed; inset: 0; z-index: var(--z-nav);
    background: rgba(17,26,42,0.98);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 40px;
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  }
  .global-nav.is-open { opacity: 1; visibility: visible; }
  .global-nav ul { flex-direction: column; text-align: center; gap: 26px; }
  .global-nav ul a { font-size: 20px; font-weight: 700; }
}

/* ---------- 15. モーション基盤 ---------- */
.js-reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}
.js-reveal.is-inview { opacity: 1; transform: none; }
.js-reveal[data-delay="1"] { transition-delay: 0.1s; }
.js-reveal[data-delay="2"] { transition-delay: 0.2s; }
.js-reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- 16. モーション停止（reduced-motion環境のみボタン表示） ---------- */
.motion-stop {
  display: none;
  position: fixed; right: 16px; bottom: 16px; z-index: var(--z-fixed);
  padding: 10px 16px; font: inherit; font-size: 12px;
  background: var(--c-deep); color: var(--c-white);
  border: 1px solid var(--c-line); border-radius: 999px; cursor: pointer;
}
@media (prefers-reduced-motion: reduce) { .motion-stop { display: block; } }
html.is-motion-off *, html.is-motion-off *::before, html.is-motion-off *::after {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
}
html.is-motion-off .js-reveal { opacity: 1; transform: none; }
html.is-motion-off .chart__line { stroke-dashoffset: 0 !important; opacity: 1 !important; }

/* ================================================================
   sample-notice:v1 — サンプル表記（14本共通・apply_sample_notice.py が生成）
   帯 / 商品CTAのモーダル / ラクシス導線 / フッター注記
   ================================================================ */
:root {
  --sample-bar-bg: #ff6a13;
  --sample-bar-fg: #0c1119;
  --sample-bar-h: 40px;
  --sample-font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --laxis-band-bg: #16243a;
  --laxis-band-fg: #f2f3f5;
  --laxis-band-line: rgba(255, 255, 255, 0.12);
  --z-sample-bar: 3000;
  --z-sample-modal: 4000;
}

/* ---- 1. 最上部の固定帯 ---- */
.sample-bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-sample-bar);
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  min-height: 40px; padding: 8px 14px;
  background: var(--sample-bar-bg); color: var(--sample-bar-fg);
  font-family: var(--sample-font); font-size: 12.5px; font-weight: 500;
  line-height: 1.6; letter-spacing: 0.02em; text-align: center;
}
.sample-bar__tag {
  flex: none; background: var(--sample-bar-fg); color: var(--sample-bar-bg);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  padding: 3px 9px; border-radius: 3px; white-space: nowrap;
}
.sample-bar__text b { font-weight: 700; }
.sample-bar__by { opacity: 0.72; }
body { padding-top: var(--sample-bar-h); }
.site-header { top: var(--sample-bar-h); }
.skip-link:focus { top: calc(var(--sample-bar-h) + 12px); }
@media (max-width: 640px) {
  :root { --sample-bar-h: 54px; }
  .sample-bar { font-size: 11px; gap: 6px; padding: 7px 12px; }
  .sample-bar__tag { font-size: 9.5px; padding: 2px 7px; }
  .sample-bar__by { display: block; width: 100%; }
}

/* ---- 2. 商品CTAのモーダル ---- */
.sample-modal {
  position: fixed; inset: 0; z-index: var(--z-sample-modal);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  font-family: var(--sample-font);
}
.sample-modal[hidden] { display: none; }
.sample-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 10, 14, 0.66); backdrop-filter: blur(3px); }
.sample-modal__panel {
  position: relative; width: min(480px, 100%); background: #fff; color: #1f2933;
  border-radius: 16px; padding: 34px 30px 28px; text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); border-top: 4px solid var(--sample-bar-bg);
}
.sample-modal__tag {
  display: inline-block; background: var(--sample-bar-bg); color: var(--sample-bar-fg);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  padding: 4px 10px; border-radius: 3px; margin-bottom: 18px;
}
.sample-modal__title { font-size: 20px; font-weight: 700; line-height: 1.6; margin-bottom: 14px; color: #1f2933; }
.sample-modal__text { font-size: 13.5px; line-height: 2; color: #56606b; margin-bottom: 26px; text-align: left; }
.sample-modal__actions { display: flex; flex-direction: column; gap: 10px; }
.sample-modal__button {
  display: block; background: var(--sample-bar-bg); color: var(--sample-bar-fg); text-decoration: none;
  font-size: 15px; font-weight: 700; padding: 16px 20px; border-radius: 11px;
}
.sample-modal__close {
  display: block; width: 100%; background: none; border: 1px solid #d5dbe1; color: #56606b;
  font-family: inherit; font-size: 13.5px; padding: 14px 20px; border-radius: 11px; cursor: pointer;
}
.sample-modal__close:hover { background: #f2f4f6; }

/* ---- 3. 最下部の案内帯（架空フッターの下） ---- */
/* 下の余白は、左下に固定されている SAMPLE バッジに文字が隠されないための逃げ */
.laxis-band {
  position: relative; z-index: 1;
  background: var(--laxis-band-bg); color: var(--laxis-band-fg);
  border-top: 1px solid var(--laxis-band-line);
  font-family: var(--sample-font); text-align: center;
  padding: 32px 6vw 58px;
}
.laxis-band__text { font-size: 12.5px; line-height: 1.95; opacity: 0.85; margin: 0 0 18px; }
.laxis-band__text b { font-weight: 700; }
.laxis-band__text .nb { display: inline-block; }
.laxis-band__actions { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; align-items: center; }
.laxis-band__button {
  display: inline-flex; align-items: center; background: var(--sample-bar-bg); color: var(--sample-bar-fg);
  font-size: 13.5px; font-weight: 700; text-decoration: none; padding: 13px 28px; border-radius: 10px;
}
.laxis-band__back {
  color: inherit; font-size: 12px; opacity: 0.68;
  text-decoration: underline; text-underline-offset: 3px;
}
.laxis-band__back:hover { opacity: 1; }
@media (max-width: 640px) {
  .laxis-band { padding: 28px 20px 82px; }
}

/* ---- 4. フッターの注記 ---- */
.sample-note {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(128, 128, 128, 0.3);
}
.sample-note p {
  font-family: var(--sample-font); font-size: 12px; line-height: 1.95;
  opacity: 0.9; margin: 0; text-align: left;
}
