:root {
    --font-family: 'Zen Maru Gothic', sans-serif;
    --main-orange: #d99b58;
    --header-color: #ba7635;
    --light-orange: #faeedb;
    --bg-white: #ffffff;
    --text-light: #ffffff;
    --text-dark: #333333;
}

* {
    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(--bg-white);
}

.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(186, 118, 53, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.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;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.nav-icon {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.hamburger-menu .material-symbols-rounded {
    font-size: 28px;
}

/* Hero Section */
.hero {
    /* Polygon pattern dark gray to brown */
    background-color: #333333;
    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;
    position: relative;
}

.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;
    width: 100%;
    max-width: 800px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    animation: bounce 2s infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-down .material-symbols-rounded {
    font-size: 3rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-15px) translateX(-50%);
    }

    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* Banded Sections */
.section-title-bar {
    padding: 1.5rem 0;
}

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

.orange-bar {
    background-color: var(--main-orange);
    color: var(--text-light);
}

.beige-bar {
    background-color: var(--light-orange);
    color: var(--text-dark);
}

.white-bg {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.section-content {
    padding: 3rem 0;
}

.text-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background-color: var(--main-orange);
    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;
}

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

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

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

.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;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.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;
}

.copyright {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2rem;
}

.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: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

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

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: rgba(186, 118, 53, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 80px;
        padding-left: 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        width: calc(100% - 40px);
        padding: 15px 20px;
        font-size: 1.1rem;
        border-radius: 8px;
        margin-bottom: 10px;
    }

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

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

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

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

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

/* Page Title Section */
.page-title-section {
    padding: 8rem 1.5rem 3rem;
    text-align: center;
    background-color: var(--bg-white);
}

.page-title-section .sub-title {
    font-size: 1.1rem;
    color: var(--main-orange);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.page-title-section .main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

.page-title-section .catchphrase {
    font-size: 1.2rem;
    color: #666;
}

/* Members Section */
.members-section {
    padding: 2rem 0 5rem;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
}

.member-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.member-avatar {
    width: 100%;
    max-width: 240px;
    min-height: 240px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2rem;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.member-avatar img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.member-avatar .material-symbols-rounded {
    font-size: 80px;
    color: #ccc;
}

.member-name {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.member-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
}

.member-tags span {
    font-size: 1rem;
    background-color: var(--light-orange);
    color: var(--main-orange);
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-weight: 500;
}

.member-hp-btn {
    display: inline-block;
    background-color: var(--main-orange);
    color: var(--text-dark);
    font-weight: 700;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    transition: background-color 0.2s, color 0.2s;
}

.member-hp-btn:hover {
    background-color: #c98a4a;
    color: #fff;
}

.member-sns {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: auto;
}

.sns-icon-small {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.2s;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

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

.sns-icon-small.youtube {
    background-color: #ff0000;
}

.sns-icon-small.x-twitter {
    background-color: #000000;
}

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

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