/**
 * Sections Component Styles
 * 各セクションのスタイル定義
 */

/* ========================================
   共通セクションスタイル（モバイル・PC共通）
   ======================================== */

.section {
    position: relative;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 画面幅いっぱいのコンテナ */
.container-full {
    width: 100%;
    padding: 0;
}

/* ========================================
   PC版スタイル（768px以上）
   ======================================== */

@media (min-width: 768px) {
    .section {
        min-height: 100vh;
        padding: 80px 0;
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    }

    /* クリエイターとタレントセクションは上部パディングを削除 */
    #creator,
    #talent {
        padding-top: 0;
    }

    /* ヒーローセクションは最初から表示 */
    #hero {
        opacity: 1;
        transform: translateY(0);
    }

    /* クリエイターセクション用の見出し（左寄せ） */
    #creator .section-title {
        text-align: left;
        padding-left: 60px; /* バナーグリッドと揃える */
        color: #202023; /* 白オーバーレイ用の暗い文字色 */
        margin-bottom: 8px; /* 共通の20pxから8px削減 */
    }

    /* タレントセクション用の見出し（左寄せ） */
    #talent .section-title {
        text-align: left;
        padding-left: 60px; /* バナーグリッドと揃える */
        color: #202023; /* 白オーバーレイ用の暗い文字色 */
        margin-bottom: 8px; /* 共通の20pxから8px削減 */
    }

    .section-inner {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 24px;
        padding: 60px 40px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
    }

    .section-title {
        font-size: 3rem;
        font-weight: 900;
        text-align: center;
        margin-bottom: 20px;
        color: #1b1720;
        letter-spacing: 0.1em;
    }

    .section-subtitle {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 60px;
        color: #666;
        font-weight: 300;
    }
}

/* ========================================
   ヒーローセクション（PC版）
   ======================================== */

@media (min-width: 768px) {
    #hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        padding-top: 60px; /* ヘッダー1個分の高さ */
    }

    /* モバイル用ロゴ（PC版では非表示） */
    .hero-mobile-logo {
        display: none;
    }
}

/* モバイル用キャッチコピー（PC版では非表示） */
.hero-mobile-subtitle {
    display: none;
}

.hero-layout {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* 左側: ニュースのスライドショー */
.hero-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 上寄せに変更 */
    padding: 66px 60px 80px 54px; /* 上のパディングを調整: この値を変更してニュースの位置を調整 */
}

/* 右側: 余白 */
.hero-right {
    /* 背景動画が見えるエリア */
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0;
    padding-bottom: 160px;
}

/* キャッチコピー画像 */
.hero-catchcopy {
    opacity: 0;
    transform: translateY(30px);
    animation: catchcopy-fade-in 1.2s ease-out 0.5s forwards;
}

.catchcopy-image {
    max-width: 100%;
    height: auto;
    display: block;
}

@keyframes catchcopy-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ニュースのスライドショー */
.hero-news-slideshow {
    position: relative;
    width: 100%;
    max-width: 480px; /* 最大幅: この値を変更してニュースの幅を調整 */
}

.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.slide:first-child {
    position: relative;
}

/* 出ていく画像: 中央(0)から画面外へ移動しながらフェードアウト */
.slide.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.slide.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
}

/* 入ってくる画像: 画面外から中央(0)へ移動しながらフェードイン */
.slide.slide-in-from-left {
    transform: translateX(-100%);
    opacity: 0;
}

.slide.slide-in-from-right {
    transform: translateX(100%);
    opacity: 0;
}

.slide-image {
    width: 100%;
    aspect-ratio: 16 / 9; /* news_blank.pngのアスペクト比に合わせて調整 */
    object-fit: contain;
    object-position: center;
    background-color: #202023;
    display: block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* 旧スタイル（削除） */
.slide-content,
.slide-category,
.slide-title,
.slide-date {
    display: none;
}

/* スライドインジケーター（ドット） */
.slideshow-dots {
    position: absolute;
    bottom: 10px; /* 画像の下からの距離: この値を変更してドットの位置を調整 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(247, 249, 251, 0.5);
    border: none;
    border-radius: 0;
    transform: rotate(45deg);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 2px 8px rgba(32, 32, 35, 0.4);
}

.dot.active {
    width: 10px;
    height: 10px;
    background: #f7f9fb;
    box-shadow: 0 3px 10px rgba(32, 32, 35, 0.5);
}

.dot:hover {
    background: rgba(247, 249, 251, 0.8);
    transform: rotate(45deg) scale(1.1);
}

/* スライドナビゲーションボタン */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 30%;
    background: rgba(247, 249, 251, 0.9);
    border: none;
    border-radius: 0;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    color: #202023;
}

.hero-news-slideshow:hover .slide-nav {
    opacity: 1;
}

.slide-nav:hover {
    background: rgba(247, 249, 251, 0.8);
    opacity: 0.8;
}

.slide-nav-prev {
    left: 0;
}

.slide-nav-next {
    right: 0;
}

.slide-nav svg {
    width: 24px;
    height: 24px;
}

/* 旧インジケーター（削除） */
.slideshow-indicators,
.indicator {
    display: none;
}

/* SNSリンク（左下） */
.hero-social-links {
    position: absolute;
    bottom: 142px; /* 位置調整: この値を大きくすると上に、小さくすると下に移動 */
    left: 56px;
    display: flex;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, opacity 0.3s;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    opacity: 0.8;
}

.social-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
    border-radius: 8px;
}

.social-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.hero-content {
    text-align: center;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-logo {
    width: 300px;
    height: auto;
    margin-bottom: 40px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 0.2em;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.hero-scroll-indicator svg {
    width: 32px;
    height: 32px;
    stroke: white;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

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

/* ========================================
   ABOUTセクション
   ======================================== */

.about-section {
    min-height: 120vh;
    padding: var(--spacing-4xl) 0;
    color: #f7f9fb; /* 黒オーバーレイ用の明るい文字色 */
    position: relative;
    display: flex;
    align-items: center;
}

.about-layout {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 0;
    align-items: center;
    width: 100%;
    padding-left: 160px; /* 全体を右に160px移動（120px + 40px） */
}

.about-subtitle-image {
    max-width: 100%;
    height: auto;
    margin-bottom: var(--spacing-lg);
    display: block;
}

.about-subtitle {
    font-size: 3rem;
    font-weight: 900;
    color: #f7f9fb; /* 黒オーバーレイ用の明るい文字色 */
    letter-spacing: 0.2em;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    display: flex;
    gap: 0.05em;
    justify-content: center;
}

.about-subtitle span {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
}

/* セクションが表示された時にアニメーション開始 */
.about-section.visible .about-subtitle span {
    animation: about-slide-up 0.195s ease-out forwards;
}

.about-section.visible .about-subtitle span:nth-child(1) { animation-delay: 0s; }
.about-section.visible .about-subtitle span:nth-child(2) { animation-delay: 0.04s; }
.about-section.visible .about-subtitle span:nth-child(3) { animation-delay: 0.08s; }
.about-section.visible .about-subtitle span:nth-child(4) { animation-delay: 0.12s; }
.about-section.visible .about-subtitle span:nth-child(5) { animation-delay: 0.16s; }

@keyframes about-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-2xl);
}

.about-text {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: var(--line-height-relaxed);
    color: #f7f9fb; /* 黒オーバーレイ用の明るい文字色 */
    letter-spacing: 0.05em;
    text-align: left; /* 中央揃え → 左寄せ */
    padding: 32px;
    padding-left: 72px; /* 32px + 40px = 72px（右に40px移動） */
    opacity: 0;
    transform: translateY(50px);
    white-space: pre-line;
}

/* セクションが表示された時にアニメーション開始 */
.about-section.visible .about-text {
    animation: about-text-slide-up 0.195s ease-out forwards;
    animation-delay: 0.2s; /* タイトルアニメーション後に開始 */
}

@keyframes about-text-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--spacing-2xl);
    margin-left: -40px; /* 40px左に移動（全体が右に移動したので調整） */
}

.logo-image {
    max-width: 27.4vw; /* 1920px × 0.274 = 526px */
    height: auto;
    display: block;
}

/* キャラクター画像 */
.about-character {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-character-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   メンバーセクション（CREATOR/TALENT）
   ======================================== */

/* クリエイターバナーグリッド */
.creator-banner-grid {
    display: flex;
    gap: 28px; /* バナー間の間隔: この値を変更して調整（例: 16px, 32px, 40px） */
    margin-top: 0px;
    margin-left: 0; /* 左マージンを0にして画面端まで */
    margin-right: 0; /* 右マージンを0にして画面端まで */
    padding-top: 16px; /* ホバー時の上移動分の余白 */
    padding-bottom: 16px; /* 下側にも余白 */
    padding-left: 60px; /* バナー開始位置: この値を変更して調整 */
    padding-right: 80px; /* 右側の余白 */
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    /* スクロールバーを非表示 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE, Edge */
    position: relative;
    /* 左右端のフェードアウトマスク */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0,
        black 100px, /* 左端フェード幅: この値を変更して調整 */
        black calc(100% - 100px), /* 右端フェード幅: この値を変更して調整 */
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0,
        black 100px,
        black calc(100% - 100px),
        transparent 100%
    );
}

/* Webkit系ブラウザでスクロールバーを非表示 */
.creator-banner-grid::-webkit-scrollbar {
    display: none;
}

.creator-banner-link {
    display: block;
    text-decoration: none;
    flex-shrink: 0; /* バナーが縮小しないように */
    position: relative;
    opacity: 0;
    transform: translateY(80px); /* 50px → 80px に変更 */
}

/* セクションが表示された時にアニメーション開始 */
#creator.visible .creator-banner-link {
    animation: banner-slide-up 0.195s ease-out forwards;
}

/* 各バナーに遅延を追加（順番に表示） */
#creator.visible .creator-banner-link:nth-child(1) { animation-delay: 0s; }
#creator.visible .creator-banner-link:nth-child(2) { animation-delay: 0.1s; }
#creator.visible .creator-banner-link:nth-child(3) { animation-delay: 0.2s; }
#creator.visible .creator-banner-link:nth-child(4) { animation-delay: 0.3s; }
#creator.visible .creator-banner-link:nth-child(5) { animation-delay: 0.4s; }
#creator.visible .creator-banner-link:nth-child(6) { animation-delay: 0.5s; }
#creator.visible .creator-banner-link:nth-child(7) { animation-delay: 0.6s; }
#creator.visible .creator-banner-link:nth-child(8) { animation-delay: 0.7s; }

@keyframes banner-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* グラデーション付きシャドウ（疑似要素） */
.creator-banner-link::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 17px;
    width: 384px; /* 480px × 0.8 = 384px */
    height: 488px; /* 610px × 0.8 = 488px */
    background: linear-gradient(to bottom, var(--shadow-color, #000000), transparent);
    z-index: -1;
    pointer-events: none;
    transition: filter 0.3s ease;
}

.creator-banner-link:hover::before {
    filter: grayscale(100%);
}

.creator-banner-link:hover .creator-banner {
    transform: translateY(-16px); /* -8px → -16px に変更 */
}

.creator-banner {
    position: relative;
    width: 384px;
    height: 688px; /* 860px × 0.8 = 688px（元の比率維持） */
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* 急停止感のあるイージング */
}

.creator-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.creator-banner-img.normal {
    opacity: 1;
    position: relative;
}

.creator-banner-img.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.creator-banner-link:hover .creator-banner-img.hover {
    opacity: 1;
}

.creator-banner-link:focus-visible {
    outline: 2px solid rgba(27, 23, 32, 0.5);
    outline-offset: 4px;
}

/* カミングスーンバナー */
.creator-banner-link.coming-soon {
    pointer-events: none; /* クリック無効 */
    cursor: default;
}

.creator-banner-link.coming-soon::before {
    display: none; /* シャドウを非表示 */
}

.creator-banner-link.coming-soon .creator-banner {
    transform: none; /* ホバー効果なし */
}

/* タレントバナーグリッド（クリエイターと同じスタイル） */
.talent-banner-grid {
    display: flex;
    gap: 28px; /* バナー間の間隔: この値を変更して調整（例: 16px, 32px, 40px） */
    margin-top: 0px;
    margin-left: 0; /* 左マージンを0にして画面端まで */
    margin-right: 0; /* 右マージンを0にして画面端まで */
    padding-top: 16px; /* ホバー時の上移動分の余白 */
    padding-bottom: 16px; /* 下側にも余白 */
    padding-left: 60px; /* バナー開始位置: この値を変更して調整 */
    padding-right: 80px; /* 右側の余白 */
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    /* スクロールバーを非表示 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE, Edge */
    position: relative;
    /* 左右端のフェードアウトマスク */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0,
        black 100px, /* 左端フェード幅: この値を変更して調整 */
        black calc(100% - 100px), /* 右端フェード幅: この値を変更して調整 */
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0,
        black 100px,
        black calc(100% - 100px),
        transparent 100%
    );
}

/* Webkit系ブラウザでスクロールバーを非表示 */
.talent-banner-grid::-webkit-scrollbar {
    display: none;
}

.talent-banner-link {
    display: block;
    text-decoration: none;
    flex-shrink: 0; /* バナーが縮小しないように */
    position: relative;
    opacity: 0;
    transform: translateY(80px); /* 50px → 80px に変更 */
}

/* セクションが表示された時にアニメーション開始 */
#talent.visible .talent-banner-link {
    animation: banner-slide-up 0.195s ease-out forwards;
}

/* 各バナーに遅延を追加（順番に表示） */
#talent.visible .talent-banner-link:nth-child(1) { animation-delay: 0s; }
#talent.visible .talent-banner-link:nth-child(2) { animation-delay: 0.1s; }
#talent.visible .talent-banner-link:nth-child(3) { animation-delay: 0.2s; }
#talent.visible .talent-banner-link:nth-child(4) { animation-delay: 0.3s; }
#talent.visible .talent-banner-link:nth-child(5) { animation-delay: 0.4s; }
#talent.visible .talent-banner-link:nth-child(6) { animation-delay: 0.5s; }
#talent.visible .talent-banner-link:nth-child(7) { animation-delay: 0.6s; }
#talent.visible .talent-banner-link:nth-child(8) { animation-delay: 0.7s; }

/* グラデーション付きシャドウ（疑似要素） */
.talent-banner-link::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 17px;
    width: 384px; /* 480px × 0.8 = 384px */
    height: 488px; /* 610px × 0.8 = 488px */
    background: linear-gradient(to bottom, var(--shadow-color, #000000), transparent);
    z-index: -1;
    pointer-events: none;
    transition: filter 0.3s ease;
}

.talent-banner-link:hover::before {
    filter: grayscale(100%);
}

.talent-banner-link:hover .talent-banner {
    transform: translateY(-16px); /* -8px → -16px に変更 */
}

.talent-banner {
    position: relative;
    width: 384px;
    height: 688px; /* 860px × 0.8 = 688px（元の比率維持） */
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* 急停止感のあるイージング */
}

.talent-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.talent-banner-img.normal {
    opacity: 1;
    position: relative;
}

.talent-banner-img.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.talent-banner-link:hover .talent-banner-img.hover {
    opacity: 1;
}

.talent-banner-link:focus-visible {
    outline: 2px solid rgba(27, 23, 32, 0.5);
    outline-offset: 4px;
}

/* カミングスーンバナー */
.talent-banner-link.coming-soon {
    pointer-events: none; /* クリック無効 */
    cursor: default;
}

.talent-banner-link.coming-soon::before {
    display: none; /* シャドウを非表示 */
}

.talent-banner-link.coming-soon .talent-banner {
    transform: none; /* ホバー効果なし */
}

/* 旧メンバーグリッド（削除予定） */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.member-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.member-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.member-info {
    padding: 24px;
}

.member-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1b1720;
}

.member-role {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 16px;
}

.member-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* ========================================
   NEWSセクション
   ======================================== */

.news-section {
    min-height: 100vh;
    padding: var(--spacing-4xl) 0;
    color: #f7f9fb; /* 黒オーバーレイ用の明るい文字色 */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-layout {
    width: 100%;
    max-width: 1200px;
    padding: 0 var(--spacing-2xl);
    position: relative;
}

.news-subtitle {
    font-size: 3rem;
    font-weight: 900;
    color: #f7f9fb;
    letter-spacing: 0.25em; /* 文字間隔を広げる: 0.2em → 0.3em */
    margin-bottom: var(--spacing-lg);
    text-align: left;
    position: absolute;
    top: 20px; /* フレーム内に移動: この値を変更して上下位置を調整 */
    left: 180px; /* フレーム内に移動: この値を変更して左右位置を調整 */
    opacity: 0;
    transform: translateY(50px);
    z-index: 10;
}

/* セクションが表示された時にアニメーション開始 */
.news-section.visible .news-subtitle {
    animation: news-slide-up 0.195s ease-out forwards;
}

@keyframes news-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-frame-container {
    position: relative;
    width: 110%; /* 110%に拡大 */
    max-width: 1461px; /* 1328px × 1.1 = 1461px */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-frame-image {
    width: 100%;
    height: auto;
    display: block;
}

.news-section .news-list {
    position: absolute;
    top: 50%;
    left: 51%;
    transform: translate(-50%, -50%);
    width: 76%; /* 幅を縮める: この値を変更して調整（85% → 70%） */
    max-width: 1024px; /* 最大幅も調整 */
}

.news-section .news-item {
    margin-bottom: 0; /* 隙間をなくす */
    transition: transform 0.2s ease;
    opacity: 0;
    transform: translateY(50px);
}

/* セクションが表示された時にアニメーション開始 */
.news-section.visible .news-item {
    animation: news-item-slide-up 0.195s ease-out forwards;
}

/* 各ニュースアイテムに遅延を追加（順番に表示） */
.news-section.visible .news-item:nth-child(1) { animation-delay: 0.1s; }
.news-section.visible .news-item:nth-child(2) { animation-delay: 0.2s; }
.news-section.visible .news-item:nth-child(3) { animation-delay: 0.3s; }
.news-section.visible .news-item:nth-child(4) { animation-delay: 0.4s; }
.news-section.visible .news-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes news-item-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-section .news-item:last-child {
    margin-bottom: 0;
}

.news-section .news-item-link {
    display: flex;
    flex-direction: column; /* 縦方向に配置 */
    justify-content: center; /* 中央揃え */
    align-items: flex-start; /* 左寄せ */
    text-decoration: none;
    width: 100%;
    height: 110px;
    padding: 0 40px; /* 左右のpadding: 20px → 40px（もっと左にずらす） */
    border-radius: 0;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
}

/* 奇数記事: 黒背景に白文字（デフォルト） */
.news-item:nth-child(odd) .news-item-link {
    background-color: rgba(32, 32, 35, 0.8);
}

.news-item:nth-child(odd) .news-item-link:hover {
    background-color: rgba(32, 32, 35, 0.9);
}

/* 偶数記事: 白背景に黒文字 */
.news-item:nth-child(even) .news-item-link {
    background-color: rgba(247, 249, 251, 0.8);
}

.news-item:nth-child(even) .news-item-link:hover {
    background-color: rgba(247, 249, 251, 0.9);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 13px; /* 日付を5px下に: 8px → 13px */
}

.news-date {
    font-size: 1.1rem; /* 文字サイズを大きく: 0.85rem → 1.1rem */
    opacity: 0.8;
}

/* 奇数記事: 白文字 */
.news-item:nth-child(odd) .news-date {
    color: #f7f9fb;
}

/* 偶数記事: 黒文字 */
.news-item:nth-child(even) .news-date {
    color: #202023;
}

.news-category {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 奇数記事: 白文字、半透明白背景 */
.news-item:nth-child(odd) .news-category {
    background: rgba(247, 249, 251, 0.2);
    color: #f7f9fb;
}

/* 偶数記事: 黒文字、半透明黒背景 */
.news-item:nth-child(even) .news-category {
    background: rgba(32, 32, 35, 0.2);
    color: #202023;
}

.news-title {
    font-size: 1.5rem; /* 文字サイズを大きく: 1.1rem → 1.5rem */
    font-weight: 600;
    line-height: 1.4;
}

/* 奇数記事: 白文字 */
.news-item:nth-child(odd) .news-title {
    color: #f7f9fb;
}

/* 偶数記事: 黒文字 */
.news-item:nth-child(even) .news-title {
    color: #202023;
}

.news-empty {
    text-align: center;
    padding: 40px;
    color: #f7f9fb;
    opacity: 0.6;
}

.news-more-button {
    display: inline-flex; /* flexに変更して中央揃え */
    align-items: center;
    justify-content: center;
    width: 420px; /* 固定幅: この値を変更してボタンの幅を調整 */
    height: 90px; /* 固定高さ: この値を変更してボタンの高さを調整 */
    padding: 0; /* paddingを削除 */
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #f7f9fb;
    background-color: rgba(247, 249, 251, 0.2);
    border: 2px solid #f7f9fb;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    position: absolute;
    bottom: -10px; /* フレーム内に移動: この値を変更して上下位置を調整 */
    right: -65px; /* フレーム内に移動: この値を変更して左右位置を調整 */
    opacity: 0;
    transform: translateY(50px);
    z-index: 10;
}

/* セクションが表示された時にアニメーション開始 */
.news-section.visible .news-more-button {
    animation: news-button-slide-up 0.195s ease-out forwards;
    animation-delay: 0.6s; /* ニュースアイテムアニメーション後に開始 */
}

@keyframes news-button-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-more-button:hover {
    background-color: rgba(247, 249, 251, 0.3);
    transform: translateY(-2px);
}

.news-more-button:active {
    transform: translateY(0);
}

/* ========================================
   AUDITIONセクション
   ======================================== */

.audition-section {
    min-height: 100vh;
    padding: var(--spacing-4xl) 0;
    padding-bottom: 40px; /* 下部の余白を削減 */
    color: #f7f9fb; /* 黒オーバーレイ用の明るい文字色 */
    position: relative;
    display: flex;
    align-items: flex-start; /* 上寄せに変更 */
    padding-top: 120px; /* 上部の余白（225px → 120pxに調整） */
    padding-left: 5vw;
}

.audition-layout {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 0;
    align-items: flex-start; /* 上寄せに変更 */
    width: 100%;
}

.audition-subtitle-image {
    max-width: 100%;
    height: auto;
    margin-bottom: var(--spacing-lg);
    display: block;
}

.audition-title-image {
    max-width: 85%; /* サイズを80%に変更 */
    height: auto;
    margin-bottom: 32px;
    display: block;
    opacity: 0;
    transform: translateY(50px);
}

/* セクションが表示された時にアニメーション開始 */
.audition-section.visible .audition-title-image {
    animation: audition-slide-up 0.195s ease-out forwards;
}

@keyframes audition-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.audition-subtitle {
    font-size: 3rem;
    font-weight: 900;
    color: #f7f9fb; /* 黒オーバーレイ用の明るい文字色 */
    letter-spacing: 0.2em;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.audition-subtitle-text {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: var(--line-height-relaxed);
    color: #f7f9fb; /* 黒オーバーレイ用の明るい文字色 */
    letter-spacing: 0.15em; /* 0.05em → 0.1em に変更 */
    text-align: center;
    margin-bottom: var(--spacing-lg);
    margin-top: -10px; /* 10px上に移動 */
    opacity: 0;
    transform: translateY(50px);
    white-space: pre-line;
}

/* セクションが表示された時にアニメーション開始 */
.audition-section.visible .audition-subtitle-text {
    animation: audition-subtitle-slide-up 0.195s ease-out forwards;
    animation-delay: 0.195s; /* タイトル画像アニメーション後に開始 */
}

@keyframes audition-subtitle-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.audition-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* 上寄せに変更 */
    padding: 0 var(--spacing-2xl);
}

.audition-text {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: var(--line-height-relaxed);
    color: #f7f9fb; /* 黒オーバーレイ用の明るい文字色 */
    letter-spacing: 0.1em;
    text-align: left; /* 左寄せに変更 */
    padding: 32px;
    margin-top: 45px; /* 80px下に移動 */
    opacity: 0;
    transform: translateY(50px);
    white-space: pre-line;
}

/* セクションが表示された時にアニメーション開始 */
.audition-section.visible .audition-text {
    animation: audition-text-slide-up 0.195s ease-out forwards;
    animation-delay: 0.39s; /* サブタイトルアニメーション後に開始 */
}

@keyframes audition-text-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.audition-button {
    display: inline-block;
    padding: 16px 64px;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #f7f9fb; /* 黒オーバーレイ用の明るい文字色 */
    background-color: rgba(247, 249, 251, 0.2);
    border: 2px solid #f7f9fb;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 32px;
    opacity: 0;
    transform: translateY(50px);
}

/* セクションが表示された時にアニメーション開始 */
.audition-section.visible .audition-button {
    animation: audition-button-slide-up 0.195s ease-out forwards;
    animation-delay: 0.585s; /* 本文アニメーション後に開始 */
}

@keyframes audition-button-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.audition-button:hover {
    background-color: rgba(247, 249, 251, 0.3);
    transform: translateY(-2px);
}

.audition-button:active {
    transform: translateY(0);
}

.audition-empty {
    width: 100%;
}

.audition-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--spacing-2xl);
}

/* ========================================
   GUIDELINEセクション
   ======================================== */

.guideline-section {
    min-height: 100vh;
    padding: var(--spacing-4xl) 0;
    padding-bottom: 40px; /* 下部の余白を削減 */
    color: #202023; /* 白オーバーレイ用の暗い文字色 */
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-top: 120px;
    padding-left: 5vw;
}

.guideline-layout {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 0;
    align-items: flex-start;
    width: 100%;
}

.guideline-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 var(--spacing-2xl);
}

.guideline-title {
    font-size: 3rem;
    font-weight: 900;
    color: #202023; /* 白オーバーレイ用の暗い文字色 */
    letter-spacing: 0.2em;
    margin-bottom: 32px;
    text-align: center;
    width: 85%;
    opacity: 0;
    transform: translateY(50px);
}

/* セクションが表示された時にアニメーション開始 */
.guideline-section.visible .guideline-title {
    animation: guideline-slide-up 0.195s ease-out forwards;
}

@keyframes guideline-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guideline-text {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: var(--line-height-relaxed);
    color: #202023; /* 白オーバーレイ用の暗い文字色 */
    letter-spacing: 0.1em;
    text-align: left;
    padding: 32px;
    margin-top: 45px;
    opacity: 0;
    transform: translateY(50px);
    white-space: pre-line;
}

/* セクションが表示された時にアニメーション開始 */
.guideline-section.visible .guideline-text {
    animation: guideline-text-slide-up 0.195s ease-out forwards;
    animation-delay: 0.195s;
}

@keyframes guideline-text-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guideline-button {
    display: inline-block;
    padding: 16px 64px;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #f7f9fb; /* 白文字 */
    background-color: rgba(32, 32, 35, 0.8); /* 黒背景 */
    border: 2px solid #202023; /* 黒ボーダー */
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 32px;
    opacity: 0;
    transform: translateY(50px);
}

/* セクションが表示された時にアニメーション開始 */
.guideline-section.visible .guideline-button {
    animation: guideline-button-slide-up 0.195s ease-out forwards;
    animation-delay: 0.39s;
}

@keyframes guideline-button-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guideline-button:hover {
    background-color: rgba(32, 32, 35, 0.9); /* ホバー時少し濃く */
    transform: translateY(-2px);
}

.guideline-button:active {
    transform: translateY(0);
}

.guideline-empty {
    width: 100%;
}

/* ガイドラインページ */
.guideline-page {
    min-height: 100vh;
    padding: 120px 0 80px;
    background-color: #f7f9fb;
}

.guideline-page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-2xl);
}

.guideline-page-title {
    font-size: 3rem;
    font-weight: 900;
    color: #202023;
    letter-spacing: 0.2em;
    margin-bottom: var(--spacing-3xl);
    text-align: center;
}

.guideline-page-content {
    background-color: #ffffff;
    padding: var(--spacing-3xl);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.guideline-page-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #202023;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid #e0e0e0;
}

.guideline-page-content h2:first-child {
    margin-top: 0;
}

.guideline-page-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #202023;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.guideline-page-content p {
    font-size: 16px;
    line-height: var(--line-height-relaxed);
    color: #404045;
    margin-bottom: var(--spacing-md);
}

.guideline-page-content ul {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-xl);
}

.guideline-page-content li {
    font-size: 16px;
    line-height: var(--line-height-relaxed);
    color: #404045;
    margin-bottom: var(--spacing-sm);
}

/* ========================================
   お問い合わせセクション
   ======================================== */

#contact {
    color: #202023; /* 白オーバーレイ用の暗い文字色 */
    padding-top: 20px; /* 上部パディングを調整 */
    min-height: 95dvh; /* 3種ボタンと同じ高さに設定 */
}

.contact-layout {
    display: flex;
    justify-content: space-between; /* 左右に配置 */
    align-items: flex-start; /* 上寄せに変更 */
    padding: 0 125px 0 20px; /* 左右パディング: 左20px、右125px */
    margin-top: -20px; /* 上マージン: 元に戻す */
}

.contact-left {
    flex-shrink: 0;
    width: 480px; /* 固定幅: 500px - 20px = 480px */
    padding-left: 60px; /* 左側のスペース: 40px + 20px = 60px */
    position: relative; /* 重なりを許可 */
    z-index: 1; /* 文字を前面に */
}

.contact-subtitle {
    font-size: 3rem; /* ABOUTセクションと統一 */
    font-weight: 700;
    color: #202023; /* 白オーバーレイ用の暗い文字色 */
    margin: 0;
    margin-left:-10px;
    margin-top: 14dvh; /* 上からの位置: dvhで指定 */
    opacity: 0;
    transform: translateY(50px);
}

/* セクションが表示された時にアニメーション開始 */
#contact.visible .contact-subtitle {
    animation: banner-slide-up 0.195s ease-out forwards;
}

.contact-text {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
    color: #202023;
    margin: 0;
    margin-left: -10px;
    margin-top: 24px;
    opacity: 0;
    transform: translateY(50px);
    white-space: pre-line;
}

/* セクションが表示された時にアニメーション開始 */
#contact.visible .contact-text {
    animation: banner-slide-up 0.195s ease-out forwards;
    animation-delay: 0.195s; /* サブタイトルアニメーション後に開始 */
}

.contact-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    position: absolute; /* 絶対配置に変更 */
    right: 125px; /* 右端から125pxの位置に固定 */
    top: 0; /* 上端基準 */
    z-index: 2; /* ボタンを前面に */
}

.contact-button {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    overflow: visible;
    display: inline-block;
    margin-left: 0px; /* バナー間の距離: 狭く調整 */
    width: 38.6dvh; /* 通常時: 400px → 38.6dvh */
    height: 95dvh; /* 985px → 95dvh */
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                margin-left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* transformも追加 */
}

/* PC版：テキストラベルを非表示 */
.contact-button-label {
    display: none;
}

/* PC版のみ：アニメーション設定 */
@media (min-width: 769px) {
    .contact-button {
        opacity: 0;
        transform: translateY(50px);
    }
    
    /* セクションが表示された時にアニメーション開始 */
    #contact.visible .contact-button {
        animation: banner-slide-up 0.195s ease-out forwards;
    }
    
    /* 各バナーに遅延を追加（順番に表示） */
    #contact.visible .contact-button:nth-child(1) { animation-delay: 0s; }
    #contact.visible .contact-button:nth-child(2) { animation-delay: 0.1s; }
    #contact.visible .contact-button:nth-child(3) { animation-delay: 0.2s; }
}

.contact-button:first-child {
    margin-left: 0;
}

/* PC版のみ：ホバースタイル */
@media (min-width: 769px) {
    .contact-button:hover {
        z-index: 10;
        width: 105.2dvh; /* ホバー時: 1090px → 105.2dvh */
    }

    /* 一番左のボタンは左にずらす */
    .contact-button:first-child:hover {
        width: 105.2dvh; /* 1090px → 105.2dvh */
        transform: translateX(0px); /* 左に200pxずらす */
    }

    /* 他のボタンがホバーされている時は細くする */
    .contact-buttons:has(.contact-button:hover) .contact-button:not(:hover) {
        width: 19.3dvh; /* 非選択時: 200px → 19.3dvh */
    }

    /* 一番左のボタンがホバー時、2番目と3番目も左にずらす */
    .contact-buttons:has(.contact-button:first-child:hover) .contact-button:nth-child(2) {
        transform: translateX(0px);
    }

    .contact-buttons:has(.contact-button:first-child:hover) .contact-button:nth-child(3) {
        transform: translateX(0px);
    }

    /* 3番目のボタンがホバー時、2番目のボタンを細くする */
    .contact-buttons:has(.contact-button:last-child:hover) .contact-button:nth-child(2) {
        width: 19.3dvh; /* 非選択時: 200px → 19.3dvh */
    }
}

/* 平行四辺形の背景 */
.contact-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 1); /* デフォルト: 白 */
    transform: skewX(-20deg);
    transform-origin: right center;
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                background-color 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* 色変化もアニメーション */
    z-index: 1;
}

/* 個人様依頼バナーの背景色 */
.contact-button[data-inquiry-type="individual"] .contact-bg {
    background-color: rgba(123,128,135, 1); /* 通常時の色（調整可能） */
}

.contact-button[data-inquiry-type="individual"]:hover .contact-bg {
    background-color: rgba(255, 255, 255, 1); /* ホバー時は白 */
}

/* 企業様案件バナーの背景色 */
.contact-button[data-inquiry-type="corporate"] .contact-bg {
    background-color: rgba(72,77,84, 1); /* 通常時の色（調整可能） */
}

.contact-button[data-inquiry-type="corporate"]:hover .contact-bg {
    background-color: rgba(255, 255, 255, 1); /* ホバー時は白 */
}

/* コラボレーションバナーの背景色 */
.contact-button[data-inquiry-type="collaboration"] .contact-bg {
    background-color: rgba(34,36,39, 1); /* 通常時の色（調整可能） */
}

.contact-button[data-inquiry-type="collaboration"]:hover .contact-bg {
    background-color: rgba(255, 255, 255, 1); /* ホバー時は白 */
}

.contact-button:hover .contact-bg {
    width: 100%;
}

/* お問い合わせボタン（バナー左下） - PC版では非表示 */
.contact-action-button {
    display: none;
}

/* バナー見出し画像 */
.contact-banner {
    position: absolute;
    bottom: 5.79dvh; /* 下からの位置: 60px → 5.79dvh (60 * 0.0965) */
    left: -5%; /* 横位置: 値を大きくすると右に移動 */
    transform: translateX(-50%); /* 横方向のみ中央揃え */
    width: auto; /* 画像のそのままのサイズ */
    height: auto; /* 画像のそのままのサイズ */
    max-width: none; /* サイズ固定: 縮小しない */
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.3s ease, left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* leftにもトランジション追加 */
}

.contact-banner.off {
    opacity: 1;
}

.contact-banner.on {
    opacity: 0;
}

/* PC版のみ：バナーホバースタイル */
@media (min-width: 769px) {
    .contact-button:hover .contact-banner {
        left: 0%; /* ホバー時は左に移動（調整可能） */
    }

    .contact-button:hover .contact-banner.off {
        opacity: 0;
    }

    .contact-button:hover .contact-banner.on {
        opacity: 1;
    }
}

/* コラボレーションバナーの見出し位置調整 */
.contact-button[data-inquiry-type="collaboration"] .contact-banner {
    left: 0%; /* 非選択時の横位置: 右に20px相当ずらす */
}

/* PC版のみ：コラボレーションバナーホバー */
@media (min-width: 769px) {
    .contact-button[data-inquiry-type="collaboration"]:hover .contact-banner {
        left: 0%; /* ホバー時は通常と同じ */
    }
}

/* ビジュアル画像のラッパー */
.contact-visual-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden; /* クリッピング（はみ出た部分を隠す） */
    z-index: 2;
    transform: skewX(-20deg);
    transform-origin: right center;
}

/* ビジュアル画像 */
.contact-visual {
    position: absolute;
    top: 0;
    left: -89.8dvh; /* 通常時の左右位置: -930px → -89.8dvh */
    width: auto; /* 画像の元サイズ */
    height: 95dvh; /* 画像の高さ: 985px → 95dvh */
    object-fit: cover; /* 画像をカバー表示 */
    transition: opacity 0.3s ease, left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* 位置のみトランジション */
    transform: skewX(20deg);
    transform-origin: right center;
}

/* ホバー時の画像位置 */
.contact-button:hover .contact-visual {
    left: 0dvh; /* ホバー時の左右位置: 0px → 0dvh */
}

/* 非選択時（他のボタンがホバーされている時）の画像位置 */
.contact-buttons:has(.contact-button:hover) .contact-button:not(:hover) .contact-visual {
    left: -59.9dvh; /* 非選択時の左右位置: -620px → -59.9dvh */
}

/* ========================================
   各バナーごとの画像位置調整
   ======================================== */

/* 個人様依頼バナー（1番目） */
.contact-button[data-inquiry-type="individual"] .contact-visual {
    left: -55.0dvh; /* 通常時の左位置: -570px → -55.0dvh */
    top: 0.0dvh; /* 通常時の上位置: -35px → -3.4dvh */
}

.contact-button[data-inquiry-type="individual"]:hover .contact-visual {
    left: -10.5dvh; /* ホバー時の左位置: -109px → -10.5dvh */
    top: 0.0dvh; /* ホバー時の上位置: -35px → -3.4dvh */
}

.contact-buttons:has(.contact-button:hover) .contact-button[data-inquiry-type="individual"]:not(:hover) .contact-visual {
    left: -57.9dvh; /* 非選択時の左位置: -600px → -57.9dvh */
    top: 0.0dvh; /* 非選択時の上位置: -40px → -3.9dvh */
}

/* 企業様案件バナー（2番目） */
.contact-button[data-inquiry-type="corporate"] .contact-visual {
    left: -18.0dvh; /* 通常時の左位置: -480px → -46.3dvh */
    top: 0.0dvh; /* 通常時の上位置: -35px → -3.4dvh */
}

.contact-button[data-inquiry-type="corporate"]:hover .contact-visual {
    left: -10.0dvh; /* ホバー時の左位置: -436px → -42.1dvh */
    top: 0.0dvh; /* ホバー時の上位置: -35px → -3.4dvh */
}

.contact-buttons:has(.contact-button:hover) .contact-button[data-inquiry-type="corporate"]:not(:hover) .contact-visual {
    left: -20.0dvh; /* 非選択時の左位置: -500px → -48.3dvh */
    top: 0.0dvh; /* 非選択時の上位置: -35px → -3.4dvh */
}

/* コラボレーションバナー（3番目） */
.contact-button[data-inquiry-type="collaboration"] .contact-visual {
    left: -44.0dvh; /* 通常時の左位置: -560px → -54.0dvh */
    top: 0.0dvh; /* 通常時の上位置: -10px → -1.0dvh */
}

.contact-button[data-inquiry-type="collaboration"]:hover .contact-visual {
    left: -15.4dvh; /* ホバー時の左位置: -160px → -15.4dvh */
    top: 0.0dvh; /* ホバー時の上位置: -10px → -1.0dvh */
}

.contact-buttons:has(.contact-button:hover) .contact-button[data-inquiry-type="collaboration"]:not(:hover) .contact-visual {
    left: -55.0dvh; /* 非選択時の左位置: -570px → -55.0dvh */
    top: 0.0dvh; /* 非選択時の上位置: -10px → -1.0dvh */
}

.contact-visual.off {
    opacity: 1;
}

.contact-visual.on {
    opacity: 0;
}

.contact-button:hover .contact-visual.off {
    opacity: 0;
}

.contact-button:hover .contact-visual.on {
    opacity: 1;
}

/* お問い合わせモーダル */
/* NOTE: contact-modal のスタイルは contact-modal.css に移動しました */

#contact .contact-form {
    max-width: 600px;
    margin: 0 auto;
}

#contact .form-group {
    margin-bottom: 24px;
}

#contact .form-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

#contact .form-input,
#contact .form-textarea,
#contact .form-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s;
    font-family: 'Noto Sans JP', sans-serif;
}

#contact .form-input:focus,
#contact .form-textarea:focus,
#contact .form-select:focus {
    outline: none;
    border-color: #1b1720;
}

#contact .form-textarea {
    resize: vertical;
    min-height: 150px;
}

#contact .form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: #1b1720;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

#contact .form-submit:hover {
    background: #2d2535;
    transform: translateY(-2px);
}

#contact .form-submit:active {
    transform: translateY(0);
}

/* ========================================
   フッター
   ======================================== */

#footer {
    background: rgba(27, 23, 32, 0.95);
    color: #f7f9fb; /* 黒オーバーレイ用の明るい文字色 */
    padding: 60px 0 30px;
    min-height: auto;
}

#footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

#footer .footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

#footer .footer-section ul {
    list-style: none;
    padding: 0;
}

#footer .footer-section li {
    margin-bottom: 12px;
}

#footer .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

#footer .footer-section a:hover {
    color: #f7f9fb;
}

#footer .footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ========================================
   レスポンシブ対応
   ======================================== */

@media (max-width: 767px) {
    .section-inner {
        padding: 40px 24px !important;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
    
    /* ABOUTセクション - モバイル */
    #about {
        padding: 60px 0 !important;
    }
    
    .about-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding-left: 0 !important;
    }
    
    .about-content {
        width: 100% !important;
        text-align: center !important;
        padding: 40px 24px !important;
    }
    
    .about-subtitle {
        font-size: 36px !important;
        margin-bottom: 24px !important;
        text-align: center !important;
    }
    
    .about-text {
        font-size: 18px !important;
        line-height: 1.8 !important;
        margin-bottom: 32px !important;
        text-align: left !important;
        padding: 0 20px !important;
    }
    
    .about-character {
        display: flex !important;
        justify-content: center !important;
    }
    
    .about-character-image {
        max-width: 80dvw !important;
        height: auto !important;
    }
    
    /* ロゴを非表示 */
    .about-logo {
        display: none !important;
    }
    
    /* クリエイター・タレントセクション - モバイル */
    #creator,
    #talent {
        padding: 60px 0 !important;
    }
    
    #creator .section-title,
    #talent .section-title {
        font-size: 30px !important;
        padding-left: 20px !important;
        margin-bottom: 24px !important;
        text-align: left !important;
    }
    
    .creator-banner-grid,
    .talent-banner-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
        padding: 0 20px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        overflow-x: visible !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }
    
    .creator-banner-link,
    .talent-banner-link {
        width: 100% !important;
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* モバイルではアニメーションを無効化 */
    #creator.visible .creator-banner-link,
    #talent.visible .talent-banner-link {
        animation: none !important;
    }
    
    /* モバイルではホバー効果を無効化 */
    .creator-banner-link::before,
    .talent-banner-link::before {
        display: none !important;
    }
    
    .creator-banner-link:hover .creator-banner,
    .talent-banner-link:hover .talent-banner {
        transform: none !important;
    }
    
    .creator-banner,
    .talent-banner {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        position: relative !important;
        min-height: 48px !important;
    }
    
    .creator-banner-img,
    .talent-banner-img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* モバイルではPC用画像を非表示 */
    .creator-banner-img.desktop-only,
    .talent-banner-img.desktop-only {
        display: none !important;
    }
    
    /* モバイル用画像を表示 */
    .creator-banner-img.mobile-only,
    .talent-banner-img.mobile-only {
        display: block !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* ヒーローセクション - モバイル */
    #hero {
        min-height: 100dvh !important;
        height: 100dvh !important;
        padding: 40px 24px !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        position: relative !important;
        padding-bottom: 120px !important;
    }
    
    .hero-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-end !important;
        text-align: center !important;
        gap: 32px !important;
        height: auto !important;
        width: 100% !important;
    }
    
    /* モバイル用ロゴを表示 */
    .hero-mobile-logo {
        display: block !important;
        width: 75dvw !important;
        height: auto !important;
        margin-bottom: 24px !important;
    }
    
    /* ニューススライドショーとキャッチコピー画像を非表示 */
    .hero-news-slideshow,
    .hero-right,
    .hero-catchcopy {
        display: none !important;
    }
    
    .hero-left {
        padding: 0 !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* サブタイトル（hero.catchcopy翻訳テキスト） */
    .hero-mobile-subtitle {
        display: block !important; /* モバイルでは表示 */
        font-size: 28px !important;
        font-weight: 700 !important;
        line-height: 1.6 !important;
        text-align: center !important;
        color: #fff !important;
        margin-bottom: 32px !important;
        letter-spacing: 0.05em !important;
        width: 80dvw !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* キャッチコピー画像の代替テキスト表示用 */
    .catchcopy-image {
        display: none !important;
    }
    
    /* SNSアイコン - 右下配置（モバイル） */
    .hero-social-links {
        position: absolute !important;
        bottom: 30px !important;
        right: 24px !important;
        left: auto !important;
        display: flex !important;
        gap: 12px !important;
        justify-content: flex-end !important;
    }
    
    .social-link {
        width: 60px !important;
        height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .social-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-logo {
        width: 200px !important;
    }
    
    /* AUDITIONセクション - モバイル */
    #audition {
        padding: 60px 0 !important;
    }
    
    .audition-section {
        padding: 60px 0 !important;
        padding-top: 60px !important;
        padding-left: 0 !important;
    }
    
    .audition-layout {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    /* 左側コンテンツを中央揃えに */
    .audition-content {
        width: 100% !important;
        text-align: center !important;
        padding: 40px 24px !important;
    }
    
    .audition-title-image {
        max-width: 70% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .audition-subtitle-text {
        font-size: 18px !important;
        text-align: left !important;
        padding: 0 20px !important;
    }
    
    .audition-text {
        font-size: 18px !important;
        line-height: 1.8 !important;
        text-align: left !important;
        padding: 0 20px !important;
        margin-top: 24px !important;
    }
    
    .audition-button {
        font-size: 18px !important;
        padding: 12px 32px !important;
    }
    
    /* 右側（空白エリア）を非表示 */
    .audition-empty {
        display: none !important;
    }
    
    /* GUIDELINEセクション - モバイル */
    #guideline {
        padding: 60px 0 !important;
    }
    
    .guideline-section {
        padding: 60px 0 !important;
        padding-top: 60px !important;
        padding-left: 0 !important;
    }
    
    .guideline-layout {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    /* 左側コンテンツを中央揃えに */
    .guideline-content {
        width: 100% !important;
        text-align: center !important;
        padding: 40px 24px !important;
    }
    
    .guideline-title {
        font-size: 30px !important;
        margin-bottom: 24px !important;
        text-align: left !important;
        padding: 0 20px !important;
        width: 100% !important;
    }
    
    .guideline-text {
        font-size: 18px !important;
        line-height: 1.8 !important;
        text-align: left !important;
        padding: 0 20px !important;
        margin-top: 24px !important;
    }
    
    .guideline-button {
        font-size: 18px !important;
        padding: 12px 32px !important;
    }
    
    /* 右側（空白エリア）を非表示 */
    .guideline-empty {
        display: none !important;
    }
    
    .members-grid {
        grid-template-columns: 1fr !important;
    }
    
    #footer .footer-content {
        grid-template-columns: 1fr !important;
    }
    
    /* NEWSセクション - モバイル */
    #news {
        padding: 60px 0 !important;
    }
    
    .news-layout {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 20px !important;
    }
    
    /* タイトルを左上に */
    .news-subtitle {
        font-size: 30px !important;
        margin-bottom: 24px !important;
        text-align: left !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* モバイルではアニメーションを無効化 */
    .news-section.visible .news-subtitle {
        animation: none !important;
    }
    
    /* ニューススライドショー（ヒーローから移動） */
    #news .hero-news-slideshow {
        display: block !important;
        width: 100% !important;
        margin-bottom: 32px !important;
        max-width: 100% !important;
    }
    
    /* ヒーローセクションのニューススライドショーを非表示 */
    #hero .hero-news-slideshow {
        display: none !important;
    }
    
    /* ニュースフレーム画像を非表示 */
    .news-frame-container {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .news-frame-image {
        display: none !important;
    }
    
    /* ニュース5件リスト */
    .news-section .news-list {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        margin-bottom: 24px !important;
    }
    
    .news-section .news-item {
        margin-bottom: 0 !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* モバイルではアニメーションを無効化 */
    .news-section.visible .news-item {
        animation: none !important;
    }
    
    .news-section .news-item-link {
        height: auto !important;
        min-height: 48px !important;
        padding: 16px 20px !important;
        border-radius: 8px !important;
    }
    
    .news-meta {
        margin-bottom: 8px !important;
    }
    
    .news-date {
        font-size: 14px !important;
    }
    
    .news-title {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
    
    /* Moreボタン */
    .news-more-button {
        position: static !important;
        bottom: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 300px !important;
        height: auto !important;
        min-height: 48px !important;
        margin: 0 auto !important;
        padding: 12px 24px !important;
        font-size: 18px !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* モバイルではアニメーションを無効化 */
    .news-section.visible .news-more-button {
        animation: none !important;
    }
    
    /* CONTACTセクション - モバイル */
    #contact {
        padding: 60px 0 !important;
        min-height: auto !important;
    }
    
    .contact-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0px !important;
    }
    
    .contact-left {
        width: 100% !important;
        margin-bottom: 32px !important;
        padding-left: 0 !important;
        z-index: auto !important;
    }
    
    .contact-subtitle {
        font-size: 40px !important;
        text-align: left !important;
        margin-top: 0 !important;
        margin-left: 5px !important;
        position: static !important;
        opacity: 1 !important;
        transform: none !important;
        color: #f7f9fb !important;
    }
    
    /* モバイルではアニメーションを無効化 */
    #contact.visible .contact-subtitle {
        animation: none !important;
    }
    
    .contact-text {
        font-size: 16px !important;
        text-align: left !important;
        margin-top: 16px !important;
        margin-left: 5px !important;
        opacity: 1 !important;
        transform: none !important;
        color: #f7f9fb !important;
        line-height: 1.6 !important;
    }
    
    /* モバイルではアニメーションを無効化 */
    #contact.visible .contact-text {
        animation: none !important;
    }
    
    .contact-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0px !important;
        width: 100% !important;
        position: static !important;
        right: auto !important;
        top: auto !important;
        z-index: auto !important;
    }
    
    .contact-button {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 48px !important;
        position: relative !important;
        cursor: pointer !important;
        margin-left: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    
    /* モバイルではアニメーションを無効化 */
    #contact.visible .contact-button {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* モバイル用：テキストラベル */
    .contact-button-label {
        display: block !important;
        position: absolute !important;
        top: 10px !important;
        left: 10px !important;
        transform: none !important;
        font-size: 40px !important; /* 初期値、JavaScriptで調整 */
        font-weight: 700 !important;
        z-index: 10 !important;
        pointer-events: none !important;
        width: 65dvw !important; /* 横幅を65dvwに拡大 */
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: clip !important;
        text-align: left !important; /* 左揃え */
    }
    
    /* モバイル用：お問い合わせボタン */
    .contact-action-button {
        display: block !important;
        position: absolute !important;
        bottom: 10px !important; /* 20px → 10px */
        left: 10px !important; /* 20px → 10px */
        padding: 8px 20px !important; /* 10px → 8px（縦を細く） */
        font-size: 16px !important;
        font-weight: 700 !important;
        border: 1px solid !important;
        border-radius: 8px !important;
        z-index: 10 !important;
        pointer-events: none !important;
    }
    
    /* 個人様依頼（1番目）：グレー背景なので黒ボタン */
    .contact-button[data-inquiry-type="individual"] .contact-action-button {
        color: #202023 !important;
        background-color: rgba(247, 249, 251, 0.9) !important;
        border-color: #202023 !important;
    }
    
    /* 企業様案件（2番目）：黒背景なので白ボタン */
    .contact-button[data-inquiry-type="corporate"] .contact-action-button {
        color: #f7f9fb !important;
        background-color: rgba(32, 32, 35, 0.8) !important;
        border-color: #f7f9fb !important;
    }
    
    /* コラボレーション（3番目）：黒背景なので黒ボタン */
    .contact-button[data-inquiry-type="collaboration"] .contact-action-button {
        color: #202023 !important;
        background-color: rgba(247, 249, 251, 0.9) !important;
        border-color: #202023 !important;
    }
    
    /* 個人様依頼：白文字 */
    .contact-button[data-inquiry-type="individual"] .contact-button-label {
        color: #f7f9fb !important;
    }
    
    /* 企業様案件：黒文字 */
    .contact-button[data-inquiry-type="corporate"] .contact-button-label {
        color: #202023 !important;
    }
    
    /* コラボレーション：白文字 */
    .contact-button[data-inquiry-type="collaboration"] .contact-button-label {
        color: #f7f9fb !important;
    }
    
    /* PC版の装飾を非表示 */
    .contact-bg,
    .contact-visual-wrapper {
        display: none !important;
    }
    
    /* モバイル用：バナー見出し画像を1枚表示 */
    .contact-banner {
        position: static !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        z-index: auto !important;
        transition: none !important;
        opacity: 1 !important;
    }
    
    /* モバイル用：バナー画像をスマホ用に切り替え */
    .contact-button[data-inquiry-type="individual"] .contact-banner {
        content: url('/img/sumaho_contact_personal.png') !important;
    }
    
    .contact-button[data-inquiry-type="corporate"] .contact-banner {
        content: url('/img/sumaho_contact_business.png') !important;
    }
    
    .contact-button[data-inquiry-type="collaboration"] .contact-banner {
        content: url('/img/sumaho_contact_collabo.png') !important;
    }
    
    .contact-banner.off {
        display: block !important;
        opacity: 1 !important;
    }
    
    .contact-banner.on {
        display: none !important;
        opacity: 0 !important;
    }
    
    /* モバイル用：画像を1枚表示 */
    .contact-button img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* ガイドラインページ - モバイル */
    .guideline-page {
        padding: 80px 0 60px !important;
    }
    
    .guideline-page-container {
        padding: 0 16px !important;
    }
    
    .guideline-page-title {
        font-size: 2rem !important;
        margin-bottom: var(--spacing-xl) !important;
    }
    
    .guideline-page-content {
        padding: var(--spacing-xl) !important;
    }
    
    .guideline-page-content h2 {
        font-size: 1.5rem !important;
    }
    
    .guideline-page-content h3 {
        font-size: 1.25rem !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* タブレット対応 */
    
    /* ABOUTセクション - タブレット */
    .about-layout {
        gap: var(--spacing-2xl);
    }
    
    .about-subtitle-image {
        max-width: 80%;
    }
    
    .about-subtitle {
        font-size: 2.5rem;
    }
    
    .about-text {
        font-size: var(--font-size-base);
    }
    
    /* AUDITIONセクション - タブレット */
    .audition-layout {
        gap: var(--spacing-2xl);
    }
    
    .audition-subtitle-image {
        max-width: 80%;
    }
    
    .audition-subtitle {
        font-size: 2.5rem;
    }
    
    .audition-text {
        font-size: var(--font-size-base);
    }
    
    /* ヒーローセクション - タブレット */
    .hero-left {
        padding: 80px 40px 80px 60px;
    }
    
    .hero-social-links {
        left: 60px;
    }
    
    .slide-title {
        font-size: 1.75rem;
    }
}

/* PC版（768px以上）：ニューススライドショーをニュースセクションで非表示 */
@media (min-width: 768px) {
    #news .hero-news-slideshow {
        display: none;
    }
}
