/* =========================================================
   0. RESET & BASE
========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: #1b2333;
  background: #f7f6f2;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

:root{
  --ink: #182645;
  --ink-soft: #4b5872;
  --accent: #d8622f;
  --accent-dark: #b94f22;
  --accent-soft: #fbe6da;
  --teal: #1f7a6c;
  --teal-soft: #e2f2ee;
  --bg: #f7f6f2;
  --white: #ffffff;
  --border: #e6e3db;
  --radius: 16px;
  --max: 1120px;
  --cat-a: #1f7a6c;
  --cat-b: #3d6ea5;
  --cat-c: #b98420;
  --cat-d: #5c8a4a;
  --cat-e: #8a5a8f;
}
h1, h2, h3 { font-family: inherit; }

/* =========================================================
   1. COMMON HEADER  (.site-header)
========================================================= */
.site-header {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 500;
}
.site-header-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}
.site-logo {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo .site-logo-toi { color: var(--ink); }
.site-logo .site-logo-nudge { color: var(--accent); }
.site-logo .site-logo-tm { font-size: 0.6em; font-weight: 600; }
.site-series {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.82rem;
  color: var(--ink-soft);
  white-space: nowrap;
  text-align: center;
}
.site-series .site-series-sep { margin: 0 6px; color: #c7c2b6; }
.toi-brand { color: var(--ink); }
.nudge-brand { color: var(--accent); }
.site-series-link { text-decoration: none; }
.site-series-link:hover { text-decoration: underline; }
.site-header-cta {
  flex-shrink: 0;
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s ease;
}
.site-header-cta:hover { background: var(--accent-dark); }

@media (max-width: 680px) {
  .site-header-inner {
    flex-wrap: wrap;
    row-gap: 8px;
    padding: 10px 16px;
  }
  .site-series {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    text-align: center;
    font-size: 0.72rem;
  }
  .site-logo { font-size: 0.95rem; }
  .site-header-cta { font-size: 0.75rem; padding: 8px 12px; }
}

/* =========================================================
   2. COMMON FOOTER (.site-footer)
========================================================= */
.site-footer {
  width: 100%;
  background: var(--ink);
  color: #cfd5e2;
  margin-top: 60px;
}
.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.site-footer-copy { color: #a9b0c2; }
.site-footer-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.site-footer-links a { color: #e7e9f0; text-decoration: none; }
.site-footer-links a:hover { text-decoration: underline; }
.site-footer-links .site-footer-sep { color: #5a6280; }
.site-footer-links .site-footer-plain { color: #9aa1b8; }
.site-footer-links .toi-brand { color: #fff; }

@media (max-width: 560px) {
  .site-footer-inner { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   3. LP BASE LAYOUT (.lp-*)
========================================================= */
.lp-container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.lp-section { padding: 74px 0; }
.lp-section-tight { padding: 48px 0; }
.lp-section-alt { background: var(--white); }
.lp-section-ink { background: var(--ink); color: #dfe3ee; }
.lp-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}
.lp-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 20px;
}
.lp-section-ink .lp-heading { color: #fff; }
.lp-lead { font-size: 1.02rem; color: var(--ink-soft); margin: 0 0 22px; }
.lp-note { font-size: 0.85rem; color: #8a8f9e; }

/* Hero */
.lp-hero {
  background: linear-gradient(180deg, #fff 0%, #f7f6f2 100%);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}
.lp-hero-inner { max-width: 780px; margin: 0 auto; text-align: center; padding: 0 20px; }
.lp-hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.lp-hero-title {
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 22px;
}
.lp-hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0 0 26px;
  font-weight: 500;
}
.lp-hero-sub strong { color: var(--ink); }
.lp-hero-supp {
  font-size: 0.98rem;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 auto 30px;
  text-align: left;
  max-width: 560px;
}
.lp-hero-supp p { margin: 0; }
.lp-hero-more { margin-top: 18px; font-size: 0.9rem; }
.lp-hero-more a { color: var(--ink-soft); text-decoration: underline; }

/* CTA buttons */
.lp-cta-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 0 0 6px; }
.lp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
  cursor: pointer;
}
.lp-cta:hover { transform: translateY(-1px); }
.lp-cta-primary { background: var(--accent); color: #fff; }
.lp-cta-primary:hover { background: var(--accent-dark); }
.lp-cta-secondary { background: #fff; color: var(--ink); border-color: var(--ink); }
.lp-cta-secondary:hover { background: var(--ink); color: #fff; }
.lp-cta-teal { background: var(--teal); color: #fff; }
.lp-cta-teal:hover { background: #175d52; }
.lp-cta-small { font-size: 0.85rem; padding: 10px 18px; }
.lp-cta-block { text-align: center; padding: 40px 0 10px; }

/* Badges / pills */
.lp-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.lp-pillrow { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.lp-pill {
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
}

/* Two-column comparison */
.lp-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 30px 0; }
.lp-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.lp-col h3 { margin: 0 0 14px; font-size: 1.02rem; color: var(--ink); }
.lp-col ul { margin: 0; padding-left: 1.2em; color: var(--ink-soft); }
.lp-col li { margin-bottom: 8px; }
.lp-col-negative { border-color: #ecdccb; background: #fdf8f2; }
.lp-col-positive { border-color: #d8e8e2; background: #f4faf8; }

/* Callout / quote box */
.lp-callout {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  text-align: center;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.8;
  margin: 30px 0;
}
.lp-callout span { color: #f0b98d; }

/* Chasm diagram — strong visual section */
.lp-chasm-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  margin: 40px 0 14px;
  padding-bottom: 10px;
}
.lp-chasm-node {
  flex: 1 0 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}
.lp-chasm-node-label { font-size: 0.78rem; font-weight: 700; color: var(--teal); letter-spacing: .03em; margin-bottom: 10px; }
.lp-chasm-node-value { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.lp-chasm-node.gap {
  background: repeating-linear-gradient(135deg, #f1ded0, #f1ded0 8px, #ecd4c1 8px, #ecd4c1 16px);
  border: 2px dashed var(--accent);
}
.lp-chasm-node.gap .lp-chasm-node-label { color: var(--accent-dark); }
.lp-chasm-node.gap .lp-chasm-node-value { color: var(--accent-dark); font-size: 1.3rem; }
.lp-chasm-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #c6c1b4;
  font-size: 1.6rem;
}
@media (max-width: 760px) {
  .lp-chasm-flow { flex-direction: column; }
  .lp-chasm-arrow { transform: rotate(90deg); padding: 6px 0; }
}

/* Flow rows (compare infographic / process) */
.lp-compare { margin: 30px 0; }
.lp-compare-row { margin-bottom: 26px; }
.lp-compare-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.lp-compare-label.old { background: #f1e6da; color: #8a6a3f; }
.lp-compare-label.new { background: var(--teal-soft); color: var(--teal); }
.lp-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.lp-flow-step {
  flex: 0 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.86rem;
  color: var(--ink);
  min-width: 108px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-flow-step.dim { color: #a19c8f; background: #f1efe9; }
.lp-flow-step.hi { background: var(--teal); color: #fff; border-color: var(--teal); font-weight: 700; }
.lp-flow-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: #c6c1b4;
  font-size: 1.1rem;
}
.lp-compare-note { margin-top: 14px; font-size: 0.9rem; color: var(--ink-soft); }

/* Process steps grid */
.lp-process { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 30px 0; align-items: center; }
.lp-process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.lp-process-step.final { background: var(--ink); color: #fff; }
.lp-process-arrow { align-self: center; color: #c6c1b4; }

/* Definition box */
.lp-definition {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 30px 28px;
  margin: 28px 0;
}
.lp-definition-term { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.lp-definition-term .nudge { color: var(--accent); }
.lp-definition-body { font-size: 1.02rem; color: var(--ink-soft); }

/* Phone mockup */
.lp-phone-wrap { display: flex; gap: 34px; align-items: center; flex-wrap: wrap; justify-content: center; margin: 30px 0; }
.lp-phone {
  width: 260px;
  background: var(--ink);
  border-radius: 30px;
  padding: 14px;
  box-shadow: 0 20px 40px rgba(24,38,69,.18);
}
.lp-phone-screen {
  background: #fff;
  border-radius: 18px;
  padding: 26px 18px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lp-phone-time { font-size: 0.7rem; color: #b7bccb; text-align: center; margin-bottom: 18px; }
.lp-phone-q {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 22px;
  line-height: 1.6;
}
.lp-phone-choice {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
  text-align: center;
}
.lp-phone-caption { max-width: 340px; font-size: 0.92rem; color: var(--ink-soft); }

/* theme question list */
.lp-theme-q-list { list-style: none; margin: 30px 0 0; padding: 0; max-width: 720px; margin-left: auto; margin-right: auto; }
.lp-theme-q-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.96rem;
}
.lp-theme-q-list li:last-child { border-bottom: none; }
.lp-theme-q-tag {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 6px;
  padding: 4px 10px;
  height: fit-content;
  white-space: nowrap;
}
.lp-theme-q-text { color: var(--ink); }

/* Themes intro */
.lp-problem-list { list-style: none; margin: 24px auto; padding: 0; max-width: 640px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lp-problem-list li {
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 18px; font-size: 0.9rem; color: var(--ink);
}

.lp-cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 30px 0 10px; }
.lp-cat-chip {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  transition: border-color .15s ease;
}
.lp-cat-chip:hover { border-color: var(--teal); }
.lp-cat-chip-letter { font-size: 0.72rem; font-weight: 700; }
.lp-cat-chip-name { font-size: 0.86rem; font-weight: 700; color: var(--ink); margin-top: 4px; }
@media (max-width: 760px) { .lp-cat-grid { grid-template-columns: repeat(2, 1fr); } }


/* Mothership flow image (research day -> 2 months later) */
.lp-mothership {
  padding: 48px 0 56px;
  background: var(--bg);
}
.lp-mothership-wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}
.lp-mothership-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}
@media (max-width: 680px) {
  .lp-mothership { padding: 32px 0 40px; }
  .lp-mothership-wrap { padding: 0; }
  .lp-mothership-img { border-radius: 0; }
}

/* Cards grid */
.lp-cat-block { margin-bottom: 46px; scroll-margin-top: 90px; }
.lp-cat-block-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.lp-cat-block-letter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  color: #fff; font-weight: 800; font-size: 0.85rem; flex-shrink: 0;
}
.lp-cat-block-title { font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.lp-container-wide { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.lp-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lp-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(24,38,69,.14); border-color: var(--teal); }
.lp-card-img-wrap {
  overflow: hidden;
  background: var(--white);
  line-height: 0;
  aspect-ratio: 8 / 3;          /* 全カードの画像枠を同じ比率に固定 */
}
.lp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* 枠いっぱいに表示し、はみ出しはトリミング */
  object-position: left center; /* 左側の研修名テキストを優先して残す */
  display: block;
  transition: transform .3s ease;
}
.lp-card:hover .lp-card-img { transform: scale(1.045); }
.lp-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex-grow: 1; }
.lp-card-no { font-size: 0.72rem; font-weight: 700; color: #a9a494; margin: 0 0 6px; letter-spacing: .04em; }
.lp-card-name { font-size: 0.98rem; font-weight: 800; color: var(--ink); margin: 0 0 8px; line-height: 1.5; }
.lp-card-desc { font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 16px; flex-grow: 1; }
.lp-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lp-card-more {
  font-size: 0.85rem; font-weight: 700; color: var(--accent);
}
.lp-card:hover .lp-card-more { text-decoration: underline; }
@media (max-width: 1024px) { .lp-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .lp-cards-grid { grid-template-columns: 1fr; } }

/* Reassurance list (existing training section) */
.lp-reassure { list-style: none; margin: 0 0 26px; padding: 0; }
.lp-reassure li {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 700;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
.lp-reassure li:last-child { border-bottom: none; color: var(--accent-dark); font-size: 1rem; }
.lp-compat-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }

/* No-fatigue avoid/keep lists */
.lp-avoid-keep { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 30px 0; }
.lp-avoid-keep .lp-col ul { list-style: none; padding: 0; margin: 0; }
.lp-avoid-keep .lp-col li { padding-left: 1.4em; position: relative; }
.lp-col-negative li::before { content: "×"; position: absolute; left: 0; color: #b98460; font-weight: 800; }
.lp-col-positive li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* FAQ */
.lp-faq-item { border-bottom: 1px solid var(--border); }
.lp-faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 4px; font-size: 0.98rem; font-weight: 700; color: var(--ink);
}
.lp-faq-q .lp-faq-icon { flex-shrink: 0; font-size: 1.2rem; color: var(--teal); transition: transform .2s ease; }
.lp-faq-q[aria-expanded="true"] .lp-faq-icon { transform: rotate(45deg); }
.lp-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.lp-faq-a p { margin: 0 4px 18px; color: var(--ink-soft); font-size: 0.92rem; }

/* Small "limits" section */
.lp-limits {
  background: #f1efe9;
  border-radius: var(--radius);
  padding: 26px 28px;
}
.lp-limits h3 { margin: 0 0 10px; font-size: 0.98rem; color: var(--ink); }
.lp-limits p { font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 12px; }
.lp-limits .lp-pillrow { justify-content: flex-start; margin-top: 0; }
.lp-limits .lp-pill { background: #fff; font-size: 0.78rem; }

/* Final CTA */
.lp-final { text-align: center; padding: 70px 0 80px; }
.lp-final-q {
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  font-weight: 800;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto 14px;
  line-height: 1.7;
}
.lp-final-sub {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 34px;
  line-height: 1.8;
}

/* Responsive collapse */
@media (max-width: 760px) {
  .lp-columns { grid-template-columns: 1fr; }
  .lp-avoid-keep { grid-template-columns: 1fr; }
  .lp-section { padding: 52px 0; }
}

/* =========================================================
   4. 学びの定着スライドショー（.tn-ss-*）※FV直後に配置
   - 既存 .lp-* とは独立した専用クラス
   - PC/タブレット：画像の上に文字を重ねる
   - スマートフォン（680px以下）：画像の下に文字パネルを置く
========================================================= */
.tn-ss { padding: 48px 0 8px; background: var(--bg); }
.tn-ss-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.tn-ss-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ステージ：全場面を同じセルに重ねる（高さが揃い、切替時にガタつかない） */
.tn-ss-stage {
  display: grid;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 18px 40px rgba(24,38,69,.16);
}
.tn-ss-slide {
  grid-area: 1 / 1;
  position: relative;
  aspect-ratio: 16 / 9;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.tn-ss-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity .9s ease, visibility 0s;
}

/* 背景画像 */
.tn-ss-media { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.tn-ss-bg {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover;
  transform: scale(1);
  transition: transform 7s ease-out;
}
.tn-ss-slide.is-active .tn-ss-bg { transform: scale(1.03); }  /* ごく控えめなズーム */
.tn-ss-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.tn-ss-slide--bottom .tn-ss-media::after {
  background: linear-gradient(180deg, rgba(24,38,69,0) 32%, rgba(24,38,69,.5) 60%, rgba(24,38,69,.88) 100%);
}
.tn-ss-slide--center .tn-ss-media::after { background: rgba(24,38,69,.55); }
.tn-ss-slide--final .tn-ss-media::after { background: rgba(24,38,69,.74); } /* 最終画面は文字優先で背景を抑える */

/* 文字 */
.tn-ss-text {
  position: absolute;
  left: 0; right: 0;
  padding: 0 clamp(28px, 5vw, 64px);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.28);
}
.tn-ss-slide--bottom .tn-ss-text { bottom: clamp(26px, 4.5vw, 56px); }
.tn-ss-slide--center .tn-ss-text { top: 50%; transform: translateY(-50%); text-align: center; }
.tn-ss-text p { margin: 0; }

.tn-ss-main {
  font-size: clamp(2.5rem, 4.2vw, 3.5rem);   /* 40〜56px */
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .02em;
}
.tn-ss-sub {
  font-size: clamp(1.375rem, 2vw, 1.75rem); /* 22〜28px */
  font-weight: 600;
  line-height: 1.6;
  margin-top: .45em !important;
}
.tn-ss-but {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: #f0b98d;
  margin-top: .5em !important;
}
.tn-ss-em { color: #f0b98d; }
.tn-ss-strong {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: #f0b98d;
  line-height: 1.45;
  margin-top: .35em !important;
}
.tn-ss-supp {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: #e3e7f0;
  margin-top: .9em !important;
}
.tn-ss-nudge { color: #f0b98d; }
.tn-ss-cta-wrap { margin-top: 1.3em !important; }
.tn-ss-cta {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem); /* 18〜22px */
  padding: .85em 1.7em;
  text-shadow: none;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.tn-ss-words {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: .8em !important;
}
.tn-ss-word {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 700;
  padding: .2em .8em;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.4);
  text-shadow: none;
}

/* 段階表示（--d で各要素の表示タイミングを指定） */
.tn-ss-step {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease var(--d, 0s), transform .6s ease var(--d, 0s);
}
span.tn-ss-step { display: inline-block; }
.tn-ss-slide.is-active .tn-ss-step { opacity: 1; transform: none; }
/* 再生開始（画面に入る）までは文字を出さない */
.tn-ss.is-js:not(.is-started) .tn-ss-slide .tn-ss-step { opacity: 0; transform: translateY(8px); }

/* 操作部 */
.tn-ss-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  padding: 16px 0 0;
}
.tn-ss-btn {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; height: 44px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: 999px;
  background: #fff; color: var(--ink);
  font-size: .85rem; font-weight: 700; line-height: 1;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.tn-ss-btn:hover { border-color: var(--ink); }
.tn-ss-play { min-width: 104px; }
.tn-ss-play .tn-ss-ico-play { display: none; }
.tn-ss-play.is-paused .tn-ss-ico-play { display: block; }
.tn-ss-play.is-paused .tn-ss-ico-pause { display: none; }
.tn-ss-dots { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.tn-ss-dot {
  -webkit-appearance: none; appearance: none;
  border: 0; background: none; padding: 19px 3px; cursor: pointer; line-height: 0;
}
.tn-ss-dot-track {
  position: relative; display: block;
  width: 22px; height: 6px; border-radius: 999px;
  background: #d9d5ca; overflow: hidden;
  transition: width .3s ease;
}
.tn-ss-dot[aria-current="true"] .tn-ss-dot-track { width: 44px; background: #cfdcd8; }
.tn-ss-dot-bar { position: absolute; top: 0; left: 0; bottom: 0; width: 0; background: var(--teal); border-radius: inherit; }
.tn-ss-dot[aria-current="true"] .tn-ss-dot-bar { width: 100%; }
.tn-ss.is-playing .tn-ss-dot[aria-current="true"] .tn-ss-dot-bar {
  width: 0;
  animation: tn-ss-progress var(--tn-ss-dur, 5s) linear forwards;
}
@keyframes tn-ss-progress { to { width: 100%; } }
.tn-ss-btn:focus-visible,
.tn-ss-dot:focus-visible,
.tn-ss-cta:focus-visible { outline: 3px solid #8fd6c6; outline-offset: 3px; }

/* CTAリンク先（固定ヘッダーで見出しが隠れないように） */
#two-month-design { scroll-margin-top: 80px; }

/* JavaScript無効時：最終場面（メッセージ＋CTA）のみ静的表示 */
.tn-ss:not(.is-js) .tn-ss-slide:last-child { opacity: 1; visibility: visible; }
.tn-ss:not(.is-js) .tn-ss-step { opacity: 1; transform: none; }
.tn-ss:not(.is-js) .tn-ss-controls { display: none; }

.tn-ss-br-sp { display: none; }

/* タブレット：文字量に対して画像高さが足りない幅の微調整 */
@media (max-width: 1024px) and (min-width: 681px) {
  .tn-ss-main { font-size: clamp(1.9rem, 4.4vw, 2.5rem); }
  .tn-ss-sub, .tn-ss-word { font-size: clamp(1.1rem, 2.3vw, 1.375rem); }
  .tn-ss-strong { font-size: clamp(1.5rem, 3.4vw, 1.9rem); }
  .tn-ss-supp { font-size: 1rem; }
}

/* スマートフォン：画像の下に文字パネル */
@media (max-width: 680px) {
  .tn-ss { padding: 32px 0 0; }
  .tn-ss-wrap { padding: 0; }
  .tn-ss-stage { border-radius: 0; box-shadow: none; }
  .tn-ss-slide { aspect-ratio: auto; display: flex; flex-direction: column; }
  .tn-ss-media { position: relative; inset: auto; aspect-ratio: 16 / 9; flex: 0 0 auto; }
  .tn-ss-slide--bottom .tn-ss-media::after { background: linear-gradient(180deg, rgba(24,38,69,0) 70%, rgba(24,38,69,.5) 100%); }
  .tn-ss-slide--center .tn-ss-media::after { background: rgba(24,38,69,.15); }
  .tn-ss-slide--final .tn-ss-media::after { background: rgba(24,38,69,.25); }
  .tn-ss-text,
  .tn-ss-slide--bottom .tn-ss-text,
  .tn-ss-slide--center .tn-ss-text {
    position: static; transform: none;
    flex: 1 1 auto;
    display: flex; flex-direction: column; justify-content: center;
    padding: 22px 20px 26px;
    background: var(--ink);
    text-shadow: none;
  }
  .tn-ss-main { font-size: clamp(1.5rem, 6.6vw, 2rem); }      /* 24〜32px */
  .tn-ss-sub, .tn-ss-word { font-size: clamp(1rem, 4.3vw, 1.25rem); } /* 16〜20px */
  .tn-ss-but { font-size: 1.35rem; }
  .tn-ss-strong { font-size: clamp(1.25rem, 5.4vw, 1.6rem); }
  .tn-ss-supp { font-size: .95rem; }
  .tn-ss-cta { font-size: clamp(1rem, 4.3vw, 1.125rem); width: 100%; max-width: 360px; } /* 16〜18px */
  .tn-ss-words { gap: 5px; }
  .tn-ss-word { font-size: clamp(.8rem, 3.7vw, .95rem); padding: .25em .5em; letter-spacing: 0; }
  .tn-ss-slide--center .tn-ss-words { justify-content: center; }
  .tn-ss-br-sp { display: inline; }
  .tn-ss-controls { gap: 6px; padding: 12px 12px 0; }
  .tn-ss-btn { padding: 0 12px; }
  .tn-ss-play { min-width: 96px; }
  .tn-ss-dots { margin-left: 0; }
  .tn-ss-dot { padding: 19px 2px; }
  .tn-ss-dot-track { width: 16px; }
  .tn-ss-dot[aria-current="true"] .tn-ss-dot-track { width: 32px; }
}

/* OSの「動きを減らす」設定 */
@media (prefers-reduced-motion: reduce) {
  .tn-ss-slide, .tn-ss-slide.is-active, .tn-ss-step, .tn-ss-bg, .tn-ss-dot-track { transition: none !important; }
  .tn-ss-slide.is-active .tn-ss-bg { transform: none; }
  .tn-ss.is-playing .tn-ss-dot[aria-current="true"] .tn-ss-dot-bar { animation: none; width: 100%; }
}

/* =========================================================
   5. 専門家・コンサルタント向けの導線【2026-10-26 追加】
   ①最終CTAの下の細い帯／②FAQの1問のリンク／③フッターのリンク
   - .tn-pt- で始まる専用クラスのみ（既存 .lp-* は変更していません）
   - リンク先：すこやか職場「専門家・コンサルタントの方へ」（新しいタブ）
========================================================= */
.tn-pt-band {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 16px;
  max-width: 760px; margin: 30px auto 0; padding: 16px 24px;
  background: var(--bg); border: 1px dashed #d6d1c4; border-radius: 999px;
  font-size: 0.9rem; line-height: 1.7; color: var(--ink-soft);
}
.tn-pt-band-who { font-weight: 700; color: var(--ink); }
.tn-pt-band-who > span, .tn-pt-nb { display: inline-block; }
a.tn-pt-link, a.tn-pt-link:link, a.tn-pt-link:visited {
  color: var(--teal); font-weight: 700; text-decoration: underline;
  text-decoration-color: rgba(31,122,108,.45); text-underline-offset: 4px; text-decoration-thickness: 1px;
}
a.tn-pt-link:hover, a.tn-pt-link:focus { color: #175d52; text-decoration-color: currentColor; text-decoration-thickness: 2px; }
@media (max-width: 560px) {
  .tn-pt-band { flex-direction: column; align-items: center; gap: 2px; border-radius: 16px; padding: 14px 16px; }
}
