/* =========================================================
   CONSTELLATION テーマ — 詳細ページ(告知/レポート) + index追加バンド
   ベースは styles.css（同フォルダ） を共有。ここは追加スタイルのみ。
   方針: 紙色地(--paper) / near-black(--ink) / Space Mono(英・数字) /
         参加大学6色アクセント / 細い罫線でエディトリアルに。
   共通の詳細クラス(active/detail.css と同名):
     .dt-breadcrumb / .dt-head / .dt-hero / .dt-article / .dt-inner
     / .check-list / .info-table / .timetable / .apply-box / .dt-foot-note
     / .photo-grid / .voice / .dt-related / .proposal-note
   index用の追加: .stat-band(数字で見るGTIE) / .faq-list(FAQ)
   ========================================================= */

/* ---------- パンくず ---------- */
.dt-breadcrumb { font-family: var(--mono); font-weight: 700; font-size: 11.5px; letter-spacing: .04em; color: var(--ink-2); padding-top: 26px; text-transform: uppercase; }
.dt-breadcrumb a { color: var(--ink-2); }
.dt-breadcrumb a:hover { color: var(--c-gtie); }
.dt-breadcrumb .sep { margin: 0 9px; color: var(--ink-3); }

/* ---------- ページヘッド ---------- */
.dt-head { background: var(--paper-2); border-bottom: 1px solid var(--ink); padding-bottom: 36px; }
.dt-head .meta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 20px 0 16px; }
.dt-head h1 { font-family: var(--disp); font-weight: 900; font-size: clamp(26px, 4.6vw, 46px); line-height: 1.32; letter-spacing: -.02em; }
.dt-head .dt-dateline { margin-top: 18px; font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: .03em; color: var(--c-gtie); }
.dt-head .dt-dateline a { color: var(--ink); border-bottom: 1.5px solid var(--c-gtie); }
.dt-head .dt-dateline a:hover { color: var(--c-gtie); }

/* ---------- メインビジュアル(細罫オフセット枠) ---------- */
.dt-hero { position: relative; margin: 40px auto 0; width: min(var(--wrap), 100% - 2 * var(--gut)); }
.dt-hero .frame { overflow: hidden; aspect-ratio: 16/9; position: relative; }
.dt-hero .frame img { width: 100%; height: 100%; object-fit: cover; }
.dt-hero::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--ink); z-index: -1; }
.dt-hero::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 6px; display: block;
  background: linear-gradient(90deg,
    var(--c-waseda) 0 16.66%, var(--c-tsukuba) 16.66% 33.33%, var(--c-chiba) 33.33% 50%,
    var(--c-tuat) 50% 66.66%, var(--c-ynu) 66.66% 83.33%, var(--c-gtie) 83.33% 100%); }

/* ---------- 本文カラム ---------- */
.dt-article { padding: clamp(44px, 6vw, 76px) 0 clamp(56px, 8vw, 96px); }
.dt-inner { width: min(760px, 100% - 2 * var(--gut)); margin: 0 auto; }
.dt-inner > p { font-size: 16px; color: var(--ink-2); margin-bottom: 18px; line-height: 1.95; }
.dt-inner > p strong { color: var(--ink); font-weight: 700; box-shadow: inset 0 -10px 0 color-mix(in srgb, var(--c-gtie) 18%, transparent); }
.dt-inner h2 { font-family: var(--disp); font-weight: 900; font-size: clamp(21px, 3vw, 28px); line-height: 1.5; letter-spacing: -.01em; margin: 50px 0 18px; padding-left: 18px; position: relative; }
.dt-inner h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; background: var(--c-gtie); }
.dt-inner h3 { font-family: var(--disp); font-weight: 700; font-size: 18px; margin: 32px 0 12px; }
.dt-inner a.inline { color: var(--c-gtie); font-weight: 700; border-bottom: 1px solid var(--c-gtie); }

/* ---------- こんな人におすすめ(check-list) ---------- */
.check-list { margin: 10px 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.check-list li { position: relative; padding: 16px 18px 16px 46px; border-bottom: 1px solid var(--hair); font-weight: 500; font-size: 15.5px; }
.check-list li::before { content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 9px; height: 9px; border-radius: 50%; background: var(--c-gtie); }

/* ---------- 開催概要テーブル ---------- */
.info-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14.5px; border-top: 1px solid var(--ink); }
.info-table th, .info-table td { text-align: left; padding: 15px 16px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.info-table th { width: 124px; font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.info-table td { color: var(--ink-2); }
.info-table td strong { color: var(--ink); font-weight: 700; }

/* ---------- タイムテーブル ---------- */
.timetable { margin: 12px 0; padding: 0; border-top: 1px solid var(--ink); }
.timetable li { display: flex; gap: 20px; padding: 15px 4px; border-bottom: 1px solid var(--hair); }
.timetable .t { flex: none; width: 64px; font-family: var(--mono); font-weight: 700; font-size: 15px; color: var(--c-gtie); letter-spacing: .02em; }
.timetable span:last-child { color: var(--ink-2); font-size: 14.5px; }

/* ---------- 申込ボックス(インク地) ---------- */
.apply-box { background: var(--ink-deep); color: var(--paper); padding: clamp(30px, 5vw, 48px); text-align: center; margin-top: 50px; position: relative; overflow: hidden; }
.apply-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg,
    var(--c-waseda) 0 16.66%, var(--c-tsukuba) 16.66% 33.33%, var(--c-chiba) 33.33% 50%,
    var(--c-tuat) 50% 66.66%, var(--c-ynu) 66.66% 83.33%, var(--c-gtie) 83.33% 100%); }
.apply-box h2 { font-family: var(--disp); font-weight: 900; font-size: clamp(21px, 3vw, 28px); margin: 0 0 16px; padding: 0; color: var(--paper); }
.apply-box h2::before { display: none; }
.apply-box .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.apply-box .btn:hover { background: var(--c-gtie); border-color: var(--c-gtie); color: #fff; }
.apply-box p.note { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-top: 16px; line-height: 1.8; letter-spacing: .01em; }

.dt-foot-note { margin-top: 42px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); line-height: 1.9; letter-spacing: .01em; }

/* ---------- レポート: 写真グリッド ---------- */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.photo-grid figure { margin: 0; overflow: hidden; aspect-ratio: 4/3; position: relative; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.photo-grid figure:hover img { transform: scale(1.05); }
.photo-grid figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 5px 10px; }

/* ---------- レポート: 参加者の声 ---------- */
.voice { background: var(--paper-2); border-left: 5px solid var(--c-gtie); padding: 24px 26px; margin: 22px 0; font-weight: 500; font-size: 16px; line-height: 1.85; }
.voice .who { display: block; margin-top: 12px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .03em; color: var(--ink-2); }

/* ---------- 次回イベント/関連 ---------- */
.dt-related { background: var(--paper-2); border: 1px solid var(--ink); padding: clamp(30px, 5vw, 48px); text-align: center; margin-top: 50px; }
.dt-related .sub { font-family: var(--mono); font-weight: 700; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gtie); margin-bottom: 10px; display: block; }
.dt-related h2 { font-family: var(--disp); font-weight: 900; font-size: clamp(20px, 2.8vw, 26px); margin-bottom: 20px; padding: 0; }
.dt-related h2::before { display: none; }

/* ---------- 提案用補足ノート(実サイトには出さない想定) ---------- */
.proposal-note { margin-top: 42px; background: var(--paper-2); border: 1px dashed var(--ink-3); padding: 18px 20px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); line-height: 1.85; letter-spacing: .01em; }
.proposal-note strong { color: var(--ink); font-weight: 700; }

/* =========================================================
   index追加バンド①: 数字で見るGTIE(KPI / Space Monoの大きな数字)
   ========================================================= */
.stat-band { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.stat-band .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-band .s { padding: clamp(34px, 5vw, 56px) 20px; border-left: 1px solid var(--hair); position: relative; }
.stat-band .s:first-child { border-left: none; }
.stat-band .s::before { content: ""; position: absolute; left: -1px; top: 0; width: 0; height: 4px; background: var(--sc, var(--c-gtie)); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.stat-band .s.is-in::before { width: calc(100% + 1px); }
.stat-band .s:nth-child(1) { --sc: var(--c-waseda); } .stat-band .s:nth-child(2) { --sc: var(--c-chiba); }
.stat-band .s:nth-child(3) { --sc: var(--c-tuat); } .stat-band .s:nth-child(4) { --sc: var(--c-gtie); }
.stat-band .n { font-family: var(--mono); font-weight: 700; font-size: clamp(42px, 6vw, 66px); line-height: .95; letter-spacing: -.03em; color: var(--ink); }
.stat-band .n .u { font-size: .38em; letter-spacing: 0; margin-left: 4px; color: var(--ink-2); }
.stat-band .cap { font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: var(--ink-2); margin-top: 14px; line-height: 1.6; }

/* =========================================================
   index追加: 参加する3つの理由(MEET / LEARN / STEP)
   why-points のコンセプトを3カラムカードに発展。番号+英ラベル+6色アクセント。
   ========================================================= */
.sec-why { border-top: 1px solid var(--hair); }
.why3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.why3-card { padding: clamp(30px, 3.4vw, 46px) clamp(22px, 2.4vw, 34px) clamp(34px, 4vw, 52px); border-left: 1px solid var(--hair); position: relative; }
.why3-card:first-child { border-left: none; }
.why3-card::before { content: ""; position: absolute; left: -1px; top: 0; width: 0; height: 4px; background: var(--wc, var(--c-gtie)); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.why3-card.is-in::before { width: calc(100% + 1px); }
.why3-card .w-no { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--ink-3); }
.why3-card .w-en { display: block; font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--wc, var(--c-gtie)); margin-top: 22px; }
.why3-card h3 { font-family: var(--disp); font-weight: 900; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; letter-spacing: -.01em; margin: 12px 0 14px; }
.why3-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }

/* =========================================================
   index追加バンド②: FAQ(細罫リスト・Q/Aモノ記号)
   ========================================================= */
.sec-faq { background: var(--paper-2); }
.faq-list { border-top: 1px solid var(--ink); max-width: 880px; }
.faq-item { padding: 26px 4px; border-bottom: 1px solid var(--hair); }
.faq-item .q, .faq-item .a { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.faq-item .a { margin-top: 14px; }
.faq-item .mk { font-family: var(--mono); font-weight: 700; font-size: 16px; line-height: 1.5; }
.faq-item .q .mk { color: var(--c-gtie); }
.faq-item .a .mk { color: var(--ink-3); }
.faq-item .q > span:last-child { font-family: var(--disp); font-weight: 700; font-size: 18px; line-height: 1.55; letter-spacing: -.01em; }
.faq-item .a > span:last-child { color: var(--ink-2); font-size: 15px; line-height: 1.9; }
.faq-item .a strong { color: var(--ink); font-weight: 700; box-shadow: inset 0 -9px 0 color-mix(in srgb, var(--c-gtie) 16%, transparent); }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 940px) {
  .stat-band .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-band .s:nth-child(3) { border-left: none; }
  .stat-band .s:nth-child(odd) { border-left: none; }
  .why3 { grid-template-columns: 1fr; }
  .why3-card { border-left: none; border-bottom: 1px solid var(--hair); }
  .why3-card:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .photo-grid { grid-template-columns: 1fr; }
  .info-table th { width: 96px; padding: 13px 12px; }
  .info-table td { padding: 13px 12px; }
  .stat-band .stat-grid { grid-template-columns: 1fr 1fr; }
  .faq-item .q, .faq-item .a { grid-template-columns: 26px 1fr; gap: 10px; }
}

/* JS無効フォールバック: スクロールで伸びる上端アクセント罫を、スクリプトが無い時は最初から表示 */
html:not(.js) .stat-band .s::before, html:not(.js) .why3-card::before { width: calc(100% + 1px); }

/* =========================================================
   モーション抑制(ベースCSSに追従)
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .stat-band .s::before, .why3-card::before { width: calc(100% + 1px) !important; transition: none !important; }
}
