/* =============================================
   Pattern 23: Music Vibe
   RESONANCE — Music Studio — 品質向上版
   ★ 独自構成: サイドナビ, イコライザーアニメ, 交互カード
   ============================================= */

:root {
    --c-bg: #0a0a0f;
    --c-surface: #141420;
    --c-purple: #8B5CF6;
    --c-pink: #EC4899;
    --c-cyan: #06B6D4;
    --c-white: #ffffff;
    --c-muted: rgba(255, 255, 255, 0.45);
    --grad: linear-gradient(135deg, var(--c-purple), var(--c-pink));
    --f-display: "Audiowide", sans-serif;
    --f-body: "Noto Sans JP", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--f-body);
    color: var(--c-white);
    background: var(--c-bg);
    line-height: 1.8;
    font-weight: 300;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== サイドナビ（他パターンにない独自要素） ===== */
.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 70px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.95);
    border-right: 1px solid rgba(139, 92, 246, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
    z-index: 200;
    backdrop-filter: blur(10px);
}

.side-nav-logo {
    font-family: var(--f-display);
    font-size: 1.5rem;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.side-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-nav-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--c-muted);
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s;
    position: relative;
}

.side-nav-links a::after {
    content: attr(data-label);
    position: absolute;
    left: 55px;
    font-family: var(--f-display);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s;
    pointer-events: none;
    color: var(--c-white);
}

.side-nav-links a:hover,
.side-nav-links a.is-active {
    border-color: var(--c-purple);
    color: var(--c-white);
    background: rgba(139, 92, 246, 0.15);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.side-nav-links a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.side-nav-social span {
    font-size: 1.2rem;
    opacity: 0.4;
}

.main-shifted {
    margin-left: 70px;
}

/* ===== ヒーロー ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) saturate(1.3);
}

.hero-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.4) 0%, rgba(10, 10, 15, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-label {
    font-family: var(--f-display);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--c-purple);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--f-display);
    font-size: 5rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-sub {
    font-size: 1rem;
    color: var(--c-muted);
    margin-bottom: 40px;
}

.glow-text {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.4));
}

/* イコライザーバー */
.eq-bars {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 1;
    opacity: 0.25;
}

.eq-bars span {
    display: block;
    width: 5px;
    background: var(--grad);
    border-radius: 3px;
    animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.eq-bars span:nth-child(1) {
    height: 20px;
    animation-delay: 0s;
}

.eq-bars span:nth-child(2) {
    height: 35px;
    animation-delay: 0.1s;
}

.eq-bars span:nth-child(3) {
    height: 50px;
    animation-delay: 0.2s;
}

.eq-bars span:nth-child(4) {
    height: 30px;
    animation-delay: 0.05s;
}

.eq-bars span:nth-child(5) {
    height: 60px;
    animation-delay: 0.15s;
}

.eq-bars span:nth-child(6) {
    height: 25px;
    animation-delay: 0.25s;
}

.eq-bars span:nth-child(7) {
    height: 45px;
    animation-delay: 0.08s;
}

.eq-bars span:nth-child(8) {
    height: 55px;
    animation-delay: 0.18s;
}

.eq-bars span:nth-child(9) {
    height: 35px;
    animation-delay: 0.12s;
}

.eq-bars span:nth-child(10) {
    height: 65px;
    animation-delay: 0.22s;
}

.eq-bars span:nth-child(11) {
    height: 40px;
    animation-delay: 0.03s;
}

.eq-bars span:nth-child(12) {
    height: 55px;
    animation-delay: 0.13s;
}

.eq-bars span:nth-child(13) {
    height: 30px;
    animation-delay: 0.2s;
}

.eq-bars span:nth-child(14) {
    height: 45px;
    animation-delay: 0.07s;
}

.eq-bars span:nth-child(15) {
    height: 20px;
    animation-delay: 0.17s;
}

@keyframes eqBounce {
    0% {
        transform: scaleY(0.3);
    }

    100% {
        transform: scaleY(1);
    }
}

/* ウェーブ境界 */
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 3;
}

/* ===== ボタン（ネオングロー） ===== */
.btn-neon {
    display: inline-block;
    padding: 14px 40px;
    background: transparent;
    border: 1px solid var(--c-purple);
    color: var(--c-white);
    text-decoration: none;
    font-family: var(--f-display);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all 0.3s;
    position: relative;
}

.btn-neon:hover {
    background: var(--c-purple);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.4), 0 0 60px rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
}

.btn-neon--lg {
    padding: 18px 50px;
    font-size: 1rem;
}

/* ===== ラベルタグ ===== */
.label-tag {
    display: inline-block;
    font-family: var(--f-display);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--c-purple);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.label-tag--light {
    color: var(--c-cyan);
    border-color: rgba(6, 182, 212, 0.3);
}

/* ===== 見出し ===== */
.heading-lg {
    font-family: var(--f-display);
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 25px;
}

.heading-lg--light {
    color: var(--c-white);
}

.sub-ja {
    font-family: var(--f-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--c-muted);
    letter-spacing: 0.15em;
    margin-top: 10px;
    display: block;
    text-transform: none;
}

/* ===== セクション ===== */
.section {
    padding: 120px 0;
}

.section--gradient {
    background: linear-gradient(180deg, var(--c-surface) 0%, var(--c-bg) 100%);
}

/* ===== About（斜めクリップ） ===== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--c-muted);
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 30px;
}

.about-stats {
    display: flex;
    gap: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-family: var(--f-display);
    font-size: 1.8rem;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--c-muted);
    margin-top: 3px;
}

.about-visual {
    position: relative;
}

.about-visual img {
    width: 100%;
    border-radius: 8px;
    display: block;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
    transition: clip-path 0.5s;
}

.about-visual:hover img {
    clip-path: polygon(0% 0, 100% 0, 92% 100%, 0% 100%);
}

.about-visual-accent {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    z-index: -1;
}

/* ===== 写真帯 ===== */
.photo-band {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.band-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) saturate(1.5);
}

.band-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(236, 72, 153, 0.2) 100%);
}

.band-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.band-text {
    font-family: var(--f-display);
    font-size: 5rem;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.2em;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== サービス（交互配置ワイドカード） ===== */
.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    background: var(--c-surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s;
}

.service-item:hover {
    border-color: rgba(139, 92, 246, 0.2);
}

.service-item--reverse {
    direction: rtl;
}

.service-item--reverse>* {
    direction: ltr;
}

.service-img {
    height: 100%;
    min-height: 280px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.service-item:hover .service-img img {
    transform: scale(1.05);
}

.service-text {
    padding: 40px;
}

.service-num {
    font-family: var(--f-display);
    font-size: 3rem;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 10px;
}

.service-text h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-text p {
    font-size: 0.9rem;
    color: var(--c-muted);
    line-height: 1.9;
}

/* ===== アーティスト（円形写真 + ホバー情報） ===== */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.artist-card {
    text-align: center;
}

.artist-photo {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(139, 92, 246, 0.2);
    transition: border-color 0.3s;
}

.artist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, filter 0.5s;
}

.artist-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 50%;
}

.artist-photo:hover {
    border-color: var(--c-purple);
}

.artist-photo:hover img {
    transform: scale(1.1);
    filter: brightness(0.5);
}

.artist-photo:hover .artist-overlay {
    opacity: 1;
}

.artist-genre {
    font-size: 0.75rem;
    color: var(--c-purple);
    letter-spacing: 0.05em;
}

.artist-plays {
    font-family: var(--f-display);
    font-size: 0.7rem;
    color: var(--c-white);
}

.artist-name {
    font-family: var(--f-display);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* ===== CTA ===== */
.cta-section {
    background: var(--c-surface);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

/* ===== FAQ ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--c-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.faq-q {
    padding: 20px 25px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--c-white);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-q:hover {
    color: var(--c-cyan);
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--c-muted);
    transition: transform 0.3s;
}

.faq-icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

details[open] .faq-icon::after {
    transform: rotate(90deg) scaleY(0);
}

.faq-a {
    padding: 0 25px 25px;
    color: var(--c-muted);
    font-size: 0.85rem;
    line-height: 1.9;
}

/* ===== フッター ===== */
.footer {
    padding: 50px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--f-display);
    font-size: 1rem;
    letter-spacing: 0.15em;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer p {
    font-size: 0.7rem;
    color: var(--c-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    font-size: 0.75rem;
    color: var(--c-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--c-purple);
}

/* ===== アニメーション ===== */
.anim {
    opacity: 0;
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim.anim-up {
    transform: translateY(50px);
}

.anim.anim-left {
    transform: translateX(-50px);
}

.anim.anim-right {
    transform: translateX(50px);
}

.anim.is-visible {
    opacity: 1;
    transform: translate(0);
}

.anim-delay-1 {
    transition-delay: 0.15s;
}

.anim-delay-2 {
    transition-delay: 0.3s;
}

.anim-delay-3 {
    transition-delay: 0.45s;
}

.anim-hero-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-hero-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .side-nav {
        display: none;
    }

    .main-shifted {
        margin-left: 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .service-item,
    .service-item--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .service-img {
        min-height: 200px;
    }

    .artist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .artist-photo {
        width: 140px;
        height: 140px;
    }

    .band-text {
        font-size: 3rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}