/* ==========================================================================
   🎨 クローバル設定 & 変数定義
   ========================================================================== */
:root {
    --navy-dark: #0a1128;
    --gold-bright: #d4af37;
    --gold-dark: #aa7c11;
    --white: #ffffff;
    --ivory: #fffdf6;
    --gray-bg: #f7f4ee;
    --text-color: #333333;
    --text-muted: #777777;
    --text-faint: #999999;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Serif JP', serif;
    background-color: var(--ivory);
    color: var(--text-color);
    line-height: 1.8;
}

/* PC幅では非表示、スマホ幅でのみ改行させる用 */
.br-sp {
    display: none;
}

/* ==========================================================================
   👑 オープニング演出（黒背景 × ゴールドの文字がボヤっと浮かび上がって消える）
   ========================================================================== */
.intro-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 1s ease;
}

.intro-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(14px, 3vw, 26px);
}

.intro-overlay .intro-logo {
    height: clamp(160px, 32vw, 380px);
    width: auto;
    object-fit: contain;
    filter: blur(18px) drop-shadow(0 0 35px rgba(212, 175, 55, 0.6));
    opacity: 0;
    transform: scale(0.9);
    transition: filter 1.3s ease, opacity 1.3s ease, transform 1.3s ease;
}

.intro-overlay.intro-in .intro-logo {
    filter: blur(0) drop-shadow(0 0 35px rgba(212, 175, 55, 0.6));
    opacity: 1;
    transform: scale(1);
}

.intro-overlay.intro-out {
    opacity: 0;
}

.intro-overlay.intro-out .intro-logo {
    filter: blur(24px) drop-shadow(0 0 35px rgba(212, 175, 55, 0.6));
    opacity: 0;
    transform: scale(1.08);
}

.intro-overlay.intro-done {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .intro-overlay {
        display: none;
    }
}

/* 👑 ページ間遷移時：オープニング演出を素早いバージョンで再利用するための上書き */
.intro-overlay.intro-quick,
.intro-overlay.intro-quick .intro-logo {
    transition-duration: 0.45s !important;
}

/* 共通コンテナ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 共通セクションタイトル */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    color: var(--navy-dark);
    margin-bottom: 40px;
    letter-spacing: 0.2em;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background-color: var(--gold-bright);
    margin: 15px auto 0;
}

/* 共通ボタン */
.center-btn {
    text-align: center;
    margin-top: 30px;
}

.btn-action {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-dark) 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    padding: 12px 35px;
    border-radius: 0;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-action-secondary {
    display: inline-block;
    border: 1px solid var(--navy-dark);
    color: var(--navy-dark);
    text-decoration: none;
    font-weight: bold;
    padding: 11px 30px;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
}

.btn-action-secondary:hover {
    background-color: var(--navy-dark);
    color: var(--white);
}

/* ==========================================================================
   👑 各セクションのデザイン
   ========================================================================== */

/* HERO SECTION */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-color: var(--navy-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle, rgba(10,17,40,0.6) 0%, rgba(10,17,40,0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-sub {
    font-size: 1.5rem;
    letter-spacing: 0.4em;
    color: var(--gold-bright);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.5;
    margin-bottom: 30px;
}

.gold-line {
    width: 80px;
    height: 1px;
    background-color: var(--gold-bright);
    margin: 0 auto 45px;
}

.btn-gold {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    border: 1px solid var(--gold-bright);
    padding: 15px 45px;
    font-weight: bold;
    letter-spacing: 0.2em;
    transition: all 0.4s ease;
    background: transparent;
    outline: 1px solid rgba(212,175,55,0.2);
    outline-offset: -8px;
}

.btn-gold:hover {
    background-color: var(--gold-bright);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* NAVIGATION (PC基準)：半透明＋ぼかし（ハンバーガーメニューのbackdrop-filterと同じ質感に統一） */
.navbar {
    background-color: rgba(10, 17, 40, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(212,175,55,0.2);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.nav-logo {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-family: 'Noto Serif JP', serif;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* リンクの見た目そのもの（ハンバーガーメニュー内で使用） */
.nav-links {
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-links a:hover {
    color: var(--gold-bright);
}

/* 右側の操作エリア（SNSアイコン＋ハンバーガー） */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* 枠なし・素のアイコンとして表示するSNSリンク（公式LINE / Instagram） */
.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-icon-btn:hover {
    color: var(--gold-bright);
    transform: translateY(-1px);
}

/* ハンバーガーボタン（枠なし・アイコンのみ） */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.hamburger-btn:hover {
    opacity: 0.7;
}

.hamburger-btn:hover .hamburger-line {
    background: var(--gold-bright);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   👑 ハンバーガーメニュー：全画面オーバーレイ（黒い靄＋ぼかしで重厚感を演出）
   ========================================================================== */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 132px 20px 60px;
    background:
        radial-gradient(circle at 18% 12%, rgba(212, 175, 55, 0.07) 0%, rgba(212, 175, 55, 0) 45%),
        radial-gradient(circle at 85% 88%, rgba(212, 175, 55, 0.06) 0%, rgba(212, 175, 55, 0) 50%),
        rgba(5, 8, 20, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.nav-overlay-close {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 501;
    transition: all 0.3s ease;
}

.nav-overlay-close:hover {
    border-color: var(--gold-bright);
    color: var(--gold-bright);
    background: rgba(212, 175, 55, 0.12);
}

.nav-overlay-inner {
    width: 100%;
    max-width: 460px;
    text-align: center;
}

.nav-group {
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.nav-overlay.open .nav-group:nth-of-type(1) { transition-delay: 0.08s; }
.nav-overlay.open .nav-group:nth-of-type(2) { transition-delay: 0.16s; }
.nav-overlay.open .nav-group:nth-of-type(3) { transition-delay: 0.24s; }

.nav-overlay.open .nav-group {
    opacity: 1;
    transform: translateY(0);
}

.nav-group-title {
    color: var(--gold-bright);
    font-size: 0.72rem;
    font-weight: bold;
    letter-spacing: 0.35em;
    margin-bottom: 16px;
}

.nav-group-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--gold-bright);
    opacity: 0.6;
    margin: 12px auto 0;
}

.nav-overlay .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.nav-overlay .nav-links a {
    display: inline-block;
    padding: 9px 0;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

/* 言語切り替えトグル（✕ボタンの隣に設置、同一サイズ） */
.nav-lang-toggle {
    position: fixed;
    top: 20px;
    right: 78px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--white);
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 501;
    transition: all 0.3s ease;
}

.nav-lang-toggle:hover,
.nav-lang-toggle.active {
    border-color: var(--gold-bright);
    color: var(--gold-bright);
    background: rgba(212, 175, 55, 0.12);
}

/* 言語切り替えドロップダウン（✕ボタン・トグルと同じ上質なトーンで展開） */
.nav-lang-dropdown {
    position: fixed;
    top: 74px;
    right: 24px;
    z-index: 501;
    min-width: 172px;
    background: rgba(8, 12, 26, 0.97);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.nav-lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-lang-dropdown .lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-align: left;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-lang-dropdown .lang-option .lang-flag {
    font-size: 1.15rem;
    line-height: 1;
}

.nav-lang-dropdown .lang-option:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-bright);
}

.nav-lang-dropdown .lang-option.selected {
    color: var(--gold-bright);
    background: rgba(212, 175, 55, 0.1);
}

/* オーバーレイ表示中は背後のスクロールを止める */
.nav-overlay-lock {
    overflow: hidden !important;
    height: 100% !important;
}

@media (prefers-reduced-motion: reduce) {
    .nav-overlay,
    .nav-group,
    .nav-lang-dropdown,
    .btn-action,
    .btn-action-secondary,
    .btn-gold,
    .btn-submit,
    .sns-emblem,
    .sns-emblem i,
    .faq-line-cta,
    .vol3-progress-fill {
        transition: none !important;
    }
    .live-dot,
    .faq-line-cta {
        animation: none !important;
    }
}

/* CONCEPT SECTION */
.section-concept {
    padding: 100px 0;
    background-color: var(--gray-bg);
    text-align: center;
    background: linear-gradient(180deg, var(--gray-bg) 0%, var(--ivory) 100%);
}

.concept-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 25px;
}

.concept-text {
    font-size: 1.3rem;
    color: var(--navy-dark);
    line-height: 2.2;
    letter-spacing: 0.05em;
    text-align: center;
}

/* 額縁フレームデザイン */
.section {
    padding: 80px 0;
    scroll-margin-top: var(--navbar-height, 110px);
}

.luxury-frame {
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 40px;
    background-color: var(--ivory);
    position: relative;
    box-shadow: 0 10px 30px rgba(10,17,40,0.02);
}

.luxury-frame::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    pointer-events: none;
}

/* SCHEDULE (アコーディオン) */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: 1px solid rgba(10, 17, 40, 0.1);
    background-color: var(--ivory);
}

.accordion-header {
    background-color: var(--gray-bg);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #eaeef3;
}

.vol-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--navy-dark);
    letter-spacing: 0.05em;
}

.badge {
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge.completed {
    background-color: #e0e0e0;
    color: #666666;
}

.badge.entry-now {
    background-color: #e6f4ea;
    color: #137333;
    border: 1px solid rgba(19, 115, 51, 0.2);
}

.badge.coming-soon {
    background-color: #eaf1fb;
    color: #1a56a0;
    border: 1px solid rgba(26, 86, 160, 0.2);
}

.badge.failed {
    background-color: #fbeaea;
    color: #a01a1a;
    border: 1px solid rgba(160, 26, 26, 0.2);
}

.badge.waitlist {
    background-color: #fdf1e3;
    color: #b3660f;
    border: 1px solid rgba(179, 102, 15, 0.25);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: var(--ivory);
}

.accordion-content-inner {
    padding: 30px 25px;
    border-top: 1px solid rgba(10, 17, 40, 0.05);
}

.vol3-count-wrap {
    text-align: center;
    margin-top: 16px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(160, 26, 26, 0.06);
    border: 1px solid rgba(160, 26, 26, 0.25);
    color: #a01a1a;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 0.15em;
    padding: 4px 12px 4px 9px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #e02424;
    animation: liveDotPulse 1.6s ease-out infinite;
}

@keyframes liveDotPulse {
    0% { box-shadow: 0 0 0 0 rgba(224, 36, 36, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(224, 36, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 36, 36, 0); }
}

.vol3-count {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--text-color);
}

.vol3-count #vol3TeamCount {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--gold-dark);
    margin: 0 2px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.vol3-progress {
    max-width: 260px;
    height: 8px;
    margin: 14px auto 0;
    background-color: rgba(10, 17, 40, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.vol3-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright));
    border-radius: 20px;
    transition: width 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* スケジュールテーブル */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.schedule-table th, .schedule-table td {
    padding: 15px 0;
    border-bottom: 1px solid rgba(10, 17, 40, 0.05);
    text-align: left;
}

.schedule-table th {
    width: 140px;
    color: var(--gold-dark);
    font-weight: bold;
    vertical-align: top;
}

.schedule-table td {
    color: var(--text-color);
}

/* RULES SECTION */
.rules-block {
    padding: 20px 0;
}

.sub-title {
    font-size: 1.4rem;
    color: var(--navy-dark);
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 0.1em;
}

.points-list {
    list-style: none;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.points-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px dotted rgba(10, 17, 40, 0.15);
}

.condition {
    font-weight: bold;
}

.points-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-dark);
}

.points-value .unit {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-left: 2px;
}

.rules-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212,175,55,0.4), transparent);
    margin: 40px 0;
}

.warning-list {
    list-style: none;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.warning-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.warning-bullet {
    color: var(--gold-bright);
    font-size: 0.8rem;
    margin-top: 2px;
}

/* TERMS SECTION */
.terms-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 15px;
}

/* スクロールバーのカスタム装飾 */
.terms-container::-webkit-scrollbar {
    width: 6px;
}
.terms-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.terms-container::-webkit-scrollbar-thumb {
    background: var(--gold-bright);
}

.terms-item h3 {
    font-size: 1.05rem;
    color: var(--navy-dark);
    margin-bottom: 10px;
    border-left: 3px solid var(--gold-bright);
    padding-left: 10px;
    text-align: center;
}

.terms-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding-left: 13px;
    margin-bottom: 5px;
    text-align: center;
    white-space: pre-line;
}

.alert-text {
    color: #c62828 !important;
    font-weight: bold;
}

/* CONTACT SECTION */
.contact-lead {
    text-align: center;
    margin-bottom: 35px;
    color: var(--navy-dark);
    font-weight: bold;
}

.contact-terms-notice {
    max-width: 600px;
    margin: 0 auto 35px;
    padding: 16px 20px;
    background-color: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--navy-dark);
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.8;
}

.contact-terms-notice a {
    color: var(--gold-dark);
    font-weight: bold;
    text-decoration: underline;
}

.contact-form {
    max-width: 650px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

/* 選択内容に応じて表示される補足説明（例：LINE追加状況のQRコード案内） */
.form-hint {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    line-height: 1.6;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.form-hint.show {
    max-height: 60px;
    opacity: 1;
    margin-top: 10px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--navy-dark);
    font-size: 0.95rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(10, 17, 40, 0.15);
    background-color: var(--gray-bg);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* 成功画面のLINE誘導ボックス：目立たせる */
.line-guide-box {
    margin-top: 35px;
    padding: 30px 25px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.04) 100%);
    border: 2px solid var(--gold-bright);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.line-guide-box p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.line-guide-btn {
    font-size: 1.05rem;
    padding: 16px 40px !important;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold-bright);
    background-color: var(--ivory);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.btn-submit {
    background-color: var(--navy-dark);
    color: var(--white);
    border: 1px solid var(--navy-dark);
    padding: 14px 60px;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--white);
    color: var(--navy-dark);
}

/* INFORMATION SECTION（枠なし・中央ぞろえ） */
.info-list {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.info-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.info-label {
    color: var(--gold-dark);
    font-weight: bold;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

.info-value {
    color: var(--navy-dark);
    font-size: 1.05rem;
}

/* FOOTER */
.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(212,175,55,0.15);
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-bright);
}

.footer {
    position: relative;
    background: linear-gradient(180deg, var(--navy-dark) 0%, #050813 100%);
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 65px 20px 45px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border-top: 1px solid rgba(212,175,55,0.12);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.footer-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.14) 0%, rgba(212, 175, 55, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-brand > * {
    position: relative;
    z-index: 1;
}

.footer-logo {
    height: 180px;
    width: auto;
    max-width: 80%;
    object-fit: contain;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.25));
}

.footer-org {
    color: var(--gold-bright);
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.2em;
}

.footer-legal-link {
    text-align: center;
    margin-top: 10px;
}

.footer-legal-link a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 10px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-legal-link a:hover {
    color: rgba(255, 255, 255, 0.6);
}


/* ==========================================================================
   📱 【大注目】スマホ・タブレット用レスポンシブ設定（画面幅1024px以下）
   ========================================================================== */
@media screen and (max-width: 1024px) {
    html {
        font-size: 13px; /* 全体の文字ベースサイズを少し小さくしてスマホに最適化 */
    }

    /* 任意の位置で改行したい箇所に使う（PCでは非表示） */
    .br-sp {
        display: inline;
    }

    /* セクションの余白をタイトに */
    .section {
        padding: 50px 0;
    }
    .luxury-frame {
        padding: 20px 15px; /* 外枠の余白を狭めて画面幅を有効活用 */
    }
    .plan-card,
    .plan-card-gold {
        padding: 24px 20px;
    }
    .plan-badge {
        left: 20px;
    }
    .section-concept {
        padding: 60px 0;
    }

    /* 1. HERO SECTIONの調整 */
    .hero {
        height: 50vh; /* Hero.mp4の元の横幅比に近づけ、縦に間延び・過度なクロップしないよう調整 */
        min-height: 340px;
    }
    .hero-title {
        font-size: 2.0rem; /* 文字がはみ出さないサイズに縮小 */
        line-height: 1.4;
    }
    .hero-sub {
        font-size: 1.2rem;
    }

    /* 2. ナビゲーションバー（ロゴ＋公式LINEボタン＋ハンバーガーの横一列）をスマホ用に調整 */
    .nav-container {
        padding: 10px 14px !important;
    }
    .nav-logo img {
        height: 48px !important; /* スマホ用にロゴ画像を少し縮小 */
    }
    .nav-logo span {
        font-size: 1.05rem !important;
    }
    .nav-actions {
        gap: 14px;
    }
    .nav-icon-btn {
        font-size: 1.15rem;
    }
    .nav-overlay {
        padding: 106px 20px 50px;
    }
    .nav-overlay .nav-links a {
        font-size: 1.05rem;
    }

    /* 3. 各種テーブル（SCHEDULE / INFORMATION）のスマホ最適化 */
    .schedule-table th, .schedule-table td {
        display: block; /* 横並びから縦並びに変更 */
        width: 100% !important;
        padding: 5px 0;
        border-bottom: none;
    }
    .schedule-table th {
        color: var(--gold-dark);
        padding-top: 15px;
    }
    .schedule-table tr {
        border-bottom: 1px solid rgba(10, 17, 40, 0.08);
        display: block;
        padding-bottom: 10px;
    }

    .info-list {
        gap: 26px;
    }

    /* 4. 利用規約（TERMS）の高さ調整 */
    .terms-container {
        max-height: 500px; /* スマホで見やすい高さに微調整 */
    }

    /* 5. ボタン文字の折り返し崩れ対策（長い文言でも1行に収まるよう調整） */
    .btn-action, .btn-action-secondary {
        padding: 12px 18px;
        font-size: 0.85rem;
        letter-spacing: 0.03em;
        white-space: nowrap;
        max-width: 100%;
    }
    .btn-gold {
        padding: 14px 30px;
        letter-spacing: 0.1em;
    }
    .btn-submit {
        padding: 14px 40px;
        letter-spacing: 0.05em;
    }

    /* 6. SNSアイコンがはみ出さないよう縮小 */
    .sns-emblem {
        width: 100px !important;
        height: 100px !important;
    }
    .sns-emblem i {
        font-size: 3rem !important;
    }

    /* 7. フッターロゴをスマホ幅に合わせて縮小 */
    .footer-logo {
        height: 110px;
    }
}

/* ==========================================================================
   👑 ENTRY セクション：募集中の大会カード（横長・レスポンシブ対応）
   ========================================================================== */
.entry-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border: 1px solid rgba(10, 17, 40, 0.15);
    border-radius: 0;
    padding: 18px 24px;
    margin-bottom: 16px;
    background: var(--ivory);
    text-align: left;
}

.entry-card-info {
    flex: 1 1 260px;
    min-width: 0;
}

.entry-card-date {
    margin: 0;
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.entry-card-title {
    margin: 4px 0 0;
    color: var(--navy-dark);
    font-size: 1.15rem;
    font-weight: 700;
}

.entry-card-venue {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.entry-card-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.entry-card-remaining {
    margin: 0;
    text-align: right;
}

.entry-card-remaining .num {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--gold-dark);
}

.entry-card-remaining .num.full {
    color: #c0392b;
}

.entry-card-remaining .unit {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-faint);
}

.entry-card-actions .btn-action {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .entry-card {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 16px;
    }
    .entry-card-info {
        /* flex-basis は横並び時の幅の基準値。縦積みになると高さの基準として
           扱われてしまい無駄な余白ができるため、縦積み時はリセットする */
        flex: none;
    }
    .entry-card-actions {
        align-items: center;
        width: 100%;
    }
    .entry-card-remaining {
        text-align: center;
    }
}

/* ==========================================================================
   👑 STAFF / SPONSOR ページ共通：見出し・項目にアイコンを添える汎用クラス
   ========================================================================== */

/* 見出し（h2など）の文字サイズと揃えたアイコンを横に並べる */
.icon-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.icon-title i {
    color: var(--gold-dark);
    font-size: 1em;
}

/* 項目（メリット・特徴など）ごとにアイコンを添えて並べるリスト */
.icon-list {
    list-style: none;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background-color: var(--gray-bg);
    border-left: 3px solid var(--gold-bright);
}

.icon-list li i {
    color: var(--gold-dark);
    font-size: 1.3em;
    flex-shrink: 0;
    width: 1.3em;
    text-align: center;
}

.icon-list li span {
    font-weight: bold;
    color: var(--navy-dark);
}

/* 協賛プラン一覧（ブロンズ・シルバー・ゴールド） */
.sponsor-plans {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 10px;
}

.plan-card {
    position: relative;
    width: 100%;
    background-color: var(--ivory);
    border: 1px solid rgba(10, 17, 40, 0.1);
    border-top: 4px solid var(--tier-color, var(--gold-bright));
    padding: 32px 36px;
}

.plan-card-bronze {
    --tier-color: #b08d57;
    --tier-color-dark: #8a6d40;
}

.plan-card-silver {
    --tier-color: #9aa5b1;
    --tier-color-dark: #707a86;
}

.plan-card-gold {
    --tier-color: var(--gold-bright);
    --tier-color-dark: var(--gold-dark);
    border-top-width: 6px;
    padding: 40px 36px 36px;
    background: linear-gradient(160deg, var(--ivory) 0%, #f6e4b8 150%);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 14px 38px rgba(212, 175, 55, 0.22);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 36px;
    background-color: var(--gold-bright);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    padding: 5px 16px;
    box-shadow: 0 4px 10px rgba(10, 17, 40, 0.2);
}

.plan-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 24px;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(10, 17, 40, 0.1);
}

.plan-name-en {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--tier-color-dark, var(--navy-dark));
    line-height: 1.25;
}

.plan-name-ja {
    display: block;
    font-size: 0.85rem;
    font-weight: normal;
    letter-spacing: 0.05em;
    color: var(--text-color);
    margin-top: 4px;
}

.plan-price {
    font-size: 1.9rem;
    font-weight: bold;
    color: var(--navy-dark);
    white-space: nowrap;
}

.plan-price .unit {
    font-size: 0.85rem;
    font-weight: normal;
    color: var(--text-color);
    margin: 0 2px;
}

.plan-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plan-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.7;
}

.plan-list li i {
    flex-shrink: 0;
    width: 1.1em;
    font-size: 1em;
    text-align: center;
    color: var(--tier-color-dark, var(--gold-dark));
    margin-top: 0.35em;
}

.plan-list li span {
    color: var(--navy-dark);
}

/* ENTRYセクション：大会参加までの流れ（白背景×ゴールド文字のステップタイムライン） */
.entry-steps {
    background-color: transparent;
    border-top: 1px dashed rgba(10, 17, 40, 0.15);
    padding: 30px 0 10px;
    margin-bottom: 0;
    position: relative;
}

.entry-steps-eyebrow {
    text-align: center;
    color: var(--gold-bright);
    font-size: 0.78rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.steps-timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 28px;
    bottom: 28px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0), rgba(212, 175, 55, 0.45) 8%, rgba(212, 175, 55, 0.45) 92%, rgba(212, 175, 55, 0));
    transform: translateX(-50%);
}

.step-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    column-gap: 28px;
    padding-bottom: 48px;
}

.step-item:last-child {
    padding-bottom: 0;
}

.step-marker {
    grid-column: 2;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--gold-bright);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.step-marker i {
    color: var(--gold-dark);
    font-size: 1.15rem;
    line-height: 1;
}

.step-num {
    color: var(--gold-dark);
    font-size: 0.62rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    margin-top: 3px;
}

.step-content {
    grid-column: 3;
    text-align: left;
    padding-top: 4px;
}

.step-item:nth-child(even) .step-content {
    grid-column: 1;
    text-align: right;
}

.step-title {
    color: var(--navy-dark);
    font-weight: bold;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.step-desc {
    color: var(--text-color);
    font-size: 0.88rem;
    line-height: 1.8;
}

/* .btn-action と組み合わせて使う修飾クラス（.line-guide-btn と同じ合成パターン） */
.step-line-btn {
    margin-top: 16px;
    color: var(--navy-dark);
    font-size: 0.85rem;
    padding: 10px 26px;
    letter-spacing: 0.08em;
}

.step-line-btn i {
    margin-right: 6px;
}

@media screen and (max-width: 700px) {
    .entry-steps {
        padding: 24px 0 6px;
    }
    .steps-timeline::before {
        left: 27px;
        transform: none;
    }
    .step-item,
    .step-item:nth-child(even) {
        grid-template-columns: 56px 1fr;
        column-gap: 18px;
        padding-bottom: 36px;
    }
    .step-marker,
    .step-item:nth-child(even) .step-marker {
        grid-column: 1;
    }
    .step-content,
    .step-item:nth-child(even) .step-content {
        grid-column: 2;
        text-align: left;
        padding-top: 6px;
    }
}