@charset "UTF-8";
/* ==========================================================================
   研修・講演の下層ページ専用スタイル
     seminar-detail.html（研修・講演詳細）
     seminar-schedule.html（年間スケジュール）
   の2ページだけが読み込む。style.css の後に読み込むこと。
   共通パーツ（ヘッダー・フッター・ボタン）は style.css 側をそのまま使う。
   ========================================================================== */

/* ==== ページ共通の枠 ==== */
/* 上の余白が大きいのは、ヘッダーが position:fixed で浮いているため */
.sp-section { max-width: 1000px; margin: 0 auto; padding: 148px 24px 24px; }
.sp-section--last { padding-bottom: 88px; }

.sp-page-head { text-align: center; margin-bottom: 36px; }
.sp-eyebrow { color: var(--color-accent); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.sp-date-badge {
  display: inline-block; background: var(--gradient-accent); color: #fff;
  font-weight: 700; font-size: 16px; padding: 8px 24px; border-radius: 999px; margin-bottom: 16px;
}
.sp-title { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; font-size: 34px; line-height: 1.5; margin: 0 0 14px; }
.sp-lead { font-size: 18px; line-height: 1.9; color: var(--color-muted); margin: 26px 0 0; text-align: center; }

/* ==== ●つきの中見出し ==== */
.sp-block { margin-top: 48px; }
.sp-block-title {
  font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 22px;
  margin: 0 0 20px; display: flex; align-items: center; gap: 12px;
}
.sp-block-title::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: var(--color-accent); flex: none;
}

/* ==== 開催概要（開催日・研修時間・テーマ など） ====
   項目数が増減しても崩れないよう、区切り線ではなく1項目＝1枚の白いカードにしている。
   （点線の区切り線にすると、折り返した2行目の左端に線が残ってしまう） */
.sp-summary {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin: 0; background: var(--color-cream); border-radius: 20px; padding: 22px;
}
.sp-summary-item { text-align: center; background: #fff; border-radius: 14px; padding: 16px 12px; }
.sp-summary-label { font-size: 14px; font-weight: 700; color: var(--color-tan); margin-bottom: 8px; }
.sp-summary-value { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 19px; margin: 0; color: var(--color-text); line-height: 1.5; }

/* ==== 4つのステップ ==== */
.sp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.sp-step { background: #fff; border: 1px solid var(--color-border); border-radius: 20px; padding: 24px 26px; box-shadow: 0 8px 20px rgba(59,47,34,0.05); }
.sp-step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sp-step-num {
  font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; font-size: 22px;
  color: var(--color-accent); flex: none; line-height: 1;
}
.sp-step-title { font-weight: 700; font-size: 19px; }
.sp-step-text { font-size: 16px; line-height: 1.85; color: var(--color-muted); margin: 0; }

/* ==== 研修のゴール ==== */
.sp-goal {
  background: var(--color-cream2); border: 2px solid var(--color-border);
  border-radius: 24px; padding: 32px 36px;
}
.sp-goal p { font-size: 18px; line-height: 2; margin: 0; text-align: center; }

/* ==== 締めのひとこと ==== */
.sp-closing {
  text-align: center; margin: 48px 0 0;
  font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700;
  font-size: 22px; color: var(--color-accent); line-height: 1.7;
}

/* ==== ページ下部のボタン ==== */
.sp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 40px; }
.sp-actions .btn-primary { font-size: 19px; padding: 16px 32px; }
.sp-actions .btn-outline { font-size: 19px; padding: 14px 30px; }
.sp-back { text-align: center; margin: 28px 0 0; font-size: 15px; }
.sp-back a { color: var(--color-muted); text-decoration: underline; }

/* ==========================================================================
   年間スケジュール
     9列の一覧表をそのまま置くとスマートフォンで読めなくなるため、
     1回分＝1枚のカードにして縦に積む形にしている。
   ========================================================================== */
.sched-note {
  background: var(--color-cream); border-radius: 16px; padding: 18px 22px;
  font-size: 15px; line-height: 1.85; color: var(--color-muted); margin: 0 0 36px;
}
.sched-list { display: flex; flex-direction: column; gap: 22px; }
.sched-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: 22px;
  padding: 26px 28px; box-shadow: 0 8px 20px rgba(59,47,34,0.05);
}
.sched-card--next { border: 2px solid var(--color-accent); }
.sched-card-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.sched-date {
  background: var(--gradient-accent); color: #fff; font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700; font-size: 17px; padding: 8px 20px; border-radius: 999px; flex: none;
}
.sched-theme {
  background: var(--color-cream); color: var(--color-tan);
  font-weight: 700; font-size: 14px; padding: 6px 16px; border-radius: 999px;
}
.sched-time { font-size: 14px; font-weight: 700; color: var(--color-tan); }
.sched-badge-next {
  background: var(--color-green); color: #fff; font-weight: 700;
  font-size: 13px; padding: 6px 14px; border-radius: 999px;
}
.sched-title {
  font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 21px;
  line-height: 1.6; margin: 0 0 18px;
}
.sched-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px 24px; margin: 0; }
.sched-item { border-left: 3px solid var(--color-border); padding-left: 14px; }
.sched-dt { font-size: 13px; font-weight: 700; color: var(--color-accent); margin-bottom: 4px; }
.sched-dd { font-size: 16px; line-height: 1.8; color: var(--color-muted); margin: 0; }
.sched-card-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; }
.sched-card-actions .btn-primary { font-size: 16px; padding: 12px 26px; box-shadow: 0 7px 17px rgba(232,149,42,0.3); }
.sched-card-actions .btn-outline { font-size: 16px; padding: 10px 24px; }

/* ==== タブレット ==== */
@media (max-width: 860px) {
  .sp-section { padding: 128px 20px 20px; }
  .sp-section--last { padding-bottom: 64px; }
  .sp-title { font-size: 28px; }
  .sp-lead { font-size: 16px; }
  .sp-block { margin-top: 40px; }
  .sp-block-title { font-size: 20px; }
  .sp-goal { padding: 26px 24px; }
  .sp-goal p { font-size: 16px; }
  .sp-closing { font-size: 19px; }
  .sched-card { padding: 22px 20px; }
  .sched-title { font-size: 19px; }
}

/* ==== スマートフォン ==== */
@media (max-width: 480px) {
  .sp-section { padding: 112px 14px 16px; }
  .sp-section--last { padding-bottom: 48px; }
  .sp-eyebrow { font-size: 14px; }
  .sp-date-badge { font-size: 14px; padding: 7px 18px; }
  .sp-title { font-size: 23px; }
  .sp-lead { font-size: 15px; text-align: left; }
  .sp-block-title { font-size: 18px; gap: 9px; }
  .sp-block-title::before { width: 11px; height: 11px; }

  .sp-summary { grid-template-columns: 1fr; gap: 10px; padding: 16px; border-radius: 16px; }
  .sp-summary-item { padding: 13px 10px; border-radius: 12px; }
  .sp-summary-label { font-size: 13px; margin-bottom: 6px; }
  .sp-summary-value { font-size: 17px; }

  .sp-step { padding: 20px 18px; border-radius: 16px; }
  .sp-step-num { font-size: 19px; }
  .sp-step-title { font-size: 17px; }
  .sp-step-text { font-size: 15px; }

  .sp-goal { padding: 22px 18px; border-radius: 18px; }
  .sp-goal p { font-size: 15px; line-height: 1.95; text-align: left; }
  .sp-closing { font-size: 17px; margin-top: 36px; }

  .sp-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 32px; }
  .sp-actions > a { text-align: center; }
  .sp-actions .btn-primary { font-size: 16px; padding: 14px 20px; }
  .sp-actions .btn-outline { font-size: 16px; padding: 12px 18px; }

  .sched-note { font-size: 14px; padding: 16px; margin-bottom: 28px; }
  .sched-list { gap: 16px; }
  .sched-card { padding: 20px 16px; border-radius: 18px; }
  .sched-card-head { gap: 8px; margin-bottom: 12px; }
  .sched-date { font-size: 15px; padding: 7px 16px; }
  .sched-theme { font-size: 13px; padding: 5px 12px; }
  .sched-badge-next { font-size: 12px; padding: 5px 11px; }
  .sched-title { font-size: 17px; margin-bottom: 14px; }
  .sched-dl { grid-template-columns: 1fr; gap: 12px; }
  .sched-dd { font-size: 15px; }
  .sched-card-actions { flex-direction: column; align-items: stretch; }
  .sched-card-actions > a { text-align: center; }
}

@media (max-width: 360px) {
  .sp-section { padding-left: 10px; padding-right: 10px; }
  .sp-title { font-size: 20px; }
  .sched-card { padding: 18px 13px; }
  .sched-title { font-size: 16px; }
}

/* ==== 終了した回の折りたたみ（JSで生成） ====
   研修日が過ぎた回は、この中へ自動で移動する。閉じた状態が初期値。
   終了回を消さずに残すのは、扱えるテーマの一覧として問い合わせにつながるため。
   JSが動かない環境では折りたたみ自体が作られず、全カードが通常表示のまま並ぶ
   （情報が欠けるより、多く出るほうが安全） */
.sched-past { margin-bottom: 26px; }
.sched-past-toggle {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: var(--color-cream); border: 1px solid var(--color-border);
  border-radius: 14px; padding: 14px 20px; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 700; color: var(--color-muted);
  text-align: left;
}
@media (hover: hover) {
  .sched-past-toggle:hover { background: var(--color-cream2); border-color: var(--color-accent); }
}
/* 三角の向きで開閉が分かるようにする。色や文字だけの表現にしないこと */
.sched-past-toggle-icon {
  flex: none; width: 0; height: 0;
  border-left: 7px solid var(--color-accent); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  transition: transform .2s ease;
}
.sched-past-toggle[aria-expanded="true"] .sched-past-toggle-icon { transform: rotate(90deg); }
.sched-past-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }

/* 終了した回は1行に圧縮する。詳細（目的・ねらい・ワーク）は隠し、
   日付・テーマ・タイトルだけ残す。13件並んでも縦に長くならないようにするため */
.sched-card--past { background: #FAF7F0; box-shadow: none; opacity: .75; padding: 16px 20px; }
.sched-card--past .sched-card-head { margin-bottom: 8px; }
.sched-card--past .sched-date { background: #B9AC93; font-size: 15px; padding: 6px 16px; }
.sched-card--past .sched-title { font-size: 17px; margin: 0; }
.sched-card--past .sched-dl { display: none; }
.sched-badge-done {
  background: #fff; color: var(--color-tan); border: 1px solid var(--color-tan);
  font-weight: 700; font-size: 12px; padding: 5px 12px; border-radius: 999px;
}

/* 全日程が終了したときの案内。これが無いと、次回開催がどこにも無い
   グレー一色のページになってしまう */
.sched-notice {
  background: var(--color-cream); border: 2px solid var(--color-accent);
  border-radius: 16px; padding: 20px 24px; margin: 0 0 26px;
  font-size: 16px; font-weight: 700; line-height: 1.8; color: var(--color-text); text-align: center;
}

[hidden] { display: none !important; }

@media (max-width: 480px) {
  .sched-past-toggle { font-size: 14px; padding: 13px 16px; }
  .sched-card--past { padding: 14px 13px; }
  .sched-card--past .sched-date { font-size: 13px; padding: 5px 13px; }
  .sched-card--past .sched-title { font-size: 15px; }
  .sched-notice { font-size: 14px; padding: 16px 18px; }
}

/* ==== 研修のねらい／ワーク内容／園での実践課題（旧「4つのステップ」の置き換え） ====
   2026-08-22、顧客の指示で4つのステップを廃止し、研修計画表の「研修のねらい」に変更。
   ねらいだけでは1行で寂しくなるため、同じ資料にあるワーク内容と実践課題を並べている。
   不要になったら .sp-point のブロックごと減らせばよい（数が変わってもグリッドは崩れない） */
.sp-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.sp-point {
  background: #fff; border: 1px solid var(--color-border); border-radius: 20px;
  padding: 24px 26px; box-shadow: 0 8px 20px rgba(59,47,34,0.05);
}
.sp-point-label {
  display: inline-block; background: var(--color-cream); color: var(--color-accent);
  font-weight: 700; font-size: 13px; padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}
.sp-point-text { font-size: 17px; line-height: 1.85; color: var(--color-text); margin: 0; font-weight: 700; }

/* 開催概要の下に置く研修名。dl の枠外に出しているのは、
   5項目のグリッドに6つ目として入れると1つだけ折り返して不格好になるため */
.sp-summary-name {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin: 14px 0 0; font-size: 17px; font-weight: 700; line-height: 1.6; text-align: center;
}
.sp-summary-name-label {
  flex: none; background: var(--color-tan); color: #fff;
  font-size: 13px; padding: 5px 14px; border-radius: 999px;
}

/* 旧「4つのステップ」用のスタイル（.sp-steps / .sp-step ...）は現在どのページからも
   使っていない。回ごとにステップを出す案が復活したときのために残してある */

@media (max-width: 480px) {
  .sp-point { padding: 20px 18px; border-radius: 16px; }
  .sp-point-label { font-size: 12px; padding: 4px 12px; margin-bottom: 10px; }
  .sp-point-text { font-size: 15px; }
  .sp-summary-name { font-size: 15px; gap: 8px; margin-top: 12px; }
  .sp-summary-name-label { font-size: 12px; padding: 4px 12px; }
}
