/* ===== Seminar page ===== */
:root {
  --sem-offline: #0a1628;   /* 対面 = navy */
  --sem-online: #1f6fb8;    /* オンライン = blue */
}
.page-hero-cta { margin-top: 32px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Two styles ---------- */
.sem-styles { background: var(--paper); padding: 96px 0; }
.sem-styles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.sem-style {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md, 0 14px 32px -8px rgba(10,22,40,.16));
  transition: transform .3s ease, box-shadow .3s ease;
}
.sem-style:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover, 0 24px 48px -12px rgba(10,22,40,.24)); }
.sem-style-visual { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.sem-style-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sem-style-label {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--font-latin); font-size: 12px; font-weight: 600; letter-spacing: .18em;
  color: #fff; padding: 6px 14px;
  box-shadow: 0 10px 20px -6px rgba(0,0,0,.65);
}
.sem-style--offline .sem-style-label { background: var(--sem-offline); }
.sem-style--online .sem-style-label { background: var(--gold); color: var(--navy-deep); }
.sem-style-body { padding: 36px 36px 40px; display: flex; flex-direction: column; flex: 1; }
.sem-style-title { font-size: 26px; font-weight: 700; color: var(--navy-deep); margin: 0; }
.sem-style-sub { font-size: 13px; color: var(--gold); letter-spacing: .08em; margin-top: 6px; }
.sem-style-text { font-size: 15px; line-height: 2; color: var(--text-secondary); margin: 20px 0 16px; }
.sem-style-points { list-style: none; padding: 0; margin: 0 0 28px; }
.sem-style-points li {
  position: relative; padding: 10px 0 10px 26px; font-size: 15px; color: var(--navy-deep);
  border-bottom: 1px dashed var(--line-strong);
}
.sem-style-points li::before {
  content: ''; position: absolute; left: 4px; top: 50%; width: 10px; height: 6px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(-45deg);
}
.sem-style-for { font-size: 13px; color: var(--text-secondary); background: var(--cream); padding: 14px 18px; margin: 0 0 28px; line-height: 1.8; }
.sem-style-for strong { color: var(--navy-deep); }
.sem-style .btn-primary { margin-top: auto; align-self: flex-start; }

/* ---------- Compare table ---------- */
.sem-compare { background: var(--cream); padding: 96px 0; }
.sem-compare-wrap { max-width: 1040px; margin: 48px auto 0; overflow-x: auto; box-shadow: var(--shadow-md, 0 14px 32px -8px rgba(10,22,40,.16)); }
/* 列幅を固定（項目 22%／対面 39%／オンライン 39%）し、罫線で区切る */
.sem-compare-table { width: 100%; table-layout: fixed; border-collapse: collapse; background: var(--paper); font-size: 15px; min-width: 560px; }
.sem-compare-table col.col-label { width: 22%; }
.sem-compare-table col.col-value { width: 39%; }
.sem-compare-table th, .sem-compare-table td {
  padding: 18px 24px;
  border: 1px solid var(--line-strong);
  line-height: 1.7;
  vertical-align: middle;
}
.sem-compare-table thead th {
  color: #fff; font-weight: 700; letter-spacing: .08em; text-align: center;
  border-color: rgba(255, 255, 255, 0.18);
  border-top: none;
}
.sem-compare-table thead th:first-child { background: var(--navy); border-left: none; }
.sem-compare-table thead th:last-child { border-right: none; }
.sem-compare-table thead th.is-offline { background: var(--sem-offline); }
.sem-compare-table thead th.is-online { background: var(--gold); color: var(--navy-deep); }
.sem-compare-table tbody th { text-align: left; background: var(--cream-warm); color: var(--navy-deep); font-weight: 500; border-left: none; }
.sem-compare-table tbody td { text-align: center; color: var(--text-primary); }
.sem-compare-table tbody td:last-child { border-right: none; }
.sem-compare-table tbody tr:last-child th, .sem-compare-table tbody tr:last-child td { border-bottom: none; }
.sem-compare-table tbody tr:nth-child(even) td { background: #fcfbf8; }
.sem-compare-table .mark { color: var(--gold); font-weight: 700; margin-right: 6px; }

/* ---------- Schedule ---------- */
/* 背景は 白（2つの参加スタイル）→ クリーム（開催スケジュール）→ 白（開催実績）→ クリーム（流れ）→ 白（FAQ）の交互 */
.sem-schedule { background: var(--cream); padding: 96px 0; scroll-margin-top: 80px; border-top: 1px solid var(--line); }
.sem-tabs { display: flex; justify-content: center; gap: 8px; margin: 40px 0 36px; flex-wrap: wrap; }
.sem-tab {
  font: inherit; font-size: 15px; letter-spacing: .08em;
  padding: 12px 28px; min-width: 140px;
  background: var(--paper); color: var(--navy-deep);
  border: 1px solid var(--line-strong); cursor: pointer;
  box-shadow: var(--shadow-xs, 0 2px 6px rgba(10,22,40,.05));
  transition: background .3s, color .3s, box-shadow .3s, transform .3s;
}
.sem-tab:hover { transform: translateY(-1px); }
.sem-tab[aria-selected="true"] { background: var(--navy-deep); color: var(--cream); border-color: var(--navy-deep); box-shadow: 0 14px 28px -8px rgba(10,22,40,.6); }
.sem-tab .count { font-family: var(--font-latin); font-size: 12px; opacity: .7; margin-left: 6px; }

.sem-list { max-width: 1040px; margin: 0 auto; display: grid; gap: 20px; }
.sem-event {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sem-offline);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm, 0 6px 16px -4px rgba(10,22,40,.1));
  transition: transform .3s ease, box-shadow .3s ease;
}
.sem-event[data-type="online"] { border-left-color: var(--gold); }
.sem-event > * { min-width: 0; } /* 長いセミナー名でカードがはみ出さないように */
.sem-event:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover, 0 24px 48px -12px rgba(10,22,40,.24)); }
.sem-event[hidden] { display: none; }
.sem-date { text-align: center; border-right: 1px solid var(--line); padding-right: 24px; }
.sem-date-month { font-family: var(--font-latin); font-size: 13px; color: var(--text-muted); letter-spacing: .1em; }
.sem-date-day { font-family: var(--font-latin); font-size: 44px; font-weight: 600; line-height: 1.1; color: var(--navy-deep); }
.sem-date-week { font-size: 13px; color: var(--text-secondary); }
.sem-event-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.sem-badge { font-size: 12px; letter-spacing: .1em; padding: 4px 12px; font-weight: 500; }
.sem-badge--offline { background: var(--sem-offline); color: var(--cream); }
.sem-badge--online { background: var(--gold); color: var(--navy-deep); }
.sem-badge--area { background: var(--cream-warm); color: var(--navy-deep); }
.sem-event-title { font-size: 19px; font-weight: 700; color: var(--navy-deep); line-height: 1.6; margin: 0 0 10px; }
/* 情報行は常に「時間｜会場（配信）」「参加費」の2行で固定し、カードの高さを揃える */
.sem-event-meta { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 32px; font-size: 14px; color: var(--text-secondary); margin: 0; padding: 0; list-style: none; }
.sem-event-meta li { min-width: 0; }
.sem-event-meta li:nth-child(3) { grid-column: 1 / -1; }
.sem-event-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sem-event-meta li::before { content: attr(data-label); color: var(--gold); font-size: 12px; letter-spacing: .1em; margin-right: 8px; }
.sem-event-action { text-align: center; min-width: 168px; }
.sem-status { display: block; font-size: 13px; margin-bottom: 10px; color: var(--text-secondary); }
.sem-status.is-few { color: #c0392b; font-weight: 700; }
.sem-status.is-full { color: var(--text-muted); }
.sem-apply {
  display: inline-block; padding: 14px 28px; font-size: 14px; letter-spacing: .08em; text-decoration: none;
  background: var(--fv-trust); color: #fff;
  box-shadow: 0 12px 24px -8px rgba(21,53,92,.75);
  transition: background .3s, transform .3s, box-shadow .3s;
}
.sem-apply:hover { background: var(--fv-accent); transform: translateY(-2px); }
.sem-apply.is-disabled { background: var(--line-strong); color: var(--text-muted); box-shadow: none; pointer-events: none; }
.sem-empty { text-align: center; color: var(--text-secondary); padding: 40px 0; }
.sem-note { max-width: 1040px; margin: 28px auto 0; font-size: 13px; color: var(--text-muted); line-height: 1.8; }

/* ---------- Flow ---------- */
.sem-flow { background: var(--cream); padding: 96px 0; }
.sem-flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; counter-reset: flow; }
.sem-flow-item {
  counter-increment: flow; position: relative;
  background: var(--paper); padding: 40px 24px 28px; text-align: center;
  box-shadow: var(--shadow-sm, 0 6px 16px -4px rgba(10,22,40,.1));
}
.sem-flow-item::before {
  content: 'STEP ' counter(flow, decimal-leading-zero);
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy-deep);
  font-family: var(--font-latin); font-size: 12px; font-weight: 600; letter-spacing: .15em;
  padding: 6px 14px; box-shadow: 0 10px 18px -6px rgba(0,0,0,.5);
}
.sem-flow-item:not(:last-child)::after {
  content: '›'; position: absolute; right: -18px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 24px;
}
.sem-flow-title { font-size: 17px; font-weight: 700; color: var(--navy-deep); margin: 0 0 12px; }
.sem-flow-text { font-size: 14px; line-height: 1.9; color: var(--text-secondary); margin: 0; }
.sem-flow-text small { display: block; margin-top: 8px; font-size: 12px; color: var(--text-muted); }

/* ---------- Bottom CTA ---------- */
.sem-cta { background: var(--navy-deep); color: var(--cream); padding: 88px 0; text-align: center; box-shadow: inset 0 24px 40px -24px rgba(0,0,0,.95); }
.sem-cta .section-eyebrow { color: var(--gold); }
.sem-cta-title { font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.6; margin: 8px 0 20px; color: #fff; }
.sem-cta-text { font-size: 15px; line-height: 2; color: rgba(250,247,240,.8); margin: 0 0 36px; }
.sem-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.sem-cta .btn-secondary { color: #fff; border-color: rgba(255,255,255,.5); }
.sem-cta .btn-secondary:hover { color: var(--gold); border-color: var(--gold); background: rgba(255,255,255,.04); }

@media (max-width: 1024px) {
  .sem-flow-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .sem-flow-item:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  .sem-styles-grid { grid-template-columns: 1fr; }
  .sem-event { grid-template-columns: 88px 1fr; gap: 20px; padding: 24px; }
  .sem-event-action { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .sem-status { margin: 0; }
}
@media (max-width: 640px) {
  .sem-styles, .sem-compare, .sem-schedule, .sem-flow { padding: 64px 0; }
  .sem-style-body { padding: 28px 22px 32px; }
  .sem-style-title { font-size: 22px; }
  .sem-tab { min-width: 0; flex: 1; padding: 12px 8px; font-size: 14px; }
  .sem-event { grid-template-columns: 64px 1fr; padding: 20px 16px; gap: 16px; }
  .sem-date { padding-right: 12px; }
  .sem-date-day { font-size: 32px; }
  .sem-event-title { font-size: 16px; }
  .sem-event-meta { grid-template-columns: 1fr; }
  .sem-event-title { white-space: normal; }
  .sem-flow-grid { grid-template-columns: 1fr; }
  .sem-flow-item::after { display: none; }
  .sem-compare-table { min-width: 0; }
  .sem-compare-table col.col-label { width: 26%; }
  .sem-compare-table col.col-value { width: 37%; }
  .sem-compare-table th, .sem-compare-table td { padding: 12px 10px; font-size: 13px; }
  .sem-tab .count { display: block; margin: 2px 0 0; }
}

/* ===== 開催実績（トップページの実績欄・資料請求ページと同じ配色：白地＋紺文字＋金アクセント） ===== */
.sem-history { background: var(--paper); padding: 96px 0; scroll-margin-top: 80px; }
.sem-history-lead { text-align: center; font-size: 15px; line-height: 1.9; color: var(--text-secondary); margin: 20px 0 0; }
.sem-history-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin: 48px auto 56px; padding: 48px 0; background: var(--cream); border-top: 3px solid var(--gold); box-shadow: 0 14px 40px rgba(21, 53, 92, 0.07); }
.sem-stat { padding: 0 24px; text-align: center; border-right: 1px solid var(--line); }
.sem-stat:last-child { border-right: none; }
.sem-stat-num { font-family: var(--font-mincho); font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--navy-deep); margin-bottom: 10px; }
.sem-stat-num .unit { font-size: 18px; color: var(--gold); margin-left: 4px; }
.sem-stat-num .prefix { font-size: 16px; font-weight: 500; color: var(--text-secondary); margin-right: 6px; }
.sem-stat-label { font-size: 13px; line-height: 1.6; letter-spacing: 0.06em; color: var(--text-secondary); }
.sem-history-list { max-width: 1040px; margin: 0 auto; }
.sem-history-year { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line-strong); }
.sem-history-year[hidden] { display: none; }
.sem-history-year-title { margin: 0; font-family: var(--font-latin); font-size: 30px; font-weight: 600; line-height: 1; color: var(--navy-deep); }
.sem-history-year-title small { display: block; margin-top: 8px; font-family: var(--font-sans); font-size: 12px; font-weight: 500; color: var(--gold); letter-spacing: .06em; }
.sem-history-items { list-style: none; margin: 0; padding: 0; }
.sem-history-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); font-size: 15px; line-height: 1.7; }
.sem-history-item:last-child { border-bottom: none; }
.sem-history-date { font-family: var(--font-latin); font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.sem-history-title { color: var(--text-primary); }
.sem-history-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; font-size: 11px; letter-spacing: .06em; vertical-align: 2px; background: var(--sem-online); color: #fff; }
.sem-history-people { font-size: 13px; font-weight: 600; color: var(--fv-trust); white-space: nowrap; text-align: right; }
.sem-history-more { text-align: center; margin-top: 32px; }
.sem-history-more[hidden] { display: none; }
.sem-history-toggle { padding: 14px 32px; font-family: inherit; font-size: 14px; letter-spacing: .04em; color: var(--fv-trust); background: transparent; border: 1px solid rgba(21, 53, 92, 0.35); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.sem-history-toggle:hover { border-color: var(--fv-accent); color: var(--fv-accent); background: rgba(31, 111, 184, 0.05); }
.sem-history-note { max-width: 1040px; margin: 32px auto 0; font-size: 12px; line-height: 1.8; color: var(--text-muted); }

@media (max-width: 768px) {
  .sem-history { padding: 64px 0; }
  .sem-history-stats { grid-template-columns: 1fr; margin: 32px auto 40px; padding: 8px 24px; }
  .sem-stat { border-right: none; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .sem-stat:last-child { border-bottom: none; }
  .sem-stat-num { font-size: 36px; }
  .sem-history-year { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .sem-history-year-title small { display: inline; margin: 0 0 0 10px; }
  .sem-history-item { grid-template-columns: 1fr auto; gap: 2px 12px; font-size: 14px; }
  .sem-history-date { grid-column: 1 / -1; font-size: 12px; }
}

/* 日程カード：準備中（COMING SOON） */
.sem-event.sem-event--soon { display: flex; align-items: center; justify-content: center; min-height: 150px; }
.sem-event.sem-event--soon:hover { transform: none; }
.sem-event.sem-event--soon[hidden] { display: none; }
.sem-soon-label { font-family: var(--font-latin); font-size: 20px; font-weight: 600; letter-spacing: 0.18em; color: var(--fv-trust); }
