/* ═══════════════════════════════════════════
   events.css — 2イベント構成（東京／大阪）向け追加スタイル
   style.css の後に読む。色・フォントは style.css の意匠を継承。
   ═══════════════════════════════════════════ */

:root {
    --ev-red: #8b0000;
    --ev-red-light: #b22222;
    --ev-brown: #5d4037;
    --ev-brown-light: #8b4513;
    --ev-ink: #2c1810;
    --ev-line: rgba(178,34,34,0.2);
}

/* ── イベント切替タブ（sticky nav の直下・nav 内に置く） ── */
.event-switch {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem 0.6rem;
    border-top: 1px solid var(--ev-line);
    background: rgba(255,255,255,0.97);
}
.es-tab {
    flex: 0 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1em;
    padding: 0.45rem 1.2rem;
    color: var(--ev-red);
    background: #fff;
    border: 2px solid var(--ev-red);
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Noto Serif JP', serif;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}
.es-tab:hover { background: rgba(178,34,34,0.06); }
.es-name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
}
.es-sub {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    opacity: 0.9;
    line-height: 1.3;
}
/* 現在ページ＝深紅地・白文字 */
.es-tab.is-active,
.es-tab.is-active:hover {
    background: linear-gradient(135deg, var(--ev-red-light), var(--ev-red));
    color: #fff;
    border-color: var(--ev-red);
}

/* ── ページ内セクションメニュー（切替タブの直下・sticky nav 内） ── */
.section-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 0.4rem;
    padding: 0.35rem 1rem 0.55rem;
    background: rgba(255,255,255,0.97);
}
.sn-link {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    color: var(--ev-red);
    font-family: 'Noto Serif JP', serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}
.sn-link:hover { border-bottom-color: var(--ev-red); background: rgba(178,34,34,0.05); }
/* 固定ヘッダーの高さ分だけ飛び先をずらす（高さは site.js が --nav-h に入れる） */
section[id] { scroll-margin-top: calc(var(--nav-h, 200px) + 12px); }
html { scroll-behavior: smooth; }

/* ── 総合トップ（振り分け専用）：移動案内と2リンク ── */
.portal-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: center;
}
.portal-lead {
    font-size: 1.1rem;
    color: var(--ev-brown);
}
.portal-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}
.portal-links .general-btn {
    margin-top: 0;
    min-width: 260px;
    font-size: 1.15rem;
    padding: 1.1rem 2.5rem;
}

/* ── 告知ビジュアル未着のプレースホルダ（比率 1200×1854） ── */
.visual-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    aspect-ratio: 1200 / 1854;
    border: 2px dashed rgba(178,34,34,0.4);
    background:
        radial-gradient(circle at 50% 40%, rgba(255,255,255,0.9) 0%, rgba(255,228,235,0.7) 60%, rgba(250,218,221,0.9) 100%),
        repeating-linear-gradient(135deg, rgba(178,34,34,0.05) 0 12px, transparent 12px 24px);
    color: var(--ev-brown-light);
    text-align: center;
    padding: 1.5rem;
    cursor: default;
}
.placeholder-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.8;
}
.placeholder-sub {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    opacity: 0.7;
}
/* ヒーロー位置のプレースホルダ（東京ヒーローと同じ最大幅 700px は .hero-image 側） */
.hero-placeholder {
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(139,0,0,0.15);
}

/* ── 大阪ページ：開催概要（定義リスト2列） ── */
.about-dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.7rem 1.6rem;
    max-width: 640px;
    margin: 1.5rem auto 0;
    text-align: left;
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--ev-line);
    border-radius: 16px;
    padding: 1.6rem 2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.about-dl dt {
    font-weight: 700;
    color: var(--ev-red);
    white-space: nowrap;
}
.about-dl dd {
    margin: 0;
    color: var(--ev-ink);
}

/* ── 大阪ページ：サークル参加2ステップ ── */
.steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    max-width: 720px;
    margin: 1.5rem auto 0;
    text-align: left;
}
.step {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--ev-line);
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.step-num {
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--ev-red-light), var(--ev-red));
    box-shadow: 0 4px 12px rgba(139,0,0,0.3);
}
.step-body { flex: 1; min-width: 0; }
.step-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ev-red);
    margin-bottom: 0.5rem;
}
.step-body p {
    color: var(--ev-brown);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.step-body p strong { color: var(--ev-red); }
.step-body .general-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 0.7rem 1.6rem;
    font-size: 0.95rem;
}

/* ── 大阪ページ：申込カード内のサークル参加バナー ── */
.step-body .circle-banner-link { display: block; margin: 0 auto; }
.step-body .credit-text { font-size: 0.72rem; margin-bottom: 0; }

/* ── 大阪ページ：フッター各種リンク（style.css の .official-link と同意匠） ── */
.aoboo-link, .comitre-link {
    color: #8b4513;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}
.aoboo-link:hover, .comitre-link:hover {
    color: #b22222;
    text-shadow: 0 0 10px rgba(178,34,34,0.5);
}

/* ── メディアクエリ ── */
@media (max-width: 768px) {
    .es-tab { flex: 1 1 0; padding: 0.4rem 0.5rem; }
    .es-name { font-size: 0.95rem; }
    .es-sub { font-size: 0.68rem; }
    .section-nav { gap: 0 0.1rem; padding: 0.25rem 0.4rem 0.45rem; }
    .sn-link { font-size: 0.82rem; padding: 0.2rem 0.55rem; letter-spacing: 0.02em; }
    .aoboo-link, .comitre-link { font-size: 1rem; display: block; margin: 0.5rem 0; }
    .about-dl { grid-template-columns: 1fr; gap: 0.2rem 0; padding: 1.2rem 1.4rem; }
    .about-dl dt { margin-top: 0.6rem; }
    .about-dl dt:first-child { margin-top: 0; }
    .step { flex-direction: column; gap: 0.8rem; padding: 1.2rem 1.2rem; }
}
@media (max-width: 600px) {
    .portal-links { flex-direction: column; }
    .portal-links .general-btn { min-width: 0; }
    .placeholder-text { font-size: 0.9rem; }
    .step-body .general-btn { width: auto; text-align: center; }
}
