/* ============================================================
   YOHAKU studio — Hero v2 (Brand Logo Redesign)
   ============================================================ */

/* ─── ヘッダー（ダークモード） ─────────────────────────────── */
.header--dark {
    background: transparent;
    border-bottom-color: transparent;
}

.header--dark.scrolled {
    background: rgba(10, 10, 10, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.header--dark .nav__link {
    color: rgba(255, 255, 255, 0.65);
}

.header--dark .nav__link::after {
    background: #fff;
}

.header--dark .nav__link:hover {
    color: #fff;
}

.header--dark .lang-btn {
    color: rgba(255, 255, 255, 0.4);
    border-color: transparent;
}

.header--dark .lang-btn.active,
.header--dark .lang-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.header--dark .lang-sep {
    color: rgba(255, 255, 255, 0.12);
}

.header--dark .cart-btn {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.16);
}

.header--dark .cart-btn:hover {
    background: #fff;
    color: #0a0a0a;
    border-color: #fff;
}

.header--dark .cart-btn:hover .cart-count {
    background: #0a0a0a;
    color: #fff;
}

.header--dark .cart-count {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.hamburger--light span {
    background: #fff;
}

/* ─── Hero v2 ──────────────────────────────────────────────── */
.hero-v2 {
    position: relative;
    min-height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ─── Canvas（ボールアニメーション） ──────────────────────── */
.hero-v2__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ─── 中央コンテンツ ────────────────────────────────────────── */
.hero-v2__center {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 540px;
}

/* ブランドロゴ（SVG円相＋テキスト） */
.hero-v2__logo-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-v2__enso {
    width: min(130px, 28vw);
    height: auto;
    display: block;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.12));
    animation: ensoRotateIn 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s both;
}

@keyframes ensoRotateIn {
    from {
        opacity: 0;
        transform: scale(0.7) rotate(-20deg);
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.hero-v2__logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.hero-v2__logo-yohaku {
    font-family: var(--font-sans);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 300;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    line-height: 1;
}

.hero-v2__logo-studio {
    font-family: var(--font-serif);
    font-size: clamp(0.7rem, 1.5vw, 0.95rem);
    font-weight: 300;
    letter-spacing: 0.5em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: lowercase;
}


/* タグライン */
.hero-v2__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: heroTextIn 1s ease 0.8s forwards;
}

/* ディバイダー */
.hero-v2__divider {
    width: 48px;
    height: 1px;
    background: rgba(255, 255, 255, 0.28);
    margin: 0 auto 1.75rem;
    opacity: 0;
    animation: heroTextIn 1s ease 0.95s forwards;
}

/* メインコピー */
.hero-v2__copy {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.8vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.97);
    line-height: 1.4;
    margin-bottom: 1rem;
    white-space: nowrap;
    text-shadow: 0 2px 60px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.06);
    opacity: 0;
    animation: heroTextIn 1s ease 1.1s forwards;
}

/* サブコピー */
.hero-v2__sub {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.08em;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: heroTextIn 1s ease 1.25s forwards;
}

/* CTA */
.hero-v2__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: heroTextIn 1s ease 1.4s forwards;
}

.hero-v2__cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    color: #0a0a0a;
    transition: background 0.35s ease;
}

.hero-v2__cta-primary:hover {
    background: #fff;
}

.hero-v2__cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.35s ease;
}

.hero-v2__cta-secondary:hover {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── スクロールインジケーター ───────────────────────────────── */
.hero-v2__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.52rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    z-index: 2;
    opacity: 0;
    animation: heroTextIn 1s ease 1.8s forwards;
}

.hero-v2__scroll-line {
    width: 1px;
    height: 46px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.25));
    animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ─── レスポンシブ ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-v2__float {
        display: none;
    }

    .hero-v2__center {
        max-width: 90vw;
    }

    .hero-v2__logo {
        width: min(260px, 72vw);
    }

    .hero-v2__copy {
        font-size: clamp(1.3rem, 5vw, 1.9rem);
    }
}

@media (max-width: 480px) {
    .hero-v2__actions {
        flex-direction: column;
        width: 100%;
        max-width: 260px;
    }

    .hero-v2__cta-primary,
    .hero-v2__cta-secondary {
        justify-content: center;
    }
}