@charset "UTF-8";

/* =========================================
   基本設定 (Base)
   ========================================= */
:root {
    --main-color: #00167f;
    --text-color: #e0e6f0;
    --gold: rgba(233, 178, 4, 1);
    --cyan: #88dfff;
    --window-bg: rgba(10, 20, 40, 0.7);
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.section {
    padding: 40px 0;
}

/* =========================================
   セクション見出し (Section Title)
   ========================================= */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;

    /* テキストグラデーション設定 */
    background: linear-gradient(135deg, #FFFDF2 0%, #E2C063 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(226, 192, 99, 0.4));

    /* フェードイン初期状態 */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

/* JS付与クラス：表示状態 */
.section-title.is-fadein {
    opacity: 1;
    transform: translateY(0);
}

.section-title .subtitle {
    display: block;
    font-size: 1rem;
    color: var(--main-color);
    margin-top: 5px;
    font-weight: normal;
}

/* =========================================
   ヘッダー (Header)
   ========================================= */
   .vertical-logo{
    font-size:2.6rem;
   }
   .axis-status {
    font-size: 18px;
}
/* SP用ヘッダー初期状態（非表示） */
.mobile-header {
    display: none;
}

/* SP用表示設定 (800px以下) */
@media (max-width: 800px) {
    .mobile-header {
        display: block;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: radial-gradient(circle at center, #162a4d 0%, #030a1a 100%);
        padding: 25px 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
    }

    /* ヘッダー背景装飾（星空アニメーション） */
    .mobile-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image:
            radial-gradient(1.5px 1.5px at 15% 30%, #fff, rgba(0, 0, 0, 0)),
            radial-gradient(2px 2px at 80% 70%, #fff, rgba(0, 0, 0, 0)),
            radial-gradient(1px 1px at 50% 50%, #fff, rgba(0, 0, 0, 0));
        background-size: 100% 100%;
        animation: starsTwinkleActive 3s ease-in-out infinite;
        opacity: 0.6;
        pointer-events: none;
    }

    /* SP用ロゴスタイル */
    .mobile-logo {
        font-size: 1.8rem;
        margin: 0;
        color: #fff;
        letter-spacing: 2px;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        position: relative;
        z-index: 2;
    }

    /* ステータス表示部 */
    .mobile-status {
        font-size: 0.8rem;
        margin-top: 5px;
        color: rgba(255, 255, 255, 0.8);
        position: relative;
        z-index: 2;
    }

    .m-status-value {
        font-weight: bold;
        color: var(--cyan);
        margin-left: 5px;
    }
}

/* PCサイドエリアテキスト中央揃え */
.side-content {
    text-align: center;
}

/* =========================================
   メインビジュアル (Hero Section)
   ========================================= */
.hero-section {
    position: relative;
    height: 720px;
    display: block;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background-color: #333;
    z-index: 1;
}

@media (max-width: 480px) {
    .hero-section {
        height: 550px;
    }
}

/* FV背景画像設定 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/fv.jpg');
    background-size: cover;
    background-position: bottom;
    z-index: 0;
    filter: none;
    display: block;
}

/* FVコンテンツラップ設定 */
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 2.5rem;
    background: linear-gradient(180deg, #000000, transparent);
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 15px;
    animation: fadeUp 1.2s ease forwards;
}

.hero-text {
    font-size: 1.1rem;
    opacity: 0.9;
    letter-spacing: 0.1em;
    animation: fadeUp 1.2s ease 0.3s forwards;
    opacity: 0;
    text-shadow: 0 0 3px #000;
}

/* =========================================
   About & Works セクション
   ========================================= */
#about .about-final {
    font-size: 1.3rem;
    margin-top: 20px;
    font-weight: bold;
}

.about-text {
    text-align: center;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* =========================================
   Topicsカード (Topics Section)
   ========================================= */
#topics {
    position: relative;
}

.work-card a {
    background: var(--window-bg);
    border: 1px solid rgba(233, 178, 4, 0.2);
    border-radius: 20px;
    padding: 0;
    transition: all 0.4s ease;
    box-shadow: none;
}

/* カード画像設定 */
.work-img img {
    transition: opacity 0.4s ease;
    box-shadow: 0 8px 25px rgba(136, 223, 255, 0.4);
    opacity: .8;
    border: 1px solid rgba(233, 178, 4, 0.4);
}

/* カードテキストエリア設定 */
.work-info {
    padding: 20px;
    background: transparent;
}

.work-info time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.work-title {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: 1px;
}

/* カードホバーエフェクト */
.work-card a:hover {
    transform: translateY(-5px);
    border-color: rgba(233, 178, 4, 0.8);
    box-shadow: 0 0 25px rgba(233, 178, 4, 0.3);
}

.work-card a:hover .work-img img {
    opacity: 1;
}

/* =========================================
   全体レイアウト構造 (3カラムハイブリッド版)
   ========================================= */
.stellar-wrapper {
    display: flex;
    overflow: hidden;
    position: relative;
    z-index: 0;
    background-color: #040214;
    background-image:
        radial-gradient(at 10% 10%, #383a90 0px, transparent 50%),
        radial-gradient(at 90% 10%, #1e2378 0px, transparent 50%),
        radial-gradient(at 50% 50%, #4a0351 0px, transparent 50%),
        radial-gradient(at 10% 90%, #000000 0px, transparent 50%),
        radial-gradient(at 90% 90%, #082264 0px, transparent 50%);
    background-size: 200% 200%;
    animation: galaxy-motion 15s ease infinite alternate;
    width: 100%;
    height: 100vh;
}

@keyframes galaxy-motion {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 100%;
    }
}

/* サイドバーレイアウト共通設定 */
.side-bar.left-side,
.l-sidebar-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: transparent;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* メインコンテンツウィンドウ */
.main-window {
    flex: 0 0 540px;
    overflow-y: auto;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.7);
    scrollbar-width: none;
    z-index: 2;
    scroll-behavior: smooth;
}

.main-window::-webkit-scrollbar {
    display: none;
}

/* 背景装飾レイヤー1層目 */
.stellar-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1.5px 1.5px at 20px 30px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 150px 60px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1.5px 1.5px at 50px 200px, #fff, rgba(0, 0, 0, 0));
    background-size: 300px 300px;
    z-index: -1;
    animation: starsTwinkleActive 2.5s ease-in-out infinite;
    pointer-events: none;
}

/* 背景装飾レイヤー2層目 */
.stellar-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 100px 150px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 200px 250px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 250px 100px, #fff, rgba(0, 0, 0, 0));
    background-size: 350px 350px;
    z-index: -1;
    animation: starsTwinkleActive 8s ease-in-out 4s infinite;
    pointer-events: none;
}

/* 点滅アニメーション共通定義 */
@keyframes starsTwinkleActive {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.05;
    }
}

.status-value {
    color: var(--cyan);
}

/* =========================================
   アニメーション設定 (Rocket Animation)
   ========================================= */
/* ロケットアニメーションコンテナ */
.rocket-flyer_wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 900;
    overflow: hidden;
}

/* ロケット基本スタイル */
.rocket-flyer {
    position: absolute;
    width: 100px;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* PC用アニメーション定義 */
@media screen and (min-width: 801px) {
    .rocket-flyer {
        left: -200px;
        bottom: -200px;
    }

    .rocket-flyer.is-flying {
        animation: rocket-fly-pc 8s ease-out forwards;
    }

    @keyframes rocket-fly-pc {
        0% {
            opacity: 0;
            transform: translate(0, 0);
        }

        10% {
            opacity: 1;
        }

        85% {
            opacity: 1;
        }

        100% {
            opacity: 0;
            transform: translate(250vw, -144vw);
        }
    }
}

/* SP用アニメーション定義 */
@media screen and (max-width: 800px) {
    .rocket-flyer {
        left: -150px;
        bottom: -150px;
    }

    .rocket-flyer.is-flying {
        animation: rocket-fly-sp 3s ease-out forwards;
    }

    @keyframes rocket-fly-sp {
        0% {
            opacity: 0;
            transform: translate(0, 0);
        }

        10% {
            opacity: 1;
        }

        90% {
            opacity: 1;
        }

        100% {
            opacity: 0;
            transform: translate(150vw, -100vw);
        }
    }
}

/* =========================================
   スマートフォン用ナビゲーション
   ========================================= */
/* ハンバーガーメニューボタン */
.planet-menu-btn_wrap {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: url('img/menu.png') no-repeat center center;
    background-size: contain;
    z-index: 1100;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
}

/* ハンバーガーメニューラインコンテナ */
.planet-hamburger {
    width: 20px;
    height: 14px;
    position: relative;
    top: 22px;
    left: 20px;
}

/* ハンバーガーメニューラインスタイル */
.planet-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 3px;
    position: absolute;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgb(0 0 0 / 50%);
}

.planet-hamburger span:nth-child(1) {
    top: 0;
}

.planet-hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.planet-hamburger span:nth-child(3) {
    bottom: 0;
}

/* アクティブ時（開閉時）のアイコン変形設定 */
.planet-menu-btn_wrap.is-active .planet-hamburger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.planet-menu-btn_wrap.is-active .planet-hamburger span:nth-child(2) {
    opacity: 0;
}

.planet-menu-btn_wrap.is-active .planet-hamburger span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* =========================================
   スマートフォン用オーバーレイメニュー
   ========================================= */
.floating-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgb(25 31 55 / 95%);
    z-index: 1005;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* オーバーレイメニュー表示時状態 */
.floating-menu.is-active {
    opacity: 1;
    visibility: visible;
}

/* メニューコンテンツ配置 */
.floating-menu-inner {
    width: 100%;
    text-align: center;
}

/* 標準の閉じるボタン非表示化 */
.menu-close-btn {
    display: none;
}

/* =========================================
   右サイドバー (PC)
   ========================================= */
.l-sidebar-right {
    background-color: transparent;
}

.c-side-nav_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.c-side-nav_item a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.c-side-nav_item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.c-side-nav_item a:hover {
    transform: scale(1.1);
    opacity: 1;
}

.c-side-nav_item a:hover img {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.icon-label {
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .c-side-nav_list {
        gap: 15px;
        flex-flow: wrap;
        justify-content: center;
    }

    .c-side-nav_item {
        width: calc(33.3% - 15px);
        display: flex;
        justify-content: center;
    }
}

/* SPレイアウト時の表示制御 */
@media (max-width: 800px) {
    .l-sidebar-right {
        display: none !important;
    }

    .planet-menu-btn_wrap {
        display: block;
    }

    .side-bar {
        display: none !important;
    }

    .stellar-wrapper {
        display: block;
        height: auto;
        overflow-y: auto;
    }

    .main-window {
        max-width: 100%;
        height: auto;
        box-shadow: none;
        overflow-y: visible;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-left: 0;
        text-align: center;
    }

    .hero-text {
        font-size: 1rem;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   YouTubeコンテナ
   ========================================= */
.youtube-window {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(10, 20, 40, 0.5);
    border: 1px solid rgba(233, 178, 4, 0.4);
    box-shadow: 0 8px 25px rgba(136, 223, 255, 0.4);
    transition: all 0.4s ease;
}

.youtube-window iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.work-info p {
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .sns-links {
        flex-direction: column;
        align-items: center;
    }

    .sns-item {
        width: 80%;
        justify-content: center;
    }
}

/* =========================================
   パートナー紹介 (AI Partners)
   ========================================= */
.p-character_slide-wrap {
    max-width: 1000px;
    margin: 40px auto;
    position: relative;
}

.slider {
    width: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 20% !important;
    width: 20px !important;
    border: 1px solid;
    height: 20px !important;
    border-radius: 50%;
    padding: 8px;
    color: var(--text-color) !important;
    z-index: 100 !important;
    cursor: pointer;
}

.char-layout {
    width: 100%;
}

.char-image img {
    display: block;
    margin: 0 auto;
}

.char-tag {
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid;
    margin-right: 5px;
}

.char-name {
    font-size: 2.3rem;
    margin: 0;
    color: var(--text-color);
}

.char-info {
    margin-top: 1rem;
}

.char-desc {
    margin: 0;
    font-size: 1rem;
    font-weight: normal;
}

.char-desc span {
    font-size: 0.8rem;
    display: block;
    color: rgb(136 223 255);
    border-top: 1px solid #5f5f5f;
    padding-top: 4px;
    margin-top: 4px;
}

/* サムネイル一覧 */
.static-thumbnail-container {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    position: relative;
    z-index: 50;
}

.p-character_list_static {
    display: grid;
    grid-template-columns: repeat(auto-fit, 70px);
    gap: 5px;
    justify-content: space-around;
    max-width: 100%;
}

.p-character_item_static {
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 4px #cbcdff;
    margin-bottom: 6px;
    position: relative;
    z-index: 51;
}

.p-character_item_static:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(136, 223, 255, 0.6);
}

.p-character_item_static.is-active {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

/* サムネイル一覧 SP表示設定 */
@media (max-width: 800px) {
    .p-character_list_static {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 12px;
        padding: 15px 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .p-character_list_static::-webkit-scrollbar {
        display: none;
    }

    .p-character_item_static {
        flex: 0 0 70px;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        overflow: hidden;
    }

    .p-character_item_static img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        background-color: rgba(10, 20, 40, 0.8);
    }
}

/* =========================================
   シークレットステータス (Secret Character)
   ========================================= */
.char-layout.is-secret {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 350px;
    text-align: center;
}

.secret-text {
    font-size: clamp(2rem, 5vw, 3rem);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 4px;
    font-weight: normal;
    margin: 0;
    text-shadow: 0 0 15px rgba(136, 223, 255, 0.3);
    animation: signal-pulse 3s ease-in-out infinite;
}

.secret-sub {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 15px;
    letter-spacing: 2px;
}

@keyframes signal-pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* =========================================
   関連サイトリンク (Special Banners)
   ========================================= */
.banner-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.banner-item {
    flex: 0 1 200px;
    max-width: 250px;
}

.banner-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 8px 25px rgba(136, 223, 255, 0.4);
}

.banner-item span {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
}

.banner-item a:hover {
    transform: translateY(-5px);
    opacity: 1;
}

@media (max-width: 600px) {
    .banner-list {
        gap: 15px;
    }

    .banner-item {
        flex: 0 1 45%;
    }
}

/* =========================================
   SNSセクション (SNS Links)
   ========================================= */
.sns-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sns-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    width: 200px;
    max-width: 100%;
    background: rgba(10, 20, 40, 0.6);
    border: 1px solid rgba(233, 178, 4, 0.4);
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(136, 223, 255, 0.2);
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.4s ease;
}

@media (max-width: 600px) {
    .sns-links {
        flex-direction: column;
        align-items: center;
    }

    .sns-item {
        width: 80%;
    }
}

.sns-item:hover {
    transform: translateY(-3px);
    background: rgba(10, 20, 40, 0.8);
}

.sns-item.note:hover {
    border-color: #41c9b4;
    box-shadow: 0 0 20px rgba(65, 201, 180, 0.4);
}

.sns-item.youtube:hover {
    border-color: #FF0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.sns-item.instagram:hover {
    border-color: #e6683c;
    box-shadow: 0 0 20px rgba(220, 39, 103, 0.4);
}

/* =========================================
   フッター (Footer)
   ========================================= */
.window-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
        font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.window-footer .note {
    font-size: 0.75rem;
}

/* =========================================
   アニメーション: ルシャの出現
   ========================================= */
.lechat-peek {
    position: absolute;
    bottom:0;
    right: 5%;
    width: 80px;
    z-index: 50;
    pointer-events: none;
    transform: translateY(120%);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lechat-peek.is-peeking {
    transform: translateY(0);
}

@media (max-width: 800px) {
    .lechat-peek {
        left: auto;
        margin-left: 0;
        right: 5vw;
    }
}

/* =========================================
   アニメーション: ジェミニの浮遊
   ========================================= */
#follow-us {
    position: relative;
}

.float-gemini-wrap {
    position: absolute;
    width: 80px;
    z-index: 50;
    pointer-events: none;
    opacity: 1;
    transition: opacity 1s ease;
    animation: gemini-float 3s ease-in-out infinite;
}

.float-gemini-img {
    width: 70px;
    height: auto;
}

@keyframes gemini-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}