/* ========================================
   リセット & ベーススタイル
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'メイリオ', Meiryo, sans-serif;
    line-height: 1.8;
    color: #000000;
    overflow-x: hidden;
}

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

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 30px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.nav-list a {
    text-decoration: none;
    color: #5C6BC0;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4E157;
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: #D4E157;
}

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

.header-cta {
    flex-shrink: 0;
}

.btn-header {
    display: inline-block;
    padding: 12px 30px;
    background: #5C6BC0;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(92, 107, 192, 0.3);
}

.btn-header:hover {
    background: #4a5aaa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 107, 192, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #5C6BC0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: url('../images/hero.png') center center / contain no-repeat, linear-gradient(135deg, #D4E157 0%, #C0D949 100%);
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
    clip-path: ellipse(150% 100% at 50% 0%);
    padding: 100px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200px;
    background: linear-gradient(135deg, #D4E157 0%, #C0D949 100%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin-top: auto;
    margin-bottom: -50px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 40px;
    line-height: 1.3;
}

.title-main {
    display: block;
    color: #5C6BC0;
    text-shadow: 
        4px 4px 0 #FFFFFF,
        6px 6px 0 rgba(255, 255, 255, 0.8),
        8px 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-badge {
    background: #FFFFFF;
    border-radius: 100px;
    padding: 30px 50px;
    margin: 40px auto;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-badge p {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    color: #5C6BC0;
    line-height: 1.5;
}

.hero-cta {
    margin-top: 40px;
}

/* ========================================
   ボタンスタイル
   ======================================== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin: 10px;
}

.btn-primary {
    background: #5C6BC0;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #4a5aaa;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(92, 107, 192, 0.4);
}

.btn-secondary {
    background: #FFFFFF;
    color: #5C6BC0;
    border: 3px solid #5C6BC0;
}

.btn-secondary:hover {
    background: #5C6BC0;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(92, 107, 192, 0.4);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: #FFFFFF;
    padding: 120px 20px;
    position: relative;
}

.section-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    color: #D4E157;
    text-shadow: -3px -3px 0 #5C6BC0,
                  3px -3px 0 #5C6BC0,
                 -3px 3px 0 #5C6BC0,
                  3px 3px 0 #5C6BC0;
    letter-spacing: 0.05em;
}

.about-content {
    text-align: center;
}

.about-circle {
    background: #5C6BC0;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(92, 107, 192, 0.3);
}

.about-circle p {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.6;
}

.about-text {
    font-size: 1.2rem;
    color: #000000;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    background: linear-gradient(135deg, #D4E157 0%, #C0D949 100%);
    padding: 120px 20px;
    position: relative;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: #FFFFFF;
    border-radius: 30px;
    padding: 50px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon img {
    width: 250px;
    height: 250px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #5C6BC0;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1rem;
    color: #000000;
    line-height: 1.6;
}

/* ========================================
   GAMES LINEUP SECTION
   ======================================== */
.games-lineup {
    background: #FFFFFF;
    padding: 120px 20px;
    overflow: hidden;
}

.games-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #5C6BC0;
    margin-bottom: 60px;
    font-weight: 600;
}

.games-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.games-slider {
    display: flex;
    gap: 30px;
    animation: slideGames 30s linear infinite;
    width: fit-content;
}

@keyframes slideGames {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.games-slider:hover {
    animation-play-state: paused;
}

.game-card {
    flex-shrink: 0;
    width: 350px;
    background: #FFFFFF;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(92, 107, 192, 0.3);
}

.game-thumbnail {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, #D4E157 0%, #C0D949 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-thumbnail img {
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

/* ========================================
   VOICES SECTION
   ======================================== */
.voices {
    background: linear-gradient(135deg, #5C6BC0 0%, #4a5aaa 100%);
    padding: 120px 20px;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.voices .section-title {
    color: #5C6BC0;
    text-shadow: -3px -3px 0 #D4E157,
                  3px -3px 0 #D4E157,
                 -3px 3px 0 #D4E157,
                  3px 3px 0 #D4E157;
}

.voices-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.voice-card {
    background: #FFFFFF;
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.voice-card:hover {
    transform: translateY(-10px);
}

.voice-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #D4E157;
    background: #FFFFFF;
}

.voice-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #000000;
}

.voice-author {
    font-size: 0.9rem;
    color: #5C6BC0;
    font-weight: 700;
}

/* ========================================
   HOW TO PLAY SECTION
   ======================================== */
.how-to-play {
    background: #FFFFFF;
    padding: 120px 20px;
}

.how-to-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #5C6BC0;
    margin-bottom: 60px;
    font-weight: 600;
}

.steps-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    min-height: 450px;
    background: #FFFFFF;
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid #D4E157;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(92, 107, 192, 0.3);
}

.step-icon {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #5C6BC0;
    background: #D4E157;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5C6BC0;
    margin-bottom: 15px;
}

.step-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
}

.step-arrow {
    width: 0;
    height: 0;
    border-left: 20px solid #5C6BC0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    flex-shrink: 0;
    margin: 0 10px;
}

/* ========================================
   REQUIREMENT SECTION
   ======================================== */
.requirement {
    background: linear-gradient(135deg, #D4E157 0%, #C0D949 100%);
    padding: 120px 20px;
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
}

.requirement-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.requirement-card {
    background: #FFFFFF;
    border-radius: 30px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.requirement-card:hover {
    transform: scale(1.05);
}

.requirement-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #5C6BC0;
    margin-bottom: 15px;
}

.requirement-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    background: linear-gradient(135deg, #D4E157 0%, #C0D949 100%);
    padding: 120px 20px;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
}

.faq-list {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    background: #EFEFEF;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    border-left: 5px solid #D4E157;
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 700;
    color: #5C6BC0;
    margin-bottom: 15px;
}

.faq-answer {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000000;
}

/* ========================================
   CTA FOOTER
   ======================================== */
.cta-footer {
    background: linear-gradient(135deg, #5C6BC0 0%, #4a5aaa 100%);
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(212, 225, 87, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(212, 225, 87, 0.1) 0%, transparent 50%);
}

.cta-footer h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 40px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    position: relative;
    z-index: 1;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #000000;
    color: #FFFFFF;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    font-size: 0.95rem;
    color: #AAAAAA;
    margin: 0;
}

.footer-links h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #D4E157;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #D4E157;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333333;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #AAAAAA;
}

/* ========================================
   レスポンシブ対応
   ======================================== */
@media (max-width: 768px) {
    .header {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 30px;
    }

    .header-container {
        height: 70px;
        padding: 0 20px;
    }

    .nav {
        position: fixed;
        top: 90px;
        left: 50%;
        transform: translateX(-50%) translateX(-100vw);
        width: calc(100% - 20px);
        max-width: 1400px;
        height: auto;
        max-height: calc(100vh - 110px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: transform 0.3s ease;
        justify-content: flex-start;
        padding: 20px 0;
        border-radius: 30px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
    }

    .nav.active {
        transform: translateX(-50%) translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-list li {
        border-bottom: 1px solid #EFEFEF;
    }

    .nav-list a {
        display: block;
        padding: 20px 30px;
        font-size: 1.1rem;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        clip-path: ellipse(200% 100% at 50% 0%);
    }

    .features,
    .voices,
    .requirement {
        clip-path: none;
    }

    .features-grid,
    .voices-slider {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        display: none;
    }

    .steps-flow {
        flex-direction: column;
    }

    .step-card {
        max-width: 100%;
    }

    .game-card {
        width: 280px;
    }

    .game-thumbnail {
        height: 280px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }
}

/* ========================================
   アニメーション
   ======================================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-illustration {
    animation: float 3s ease-in-out infinite;
}
