/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: #333;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ナビゲーションバー */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d4a574;
    letter-spacing: 3px;
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #d4a574;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu.active {
    right: 0;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 10px;
    transition: color 0.3s ease;
    letter-spacing: 2px;
}

.nav-menu a:hover {
    color: #d4a574;
}

/* ヒーロービデオセクション */
.hero-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
    padding-top: 70px;
}

#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 10px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    letter-spacing: 3px;
    animation: fadeInUp 1.2s ease;
}

.hero-info {
    display: flex;
    gap: 15px;
    font-size: 1rem;
    letter-spacing: 2px;
    animation: fadeInUp 1.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* セクション共通スタイル */
section {
    padding: 100px 0;
    background: #0a0a0a;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: #d4a574;
    letter-spacing: 8px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #d4a574;
    margin: 20px auto 0;
}

/* ストーリーセクション */
.story-section {
    background: linear-gradient(to bottom, #0a0a0a, #1a1410);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text {
    color: #ddd;
}

.story-year {
    font-size: 1.2rem;
    color: #d4a574;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.story-main {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 25px;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

/* キャストセクション */
.cast-section {
    background: #0a0a0a;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.cast-card {
    background: rgba(26, 20, 16, 0.6);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cast-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(212, 165, 116, 0.3);
}

.cast-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.cast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cast-card:hover .cast-image img {
    transform: scale(1.1);
}

.cast-info {
    padding: 25px;
    color: #ddd;
}

.cast-info h3 {
    font-size: 1.5rem;
    color: #d4a574;
    margin-bottom: 10px;
}

.cast-role {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.cast-description {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 作品についてセクション */
.about-section {
    background: linear-gradient(to bottom, #0a0a0a, #1a1410);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.about-themes h3 {
    font-size: 2rem;
    color: #d4a574;
    margin-bottom: 40px;
}

.theme-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.theme-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.theme-icon {
    font-size: 2.5rem;
    min-width: 60px;
}

.theme-text h4 {
    color: #d4a574;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.theme-text p {
    color: #bbb;
    line-height: 1.7;
}

.info-box {
    background: rgba(26, 20, 16, 0.6);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.info-box h4 {
    color: #d4a574;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    color: #ddd;
    margin-bottom: 15px;
    line-height: 1.7;
}

/* ギャラリーセクション */
.gallery-section {
    background: #0a0a0a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

/* フッター */
.footer {
    background: #000;
    padding: 40px 0;
    text-align: center;
    color: #666;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* フローティングCTAボタン */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #d4a574, #b8905f);
    color: #fff;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    animation: pulse 2s infinite;
}

.floating-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(212, 165, 116, 0.7);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .story-content,
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cast-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 15px 25px;
        font-size: 1rem;
    }
}