/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --bg: #050508;
    --bg-elevated: #0a0a10;
    --text: #e2e8f0;
    --text-muted: #8892a4;
    --text-dim: #4a5568;
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.3);
    --gold: #c9a84c;
    --gold-light: #e8d48b;
    --gold-glow: rgba(201, 168, 76, 0.25);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --glass: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);

    --font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    --font-en: 'Cinzel', serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-jp);
    font-weight: 300;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}

a { cursor: none; }

::selection {
    background: var(--gold);
    color: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6%;
}

/* ==========================================================================
   Opening Video Overlay
   ========================================================================== */
#opening-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: #000;
    overflow: hidden;
}

/* ゲート（ENTER画面） */
#opening-gate {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #000;
}

#opening-gate .gate-text {
    font-family: var(--font-en);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    letter-spacing: 0.35em;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 18px 56px;
    transition: all 0.4s ease;
}

#opening-gate:hover .gate-text {
    border-color: var(--gold);
    color: var(--gold-light);
    box-shadow: 0 0 30px rgba(201,168,76,0.15);
}

#opening-gate .gate-sub {
    font-family: var(--font-en);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.25);
    margin-top: 16px;
}

#opening-gate.hidden {
    display: none;
}

#opening-overlay video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    will-change: transform, opacity;
    opacity: 0;
}

@supports (aspect-ratio: 16/9) {
    #opening-overlay video {
        width: 100vw;
        height: 100vh;
        /* 縦長画面では幅を拡大してカバー */
        min-width: calc(100vh * 16 / 9);
        min-height: calc(100vw * 9 / 16);
    }
}

#opening-overlay video.playing {
    opacity: 1;
}

/* 光の膨張レイヤー（中心から放射） */
#opening-flash {
    position: absolute;
    inset: -20%;
    background: radial-gradient(
        ellipse at center,
        rgba(255,255,255,1) 0%,
        rgba(220,240,255,0.95) 20%,
        rgba(6,182,212,0.4) 50%,
        transparent 80%
    );
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

/* ライトストリーク（水平の光線） */
#opening-streak {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255,255,255,0) 20%,
            rgba(255,255,255,0.15) 45%,
            rgba(255,255,255,0.6) 50%,
            rgba(255,255,255,0.15) 55%,
            rgba(255,255,255,0) 80%,
            transparent 100%
        );
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

/* フェードパネル（白→サイト背景色へ溶ける） */
#opening-veil {
    position: absolute;
    inset: 0;
    background: #050508;
    opacity: 0;
    pointer-events: none;
}

#opening-overlay.hidden {
    display: none;
}

/* OP再生中はヘッダー非表示 */
body.opening-active #header {
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   Noise Overlay & Visual Effects
   ========================================================================== */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Sound Toggle Button
   ========================================================================== */
.sound-toggle {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9000;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 16px;
    border-radius: 40px;
    cursor: none;
    transition: all 0.4s var(--ease-out-expo);
}

.sound-toggle:hover {
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.06);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.sound-label {
    font-family: var(--font-en);
    font-size: 0.58rem;
    letter-spacing: 2px;
    color: var(--text-dim);
    transition: color 0.3s;
}

.sound-toggle:hover .sound-label {
    color: var(--text-muted);
}

.sound-toggle.playing .sound-label {
    color: var(--cyan);
}

/* Sound Bars — イコライザー風アニメーション */
.sound-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.sound-bars span {
    display: block;
    width: 2px;
    background: var(--text-dim);
    border-radius: 1px;
    transition: background 0.3s;
}

/* OFF状態: バーは短く静止 */
.sound-bars span:nth-child(1) { height: 4px; }
.sound-bars span:nth-child(2) { height: 7px; }
.sound-bars span:nth-child(3) { height: 5px; }
.sound-bars span:nth-child(4) { height: 3px; }

/* ON状態: バーがアニメーション */
.sound-toggle.playing .sound-bars span {
    background: var(--cyan);
    animation: equalizer 0.8s ease-in-out infinite alternate;
}

.sound-toggle.playing .sound-bars span:nth-child(1) { animation-duration: 0.6s; }
.sound-toggle.playing .sound-bars span:nth-child(2) { animation-duration: 0.8s; animation-delay: 0.1s; }
.sound-toggle.playing .sound-bars span:nth-child(3) { animation-duration: 0.5s; animation-delay: 0.2s; }
.sound-toggle.playing .sound-bars span:nth-child(4) { animation-duration: 0.7s; animation-delay: 0.05s; }

@keyframes equalizer {
    0%   { height: 3px; }
    100% { height: 14px; }
}

/* ==========================================================================
   Custom Cursor
   ========================================================================== */
.custom-cursor {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), border-color 0.3s, background 0.3s;
    mix-blend-mode: difference;
}

.custom-cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10001;
}

.custom-cursor.hovering {
    width: 56px;
    height: 56px;
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
}

/* ==========================================================================
   Header
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 28px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s var(--ease-out-expo);
}

header.scrolled {
    padding: 16px 6%;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: var(--font-en);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: color 0.3s;
    position: relative;
}

nav a:not(.btn-outline)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out-expo);
}

nav a:not(.btn-outline):hover::after {
    width: 100%;
}

nav a:hover {
    color: #fff;
}

.btn-outline {
    border: 1px solid var(--gold);
    padding: 10px 28px;
    color: var(--gold) !important;
    font-size: 0.75rem !important;
    letter-spacing: 2px;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--bg) !important;
    box-shadow: 0 0 30px var(--gold-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: none;
    padding: 8px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 1px;
    background: #fff;
    transition: all 0.3s;
}

.hamburger.active span:first-child {
    transform: rotate(45deg) translate(2.5px, 2.5px);
}

.hamburger.active span:last-child {
    transform: rotate(-45deg) translate(2.5px, -2.5px);
}

.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.97);
    backdrop-filter: blur(30px);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav a {
    font-family: var(--font-en);
    font-size: 1.5rem;
    letter-spacing: 4px;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: var(--gold);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 0 6%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.bg-image {
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, #0d1117 0%, var(--bg) 70%);
    transform: scale(1.1);
}

.hero-bg .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, var(--bg) 0%, rgba(5, 5, 8, 0.65) 45%, rgba(5, 5, 8, 0.3) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-content {
    max-width: 820px;
    position: relative;
    z-index: 10;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-size: 0.68rem;
    letter-spacing: 5px;
    color: var(--cyan);
    margin-bottom: 36px;
    opacity: 0;
    text-transform: uppercase;
}

.hero-label .dot {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--cyan-glow), 0 0 24px var(--cyan-glow);
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

@keyframes goldShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.main-title {
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    line-height: 1.2;
    margin-bottom: 40px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.main-title .line {
    display: block;
    overflow: hidden;
}

.main-title .line-inner {
    display: block;
    transform: translateY(110%);
}

.main-title .highlight .line-inner {
    background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 30%, #fff 50%, var(--gold-light) 70%, var(--gold) 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 6s ease-in-out infinite;
    animation-delay: 2s;
}

.main-title .paren {
    font-family: var(--font-en);
    font-size: 0.35em;
    font-weight: 400;
    letter-spacing: 0.02em;
    vertical-align: 0.15em;
    opacity: 0.4;
    margin: 0 -0.05em;
}

.main-title .highlight .paren {
    -webkit-text-fill-color: var(--gold-light);
    opacity: 0.45;
}

.hero-subtext {
    font-size: clamp(0.82rem, 1vw, 0.95rem);
    color: var(--text-muted);
    max-width: 620px;
    line-height: 2.2;
    margin-bottom: 48px;
    opacity: 0;
    letter-spacing: 0.04em;
}

.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.scroll-text {
    font-family: var(--font-en);
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--text-dim);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 90px;
    background: rgba(255, 255, 255, 0.07);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, transparent, var(--cyan), transparent);
    animation: scrollDown 2.4s infinite ease-in-out;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(250%); }
}

/* ==========================================================================
   Section Divider Lines (各セクション間の装飾ライン)
   ========================================================================== */
.section-line {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.section-line .line-track {
    width: 1px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.section-line .line-track::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to bottom, transparent, var(--cyan), transparent);
    animation: scrollDown 3s infinite ease-in-out;
}

/* About section — 右端 */
.about .section-line {
    right: 8%;
    bottom: 15%;
}

.about .section-line .line-track {
    height: 140px;
    animation-delay: 0.5s;
}

.about .section-line .line-track::after {
    animation-delay: 0.8s;
}

/* Solutions section — 左端 */
.solutions .section-line {
    left: 4%;
    top: 50%;
    transform: translateY(-50%);
}

.solutions .section-line .line-track {
    height: 180px;
}

.solutions .section-line .line-track::after {
    animation-duration: 3.5s;
    animation-delay: 0.3s;
}

/* CTA section — 中央上 */
.cta .section-line {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cta .section-line .line-track {
    height: 80px;
}

.cta .section-line .line-track::after {
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    animation-duration: 2.8s;
}

/* ==========================================================================
   Shared Section Styles
   ========================================================================== */
.section-header {
    margin-bottom: 72px;
}

.section-eyebrow {
    font-family: var(--font-en);
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--cyan);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-en);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 500;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: 160px 0 140px;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--border-hover));
}

.about-text-content {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    padding: 64px 72px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.about-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

.about-headline {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 36px;
    line-height: 1.5;
    color: #fff;
    font-weight: 500;
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 2;
}

.about-body strong {
    color: var(--text);
    font-weight: 500;
}

/* ==========================================================================
   Solutions Section
   ========================================================================== */
.solutions {
    padding: 140px 0 160px;
    position: relative;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 50%, var(--bg) 100%);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    padding: 48px 36px;
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
}

.solution-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.solution-card:hover::before {
    opacity: 1;
}

.card-number {
    font-family: var(--font-en);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 28px;
}

.card-icon {
    width: 40px;
    height: 40px;
    color: var(--cyan);
    margin-bottom: 28px;
    opacity: 0.7;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-family: var(--font-en);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 20px;
}

.card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 28px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-tags span {
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border: 1px solid var(--border);
    color: var(--text-dim);
    border-radius: 1px;
    transition: all 0.3s;
}

.solution-card:hover .card-tags span {
    border-color: var(--border-hover);
    color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
    padding: 140px 0 160px;
    position: relative;
    background: var(--bg);
}

/* FAQ装飾ライン — 右端 */
.faq .section-line {
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
}

.faq .section-line .line-track {
    height: 160px;
}

.faq .section-line .line-track::after {
    animation-duration: 3.2s;
    animation-delay: 0.6s;
}

.faq-list {
    max-width: 860px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font-jp);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    cursor: none;
    transition: color 0.3s;
    line-height: 1.7;
}

.faq-question:hover {
    color: #fff;
}

/* プラスアイコン */
.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--cyan);
    transition: transform 0.4s var(--ease-out-expo);
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
}

.faq-icon::after {
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    transform: translateX(-50%);
}

/* 開いた状態: + → − */
.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-item.active .faq-question {
    color: var(--cyan);
}

/* 回答エリア */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out-expo), padding 0.5s var(--ease-out-expo);
    padding: 0 0;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 0 28px 0;
}

.faq-answer p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 2;
    padding-right: 44px;
}

.faq-answer strong {
    color: var(--text);
    font-weight: 500;
}

/* ==========================================================================
   Mind Section
   ========================================================================== */
.mind {
    padding: 160px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 30%, var(--bg-elevated) 70%, var(--bg) 100%);
}

.mind .section-line {
    left: 4%;
    top: 140px;
}

.mind .section-line .line-track {
    height: 160px;
}

.mind .section-line .line-track::after {
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    animation-duration: 3.4s;
    animation-delay: 0.4s;
}

.mind-content {
    max-width: 780px;
}

.mind-block {
    margin-bottom: 64px;
}

.mind-block:last-child {
    margin-bottom: 0;
}

.mind-heading {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 28px;
}

.mind-heading em {
    font-style: normal;
    color: var(--gold);
}

.mind-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mind-body p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 2.1;
}

.mind-body strong {
    color: var(--text);
    font-weight: 500;
}

/* ペインリスト（課題一覧） */
.mind-pain-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 28px;
}

.mind-pain-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.mind-pain-list li:first-child {
    border-top: 1px solid var(--border);
}

.pain-icon {
    color: var(--gold);
    flex-shrink: 0;
    font-weight: 300;
    opacity: 0.6;
    margin-top: 2px;
}

.mind-pain-list strong {
    color: var(--text);
    font-weight: 500;
}

/* Empathy block — 個人的な経験 */
.mind-empathy {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-left: 2px solid var(--gold);
    border-radius: 2px;
    padding: 44px 48px;
}

/* Vision block — 未来の提示 */
.mind-future {
    padding-top: 20px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
    padding: 160px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.cta-eyebrow {
    font-family: var(--font-en);
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--cyan);
    margin-bottom: 24px;
}

.cta-title {
    font-family: var(--font-en);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 20px;
}

.cta-sub {
    font-size: 0.95rem;
    color: var(--gold);
    letter-spacing: 1px;
    margin-bottom: 52px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 44px;
    background: transparent;
    border: 1px solid var(--text);
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 2px;
    border-radius: 2px;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
    z-index: -1;
}

.btn-cta:hover {
    border-color: var(--gold);
    color: var(--bg);
}

.btn-cta:hover::before {
    transform: scaleX(1);
}

.btn-cta:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
}

footer p {
    font-family: var(--font-en);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
/* ==========================================================================
   Tablet (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solution-card {
        padding: 40px 32px;
    }

    /* セクションの装飾ラインを控えめに */
    .section-line .line-track {
        height: 80px !important;
    }
}

/* ==========================================================================
   Smartphone (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Navigation */
    nav { display: none; }
    .hamburger { display: flex; }

    /* Hero */
    .hero {
        min-height: 100svh;
        padding: 0 7%;
        align-items: flex-end;
        padding-bottom: 20vh;
    }

    .hero-content {
        max-width: 100%;
    }

    .main-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 1.3;
        margin-bottom: 24px;
    }

    .main-title .paren {
        font-size: 0.42em;
    }

    .hero-label {
        margin-bottom: 20px;
    }

    .hero-label span:last-child {
        font-size: 0.6rem;
        letter-spacing: 3px;
    }

    .hero-subtext {
        font-size: 0.82rem;
        line-height: 2;
    }

    .hero-subtext br { display: none; }

    /* About */
    .about {
        padding: 100px 0 80px;
    }

    .about::before {
        height: 50px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-eyebrow {
        font-size: 0.6rem;
    }

    .section-title {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    .section-subtitle {
        font-size: 0.82rem;
    }

    .about-text-content {
        padding: 36px 24px;
    }

    .about-headline {
        font-size: 1.3rem;
        margin-bottom: 24px;
    }

    .about-body p {
        font-size: 0.88rem;
        line-height: 1.9;
    }

    /* Solutions */
    .solutions {
        padding: 100px 0 120px;
    }

    .solution-card {
        padding: 36px 28px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-desc {
        font-size: 0.82rem;
    }

    .card-tags span {
        font-size: 0.62rem;
    }

    /* FAQ */
    .faq {
        padding: 80px 0 100px;
    }

    .faq-question {
        font-size: 0.88rem;
        padding: 22px 0;
    }

    .faq-answer p {
        font-size: 0.82rem;
        padding-right: 0;
    }

    /* Mind */
    .mind {
        padding: 80px 0 100px;
    }

    .mind-heading {
        font-size: 1.2rem;
    }

    .mind-body p {
        font-size: 0.85rem;
    }

    .mind-pain-list li {
        font-size: 0.85rem;
    }

    .mind-empathy {
        padding: 32px 24px;
    }

    /* CTA */
    .cta {
        padding: 100px 0;
    }

    .cta-title {
        font-size: 1.7rem;
        letter-spacing: 1px;
    }

    .cta-sub {
        font-size: 0.85rem;
        margin-bottom: 36px;
    }

    .btn-cta {
        padding: 16px 28px;
        font-size: 0.82rem;
        letter-spacing: 1px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Scroll indicator — スマホでは非表示 */
    .scroll-indicator { display: none; }

    /* セクション装飾ライン — スマホでは非表示 */
    .section-line { display: none; }

    /* Sound toggle — スマホ用に小さく */
    .sound-toggle {
        bottom: 20px;
        right: 20px;
        padding: 8px 12px;
    }

    .sound-label {
        font-size: 0.5rem;
    }

    .sound-bars {
        height: 12px;
    }

    /* カスタムカーソルを無効化 */
    .custom-cursor, .custom-cursor-dot { display: none; }
    body { cursor: auto; }
    a, button { cursor: pointer; }
}

/* ==========================================================================
   Small Smartphone (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .hero {
        padding: 0 6%;
        padding-bottom: 16vh;
    }

    .main-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .hero-subtext {
        font-size: 0.78rem;
    }

    .about-text-content {
        padding: 28px 18px;
    }

    .about-headline {
        font-size: 1.15rem;
    }

    .solution-card {
        padding: 28px 20px;
    }

    .cta-title {
        font-size: 1.4rem;
    }

    .btn-cta {
        padding: 14px 24px;
        font-size: 0.78rem;
        width: 100%;
        justify-content: center;
    }
}
