/* 「春休みの合宿免許」ページ固有スタイル。
   メインカラムの白背景やセクション区切り(下線)は top-renewal.css / guide-common.css の
   標準デザインをそのまま使い、ここではこのページ内の部品だけを定義する。
   （season-off.css / column-cheap-season.css と同じ方針）
   色は guide-common.css の :root 変数を再利用し、同じ色を別名で再定義しない。 */

/* 汎用の箇条書きリスト（春休みの考え方・料金と空き状況の見方） */
.ss-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.ss-list li {
  position: relative;
  padding: 10px 14px 10px 24px;
  color: var(--guide-ink);
  line-height: 1.8;
}

.ss-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--guide-gold-dark);
}

/* チェック付きリスト（探すときのポイント） */
.ss-check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.ss-check-list li {
  position: relative;
  padding: 12px 16px 12px 44px;
  border-radius: 12px;
  background: var(--guide-soft);
  color: var(--guide-ink);
  line-height: 1.7;
}

.ss-check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 10px;
  height: 6px;
  border-left: 3px solid var(--guide-gold-dark);
  border-bottom: 3px solid var(--guide-gold-dark);
  transform: rotate(-45deg);
}

/* 本文内のインラインリンク群（料金セクション） */
.ss-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 20px 0 0 !important;
}

.ss-inline-links a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ss-inline-links a::after {
  content: " →";
}

/* 申込前チェックリスト（カード化して読みやすくする） */
.ss-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ss-checklist li {
  position: relative;
  padding: 10px 12px 10px 40px;
  border-radius: 10px;
  background: var(--guide-soft);
  color: var(--guide-ink);
  line-height: 1.6;
}

.ss-checklist li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 10px;
  height: 6px;
  border-left: 3px solid var(--guide-gold-dark);
  border-bottom: 3px solid var(--guide-gold-dark);
  transform: rotate(-45deg);
}

/* 補足の注記（料金未発表など、本文の前提を断る一文） */
.ss-note {
  margin: 16px 0 0 !important;
  font-size: 0.88rem;
  color: var(--guide-muted);
  line-height: 1.8;
}

/* ------------------------------------------------------------
   教習所カード一覧（inc/tool/school-card.php）
   カード本体のスタイルは guide-common.css の .area-school-card が正本。
   ここでは並べ方と、カード内CTAの横並びだけを定義する（monthly.css と同じ扱い）。
   ------------------------------------------------------------ */
.ss-school-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.ss-school-more {
  margin-top: 20px !important;
}

.ss-school-more a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ss-school-more a::after {
  content: " →";
}

/* CTAは「教習所を見る」「空き確認[無料]」を常に横並びにする。
   guide-common.css が狭幅で flex-direction: column にするため、ここで row に戻す。 */
.ss-school-list .area-school-card__actions {
  flex-direction: row;
  flex-wrap: nowrap;
}

.ss-school-list .area-school-card__actions .guide-button {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
}

/* ------------------------------------------------------------
   料金の状態表示（現在は「未発表」のみ）
   monthly.css の .monthly-price-range--unpublished と同じ体裁にそろえている。
   金額を掲載できるようになったら、published 用の配色（gold-pale）を足す。
   ------------------------------------------------------------ */
.ss-price-notice {
  margin: 24px 0 0;
  padding: 20px 22px;
  background: var(--guide-soft);
  border: 1px solid var(--guide-border);
  border-radius: 6px;
}

.ss-price-notice__head {
  display: grid;
  gap: 4px;
  margin: 0 !important;
  font-weight: 700;
  color: var(--guide-ink);
  line-height: 1.6;
}

.ss-price-notice__head span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--guide-muted);
}

.ss-price-notice__value {
  margin: 10px 0 0 !important;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--guide-ink);
  line-height: 1.3;
}

.ss-price-notice__note {
  margin: 12px 0 0 !important;
  font-size: 0.85rem;
  color: var(--guide-muted);
  line-height: 1.8;
}

@media (max-width: 767px) {
  .ss-price-notice {
    padding: 16px;
  }

  .ss-price-notice__value {
    font-size: 1.05rem;
  }
}

/* 条件を整理する4軸のカード（.monthly-point-card と同じ体裁） */
.ss-axis-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0 0;
}

.ss-axis-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(45, 52, 54, .05);
}

.ss-axis-card h3 {
  margin: 0 0 10px;
  color: var(--guide-ink);
  font-size: 1.02rem;
  line-height: 1.5;
}

.ss-axis-card p {
  margin: 0;
  color: var(--guide-muted);
  line-height: 1.8;
}

/* セクションの結論を最初に1行で出す（「10月までに申し込んでください」など） */
.ss-lead-point {
  margin: 0 0 14px !important;
  padding: 14px 18px;
  background: var(--guide-gold-pale);
  border-left: 4px solid var(--guide-gold-dark);
  border-radius: 0 8px 8px 0;
  color: var(--guide-ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.7;
}

/* 空き確認と申込を並べる2ボタン（検討度の違う導線を同じ強さで出さない） */
.ss-cta-pair {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.ss-cta-pair .guide-button {
  margin-top: 0;
}

@media (min-width: 768px) {
  .ss-axis-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 狭幅では2ボタンの幅が揃わず折り返しがガタつくため、縦積みで幅をそろえる。 */
@media (max-width: 600px) {
  .ss-cta-pair {
    flex-direction: column;
    align-items: stretch;
  }

  .ss-cta-pair .guide-button {
    width: 100%;
  }
}

/* 関連リンクカード（各セクション最大3件） */
.ss-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0 0;
}

.ss-related-card {
  display: block;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(45, 52, 54, .05);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ss-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(45, 52, 54, .1);
}

.ss-related-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--guide-ink);
  font-size: 1.02rem;
  line-height: 1.5;
}

.ss-related-card span {
  margin: 0;
  color: var(--guide-muted);
  line-height: 1.8;
}

@media (max-width: 767px) {
  /* 目次リンクのタップ領域を拡大する（見た目の位置は変えない） */
  .season-spring-guide .guide-toc a {
    display: inline-block;
    padding: 8px 4px;
    margin: -8px -4px;
  }
}
