/* ヒーローセクション専用スタイル */

.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 背景画像オーバーレイ */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* 背景オーバーレイ */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* ヒーローコンテンツ */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    width: 90%;
    padding: 2rem;
    background: linear-gradient(
        145deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(20px) saturate(150%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 0 auto 3rem auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ヒーロータイトル */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 auto 1rem auto;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    text-align: center;
    width: 100%;
    display: block;
}

/* ヒーローサブタイトル */
.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
    text-align: center;
    width: 100%;
    display: block;
}

/* ヒーローナビゲーション */
.hero-navigation {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 0.6s both;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.hero-menu li {
    position: relative;
    text-align: center;
}

.hero-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
}

.hero-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* サブメニュー */
.hero-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    text-align: center;
}

.hero-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.hero-menu .sub-menu li {
    margin: 0;
    text-align: center;
}

.hero-menu .sub-menu a {
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-weight: 400;
    text-align: center;
}

.hero-menu .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* スクロールダウンインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator::after {
    content: '↓';
    color: #fff;
    font-size: 2rem;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* パララックス効果 */
.hero-section.parallax {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-content {
        width: 95%;
        padding: 1.5rem;
        margin: 0 auto 2rem auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
        margin: 0 auto 1rem auto;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-navigation {
        padding: 0.75rem 1rem;
        margin: 0 auto;
    }
    
    .hero-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero-menu li {
        width: 100%;
        text-align: center;
    }
    
    .hero-menu a {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }
}

/* 小型デバイス対応 */
@media (max-width: 480px) {
    .hero-content {
        width: 98%;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }
}