:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --accent-pink: #ff2d75;
    --accent-purple: #9d4edd;
    --accent-cyan: #00f5ff;
    --accent-orange: #ff6b35;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    --gradient-demon: linear-gradient(135deg, #ff2d75, #9d4edd);
    --gradient-glow: linear-gradient(135deg, #ff2d7540, #9d4edd40);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-pink);
    top: -200px;
    right: -200px;
}

.bg-orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    bottom: -150px;
    left: -150px;
    animation-delay: -10s;
}

.bg-orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-cyan);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
    opacity: 0.15;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Grid Pattern */
.grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,45,117,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,45,117,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 45, 117, 0.2);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-demon);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding: 8px;
    box-shadow: 0 0 30px rgba(255, 45, 117, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 45, 117, 0.4); }
    50% { box-shadow: 0 0 50px rgba(255, 45, 117, 0.6); }
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    background: var(--gradient-demon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.1em;
}

nav {
    display: flex;
    gap: 0.5rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

nav a:hover {
    color: var(--accent-pink);
    background: rgba(255, 45, 117, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-glow);
    border: 1px solid rgba(255, 45, 117, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-badge span {
    color: var(--accent-pink);
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero h1 .gradient-text {
    background: var(--gradient-demon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-demon);
    color: white;
    box-shadow: 0 4px 30px rgba(255, 45, 117, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(255, 45, 117, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--accent-pink);
    background: rgba(255, 45, 117, 0.1);
}

/* Demon Character */
.demon-mascot {
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-size: 8rem;
    opacity: 0.15;
    animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 45, 117, 0.1);
    border-bottom: 1px solid rgba(255, 45, 117, 0.1);
    padding: 2rem;
}

.stats-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    background: var(--gradient-demon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Instruments Section */
.instruments {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: var(--accent-pink);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.instrument-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.instrument-card:link,
.instrument-card:visited,
.instrument-card:hover,
.instrument-card:active {
    text-decoration: none;
    color: inherit;
}

.instrument-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-demon);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
    opacity: 0;
}

.instrument-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 45, 117, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.instrument-card:hover::before {
    transform: scaleX(1);
    opacity: 1;
}

.instrument-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-glow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.instrument-card:hover .instrument-icon {
    background: var(--gradient-demon);
    transform: scale(1.1) rotate(5deg);
}

.instrument-card a,
.instrument-card:link,
.instrument-card:visited {
    text-decoration: none;
    border: none;
    outline: none;
}

.instrument-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.instrument-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.instrument-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topic-tag {
    background: rgba(255, 45, 117, 0.1);
    color: var(--accent-pink);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Content Sections */
.content-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    scroll-margin-top: 100px;
}

.content-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 45, 117, 0.2);
}

.content-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-demon);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.content-title-group h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.content-title-group p {
    color: var(--text-secondary);
}

.guide-block {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-pink);
    transition: all 0.3s ease;
}

.guide-block:hover {
    border-color: rgba(255, 45, 117, 0.2);
    border-left-color: var(--accent-pink);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.guide-block h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--accent-pink);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-block p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

.tip-box {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(255, 45, 117, 0.2));
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.tip-box h4 {
    color: var(--accent-purple);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tip-box p {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.mic-recommend {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.mic-recommend:hover {
    border-color: rgba(255, 45, 117, 0.3);
    transform: translateX(5px);
}

.mic-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mic-info h4 {
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.mic-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.mic-price {
    margin-left: auto;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: var(--accent-cyan);
}

/* Feature Box with Label */
.feature-box {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
}

.feature-label {
    position: absolute;
    top: -10px;
    left: 12px;
    background: var(--bg-dark);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    border-radius: 4px;
    border: 1px solid var(--accent-cyan);
}

.feature-box p {
    margin: 0.5rem 0;
    padding-left: 0.5rem;
}

.feature-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-box li {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-primary);
}

.feature-box li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* Feature Box Danger Variant (デメリット用) */
.feature-box-danger {
    border-left-color: var(--accent-pink);
}

.feature-box-danger .feature-label {
    color: var(--accent-pink);
    border-color: var(--accent-pink);
}

.feature-box-danger li::before {
    color: var(--accent-pink);
}

/* Spec Table */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    -webkit-overflow-scrolling: touch;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    font-size: 0.9rem;
}

.spec-table thead {
    background: linear-gradient(135deg, rgba(255, 45, 117, 0.2), rgba(157, 78, 221, 0.2));
}

.spec-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-pink);
    white-space: nowrap;
}

.spec-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.spec-table td strong {
    color: var(--text-primary);
}

.spec-table tbody tr:hover {
    background: rgba(255, 45, 117, 0.05);
}

.spec-table tbody tr:last-child td {
    border-bottom: none;
}

/* テーブル スマホ対応 - カード形式に変換 */
@media (max-width: 768px) {
    .table-container {
        margin: 1.25rem 0;
        border-radius: 10px;
        border: none;
        overflow: visible;
    }

    .spec-table {
        display: block;
        font-size: 0.85rem;
        background: transparent;
    }

    .spec-table thead {
        display: none;
    }

    .spec-table tbody {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .spec-table tbody tr {
        display: block;
        background: var(--bg-card);
        border-radius: 10px;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-left: 3px solid var(--accent-pink);
    }

    .spec-table tbody tr:hover {
        background: var(--bg-card-hover);
        border-color: rgba(255, 45, 117, 0.2);
        border-left-color: var(--accent-pink);
    }

    .spec-table td {
        display: block;
        padding: 0.4rem 0;
        border-bottom: none;
        text-align: left;
    }

    .spec-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.7rem;
        font-weight: 600;
        color: var(--accent-cyan);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.2rem;
    }

    .spec-table td:first-child {
        padding-bottom: 0.6rem;
        margin-bottom: 0.4rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .spec-table td:first-child strong {
        font-size: 1rem;
        color: var(--text-primary);
    }

    .spec-table tbody tr:last-child td {
        border-bottom: none;
    }

    .spec-table tbody tr:last-child td:first-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 480px) {
    .table-container {
        margin: 1rem 0;
    }

    .spec-table tbody {
        gap: 0.625rem;
    }

    .spec-table tbody tr {
        padding: 0.875rem 0.75rem;
    }

    .spec-table td {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }

    .spec-table td::before {
        font-size: 0.65rem;
    }

    .spec-table td:first-child strong {
        font-size: 0.95rem;
    }
}

/* Page Hero (subpages) */
.page-hero {
    min-height: 60vh;
    padding-top: 8rem;
    position: relative;
    overflow: visible;
}

.page-hero-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.page-hero-image {
    width: 200px;
    height: auto;
    opacity: 0.95;
    filter: drop-shadow(0 10px 40px rgba(255, 45, 117, 0.5));
}

.page-hero-title {
    text-align: left;
}

.page-hero-title h1 {
    margin-bottom: 0;
    text-align: left;
}

/* Section Divider */
.section-divider {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(157, 78, 221, 0.1) 50%, var(--bg-dark) 100%);
}

.section-divider p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Subdued Section */
.section-subdued {
    opacity: 0.85;
}

/* Highlight Tip Box */
.tip-box-highlight {
    background: linear-gradient(135deg, rgba(255, 0, 140, 0.2) 0%, rgba(0, 245, 255, 0.2) 100%);
    border-left: 4px solid var(--accent-pink);
}

/* Hero Character Images */
.hero-character {
    position: absolute;
    bottom: 0;
    right: 10%;
    width: 250px;
    height: auto;
    opacity: 0.9;
    z-index: 1;
    display: none;
    filter: drop-shadow(0 10px 40px rgba(0, 245, 255, 0.3));
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .hero-character {
        display: block !important;
    }
}

/* Hero with Character Layout */
/* Removed left-alignment styling to keep hero content centered */

/* Basics Links Grid */
.basics-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.basics-link-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.basics-link-card:hover {
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
}

.basics-link-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(157, 78, 221, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.basics-link-content h4 {
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.basics-link-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
footer {
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 45, 117, 0.2);
    padding: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-main {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-demon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-text {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav-group h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav-group a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav-group a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    text-align: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }
}

/* External Links Hover Effect */
.guide-block a[target="_blank"],
.content-section a[target="_blank"] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    background: rgba(0, 245, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.guide-block a[target="_blank"]:hover,
.content-section a[target="_blank"]:hover {
    color: var(--accent-pink);
    background: rgba(255, 45, 117, 0.1);
    border-color: rgba(255, 45, 117, 0.3);
    transform: translateX(5px);
}

.guide-block a[target="_blank"]::before,
.content-section a[target="_blank"]::before {
    content: "🔗";
    font-size: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.guide-block a[target="_blank"]::after,
.content-section a[target="_blank"]::after {
    content: "→";
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin-left: auto;
}

.guide-block a[target="_blank"]:hover::before,
.content-section a[target="_blank"]:hover::before {
    transform: rotate(-15deg);
}

.guide-block a[target="_blank"]:hover::after,
.content-section a[target="_blank"]:hover::after {
    transform: translateX(5px);
    color: var(--accent-pink);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   AUDIO WAVEFORM PLAYER
   Cyberpunk-styled audio player component
   =========================================== */

.audio-player {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.95), rgba(10, 10, 15, 0.98));
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.audio-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink), var(--accent-purple));
    opacity: 0.8;
}

.audio-player-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.audio-player-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-demon);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.audio-player-info {
    flex: 1;
    min-width: 0;
}

.audio-player-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audio-player-label {
    font-size: 0.7rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.15rem;
}

.audio-player-waveform {
    height: 64px;
    margin: 0.75rem 0;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
}

.audio-player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audio-player-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    background: rgba(0, 245, 255, 0.1);
    color: var(--accent-cyan);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.audio-player-btn:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
    transform: scale(1.05);
}

.audio-player-btn.playing {
    border-color: var(--accent-pink);
    background: rgba(255, 45, 117, 0.2);
    color: var(--accent-pink);
}

.audio-player-btn.playing:hover {
    background: var(--accent-pink);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(255, 45, 117, 0.4);
}

.audio-player-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    min-width: 100px;
}

.audio-player-time-current {
    color: var(--accent-cyan);
}

.audio-player-time-divider {
    color: var(--text-muted);
}

.audio-player-volume {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.audio-player-volume-icon {
    font-size: 1rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.audio-player-volume-icon:hover {
    color: var(--accent-cyan);
}

.audio-player-volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.audio-player-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--accent-cyan);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 245, 255, 0.5);
    transition: transform 0.2s ease;
}

.audio-player-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.audio-player-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--accent-cyan);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 8px rgba(0, 245, 255, 0.5);
}

/* Before/After Audio Comparison */
.audio-comparison {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.95), rgba(10, 10, 15, 0.98));
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
}

.audio-comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
}

.audio-comparison-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.audio-comparison-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.audio-comparison-badge {
    background: var(--gradient-demon);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.audio-comparison-tracks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.audio-comparison-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.audio-comparison-track.before {
    border-color: rgba(255, 107, 53, 0.3);
}

.audio-comparison-track.after {
    border-color: rgba(0, 245, 255, 0.3);
}

.audio-comparison-track-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audio-comparison-track.before .audio-comparison-track-label {
    color: var(--accent-orange);
}

.audio-comparison-track.after .audio-comparison-track-label {
    color: var(--accent-cyan);
}

.audio-comparison-track .audio-player-waveform {
    height: 48px;
    margin: 0.5rem 0;
}

.audio-comparison-track .audio-player-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .audio-player-controls {
        flex-wrap: wrap;
    }

    .audio-player-volume {
        width: 100%;
        margin-left: 0;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .audio-comparison-tracks {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   MOBILE-FIRST RESPONSIVE DESIGN
   Maximum readability on small screens
   =========================================== */

/* Tablet (768px以下) */
@media (max-width: 768px) {
    .header-content {
        padding: 0.75rem 1rem;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 1rem;
    }

    nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 7rem 1rem 3rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .demon-mascot {
        display: none;
    }

    .instruments {
        padding: 3rem 0.75rem;
    }

    .instruments-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .instrument-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .content-section {
        padding: 2.5rem 0.75rem;
    }

    .content-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .content-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .content-title-group h2 {
        font-size: 1.5rem;
    }

    /* Guide Block - スマホ最適化 */
    .guide-block {
        padding: 1.25rem 1rem;
        margin: 1.25rem 0;
        border-radius: 14px;
        border-left-width: 3px;
    }

    .guide-block h3 {
        font-size: 1.05rem;
    }

    .guide-block p {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    /* Feature Box - スマホ最適化 */
    .feature-box {
        padding: 1.25rem 0.875rem;
        margin: 1.25rem 0;
        border-left-width: 2px;
        border-radius: 6px;
    }

    .feature-label {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
        top: -8px;
        left: 8px;
    }

    .feature-box p {
        padding-left: 0.25rem;
        font-size: 0.9rem;
    }

    .feature-box li {
        padding-left: 1.25rem;
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }

    /* Tip Box - スマホ最適化 */
    .tip-box {
        padding: 1rem 0.875rem;
        margin: 1rem 0;
        border-radius: 10px;
    }

    .tip-box h4 {
        font-size: 0.85rem;
    }

    .tip-box p {
        font-size: 0.9rem;
    }

    /* Mic Recommend - スマホ最適化 */
    .mic-recommend {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1rem;
        gap: 1rem;
    }

    .mic-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .mic-info h4 {
        font-size: 1rem;
    }

    .mic-info p {
        font-size: 0.85rem;
    }

    .mic-price {
        margin-left: 0;
        margin-top: 0.5rem;
        font-size: 1.1rem;
    }

    /* Section Header */
    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-desc {
        font-size: 0.9rem;
    }

    /* Stats Bar */
    .stats-bar {
        padding: 1.5rem 0.75rem;
    }

    .stats-content {
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1rem 1.5rem;
        gap: 2rem;
    }

    .footer-nav {
        justify-content: center;
        gap: 2rem;
    }

    .footer-logo {
        justify-content: center;
    }

    /* Basics Links */
    .basics-links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .basics-link-card {
        padding: 1rem;
    }

    .basics-link-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .basics-link-content h4 {
        font-size: 0.95rem;
    }

    .basics-link-content p {
        font-size: 0.8rem;
    }

    /* External Links */
    .guide-block a[target="_blank"],
    .content-section a[target="_blank"] {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }

    .guide-block a[target="_blank"]::before,
    .content-section a[target="_blank"]::before {
        font-size: 0.85rem;
    }

    .guide-block a[target="_blank"]::after,
    .content-section a[target="_blank"]::after {
        font-size: 1rem;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    /* Page Hero */
    .page-hero {
        min-height: 50vh;
        padding-top: 6rem;
    }

    .page-hero-layout {
        padding: 0 0.5rem;
    }

    .page-hero-image {
        width: 140px;
    }

    .page-hero-title h1 {
        font-size: 1.75rem;
        text-align: center;
    }

    .page-hero-title {
        text-align: center;
    }
}

/* スマホ（480px以下）- さらに狭い画面向け */
@media (max-width: 480px) {
    body {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero {
        padding: 6rem 0.625rem 2.5rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-badge {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 2rem;
        padding: 0;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .instruments {
        padding: 2.5rem 0.5rem;
    }

    .instrument-card {
        padding: 1rem;
    }

    .instrument-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .instrument-name {
        font-size: 1.1rem;
    }

    .instrument-desc {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .topic-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }

    .content-section {
        padding: 2rem 0.5rem;
    }

    .content-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .content-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        border-radius: 14px;
    }

    .content-title-group h2 {
        font-size: 1.3rem;
    }

    .content-title-group p {
        font-size: 0.85rem;
    }

    /* Guide Block - 極小画面最適化 */
    .guide-block {
        padding: 1rem 0.75rem;
        margin: 1rem 0;
        border-radius: 12px;
    }

    .guide-block h3 {
        font-size: 1rem;
        gap: 0.4rem;
    }

    .guide-block p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* Feature Box - 極小画面最適化 */
    .feature-box {
        padding: 1rem 0.625rem;
        margin: 1rem 0;
    }

    .feature-label {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }

    .feature-box p {
        font-size: 0.85rem;
        padding-left: 0;
    }

    .feature-box li {
        padding-left: 1rem;
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .feature-box li::before {
        font-size: 0.85rem;
    }

    /* Tip Box - 極小画面最適化 */
    .tip-box {
        padding: 0.875rem 0.625rem;
        margin: 0.875rem 0;
    }

    .tip-box h4 {
        font-size: 0.8rem;
    }

    .tip-box p {
        font-size: 0.85rem;
        line-height: 1.65;
    }

    /* Mic Recommend - 極小画面最適化 */
    .mic-recommend {
        padding: 1rem 0.75rem;
    }

    /* Section Header */
    .section-header {
        margin-bottom: 2rem;
        padding: 0;
    }

    .section-tag {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-desc {
        font-size: 0.85rem;
    }

    /* Stats */
    .stats-bar {
        padding: 1.25rem 0.5rem;
    }

    .stat-item {
        padding: 0.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Footer */
    .footer-content {
        padding: 2rem 0.75rem 1rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-nav-group h4 {
        font-size: 0.8rem;
    }

    .footer-nav-group a {
        font-size: 0.85rem;
    }

    .copyright {
        font-size: 0.7rem;
    }

    /* Basics Links */
    .basics-links-grid {
        padding: 0;
    }

    .basics-link-card {
        padding: 0.875rem;
        gap: 0.75rem;
    }

    .basics-link-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .basics-link-content h4 {
        font-size: 0.9rem;
    }

    .basics-link-content p {
        font-size: 0.75rem;
    }

    /* External Links */
    .guide-block a[target="_blank"],
    .content-section a[target="_blank"] {
        padding: 0.35rem 0.5rem;
        font-size: 0.8rem;
        gap: 0.35rem;
    }

    /* Page Hero */
    .page-hero {
        min-height: 45vh;
        padding-top: 5rem;
    }

    .page-hero-image {
        width: 120px;
    }

    .page-hero-title h1 {
        font-size: 1.5rem;
    }

    /* Section Divider */
    .section-divider {
        padding: 2rem 0.75rem;
    }

    .section-divider p {
        font-size: 0.8rem;
    }
}
