/* ============================================================
   SPOT LAIGHT — AIリスキリング研修 詳細ページ
   pro2.css（pro.css を内包）を土台に、このページ専用の部品だけを追加
============================================================ */
@import url("pro2.css");

/* ---------- パンくず ---------- */
.crumb {
  position: fixed; top: 26px; left: clamp(20px, 4vw, 48px); z-index: 321;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--grot); font-size: 11px; letter-spacing: 0.12em;
  color: var(--cream-dim);
  transition: color 0.3s, transform 0.6s var(--ease), opacity 0.4s;
}
.crumb:hover { color: var(--gold-bright); }
.crumb.hide { transform: translateY(-140%); opacity: 0; }
.crumb-arrow { width: 20px; height: 1px; background: currentColor; position: relative; }
.crumb-arrow::before {
  content: ""; position: absolute; left: 0; top: -3.4px;
  width: 8px; height: 1px; background: currentColor;
  transform: rotate(-38deg); transform-origin: left center;
}

/* ---------- サブページ用ヒーロー ---------- */
.subhero {
  position: relative;
  padding: clamp(140px, 22vh, 210px) clamp(20px, 7vw, 110px) clamp(90px, 12vh, 140px);
  overflow: hidden;
}
.subhero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 72% 20%, rgba(255, 214, 140, 0.12), transparent 62%),
    radial-gradient(ellipse 80% 60% at 20% 90%, rgba(90, 20, 22, 0.35), transparent 70%),
    var(--bg);
}
.subhero-inner { position: relative; z-index: 2; max-width: 980px; }
.subhero .hero-title { font-size: clamp(40px, 7.6vw, 92px); }
.subhero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 6px; }
.badge {
  font-family: var(--grot); font-size: 11px; letter-spacing: 0.08em; font-weight: 600;
  color: var(--gold-bright);
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: 999px;
  padding: 7px 16px;
}

/* ---------- Before/After カード（時間の使い道） ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
@media (max-width: 780px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-card {
  border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 30px 26px;
  background: rgba(243, 236, 225, 0.02);
  transition: border-color 0.4s, background 0.4s, transform 0.5s var(--ease);
}
.ba-card:hover { border-color: rgba(217, 164, 65, 0.5); background: rgba(255, 209, 102, 0.04); transform: translateY(-4px); }
.ba-num { font-family: var(--grot); font-size: 12px; letter-spacing: 0.2em; color: var(--red-bright); }
.ba-title { font-family: var(--serif); font-weight: 700; font-size: 19px; margin: 10px 0 16px; }
.ba-row { display: flex; gap: 12px; font-size: 13px; line-height: 1.9; padding: 10px 0; }
.ba-row + .ba-row { border-top: 1px dashed rgba(217, 164, 65, 0.25); }
.ba-tag { flex: none; font-family: var(--grot); font-size: 10px; letter-spacing: 0.14em; font-weight: 700; padding-top: 2px; }
.ba-row--before .ba-tag { color: var(--cream-dim); }
.ba-row--after .ba-tag { color: var(--gold-bright); }
.ba-row p { color: var(--cream-dim); }
.ba-row--after p { color: var(--cream); }

/* ---------- 選ばれる理由 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.why-item { background: var(--bg); padding: 32px 28px; }
.why-num { font-family: var(--grot); font-size: 12px; letter-spacing: 0.2em; color: var(--red-bright); }
.why-title { font-family: var(--serif); font-weight: 700; font-size: 18px; margin: 12px 0 10px; line-height: 1.5; }
.why-desc { font-size: 13px; color: var(--cream-dim); line-height: 1.95; }

/* ---------- コース一覧：svc-card を流用してグリッド表示 ---------- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.course-grid .svc-card { width: 100%; cursor: default; }
.course-grid .svc-card::before { display: none; }
.course-price { margin-top: 20px; padding-top: 16px; border-top: 1px dashed rgba(217, 164, 65, 0.3); display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.course-price b { font-family: var(--grot); font-weight: 700; font-size: 21px; color: var(--gold-bright); }
.course-price span { font-size: 11px; color: var(--cream-dim); }

/* ---------- 2トラック（標準／カスタム） ---------- */
.track-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
@media (max-width: 820px) { .track-grid { grid-template-columns: 1fr; } }
.track-card { position: relative; border-radius: 20px; padding: 34px 32px 30px; border: 1.5px solid var(--line); background: rgba(243, 236, 225, 0.02); }
.track-card--std { border-color: rgba(217, 164, 65, 0.45); }
.track-card--custom { border-color: rgba(255, 46, 58, 0.32); }
.track-kicker { font-family: var(--grot); font-size: 11px; letter-spacing: 0.24em; margin-bottom: 12px; }
.track-card--std .track-kicker { color: var(--gold-bright); }
.track-card--custom .track-kicker { color: var(--red-bright); }
.track-title { font-family: var(--serif); font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.track-desc { font-size: 13.5px; color: var(--cream-dim); line-height: 2; margin-bottom: 18px; }
.track-list { display: grid; gap: 8px; margin-bottom: 20px; }
.track-list li { position: relative; padding-left: 22px; font-size: 13px; color: var(--cream-dim); }
.track-list li::before { content: "✦"; position: absolute; left: 0; top: 0; font-size: 11px; color: var(--gold); }
.track-price { font-family: var(--grot); font-weight: 700; font-size: 20px; color: var(--cream); }
.track-price small { font-family: var(--sans); font-weight: 400; font-size: 11px; color: var(--cream-dim); }

/* ---------- パッケージ詳細（対象職務／学ぶ内容／身につくスキル） ---------- */
.pkg-detail { display: grid; gap: 14px; }
.pkg-detail > div { display: grid; grid-template-columns: 160px 1fr; gap: 14px; }
@media (max-width: 560px) { .pkg-detail > div { grid-template-columns: 1fr; gap: 4px; } }
.pkg-detail dt { font-family: var(--grot); font-size: 11px; letter-spacing: 0.08em; color: var(--gold-bright); padding-top: 2px; }
.pkg-detail dd { font-size: 13.5px; color: var(--cream-dim); line-height: 1.9; }
/* アコーディオンが開いた行はクリーム色の明るい背景になるため、文字色をダーク側に切り替える */
.ind-row.open .pkg-detail dt { color: var(--red); }
.ind-row.open .pkg-detail dd { color: #3a342e; }
.ind-row.open .faq-answer { color: #3a342e; }
.faq-answer { font-size: 13.5px; color: var(--cream-dim); line-height: 2; }

/* ---------- 標準／応用パッケージ 選択バッジ ---------- */
.tier-badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.tier-badge { font-family: var(--grot); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(217, 164, 65, 0.5); color: var(--gold-bright); }

/* ---------- 業種・職種パッケージ：バッジ群 ---------- */
.pkg-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.pkg-tab {
  font-family: var(--grot); font-size: 11px; letter-spacing: 0.06em; font-weight: 700;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--cream-dim);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.pkg-tab.is-on { border-color: var(--gold-bright); color: var(--gold-bright); background: rgba(255, 209, 102, 0.06); }

/* ---------- 料金テーブル ---------- */
.tbl-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(255, 209, 102, 0.72) rgba(243, 236, 225, 0.12);
  scrollbar-width: thin;
}
.tbl-wrap::-webkit-scrollbar { height: 8px; }
.tbl-wrap::-webkit-scrollbar-track { background: rgba(243, 236, 225, 0.1); border-radius: 999px; }
.tbl-wrap::-webkit-scrollbar-thumb { background: rgba(255, 209, 102, 0.72); border-radius: 999px; }
.table-scroll-hint { display: none; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
table.tbl caption { text-align: left; font-size: 11.5px; color: var(--cream-dim); padding: 10px 4px; caption-side: bottom; }
table.tbl th, table.tbl td { padding: 15px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13px; }
table.tbl thead th { font-family: var(--grot); font-size: 11px; letter-spacing: 0.1em; color: var(--gold-bright); font-weight: 700; }
table.tbl tbody td { color: var(--cream-dim); }
table.tbl tbody tr:hover td { color: var(--cream); background: rgba(255, 209, 102, 0.03); }
table.tbl td.num, table.tbl th.num { font-family: var(--grot); }
table.tbl td.hl { color: var(--gold-bright); font-weight: 700; }

@media (max-width: 780px) {
  .table-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--gold-bright);
    font-family: var(--grot);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
  }
  .table-scroll-hint::after {
    content: "→";
    font-size: 17px;
    line-height: 1;
    animation: tableHint 1.15s ease-in-out infinite alternate;
  }
  .table-scroll-hint.is-at-end { justify-content: flex-start; }
  .table-scroll-hint.is-at-end::after { content: "←"; }
  .tbl-wrap.is-scrollable:not(.is-at-end) {
    box-shadow: inset -28px 0 22px -24px rgba(255, 209, 102, 0.95);
  }
  @keyframes tableHint { to { transform: translateX(5px); } }
}

/* ---------- 注記ブロック ---------- */
.note-block { border-left: 2px solid var(--gold); padding: 4px 0 4px 20px; margin: 22px 0; display: grid; gap: 8px; }
.note-block p { font-size: 12px; color: var(--cream-dim); line-height: 1.9; }
.quote-block {
  border-left: 2px solid var(--red-bright);
  padding: 6px 0 6px 22px; margin: 24px 0;
  font-family: var(--serif); font-size: 16px; line-height: 1.95; color: var(--cream);
}

/* ---------- 導入の流れ ---------- */
.flow-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
@media (max-width: 780px) { .flow-tabs { grid-template-columns: 1fr; } }
.flow-col { border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; }
.flow-col h3 { font-family: var(--serif); font-weight: 700; font-size: 17px; margin-bottom: 20px; color: var(--gold-bright); }
.flow-steps { display: grid; gap: 0; }
.flow-steps li { position: relative; padding: 0 0 22px 34px; }
.flow-steps li:last-child { padding-bottom: 0; }
.flow-steps li::before {
  content: attr(data-n);
  position: absolute; left: 0; top: -2px;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid rgba(217, 164, 65, 0.6);
  font-family: var(--grot); font-size: 11px; font-weight: 700; color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
}
.flow-steps li::after {
  content: ""; position: absolute; left: 11.5px; top: 24px; bottom: 0;
  width: 1px; background: var(--line);
}
.flow-steps li:last-child::after { display: none; }
.flow-steps p { font-size: 13.5px; color: var(--cream-dim); line-height: 1.9; }

/* ---------- 実績ミニ帯 ---------- */
.results-mini .num-grid { border-radius: 18px; overflow: hidden; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.results-more { margin-top: 30px; }

/* ---------- 無料相談フォーム（ページ埋め込み） ---------- */
.contact-form-panel {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid rgba(217, 164, 65, 0.3);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 46px);
  background: rgba(243, 236, 225, 0.02);
}
.contact-form-panel .f-row input,
.contact-form-panel .f-row textarea { background: rgba(243, 236, 225, 0.06); }
.rform-thanks { text-align: center; padding: 30px 0; }
.rform-thanks .thanks-star { color: var(--gold-bright); font-size: 34px; margin-bottom: 14px; }
.rform-thanks h3 { font-size: 22px; margin-bottom: 14px; }
.rform-thanks p { color: var(--cream-dim); font-size: 14px; line-height: 1.9; margin-bottom: 26px; }

/* ---------- CTA下部フッター調整 ---------- */
.subfooter-note { margin-top: 18px; font-size: 12px; color: var(--cream-dim); }
