﻿:root {
    --color-bg: #0B132B;
    --color-surface: #1C2541;
    --color-primary: #1C4F4A;
    --color-accent: #F4D06F;
    --color-text: #FFFFFF;
    --color-text-muted: #A0AABF;
    --font-heading: 'Montserrat', 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Animated Spheres */
.bg-spheres {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: float 20s infinite alternate;
}

.sphere-1 {
    width: 600px;
    height: 600px;
    background: #1C4F4A;
    top: -200px;
    left: -200px;
}

.sphere-2 {
    width: 500px;
    height: 500px;
    background: #3A506B;
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.sphere-3 {
    width: 300px;
    height: 300px;
    background: #F4D06F;
    opacity: 0.15;
    top: 40%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

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

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg);
}

.btn-primary:hover {
    background: #e3bc55;
    transform: translateY(-2px);
}

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 3rem;
}

.btn-glow {
    background: linear-gradient(135deg, var(--color-accent), #ffea9e);
    color: #000;
    box-shadow: 0 0 20px rgba(244, 208, 111, 0.4);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(244, 208, 111, 0.6);
    transform: translateY(-3px);
}

.btn-submit {
    background: var(--color-accent);
    color: var(--color-bg);
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
    margin-top: 1rem;
}

/* Header */
.main-header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(11, 19, 43, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

/* Layout Blocks */
section {
    padding: 6rem 0;
}

.glass-panel, .glass-card {
    background: rgba(28, 37, 65, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 4rem;
}

/* Features */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.feature-text, .feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-list i {
    font-size: 2.5rem;
    color: var(--color-accent);
}

/* About */
.about-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-direction: row-reverse;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
}

/* Methodology */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: rgba(255,255,255,0.03);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
}

.step-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
    opacity: 0.8;
    margin-bottom: 1rem;
}

/* Form */
.form-section {
    position: relative;
    z-index: 10;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-container h2 {
    text-align: center;
}

.form-container > p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}

.form-group-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.checkbox-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.checkbox-group a {
    color: var(--color-accent);
}

#form-success {
    text-align: center;
    padding: 3rem;
    background: rgba(28, 79, 74, 0.2);
    border-radius: 10px;
    border: 1px solid var(--color-primary);
}

#form-success i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

/* FAQ */
.faq .accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

details {
    background: rgba(255,255,255,0.03);
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

summary {
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-accent);
}

details[open] summary::after {
    content: '-';
}

details p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-muted);
}

/* Legal Pages (Premium White Card Concept) */
.legal-page {
    background: #f4f6f9;
    color: #333;
}

.legal-page .main-header {
    background: rgba(255,255,255,0.9);
    border-bottom: 1px solid #ddd;
}

.legal-page .logo {
    color: #0B132B;
}

.legal-page .nav-links a {
    color: #333;
}

.legal-content {
    background: #ffffff;
    padding: 4rem;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
    margin: 120px auto 60px;
    max-width: 900px;
}

.legal-content h1 {
    color: #0B132B;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: #1C4F4A;
    margin-top: 2rem;
    font-size: 1.3rem;
}

.legal-content p, .legal-content li {
    margin-bottom: 1rem;
    color: #555;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

/* Footer */
footer {
    background: #060A17;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-accent);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(28, 37, 65, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 12px;
    z-index: 9999;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.cookie-content p {
    font-size: 0.85rem;
    color: #ddd;
}

.cookie-content a {
    color: var(--color-accent);
}

.cookie-buttons {
    display: flex;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile behavior */
    }
    .feature-row, .about-grid {
        flex-direction: column;
        gap: 2rem;
    }
    .glass-panel, .glass-card {
        padding: 2rem;
    }
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
    .legal-content {
        padding: 2rem;
    }
}
