/* ============================================
   RECHRO — Global Styles
   Design: Digital Brutalism / Neo-Japanesque
   ============================================ */

/* DESIGN TOKENS & RESET */
:root {
    --bg-color: #050505;
    --text-color: #e6e6e6;
    --accent-primary: #d70035;
    --accent-secondary: #2a2a72;
    --accent-tertiary: #b8b8b8;
    --font-main: 'Helvetica Neue', 'Arial', sans-serif;
    --font-serif: 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
    --easing: cubic-bezier(0.19, 1, 0.22, 1);
    --container-max: 1200px;
}

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

html {
    font-size: 16px;
    overflow-x: hidden;
    background-color: var(--bg-color);
}

body {
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

a { color: inherit; text-decoration: none; }

body, a, button { cursor: auto; }
input, textarea { cursor: text; }

img { max-width: 100%; height: auto; display: block; }

/* ANIMATIONS */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes glitch-anim {
    0% { clip-path: inset(20% 0 80% 0); } 20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(40% 0 50% 0); } 60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(10% 0 70% 0); } 100% { clip-path: inset(30% 0 20% 0); }
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(10px, -20px); }
    66% { transform: translate(-15px, 10px); }
}
@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
}
@keyframes glint {
    0% { left: -150%; }
    100% { left: 150%; }
}

/* NOISE OVERLAY */
.noise-overlay {
    position: fixed; top: -100%; left: -100%; width: 300%; height: 300%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05; pointer-events: none; z-index: 9999;
    animation: grain 8s steps(10) infinite;
}

/* JAPANESE PATTERN OVERLAY */
.jp-pattern {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px; z-index: -1; pointer-events: none;
}

/* FLUID BACKGROUND BLOBS */
.bg-blobs {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: -2; overflow: hidden; filter: blur(80px); opacity: 0.5;
}
.blob { position: absolute; border-radius: 50%; animation: float 25s infinite alternate; mix-blend-mode: screen; }
.blob-1 { width: 50vw; height: 50vw; background: var(--accent-primary); top: -15%; right: -10%; opacity: 0.6; }
.blob-2 { width: 60vw; height: 60vw; background: #1a1a40; bottom: -20%; left: -10%; animation-delay: -5s; opacity: 0.8; }
.blob-3 { width: 20vw; height: 20vw; background: #ffffff; top: 40%; left: 40%; animation-delay: -10s; opacity: 0.15; }

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(60px, 30px) rotate(10deg); }
}

/* CUSTOM CURSOR */
.cursor {
    display: none; position: fixed; top: 0; left: 0;
    width: 20px; height: 20px; border: 2px solid var(--accent-primary);
    border-radius: 50%; pointer-events: none; z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, opacity 0.2s;
    mix-blend-mode: exclusion;
}
.cursor::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); width: 4px; height: 4px;
    background-color: var(--accent-primary); border-radius: 50%;
}
.cursor.hovered { width: 60px; height: 60px; background-color: var(--accent-primary); border-color: transparent; opacity: 0.5; }
.cursor.hidden { opacity: 0; }

@media (hover: hover) and (pointer: fine) {
    body, a, button { cursor: none; }
    .cursor { display: block; }
}

/* LAYOUT */
.smooth-wrapper { width: 100%; }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 5%; }
section { padding: 6rem 0; position: relative; }

/* HEADER */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 1.2rem 5%; display: flex; justify-content: space-between;
    align-items: center; z-index: 1000;
    background: rgba(5,5,5,0.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo { font-size: 1.8rem; font-weight: 900; letter-spacing: -0.05em; text-transform: uppercase; }
.logo a { color: var(--text-color); }

/* NAV */
.nav-links { display: flex; gap: 1.5rem; align-items: center; list-style: none; }
.nav-links a {
    font-family: monospace; font-size: 0.85rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--accent-tertiary);
    transition: color 0.3s; padding: 0.3rem 0;
    border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--text-color); border-bottom-color: var(--accent-primary); }

/* LANGUAGE TOGGLE */
.lang-toggle {
    display: flex; gap: 0; border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0; overflow: hidden; margin-left: 1rem;
}
.lang-toggle button {
    background: transparent; color: var(--accent-tertiary); border: none;
    padding: 0.35rem 0.7rem; font-family: monospace; font-size: 0.75rem;
    font-weight: 700; letter-spacing: 0.1em; cursor: pointer;
    transition: all 0.3s;
}
.lang-toggle button.active {
    background: var(--accent-primary); color: #fff;
}

/* MOBILE NAV */
.nav-hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: none; border: none; padding: 0.5rem;
}
.nav-hamburger span {
    width: 24px; height: 2px; background: var(--text-color);
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        flex-direction: column; background: rgba(5,5,5,0.95);
        backdrop-filter: blur(20px); padding: 2rem 5%; gap: 1.2rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links.open { display: flex; }
    .lang-toggle { margin-left: 0; margin-top: 0.5rem; }
}

/* BREADCRUMB */
.breadcrumb {
    padding: 0.8rem 0; font-family: monospace; font-size: 0.75rem;
    color: var(--accent-tertiary); letter-spacing: 0.05em;
    margin-top: 70px;
}
.breadcrumb a { color: var(--accent-tertiary); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent-primary); }
.breadcrumb span { margin: 0 0.4rem; opacity: 0.5; }

/* TYPOGRAPHY */
.outline-text { color: transparent; -webkit-text-stroke: 1px var(--text-color); }

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); margin-bottom: 0.8rem; }

.section-header-styled { position: relative; margin-bottom: 2.5rem; display: inline-block; }
.section-title-text {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    position: relative; z-index: 2;
}
.section-title-text::before {
    content: attr(data-jp); position: absolute; top: 50%; left: -10px;
    transform: translateY(-50%); font-family: var(--font-serif);
    font-size: 1.5em; color: var(--text-color); opacity: 0.12;
    z-index: -1; white-space: nowrap; pointer-events: none;
}
.section-subtitle {
    font-size: 0.9rem; color: var(--accent-tertiary);
    font-family: monospace; letter-spacing: 0.05em; margin-top: 0.5rem;
}

.big-text {
    font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 400;
    line-height: 1.8; max-width: 900px; color: rgba(230,230,230,0.85);
}

/* BILINGUAL BLOCKS */
.bilingual-block {
    margin: 0 auto 2rem;
    width: 100%;
}
.bilingual-block p {
    margin-bottom: 1rem;
}
.bilingual-block p:last-child {
    margin-bottom: 0;
}
.bilingual-block .text-ja {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem); line-height: 1.9;
    margin-bottom: 1.2rem; color: var(--text-color);
}
.bilingual-block .text-en {
    font-size: clamp(0.85rem, 1.3vw, 1rem); line-height: 1.8;
    color: var(--accent-tertiary); font-style: italic;
}

/* HERO SECTION */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    justify-content: center; text-align: center;
    padding: 5rem 0 2rem;
}
.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem); font-weight: 900;
    line-height: 1.15; text-transform: uppercase; letter-spacing: -0.04em;
    position: relative; z-index: 2; padding: 0.2em 0;
    overflow: visible;
}
.hero-title span { display: block; padding: 0.05em 0; }

/* GLITCH */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
    content: attr(data-text); position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; background: var(--bg-color);
    overflow: visible;
}
.glitch::before {
    left: 2px; text-shadow: -1px 0 var(--accent-primary);
    clip-path: inset(44% 0 61% 0);
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px; text-shadow: -1px 0 var(--accent-secondary);
    clip-path: inset(20% 0 10% 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); } 20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(40% 0 50% 0); } 60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(10% 0 70% 0); } 100% { clip-path: inset(30% 0 20% 0); }
}
@keyframes glitch-anim-2 {
    0% { clip-path: inset(10% 0 60% 0); } 20% { clip-path: inset(30% 0 10% 0); }
    40% { clip-path: inset(80% 0 5% 0); } 60% { clip-path: inset(10% 0 80% 0); }
    80% { clip-path: inset(60% 0 20% 0); } 100% { clip-path: inset(40% 0 40% 0); }
}

.hero-sub {
    margin-top: 1.5rem; font-size: 0.95rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--accent-tertiary);
}
.hero-description {
    max-width: 700px; margin: 2.5rem auto 0; text-align: center;
}
.hero-description .text-ja {
    font-size: 1rem; line-height: 1.9; margin-bottom: 1rem; color: var(--text-color);
}
.hero-description .text-en {
    font-size: 0.9rem; line-height: 1.7; color: var(--accent-tertiary);
}

/* CTA BUTTONS */
.cta-group {
    display: flex; gap: 1rem; justify-content: center;
    flex-wrap: wrap; margin-top: 2.5rem;
}
.cta-button {
    display: inline-block; padding: 0.9rem 2rem; font-family: monospace;
    font-size: 0.9rem; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; border: 1px solid var(--text-color);
    color: var(--text-color); background: transparent;
    transition: all 0.3s var(--easing); position: relative; overflow: hidden;
}
.cta-button:hover {
    background: var(--text-color); color: var(--bg-color);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.cta-button.primary {
    background: var(--accent-primary); border-color: var(--accent-primary); color: #fff;
}
.cta-button.primary::after {
    content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: glint 4s infinite; transform: skewX(-20deg);
}
.cta-button.primary:hover {
    background: #ff0040; box-shadow: 0 0 25px rgba(215,0,53,0.5);
}

/* MARQUEE */
.marquee-container {
    width: 100%; overflow: hidden; white-space: nowrap;
    padding: 1.2rem 0; background: var(--text-color); color: var(--bg-color);
    transform: rotate(-2deg) scale(1.1); margin: 2rem 0;
    border-top: 2px solid var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
}
.marquee-content {
    display: inline-block; animation: marquee 20s linear infinite;
    font-weight: 900; font-size: 1.3rem; text-transform: uppercase;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* CATALOG CARDS */
.catalog-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem; margin-top: 2rem;
}
.catalog-card {
    border: 2px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03);
    border-radius: 20px; backdrop-filter: blur(10px); overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative;
}
.catalog-card:hover {
    border-color: var(--accent-primary); transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(215,0,53,0.3); background: rgba(215,0,53,0.05);
}
.catalog-card-image {
    width: 100%; aspect-ratio: 1/1; background: #111;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; position: relative;
}
.catalog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.catalog-card-image .placeholder-art {
    font-size: 4rem; font-weight: 900; color: rgba(255,255,255,0.06);
    text-transform: uppercase; letter-spacing: -0.04em;
}
.catalog-card-body { padding: 1.5rem; }
.catalog-card-body .card-artist {
    font-family: monospace; font-size: 0.75rem; letter-spacing: 0.15em;
    color: var(--accent-primary); text-transform: uppercase; margin-bottom: 0.3rem;
}
.catalog-card-body .card-title {
    font-size: 1.2rem; font-weight: 800; margin-bottom: 0.3rem;
    text-transform: uppercase; letter-spacing: -0.02em;
}
.catalog-card-body .card-year {
    font-family: monospace; font-size: 0.8rem; color: var(--accent-tertiary);
    margin-bottom: 0.8rem;
}
.catalog-card-body .card-descp {
    margin: 0 0 1.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}
.catalog-card-body .card-cta {
    display: inline-block; font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--bg-color);
    background-color: #fff; border-radius: 50px; padding: 0.7rem 1.5rem;
    transition: all 0.3s; margin-top: 0.5rem; text-decoration: none;
}
.catalog-card-body .card-cta:hover { 
    background-color: var(--accent-primary); color: #fff; 
    transform: scale(1.05);
}

/* SERVICE GRID */
.service-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.service-card {
    border: 1px solid rgba(255,255,255,0.1); padding: 2rem;
    backdrop-filter: blur(10px); transition: transform 0.4s var(--easing), border-color 0.4s;
    background: rgba(0,0,0,0.4);
}
.service-card:hover {
    border-color: var(--accent-primary); transform: scale(1.02);
    z-index: 10; background: rgba(255,42,42,0.05);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--text-color); }
.service-card p { font-size: 0.9rem; line-height: 1.7; color: rgba(230,230,230,0.75); }

/* WORKFLOW */
.workflow-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; position: relative; margin-top: 2rem; }
.workflow-item {
    border: 1px solid rgba(255,255,255,0.1); padding: 2rem; background: rgba(0,0,0,0.6);
    position: relative; transition: transform 0.3s var(--easing), border-color 0.3s;
}
.workflow-item:hover { border-color: var(--accent-secondary); transform: translateY(-5px); background: rgba(42,42,114,0.1); }
.workflow-item::after {
    content: ''; position: absolute; bottom: -2rem; left: 50%;
    transform: translateX(-50%) rotate(45deg); width: 14px; height: 14px;
    border-right: 2px solid var(--accent-primary); border-bottom: 2px solid var(--accent-primary);
    opacity: 0.7;
}
.workflow-item:last-child::after { display: none; }
.step-number { font-family: monospace; font-size: 2.5rem; font-weight: 900; color: var(--accent-tertiary); opacity: 0.3; line-height: 1; margin-bottom: 0.8rem; display: block; }
.workflow-item:hover .step-number { color: var(--accent-secondary); opacity: 1; }
.step-title-en { font-size: 1.1rem; font-weight: 900; color: var(--text-color); margin-bottom: 0.2rem; text-transform: uppercase; }
.step-title-jp { font-size: 0.85rem; color: var(--accent-primary); font-weight: 700; margin-bottom: 0.8rem; display: block; }
.step-desc { font-size: 0.85rem; opacity: 0.8; line-height: 1.7; }

@media (min-width: 1024px) {
    .workflow-grid { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
    .workflow-item { padding: 1.5rem; }
    .workflow-item::after { bottom: auto; left: auto; right: -1.2rem; top: 50%; transform: translateY(-50%) rotate(-45deg); width: 12px; height: 12px; }
}

/* ARTIST LIST */
.artist-item {
    display: block; text-decoration: none; color: inherit;
    border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0;
    position: relative; overflow: hidden; transition: all 0.5s var(--easing);
}
.artist-item:hover { background-color: var(--text-color); color: var(--bg-color); padding-left: 1.5rem; }
.artist-name { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; text-transform: uppercase; line-height: 1.1; }
.artist-item:hover .artist-name { transform: skewX(-10deg); }
.artist-genre { position: absolute; top: 1.5rem; right: 0; font-family: monospace; font-size: 0.85rem; opacity: 0.6; }

/* CONTACT SECTION */
.contact-section { text-align: center; padding: 8rem 0; }

/* CONTACT CATEGORIES */
.contact-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 3rem 0; text-align: left; }
.contact-cat-card {
    border: 1px solid rgba(255,255,255,0.1); padding: 1.8rem;
    background: rgba(0,0,0,0.4); transition: border-color 0.3s;
}
.contact-cat-card:hover { border-color: var(--accent-primary); }
.contact-cat-card h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.contact-cat-card p { font-size: 0.85rem; line-height: 1.6; color: rgba(230,230,230,0.7); margin-bottom: 1rem; }
.contact-cat-card .cta-button { font-size: 0.75rem; padding: 0.6rem 1.2rem; }

/* CONTACT FORM */
.contact-form { max-width: 600px; margin: 0 auto 3rem; text-align: left; }
.form-group { margin-bottom: 1.5rem; position: relative; }
.form-label {
    display: block; font-family: monospace; color: var(--accent-tertiary);
    margin-bottom: 0.4rem; font-size: 0.85rem; letter-spacing: 0.1em;
}
.form-input, .form-textarea {
    width: 100%; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15); color: var(--text-color);
    padding: 0.9rem; font-family: var(--font-main); font-size: 1rem;
    transition: all 0.3s ease;
}
.form-input:focus, .form-textarea:focus {
    outline: none; border-color: var(--accent-primary);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 10px rgba(215,0,53,0.15);
}
.form-select {
    width: 100%; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15); color: var(--text-color);
    padding: 0.9rem; font-family: var(--font-main); font-size: 1rem;
    transition: all 0.3s ease; appearance: none;
}
.form-select:focus { outline: none; border-color: var(--accent-primary); }
.form-select option { background: #111; color: var(--text-color); }

.submit-button {
    display: inline-block; width: 100%; font-size: 1rem; font-weight: 900;
    text-transform: uppercase; color: var(--text-color);
    background: transparent; border: 1px solid var(--text-color);
    padding: 1rem 2rem; cursor: pointer; transition: all 0.3s ease;
    position: relative; overflow: hidden; font-family: var(--font-main);
}
.submit-button:hover {
    background: var(--text-color); color: var(--bg-color);
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/* SNS LINKS */
.sns-list { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 1rem; 
    list-style: none; 
    margin-top: 3rem; 
    justify-content: center;
}
.sns-link {
    font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700;
    padding: 1rem 1.5rem; background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2); border-radius: 50px;
    transition: all 0.3s var(--easing); text-transform: uppercase;
    letter-spacing: 0.1em; display: inline-flex; justify-content: center;
    align-items: center; color: var(--text-color); text-decoration: none;
    width: 100%;
}
.sns-link:hover {
    background-color: var(--accent-primary); color: #fff;
    border-color: var(--accent-primary); transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(215,0,53,0.3);
}

/* FOOTER */
footer {
    padding: 2rem 5%; border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between;
    font-family: monospace; font-size: 0.8rem; color: rgba(255,255,255,0.5);
}

/* FAQ STYLES */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0;
}
.faq-question {
    font-size: 1.05rem; font-weight: 700; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-color); transition: color 0.3s; padding-right: 1rem;
}
.faq-question:hover { color: var(--accent-primary); }
.faq-question::after {
    content: '+'; font-size: 1.5rem; color: var(--accent-primary);
    transition: transform 0.3s; flex-shrink: 0;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s var(--easing), padding 0.3s;
    padding: 0;
}
.faq-item.open .faq-answer { max-height: 500px; padding-top: 1rem; }
.faq-answer p { font-size: 0.9rem; line-height: 1.8; color: rgba(230,230,230,0.75); margin-bottom: 0.5rem; }

/* DETAIL PAGE STYLES */
.detail-hero {
    padding: 8rem 0 4rem; position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.detail-hero .detail-meta {
    font-family: monospace; font-size: 0.8rem; letter-spacing: 0.15em;
    color: var(--accent-primary); text-transform: uppercase; margin-bottom: 0.5rem;
}
.detail-hero h1 {
    font-size: clamp(2rem, 5vw, 4rem); font-weight: 900;
    text-transform: uppercase; line-height: 1; margin-bottom: 1rem;
}
.detail-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 4rem 0; }
.detail-visual {
    aspect-ratio: 1/1; background: #111; border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.detail-visual img { width: 100%; height: 100%; object-fit: cover; }
.detail-visual .placeholder-art { font-size: 5rem; font-weight: 900; color: rgba(255,255,255,0.05); }
.detail-info { display: flex; flex-direction: column; gap: 2rem; }
.info-block h3 {
    font-family: monospace; font-size: 0.8rem; letter-spacing: 0.15em;
    color: var(--accent-primary); text-transform: uppercase; margin-bottom: 0.5rem;
}
.info-block p { font-size: 0.9rem; line-height: 1.7; color: rgba(230,230,230,0.8); }
.tag-list { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag {
    font-family: monospace; font-size: 0.75rem; letter-spacing: 0.08em;
    padding: 0.3rem 0.7rem; border: 1px solid rgba(255,255,255,0.15);
    color: var(--accent-tertiary);
}

.listen-links { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.5rem; }
.listen-links a {
    font-family: monospace; font-size: 0.8rem; padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.2); color: var(--text-color);
    transition: all 0.3s; letter-spacing: 0.05em;
}
.listen-links a:hover { background: var(--text-color); color: var(--bg-color); }

/* FAQ 調整 */
@media (max-width: 768px) {
    .faq-question { font-size: 1rem; }
}

/* DETAIL PAGE 調整 */
@media (max-width: 768px) {
    .detail-hero { padding: 6rem 0 3rem; }
    .detail-hero h1 { font-size: 2.5rem; }
    .detail-content { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0; }
    .detail-visual { margin-bottom: 2rem; }
}

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s var(--easing); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* LOADING SCREEN */
#loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000; z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.4s var(--easing), visibility 0.4s;
}
#loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { position: relative; text-align: center; }
.loader-logo {
    font-size: clamp(3rem, 10vw, 8rem); font-weight: 900;
    color: #222; letter-spacing: -0.05em; position: relative; user-select: none;
}
.loader-logo::before {
    content: "RECHRO"; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; color: #fff;
    clip-path: inset(100% 0 0 0);
    animation: fill-water-level 4.0s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes fill-water-level { 0% { clip-path: inset(100% 0 0 0); } 100% { clip-path: inset(0% 0 0 0); } }

/* LANGUAGE TOGGLE VISIBILITY */
[lang-content="ja"] { display: block; }
[lang-content="en"] { display: none; }
body.lang-en [lang-content="ja"] { display: none; }
body.lang-en [lang-content="en"] { display: block; }
/* For inline spans */
span[lang-content="ja"] { display: inline; }
span[lang-content="en"] { display: none; }
body.lang-en span[lang-content="ja"] { display: none; }
body.lang-en span[lang-content="en"] { display: inline; }

/* ============================================
   MOBILE OVERRIDES (MEDIA QUERIES)
   Moved to bottom to ensure proper cascade
   ============================================ */
@media (max-width: 768px) {
    /* GLOBAL / LAYOUT */
    section { padding: 3rem 0; }
    .container { padding: 0 6%; }
    
    /* HEADER */
    header { padding: 1rem 6%; }
    .logo { font-size: 1.4rem; }
    
    /* NAV */
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        padding: 2.5rem 6% 2.5rem;
        background: rgba(5, 5, 5, 0.98);
        text-align: center;
        flex-direction: column;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.1rem; padding: 0.6rem 0; border: none; width: 100%; display: block; }
    
    /* Typography */
    h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); margin-bottom: 1rem; }
    h2 { font-size: clamp(1.4rem, 5vw, 2rem); margin-bottom: 0.8rem; }
    h3 { font-size: clamp(1.1rem, 4vw, 1.5rem); }
    p { font-size: 0.95rem; }

    .bilingual-block p.text-ja { font-size: 0.95rem !important; }
    .bilingual-block p.text-en { font-size: 0.85rem !important; }
    
    /* HERO */
    .hero { min-height: 70vh; padding-top: 6rem; }
    .hero-title { font-size: clamp(2.2rem, 12vw, 3.8rem); line-height: 1.2; display: flex; flex-direction: column; }
    .hero-title span { padding: 0.2em 0; }
    .hero-description { margin-top: 1.5rem; padding: 0 4%; }
    
    /* TYPOGRAPHY */
    .section-title-text { font-size: 2.2rem; }
    .section-title-text::before { display: none; }
    .big-text { font-size: 1rem; line-height: 1.7; }
    
    /* GRIDS */
    .catalog-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .service-container { grid-template-columns: 1fr; gap: 1.5rem; }
    .workflow-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-categories { grid-template-columns: 1fr; gap: 1rem; }
    
    /* CATALOG CARD */
    .catalog-card { border-radius: 12px; }
    .catalog-card-body { padding: 1.2rem; }
    .catalog-card-body .card-cta { width: 100%; text-align: center; padding: 0.8rem; }
    
    /* FAQ */
    .faq-question { font-size: 1rem; }
    
    /* SNS LINKS */
    .sns-list { display: flex; flex-direction: column; gap: 0.8rem; width: 100%; }
    .sns-link { flex: 1; width: 100%; justify-content: center; padding: 1.1rem; min-width: unset; }
    
    /* FOOTER */
    footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 6%; }
    
    /* REVEAL ADJUSTMENT */
    .reveal { transform: translateY(20px); transition: all 0.6s var(--easing); }
    
    /* DISABLE HOVER SQUELCH */
    .catalog-card:hover, .service-card:hover, .workflow-item:hover { 
        transform: none; box-shadow: none; 
    }
    
    /* BLOBS */
    .blob { transform: scale(0.5); opacity: 0.3; }
}
