/* 自作のセミナーページ（seminars.html / seminar.html）。白を基調に、Lab の緑を1色だけ差す（本サイト・LINE と同じ #28a745 系） */
:root {
  --ink: #14231a;        /* 見出し */
  --text: #3b4a42;       /* 本文 */
  --muted: #66746c;      /* 補足 */
  --faint: #9aa59f;
  --line: #d6dbd8;       /* 枠線 */
  --line-soft: #e6eae7;
  --bg: #ffffff;
  --bg-soft: #f6f8f7;
  --bg-tint: #ecf7ef;    /* 選択中・お知らせ */
  --accent: #1a7f37;     /* ボタン・リンク・文字（白地で読める濃さ） */
  --brand: #28a745;      /* 線・点・飾り（本サイトの緑） */
  --accent-dark: #146c2e;
  --accent-soft: #bfe5cc;
  --danger: #c91616;
  --line-green: #06c755;
  --seat-empty: #dfe5e1;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(20, 35, 26, .06), 0 4px 16px rgba(20, 35, 26, .07);
  --font: 'Noto Sans JP', system-ui, -apple-system, 'Hiragino Sans', sans-serif;
  --num: 'Inter', 'Noto Sans JP', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.75; font-size: 15px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 20px; }

.demo-bar { background: #fff7e0; color: #7a5600; font-size: 12px; text-align: center; padding: 6px 12px; border-bottom: 1px solid #f0d58a; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.sh-inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 62px; display: flex; align-items: center; gap: 24px; }
.sh-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sh-brand img { width: 36px; height: 36px; border-radius: 8px; background: var(--accent); padding: 2px; }
.card-img img[src$="logo.png"], .detail-cover img[src$="logo.png"] { background: var(--accent); object-fit: contain; padding: 12px; }
.sh-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.sh-brand-name { font-weight: 700; color: var(--ink); font-size: 15px; letter-spacing: .01em; }
.sh-brand-name b { color: var(--accent); font-family: var(--num); font-weight: 700; }
.sh-brand-sub { font-size: 10px; color: var(--muted); letter-spacing: .12em; }
.sh-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; color: var(--text); margin-left: 8px; }
.sh-nav a { padding: 4px 0; border-bottom: 2px solid transparent; }
.sh-nav a:hover, .sh-nav a.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.sh-actions { margin-left: auto; display: flex; gap: 8px; }
.sh-menu { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.sh-menu span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
[hidden] { display: none !important; }
.sh-drawer { border-top: 1px solid var(--line); background: #fff; padding: 8px 20px 16px; display: flex; flex-direction: column; }
.sh-drawer > a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-weight: 500; }
.sh-drawer #sh-drawer-auth { display: flex; gap: 8px; margin-top: 14px; }
.sh-drawer #sh-drawer-auth .btn { flex: 1; }
@media (max-width: 860px) {
  .sh-nav, .sh-actions { display: none; }
  .sh-menu { display: flex; }
}

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 6px; font-weight: 700; font-size: 14px; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { display: flex; width: 100%; height: 50px; font-size: 15px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary[disabled] { background: #a9c2b0; cursor: not-allowed; }
.btn-ghost { background: #fff; border-color: #c4cad2; color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-line { background: var(--line-green); color: #fff; }

/* ---------- 見出し ---------- */
.sec { padding: 40px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.eyebrow { font-family: var(--num); font-size: 10px; font-weight: 700; letter-spacing: .18em; color: var(--accent); }
.sec-title { position: relative; padding-left: 14px; font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.sec-title::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: var(--brand); }
.sec-lead { font-size: 13px; color: var(--muted); margin-top: 6px; }
.count { font-family: var(--num); font-size: 13px; color: var(--muted); }
.count b { font-size: 20px; color: var(--ink); margin-right: 2px; }
.more { font-size: 13px; font-weight: 700; color: var(--accent); }

/* ---------- ヒーロー（PICK UP） ---------- */
.hero { padding: 28px 0 8px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, #fff 0%, #f5faf6 100%); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); padding: 6px 0 24px; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee var(--marquee-dur, 40s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee .card { width: 300px; flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .marquee-track { animation: none; }
}
.hero-empty { padding: 28px 0 32px; color: var(--muted); font-size: 14px; }

.notice { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 13px; }
.notice-tag { flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--accent); background: var(--bg-tint); border-radius: 4px; padding: 2px 8px; }

/* ---------- カード ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent-soft); }
.card-img { aspect-ratio: 1840 / 900; background: var(--bg-soft); overflow: hidden; border-bottom: 3px solid var(--brand); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-date { display: flex; align-items: center; gap: 6px; font-family: var(--num); font-size: 12px; font-weight: 700; color: var(--accent); }
.card-date svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.card-title { font-weight: 700; color: var(--ink); font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.card-meta > span:first-child { margin-right: 2px; }
.card-price { margin-top: auto; font-family: var(--num); font-weight: 700; color: var(--accent); font-size: 14px; }

.badge { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 7px; border-radius: 4px; }
.badge-open { background: var(--accent); color: #fff; }
.badge-soon { background: var(--bg-tint); color: var(--accent); }
.badge-full, .badge-closed { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.badge-canceled { background: #fdecec; color: #b42318; border: 1px solid #f5c2c0; }
.badge-few { background: #fff1f1; color: var(--danger); }
.badge-tag { background: #fff; color: var(--muted); border: 1px solid var(--line); font-weight: 500; }
.badge-kind { background: var(--bg-tint); color: var(--accent); }

/* ---------- 絞り込み ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search input { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px 0 38px; font: inherit; font-size: 14px; color: var(--ink); background: #fff; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(40, 167, 69, .18); }
.search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: var(--faint); stroke-width: 2; }
.select { height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: 0 34px 0 12px; font: inherit; font-size: 13px; color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23677586' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bg-soft); font-size: 14px; }
.empty a { color: var(--accent); font-weight: 700; }

/* ---------- マイセミナー ---------- */
.my-list { display: grid; gap: 10px; }
.my-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.my-item:hover { border-color: var(--accent); }
.my-item .my-date { font-family: var(--num); font-weight: 700; color: var(--accent); font-size: 13px; min-width: 110px; }
.my-item .my-title { font-weight: 700; color: var(--ink); flex: 1; font-size: 14px; }

/* ---------- 詳細ページ ---------- */
.crumbs { font-size: 12px; color: var(--muted); padding: 14px 0; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 6px; color: var(--faint); }
.detail-cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); background: var(--bg-soft); aspect-ratio: 1840 / 900; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-head { padding: 18px 0 6px; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.detail-title { font-size: 26px; line-height: 1.45; font-weight: 700; color: var(--ink); }
.detail-catch { margin-top: 6px; color: var(--muted); font-size: 14px; }
.detail-summary { margin-top: 14px; font-size: 14px; color: var(--text); white-space: pre-line; }
@media (max-width: 560px) { .detail-title { font-size: 21px; } }

.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; margin-top: 16px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.share-label b { display: block; color: var(--ink); font-size: 13px; }
.share-label span { font-size: 11px; color: var(--muted); }
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btns .btn { height: 36px; font-size: 12px; padding: 0 12px; }
.share-btns .btn-icon { width: 36px; padding: 0; }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-top: 18px; }
.panel-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); font-weight: 700; color: var(--ink); font-size: 14px; }
.panel-head svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2; }
.panel-body { padding: 18px; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.fact { display: flex; gap: 12px; padding: 16px 18px; }
.fact + .fact { border-left: 1px solid var(--line-soft); }
.fact svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 1.8; }
.fact-label { font-size: 11px; color: var(--muted); font-weight: 700; }
.fact-main { font-weight: 700; color: var(--ink); font-size: 15px; font-family: var(--num); }
.fact-sub { font-size: 12px; color: var(--text); }
.fact-sub a { color: var(--accent); text-decoration: underline; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .fact + .fact { border-left: 0; border-top: 1px solid var(--line-soft); } }

.tiers { display: grid; gap: 10px; }
.tier { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 6px; background: var(--bg-soft); color: var(--muted); }
.tier-name { font-weight: 700; font-size: 14px; }
.tier-note { display: block; font-size: 11px; font-weight: 400; }
.tier-price { font-family: var(--num); font-weight: 700; font-size: 17px; }
.tier.is-open { background: #fff; border-color: var(--line); color: var(--ink); cursor: pointer; }
.tier.is-open:hover { border-color: var(--accent); }
.tier.is-selected { border-color: var(--accent); background: var(--bg-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.tier[disabled] { cursor: default; }
.tier-member { font-size: 12px; color: var(--accent); font-weight: 700; }

.apply { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.apply-note { font-size: 13px; color: var(--text); }
.apply-legal { font-size: 11px; color: var(--muted); line-height: 1.6; }
.apply-legal a, .link { color: var(--accent); text-decoration: underline; }
.apply-mail { text-align: center; font-size: 12px; color: var(--muted); text-decoration: underline; }
.msg { padding: 12px 14px; border-radius: 6px; font-size: 13px; }
.msg-ok { background: #ecf8f0; color: #116b34; border: 1px solid #bfe5cc; }
.msg-err { background: #fff1f1; color: var(--danger); border: 1px solid #f3c4c4; }
.msg-info { background: var(--bg-tint); color: var(--accent-dark); border: 1px solid var(--accent-soft); }

.summary-rows { display: grid; gap: 6px; font-size: 13px; }
.summary-rows div { display: flex; justify-content: space-between; gap: 12px; }
.summary-rows dt { color: var(--muted); }
.summary-rows dd { font-weight: 700; color: var(--ink); font-family: var(--num); }
.summary-rows dd.accent { color: var(--accent); }

.joined { border-color: var(--accent); }
.joined .panel-head { background: var(--bg-tint); }
.mine-top { margin-bottom: 16px; } /* 申込済みの人: 参加情報をページのいちばん上に */
.join-row { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.join-row:last-child { border-bottom: 0; }
.join-row .k { font-size: 11px; color: var(--muted); font-weight: 700; }
.join-row .v { color: var(--ink); word-break: break-all; }
.join-row .v a { color: var(--accent); font-weight: 700; text-decoration: underline; }
.join-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.prose { font-size: 15px; }
.prose h3 { font-size: 16px; color: var(--ink); margin: 26px 0 8px; padding-left: 10px; border-left: 3px solid var(--brand); line-height: 1.4; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 16px; margin-bottom: 4px; }
.prose li::before { content: ''; position: absolute; left: 3px; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

.speaker { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.speaker:last-child { border-bottom: 0; }
.speaker-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); flex-shrink: 0; border: 1px solid var(--line-soft); }
.speaker-name { font-weight: 700; color: var(--ink); }
.speaker-role { font-size: 12px; color: var(--muted); }
.speaker-bio { font-size: 13px; margin-top: 6px; white-space: pre-line; }

.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); }
  .sticky-cta .p { font-family: var(--num); font-weight: 700; color: var(--accent); font-size: 16px; }
  .sticky-cta .btn { flex: 1; }
  body.has-sticky { padding-bottom: 76px; }
}

/* ---------- フッター ---------- */
.site-footer { margin-top: 56px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.sf-inner { max-width: 1120px; margin: 0 auto; padding: 36px 20px 24px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.sf-name { font-weight: 700; color: var(--ink); }
.sf-name b { color: var(--accent); font-family: var(--num); }
.sf-brand p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.sf-peatix { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--accent); text-decoration: underline; }
.sf-cols { display: flex; gap: 48px; }
.sf-cols > div { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.sf-cols a:hover { color: var(--accent); }
.sf-h { font-family: var(--num); font-size: 10px; font-weight: 700; letter-spacing: .18em; color: var(--faint); margin-bottom: 4px; }
.sf-copy { text-align: center; font-size: 11px; color: var(--faint); padding: 14px; border-top: 1px solid var(--line-soft); font-family: var(--num); }

.skeleton { background: linear-gradient(90deg, var(--bg-soft), #eef1f4, var(--bg-soft)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 6px; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- テーマのカード（同じテーマを月2回・2会場で） ---------- */
.theme { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.theme:hover { box-shadow: var(--shadow); border-color: var(--accent-soft); }
.theme .card-img { display: block; }
.theme-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.theme-kind { display: flex; flex-wrap: wrap; gap: 6px; }
.theme-title { font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.5; }
.theme-title:hover { color: var(--accent); }
.theme-sub { font-size: 12px; color: var(--muted); margin-top: -4px; }
.sessions { display: grid; gap: 6px; margin-top: 2px; }
.session { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 10px; padding: 8px 10px; border: 1px solid var(--line-soft); border-radius: 6px; background: var(--bg-soft); font-size: 12.5px; color: var(--text); }
a.session:hover { border-color: var(--accent); background: var(--bg-tint); }
.session-date { font-family: var(--num); font-weight: 700; color: var(--ink); white-space: nowrap; }
.session-venue { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.session-state { justify-self: end; }
.session .seats { grid-column: 1 / -1; }
.session.is-closed { opacity: .6; }
.session.is-current { border-color: var(--accent); background: var(--bg-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.theme-price { margin-top: auto; padding-top: 4px; font-family: var(--num); font-weight: 700; color: var(--accent); font-size: 14px; }

/* 席の点: 緑 = 空いている席、灰 = 埋まった席 */
.seats { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.seat-dots { display: inline-flex; flex-wrap: wrap; gap: 3px; }
.seat-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.seat-dots i.taken { background: var(--seat-empty); }
.seats b { color: var(--ink); font-family: var(--num); }
.seats.few b { color: var(--danger); }
.seats-lg .seat-dots i { width: 12px; height: 12px; }
.seats-lg { font-size: 13px; }

/* 詳細: 日程・会場を選ぶ */
.pick-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pick-note { font-size: 11px; color: var(--muted); }
.session-lg { padding: 12px 14px; font-size: 13.5px; }
.session-lg .session-date { font-size: 14px; }

/* 詳細: 当日の流れ・初めての方へ */
.flow { display: grid; grid-template-columns: repeat(var(--steps, 3), 1fr); gap: 0; position: relative; margin: 4px 0 6px; }
.flow-step { position: relative; text-align: center; padding: 0 6px; }
.flow-step::before { content: ''; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--accent-soft); }
.flow-step:first-child::before { display: none; }
.flow-dot { position: relative; z-index: 1; width: 32px; height: 32px; margin: 0 auto 8px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); color: var(--accent); font-family: var(--num); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.flow-step.is-main .flow-dot { background: var(--brand); color: #fff; }
.flow-min { font-family: var(--num); font-weight: 700; color: var(--accent); font-size: 13px; }
.flow-name { font-weight: 700; color: var(--ink); font-size: 14px; line-height: 1.4; }
.flow-desc { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.firsts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.first { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 6px; background: var(--bg-tint); font-size: 13px; color: var(--ink); line-height: 1.55; }
.first svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 2; }
.first span small { display: block; font-size: 11.5px; color: var(--muted); }
@media (max-width: 560px) {
  .firsts { grid-template-columns: 1fr; }
  .flow-name { font-size: 13px; }
  .flow-desc { display: none; }
}

/* キャンセル */
.fee-note { margin-top: 8px; padding: 10px 12px; border-radius: 6px; background: var(--bg-soft); font-size: 12px; color: var(--text); line-height: 1.7; }
.fee-table { width: 100%; max-width: 360px; margin: 8px 0; border-collapse: collapse; font-family: var(--num); font-size: 12.5px; background: #fff; }
.fee-table th, .fee-table td { border: 1px solid var(--line-soft); padding: 5px 10px; text-align: right; }
.fee-table th { background: var(--bg-tint); color: var(--ink); font-family: var(--font); font-weight: 700; text-align: center; }
.fee-table td:first-child { text-align: left; }
.btn-danger { background: #fff; border-color: #e3a5a5; color: var(--danger); }
.btn-danger:hover { background: #fff1f1; border-color: var(--danger); }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: 12px; text-decoration: underline; }
.link-btn:hover { color: var(--danger); }
.cancel-line { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.cancel-box { margin-top: 14px; padding: 14px; border: 1px solid #f0c8c8; border-radius: 6px; background: #fffafa; display: grid; gap: 10px; font-size: 13px; }
.cancel-box b { color: var(--ink); }
.policy { list-style: none; display: grid; gap: 8px; font-size: 13px; }
.policy li { position: relative; padding-left: 16px; }
.policy li::before { content: ''; position: absolute; left: 3px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.policy b { color: var(--ink); }

/* アーカイブ */
.badge-archive { background: #f1ecfa; color: #5b3b9a; }
.theme-archive { display: block; font-size: 12px; font-weight: 700; color: #5b3b9a; margin-top: 2px; }
.tier-group { margin: 14px 0 6px; font-size: 12px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.tier-group::after { content: ''; flex: 1; height: 1px; background: var(--line-soft); }
.tier.is-archive .tier-name::before { content: '▶ '; color: #5b3b9a; }
.tier.is-archive.is-selected { border-color: #5b3b9a; background: #f7f3fd; box-shadow: inset 0 0 0 1px #5b3b9a; }
.archive-panel { border-color: #cdbdeb; }
.archive-panel .panel-head { background: #f7f3fd; }
.archive-videos { display: grid; gap: 14px; margin-top: 12px; }
.archive-video .ratio { position: relative; padding-top: 56.25%; background: #000; border-radius: 6px; overflow: hidden; }
.archive-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.archive-video .t { font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 6px; }
.archive-pdfs { display: grid; gap: 6px; margin-top: 12px; }
.archive-pdfs a { color: var(--accent); font-weight: 700; text-decoration: underline; font-size: 13px; }

/* 一覧の月見出し */
.month-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin: 18px 0 -6px; font-weight: 700; color: var(--ink); font-size: 17px; }
.month-head:first-child { margin-top: 0; }
.month-head small { font-size: 12px; color: var(--muted); font-weight: 400; }
.month-head::after { content: ''; flex: 1; height: 1px; background: var(--line); transform: translateY(-4px); }

/* 有料会員への案内（アーカイブの販売が終わった回） */
.member-cta { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--accent-soft); border-radius: 8px; background: var(--bg-tint); display: grid; gap: 8px; font-size: 13px; }
.member-cta b { color: var(--ink); font-size: 14px; }
.member-cta p { color: var(--text); line-height: 1.7; }
.member-cta strong { color: var(--accent); }
.member-cta .btn { justify-self: start; }
.theme-member { display: block; font-size: 12px; font-weight: 700; color: var(--accent); text-decoration: underline; margin-top: 2px; }

/* LINEで申し込む */
.btn-line:hover { background: #05b34c; }
.apply-alt { text-align: center; font-size: 13px; color: var(--muted); padding-top: 4px; }
.apply-alt a { color: var(--accent); font-weight: 700; text-decoration: underline; }
.apply-alt span { display: block; font-size: 11px; margin-top: 2px; }

/* 年間パスの案内（seminars.html）・年間パスのページ（pass.html） */
.pass-banner { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px 16px; border: 1px solid var(--accent-soft); border-radius: var(--radius); background: var(--bg-tint); color: var(--text); text-decoration: none; }
.pass-banner:hover { border-color: var(--accent); }
.pass-banner-tag { flex-shrink: 0; font-size: 12px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 4px; padding: 3px 9px; }
.pass-banner-body { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.6; }
.pass-banner-body b:first-child { font-size: 15px; color: var(--ink); }
.pass-banner-go { margin-left: auto; font-size: 22px; color: var(--accent); }
.pass-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.pass-price .now { font-family: var(--num); font-size: 30px; font-weight: 700; color: var(--ink); }
.pass-price .was { color: var(--muted); text-decoration: line-through; }
.pass-price .save { font-size: 13px; font-weight: 700; color: var(--accent); background: var(--bg-tint); border-radius: 4px; padding: 2px 8px; }
.pass-perks { margin: 12px 0; padding-left: 1.2em; }
.pass-perks li { margin: 4px 0; }
.pass-theme { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-top: 10px; background: #fff; }
.pass-theme-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pass-theme-month { font-family: var(--num); font-weight: 700; color: var(--accent); min-width: 2.6em; }
.pass-theme-title { font-weight: 700; color: var(--ink); }
.pass-theme-state { margin-left: auto; font-size: 12px; }
.pass-sessions { display: grid; gap: 6px; margin-top: 8px; }
.pass-session { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border: 1px solid var(--line-soft); border-radius: 6px; background: var(--bg-soft); font-size: 14px; }
.pass-session .when { font-family: var(--num); font-weight: 700; color: var(--ink); }
.pass-session .left { font-size: 12px; color: var(--muted); }
.pass-session .btn { margin-left: auto; padding: 6px 14px; font-size: 13px; }
.pass-session.is-mine { border-color: var(--accent); background: var(--bg-tint); }
.pass-note { font-size: 13px; color: var(--muted); }

.pass-session.is-picked { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 1px var(--accent) inset; }
.pass-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(20, 35, 26, .08); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.pass-bar-in { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.pass-bar-in #pass-go { margin-left: auto; }
body.has-pass-bar { padding-bottom: 80px; }
.pass-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 90px; z-index: 50; width: min(92vw, 560px); box-shadow: var(--shadow); }
.pass-toast .msg { margin: 0; }
.pass-timer { font-family: var(--num); color: var(--danger); font-size: 16px; }

/* 年間パスに含まれるもの（スマホでも一目で。社長 2026-12-06「目立たない・文字が多くて飛ばしてしまう」） */
.perk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
.perk { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 16px 8px 14px; border-radius: 10px; background: var(--bg-tint); border: 1px solid var(--accent-soft); }
.perk-big { font-family: var(--num); font-size: 26px; font-weight: 700; line-height: 1.1; color: var(--accent-dark); }
.perk-big small { font-size: 14px; margin-left: 1px; }
.perk-sub { font-size: 12px; line-height: 1.5; color: var(--text); }
.perk-gift { background: #fff8e6; border-color: #f2d48a; }
.perk-gift .perk-big { color: #9a6400; }
.perk-tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: #fff; background: #d98e00; border-radius: 999px; padding: 1px 10px; }
@media (max-width: 640px) {
  .perk-grid { grid-template-columns: repeat(2, 1fr); }
  .perk-big { font-size: 24px; }
}

.pass-themes-mini { margin: 4px 0 14px; border: 1px solid var(--line-soft); border-radius: 8px; padding: 10px 14px; background: var(--bg-soft); }
.pass-themes-mini summary { cursor: pointer; font-weight: 700; color: var(--accent); font-size: 14px; }
.pass-themes-mini ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
.pass-themes-mini .m { display: inline-block; min-width: 3em; font-family: var(--num); font-weight: 700; color: var(--accent); }
.pass-bar-miss { display: block; font-size: 12px; color: var(--muted); }

/* 年間パス: ご購入ありがとうございます */
.thanks-hero { text-align: center; padding: 26px 8px 8px; }
.thanks-hero .detail-title { margin: 10px 0 6px; }
.thanks-hero p { color: var(--muted); font-size: 14px; }
.thanks-check { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--accent); color: #fff; font-size: 30px; line-height: 56px; font-weight: 700; }

/* 日程・会場を選ぶ: その場で切り替える（ページは移らない） */
.session-pick { cursor: pointer; border-radius: var(--radius); }
.session-pick:hover .session, .session-pick:focus-visible .session { border-color: var(--accent); }
.session-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 年間パスの大きなカード */
.pp { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px 24px; align-items: center; margin: 4px 0 22px; padding: 22px 24px; border-radius: 14px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #146c2e 0%, #1a7f37 55%, #28a745 100%); box-shadow: 0 10px 28px rgba(20, 108, 46, .28); }
.pp:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(20, 108, 46, .34); }
.pp-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #14231a; background: #ffd666; border-radius: 999px; padding: 3px 12px; }
.pp-title { margin: 10px 0 4px; font-size: 26px; font-weight: 700; line-height: 1.3; }
.pp-lead { margin: 0 0 10px; font-size: 14px; opacity: .95; }
.pp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pp-price .now { font-family: var(--num); font-size: 38px; font-weight: 700; line-height: 1; }
.pp-price .was { text-decoration: line-through; opacity: .75; }
.pp-price .save { font-size: 13px; font-weight: 700; color: #14231a; background: #ffd666; border-radius: 4px; padding: 2px 8px; }
.pp-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pp-perks span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px 6px; border-radius: 10px; background: rgba(255, 255, 255, .14); font-size: 12px; text-align: center; }
.pp-perks span b { font-family: var(--num); font-size: 20px; }
.pp-perks span.gift { background: rgba(255, 214, 102, .28); }
.pp-cta { grid-column: 1 / -1; justify-self: stretch; text-align: center; padding: 12px; border-radius: 10px; background: #fff; color: var(--accent-dark); font-weight: 700; font-size: 15px; }
.pp-compact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 16px 18px; margin: 18px 0 0; }
.pp-compact-body { flex: 1 1 260px; font-size: 14px; }
.pp-compact .pp-cta { flex: 0 0 auto; padding: 10px 16px; font-size: 14px; }
@media (max-width: 640px) {
  .pp { grid-template-columns: 1fr; padding: 18px; }
  .pp-title { font-size: 22px; }
  .pp-price .now { font-size: 32px; }
}
