/* ================================ */
/* 3. ヒーローセクション */
/* ================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 70vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0 40px;
    margin-top: calc(25px + 8px * 2); 
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.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.6));
    z-index: 2;
}

.hero-main-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero-content {
    text-align: left;
    color: #fff;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 5px;
    line-height: 1.2;
    background: none;
    -webkit-background-clip: unset;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 0 0 10px var(--primary-color);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-video-embed {
    flex-shrink: 0;
    width: 50%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

/* ================================ */
/* 4. ニュースセクション */
/* ================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    background-color: var(--background-dark);
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-light);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.news-item time {
    font-size: 0.9rem;
    color: #999;
    display: block;
    margin-bottom: 10px;
}

.news-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    background: none;
    color: var(--text-color);
}

/* ================================ */
/* 5. タレントセクション (演出を維持) */
/* ================================ */
#talents {
    position: relative;
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
}

.talent-carousel-wrapper {
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.talent-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.talent-card {
    background-color: var(--background-dark);
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-light);
    width: 280px; /* PCでの幅 */
    flex-shrink: 0;
    padding-bottom: 15px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.talent-card img {
    width: 100%;
    /* PCでは固定高さ、スマホでは比率維持をメディアクエリで制御 */
    height: 440px;
    object-fit: cover;
    object-position: top center; /* 顔を優先的に出す設定 */
    transition: transform 0.3s ease;
}

.talent-card:hover img {
    transform: scale(1.05);
}

.talent-name-oval {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width: 90%;
    margin: 10px auto;
    transition: all 0.3s ease;
}

.talent-name-oval h3 {
    margin: 0;
    background: none;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

/* 個別ホバーカラー */
.talent-card.talent-kokono:hover .talent-name-oval { background-color: var(--talent-color-kokono); }
.talent-card.talent-rirumu:hover .talent-name-oval { background-color: var(--talent-color-rirumu); }
.talent-card.talent-rito:hover .talent-name-oval { background-color: var(--talent-color-rito); }
.talent-card:hover .talent-name-oval h3 { color: #fff; }

/* カルーセルボタン位置修正 */
.talent-carousel-controls {
    position: absolute;
    top: 50%;
    left: -60px;
    right: -60px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-prev-btn, .carousel-next-btn {
    pointer-events: auto;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-prev-btn:hover, .carousel-next-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

/* 卒業タレントエリア (Memorial) */
.memorial-link-section {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background: rgba(255, 133, 173, 0.05); /* 背景色復活 */
    border-radius: 20px;
}

/* ================================ */
/* 6. Goods Shop / 7. About */
/* ================================ */
.goods-shop-section { text-align: center; }

.about-section {
    text-align: center; padding: 80px 0; position: relative; z-index: 1;
}
.about-section::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(135deg, #ffe9f3, #fffbea); /* 背景復活 */
    z-index: -1;
}

.cta-section { 
    background-color: var(--background-dark); 
    text-align: center; 
    padding: 80px 20px; 
}

#special-thanks { text-align: center; padding: 60px 0; }
.special-thanks-content h3 { font-size: 1.8rem; margin-bottom: 15px; background: none; color: var(--text-color); }
.thanks-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-top: 30px; }

/* スマホ調整 */
@media (max-width: 768px) {
    .hero-main-content-wrapper { flex-direction: column; }
    .hero-content { text-align: center; max-width: 100%; }
    .hero-content h1 { font-size: 3rem; }
    .hero-video-embed { width: 100%; }

    /* スマホカルーセル修正：1枚表示 */
    .talent-card {
        width: 100%; /* 親の幅いっぱいにする */
    }
    .talent-card img {
        height: auto;
        aspect-ratio: 2 / 3;   /* 比率をもっと縦長（2:3）にする */
        object-fit: contain;   /* 画像を削らず、枠内に全部収める */
    }
    .talent-carousel-controls {
        left: 0;
        right: 0;
        padding: 0 10px;
    }
    .carousel-prev-btn, .carousel-next-btn {
        width: 40px;
        height: 40px;
    }
}