:root {
    --navy: #0a1628;
    --navy-light: #121f36;
    --gold: #c9a84c;
    --gold-light: #e3c76b;
    --white: #f5f5f5;
    --gray: #94a3b8;
    --gray-dark: #475569;
    --error: #ef4444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
}

/* ── ACCESSIBILITY ── */
.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: var(--gold); color: var(--navy);
    padding: 0.75rem 1.5rem; z-index: 9999;
    font-weight: 600; text-decoration: none; border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }

:focus-visible {
    outline: 2px solid #ffd700;
    outline-offset: 3px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── NAV ── */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    transition: background 0.3s, backdrop-filter 0.3s;
}
nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.logo { font-size: 1.4rem; font-weight: 700; letter-spacing: 2px; color: var(--gold); text-decoration: none; }
.logo span { color: var(--white); font-weight: 300; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--gray); text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s; }
.nav-links a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* ── HERO ── */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-slideshow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 2s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.6) 50%, rgba(10,22,40,0.85) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 0 2rem; }
.hero-tag { display: inline-block; font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 0.5rem 1.5rem; margin-bottom: 2rem; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--gold); }
.hero p { font-size: 1.15rem; color: var(--gray); max-width: 650px; margin: 0 auto 2.5rem; line-height: 1.7; font-weight: 300; }
.hero-cta { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-controls { position: absolute; bottom: 5rem; right: 2rem; z-index: 3; }
.hero-pause { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.hero-pause:hover { background: rgba(201,168,76,0.3); border-color: var(--gold); }

.btn { padding: 0.9rem 2.5rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; transition: all 0.3s; display: inline-block; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,168,76,0.3); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; animation: bounce 2s infinite; }
.scroll-indicator span { display: block; width: 20px; height: 30px; border: 2px solid rgba(201,168,76,0.5); border-radius: 10px; position: relative; }
.scroll-indicator span::after { content: ''; width: 4px; height: 8px; background: var(--gold); border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scroll-dot 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }
@keyframes scroll-dot { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 16px; } }

/* ── SECTIONS ── */
section { padding: 6rem 2rem; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-tag { font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: block; }
.section-header h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.section-header p { color: var(--gray); line-height: 1.7; font-weight: 300; }

/* ── ABOUT ── */
.about { background: var(--navy-light); }
.about-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { position: relative; border-radius: 4px; overflow: visible; }
.about-image img { width: 100%; height: 400px; object-fit: cover; display: block; border-radius: 4px; }
.about-image::after { content: ''; position: absolute; top: 12px; left: 12px; width: 100%; height: 100%; border: 1px solid var(--gold); border-radius: 4px; z-index: -1; }
.about-text h3 { font-size: 1.8rem; margin-bottom: 1.5rem; line-height: 1.3; }
.about-text p { color: var(--gray); line-height: 1.8; margin-bottom: 1rem; font-weight: 300; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
.stat-item h4 { font-size: 2rem; color: var(--gold); font-weight: 700; }
.stat-item p { font-size: 0.8rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0; }

/* ── SERVICES ── */
.services { background: var(--navy); }
.services-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { position: relative; overflow: hidden; border-radius: 4px; height: 350px; cursor: default; transition: transform 0.3s; }
.service-card:focus-within { transform: translateY(-5px); }
.service-card:focus-within img { transform: scale(1.08); }
.service-card:hover { transform: translateY(-5px); }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover img { transform: scale(1.08); }
.service-card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem; background: linear-gradient(transparent, rgba(10,22,40,0.95)); }
.service-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.5; font-weight: 300; }

/* ── APPROACH ── */
.approach { background: var(--navy-light); }
.approach-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.approach-item { text-align: center; padding: 2rem; }
.approach-number { font-size: 3rem; font-weight: 700; color: var(--gold); opacity: 0.3; margin-bottom: 1rem; }
.approach-item h3 { font-size: 1.1rem; margin-bottom: 1rem; font-weight: 600; }
.approach-item p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; font-weight: 300; }

/* ── CONTACT ── */
.contact { background: var(--navy); }
.contact-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 2rem; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-detail .icon { color: var(--gold); font-size: 1.2rem; min-width: 24px; }
.contact-detail p { color: var(--gray); line-height: 1.6; font-weight: 300; }
.contact-detail a { color: var(--gold); text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: flex; gap: 1.2rem; }
.form-group { width: 100%; position: relative; }
.form-group label { display: block; font-size: 0.75rem; color: var(--gray); margin-bottom: 0.4rem; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 500; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; color: var(--white); font-family: inherit; font-size: 0.9rem; transition: border-color 0.3s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--gold); }
.contact-form input.error, .contact-form textarea.error { border-color: var(--error); }
.form-error { color: var(--error); font-size: 0.75rem; margin-top: 0.3rem; display: none; }
.form-error.visible { display: block; }
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form select option { background: var(--navy); }
.consent-label { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--gray); font-size: 0.85rem; line-height: 1.5; cursor: pointer; }
.consent-label input[type="checkbox"] { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; cursor: pointer; }
.consent-label a { color: var(--gold); }
.form-success { display: none; text-align: center; padding: 2rem; }
.form-success h3 { color: var(--gold); margin-bottom: 1rem; }
.form-success p { color: var(--gray); }

/* ── FOOTER ── */
footer { background: rgba(0,0,0,0.3); padding: 3rem 2rem; text-align: center; }
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-logo { font-size: 1.2rem; font-weight: 700; letter-spacing: 2px; color: var(--gold); margin-bottom: 1rem; }
.footer-logo span { color: var(--white); font-weight: 300; }
footer p { color: var(--gray-dark); font-size: 0.8rem; line-height: 1.8; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin: 1rem 0; flex-wrap: wrap; }
.footer-links a { color: var(--gray); text-decoration: none; font-size: 0.8rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-offices { display: flex; justify-content: center; gap: 3rem; margin: 1.5rem 0; flex-wrap: wrap; }
.footer-office p { font-size: 0.8rem; color: var(--gray); }
.footer-office strong { color: var(--white); font-weight: 500; }
.footer-divider { width: 60px; height: 1px; background: var(--gold); margin: 1.5rem auto; opacity: 0.4; }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s, transform 0.8s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 968px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; flex-direction: column; background: rgba(10,22,40,0.98); padding: 2rem; gap: 1.5rem; border-bottom: 1px solid rgba(201,168,76,0.15); }
    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }
    .services-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .stat-item h4 { font-size: 1.5rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-controls { bottom: 6rem; right: 1rem; }
}

/* ── LEGAL PAGE STYLES ── */
.legal-content { max-width: 800px; margin: 0 auto; padding: 8rem 2rem 4rem; }
.legal-content h1 { font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--gold); }
.legal-content .effective { color: var(--gray); font-size: 0.9rem; margin-bottom: 3rem; }
.legal-content h2 { font-size: 1.3rem; margin: 2.5rem 0 1rem; color: var(--white); }
.legal-content p { color: var(--gray); line-height: 1.8; margin-bottom: 1rem; font-weight: 300; }
.legal-content ul { color: var(--gray); line-height: 1.8; margin: 0.5rem 0 1rem 1.5rem; font-weight: 300; }
.legal-content li { margin-bottom: 0.5rem; }
.legal-content a { color: var(--gold); }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.legal-content th, .legal-content td { text-align: left; padding: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.08); color: var(--gray); font-size: 0.9rem; }
.legal-content th { color: var(--white); font-weight: 500; }
.back-link { color: var(--gray); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.back-link:hover { color: var(--gold); }
.legal-nav { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; background: rgba(10,22,40,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(201,168,76,0.15); }
