@charset "UTF-8";

/* =========================================================
   1. 変数定義・全体設定
========================================================= */
:root {
    --primary-color: #8b5fd6;
    --accent-color: #d4af37;
    --bg-paper: #f9f6f1;
    --bg-light: #f3effc;
    --text-black: #333;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Shippori Mincho', serif;
    background-color: var(--bg-paper);
    color: var(--text-black);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

.container {
    padding: 80px 10%;
    max-width: 1000px;
    margin: 0 auto;
}

.bg-light-purple {
    background-color: var(--bg-light);
}

/* =========================================================
   2. ヘッダー・ナビゲーション
========================================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 100;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

nav .logo {
    position: relative;
    z-index: 1000; /* メニューを開いた時もロゴを上に表示 */
}

nav .logo img {
    height: 40px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-black);
    font-weight: bold;
    transition: 0.3s;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--primary-color);
}

/* PCではハンバーガーボタンを非表示 */
.hamburger {
    display: none;
}

/* =========================================================
   3. 各セクション共通タイトル
========================================================= */
.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--accent-color);
    display: inline-block;
    width: 100%;
    padding-bottom: 10px;
}

/* =========================================================
   4. メインビジュアル（ファストビュー）
========================================================= */
.main-visual {
    height: 85vh;
    min-height: 560px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3effc 0%, #e8e0f5 50%, #d8cef0 100%);
    overflow: hidden;
    margin-top: 60px;
    position: relative;
}

.mv-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    padding: 0 5% 50px;
    height: 100%;
}

.mv-text {
    flex: 1;
    z-index: 1;
    align-self: center;
}

.mv-label {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--primary-color);
    margin: 0 0 16px;
    opacity: 0.8;
}

.mv-name {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin: 0 0 24px;
    line-height: 1.3;
    letter-spacing: 0.1em;
}

.mv-copy {
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 40px;
    line-height: 2;
}

.mv-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.95rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 95, 214, 0.3);
}

.mv-btn:hover {
    background: #7a4ec4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 95, 214, 0.45);
}

.mv-chara-wrap {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    padding-top: 60px;
}

.mv-chara {
    height: 88vh;
    max-height: 750px;
    width: auto;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(6px 0px 20px rgba(139, 95, 214, 0.25));
    animation: chara-float 5s ease-in-out infinite;
}

@keyframes chara-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}

/* 小物デコレーション */
.mv-deco {
    position: absolute;
    pointer-events: none;
    opacity: 0.85;
}

.mv-deco1 {
    width: 120px;
    top: 12%;
    left: 4%;
    animation: deco-float1 6s ease-in-out infinite;
}

.mv-deco2 {
    width: 160px;
    bottom: 8%;
    left: 3%;
    animation: deco-float2 7s ease-in-out infinite;
}

.mv-deco3 {
    width: 100px;
    top: 10%;
    right: 3%;
    animation: deco-float1 8s ease-in-out infinite 1s;
}

.mv-deco4 {
    width: 140px;
    bottom: 10%;
    right: 2%;
    animation: deco-float2 6.5s ease-in-out infinite 0.5s;
}

.mv-deco5 {
    width: 90px;
    top: 50%;
    left: 28%;
    transform: translateY(-50%);
    animation: deco-float1 7.5s ease-in-out infinite 2s;
}

@keyframes deco-float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes deco-float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
}

/* =========================================================
   5. 新着情報 (NEWS)
========================================================= */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.news-list li {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px dashed #ccc;
    flex-wrap: wrap;
    gap: 15px;
}

.news-date {
    font-weight: bold;
    color: #666;
    min-width: 110px;
}

.news-label {
    padding: 4px 12px;
    border-radius: 4px;
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
    min-width: 60px;
}

.news-label.info { background-color: var(--primary-color); }
.news-label.live { background-color: #e05c5c; }
.news-label.movie { background-color: #5c8ee0; }

.news-text {
    flex: 1;
    min-width: 250px;
}

/* =========================================================
   6. プロフィール (PROFILE)
========================================================= */
.profile-flex {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.prof-img {
    flex-shrink: 0;
}

.prof-icon {
    width: 450px;
    height: auto;
    display: block;
    border-radius: 8px;
    filter: drop-shadow(4px 8px 12px rgba(139, 95, 214, 0.4));
}

.prof-text {
    flex-grow: 1;
}

.prof-list {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    margin-bottom: 30px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 25px;
}

.prof-list dt {
    font-weight: bold;
    color: var(--primary-color);
}

.prof-list dd {
    margin: 0;
}

.prof-desc p {
    margin-bottom: 20px;
}

/* =========================================================
   7. 活動 (ACTIVITY - Swiper カルーセル・矢印変更版)
========================================================= */
.activity-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

#activity {
    position: relative;
}

.activity-swiper {
    position: relative;
    padding-bottom: 60px;
    padding-left: 60px;
    padding-right: 60px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

.swiper-button-prev,
.swiper-button-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(139, 95, 214, 0.2);
    top: 50%;
    transform: translateY(-50%) translateY(-30px);
    transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(139, 95, 214, 0.4);
}

.swiper-button-prev { left: 10px; }
.swiper-button-next { right: 10px; }

.swiper-button-prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M65 25 L40 50 L65 75' stroke='%238b5fd6' stroke-width='6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center left 11px;
}
.swiper-button-prev:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M65 25 L40 50 L65 75' stroke='white' stroke-width='8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.swiper-button-next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M35 25 L60 50 L35 75' stroke='%238b5fd6' stroke-width='6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center right 11px;
}
.swiper-button-next:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M35 25 L60 50 L35 75' stroke='white' stroke-width='8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.swiper-pagination-bullet { background-color: #ccc; opacity: 1; }
.swiper-pagination-bullet-active { background-color: var(--primary-color) !important; }

/* =========================================================
   8. SNS & LINKS
========================================================= */
.sns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.sns-btn {
    display: block;
    text-align: center;
    padding: 20px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sns-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 95, 214, 0.3);
}

/* =========================================================
   9. クリエイター紹介 (CREATORS)
========================================================= */
.creators-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.creator-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.creator-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.creator-item h3 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.creator-item p { margin: 0 0 5px 0; font-weight: bold; }
.creator-item a { color: #555; word-break: break-all; text-decoration: underline; text-decoration-color: #ccc; }
.creator-item a:hover { color: var(--primary-color); }

/* =========================================================
   10. 利用規約ページ専用 (terms.html)
========================================================= */
.page-top-padding { padding-top: 150px; }
.page-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; color: var(--text-black); }
.term-section { margin-bottom: 50px; background: white; padding: 40px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.term-section h2 { color: var(--primary-color); font-size: 1.3rem; border-left: 4px solid var(--primary-color); padding-left: 15px; margin-top: 0; }
.term-list { margin-top: 20px; padding-left: 20px; }
.term-list li { margin-bottom: 10px; }
.nested-list { margin-top: 10px; padding-left: 25px; }
.support-methods dl { margin-top: 20px; }
.support-methods dt { font-weight: bold; color: var(--primary-color); margin-top: 25px; border-bottom: 1px solid #eee; padding-bottom: 5px; }
.support-methods dd { margin: 10px 0 0 0; padding-left: 15px; line-height: 1.6; }

/* =========================================================
   11. フッター
========================================================= */
footer {
    text-align: center;
    padding: 40px 20px;
    background: var(--text-black);
    color: white;
}

.copyright { margin: 0; font-size: 0.9rem; letter-spacing: 1px; }

/* =========================================================
   12. レスポンシブ対応 (スマートフォン・タブレット向け)
========================================================= */
@media screen and (max-width: 768px) {
    .container {
        padding: 60px 5%;
    }

    /* --- ハンバーガーメニューの実装 --- */
    .hamburger {
        display: block; /* スマホでボタンを表示 */
        position: relative;
        z-index: 1000;
        width: 30px;
        height: 22px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        outline: none;
    }

    /* 3本の線 */
    .hamburger span {
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
        left: 0;
    }

    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .hamburger span:nth-child(3) { bottom: 0; }

    /* メニュー開閉時の「×」アニメーション */
    .hamburger.active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0; /* 真ん中の線を消す */
    }
    .hamburger.active span:nth-child(3) {
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }

    /* メニュー本体（全画面オーバーレイ） */
    nav ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(249, 246, 241, 0.98); /* 和紙色で少し透ける */
        flex-direction: column;
        justify-content: center; /* 縦中央寄せ */
        align-items: center;     /* 横中央寄せ */
        gap: 30px;
        opacity: 0;              /* 初期状態は見えない */
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    /* メニューが開いた時 */
    nav ul.active {
        opacity: 1;
        visibility: visible;
    }

    nav a {
        font-size: 1.4rem; /* スマホでタップしやすいように大きく */
    }

    /* --- 小物デコのスマホ調整 --- */
    .mv-deco1 { width: 70px; }
    .mv-deco2 { width: 80px; }
    .mv-deco3 { width: 60px; }
    .mv-deco4 { width: 75px; bottom: 5%; }
    .mv-deco5 { display: none; }

    /* --- ファストビューのスマホ調整 --- */
    .mv-inner {
        flex-direction: column-reverse;
        justify-content: flex-end;
        align-items: center;
        padding-top: 70px;
        gap: 0;
    }
    .mv-text {
        text-align: center;
        padding-bottom: 30px;
    }
    .mv-name { font-size: 2.2rem; }
    .mv-copy { font-size: 1rem; margin-bottom: 24px; }
    .mv-chara-wrap {
        justify-content: center;
        align-items: flex-end;
        height: auto;
        padding-top: 0;
    }
    .mv-chara {
        height: 42vh;
        max-height: 320px;
    }

    /* --- その他セクションのスマホ調整 --- */
    .section-title { font-size: 1.8rem; }
    .profile-flex { flex-direction: column; align-items: center; gap: 30px; }
    .prof-icon { width: 100%; max-width: 300px; }
    .prof-list { grid-template-columns: 100px 1fr; }

    /* Swiperスマホ調整 */
    .activity-swiper {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 50px;
    }
    .swiper-button-prev, .swiper-button-next {
        width: 32px;
        height: 32px;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(255, 255, 255, 0.85);
        background-size: 16px;
        box-shadow: 0 2px 6px rgba(139, 95, 214, 0.3);
    }
    .swiper-button-prev {
        left: 4px;
        background-position: center left 7px;
    }
    .swiper-button-next {
        right: 4px;
        background-position: center right 7px;
    }

    .page-title { font-size: 1.8rem; }
    .term-section { padding: 25px 20px; }
}

/* =========================================================
   13. スクロールアニメーション (フェードイン)
========================================================= */
.fade-in {
    opacity: 0; /* 最初は透明 */
    transform: translateY(30px); /* 30px下にずらしておく */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* 0.8秒かけてなめらかに変化 */
}

/* 画面内に入って .is-visible が付与された時の状態 */
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   14. 背景の花びらアニメーション (tsParticles)
========================================================= */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* 全ての要素の一番後ろに配置 */
    pointer-events: none; /* 花びらへのクリック判定を無くす（重要） */
    opacity: 0; /* 最初は透明にしておく */
    animation: fadeInParticles 2s ease-in-out forwards; /* 2秒かけてフワッと出現 */
}

@keyframes fadeInParticles {
    to {
        opacity: 1;
    }
}