:root {
    --font-family: 'Zen Maru Gothic', sans-serif;
    --hero-bg: #4c4c4c; /* Dark gray for hero */
    --cta-bg: #292929; /* Darker gray for CTA bar */
    --blue-bg: #1f538d; /* Blue sections */
    --light-bg: #f0f4f8; /* Light gray for content */
    --footer-bg: #2b2b2b; /* Dark gray for footer */
    --text-light: #ffffff;
    --text-dark: #333333;
    --btn-dark: #444444;
    --btn-ofuse: #2b8bb4; /* Cyan/blue for OFUSE */
}

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

html, body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    z-index: 100;
    background-color: rgba(43, 43, 43, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.4rem;
}

.header-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.btn-header {
    background-color: var(--btn-dark);
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background-color 0.2s;
}

.btn-header:hover {
    background-color: #555555;
}

/* Hero Section */
.hero {
    background-color: var(--hero-bg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./assets/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 5rem;
}

.hero-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-logo {
    width: 320px;
    height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

.hero-text {
    text-align: center;
    padding: 0 1.5rem 2rem;
    width: 100%;
    max-width: 800px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
    text-align: center;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.8;
}

/* CTA Bar */
.cta-bar {
    background-color: var(--cta-bg);
    color: var(--text-light);
    padding: 1.2rem 0;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-bar h2 {
    font-size: 1.4rem;
    font-weight: 700;
}

.btn-dark {
    display: inline-block;
    background-color: var(--btn-dark);
    color: var(--text-light);
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    min-width: 220px;
    text-align: center;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-dark:hover {
    background-color: #555555;
}

/* Banded Sections */
.section-title-bar {
    padding: 1.5rem 0;
    color: var(--text-light);
}

.section-title-bar h2 {
    font-size: 1.3rem;
    font-weight: 500;
}

.blue-bar {
    background-color: var(--blue-bg);
}

.dark-bar {
    background-color: var(--footer-bg);
}

.section-content {
    padding: 3rem 0;
    background-color: var(--light-bg);
}

.text-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555555;
}

/* Iframes */
.iframe-wrapper {
    background-color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
}

.iframe-wrapper iframe {
    display: block;
    width: 100%;
}

.iframe-wrapper .calendar-sp {
    display: none;
}

.discord-wrapper {
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.footer-left, .footer-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-center {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.qr-code-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.footer-center h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.footer-center p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.sns-icons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.sns-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.2s;
}

.sns-icon:hover {
    transform: scale(1.1);
}

.sns-icon.youtube { background-color: #ff0000; }
.sns-icon.x-twitter { background-color: #000000; }
.sns-icon.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }

.sns-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.btn-ofuse {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--btn-ofuse);
    color: white;
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background-color 0.2s;
}

.btn-ofuse:hover {
    background-color: #247599;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.btn-footer {
    display: inline-block;
    background-color: #444444;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    min-width: 220px;
    text-align: center;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.btn-footer:hover {
    background-color: #555555;
}

.legal-note {
    font-size: 0.9rem;
    color: #999999;
    margin-bottom: 2rem;
}

.footer-bottom-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.bottom-icon-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.2s;
    background-color: #444; /* fallback background */
}

.bottom-icon-link:hover {
    transform: scale(1.1);
}

.bottom-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.copyright {
    font-size: 0.95rem;
    color: #777777;
}

/* Responsive */
@media (max-width: 768px) {
    .top-header {
        padding: 0.8rem 1rem;
    }

    .btn-header {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero-text {
        padding: 0 0.5rem 2rem;
    }

    .iframe-wrapper .calendar-pc {
        display: none;
    }

    .iframe-wrapper .calendar-sp {
        display: block;
    }

    .hero-logo {
        width: 200px;
        height: 200px;
    }

    .hero-text h1 {
        font-size: min(1.4rem, 5.5vw);
    }

    .hero-text p {
        font-size: 0.85rem;
    }

    .cta-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn-footer {
        width: 100%;
        max-width: 300px;
    }
}
