/* ===================================
   Variables & Base Styles
   =================================== */

:root {
    /* Colors */
    --color-primary: #1a4d2e;      /* 深緑 */
    --color-gold: #d4af37;          /* ゴールド */
    --color-ivory: #f8f6f0;         /* アイボリー */
    --color-dark-green: #0f2818;    /* より濃い緑 */
    --color-light-gold: #f4e4b3;    /* 薄いゴールド */
    --color-white: #ffffff;
    --color-black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark-green) 100%);
    --gradient-gold: linear-gradient(135deg, var(--color-gold) 0%, #b8941e 100%);
    
    /* Fonts */
    --font-primary: 'Noto Serif JP', serif;
    --font-display: 'Playfair Display', serif;
    --font-elegant: 'Cormorant Garamond', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s ease;
    --transition-elegant: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-primary);
    background-color: var(--color-ivory);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   Header & Navigation
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 40, 24, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    margin-bottom: 0.2rem;
}

.logo-sub {
    font-family: var(--font-elegant);
    font-size: 0.85rem;
    color: var(--color-light-gold);
    letter-spacing: 0.2em;
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--color-ivory);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    position: relative;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-fast);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-ivory);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--color-light-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 300;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.hero-subtitle-en {
    font-family: var(--font-elegant);
    font-size: 1.5rem;
    color: var(--color-light-gold);
    letter-spacing: 0.3em;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-ivory);
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-dark-green);
    border-color: var(--color-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-ivory);
    border-color: var(--color-ivory);
}

.btn-secondary:hover {
    background: var(--color-ivory);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 50px;
    background: var(--gradient-gold);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        height: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        height: 50px;
    }
}

/* ===================================
   Section Common Styles
   =================================== */

section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header-light .section-label,
.section-header-light .section-title,
.section-header-light .section-description {
    color: var(--color-ivory);
}

.section-label {
    font-family: var(--font-elegant);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-divider {
    width: 100px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 1.5rem auto;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-primary);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   About Section
   =================================== */

.about {
    background: var(--color-ivory);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.about-subtitle {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.story-box {
    background: var(--gradient-primary);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 77, 46, 0.2);
    position: relative;
    overflow: hidden;
}

.story-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.story-icon {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-dark-green);
}

.story-title {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.story-text {
    position: relative;
    z-index: 2;
    font-size: 1rem;
    line-height: 2;
    color: var(--color-ivory);
}

/* ===================================
   Benefits Section
   =================================== */

.benefits {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.benefit-card {
    background: rgba(248, 246, 240, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.1) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: var(--color-gold);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-featured {
    grid-column: span 2;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--color-gold);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-dark-green);
    margin-bottom: 1.5rem;
}

.benefit-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.benefit-badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--color-dark-green);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.benefit-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-ivory);
    margin-bottom: 1.5rem;
}

.benefit-details {
    list-style: none;
    margin-top: 1.5rem;
}

.benefit-details li {
    color: var(--color-light-gold);
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.benefit-details li:last-child {
    border-bottom: none;
}

.benefit-details li i {
    color: var(--color-gold);
    font-size: 1rem;
}

.game-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.game-tag {
    background: rgba(212, 175, 55, 0.2);
    color: var(--color-gold);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* ===================================
   Gallery Section
   =================================== */

.gallery {
    background: var(--color-ivory);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 77, 46, 0.15);
    aspect-ratio: 16/10;
}

.gallery-item img {
    width: 100%;
    height: 200%;
    object-fit: cover;
    transition: var(--transition-elegant);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 77, 46, 0.9) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-text h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.gallery-text p {
    color: var(--color-ivory);
    font-size: 1rem;
}

/* ===================================
   Join Section
   =================================== */

.join {
    background: var(--gradient-primary);
    position: relative;
}

.join::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
}

.join-content {
    position: relative;
    z-index: 2;
}

.join-header {
    text-align: center;
    margin-bottom: 3rem;
}

.join-header .section-label,
.join-header .section-title {
    color: var(--color-ivory);
}

.join-header .section-title {
    color: var(--color-gold);
}

.join-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.join-card {
    background: rgba(248, 246, 240, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.join-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.join-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-dark-green);
    margin: 0 auto 1.5rem;
}

.join-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.join-card p {
    color: var(--color-ivory);
    line-height: 1.8;
    font-size: 1rem;
}

.join-cta {
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--color-gold);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.join-cta-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.join-cta-content > p {
    color: var(--color-ivory);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.join-note {
    background: rgba(26, 77, 46, 0.3);
    border-left: 4px solid var(--color-gold);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.join-note i {
    color: var(--color-gold);
    font-size: 1.5rem;
}

.join-note p {
    color: var(--color-ivory);
    text-align: left;
    margin: 0;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--color-dark-green);
    color: var(--color-ivory);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-family: var(--font-elegant);
    font-size: 1rem;
    color: var(--color-light-gold);
    font-style: italic;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.footer-description {
    color: var(--color-ivory);
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-info h4 {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links ul,
.footer-info ul {
    list-style: none;
}

.footer-links li,
.footer-info li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: var(--color-ivory);
    text-decoration: none;
    transition: var(--transition-fast);
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--color-gold);
    opacity: 1;
}

.footer-info li {
    color: var(--color-ivory);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-info li i {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--color-ivory);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefit-featured {
        grid-column: span 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 40, 24, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .benefit-card,
    .join-card {
        padding: 1.5rem;
    }
}