/* =========================================================
   募集要項：マテリアルデザイン準拠カードUI
   ========================================================= */

/* 1) カラートークン（募集要項ブロック用） */
.swx-guidelines {
  --gl-primary: var(--swx-c-brand);
  --gl-surface: var(--swx-c-surface);
  --gl-surface-variant: color-mix(in oklab, var(--swx-c-surface) 96%, var(--swx-c-brand) 4%);
  --gl-on-surface: var(--swx-c-text);
  --gl-label: var(--swx-c-muted);
  --gl-border: color-mix(in oklab, var(--swx-c-surface) 60%, #0000);
}

/* 2) 全体レイアウト */
.swx-guidelines {
  max-width: 960px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
  padding-block: clamp(24px, 4vw, 40px);
}

/* リスト自体は常に1列（縦積み） */
.swx-list.-guidelines {
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: clamp(16px, 3vw, 28px);
  display: grid;
  gap: 12px;
}

/* 行（カード）の基本 */
.swx-list.-guidelines .swx-item {
  display: grid;
  gap: 8px 16px;
  padding: 12px 14px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: var(--radius, 12px);
  background: var(--swx-c-bg, var(--surface, #fff));
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

/* PC/タブレット：各行は2カラム（左：ラベル 右：値） */
@media (min-width: 641px) {
  .swx-list.-guidelines .swx-item {
    grid-template-columns: minmax(8ch, 18ch) 1fr;
  }
}

/* モバイル：各行を1カラムに崩す */
@media (max-width: 640px) {
  .swx-list.-guidelines .swx-item {
    grid-template-columns: 1fr;
  }
}

/* 文字づけ（控えめなラベル／強めの値／補足は全幅） */
.swx-list.-guidelines .label {
  color: color-mix(in oklab, var(--ink, #111) 65%, transparent);
  font-weight: 600;
}
.swx-list.-guidelines .value {
  font-weight: 600;
  line-height: 1.6;
}
.swx-list.-guidelines .note {
  grid-column: 1 / -1;
  font-size: 0.95em;
  color: color-mix(in oklab, var(--ink, #111) 55%, transparent);
  opacity: 0.9;
}

/* ===== Hero: 募集要項（職人領域の最小セット） ===== */
.swx-hero.-guidelines {
  position: relative;
  min-height: clamp(220px, 45vh, 420px);
  overflow: clip;
  display: grid;
}

/* 背景画像を全面にカバー */
.swx-hero.-guidelines .hero-bg {
  position: absolute;
  inset: 0;
}
.swx-hero.-guidelines .hero-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
}

/* 薄い暗幕（下にかけるグラデ） */
.swx-hero.-guidelines .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in oklab, #000 0%, transparent) 20%,
    color-mix(in oklab, #000 30%, transparent) 70%,
    color-mix(in oklab, #000 45%, transparent) 100%
  );
  pointer-events: none;
}

/* テキストを下寄せ・左右センター幅 */
.swx-hero.-guidelines .hero-inner {
  position: relative;
  z-index: 1;
  align-self: end; /* 下寄せ */
  width: min(1100px, 90%);
  margin: 0 auto clamp(18px, 4vw, 28px);
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.swx-hero.-guidelines .hero-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0 0 0.3em;
}
.swx-hero.-guidelines .hero-sub {
  margin: 0;
  font-size: clamp(14px, 1.6vw, 16px);
  opacity: 0.95;
}

/* ヒーロー直下の余白（募集要項リストとの呼吸） */
.swx-sec.-guidelines,
.swx-list.-guidelines {
  margin-top: clamp(12px, 2.4vw, 20px);
}
/* === Guidelines (募集要項) ===================================== */
.swx-list.-guidelines {
  max-width: 980px;
  margin: 24px auto 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 1アイテム＝カード風。左に項目名、右に説明（既存スタイル維持） */
.swx-list.-guidelines .swx-list__item {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: start;
  gap: 8px 16px;
  padding: clamp(12px, 1.6vw, 16px) clamp(14px, 2vw, 20px);
  background: var(--swx-c-bg, var(--surface, #fff));
  border: 1px solid color-mix(in oklab, var(--ink, #111) 12%, transparent);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

/* 項目名（左カラム） */
.swx-list.-guidelines .swx-list__term {
  font-weight: 700;
  color: var(--swx-c-text, var(--ink, #111));
  line-height: 1.4;
  white-space: nowrap;
}

/* 説明（右カラム） */
.swx-list.-guidelines .swx-list__desc {
  color: color-mix(in oklab, var(--ink, #111) 82%, white);
  line-height: 1.9;
}

/* 3) 各項目カード（マテリアルカード） */
.swx-guidelines .swx-guidelines__item {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem 1.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;

  background: var(--gl-surface);
  border-radius: 16px;
  border: 1px solid var(--gl-border);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.12),
    0 1px 2px rgba(15, 23, 42, 0.08);

  transition:
    box-shadow 160ms ease-out,
    transform 160ms ease-out,
    background-color 160ms ease-out,
    border-color 160ms ease-out;
}

/* ホバー／フォーカス時は少し浮かせる */
.swx-guidelines .swx-guidelines__item:hover,
.swx-guidelines .swx-guidelines__item:focus-within {
  transform: translateY(-1px);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.26);
  background: var(--gl-surface-variant);
  border-color: color-mix(in oklab, var(--gl-primary) 40%, #0000);
}

/* 4) ラベルと内容のスタイル */

/* ラベル（左側：募集職種 / 仕事内容…） */
.swx-guidelines .swx-guidelines__label {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--gl-label);
  white-space: nowrap;
  position: relative;
  padding-left: 1rem;
}

/* ラベルの左側にマテリアルっぽいアクセントバー */
.swx-guidelines .swx-guidelines__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--gl-primary);
  border-radius: 2px;
}

/* 内容（右側：テキスト部分） */
.swx-guidelines .swx-guidelines__value {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--gl-on-surface);
  min-height: 2.5em; /* 空の場合でも高さが不自然に潰れないよう */
}

/* 5) レスポンシブ：スマホでは1カラムに */
@media (max-width: 768px) {
  .swx-guidelines .swx-guidelines__item {
    grid-template-columns: 1fr;
    gap: 0.5rem 0;
  }

  .swx-guidelines .swx-guidelines__label {
    padding-left: 0.875rem;
    font-size: 0.9rem;
  }

  .swx-guidelines .swx-guidelines__value {
    font-size: 0.93rem;
  }
}

/* モバイルは縦積み（既存スタイル維持） */
@media (max-width: 767px) {
  .swx-list.-guidelines .swx-list__item {
    grid-template-columns: 1fr;
    gap: 6px 0;
  }
  .swx-list.-guidelines .swx-list__term {
    font-size: 0.95rem;
  }
  .swx-list.-guidelines .swx-list__desc {
    font-size: 0.95rem;
  }
}

/* 6) アクセシビリティ：フォーカスリング */
.swx-guidelines .swx-guidelines__item :is(a, button):focus-visible {
  outline: 2px solid var(--gl-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 余白の微調整（周囲とバランス） */
.singular .entry-content .swx-list.-guidelines {
  margin-top: clamp(12px, 2vw, 20px);
}

/* =========================================================
   Guidelines: Hero + Snapshot + TOC（マテリアルデザイン準拠）
   ========================================================= */

/* 1) ヒーローセクション（.gl-hero） */
.gl-hero {
  padding: clamp(48px, 8vw, 96px) 0;
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--swx-c-brand) 8%, var(--swx-c-bg) 92%),
    var(--swx-c-bg)
  );
  border-bottom: 1px solid var(--swx-c-border);
}

.gl-hero .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  text-align: center;
}

.gl-hero__title {
  font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--swx-c-text);
  margin: 0 0 clamp(12px, 2vw, 20px);
}

.gl-hero__sub {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.6;
  color: var(--swx-c-muted);
  margin: 0;
}

/* 2) スナップショットナビゲーション（.gl-snapshot） */
.gl-snapshot {
  padding: clamp(32px, 5vw, 48px) 0;
  background: var(--swx-c-surface);
  border-bottom: 1px solid var(--swx-c-border);
}

.gl-snapshot .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/* 箇条書きリスト（.gl-bullets） */
.gl-bullets {
  list-style: none;
  margin: 0 0 clamp(20px, 3vw, 28px);
  padding: 0;
  display: grid;
  gap: 0.875rem;
}

.gl-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: var(--swx-c-bg);
  border: 1px solid var(--swx-c-border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition:
    box-shadow 160ms ease-out,
    transform 160ms ease-out;
  line-height: 1.6;
  color: var(--swx-c-text);
}

.gl-bullets li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--swx-c-brand);
  color: var(--swx-c-ink-on-brand);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(12, 111, 249, 0.2);
}

.gl-bullets li:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.gl-bullets li strong {
  font-weight: 700;
  color: var(--swx-c-text);
}

/* 通知（.gl-notice） */
.gl-notice {
  margin: 0 0 clamp(20px, 3vw, 28px);
  padding: 0.875rem 1.25rem;
  background: var(--swx-c-bg);
  border: 1px solid var(--swx-c-border);
  border-radius: 12px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--swx-c-muted);
  text-align: center;
}

.gl-notice .badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin-left: 0.5rem;
  background: var(--swx-c-danger);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.8125rem;
  vertical-align: middle;
}

.gl-notice .badge.-hot {
  background: linear-gradient(135deg, var(--swx-c-danger), color-mix(in oklab, var(--swx-c-danger) 90%, var(--swx-c-warning) 10%));
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

/* 目次（.gl-toc） */
.gl-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.gl-toc li {
  margin: 0;
}

.gl-toc a {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background: var(--swx-c-bg);
  border: 1px solid var(--swx-c-border);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--swx-c-text);
  text-decoration: none;
  transition:
    background-color 160ms ease-out,
    border-color 160ms ease-out,
    color 160ms ease-out,
    transform 160ms ease-out,
    box-shadow 160ms ease-out;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.gl-toc a:hover {
  background: var(--swx-c-brand);
  color: var(--swx-c-ink-on-brand);
  border-color: var(--swx-c-brand);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  text-decoration: none;
}

.gl-toc a:focus-visible {
  outline: 2px solid var(--swx-c-brand);
  outline-offset: 2px;
}

/* 3) トップCTAセクション（.gl-cta-top） */
.gl-cta-top {
  padding: clamp(32px, 5vw, 48px) 0;
  background: var(--swx-c-bg);
  border-bottom: 1px solid var(--swx-c-border);
}

.gl-cta-top .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* レスポンシブ：スナップショット・CTA */
@media (max-width: 768px) {
  .gl-hero {
    padding: clamp(32px, 6vw, 48px) 0;
  }

  .gl-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
  }

  .gl-snapshot {
    padding: clamp(24px, 4vw, 32px) 0;
  }

  .gl-bullets {
    gap: 0.75rem;
  }

  .gl-bullets li {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }

  .gl-notice {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
  }

  .gl-toc {
    flex-direction: column;
    align-items: stretch;
  }

  .gl-toc a {
    width: 100%;
    justify-content: center;
  }

  .gl-cta-top {
    padding: clamp(24px, 4vw, 32px) 0;
  }

  .gl-cta-top .container {
    flex-direction: column;
    align-items: stretch;
  }

  .gl-cta-top .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   募集要項ページ：セクション群（マテリアルデザイン準拠）
   ========================================================= */

/* 1) セクション全体のベース */
.gl-section {
  padding: clamp(48px, 8vw, 80px) 0;
  background: var(--swx-c-bg);
}

.gl-section .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/* セクション見出しのベース */
.gl-section h2 {
  position: relative;
  display: block;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--swx-c-text);
  margin: 0 0 clamp(24px, 4vw, 40px);
  padding-left: 1.5rem;
  padding-bottom: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

/* 左側のカラーマーク */
.gl-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.2em;
  background: var(--swx-c-brand);
  border-radius: 2px;
}

/* グラデーション下線 */
.gl-section h2::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  bottom: 0;
  width: calc(100% - 1.5rem);
  max-width: 600px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--swx-c-brand),
    color-mix(in oklab, var(--swx-c-brand) 60%, var(--swx-c-accent)),
    color-mix(in oklab, var(--swx-c-brand) 20%, transparent),
    transparent
  );
}

/* 2) セクション背景トーンの修飾クラス */

/* .gl-section--surface: ベースの背景（ほぼ白）、影は弱め or なし */
.gl-section--surface {
  background: var(--swx-c-bg);
}

/* .gl-section--media: ビジュアルセクション（#gl-photos） */
.gl-section--media {
  background: color-mix(in oklab, var(--swx-c-surface) 95%, var(--swx-c-brand) 5%);
  padding: clamp(56px, 9vw, 96px) 0; /* 上下余白を広めに */
}

/* .gl-section--tint: brand color を薄く乗せた背景（シフト例・通いやすさ） */
.gl-section--tint {
  background: color-mix(in oklab, var(--swx-c-surface) 92%, var(--swx-c-brand) 8%);
}

/* .gl-section--subtle: surface よりほんの少しだけトーンを変える（研修・向いている人・FAQ） */
.gl-section--subtle {
  background: color-mix(in oklab, var(--swx-c-surface) 98%, var(--swx-c-text) 2%);
}

/* .gl-section--emphasis: 最終CTAセクション（#gl-apply） */
.gl-section--emphasis {
  background: color-mix(in oklab, var(--swx-c-surface) 88%, var(--swx-c-brand) 12%);
  padding: clamp(64px, 10vw, 112px) 0; /* 余白広め */
  box-shadow:
    0 -4px 24px rgba(15, 23, 42, 0.08),
    0 4px 24px rgba(15, 23, 42, 0.08);
}

/* 3) ステップリスト（.steps） - ステッパーUI */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
  counter-reset: step-counter;
}

.steps li {
  position: relative;
  counter-increment: step-counter;
  padding: 1rem 1.25rem 1rem 4rem;
  background: var(--swx-c-surface);
  border: 1px solid var(--swx-c-border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition:
    box-shadow 160ms ease-out,
    transform 160ms ease-out,
    background-color 160ms ease-out;
  line-height: 1.7;
  color: var(--swx-c-text);
}

.steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--swx-c-brand);
  color: var(--swx-c-ink-on-brand);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 2px 6px rgba(12, 111, 249, 0.25);
}

.steps li:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  background: color-mix(in oklab, var(--swx-c-surface) 96%, var(--swx-c-brand) 4%);
}

.steps li strong {
  font-weight: 700;
  color: var(--swx-c-text);
}

/* .steps--apply: 応募フロー（重要度を一段上げる） */
.steps--apply {
  gap: 1rem;
}

.steps--apply li {
  background: var(--swx-c-bg);
  border-radius: 16px;
  padding: 1.25rem 1.5rem 1.25rem 4.5rem;
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.1),
    0 1px 3px rgba(15, 23, 42, 0.08);
}

.steps--apply li::before {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1rem;
  box-shadow: 0 3px 10px rgba(12, 111, 249, 0.35);
}

.steps--apply li:hover {
  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.15),
    0 2px 6px rgba(15, 23, 42, 0.1);
}

/* 4) 画像セクション（#gl-photos / .gl-section--media） - ビジュアル休憩ポイント */
.teaser-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2rem 0;
}

.teaser {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--swx-c-surface);
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.1),
    0 1px 3px rgba(15, 23, 42, 0.08);
  transition:
    box-shadow 200ms ease-out,
    transform 200ms ease-out,
    filter 200ms ease-out;
}

.teaser:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.18),
    0 4px 12px rgba(15, 23, 42, 0.12);
  filter: brightness(1.05);
}

.teaser img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 200ms ease-out;
}

.teaser:hover img {
  transform: scale(1.05);
}

/* 5) シフト例（.models） - カード化、数字情報が主役 */
.models {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.models li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--swx-c-bg);
  border: 1px solid var(--swx-c-border);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition:
    box-shadow 160ms ease-out,
    transform 160ms ease-out;
}

.models li strong {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--swx-c-brand);
  color: var(--swx-c-ink-on-brand);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.models li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--swx-c-text);
}

/* 月収部分を強調 */
.models li {
  font-weight: 600;
}

.models li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

/* 6) チェックリスト（.check） - 共通ベース */
.check {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
}

.check li {
  position: relative;
  padding: 1rem 1.25rem 1rem 3.25rem;
  line-height: 1.7;
  color: var(--swx-c-text);
}

.check li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* .check--training: 研修・フォロー体制 */
.check--training li {
  background: color-mix(in oklab, var(--swx-c-surface) 96%, var(--swx-c-brand) 4%);
  border: 1px solid color-mix(in oklab, var(--swx-c-border) 80%, var(--swx-c-brand) 20%);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  padding-left: 3.5rem;
}

.check--training li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--swx-c-brand);
  color: var(--swx-c-ink-on-brand);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 2px 4px rgba(12, 111, 249, 0.2);
}

/* .check--person: こんな方に向いています */
.check--person li {
  background: var(--swx-c-bg);
  border: 1px solid var(--swx-c-border);
  border-radius: 12px;
  padding-left: 3.5rem;
  line-height: 1.8; /* 行間少し広め */
}

.check--person li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--swx-c-success);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
}

/* 7) FAQ（.qa） - 折りたたみカード */
.qa-list {
  margin: 1.5rem 0;
}

.qa {
  border: 1px solid var(--swx-c-border);
  border-radius: 12px;
  background: var(--swx-c-surface);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  margin-bottom: 0.875rem;
  transition:
    box-shadow 160ms ease-out,
    border-color 160ms ease-out;
}

.qa:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  border-color: color-mix(in oklab, var(--swx-c-brand) 30%, transparent);
}

.qa > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--swx-c-text);
  position: relative;
  transition: background-color 160ms ease-out;
}

.qa > summary::-webkit-details-marker {
  display: none;
}

/* Qアイコン */
.qa > summary::before {
  content: "Q";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--swx-c-brand);
  color: var(--swx-c-ink-on-brand);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8125rem;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(12, 111, 249, 0.2);
}

/* 開閉アイコン */
.qa > summary::after {
  content: "▼";
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--swx-c-muted);
  transition: transform 200ms ease-out;
}

.qa[open] > summary::after {
  transform: rotate(180deg);
}

.qa[open] > summary {
  background: color-mix(in oklab, var(--swx-c-surface) 96%, var(--swx-c-brand) 4%);
  border-bottom: 1px solid var(--swx-c-border);
}

/* Aラベル */
.qa__a {
  position: relative;
  padding: 0 1.25rem 1rem 4rem;
  line-height: 1.7;
  color: var(--swx-c-text);
}

.qa__a::before {
  content: "A";
  position: absolute;
  left: 1.25rem;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--swx-c-success);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8125rem;
}

/* 8) CTA要素 */

/* .cta-line .link-more: サブCTA（控えめ） */
.cta-line {
  margin-top: 2rem;
  text-align: center;
}

.cta-line .link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--swx-c-brand);
  border: 1px solid var(--swx-c-brand);
  background: transparent;
  transition:
    background-color 160ms ease-out,
    color 160ms ease-out,
    border-color 160ms ease-out;
}

.cta-line .link-more:hover {
  background: var(--swx-c-brand);
  color: var(--swx-c-ink-on-brand);
  text-decoration: none;
}

.cta-line .link-more::after {
  content: "→";
  font-size: 1em;
  transition: transform 160ms ease-out;
}

.cta-line .link-more:hover::after {
  transform: translateX(4px);
}

/* .cta-row: 最終CTA（強め） */
.cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

/* 9) ボタン（.btn） - Material Design風 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    box-shadow 160ms ease-out,
    transform 160ms ease-out,
    background-color 160ms ease-out;
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.12),
    0 1px 3px rgba(15, 23, 42, 0.08);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.18),
    0 2px 6px rgba(15, 23, 42, 0.12);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.12),
    0 1px 3px rgba(15, 23, 42, 0.08);
}

.btn:focus-visible {
  outline: 2px solid var(--swx-c-brand);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--swx-c-brand);
  color: var(--swx-c-ink-on-brand);
}

.btn-primary:hover {
  background: color-mix(in oklab, var(--swx-c-brand) 95%, black);
}

.btn-secondary {
  background: var(--swx-c-surface);
  color: var(--swx-c-text);
  border-color: var(--swx-c-border);
}

.btn-secondary:hover {
  background: color-mix(in oklab, var(--swx-c-surface) 96%, var(--swx-c-brand) 4%);
  border-color: color-mix(in oklab, var(--swx-c-brand) 30%, transparent);
}

/* 10) ノート */
.note {
  font-size: 0.875rem;
  color: var(--swx-c-muted);
  margin-top: 1rem;
  line-height: 1.6;
}

/* 11) 情報密度の調整 */

/* 「通いやすさ」セクション（.gl-section--info）はプレーン */
.gl-section--info p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--swx-c-text);
}

/* 12) レスポンシブ */
@media (max-width: 768px) {
  .gl-section {
    padding: clamp(32px, 6vw, 48px) 0;
  }

  .gl-section--media {
    padding: clamp(40px, 7vw, 64px) 0;
  }

  .gl-section--emphasis {
    padding: clamp(48px, 8vw, 80px) 0;
  }

  .gl-section h2 {
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    margin-bottom: clamp(20px, 3vw, 32px);
  }

  .teaser-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .steps li {
    padding: 0.875rem 1rem 0.875rem 3.5rem;
  }

  .steps li::before {
    left: 0.75rem;
    width: 2rem;
    height: 2rem;
    font-size: 0.8125rem;
  }

  .steps--apply li {
    padding: 1rem 1.25rem 1rem 4rem;
  }

  .steps--apply li::before {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.9375rem;
  }

  .models li {
    grid-template-columns: 1fr;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
  }

  .check li {
    padding: 0.875rem 1rem 0.875rem 2.75rem;
  }

  .check li::before {
    left: 0.875rem;
  }

  .check--training li,
  .check--person li {
    padding-left: 3rem;
  }

  .qa__a {
    padding-left: 3.5rem;
  }
}
