/* =========================================================
   スキマほいく — design system v2.1（マルチページ版）
   ティール×オレンジ×クリーム／丸ゴシック／園の装飾
   ========================================================= */

:root {
  --cream: #FFF9EF;
  --cream-deep: #FDF1E0;
  --white: #FFFFFF;

  --teal: #2FB5AC;
  --teal-deep: #17968D;
  --teal-tint: #E3F5F3;
  --teal-line: #BCE6E1;

  --orange: #F58220;
  --orange-deep: #DE6C0C;
  --orange-tint: #FEEFDF;

  --yellow: #FFD95C;
  --yellow-tint: #FFF3C7;
  --pink: #F7A6B8;
  --sky: #9BD6F0;
  --green: #7FBF6E;
  --green-deep: #5FA24F;

  --ink: #4E4640;
  --ink-soft: #7C736B;
  --ink-faint: #ABA197;

  --line: #F0E2CE;
  --shadow: 0 2px 6px rgba(200, 140, 80, 0.08), 0 10px 26px rgba(200, 140, 80, 0.12);
  --shadow-lift: 0 6px 14px rgba(200, 140, 80, 0.12), 0 20px 44px rgba(200, 140, 80, 0.16);

  /* 日本語Webフォントは見出し・UI用の1ファミリーのみ。
     本文(--font-body)と手書き風(--font-hand)は端末内蔵フォントに寄せて、
     数百KB規模のサブセット読み込みとテキスト描画待ちをなくしている。 */
  --font-jp: "Hiragino Maru Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  --font-round: "M PLUS Rounded 1c", var(--font-jp);
  --font-body: var(--font-jp);
  --font-hand: var(--font-jp);

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 26px;

  --wrap: 1120px;
  --header-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-round);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

input, select, textarea, button { font-family: inherit; font-size: inherit; color: inherit; }
input, select, textarea { accent-color: var(--teal); }

.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--ink); color: var(--white);
  padding: 12px 20px; border-radius: var(--radius-s); z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.marker {
  background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 92%, transparent 92%);
  padding: 0 2px;
}

/* ---------------- アイコン付き見出し ---------------- */

.head-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.section-head.center .head-row { justify-content: center; }
.head-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-tint);
  color: var(--teal-deep);
}
.head-icon.orange { background: var(--orange-tint); color: var(--orange); }
.head-icon svg { width: 22px; height: 22px; }
.head-label {
  font-family: var(--font-round);
  font-weight: 700; font-size: 15px;
  color: var(--teal-deep);
  letter-spacing: .04em;
}
.head-label.orange { color: var(--orange-deep); }

/* ---------------- 汎用アニメーション ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------------- ボタン ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-round); font-weight: 800; font-size: 16px;
  padding: 16px 30px; border-radius: 999px;
  border: 2.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
  line-height: 1.3;
}
.btn::after {
  content: "›";
  font-size: 20px; line-height: 1;
  transform: translateY(-1px);
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: var(--white); box-shadow: 0 4px 0 var(--orange-deep); }
.btn-orange:hover { background: var(--orange-deep); box-shadow: 0 2px 0 var(--orange-deep); transform: translateY(0); }
.btn-teal-line { background: var(--white); border-color: var(--teal); color: var(--teal-deep); }
.btn-teal-line:hover { background: var(--teal-tint); }
.btn-small { padding: 10px 20px; font-size: 14px; }
.btn-small::after { font-size: 17px; }
.cta-note { font-family: var(--font-hand); font-size: 14px; color: var(--ink-soft); margin-top: 12px; }

/* ---------------- ヘッダー ---------------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; height: var(--header-h);
}
.logo {
  font-family: var(--font-round); font-size: 21px; font-weight: 800;
  text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.logo .mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo .dot { color: var(--orange); }

.audience-switch {
  position: relative; display: inline-flex;
  background: var(--teal-tint);
  border: 1.5px solid var(--teal-line);
  border-radius: 999px; padding: 4px;
}
.switch-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(23, 150, 141, .3);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
}
body[data-page="facility"] .switch-thumb { transform: translateX(100%); }
body[data-page="other"] .switch-thumb { opacity: 0; }
.switch-link {
  position: relative; z-index: 1;
  text-decoration: none;
  font-family: var(--font-round); font-weight: 800; font-size: 13.5px;
  padding: 8px 18px; border-radius: 999px;
  color: var(--teal-deep);
  transition: color .3s ease;
}
body[data-page="worker"] .switch-link.worker,
body[data-page="facility"] .switch-link.facility { color: var(--white); }

.head-links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.head-links a {
  text-decoration: none;
  font-family: var(--font-round); font-weight: 700; font-size: 14.5px;
  color: var(--ink-soft);
}
.head-links a:hover { color: var(--teal-deep); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: var(--white); border: 1.5px solid var(--teal-line);
  border-radius: var(--radius-s);
  width: 44px; height: 44px;
  align-items: center; justify-content: center; cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2.5px; border-radius: 2px;
  background: var(--teal-deep); position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.mobile-nav {
  display: none;
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--cream); z-index: 90;
  flex-direction: column; padding: 26px 24px 48px; gap: 6px;
  overflow-y: auto;
}
body.nav-open .mobile-nav { display: flex; }
body.nav-open { overflow: hidden; }
.mobile-nav .group-label {
  font-family: var(--font-round); font-weight: 800; font-size: 13px;
  color: var(--teal-deep); margin: 18px 0 6px;
  display: flex; align-items: center; gap: 6px;
}
.mobile-nav .group-label::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
}
.mobile-nav a {
  text-decoration: none; font-size: 17px;
  font-family: var(--font-round); font-weight: 700; color: var(--ink);
  padding: 9px 0;
}
.mobile-nav .btn { width: 100%; margin-top: 8px; }

/* ---------------- ヒーロー（トップ用） ---------------- */

.hero {
  padding: 30px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero-bunting { width: 100%; height: 52px; margin-bottom: 26px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: 52px; align-items: center;
  position: relative;
}
.hero-sun {
  position: absolute;
  top: -18px; right: -8px;
  width: 92px; height: 92px;
  animation: sunspin 40s linear infinite;
}
@keyframes sunspin { to { transform: rotate(360deg); } }
.hero-cloud {
  position: absolute;
  bottom: -10px; left: -30px;
  width: 120px; opacity: .9;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--teal-line);
  color: var(--teal-deep);
  font-family: var(--font-round); font-weight: 800; font-size: 13.5px;
  border-radius: 999px; padding: 7px 16px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 {
  font-size: clamp(29px, 4.3vw, 48px);
  letter-spacing: .01em;
}
.hero-sub {
  margin-top: 20px; font-size: 17px;
  color: var(--ink-soft); max-width: 46ch;
}
.hero-actions {
  margin-top: 30px;
  display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-lift);
  border: 2px solid var(--teal-line);
  transform: rotate(1.2deg);
  position: relative;
  overflow: hidden;
}
.hero-card-head {
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-round); font-weight: 800; font-size: 15px;
  padding: 13px 22px;
  display: flex; align-items: center; gap: 8px;
}
.hero-card-head svg { width: 18px; height: 18px; }
.hero-card-body { padding: 8px 22px 18px; }
.hero-mini-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 13px 0; border-top: 1.5px dashed var(--line);
}
.hero-mini-row:first-of-type { border-top: none; }
.hero-mini-time {
  font-family: var(--font-round); font-weight: 800;
  color: var(--white); background: var(--orange);
  font-size: 12.5px; border-radius: 999px;
  padding: 3px 10px; margin-top: 2px;
  min-width: 56px; text-align: center; flex-shrink: 0;
}
.hero-mini-text strong { display: block; font-size: 15px; font-family: var(--font-round); font-weight: 800; }
.hero-mini-text span { font-size: 13px; color: var(--ink-soft); }
.hero-card-sticker {
  position: absolute; top: 8px; right: 10px;
  width: 40px; height: 40px;
}

/* ---------------- 下層ページヒーロー ---------------- */

.page-hero {
  padding: 34px 0 38px;
  background: var(--cream-deep);
}
.breadcrumb {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--ink-faint); }
.breadcrumb a { color: var(--teal-deep); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(25px, 3.4vw, 36px); }
.page-hero .lede { margin-top: 12px; color: var(--ink-soft); font-size: 16px; max-width: 60ch; }

/* ---------------- セクション共通 ---------------- */

section { padding: 68px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(24px, 3.1vw, 34px); }
.section-head .lede { margin-top: 12px; color: var(--ink-soft); font-size: 16.5px; }

.band-cream { background: var(--cream-deep); }
.band-teal { background: var(--teal-tint); }

.scallop { display: block; width: 100%; height: 26px; margin-bottom: -1px; }
.scallop.flip { transform: scaleY(-1); margin-bottom: 0; margin-top: -1px; }

/* ---------------- 吹き出し ---------------- */

.voice-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.voice-item { text-align: center; }
.voice-bubble {
  position: relative;
  background: var(--white);
  border: 2px solid var(--teal-line);
  border-radius: var(--radius-m);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  font-size: 15.5px;
  line-height: 1.85;
  text-align: left;
  transition: transform .22s ease;
}
.voice-item:hover .voice-bubble { transform: translateY(-4px); }
.voice-bubble::after {
  content: "";
  position: absolute;
  bottom: -12px; left: 50%;
  transform: translateX(-50%);
  border: 12px solid transparent;
  border-top-color: var(--white);
  border-bottom: 0;
  filter: drop-shadow(0 2px 0 var(--teal-line));
}
.voice-item:nth-child(2) .voice-bubble { border-color: #FBD3A6; }
.voice-item:nth-child(2) .voice-bubble::after { filter: drop-shadow(0 2px 0 #FBD3A6); }
.voice-item:nth-child(3) .voice-bubble { border-color: #F4C3CE; }
.voice-item:nth-child(3) .voice-bubble::after { filter: drop-shadow(0 2px 0 #F4C3CE); }
.voice-face { width: 62px; height: 62px; margin: 18px auto 8px; }
.voice-name { font-size: 12.5px; color: var(--ink-faint); font-family: var(--font-round); font-weight: 700; }

.stat-strip {
  margin-top: 44px;
  display: flex; align-items: center; gap: 26px;
  background: var(--white);
  border: 2px solid var(--teal-line);
  border-radius: var(--radius-m);
  padding: 24px 30px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.stat-strip .num {
  font-family: var(--font-round); font-weight: 800;
  font-size: 44px; color: var(--orange-deep); line-height: 1;
  white-space: nowrap;
}
.stat-strip .num small { font-size: 18px; color: var(--ink); }
.stat-strip .desc { flex: 1; min-width: 250px; font-size: 14px; color: var(--ink-soft); }

/* ---------------- 時程表 ---------------- */

.timetable-board {
  background: var(--white);
  border-radius: var(--radius-l);
  border: 2px solid var(--teal-line);
  box-shadow: var(--shadow-lift);
  position: relative;
}
.tt-head {
  background: var(--teal);
  border-radius: calc(var(--radius-l) - 2px) calc(var(--radius-l) - 2px) 0 0;
  color: var(--white);
  font-family: var(--font-round); font-weight: 800; font-size: 16px;
  padding: 14px 26px;
  display: flex; align-items: center; gap: 10px;
}
.tt-head svg { width: 20px; height: 20px; }
.timetable-inner { padding: 20px clamp(20px, 4vw, 46px) 34px; }
.tt-row {
  display: grid;
  grid-template-columns: 82px 36px 1fr;
  gap: 6px; padding: 24px 0;
}
.tt-row + .tt-row { border-top: 1.5px dashed var(--line); }
.tt-time {
  font-family: var(--font-round); font-weight: 800;
  font-size: 13px; color: var(--white);
  background: var(--orange);
  border-radius: 999px;
  padding: 4px 0; text-align: center;
  height: fit-content; margin-top: 2px;
}
.tt-time.step { background: var(--teal); }
.tt-line { position: relative; display: flex; justify-content: center; }
.tt-line::before {
  content: ""; width: 3px; border-radius: 3px;
  background: var(--teal-tint);
  position: absolute; left: 50%; margin-left: -1.5px; top: 0; bottom: -24px;
}
.tt-row:last-child .tt-line::before { bottom: 0; }
.tt-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--teal); margin-top: 6px;
  position: relative; z-index: 1;
  border: 3.5px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal-tint);
}
.tt-row.is-branch .tt-dot { background: var(--orange); }
.tt-body h3 { font-size: 19px; }
.tt-body > p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
.tt-note {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-round); font-weight: 800; font-size: 13px;
  color: var(--teal-deep); background: var(--teal-tint);
  padding: 4px 14px; border-radius: 999px;
}
.tt-fork {
  margin-top: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.tt-fork-item {
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 16px 18px;
}
.tt-fork-item strong { display: block; font-size: 14.5px; font-family: var(--font-round); font-weight: 800; margin-bottom: 4px; }
.tt-fork-item span { font-size: 13px; color: var(--ink-soft); }
.tt-fork-item.win { border-color: var(--orange); background: var(--orange-tint); }
.tt-fork-item.win strong { color: var(--orange-deep); }

/* ---------------- メリット ---------------- */

.benefit-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 28px 20px 24px;
  border: 2px solid var(--line);
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--teal-line); }
.benefit-card .icon-wrap {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--teal-tint);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.benefit-card:nth-child(2) .icon-wrap { background: var(--orange-tint); }
.benefit-card:nth-child(3) .icon-wrap { background: var(--yellow-tint); }
.benefit-card:nth-child(4) .icon-wrap { background: #FDEBEF; }
.benefit-card .icon-wrap svg { width: 36px; height: 36px; }
.benefit-card h3 { font-size: 17px; }
.benefit-card p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); text-align: left; }

.chip-strip { margin-top: 44px; text-align: center; }
.chip-strip .chip-title {
  font-family: var(--font-round); font-weight: 800; font-size: 15px;
  color: var(--teal-deep); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
}
.chip-strip .chip-title svg { width: 18px; height: 18px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  background: var(--white);
  border: 1.5px solid var(--teal-line);
  color: var(--teal-deep);
  font-family: var(--font-round); font-weight: 700; font-size: 13.5px;
  border-radius: 999px; padding: 6px 16px;
}
a.chip { text-decoration: none; transition: background .18s ease, transform .18s ease; }
a.chip:hover { background: var(--teal-tint); transform: translateY(-2px); }
.benefit-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .benefit-grid.cols-3 { grid-template-columns: 1fr; } }

/* ---------------- 安心 ---------------- */

.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px;
}
.trust-item {
  background: var(--white);
  padding: 30px 24px 26px;
  border-radius: var(--radius-m);
  border: 2px solid var(--teal-line);
  box-shadow: var(--shadow);
  text-align: center;
}
.trust-badge {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 5px var(--teal-tint);
}
.trust-badge svg { width: 34px; height: 34px; }
.trust-item h3 { font-size: 16.5px; }
.trust-item p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); text-align: left; }

.legal-box {
  margin-top: 44px;
  background: var(--white);
  border: 1.5px dashed var(--teal-line);
  border-radius: var(--radius-m);
  padding: 22px 26px;
  font-size: 13.5px; color: var(--ink-soft);
  line-height: 2;
}
.legal-box strong { color: var(--ink); }
.placeholder { color: var(--orange-deep); font-weight: 700; }

/* ---------------- 料金 ---------------- */

.fee-table { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fee-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 32px 30px;
  border: 2px solid var(--line);
  position: relative;
}
.fee-card.highlight { border-color: var(--orange); }
.fee-ribbon {
  position: absolute; top: -14px; left: 24px;
  background: var(--orange); color: var(--white);
  font-family: var(--font-round); font-weight: 800; font-size: 12.5px;
  border-radius: 999px; padding: 4px 16px;
}
.fee-card .label {
  font-family: var(--font-round); font-weight: 800;
  color: var(--teal-deep); font-size: 15px;
}
.fee-card .price {
  font-family: var(--font-round); font-weight: 800;
  font-size: 36px; margin-top: 8px; color: var(--ink);
}
.fee-card .price small { font-size: 16px; font-weight: 700; }
.fee-card.highlight .price { color: var(--orange-deep); }
.fee-card ul { margin: 18px 0 0; padding-left: 20px; font-size: 14.5px; color: var(--ink-soft); }
.fee-card li + li { margin-top: 6px; }
.fee-card li::marker { color: var(--teal); }

/* ---------------- ピッチ ---------------- */

.pitch-block {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow-lift);
  border: 2px solid var(--teal-line);
  position: relative;
}
.pitch-avatar {
  width: 76px; height: 76px;
  position: absolute; top: -34px; left: 40px;
}
.pitch-block .pitch-label {
  font-family: var(--font-round); font-weight: 800; font-size: 14px;
  color: var(--teal-deep); margin-bottom: 14px; padding-left: 84px;
}
.pitch-block p { font-size: 16px; line-height: 2.05; margin-top: 4px; }
.pitch-block p + p { margin-top: 18px; }

/* ---------------- FAQ ---------------- */

.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-m);
  border: 2px solid var(--line);
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-item[open] { border-color: var(--teal-line); }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 22px;
  font-family: var(--font-round);
  font-size: 16px; font-weight: 800; color: var(--ink);
  cursor: pointer;
}
.qa-badge {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-round); font-weight: 800; font-size: 15px;
  color: var(--white);
  margin-top: -1px;
}
.qa-badge.q { background: var(--teal); }
.qa-badge.a { background: var(--orange); }
.faq-q .plus {
  flex-shrink: 0; margin-left: auto;
  width: 26px; height: 26px;
  border-radius: 50%; border: 2px solid var(--teal-line);
  position: relative; margin-top: 2px;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--teal-deep);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: background .25s ease;
}
.faq-q .plus::before { width: 10px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 10px; }
.faq-item[open] .faq-q .plus { transform: rotate(135deg); background: var(--teal); border-color: var(--teal); }
.faq-item[open] .faq-q .plus::before, .faq-item[open] .faq-q .plus::after { background: var(--white); }
.faq-a {
  padding: 0 22px 22px;
  display: flex; gap: 14px; align-items: flex-start;
  color: var(--ink-soft); font-size: 15px;
}
.faq-a p { flex: 1; }

/* ---------------- 最終CTA ---------------- */

.final-cta { text-align: center; }
.final-cta .wrap { max-width: 660px; position: relative; }
.final-cta h2 { font-size: clamp(26px, 3.5vw, 38px); }
.final-cta .lede { margin-top: 16px; color: var(--ink-soft); font-size: 16.5px; }
.final-cta .hero-actions { justify-content: center; margin-top: 28px; }

/* ---------------- コラム ---------------- */

.column-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.column-card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.column-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--teal-line); }
.column-card-visual {
  height: 96px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.column-card-visual.v-teal { background: var(--teal-tint); }
.column-card-visual.v-orange { background: var(--orange-tint); }
.column-card-visual.v-yellow { background: var(--yellow-tint); }
.column-card-visual svg { width: 52px; height: 52px; }
.column-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.column-cat {
  align-self: flex-start;
  font-family: var(--font-round); font-weight: 800; font-size: 11.5px;
  color: var(--teal-deep); background: var(--teal-tint);
  border-radius: 999px; padding: 3px 12px;
  margin-bottom: 10px;
}
.column-card h3 { font-size: 16px; line-height: 1.6; }
.column-card .excerpt { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.column-card .date {
  margin-top: 12px; font-size: 12px; color: var(--ink-faint);
  font-family: var(--font-round); font-weight: 700;
}

/* ---------------- 記事本文 ---------------- */

.article-hero { padding: 34px 0 8px; background: var(--cream-deep); }
.article-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 14px 0 26px;
  font-size: 13px; color: var(--ink-faint);
  font-family: var(--font-round); font-weight: 700;
}
.article-body { padding: 8px 0 60px; }
.article-body > p { margin: 22px 0; }
.article-body h2 {
  margin: 52px 0 20px;
  font-size: clamp(20px, 2.6vw, 26px);
  background: var(--teal-tint);
  border-left: 7px solid var(--teal);
  border-radius: 8px;
  padding: 13px 18px;
}
.article-body h3 {
  margin: 36px 0 14px;
  font-size: 18.5px;
  padding-bottom: 8px;
  border-bottom: 2.5px dashed var(--teal-line);
}
.article-body ul, .article-body ol { margin: 20px 0; padding-left: 26px; }
.article-body li { margin: 8px 0; }
.article-body li::marker { color: var(--teal); font-weight: 800; }
.article-body strong { color: var(--orange-deep); }

.toc {
  background: var(--white);
  border: 2px dashed var(--teal-line);
  border-radius: var(--radius-m);
  padding: 20px 26px;
  margin: 30px 0;
}
.toc .toc-title {
  font-family: var(--font-round); font-weight: 800; font-size: 15px;
  color: var(--teal-deep);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
}
.toc ol { margin: 0; padding-left: 22px; font-size: 14.5px; }
.toc li { margin: 6px 0; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--teal-deep); text-decoration: underline; }

.cta-box {
  background: var(--orange-tint);
  border: 2px solid var(--orange);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  text-align: center;
  margin: 44px 0;
}
.cta-box .cta-title { font-family: var(--font-round); font-weight: 800; font-size: 19px; margin-bottom: 8px; }
.cta-box p { font-size: 14.5px; color: var(--ink-soft); }
.cta-box .btn { margin-top: 18px; }

.author-box {
  background: var(--white);
  border: 2px solid var(--teal-line);
  border-radius: var(--radius-m);
  padding: 22px 26px;
  margin-top: 44px;
  display: flex; gap: 18px; align-items: flex-start;
}
.author-box .voice-face { width: 56px; height: 56px; margin: 0; flex-shrink: 0; }
.author-box .a-name { font-family: var(--font-round); font-weight: 800; font-size: 14.5px; }
.author-box p { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }

.related { padding: 50px 0 70px; }
.related h2 { font-size: 22px; margin-bottom: 24px; }

/* ---------------- フォーム ---------------- */

.form-wrap { padding: 48px 0 72px; }
.form-card {
  background: var(--white);
  border: 2px solid var(--teal-line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  padding: clamp(26px, 4.5vw, 44px);
}
.field { margin-bottom: 26px; }
.field > label, .field > .group-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-round); font-weight: 800; font-size: 15px;
  margin-bottom: 8px;
}
.req, .opt {
  font-size: 11px; font-family: var(--font-round); font-weight: 800;
  border-radius: 6px; padding: 2px 8px;
}
.req { background: var(--orange); color: var(--white); }
.opt { background: var(--teal-tint); color: var(--teal-deep); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: var(--radius-s);
  padding: 13px 16px;
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--teal-tint);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--ink-faint); margin-top: 6px; }
.choice-list { display: flex; flex-direction: column; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 10px;
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 16px;
  cursor: pointer;
  font-size: 15px;
  transition: border-color .2s ease, background .2s ease;
}
.choice:hover { border-color: var(--teal-line); }
.choice input { width: 18px; height: 18px; flex-shrink: 0; }
.choice input:checked + span { font-weight: 700; }
.consent-row {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--teal-tint);
  border-radius: var(--radius-s);
  padding: 16px 18px;
  font-size: 14.5px;
}
.consent-row input { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; }
.consent-row a { color: var(--teal-deep); font-weight: 700; }
.form-submit { text-align: center; margin-top: 30px; }
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success .ok-badge {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 6px var(--teal-tint);
}
.form-success .ok-badge svg { width: 36px; height: 36px; }
.form-success h2 { font-size: 22px; }
.form-success p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.form-error {
  margin-top: 22px;
  background: var(--orange-tint);
  border: 2px solid var(--orange);
  border-radius: var(--radius-m);
  padding: 18px 20px;
  text-align: center;
}
.form-error p { font-size: 14.5px; color: var(--ink); margin-bottom: 12px; }

/* ---------------- 会社概要テーブル ---------------- */

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 2px solid var(--teal-line);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.company-table th, .company-table td {
  padding: 18px 22px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1.5px dashed var(--line);
  vertical-align: top;
}
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-table th {
  width: 190px;
  background: var(--teal-tint);
  font-family: var(--font-round); font-weight: 800;
  color: var(--teal-deep);
  white-space: nowrap;
}

/* ---------------- 規約系プレーンテキスト ---------------- */

.prose { padding: 44px 0 72px; }
.prose h2 { font-size: 20px; margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2.5px dashed var(--teal-line); }
.prose p, .prose li { font-size: 15px; }
.prose p { margin: 14px 0; }
.prose ol, .prose ul { margin: 14px 0; padding-left: 26px; }
.prose li { margin: 6px 0; }
.prose .updated { font-size: 13px; color: var(--ink-faint); margin-top: 30px; text-align: right; }

/* ---------------- マーケティング要素 ---------------- */

.btn-line { background: #06C755; color: #fff; box-shadow: 0 4px 0 #059A47; }
.btn-line:hover { background: #059A47; box-shadow: 0 2px 0 #059A47; transform: translateY(0); color: #fff; }
.btn-line svg { width: 19px; height: 19px; flex-shrink: 0; }

.cta-trust {
  margin-top: 14px;
  display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap;
  font-family: var(--font-round); font-weight: 700; font-size: 13px;
  color: var(--ink-soft);
}
.cta-trust span { display: inline-flex; align-items: center; gap: 5px; }
.cta-trust svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; }
.cta-trust a { color: var(--teal-deep); }

.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.compare-table {
  width: 100%; min-width: 640px;
  border-collapse: separate; border-spacing: 0;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 14px 14px;
  font-size: 14px; text-align: center;
  border-bottom: 1.5px dashed var(--line);
  vertical-align: middle;
}
.compare-table thead th {
  font-family: var(--font-round); font-weight: 800; font-size: 13.5px;
  background: var(--cream-deep);
}
.compare-table tbody th {
  background: var(--cream);
  text-align: left;
  font-family: var(--font-round); font-weight: 800; font-size: 13.5px;
  width: 178px;
}
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }
.compare-table .col-us { background: var(--orange-tint); }
.compare-table thead .col-us { background: var(--orange); color: #fff; }
.compare-table small {
  display: block; font-size: 11.5px; font-weight: 500;
  color: var(--ink-soft); margin-top: 3px; line-height: 1.5;
}
.compare-table .col-us small { color: var(--ink); }
.mk { font-family: var(--font-round); font-weight: 800; font-size: 17px; line-height: 1; display: inline-block; }
.mk-best { color: var(--teal-deep); font-size: 21px; }
.mk-ok { color: var(--ink-soft); }
.mk-tri { color: var(--orange-deep); }
.mk-no { color: var(--ink-faint); }
.compare-note { font-size: 12px; color: var(--ink-faint); margin-top: 10px; text-align: right; }


.feature-card {
  display: grid; grid-template-columns: 220px 1fr;
  background: var(--white);
  border: 2px solid var(--teal-line);
  border-radius: var(--radius-l);
  overflow: hidden; text-decoration: none;
  box-shadow: var(--shadow);
  max-width: 780px; margin: 0 auto;
  transition: transform .22s ease, box-shadow .22s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.feature-visual {
  background: var(--teal-tint);
  display: flex; align-items: center; justify-content: center;
}
.feature-visual svg { width: 96px; height: 96px; }
.feature-body { padding: 24px 28px 22px; }
.feature-body h3 { font-size: 18.5px; margin-top: 10px; line-height: 1.6; }
.feature-body .excerpt { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.feature-body .f-meta {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font-round); font-weight: 800; font-size: 12.5px;
}
.feature-body .f-meta .date { color: var(--ink-faint); }
.feature-body .f-meta .go { color: var(--orange-deep); }

.line-alt {
  background: #EAF9F0;
  border: 2px solid #B5E8C8;
  border-radius: var(--radius-m);
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 26px;
}
.line-alt p {
  font-family: var(--font-round); font-weight: 800; font-size: 14.5px;
  display: flex; align-items: center; gap: 8px;
}
.line-alt p svg { width: 20px; height: 20px; color: #06C755; flex-shrink: 0; }

.share-row { margin-top: 20px; display: flex; justify-content: center; }
.share-line {
  display: inline-flex; align-items: center; gap: 8px;
  background: #06C755; color: #fff;
  text-decoration: none;
  font-family: var(--font-round); font-weight: 800; font-size: 13.5px;
  border-radius: 999px; padding: 10px 20px;
  transition: background .18s ease;
}
.share-line:hover { background: #059A47; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1.5px solid var(--line);
  box-shadow: 0 -6px 18px rgba(200, 140, 80, 0.12);
}
.sticky-cta .btn { flex: 1; padding: 13px 8px; font-size: 14px; }

@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  body.has-sticky { padding-bottom: 74px; }
  body.has-sticky .mobile-nav { padding-bottom: 110px; }
}
@media (max-width: 900px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-visual { height: 110px; }
}

/* ---------------- 求人 ---------------- */

.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.job-card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px 20px 18px;
  text-decoration: none;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.job-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--teal-line); }
.job-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-family: var(--font-round); font-weight: 800; font-size: 11.5px;
  border-radius: 999px; padding: 3px 12px;
  display: inline-flex; align-items: center; gap: 5px;
}
.badge-taiken { background: var(--teal-tint); color: var(--teal-deep); }
.job-card h3 { font-size: 16px; line-height: 1.6; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--ink-soft); }
.job-tags span { background: var(--cream); border: 1.5px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.job-salary {
  font-family: var(--font-round); font-weight: 800; font-size: 15.5px;
  color: var(--orange-deep);
}
.job-card .go {
  margin-top: auto; text-align: right;
  font-family: var(--font-round); font-weight: 800; font-size: 12.5px;
  color: var(--teal-deep);
}

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  background: var(--white);
  border: 2px solid var(--teal-line);
  border-radius: var(--radius-m);
  padding: 16px 18px;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}
.filter-bar label {
  font-family: var(--font-round); font-weight: 800; font-size: 13px;
  color: var(--teal-deep);
  display: flex; align-items: center; gap: 8px;
}
.filter-bar select {
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  font-family: var(--font-round); font-weight: 700; font-size: 14px;
}
.filter-bar select:focus { outline: none; border-color: var(--teal); }
.filter-count {
  margin-left: auto;
  font-family: var(--font-round); font-weight: 800; font-size: 13.5px;
  color: var(--ink-soft);
}
.filter-count strong { color: var(--orange-deep); font-size: 17px; }
.jobs-empty {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border: 2px dashed var(--teal-line);
  border-radius: var(--radius-m);
  color: var(--ink-soft);
  font-size: 15px;
}

/* 求人詳細 */
.job-hero-badges { margin-top: 14px; }
.job-quick {
  background: var(--white);
  border: 2px solid var(--teal-line);
  border-radius: var(--radius-m);
  padding: 24px 26px;
  box-shadow: var(--shadow);
}
.job-quick .job-salary { font-size: 22px; }
.job-quick .job-tags { margin-top: 10px; }
.job-quick .cta-col { margin-top: 20px; display: flex; gap: 12px; }
.job-quick .cta-col .btn { flex: 1; }
.job-quick .gate-note {
  margin-top: 14px;
  font-size: 12.5px; color: var(--ink-soft);
  background: var(--cream);
  border-radius: 10px;
  padding: 10px 14px;
  line-height: 1.8;
}
.job-quick .gate-note strong { color: var(--teal-deep); }

.job-table { margin-top: 44px; }
.job-table th { width: 150px; }
.lock-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--yellow-tint);
  border: 1.5px solid #EFD98A;
  color: #8A6A12;
  font-family: var(--font-round); font-weight: 800; font-size: 12.5px;
  border-radius: 999px; padding: 3px 12px;
}

.apply-box {
  margin-top: 44px;
  background: var(--orange-tint);
  border: 2px solid var(--orange);
  border-radius: var(--radius-l);
  padding: clamp(26px, 4.5vw, 40px);
  text-align: center;
}
.apply-box h2 { font-size: clamp(20px, 2.8vw, 26px); }
.apply-steps {
  display: flex; justify-content: center; gap: 10px 26px; flex-wrap: wrap;
  margin: 18px 0 6px;
  font-family: var(--font-round); font-weight: 800; font-size: 13.5px;
  color: var(--ink);
}
.apply-steps span { display: inline-flex; align-items: center; gap: 7px; }
.apply-steps .n {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12.5px; flex-shrink: 0;
}
.apply-box .hero-actions { justify-content: center; margin-top: 18px; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 34px;
  font-family: var(--font-round); font-weight: 800; font-size: 14px;
  color: var(--teal-deep); text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

/* 登録ページ：求人引き継ぎ＆流れ */
.job-notice {
  background: var(--teal-tint);
  border: 2px solid var(--teal-line);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  margin-bottom: 22px;
  font-size: 14.5px;
}
.job-notice strong { font-family: var(--font-round); display: block; margin-top: 2px; }
.flow-mini {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 26px;
}
.flow-mini .step {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-m);
  padding: 16px 14px;
  text-align: center;
}
.flow-mini .n {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-family: var(--font-round); font-weight: 800; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.flow-mini p { font-family: var(--font-round); font-weight: 800; font-size: 13.5px; line-height: 1.6; }
.flow-mini small { display: block; font-size: 11.5px; color: var(--ink-soft); font-weight: 500; margin-top: 4px; }

@media (max-width: 900px) {
  .job-grid { grid-template-columns: 1fr; }
  .filter-count { margin-left: 0; width: 100%; }
  .job-quick .cta-col { flex-direction: column; }
}
@media (max-width: 560px) {
  .flow-mini { grid-template-columns: 1fr; }
}

.badge-hw { background: #E7F3FB; color: #2273A8; border: 1.5px solid #BBDDF0; }
.badge-ad { background: #EFEAFB; color: #5B3FA8; border: 1.5px solid #D6C8F0; }
.hw-employer {
  font-size: 12.5px; color: var(--ink-soft);
  font-family: var(--font-round); font-weight: 700;
}
.source-box {
  background: #F4FAFE;
  border: 2px solid #BBDDF0;
  border-radius: var(--radius-m);
  padding: 18px 22px;
  margin-top: 30px;
  font-size: 13.5px; color: var(--ink-soft);
  line-height: 2;
}
.source-box strong { color: #2273A8; }

.ad-facility-box {
  background: var(--white);
  border: 2px solid var(--teal-line);
  border-radius: var(--radius-m);
  padding: 22px 26px;
  margin-top: 24px;
}
.ad-facility-box .f-name { font-family: var(--font-round); font-weight: 800; font-size: 18px; }
.ad-facility-box .f-note { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.ad-apply-form {
  margin-top: 44px;
  background: var(--cream-deep);
  border-radius: var(--radius-l);
  padding: clamp(24px, 4.5vw, 38px);
}
.ad-apply-form h2 { font-size: 20px; margin-bottom: 6px; }
.ad-apply-form .lede { font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; }
.ad-apply-note {
  margin-top: 18px; font-size: 12.5px; color: var(--ink-faint);
  background: var(--white); border-radius: 10px; padding: 12px 16px; line-height: 1.8;
}

/* ---------------- リッチモーション ---------------- */

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.6deg); } }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.6) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(18deg); } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes shineSweep { to { left: 140%; } }
@keyframes confettiFall { to { transform: translateY(130px) rotate(340deg); opacity: 0; } }
@keyframes drawMaru { to { stroke-dashoffset: 0; } }

.hero-cloud { animation: floaty 7s ease-in-out infinite; }
.hero-bunting g { transform-origin: 600px 0px; animation: sway 7s ease-in-out infinite; }
.hero-copy { position: relative; }
.hero-copy > * { animation: popIn .7s cubic-bezier(.2, .8, .3, 1) backwards; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero .hero-card { animation: popIn .8s .2s cubic-bezier(.2, .8, .3, 1) backwards; }

.twinkle {
  position: absolute; width: 18px; height: 18px;
  color: #FFC93C; pointer-events: none;
  animation: twinkle 2.8s ease-in-out infinite;
}
.twinkle.t2 { width: 13px; height: 13px; color: var(--pink); animation-delay: 1.3s; animation-duration: 3.4s; }

.btn { position: relative; overflow: hidden; }
.btn:active { transform: translateY(1px) scale(.97); }
.btn-orange::before {
  content: ""; position: absolute; top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
}
.btn-orange:hover::before { animation: shineSweep .7s ease; }

.faq-a { transition: max-height .35s ease, opacity .25s ease; overflow: hidden; }

/* ---------------- 10秒ぴったり診断 ---------------- */

.shindan-wrap { max-width: 620px; margin: 0 auto; }
.shindan-card {
  background: var(--white);
  border: 2px solid var(--teal-line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-lift);
  padding: clamp(26px, 4.5vw, 40px);
  position: relative;
  overflow: hidden;
}
.sh-progress { display: flex; justify-content: center; gap: 9px; margin-bottom: 20px; }
.sh-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal-tint);
  transition: background .3s ease, transform .3s ease;
}
.sh-dot.on { background: var(--teal); transform: scale(1.25); }
.sh-step { display: none; }
.sh-step.is-active { display: block; animation: popIn .45s cubic-bezier(.2, .8, .3, 1); }
.sh-q {
  font-family: var(--font-round); font-weight: 800;
  font-size: 19px; text-align: center; margin-bottom: 20px;
  line-height: 1.6;
}
.sh-options { display: grid; gap: 11px; }
.sh-opt {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left;
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: var(--radius-s);
  padding: 14px 16px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  color: var(--ink); cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.sh-opt:hover { border-color: var(--teal); background: var(--teal-tint); }
.sh-opt:active { transform: scale(.98); }
.sh-opt svg { width: 30px; height: 30px; flex-shrink: 0; }
.sh-back {
  display: block; margin: 16px auto 0;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-round); font-weight: 700; font-size: 12.5px;
  color: var(--ink-faint);
}
.sh-back:hover { color: var(--teal-deep); }
.sh-result { display: none; text-align: center; }
.sh-result.is-active { display: block; animation: popIn .5s cubic-bezier(.2, .8, .3, 1); }
.sh-type {
  display: inline-block;
  background: var(--yellow-tint);
  border-radius: 999px; padding: 5px 18px;
  font-family: var(--font-round); font-weight: 800; font-size: 13px;
  color: #8A6A12;
}
.sh-result .voice-face { width: 78px; height: 78px; margin: 16px auto 8px; }
.sh-result h3 { font-size: 21px; }
.sh-msg {
  margin-top: 14px; text-align: left;
  background: var(--cream);
  border-radius: var(--radius-s);
  padding: 14px 18px;
  font-size: 14.5px; color: var(--ink-soft);
  line-height: 2;
}
.sh-msg strong { color: var(--teal-deep); }
.sh-cta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.sh-cta .btn { width: 100%; }
.confetti-piece {
  position: absolute; top: -12px;
  width: 9px; height: 14px; border-radius: 2px;
  pointer-events: none;
  animation: confettiFall 1.15s ease-in forwards;
}

/* ---------------- 花丸スタンプ ---------------- */

.hanamaru {
  position: absolute; top: -20px; right: -12px;
  width: 58px; height: 58px;
  color: #E85D5D;
  transform: rotate(10deg);
  pointer-events: none;
}
.hanamaru path {
  stroke: currentColor; fill: none;
  stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 400; stroke-dashoffset: 400;
}
.hanamaru.draw path { animation: drawMaru 1s .25s ease forwards; }
.hanamaru.draw path + path { animation-delay: .55s; }
.tt-fork-item.win { position: relative; }
.form-success { position: relative; }
.form-success .hanamaru { top: -4px; right: 6%; width: 66px; height: 66px; }

/* ---------------- 体験当日のこと ---------------- */

.day-info {
  margin-top: 30px;
  background: var(--white);
  border: 2px dashed var(--teal-line);
  border-radius: var(--radius-m);
  padding: 20px 24px;
}
.day-info-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-round); font-weight: 800; font-size: 15.5px;
  color: var(--teal-deep);
  margin-bottom: 12px;
}
.day-info-title svg { width: 24px; height: 24px; flex-shrink: 0; }
.day-info ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.day-info li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; }
.di-label {
  flex-shrink: 0;
  min-width: 86px; text-align: center;
  background: var(--teal-tint);
  color: var(--teal-deep);
  font-family: var(--font-round); font-weight: 800; font-size: 12.5px;
  border-radius: 999px; padding: 4px 12px;
  margin-top: 1px;
}

/* ---------------- 施設ポータル・管理画面 ---------------- */

.portal-wrap { max-width: 640px; margin: 0 auto; padding: 48px 24px 72px; }
.portal-wrap.wide { max-width: 980px; }
.portal-card {
  background: var(--white);
  border: 2px solid var(--teal-line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  padding: clamp(26px, 4.5vw, 40px);
}
.portal-card h1 { font-size: 24px; }
.portal-card .lede { margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; }
.portal-alert {
  margin-top: 16px; padding: 12px 16px; border-radius: 10px;
  font-size: 13.5px; display: none;
}
.portal-alert.show { display: block; }
.portal-alert.err { background: var(--orange-tint); border: 1.5px solid var(--orange); color: var(--ink); }
.portal-alert.ok { background: var(--teal-tint); border: 1.5px solid var(--teal-line); color: var(--teal-deep); }
.portal-switch { margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--ink-soft); }
.portal-switch a { color: var(--teal-deep); font-weight: 700; }
.terms-embed {
  margin: 18px 0; max-height: 220px; overflow-y: auto;
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 16px 18px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.9;
}
.terms-embed h3 { font-size: 13px; margin: 14px 0 4px; color: var(--ink); }
.terms-embed h3:first-child { margin-top: 0; }

.portal-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 30px;
}
.portal-header h1 { font-size: 22px; }
.portal-header .who { font-size: 13px; color: var(--ink-soft); }
.portal-logout {
  background: none; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-family: var(--font-round); font-weight: 700; font-size: 13px;
  cursor: pointer; color: var(--ink-soft);
}
.portal-logout:hover { border-color: var(--teal); color: var(--teal-deep); }

.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.stat-card {
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius-m);
  padding: 18px 20px;
}
.stat-card .n { font-family: var(--font-round); font-weight: 800; font-size: 30px; color: var(--orange-deep); }
.stat-card .l { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

.portal-section { margin-bottom: 40px; }
.portal-section h2 { font-size: 18px; margin-bottom: 14px; }

.dash-job-row {
  display: grid; grid-template-columns: 1fr auto auto auto;
  align-items: center; gap: 14px;
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius-m);
  padding: 16px 18px; margin-bottom: 10px;
}
.dash-job-row .t { font-family: var(--font-round); font-weight: 800; font-size: 14.5px; }
.dash-job-row .m { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }
.dash-status {
  font-family: var(--font-round); font-weight: 800; font-size: 11.5px;
  border-radius: 999px; padding: 3px 12px;
}
.dash-status.published { background: var(--teal-tint); color: var(--teal-deep); }
.dash-status.closed { background: var(--cream); color: var(--ink-faint); }
.dash-job-row .btn-small { white-space: nowrap; }

.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-m); overflow: hidden; border: 2px solid var(--line); }
.data-table th, .data-table td { padding: 10px 14px; font-size: 13px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table th { background: var(--cream-deep); font-family: var(--font-round); font-weight: 800; font-size: 12px; }
.data-table tr:last-child td { border-bottom: none; }
.empty-note { font-size: 13.5px; color: var(--ink-faint); padding: 20px; text-align: center; }

@media (max-width: 700px) {
  .stat-cards { grid-template-columns: 1fr; }
  .dash-job-row { grid-template-columns: 1fr; }
}

/* ---------------- フッター ---------------- */

.footer-lawn { display: block; width: 100%; height: 74px; margin-bottom: -1px; }
.site-footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 50px 0 30px;
  font-size: 14px;
}
.footer-top {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.footer-logo {
  font-family: var(--font-round); font-weight: 800;
  font-size: 20px; color: var(--white);
  display: flex; align-items: center; gap: 8px;
}
.footer-logo .mark { width: 26px; height: 26px; }
.footer-top p { margin-top: 14px; line-height: 1.9; color: rgba(255, 255, 255, 0.66); }
.footer-col h4 {
  font-family: var(--font-round); font-weight: 800; font-size: 13px;
  letter-spacing: .06em; color: rgba(255, 255, 255, 0.6); margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; color: rgba(255, 255, 255, 0.9); }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; flex-wrap: wrap; gap: 12px;
  color: rgba(255, 255, 255, 0.55); font-size: 12.5px;
}

/* ---------------- レスポンシブ ---------------- */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 42px; }
  .hero-card { transform: none; order: -1; max-width: 440px; }
  .hero-sun { top: -34px; right: 4px; width: 72px; height: 72px; }
  .hero-cloud { display: none; }
  .voice-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .fee-table { grid-template-columns: 1fr; }
  .column-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .head-links { display: none; }
}

@media (max-width: 760px) {
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 50px 0; }
  .hero { padding-bottom: 44px; }
  .tt-row { grid-template-columns: 64px 26px 1fr; }
  .tt-time { font-size: 11.5px; }
  .tt-fork { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .pitch-avatar { width: 60px; height: 60px; top: -26px; left: 24px; }
  .pitch-block .pitch-label { padding-left: 72px; }
  .footer-top { grid-template-columns: 1fr; }
  .company-table th { width: 120px; white-space: normal; }
}

@media (max-width: 430px) {
  .logo { font-size: 17px; }
  .logo .mark { width: 24px; height: 24px; }
  .switch-link { padding: 7px 11px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-sun { animation: none; }
}

/* ============================================================
   モバイル最適化・レスポンシブ強化（2026-07 追加）
   既存ルールの後に置き、電話幅の崩れを総ざらいで補正
   ============================================================ */

/* --- はみ出し／横スクロール防止（iOS Safari 含む） --- */
html { overflow-x: hidden; }
body { overflow-wrap: break-word; word-break: normal; }
img, svg, video, iframe, canvas, picture { max-width: 100%; }
table { max-width: 100%; }

/* 横スクロールが必要な表は必ずラッパー内でスクロール（管理/施設ダッシュボード） */
.data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- 電話・小型タブレット（〜640px） --- */
@media (max-width: 640px) {
  /* コンテナ余白と縦間隔 */
  .wrap, .wrap-narrow { padding: 0 16px; }
  section { padding: 46px 0; }

  /* 主要グリッドはすべて1カラムに（保険として明示） */
  .benefit-grid, .benefit-grid.cols-3, .voice-grid, .trust-grid,
  .fee-table, .column-grid, .job-grid, .flow-mini, .stat-cards,
  .tt-fork, .footer-top, .feature-card {
    grid-template-columns: 1fr;
  }

  /* ボタン：長い日本語ラベルの折り返しを許可し、CTA群は縦積み全幅 */
  .btn { white-space: normal; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .hero-actions .btn { width: 100%; }

  /* ヒーロー：カードの傾きを解除して見切れ防止、サブ文字を調整 */
  .hero-card { transform: none; }
  .hero-sub { font-size: 15.5px; }

  /* stat-strip：横並び→縦積み、最小幅解除 */
  .stat-strip { flex-direction: column; align-items: flex-start; }
  .stat-strip .desc { min-width: 0; }

  /* 会社概要テーブル：見出し列を詰める */
  .company-table th { width: 96px; }

  /* 比較表：3列すべてを1画面に収める（横スクロール廃止） */
  .compare-wrap { overflow-x: visible; }
  .compare-table { min-width: 0; width: 100%; table-layout: fixed; }
  .compare-table th, .compare-table td { padding: 9px 3px; font-size: 11px; word-break: break-word; }
  .compare-table thead th { font-size: 10.5px; line-height: 1.3; }
  .compare-table tbody th { width: 62px; font-size: 10.5px; padding: 9px 4px; line-height: 1.3; text-align: left; }
  .compare-table small { display: block; font-size: 9px; margin-top: 2px; line-height: 1.35; }
  .mk { font-size: 13px; }
  .mk-best { font-size: 15px; }
  .compare-note { text-align: left; }
}

/* --- 小型スマホ（〜400px） --- */
@media (max-width: 400px) {
  .wrap, .wrap-narrow { padding: 0 13px; }
  .hero h1 { font-size: 25px; }
  .btn { font-size: 15px; padding: 14px 18px; }
  .logo { font-size: 16px; }
  .page-hero h1 { font-size: 23px; }
}

/* ============================================================
   追加修正2（2026-07）：見出しの句読点改行／ヘッダー切替をモバイルでも常時表示
   ============================================================ */

/* 見出しは句読点(、。！？)で改行（build側で<wbr>挿入）。語中での不自然な改行を防ぐ */
h1, h2 { word-break: keep-all; overflow-wrap: anywhere; }

/* スマホ：ヘッダーを2段に。上段=ロゴ＋メニュー、下段=全幅の「保育士の方／施設の方」切替。
   → 保育士／施設のどちらで来ても、最初の画面で切替が必ず見える */
@media (max-width: 760px) {
  :root { --header-h: 106px; }
  .site-header .wrap {
    height: auto; flex-wrap: wrap; align-items: center;
    padding-top: 10px; padding-bottom: 10px; row-gap: 10px;
  }
  .logo { order: 1; }
  .nav-toggle { order: 2; }
  .audience-switch {
    order: 3; display: inline-flex; width: 100%; box-sizing: border-box;
  }
  .audience-switch .switch-link {
    flex: 1; text-align: center; white-space: nowrap; padding: 9px 0; font-size: 14px;
  }
  .switch-thumb { width: calc(50% - 4px); }
}

/* ============================================================
   追加修正3（2026-07）：体験強化
   （ヒーロー時間割アニメ／単発シミュレーター／求人票のコツ）
   ============================================================ */

/* ヒーローの「きょうのじていひょう」：現在の行がやさしく点灯 */
.hero-mini-row { transition: background-color .5s ease; border-radius: 12px; padding-left: 8px; padding-right: 8px; margin: 0 -8px; }
.hero-mini-row.is-now { background: #FFF4D6; }
.hero-mini-row .hero-mini-time { transition: transform .5s ease; }
.hero-mini-row.is-now .hero-mini-time { transform: scale(1.1); }

/* 単発シミュレーター */
.sim-card { background: var(--white); border: 2px solid var(--teal-line); border-radius: var(--radius-l); padding: 26px 26px 20px; box-shadow: var(--shadow); }
.sim-row { display: grid; grid-template-columns: 110px 1fr 92px; align-items: center; gap: 14px; padding: 10px 0; }
.sim-row label { font-family: var(--font-round); font-weight: 800; font-size: 14px; color: var(--teal-deep); }
.sim-row output { font-family: var(--font-round); font-weight: 800; text-align: right; font-size: 15px; }
.sim-row input[type="range"] { width: 100%; accent-color: var(--orange); }
.sim-result { margin-top: 14px; padding-top: 16px; border-top: 1.5px dashed var(--line); text-align: center; font-family: var(--font-round); font-weight: 800; font-size: 17px; }
.sim-result strong { font-size: 34px; color: var(--orange-deep); margin: 0 4px; font-variant-numeric: tabular-nums; }
.sim-result small { font-size: 13px; color: var(--ink-soft); font-weight: 700; margin-left: 2px; }
.sim-note { font-size: 11.5px; color: var(--ink-faint); margin-top: 12px; text-align: center; }
@media (max-width: 640px) {
  .sim-card { padding: 20px 16px 16px; }
  .sim-row { grid-template-columns: 84px 1fr 72px; gap: 10px; }
  .sim-row label { font-size: 12.5px; }
  .sim-row output { font-size: 13px; }
  .sim-result strong { font-size: 29px; }
}

/* 求人票のコツ（施設向け） */
.tips-list { list-style: none; counter-reset: tip; margin: 0; padding: 0; display: grid; gap: 14px; }
.tips-list li { counter-increment: tip; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius-m); padding: 16px 18px 16px 58px; position: relative; font-size: 14.5px; line-height: 1.9; }
.tips-list li::before { content: counter(tip); position: absolute; left: 16px; top: 17px; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-round); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.tips-list li strong { font-family: var(--font-round); display: block; margin-bottom: 2px; color: var(--teal-deep); }

/* 求人作成フォームの補足注記（法定明示ガイド） */
.form-help { font-size: 11.5px; color: var(--ink-faint); margin: 6px 0 0; line-height: 1.8; }
.form-help strong { color: var(--ink-soft); }

/* ============================================================
   移管記事（ケアキャリア→スキマほいく）用のprose補整
   本文HTMLは無改変のまま、WordPress(SWELL)由来の要素をスキマほいくの見た目に寄せる
   ============================================================ */
.imported-article > .wrap-narrow > p,
.imported-article .wrap-narrow p { margin: 20px 0; line-height: 2; }
.imported-article a { color: var(--teal-deep); text-decoration: underline; font-weight: 600; word-break: break-word; }
.imported-article a:hover { color: var(--orange-deep); }

/* 画像（WordPressのfigure/wp-block-image） */
.imported-article figure { margin: 26px 0; text-align: center; }
.imported-article img { max-width: 100%; height: auto; border-radius: var(--radius-m); }
.imported-article figcaption { font-size: 12.5px; color: var(--ink-faint); margin-top: 8px; }

/* 表 */
.imported-article .wrap-narrow { overflow-wrap: break-word; }
.imported-article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; }
.imported-article th, .imported-article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.imported-article thead th { background: var(--teal-tint); color: var(--teal-deep); font-weight: 800; white-space: nowrap; }
.imported-article tbody tr:nth-child(even) { background: #FBFAF7; }

/* 引用 */
.imported-article blockquote { margin: 24px 0; padding: 14px 20px; border-left: 5px solid var(--teal-line); background: var(--cream); border-radius: 0 10px 10px 0; color: var(--ink-soft); }

/* SWELLのマーカー（蛍光ペン）を再現 */
.imported-article .swl-marker, .imported-article .marker_under, .imported-article .mark_orange, .imported-article .mark_yellow { background: linear-gradient(transparent 60%, #FFE9A8 60%); padding: 0 2px; font-weight: 700; }
.imported-article .mark_orange { background: linear-gradient(transparent 60%, #FFD9B0 60%); }

/* SWELL/プラグインの吹き出しを、シンプルな囲みに（アバター画像は無いので枠だけ整える） */
.imported-article .wp-block-liquid-speech-balloon,
.imported-article .swell-block-balloon,
.imported-article .l-sbox, .imported-article .is-style-balloon {
  background: var(--white); border: 2px solid var(--teal-line); border-radius: var(--radius-m);
  padding: 14px 18px; margin: 22px 0;
}
.imported-article .liquid-speech-balloon-avatar,
.imported-article .swell-block-balloon__figure { display: none; }
.imported-article .liquid-speech-balloon-arrow { display: none; }
.imported-article .wp-block-liquid-speech-balloon p:last-child,
.imported-article .liquid-speech-balloon-text p:last-child { margin-bottom: 0; }

/* WordPressの囲み枠（キャプションボックス等）の汎用フォールバック */
.imported-article .swell-block-capbox, .imported-article .wp-block-group.is-style-box,
.imported-article .is-style-sticky-blue, .imported-article .cap_box {
  border: 2px solid var(--line); border-radius: var(--radius-m); padding: 16px 18px; margin: 22px 0;
}
/* 空要素で余白が出過ぎないよう軽く調整 */
.imported-article div:empty { display: none; }

/* ============================================================
   移管記事の品質強化：関連記事・記事内CTA・表の装飾（20代女性保育士向け）
   ============================================================ */

/* 記事内CTA（余白を確保して悪目立ちしすぎない） */
.imported-article .article-cta { margin: 40px 0; }

/* 表を明るくやわらかく（角丸・見出し色・ゼブラ・行間） */
.imported-article table {
  border: none; font-size: 14px;
}
.imported-article th, .imported-article td { border: 1px solid #EFEAE0; padding: 12px 14px; }
.imported-article thead th {
  background: var(--teal); color: #fff; font-weight: 800; border-color: var(--teal);
}
.imported-article tbody tr:nth-child(odd) { background: #FCFBF8; }
.imported-article tbody tr:nth-child(even) { background: var(--teal-tint); }
.imported-article table a { font-weight: 700; }

/* 見出し前後の余白を読みやすく調整 */
.imported-article h2 { scroll-margin-top: calc(var(--header-h) + 16px); }
.imported-article h3 { scroll-margin-top: calc(var(--header-h) + 16px); color: var(--teal-deep); }

/* 関連記事 */
.related-articles { margin: 50px 0 8px; }
.related-h {
  font-family: var(--font-round); font-weight: 800; font-size: 20px; color: var(--teal-deep);
  border: none; background: none; padding: 0; margin: 0 0 18px; text-align: center;
}
.related-h::after { content: ""; display: block; width: 46px; height: 3px; background: var(--orange); border-radius: 3px; margin: 10px auto 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--white); border: 2px solid var(--teal-line); border-radius: var(--radius-m);
  padding: 16px 16px 14px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(23,150,141,.14); }
.related-cat {
  align-self: flex-start; font-size: 11px; font-weight: 800; color: var(--teal-deep);
  background: var(--teal-tint); border-radius: 999px; padding: 3px 10px;
}
.related-ttl { font-family: var(--font-round); font-weight: 700; font-size: 14.5px; line-height: 1.6; color: var(--ink); flex: 1; }
.related-go { font-size: 12.5px; font-weight: 800; color: var(--orange-deep); }
@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   フラッグシップ記事（保育士の給料）用の追加パーツ
   ============================================================ */
.lead-summary {
  background: var(--teal-tint); border: 2px solid var(--teal-line);
  border-radius: var(--radius-m); padding: 20px 24px; margin: 26px 0 30px;
}
.lead-summary .ls-title {
  font-family: var(--font-round); font-weight: 800; font-size: 16px; color: var(--teal-deep);
  margin: 0 0 12px; display: flex; align-items: center; gap: 8px;
}
.lead-summary .ls-title::before { content: "✓"; background: var(--teal); color:#fff; width:22px; height:22px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:13px; }
.lead-summary ul { margin: 0; padding-left: 22px; }
.lead-summary li { margin: 7px 0; line-height: 1.9; }

.source-note { font-size: 12px; color: var(--ink-faint); line-height: 1.8; margin: 6px 0 4px; padding-left: 12px; border-left: 3px solid var(--line); }

.table-wrap { margin: 22px 0; }
.imported-article tr.row-hi td { background: #FFF4D6 !important; font-weight: 700; }

/* ============================================================
   独自リライト記事（保育士の給料）用コンポーネント
   ============================================================ */
/* 結論ボックス */
.lead-summary { background: var(--teal-tint); border: 2px solid var(--teal-line); border-radius: var(--radius-l); padding: 22px 24px; margin: 8px 0 28px; }
.lead-summary .ls-head { font-family: var(--font-round); font-weight: 800; color: var(--teal-deep); font-size: 15px; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.lead-summary .ls-head::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--teal); color: #fff; border-radius: 50%; font-size: 13px; }
.lead-summary > p { margin: 0 0 12px; line-height: 1.95; }
.lead-summary .ls-points { margin: 0; padding-left: 20px; }
.lead-summary .ls-points li { margin: 6px 0; font-size: 14.5px; }
.lead-summary .ls-points li::marker { color: var(--orange); }

/* 出典キャプション */
.source-note { font-size: 11.5px; color: var(--ink-faint); line-height: 1.7; margin: 6px 0 24px; }

/* 表ラッパ（横スクロール確保） */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0; }
.table-wrap table { margin: 0; }
/* 早見表で自分の年代など強調する行 */
.imported-article .row-hi, .article-body .row-hi { background: #FFF4D6 !important; font-weight: 700; }

/* 手取り計算ボックス */
.calc-box { background: var(--white); border: 2px dashed var(--orange); border-radius: var(--radius-m); padding: 18px 22px; margin: 22px 0; }
.calc-box .calc-title { font-family: var(--font-round); font-weight: 800; color: var(--orange-deep); margin: 0 0 10px; }
.calc-box ul { margin: 0; padding-left: 20px; }
.calc-box li { margin: 5px 0; }
.calc-box .calc-note { font-size: 11.5px; color: var(--ink-faint); margin: 10px 0 0; line-height: 1.7; }

/* ============================================================
   追加修正4：オレンジボタンの白文字化＋表のレスポンシブ
   ============================================================ */

/* オレンジボタンは記事内でも必ず白文字（本文リンク色の上書きを防ぐ） */
.imported-article a.btn-orange, .article-body a.btn-orange,
.imported-article a.btn-orange:hover, .article-body a.btn-orange:hover { color: #fff; }

/* 表：PCは全幅で折り返し、SP（スマホ）は列が多い時だけ横スクロール */
.imported-article .table-wrap,
.imported-article figure.wp-block-table {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid #EFEAE0; border-radius: 14px; margin: 24px 0;
}
.imported-article .table-wrap table,
.imported-article figure.wp-block-table table { margin: 0; }
.imported-article table { width: 100%; }
@media (max-width: 640px) {
  /* 列が多く1画面に収まらない表だけ、はみ出し分をスクロール（収まる表は全幅のまま） */
  .imported-article .table-wrap table,
  .imported-article figure.wp-block-table table { width: max-content; min-width: 100%; }
}

/* ========== アフィリエイト（PR）ブロック ========== */
.pr-notice {
  display: inline-block;
  font-size: 12px;
  color: var(--ink-soft);
  background: #F1F1EE;
  border-radius: 999px;
  padding: 4px 12px;
  margin-top: 10px;
}
.aff-block { margin: 48px 0; }
.aff-block > .aff-lead {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.aff-card {
  background: var(--white);
  border: 1px solid #E4E4E0;
  border-left: 5px solid var(--green-deep);
  border-radius: 10px;
  padding: 0 0 22px;
  margin-bottom: 26px;
  overflow: hidden;
}
.aff-head {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 17px;
  padding: 14px 20px;
  border-bottom: 1px solid #EFEFEC;
}
.aff-inner { padding: 20px 20px 0; }
.aff-visual {
  display: block;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal-tint), var(--cream-deep));
  border: 1px solid var(--teal-line);
  padding: 26px 20px;
  text-align: center;
  margin-bottom: 20px;
}
/* バナー画像を入れたとき：余白と背景を消して画像だけを見せる
   （aタグはinline扱いのままだと前後に背景の“かけら”が残るため display:block が必須） */
a.aff-visual, .aff-visual.has-img {
  display: block; padding: 0; background: none;
  border-color: #E6E6E1; overflow: hidden;
}
a.aff-visual:hover, .aff-visual.has-img:hover { opacity: .92; }
a.aff-visual img { display: block; width: 100%; height: auto; border-radius: 6px; }
.aff-visual .av-brand { font-family: var(--font-round); font-weight: 800; font-size: 21px; color: var(--teal-deep); }
.aff-visual .av-sub { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }
.aff-visual img { width: 100%; height: auto; border-radius: 6px; display: block; }
.aff-catch {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 16.5px;
  line-height: 1.6;
  margin-bottom: 6px;
}
.aff-catch-sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.aff-spec {
  background: #F7F7F4;
  border-radius: 6px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.aff-spec dl { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; border-bottom: 1px dashed #E0E0DB; margin: 0; }
.aff-spec dl:last-child { border-bottom: 0; }
.aff-spec dt { color: var(--ink-soft); margin: 0; }
.aff-spec dd { margin: 0; font-weight: 700; color: var(--orange-deep); text-align: right; }
.aff-points { list-style: none; padding: 0; margin: 0 0 18px; }
.aff-points li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 9px;
}
.aff-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-deep);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12l6 6L20 5'/></svg>");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.aff-cta { text-align: center; margin: 20px 0 4px; }
.aff-cta .btn-aff {
  display: inline-block;
  background: var(--green-deep);
  color: #fff;
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 15.5px;
  padding: 14px 40px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 3px 0 #4A8340;
  transition: transform .12s ease;
}
.aff-cta .btn-aff:hover { transform: translateY(1px); box-shadow: 0 2px 0 #4A8340; }
.aff-fit { margin-top: 20px; border-top: 1px dashed #E0E0DB; padding-top: 16px; }
.aff-fit-h { font-size: 13px; font-weight: 700; color: var(--teal-deep); margin-bottom: 10px; }
.aff-fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aff-fit-col { background: #FAFAF7; border-radius: 6px; padding: 12px 14px; }
.aff-fit-col h4 { font-size: 13.5px; font-weight: 800; margin: 0 0 6px; }
.aff-fit-col.ok h4 { color: var(--green-deep); }
.aff-fit-col.ng h4 { color: #9A8F86; }
.aff-fit-col ul { margin: 0; padding-left: 18px; }
.aff-fit-col li { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }
.aff-foot { font-size: 12px; color: #8B837C; margin-top: 14px; line-height: 1.7; }
@media (max-width: 600px) {
  .aff-fit-grid { grid-template-columns: 1fr; }
  .aff-cta .btn-aff { display: block; padding: 15px 20px; }
  .aff-spec dl { font-size: 13.5px; }
}

/* ========== 1分診断ウィジェット ========== */
.quiz {
  background: var(--white);
  border: 1px solid var(--teal-line);
  border-radius: 12px;
  padding: 22px 20px 20px;
  margin: 32px 0;
  box-shadow: 0 2px 10px rgba(23,150,141,.06);
}
.quiz-head { text-align: center; margin-bottom: 16px; }
.quiz-badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: var(--teal-deep); border-radius: 999px; padding: 4px 14px;
}
.quiz-title { font-family: var(--font-round); font-weight: 800; font-size: 19px; margin: 10px 0 4px; }
.quiz-sub { font-size: 13.5px; color: var(--ink-soft); }
.quiz-progress { font-size: 12.5px; color: var(--ink-soft); text-align: center; margin-bottom: 12px; }
.quiz-bar { height: 5px; background: #EFEFEC; border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.quiz-bar span { display: block; height: 100%; background: var(--teal-deep); border-radius: 999px; transition: width .3s ease; }
.quiz-q { font-family: var(--font-round); font-weight: 800; font-size: 16.5px; line-height: 1.6; margin-bottom: 14px; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: #FAFAF7; border: 1.5px solid #E4E4E0; border-radius: 8px;
  padding: 14px 16px; font-size: 15px; line-height: 1.6; color: var(--ink);
  font-family: inherit; transition: border-color .15s ease, background .15s ease;
}
.quiz-opt:hover { border-color: var(--teal-deep); background: var(--teal-tint); }
.quiz-opt .qo-sub { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }
.quiz-back {
  background: none; border: 0; color: var(--ink-soft); font-size: 13px; cursor: pointer;
  margin-top: 14px; padding: 4px 0; font-family: inherit; text-decoration: underline;
}
.quiz-result { text-align: left; }
.qr-lead { font-size: 13px; color: var(--ink-soft); text-align: center; }
.qr-type {
  font-family: var(--font-round); font-weight: 800; font-size: 22px;
  color: var(--teal-deep); text-align: center; margin: 6px 0 14px;
}
.qr-why { background: var(--teal-tint); border-radius: 8px; padding: 14px 16px; font-size: 14.5px; line-height: 1.75; margin-bottom: 16px; }
.qr-rec-h { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; }
.qr-rec { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.qr-rec li { background: #FAFAF7; border-radius: 6px; padding: 11px 14px; font-size: 14.5px; }
.qr-rec li strong { color: var(--teal-deep); }
.qr-cta { text-align: center; }
.quiz-reset { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--ink-soft); font-size: 13px; cursor: pointer; text-decoration: underline; font-family: inherit; }
@media (max-width: 600px) {
  .quiz { padding: 18px 14px 16px; }
  .quiz-title { font-size: 17px; }
  .quiz-q { font-size: 15.5px; }
}

/* ========== コラム一覧トップの注目記事 ========== */
.featured-pick {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--teal-tint), var(--cream-deep));
  border: 1px solid var(--teal-line);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 28px 0 4px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.featured-pick:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(23,150,141,.12); }
.fp-badge {
  flex: none; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  color: #fff; background: var(--orange-deep); border-radius: 999px; padding: 6px 14px;
}
.fp-body { flex: 1 1 320px; min-width: 0; }
.fp-ttl { display: block; font-family: var(--font-round); font-weight: 800; font-size: 17px; color: var(--ink); line-height: 1.55; }
.fp-desc { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.7; }
.fp-go { flex: none; font-size: 14px; font-weight: 700; color: var(--teal-deep); }
@media (max-width: 600px) {
  .featured-pick { padding: 16px 16px; gap: 12px; }
  .fp-ttl { font-size: 15.5px; }
  .fp-go { width: 100%; text-align: right; }
}

/* ========== 監修者プロフィール／コメント ========== */
.sv-profile {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--teal-line);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 28px 0;
}
.sv-avatar {
  flex: none; width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-tint), var(--cream-deep));
  border: 1px solid var(--teal-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-round); font-weight: 800; font-size: 22px; color: var(--teal-deep);
}
.sv-body { flex: 1 1 auto; min-width: 0; }
.sv-label {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .04em;
  color: #fff; background: var(--teal-deep); border-radius: 999px; padding: 3px 11px; margin-bottom: 8px;
}
.sv-name { font-family: var(--font-round); font-weight: 800; font-size: 17px; margin: 0 0 2px; }
.sv-name span { font-size: 12.5px; font-weight: 500; color: var(--ink-soft); margin-left: 8px; }
.sv-title { font-size: 13px; color: var(--teal-deep); font-weight: 700; margin: 0 0 8px; }
.sv-bio { font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); margin: 0; }

.sv-comment {
  position: relative;
  background: #FAFAF7;
  border-left: 4px solid var(--orange-deep);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px 16px 20px;
  margin: 26px 0;
}
.sv-comment-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.sv-mini {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-tint), var(--cream-deep));
  border: 1px solid var(--teal-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-round); font-weight: 800; font-size: 13px; color: var(--teal-deep);
}
.sv-comment-who { font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.sv-comment-who small { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-soft); }
.sv-comment p { font-size: 14.5px; line-height: 1.85; margin: 0; }
.sv-comment p + p { margin-top: 10px; }
@media (max-width: 600px) {
  .sv-profile { padding: 16px; gap: 12px; }
  .sv-avatar { width: 52px; height: 52px; font-size: 18px; }
  .sv-comment { padding: 14px 14px 14px 16px; }
}

/* ========== 職種カード（子供と関わる仕事） ========== */
.job-pick { display: grid; gap: 12px; margin: 20px 0 26px; }
.job-pick-item {
  background: #FAFAF7; border: 1px solid #E4E4E0; border-radius: 8px;
  padding: 14px 16px;
}
.job-pick-item h4 {
  font-family: var(--font-round); font-weight: 800; font-size: 15.5px;
  margin: 0 0 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.jp-tag {
  font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 9px;
  background: var(--teal-tint); color: var(--teal-deep); border: 1px solid var(--teal-line);
}
.jp-tag.free { background: #FFF2E2; color: var(--orange-deep); border-color: #FFD9AE; }
.job-pick-item p { font-size: 14px; line-height: 1.75; margin: 0; color: var(--ink-soft); }
.job-pick-item .jp-meta { font-size: 12.5px; color: #8B837C; margin-top: 7px; }

/* ========== 連絡文テンプレート作成ツール ========== */
.tpl-tool {
  background: var(--white);
  border: 1px solid var(--teal-line);
  border-radius: 12px;
  padding: 22px 20px 20px;
  margin: 32px 0;
  box-shadow: 0 2px 10px rgba(23,150,141,.06);
}
.tpl-head { text-align: center; margin-bottom: 18px; }
.tpl-badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: var(--orange-deep); border-radius: 999px; padding: 4px 14px;
}
.tpl-title { font-family: var(--font-round); font-weight: 800; font-size: 19px; margin: 10px 0 4px; }
.tpl-sub { font-size: 13.5px; color: var(--ink-soft); }
.tpl-fields { display: grid; gap: 14px; margin-bottom: 18px; }
.tpl-field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.tpl-field select {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: #FAFAF7; border: 1.5px solid #E4E4E0; border-radius: 8px;
  padding: 11px 12px; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23847B72' stroke-width='2.4' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.tpl-field select:focus { outline: none; border-color: var(--teal-deep); }
.tpl-out-h { font-size: 13px; font-weight: 700; color: var(--teal-deep); margin-bottom: 8px; }
.tpl-out {
  background: var(--teal-tint); border: 1px dashed var(--teal-line); border-radius: 8px;
  padding: 16px; font-size: 14.5px; line-height: 1.9; white-space: pre-wrap; color: var(--ink);
}
.tpl-actions { text-align: center; margin-top: 14px; }
.tpl-copy {
  background: var(--teal-deep); color: #fff; border: 0; cursor: pointer;
  font-family: var(--font-round); font-weight: 800; font-size: 15px;
  padding: 12px 34px; border-radius: 999px; box-shadow: 0 3px 0 #0F6F68;
  transition: transform .12s ease;
}
.tpl-copy:hover { transform: translateY(1px); box-shadow: 0 2px 0 #0F6F68; }
.tpl-copy.done { background: var(--orange-deep); box-shadow: 0 3px 0 #C4600F; }
.tpl-note { font-size: 12px; color: #8B837C; margin-top: 12px; line-height: 1.7; }
@media (max-width: 600px) {
  .tpl-tool { padding: 18px 14px 16px; }
  .tpl-title { font-size: 17px; }
  .tpl-copy { display: block; width: 100%; }
}

/* 監修者の顔写真（assets/sv/ebato.jpg 等を置くと自動で表示される） */
.sv-avatar.has-photo, .sv-mini.has-photo { background: none; padding: 0; overflow: hidden; }
.sv-avatar img, .sv-mini img {
  width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%;
}

/* ==========================================================
   コラム記事の可読性調整（記事内のみ・他ページには影響しない）
   ・表はヘッダー以外すべて白背景に統一（ストライプ／黄色ハイライトを解除）
   ・強調文字はオレンジをやめ、地の文と同系の濃色に（背景と食い合わないように）
   ========================================================== */

/* 表：ヘッダー以外は白。行の背景色は使わない */
.article-body .table-wrap tbody tr,
.article-body .table-wrap tbody tr:nth-child(even),
.article-body .table-wrap tbody tr:nth-child(odd),
.imported-article .table-wrap tbody tr:nth-child(even),
.imported-article .table-wrap tbody tr:nth-child(odd) {
  background: var(--white);
}
/* 強調行(.row-hi)は背景色ではなく、太字＋左の細いラインで示す */
.article-body .table-wrap tr.row-hi,
.article-body .table-wrap tr.row-hi td,
.article-body .table-wrap tr.row-hi th {
  background: var(--white) !important;
}
.article-body .table-wrap tr.row-hi td,
.article-body .table-wrap tr.row-hi th { font-weight: 700; color: var(--ink); }
.article-body .table-wrap tr.row-hi td:first-child,
.article-body .table-wrap tr.row-hi th:first-child {
  box-shadow: inset 3px 0 0 var(--teal-deep);
}
/* 表の中の強調文字も濃色で */
.article-body .table-wrap strong { color: var(--ink); }

/* 本文の強調文字：オレンジ → 濃いインクに（コントラスト 3.0 → 12.2） */
.article-body strong { color: var(--ink); font-weight: 700; }
/* 色付き背景のボックス内でも同様に読みやすく */
.article-body .lead-summary strong,
.article-body .cta-box strong,
.article-body .sv-comment strong,
.article-body .qr-why strong,
.article-body .aff-catch strong { color: var(--ink); }
/* オレンジのCTAボタン内の文字は白のまま維持 */
.article-body .btn-orange strong,
.article-body .btn-orange { color: #fff; }

/* 強調文字：色ではなく「太字＋下線マーカー」で目立たせる（背景色と食い合わない） */
.article-body p > strong,
.article-body li > strong {
  background: linear-gradient(transparent 62%, #FFE8A3 62%);
  padding-bottom: 1px;
}
/* 色付きボックス・表・ボタン・見出し内ではマーカーを出さない */
.article-body .table-wrap strong,
.article-body .cta-box strong,
.article-body .btn strong,
.article-body h2 strong, .article-body h3 strong,
.article-body .qr-why strong,
.article-body .aff-catch strong,
.article-body .aff-points strong { background: none; padding-bottom: 0; }

/* ========== 目次：折りたたみ（初期は閉じた状態） ========== */
details.toc { padding-bottom: 0; }
details.toc > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  padding: 2px 0;
  user-select: none;
}
details.toc > summary::-webkit-details-marker { display: none; }
details.toc > summary::marker { content: ""; }
/* 開閉の矢印 */
details.toc > summary::after {
  content: "";
  margin-left: auto;
  width: 10px; height: 10px;
  border-right: 2.4px solid var(--teal-deep);
  border-bottom: 2.4px solid var(--teal-deep);
  border-radius: 1px;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
  flex: none;
}
details.toc[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
/* 「開く/閉じる」の補助テキスト */
details.toc > summary .toc-hint {
  font-family: var(--font-sans, inherit);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-left: 6px;
}
details.toc[open] > summary .toc-hint-open { display: none; }
details.toc:not([open]) > summary .toc-hint-close { display: none; }
details.toc > ol { margin-top: 14px; }
details.toc > summary:hover { opacity: .8; }
details.toc > summary:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 600px) {
  details.toc > summary { font-size: 15px; }
}

/* アフィリブロック内の見出しを、本文のH2と同じ見え方に揃える
   （.aff-block は1階層深いため、マージン相殺の差で余白がずれるのを防ぐ） */
.article-body .aff-block { margin: 52px 0 48px; }
.article-body .aff-block > h2:first-child { margin-top: 0; }
.article-body .aff-block > .aff-lead { margin-top: 0; }

/* ========== 家賃補助シミュレーター ========== */
.rent-sim { background: var(--white); border: 1px solid var(--teal-line); border-radius: 12px; padding: 22px 20px 20px; margin: 32px 0; box-shadow: 0 2px 10px rgba(23,150,141,.06); }
.rent-sim .rs-field { margin-bottom: 18px; }
.rent-sim label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.rent-sim .rs-val { color: var(--teal-deep); font-family: var(--font-round); font-weight: 800; font-size: 17px; margin-left: 6px; }
.rent-sim input[type="range"] { width: 100%; accent-color: var(--teal-deep); }
.rs-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.rs-card { border: 1px solid #E4E4E0; border-radius: 8px; padding: 14px 12px; text-align: center; background: #FAFAF7; }
.rs-card.best { border-color: var(--teal-deep); background: var(--teal-tint); }
.rs-card h4 { font-size: 12.5px; font-weight: 700; margin: 0 0 8px; color: var(--ink-soft); }
.rs-card .rs-num { font-family: var(--font-round); font-weight: 800; font-size: 20px; color: var(--ink); line-height: 1.3; }
.rs-card .rs-num small { font-size: 12px; font-weight: 500; }
.rs-card .rs-sub { font-size: 11.5px; color: #8B837C; margin-top: 6px; }
.rs-total { margin-top: 18px; text-align: center; background: linear-gradient(135deg, var(--teal-tint), var(--cream-deep)); border-radius: 8px; padding: 16px; }
.rs-total p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.rs-total .rs-big { font-family: var(--font-round); font-weight: 800; font-size: 28px; color: var(--orange-deep); margin: 4px 0; }
.rent-sim .rs-note { font-size: 12px; color: #8B837C; margin-top: 12px; line-height: 1.7; }
@media (max-width: 600px) { .rs-out { grid-template-columns: 1fr; } .rs-card { display: flex; align-items: center; justify-content: space-between; text-align: left; } .rs-card h4 { margin: 0; } }

/* ========== 年収ステップアップ シミュレーター ========== */
.income-sim { background: var(--white); border: 1px solid var(--teal-line); border-radius: 12px; padding: 22px 20px 20px; margin: 32px 0; box-shadow: 0 2px 10px rgba(23,150,141,.06); }
.is-base { margin-bottom: 18px; }
.is-base label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.is-base .is-val { color: var(--teal-deep); font-family: var(--font-round); font-weight: 800; font-size: 17px; margin-left: 6px; }
.is-base input[type="range"] { width: 100%; accent-color: var(--teal-deep); }
.is-opts { display: grid; gap: 9px; margin-bottom: 18px; }
.is-opt { display: flex; align-items: flex-start; gap: 10px; background: #FAFAF7; border: 1.5px solid #E4E4E0; border-radius: 8px; padding: 12px 14px; cursor: pointer; transition: border-color .15s ease; }
.is-opt:hover { border-color: var(--teal-deep); }
.is-opt input { margin-top: 3px; accent-color: var(--teal-deep); flex: none; }
.is-opt .is-txt { font-size: 14.5px; line-height: 1.6; }
.is-opt .is-plus { display: block; font-size: 12.5px; color: var(--orange-deep); font-weight: 700; margin-top: 2px; }
.is-result { text-align: center; background: linear-gradient(135deg, var(--teal-tint), var(--cream-deep)); border-radius: 8px; padding: 18px; }
.is-result .is-lead { font-size: 13px; color: var(--ink-soft); margin: 0; }
.is-result .is-big { font-family: var(--font-round); font-weight: 800; font-size: 30px; color: var(--ink); margin: 6px 0 2px; }
.is-result .is-tedori { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 10px; }
.is-bar { height: 10px; background: #EFEFEC; border-radius: 999px; overflow: hidden; margin: 12px 0 6px; }
.is-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-deep), var(--orange-deep)); border-radius: 999px; transition: width .3s ease; }
.is-goal { font-size: 12px; color: #8B837C; }
.income-sim .is-note { font-size: 12px; color: #8B837C; margin-top: 12px; line-height: 1.7; }

/* ========== 単発収入シミュレーター（確定申告ライン付き） ========== */
.tan-sim { background: var(--white); border: 1px solid var(--teal-line); border-radius: 12px; padding: 22px 20px 20px; margin: 32px 0; box-shadow: 0 2px 10px rgba(23,150,141,.06); }
.tan-sim .ts-field { margin-bottom: 18px; }
.tan-sim label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.tan-sim .ts-val { color: var(--teal-deep); font-family: var(--font-round); font-weight: 800; font-size: 17px; margin-left: 6px; }
.tan-sim input[type="range"] { width: 100%; accent-color: var(--teal-deep); }
.ts-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.ts-card { background: #FAFAF7; border: 1px solid #E4E4E0; border-radius: 8px; padding: 14px; text-align: center; }
.ts-card.main { background: linear-gradient(135deg, var(--teal-tint), var(--cream-deep)); border-color: var(--teal-line); }
.ts-card h4 { font-size: 12.5px; color: var(--ink-soft); font-weight: 700; margin: 0 0 6px; }
.ts-card .ts-num { font-family: var(--font-round); font-weight: 800; font-size: 22px; color: var(--ink); margin: 0; }
.ts-card .ts-num small { font-size: 12px; font-weight: 500; }
.ts-alert { margin-top: 16px; border-radius: 8px; padding: 14px 16px; font-size: 14px; line-height: 1.8; }
.ts-alert.ok { background: var(--teal-tint); border: 1px solid var(--teal-line); }
.ts-alert.warn { background: #FFF4E2; border: 1px solid #FFD9AE; }
.ts-alert strong { display: block; margin-bottom: 4px; }
.tan-sim .ts-note { font-size: 12px; color: #8B837C; margin-top: 12px; line-height: 1.7; }
@media (max-width: 600px) { .ts-out { grid-template-columns: 1fr; } }

/* 持ち物チェックリスト */
.checklist { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.checklist li { background: #FAFAF7; border: 1px solid #E4E4E0; border-radius: 8px; padding: 12px 14px; font-size: 14.5px; line-height: 1.7; position: relative; padding-left: 42px; }
.checklist li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 16px; height: 16px; border: 2px solid var(--teal-deep); border-radius: 4px; }
.checklist li strong { display: block; }
.checklist li span { font-size: 12.5px; color: var(--ink-soft); }

/* ========== 退職金シミュレーター ========== */
.taishoku-sim { background: var(--white); border: 1px solid var(--teal-line); border-radius: 12px; padding: 22px 20px 20px; margin: 32px 0; box-shadow: 0 2px 10px rgba(23,150,141,.06); }
.taishoku-sim .tk-field { margin-bottom: 18px; }
.taishoku-sim label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.taishoku-sim .tk-val { color: var(--teal-deep); font-family: var(--font-round); font-weight: 800; font-size: 17px; margin-left: 6px; }
.taishoku-sim input[type="range"] { width: 100%; accent-color: var(--teal-deep); }
.tk-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.tk-tab { text-align: center; background: #FAFAF7; border: 1.5px solid #E4E4E0; border-radius: 8px; padding: 11px 6px; font-size: 13.5px; cursor: pointer; font-weight: 700; transition: all .15s ease; }
.tk-tab input { display: none; }
.tk-tab.on { border-color: var(--teal-deep); background: var(--teal-tint); color: var(--teal-deep); }
.tk-result { text-align: center; background: linear-gradient(135deg, var(--teal-tint), var(--cream-deep)); border-radius: 8px; padding: 18px; }
.tk-result .tk-lead { font-size: 13px; color: var(--ink-soft); margin: 0; }
.tk-result .tk-big { font-family: var(--font-round); font-weight: 800; font-size: 30px; color: var(--ink); margin: 6px 0 2px; }
.tk-result .tk-tax { font-size: 13px; color: var(--ink-soft); margin: 8px 0 0; }
.tk-result .tk-tax b { color: var(--orange-deep); }
.taishoku-sim .tk-note { font-size: 12px; color: #8B837C; margin-top: 12px; line-height: 1.7; }
@media (max-width: 600px) { .tk-tabs { grid-template-columns: 1fr; } }

/* 監修ボックスから編集責任者ページへの導線 */
.sv-profile .sv-more { margin-top: 10px; }
.sv-profile .sv-more a {
  font-family: var(--font-round); font-weight: 700; font-size: 13px;
  color: var(--teal-deep); text-decoration: none;
}
.sv-profile .sv-more a:hover { text-decoration: underline; }
