﻿:root {
    --primary-color: #0F1E36;
    --accent-color: #00A896;
    --bg-light: #F4F7F6;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --white: #FFFFFF;
    --success: #10B981;
    --error: #DC2626;
    --font-stack: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-stack);
    color: var(--text-dark);
    font-size: 16px;
}

body {
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base Styles */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Nav */
header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 45px;
}

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

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

.nav-cta {
    background-color: var(--accent-color);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 700;
}

.nav-cta:hover {
    background-color: #008f80;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 168, 150, 0.3);
    transition: transform var(--transition-speed), background var(--transition-speed);
}

.hero-btn:hover {
    background-color: #008f80;
    transform: translateY(-2px);
}

.trust-strip {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-color);
}

.hero-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.hero-image-wrapper img {
    width: 100%;
    object-fit: cover;
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

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

.step-card {
    position: relative;
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.step-num {
    position: absolute;
    top: -20px;
    left: 2rem;
    background-color: var(--accent-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
}

.step-card h3 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.15rem;
    color: var(--primary-color);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Features */
.features {
    padding: 6rem 0;
}

.features-layout {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse .feature-content {
    direction: ltr;
}

.feature-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.feature-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.feature-list svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars svg {
    width: 18px;
    height: 18px;
    fill: #F59E0B;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1rem;
}

.author-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq {
    padding: 6rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 6px;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    background: var(--white);
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    outline: none;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent-color);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 1.25rem 1.5rem;
    background-color: var(--bg-light);
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Us Section */
.about {
    padding: 6rem 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

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

.cross-border-notice {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    padding: 1.25rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    border-radius: 0 4px 4px 0;
}

/* Contact Section & Lead Form */
.contact-section {
    padding: 6rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.contact-info p {
    color: #9CA3AF;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail-item svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-color);
    flex-shrink: 0;
}

.contact-detail-item div h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-detail-item div p {
    margin: 0;
    font-size: 0.9rem;
    color: #9CA3AF;
}

.form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.form-wrapper h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.form-intro {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
}

.form-group input {
    padding: 0.8rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    transition: border var(--transition-speed);
}

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

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.consent-checkbox input {
    margin-top: 3px;
    cursor: pointer;
}

.submit-btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition-speed);
}

.submit-btn:hover {
    background-color: #008f80;
}

.form-feedback {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
}

.form-feedback.hidden {
    display: none;
}

.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-message h3 {
    color: var(--success);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--success);
    stroke-miterlimit: 10;
    margin: 0 auto 1.5rem auto;
    box-shadow: inset 0px 0px 0px var(--success);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out 0s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--success);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}
@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

/* Footer */
footer {
    background-color: #0B1526;
    color: #9CA3AF;
    padding: 4rem 0 2rem 0;
    font-size: 0.85rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-company-desc h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-company-desc p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 600px;
    background-color: var(--white);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 1.5rem;
    border-radius: 8px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner-text {
    font-size: 0.85rem;
    color: var(--text-dark);
}

.cookie-banner-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
}

.cookie-btn-accept {
    background-color: var(--accent-color);
    color: var(--white);
}

.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid #D1D5DB;
    color: var(--text-muted);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--accent-color);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed), visibility var(--transition-speed);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Responsive Grid / Breakpoints */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .benefits-grid, .steps-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .benefits-grid, .steps-grid, .testimonials-grid, .feature-row {
        grid-template-columns: 1fr;
    }
    
    .feature-row {
        gap: 2rem;
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .form-wrapper {
        padding: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}
