/* ===== リセット & 基本設定 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bg-color: #141414;
    --bg-secondary: #1f1f1f;
    --accent-color: #e50914;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --card-hover: #2f2f2f;
    --header-height: 130px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
}

/* ===== ヘッダー ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.9) 0%,
        transparent 100%
    );
    z-index: 100;
    transition: background 0.3s;
    padding: 0 4%;
}

.header.scrolled {
    background: rgba(20, 20, 20, 0.98);
}

.header__top {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.header__logo i {
    font-size: 1.8rem;
}

.header__nav {
    display: flex;
    gap: 24px;
}

.header__nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.header__nav a:hover {
    color: var(--text-primary);
}

/* ハンバーガーボタン：通常時(PC幅)は非表示 */
.header__hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ===== リンク集 ===== */
.header__links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 8px 0 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.header__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.header__link--youtube {
    color: #ff0000;
    border: 1px solid #ff0000;
}

.header__link--youtube:hover {
    background: #ff0000;
    color: #fff;
    transform: scale(1.2);
}

.header__link--nicovideo {
    color: #ffffff;
    border: 1px solid #ffffff;
}

.header__link--nicovideo:hover {
    background: #ffffff;
    color: #000;
    transform: scale(1.2);
}

.header__link--instagram {
    color: #e1306c;
    border: 1px solid #e1306c;
}

.header__link--instagram:hover {
    background: #e1306c;
    color: #fff;
    transform: scale(1.2);
}

.header__link--x {
    color: #1da1f2;
    border: 1px solid #1da1f2;
}

.header__link--x:hover {
    background: #1da1f2;
    color: #fff;
    transform: scale(1.2);
}

/* ===== ヒーローバナー ===== */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 0 4% 80px;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero__backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    filter: brightness(0.5);
    transition: background-image 0.5s ease, opacity 1s ease;
    z-index: 1;
}

.hero__backdrop.video-active {
    opacity: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        var(--bg-color) 0%,
        transparent 50%,
        transparent 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    line-height: 1.3;
}

.hero__description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.hero__buttons {
    display: flex;
    gap: 12px;
}

/* ===== ボタン ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn--play {
    background-color: var(--text-primary);
    color: #000;
}

.btn--play:hover {
    background-color: rgba(255,255,255,0.8);
    transform: scale(1.05);
}

/* ===== メインコンテンツ ===== */
.main {
    padding: 0 4% 60px;
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

/* ===== 動画セクション ===== */
.video-section {
    margin-bottom: 48px;
}

.section__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

/* ===== TOP3グリッド ===== */
.top3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 8px;
}

.top3-card {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.top3-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0,0,0,0.8);
    z-index: 10;
}

.top3-card__thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.top3-card__info {
    padding: 12px 16px;
}

.top3-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top3-card__meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    gap: 8px;
}

.top3-card__duration {
    color: var(--accent-color);
    font-weight: 700;
}

/* ===== 動画カード ===== */
.video-card {
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.video-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.8);
    z-index: 10;
}

.video-card__thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.video-card__info {
    padding: 10px 12px;
}

.video-card__title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.video-card__meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    gap: 8px;
}

.video-card__duration {
    color: var(--accent-color);
    font-weight: 700;
}

/* ===== Swiperカスタマイズ ===== */
.swiper {
    padding: 10px 0 30px !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--text-primary) !important;
    background: rgba(0,0,0,0.6);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1rem !important;
}

/* ===== モーダル ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}

.modal__content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 900px;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    border: none;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.modal__close:hover {
    background: rgba(255,255,255,0.2);
}

.modal__player {
    width: 100%;
    aspect-ratio: 16/9;
}

.modal__player iframe {
    width: 100%;
    height: 100%;
}

.modal__info {
    padding: 20px 24px;
}

.modal__info h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.modal__info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    white-space: pre-line;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
    .top3-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .header__hamburger {
        display: block;
    }

    .header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(20, 20, 20, 0.98);
        padding: 16px 4%;
        gap: 16px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .header__nav.active {
        display: flex;
    }

    .header__top {
        position: relative;
    }

    .header__links {
        gap: 12px;
    }

    .header__link {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .hero {
        height: 60vh;
        padding-bottom: 60px;
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .top3-grid {
        grid-template-columns: 1fr;
    }

    .modal__content {
        width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
}
/* ===== プロフィール ===== */
.profile__image-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.profile__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}
/* ===== プロフィールカード ===== */
.profile__card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 40px;
}

.profile__avatar-wrap {
    flex-shrink: 0;
}

.profile__avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
}

.profile__text {
    flex: 1;
}

.profile__name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.profile__bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.9;
    white-space: pre-line;
}

/* プロフィールカード レスポンシブ */
@media (max-width: 600px) {
    .profile__card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
        gap: 24px;
    }

    .profile__avatar {
        width: 140px;
        height: 140px;
    }

    .profile__name {
        font-size: 1.4rem;
    }
}
/* ===== スクロール位置補正 ===== */
#top,
#streaming,
#allVideos,
#reels,
#profile,
#policy {
    scroll-margin-top: var(--header-height);
}
/* ===== YouTubeリンク ===== */
.youtube-link-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 32px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    transition: all 0.3s;
}

.youtube-link i:first-child {
    color: #ff0000;
    font-size: 1.3rem;
}

.youtube-link:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: scale(1.03);
}
/* ===== X / Twitter ===== */
.twitter-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.twitter-wrap iframe {
    border-radius: 12px !important;
    max-width: 600px !important;
    width: 100% !important;
}

/* Instagramリール用：縦長サムネイル */
.video-card--reel .video-card__thumbnail {
    aspect-ratio: 9 / 16;
    object-fit: cover;
    width: 100%;
}

/* ===== プロフィールカード逆バージョン ===== */
.profile__card--reverse {
    flex-direction: row-reverse !important;
}

.profile__card--reverse .profile__text {
    text-align: right;
}

@media (max-width: 600px) {
    .profile__card--reverse {
        flex-direction: column !important;
    }

    .profile__card--reverse .profile__text {
        text-align: center;
    }
}

/* ===== 画像クリック可能表示 ===== */
.profile__image--clickable {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.profile__image--clickable:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* ===== 画像ライトボックス ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
}

.lightbox__image {
    position: relative;
    z-index: 1;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    background: rgba(0,0,0,0.6);
    border: none;
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.lightbox__close:hover {
    background: rgba(255,255,255,0.2);
}
/* ===== フッター ===== */
.footer {
    text-align: center;
    padding: 32px 4%;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* ===== 音楽配信リンク ===== */
.streaming-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.streaming-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    transition: all 0.3s;
}

.streaming-link i {
    font-size: 1.1rem;
}

.streaming-link:hover {
    transform: scale(1.05);
}

.streaming-link--apple:hover {
    background: #fa243c;
    border-color: #fa243c;
}

.streaming-link--spotify:hover {
    background: #1db954;
    border-color: #1db954;
}

.streaming-link--ytmusic:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.streaming-link--amazon:hover {
    background: #00a8e1;
    border-color: #00a8e1;
}

@media (max-width: 600px) {
    .streaming-link {
        font-size: 0.75rem;
        padding: 8px 14px;
    }
}
/* ===== お仕事依頼について ===== */
.contact-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}
/* ===== ヒーロー動画(自動再生) ===== */
.hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    overflow: hidden;
}

.hero__video-wrap.active {
    opacity: 1;
}

.hero__video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    /* 16:9を保ちつつ画面を覆うための拡大 */
    width: 177.77vh; /* 100 * (16/9) */
    height: 56.25vw; /* 100 / (16/9) */
}

/* モバイルでは動画を出さない */
@media (max-width: 900px) {
    .hero__video-wrap {
        display: none;
    }
}
.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__logo-img {
    height: 40px; /* お好みで調整可能 */
    width: auto;
    display: block;
}

/* ===== X / Twitter カルーセル ===== */
.twitterSwiper {
    padding: 10px 0 30px !important;
}

.twitter-slide {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: auto;
}

.twitter-slide .twitter-tweet {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 500px;
}

/* Xの埋め込みiframe自体の高さ・幅を統一 */
.twitter-slide iframe {
    width: 100% !important;
    max-width: 500px !important;
    min-height: 600px !important;
}

/* ===== クロージングメッセージ ===== */
.closing-message {
    text-align: center;
    padding: 40px 0;
}

.closing-message__text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary); /* ← var(--text-primary) から変更 */
    letter-spacing: 1px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .closing-message__text {
        font-size: 1.1rem;
    }
}

/* ===== ユニット紹介カード(画像上・テキスト下) ===== */
.profile__card--unit {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile__card--unit .profile__avatar-wrap {
    width: 100%;
    max-width: 180px;
    flex-shrink: 1;
}

.profile__card--unit .profile__avatar-wrap .profile__avatar {
    width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
    object-fit: contain;
}

.profile__card--unit .profile__text {
    margin-top: 24px;
}

/* ===== モバイル横スクロール防止(応急) ===== */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

* {
    max-width: 100%;
}

.twitter-slide iframe,
.hero__video-wrap iframe {
    max-width: 100vw !important;
}