/* Base Variables and Reset */
:root {
    /* Orange color palette with varying tones */
    --orange-primary: #FF7F00;
    --orange-light: #FFA64D;
    --orange-dark: #E66400;
    --orange-accent: #FFAA33;
    --orange-muted: #D4713F;

    /* White and neutrals */
    --white: #FFFFFF;
    --off-white: #F9F9F9;
    --light-gray: #EFEFEF;

    /* Font families */
    --font-primary: 'Montserrat', 'Noto Sans JP', sans-serif;
    --font-heading: 'Montserrat', 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background: var(--white);
    overflow-x: hidden;
}



/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background-color: rgba(246, 84, 3, 0.8);
    backdrop-filter: blur(5px);
}

header.scrolled {
    background-color: rgba(230, 100, 0, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-left: 18px;
}

.logo:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.logo img {
    height: 48px;
    width: auto;
}

/* ヘッダー関連のスタイルはgfest_2025.v4.cssに委譲 */

/* Attention Page Styles */
.attention-page {
    background-color: var(--white);
    padding-top: 80px; /* Account for fixed header */
}

.attention-hero {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    opacity: 0.9;
}

.attention-notice {
    font-size: 18px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    border-radius: 8px;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Back to Home Button Styles */
.back-to-home {
    text-align: center;
    margin-top: 40px;
}

.back-to-home-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.back-to-home-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

.back-to-home-button i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.back-to-home-button:hover i {
    transform: translateX(-3px);
}

/* Navigation */
.attention-nav {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.nav-list li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-list li a:hover {
    background: var(--orange-primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Content Sections */
.attention-section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.attention-section:last-of-type {
    border-bottom: none;
}

.attention-section .section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--orange-primary);
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--orange-primary);
    display: inline-block;
}

.attention-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attention-list li {
    margin-bottom: 20px;
    padding: 20px 20px 20px 40px;
    background: #fafafa;
    border-radius: 8px;
    border-left: 4px solid var(--orange-primary);
    line-height: 1.7;
    position: relative;
    color: #000000;
    list-style: none;
}

.attention-list li:before {
    content: "●";
    color: var(--orange-primary);
    font-weight: bold;
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 14px;
}

.attention-list li.red-text {
    color: #FF0000;
    font-weight: 700;
}

/* FAQ Styles */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background: var(--orange-primary);
    color: var(--white);
    padding: 20px 25px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
}

.faq-answer {
    padding: 25px;
    background: var(--white);
    line-height: 1.7;
    font-size: 15px;
    color: #333;
}

/* Bottom Back to Home Section */
.bottom-back-section {
    padding: 60px 0;
    background: var(--white);
    text-align: center;
}

.bottom-back-to-home {
    max-width: 400px;
    margin: 0 auto;
}

.bottom-back-to-home-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    color: var(--white);
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 127, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.bottom-back-to-home-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.bottom-back-to-home-button:hover::before {
    left: 100%;
}

.bottom-back-to-home-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 127, 0, 0.4);
    color: var(--white);
}

.bottom-back-to-home-button i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.bottom-back-to-home-button:hover i {
    transform: scale(1.2);
}

/* Footer Styles */
footer {
    background: linear-gradient(180deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    padding: 40px 20px;
    text-align: center;
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-credits {
    max-width: 700px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.6;
}

.footer-credits p {
    margin-bottom: 16px;
}

.footer-credits strong {
    font-weight: 700;
    font-size: 16px;
    display: block;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* モバイルレスポンシブは gfest_2025.v4.css に委譲 */
@media (max-width: 768px) {

    .page-title {
        font-size: 48px;
    }

    .page-subtitle {
        font-size: 24px;
    }

    .attention-notice {
        font-size: 16px;
        padding: 12px 20px;
        margin: 0 20px;
    }

    .nav-list {
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 20px;
    }

    .nav-list li a {
        font-size: 14px;
        padding: 8px 15px;
    }

    .attention-section {
        padding: 60px 0;
    }

    .attention-section .section-title {
        font-size: 24px;
    }

    .attention-list li {
        padding: 15px 15px 15px 30px;
        margin-bottom: 15px;
        font-size: 14px;
        line-height: 1.6;
    }

    .attention-list li:before {
        left: 8px;
        top: 15px;
        font-size: 12px;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 20px;
        font-size: 14px;
    }

    .back-to-home-button {
        padding: 12px 25px;
        font-size: 14px;
        gap: 8px;
    }

    .bottom-back-section {
        padding: 40px 0;
    }

    .bottom-back-to-home-button {
        padding: 16px 30px;
        font-size: 16px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 42px;
    }

    .back-to-home {
        margin-top: 30px;
    }

    .back-to-home-button {
        padding: 10px 20px;
        font-size: 13px;
        white-space: nowrap;
    }

    .bottom-back-to-home-button {
        padding: 14px 25px;
        font-size: 15px;
        gap: 10px;
    }

    .footer-credits p {
        white-space: nowrap;
        font-size: 11px;
        letter-spacing: -0.2px;
        line-height: 1.2;
        text-align: center;
        transform: scale(0.95);
        margin-bottom: 12px;
    }

    /* 後援情報だけは改行を許可 */
    .footer-credits .sponsor-list {
        white-space: normal;
        word-break: keep-all;
        line-height: 1.4;
        overflow-wrap: break-word;
    }

    .footer-credits strong {
        margin-bottom: 4px;
    }

    footer {
        padding: 20px 0;
    }

    .footer-content {
        padding: 0;
    }
}
