﻿:root {
    --bg-dark: #020617; /* Slate 950 */
    --bg-glass: rgba(15, 23, 42, 0.65);
    --border-glass: rgba(16, 185, 129, 0.2);
    --emerald: #10b981;
    --sky: #0ea5e9;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-jp);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
    letter-spacing: 0.04em;
}

/* Unique Graphic Element: Animated Molecule Grid */
.bio-bg { position: fixed; inset: 0; z-index: -1; background: var(--bg-dark); overflow: hidden; }
.molecule-grid { position: absolute; width: 200%; height: 200%; top: -50%; left: -50%; background-image: radial-gradient(rgba(16, 185, 129, 0.1) 2px, transparent 2px), radial-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px); background-size: 80px 80px; background-position: 0 0, 40px 40px; transform: perspective(800px) rotateX(55deg) rotateZ(20deg); animation: cellFlow 25s linear infinite; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(150px); opacity: 0.25; mix-blend-mode: screen; }
.emerald { width: 45vw; height: 45vw; background: var(--emerald); top: -10%; left: -10%; animation: floatOrb 12s alternate infinite; }
.sky { width: 40vw; height: 40vw; background: var(--sky); bottom: -10%; right: -10%; animation: floatOrb 15s alternate-reverse infinite; }

@keyframes cellFlow { 100% { transform: perspective(800px) rotateX(55deg) rotateZ(20deg) translateY(80px); } }
@keyframes floatOrb { 0% { transform: scale(0.9) translate(0); } 100% { transform: scale(1.1) translate(5%, 10%); } }

/* Typography */
h1, h2, h3 { font-weight: 900; letter-spacing: -0.02em; }
.brand-text, .badge-tag, .proc-num, .s-big, .hero-h1 .text-gradient { font-family: var(--font-en); }
.brand-text { font-size: 1.9rem; font-weight: 900; }
a { color: var(--text-white); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--emerald); }
.text-center { text-align: center; }
.text-gradient { background: linear-gradient(135deg, var(--emerald), var(--sky)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Structural */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.glass-panel { background: var(--bg-glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-glass); border-radius: 24px; box-shadow: 0 25px 50px rgba(0,0,0,0.6); }

/* Buttons & Tags */
.badge-tag { display: inline-block; padding: 0.5rem 1.4rem; background: rgba(16, 185, 129, 0.1); border: 1px solid var(--emerald); color: var(--emerald); border-radius: 50px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2rem; box-shadow: inset 0 0 15px rgba(16, 185, 129, 0.2); }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(90deg, var(--emerald), var(--sky)); color: #020617 !important; padding: 1.2rem 2.5rem; border-radius: 12px; font-weight: 700; border: none; cursor: pointer; transition: 0.4s; font-size: 1.05rem; box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(14, 165, 233, 0.4); color: #fff !important; }
.btn-outline { padding: 0.8rem 1.8rem; border: 1px solid var(--emerald); color: var(--text-white); border-radius: 10px; font-weight: 700; transition: 0.3s; }
.btn-outline:hover { background: var(--emerald); color: var(--bg-dark); }
.btn-block { width: 100%; }

/* Header */
.glass-header { position: fixed; width: 100%; top: 0; z-index: 1000; background: rgba(2, 6, 23, 0.8); border-bottom: 1px solid rgba(255,255,255,0.05); backdrop-filter: blur(16px); }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.brand { display: flex; align-items: center; gap: 12px; }
.accent-dot { color: var(--emerald); }
.desktop-nav { display: flex; gap: 3rem; align-items: center; }
.desktop-nav a { font-size: 0.95rem; font-weight: 700; }

/* Sections Global */
section { padding: 9rem 0; }
.section-title { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; line-height: 1.25; }
.section-sub { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 4rem; max-width: 700px; margin-inline: auto; }

/* Hero */
.hero { display: flex; align-items: center; min-height: 100vh; padding-top: 130px; }
.hero-box { padding: 5rem; max-width: 900px; border-top: 4px solid var(--emerald); }
.hero-h1 { font-size: clamp(3rem, 6vw, 5rem); line-height: 1.2; margin-bottom: 1.5rem; }
.hero-p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 3.5rem; line-height: 1.8; max-width: 750px; }

/* Methodology (Cards) */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; text-align: left; }
.proc-card { padding: 3.5rem 2.5rem; position: relative; transition: 0.4s; border-left: 3px solid transparent; }
.proc-card:hover { transform: translateY(-10px); border-left-color: var(--emerald); }
.proc-num { position: absolute; top: -15px; right: 20px; font-size: 7.5rem; font-weight: 900; color: rgba(255,255,255,0.02); line-height: 1; }
.proc-card h3 { font-size: 1.4rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.proc-card p { color: var(--text-muted); font-size: 1rem; position: relative; z-index: 1; }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text { padding: 4rem; border-left: 4px solid var(--sky); }
.about-text p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.05rem; }
.img-rounded { width: 100%; border-radius: 20px; opacity: 0.85; filter: grayscale(10%) contrast(1.1); border: 1px solid var(--border-glass); }

/* Features */
.asym-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6rem; align-items: center; }
.image-wrap { position: relative; padding: 1.5rem; }
.image-wrap img { width: 100%; border-radius: 16px; display: block; filter: contrast(1.1); }
.stat-badge { position: absolute; bottom: -30px; right: -30px; background: var(--bg-dark); border: 1px solid var(--sky); padding: 1.5rem 2rem; border-radius: 16px; display: flex; align-items: center; gap: 15px; box-shadow: 0 20px 40px rgba(0,0,0,0.8); }
.stat-badge i { font-size: 2.2rem; color: var(--sky); }
.s-big { display: block; font-size: 2.2rem; font-weight: 900; line-height: 1; }
.s-small { font-size: 0.8rem; color: var(--text-muted); font-weight: 700; }
.feature-bullets { list-style: none; margin-top: 3rem; }
.feature-bullets li { display: flex; gap: 20px; margin-bottom: 2.5rem; }
.icon-box { background: rgba(16, 185, 129, 0.1); border: 1px solid var(--emerald); width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-box i { font-size: 1.5rem; color: var(--emerald); }
.f-desc h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.f-desc p { color: var(--text-muted); font-size: 1rem; }

/* Form Section */
.form-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; padding: 5rem; }
.trust-marks { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 3rem; color: var(--emerald); font-size: 0.95rem; font-weight: 700; }
.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.input-group { margin-bottom: 1.5rem; }
label { display: block; margin-bottom: 0.6rem; font-size: 0.85rem; color: var(--text-muted); font-weight: 700; }
input { width: 100%; padding: 1.2rem; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: white; font-family: var(--font-jp); font-size: 1rem; transition: 0.3s; }
input:focus { outline: none; border-color: var(--emerald); background: rgba(0,0,0,0.8); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
.consent-wrap { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 2.5rem; font-size: 0.85rem; color: var(--text-muted); }
.consent-wrap input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--sky); cursor: pointer; }
.consent-wrap a { color: var(--emerald); text-decoration: underline; }
.alert-success { text-align: center; padding: 3rem; border: 1px solid var(--emerald); border-radius: 12px; background: rgba(16, 185, 129, 0.1); color: var(--emerald); margin-top: 1rem; }

/* FAQ */
.accordion-wrap { max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.2rem; }
.acc-card { padding: 1.8rem 2.5rem; cursor: pointer; border-left: 4px solid transparent; }
.acc-card:hover { border-left-color: var(--emerald); }
.acc-card summary { font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; outline: none; }
.acc-card summary::-webkit-details-marker { display: none; }
.acc-card summary::after { content: '\f067'; font-family: 'FontAwesome'; color: var(--sky); transition: 0.3s; }
.acc-card[open] summary::after { transform: rotate(45deg); color: var(--emerald); }
.acc-body { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); }

/* Footer */
.main-footer { border-radius: 0; border-bottom: none; border-left: none; border-right: none; padding: 5rem 0 2rem; margin-top: 5rem; background: rgba(0, 0, 0, 0.8); }
.footer-split { display: grid; grid-template-columns: 2fr 1fr; gap: 5rem; margin-bottom: 3rem; }
.company-addr { margin: 1.5rem 0; color: var(--text-muted); line-height: 1.8; }
.contact-details p { margin-bottom: 0.5rem; color: var(--text-muted); }
.contact-details i { color: var(--emerald); margin-right: 12px; width: 20px; text-align: center; }
.legal-links h3 { margin-bottom: 1.5rem; font-size: 1.2rem; color: #fff; }
.legal-links nav { display: flex; flex-direction: column; gap: 1rem; }
.legal-links a { color: var(--text-muted); font-size: 0.95rem; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; color: #475569; font-size: 0.85rem; }

/* Cookie Banner */
.cookie-bar { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 800px; padding: 1.5rem 2.5rem; z-index: 9999; display: none; align-items: center; justify-content: space-between; gap: 2rem; border-radius: 16px; border: 1px solid var(--sky); }
.cookie-msg { font-size: 0.9rem; color: var(--text-white); }
.cookie-msg a { color: var(--emerald); }

/* Legal Pages (Clean White Paper Look for Compliance) */
.legal-wrapper { padding-top: 150px; padding-bottom: 100px; }
.legal-card { max-width: 900px; margin: 0 auto; padding: 5rem; background: #ffffff; color: #0f172a; border-radius: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.legal-card h1 { font-size: 2.2rem; border-bottom: 2px solid #e2e8f0; padding-bottom: 1.5rem; margin-bottom: 2.5rem; color: #020617; font-weight: 900; }
.legal-card h2 { font-size: 1.4rem; margin-top: 3rem; margin-bottom: 1rem; color: #0ea5e9; font-weight: 900; }
.legal-card p, .legal-card li { color: #334155; margin-bottom: 1.2rem; line-height: 1.8; font-size: 1.05rem; }
.legal-card ul { margin-left: 2rem; margin-bottom: 2rem; }
.legal-card a { color: #10b981; font-weight: 700; text-decoration: underline; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .asym-layout, .form-layout, .about-grid, .footer-split { grid-template-columns: 1fr; gap: 4rem; }
    .input-grid { grid-template-columns: 1fr; }
    .desktop-nav { display: none; }
    .hero-box, .form-layout { padding: 3rem 2rem; }
    .stat-badge { position: relative; bottom: auto; right: auto; margin-top: -20px; display: inline-flex; }
    .cookie-bar { flex-direction: column; text-align: center; }
    .legal-card { padding: 3rem 2rem; }
}
