@charset "UTF-8";

/* =========================================
   ベース設定
========================================= */
:root {
    --primary: #ffffff;
    --bg-dark: #050505;
    --text-main: #e0e0e0;
    --rock-shadow: 4px 4px 0px rgba(255, 255, 255, 0.15);
}

body {
    font-family: 'Helvetica Neue', 'Arial Black', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.9;
    overflow-x: hidden;
    background-image: linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 30px 30px;
}

a { 
    color: var(--primary); 
    text-decoration: none; 
    transition: 0.3s ease; 
}

.ib {
    display: inline-block;
}

/* =========================================
   ⚡ サイドバー ロック背景文字（固定配置）
========================================= */
.side-bg-text {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(4rem, 7vw, 7.5rem);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
    letter-spacing: 0.15em;
    writing-mode: vertical-lr; /* 縦書き */
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.side-left { left: 20px; }
.side-right { right: 20px; transform: translateY(-50%) rotate(180deg); }

/* =========================================
   🌌 背景パーティクル設定
========================================= */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(105vh) translateX(0) scale(0.5); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-5vh) translateX(50px) scale(1.2); opacity: 0; }
}

/* =========================================
   🎸 ローディング画面アニメーション（真ん中基準）
========================================= */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.6s;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.pulse-ring {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: wavePulse 2.0s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
    z-index: 1;
}

@keyframes wavePulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; border-color: #fff; box-shadow: 0 0 20px #fff; }
}

/* 写真コンテナを画面全体の絶対座標にして右下ズレを完全修正 */
.loading-photos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.loading-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    /* 最初から中央に「ドカン」と存在感を出す大きめサイズ */
    width: clamp(190px, 26vw, 290px);
    height: clamp(140px, 19vw, 200px);
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0 35px rgba(0,0,0,0.9);
    opacity: 0;
    animation: photoAppearScatter 2.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes photoAppearScatter {
    0% {
        /* 最初は画面の完全中央（ズレ座標を適用）で、少し小さめのスケールからフワッと透明度で出現 */
        transform: translate(calc(-50% + var(--offsetX)), calc(-50% + var(--offsetY))) scale(0.7) rotate(var(--rot));
        opacity: 0;
    }
    /* バラバラの時間差で中央エリアに大きめ(scale 1)で出現 */
    25% {
        transform: translate(calc(-50% + var(--offsetX)), calc(-50% + var(--offsetY))) scale(1) rotate(var(--rot));
        opacity: 1;
    }
    /* 中央に写真が重なり合った状態で一時停止（タメの演出） */
    68% {
        transform: translate(calc(-50% + var(--offsetX)), calc(-50% + var(--offsetY))) scale(1) rotate(var(--rot));
        opacity: 1;
    }
    /* 最後に一瞬で四方八方の画面外へ、爆発するように超高速で散らばり、完全に消え去る */
    100% {
        transform: translate(calc(-50% + var(--scatterX)), calc(-50% + var(--scatterY))) scale(1.6) rotate(calc(var(--rot) * 2.5));
        opacity: 0;
    }
}

.loading-content {
    position: relative;
    z-index: 3;
    pointer-events: none;
}

.loading-text {
    font-size: 2.2rem;
    font-weight: 900;
    font-style: italic;
    color: var(--primary);
    letter-spacing: 0.4em;
    text-shadow: 0px 0px 8px rgba(255,255,255,0.6);
    animation: textGlitch 2.5s infinite linear alternate-reverse;
}

@keyframes textGlitch {
    0%, 100% { transform: translate(0); text-shadow: 2px 0 0 rgba(255,255,255,0.2); }
    92% { transform: translate(0); }
    93% { transform: translate(-2px, 1px); text-shadow: -2px 0 0 #fff; }
    95% { transform: translate(2px, -1px); text-shadow: 2px 0 0 #888; }
    96% { transform: translate(0); }
}

/* =========================================
   🎸 HEROセクション（スクショ準拠：PC左下レイアウト）
========================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    /* PC環境では左下寄せにする設定 */
    justify-content: flex-start;
    align-items: flex-end;
    text-align: left;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.85)), url('img/BEAT POP1.webp') center/cover no-repeat;
    border-bottom: 5px solid var(--primary);
    z-index: 2;
}

/* 左下の余白をしっかりと確保 */
.hero-content { 
    padding: 0 0 80px 80px; 
    position: relative; 
    z-index: 3; 
}

.rock-title {
    font-size: clamp(4rem, 9vw, 7.5rem);
    margin: 0;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--primary);
    text-transform: uppercase;
    font-style: italic;
    text-shadow: 5px 5px 0px #1a1a1a;
}

.hero-sub {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin: 15px 0 10px;
    color: var(--primary);
    font-weight: bold;
    letter-spacing: 0.05em;
}

.hero-desc { font-size: 1.1rem; color: #aaa; margin: 0; }

/* =========================================
   セクション共通
========================================= */
section {
    padding: 90px 20px;
    max-width: 800px; 
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 60px;
    color: var(--primary);
    font-style: italic;
    text-shadow: var(--rock-shadow);
}

.content-box {
    background: rgba(0, 0, 0, 0.9);
    border: 3px solid var(--primary);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(255,255,255,0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.rock-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 12px 12px 0px rgba(255,255,255,0.15);
}

/* =========================================
   コンセプト
========================================= */
.concept-content { text-align: center; max-width: 800px; margin: 0 auto; }
.concept-text { font-size: clamp(1.05rem, 2.5vw, 1.15rem); font-weight: bold; }
.highlight-text { background-color: var(--primary); color: #000; padding: 2px 8px; font-weight: 900; margin: 0 4px; }

.tags { display: flex; justify-content: center; gap: 15px; margin-top: 40px; flex-wrap: wrap; }
.tag { border: 2px solid var(--primary); padding: 8px 25px; font-weight: 900; text-transform: uppercase; font-style: italic; background: #000; letter-spacing: 0.05em; }

/* =========================================
   ギャラリー（自動カラーカルーセル）
========================================= */
.carousel-container {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: #000;
    padding: 30px 0;
    border-top: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
}

.carousel-track { display: flex; width: max-content; animation: scrollGallery 32s linear infinite; }

.carousel-track img {
    width: clamp(260px, 42vw, 420px);
    height: clamp(190px, 32vw, 260px);
    object-fit: cover;
    margin: 0 12px;
    border: 3px solid var(--primary); 
    box-shadow: 5px 5px 0px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.carousel-track img:hover {
    transform: scale(1.04) rotate(1deg);
    box-shadow: 8px 8px 0px rgba(255, 255, 255, 0.25);
    z-index: 10;
}

@keyframes scrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   インフォメーション
========================================= */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 22px 10px; border-bottom: 2px dashed #333; text-align: left; }
.info-table th { width: 30%; color: var(--primary); font-weight: 900; font-size: 1.2rem; font-style: italic; letter-spacing: 0.05em; }
.info-table td { font-weight: bold; }

.btn-wrap { display: flex; gap: 15px; margin-top: 20px; flex-wrap: wrap; }
.btn {
    display: inline-block; border: 3px solid var(--primary); color: #000; background: var(--primary); padding: 12px 32px; font-weight: 900; font-size: 1.1rem; text-transform: uppercase; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s; box-shadow: 4px 4px 0px #444;
}
.btn-outline { background: #000; color: var(--primary); }
.btn:hover { background-color: var(--primary); color: #000; box-shadow: 0px 0px 0px transparent; transform: translate(4px, 4px); }
.btn-outline:hover { background-color: var(--primary); color: #000; }

/* =========================================
   スクロールアニメーション用
========================================= */
.fade-in { opacity: 0; transform: translateY(25px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.fade-in.appear { opacity: 1; transform: translateY(0); }

/* =========================================
   レスポンシブ対応
========================================= */
@media (max-width: 1024px) {
    .side-bg-text { -webkit-text-stroke: 1px rgba(255, 255, 255, 0.02); }
    .hero-content { padding: 0 0 60px 40px; } /* 中画面用の微調整 */
}
@media (max-width: 768px) {
    section { padding: 60px 15px; }
    .section-title { margin-bottom: 40px; font-size: 2.5rem; }
    
    /* スマホ画面の時は、文字が隠れないように自動で中央配置へ変更 */
    .hero {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .hero-content {
        padding: 0 20px;
    }

    .info-table th, .info-table td { display: block; width: 100%; padding: 10px 0; }
    .info-table th { border-bottom: none; padding-bottom: 3px; }
    .content-box { padding: 25px 20px; }
    .btn-wrap { flex-direction: column; }
    .btn { text-align: center; width: 100%; box-sizing: border-box; }
    .side-bg-text { display: none; }
}