@charset "UTF-8";
/* ============================================================
   /column/futsu/step/ 専用スタイル
   guide-common.css のトークン（--guide-ink など）を前提とする。
   受験可能年齢と交付年齢を明確に分ける／色だけで条件を区別しない方針。
   ============================================================ */

.futsu-step-guide .guide-section {
  border-bottom: 1px solid var(--guide-border);
}

.futsu-step-guide .guide-intro__lead {
  margin-top: 0;
  color: var(--guide-ink);
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  line-height: 1.9;
}

.futsu-step-guide .guide-intro__note {
  margin: 16px 0 0;
  padding: 14px 16px;
  background: var(--guide-soft);
  border: 1px solid var(--guide-border);
  border-radius: 12px;
  color: var(--guide-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* 結論・まとめなどの箇条書き */
.futsu-step-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.futsu-step-points li {
  position: relative;
  padding: 12px 14px 12px 40px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 12px;
  line-height: 1.8;
}

.futsu-step-points li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 1.15em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--guide-gold);
}

/* 年齢テーブル（横スクロールは表内だけ） */
.age-table {
  min-width: 640px;
}

.age-table thead th {
  background: var(--guide-ink);
  color: #fff;
}

.age-table tbody th[scope="row"] {
  background: var(--guide-soft);
  white-space: nowrap;
}

.age-table tbody tr:nth-child(even) {
  background: var(--guide-soft);
}

.age-table td.age-value {
  white-space: nowrap;
  font-weight: 700;
}

/* 適性基準（定義リスト） */
.aptitude-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.aptitude-list__row {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
}

.aptitude-list__row dl {
  margin: 0;
  display: grid;
  gap: 6px;
}

.aptitude-list__row dt {
  font-weight: 700;
  color: var(--guide-ink);
}

.aptitude-list__row dd {
  margin: 0;
  line-height: 1.9;
}

@media (min-width: 640px) {
  .aptitude-list__row dl {
    grid-template-columns: 120px 1fr;
    gap: 6px 20px;
    align-items: start;
  }
}

/* 取得方法の2カード */
.method-cards {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

@media (min-width: 720px) {
  .method-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.method-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 16px;
}

.method-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--guide-ink);
}

.method-card p {
  margin: 0;
  line-height: 1.9;
}

/* 教習所を利用する流れ（順序付きリスト） */
.flow-steps {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
  display: grid;
  gap: 12px;
}

.flow-steps li {
  position: relative;
  counter-increment: flow;
  padding: 16px 18px 16px 58px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
  line-height: 1.9;
}

.flow-steps li::before {
  content: counter(flow);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--guide-ink);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.95rem;
}

/* 関連ページ */
.futsu-step-related {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

@media (min-width: 620px) {
  .futsu-step-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.futsu-step-related a {
  display: block;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--guide-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.futsu-step-related a:hover,
.futsu-step-related a:focus-visible {
  border-color: var(--guide-gold);
  box-shadow: 0 8px 20px rgba(45, 52, 54, 0.08);
}

.futsu-step-related a strong {
  display: block;
  margin-bottom: 4px;
}

.futsu-step-related a span {
  color: var(--guide-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ページ下部の教習所導線 */
.futsu-step-finder {
  margin-top: 8px;
}

.futsu-step-finder .guide-cta__primary p {
  margin-top: 0;
}

.futsu-step-finder__sub {
  margin: 14px 0 0;
}

.futsu-step-finder__sub a {
  color: var(--guide-gold-dark);
  font-weight: 600;
}
