@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
    --primary-color: #1A2E40;
    --accent-color: #D4AF37;
    --bg-color: #FCFAF6;
    --text-color: #2B2B2B;
    --light-grey: #EAE5DB;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

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

:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-delay: 0s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
    }
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background-color: var(--white);
    border-bottom: 1px solid var(--light-grey);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color);
}

.nav-link.active {
    border-bottom: 2px solid var(--accent-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 40px;
    line-height: 1.4;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-content h1 span {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 36px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Stats Section */
.stats {
    padding: 48px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--light-grey);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-num span {
    color: var(--accent-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-color);
}

/* Steps / How it works */
.steps-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-color);
    opacity: 0.8;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 8px;
    border: 1px solid var(--light-grey);
    text-align: center;
}

.step-icon {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 16px;
}

/* Services */
.services-section {
    padding: 80px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--light-grey);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-body {
    padding: 24px;
}

.service-body h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

/* Feature/Asymmetric Section */
.feature-section {
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.feature-image img {
    width: 100%;
    border-radius: 8px;
}

.feature-content h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-bullets {
    list-style: none;
    margin-top: 24px;
}

.feature-bullets li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

.feature-bullets li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Pricing */
.pricing-section {
    padding: 80px 0;
    background-color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.price-card {
    background: var(--bg-color);
    border-radius: 8px;
    padding: 40px 24px;
    border: 1px solid var(--light-grey);
    text-align: center;
    position: relative;
}

.price-card.featured {
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(212,175,55,0.15);
    background: var(--white);
}

.badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
}

.price-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.price-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.price-features li {
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--light-grey);
    padding-bottom: 8px;
    font-size: 15px;
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: 8px;
    color: var(--text-color);
}

.form-container h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    font-size: 16px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
}

.form-checkbox input {
    margin-top: 6px;
}

/* FAQ Accordion */
.faq-section {
    padding: 80px 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 24px 24px 24px;
    display: none;
    border-top: 1px solid var(--light-grey);
    padding-top: 16px;
}

/* Legal & Trust Layer */
.trust-layer {
    background-color: #EFECE6;
    padding: 32px 0;
    font-size: 14px;
    border-top: 1px solid var(--light-grey);
}

.trust-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.trust-text p {
    margin-bottom: 8px;
    opacity: 0.8;
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 48px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-nav {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
}

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

.copyright {
    opacity: 0.6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    background: var(--primary-color);
    color: var(--white);
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    display: none;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.cookie-btn {
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cookie-btn-accept {
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
}

.cookie-btn-decline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .services-grid, .pricing-grid, .feature-grid, .trust-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        border-bottom: 1px solid var(--light-grey);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    .nav-menu.open {
        display: flex;
    }
}