/* =========================================================================
   # Base Variables & Reset
   ========================================================================= */

:root {
    /* Color Palette - Professional Navy & Blue */
    --color-primary: #1B263B;
    --color-primary-light: #415A77;
    --color-primary-dark: #0D1B2A;
    --color-accent: #0077B6;
    --color-accent-light: #ADE8F4;
    --color-secondary: #E0E1DD;
    --color-white: #FFFFFF;
    --color-bg-light: #F8F9FA;
    --color-text-main: #1B263B;
    --color-text-muted: #5F6368;
    --color-border: #DDE2E5;
    --color-success: #2E7D32;
    --color-warning: #FF9800;

    /* Typography */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-accent: 'Inter', sans-serif;

    /* Utilities */
    --transition-fast: all 0.2s ease-in-out;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);
    --container-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    line-height: 1.7;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 850px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

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

.text-white {
    color: var(--color-white);
}

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

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

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-30 { margin-top: 30px; }
.mt-50 { margin-top: 50px; }

/* =========================================================================
   # Buttons
   ========================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-weight: 700;
    border-radius: 50px; /* Rounded for trust/warmth */
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    gap: 8px;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 56px;
    font-size: 1.125rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* =========================================================================
   # Header
   ========================================================================= */

.header {
    height: 80px;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    color: var(--color-accent);
    width: 28px;
    height: 28px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-accent);
    letter-spacing: -0.02em;
}

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

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

/* =========================================================================
   # Hero
   ========================================================================= */

.hero {
    height: 100vh;
    min-height: 750px;
    background-image: url('https://images.unsplash.com/photo-1556761175-b413da4baf72?q=80&w=2074&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--color-white);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9) 0%, rgba(13, 27, 42, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-pre-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-accent-light);
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-sub-headline {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--color-accent-light);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-trust {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-pill i {
    width: 20px;
    height: 20px;
    color: var(--color-accent-light);
}

.trust-pill strong {
    font-size: 1.2rem;
    color: var(--color-white);
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.justify-center {
    justify-content: center;
}

/* =========================================================================
   # Typography
   ========================================================================= */

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-top: -40px;
    margin-bottom: 60px;
}

/* =========================================================================
   # Troubles Section
   ========================================================================= */

.troubles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.trouble-card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.trouble-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.trouble-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.trouble-header i {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
}

.trouble-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

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

/* =========================================================================
   # Comparison Section
   ========================================================================= */

.comparison-table-wrapper {
    background-color: var(--color-white);
    padding: 2px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 24px 30px;
    border-bottom: 1px solid var(--color-border);
}

.comparison-table thead th {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 1.1rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table th.highlight, .comparison-table td.highlight {
    background-color: rgba(0, 119, 182, 0.05);
    font-weight: 700;
}

.price-text {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.total-price {
    font-size: 1.75rem;
    color: var(--color-accent);
}

.comparison-save {
    background-color: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    font-weight: 700;
    font-size: 1.5rem;
}

.save-amount {
    font-size: 2.25rem;
    font-family: var(--font-accent);
}

/* =========================================================================
   # Reasons Section
   ========================================================================= */

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

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

.reason-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.reason-icon i {
    width: 40px;
    height: 40px;
}

.reason-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* =========================================================================
   # Benefits Section
   ========================================================================= */

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

.benefit-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    gap: 24px;
    box-shadow: var(--shadow-sm);
}

.benefit-icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--color-bg-light);
    color: var(--color-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon-box i {
    width: 32px;
    height: 32px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

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

/* =========================================================================
   # Flow Timeline
   ========================================================================= */

.flow-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 25px;
    width: 2px;
    height: calc(100% - 20px);
    background-color: var(--color-accent);
    opacity: 0.2;
}

.timeline-item:last-child::before { display: none; }

.timeline-number {
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.3);
}

.timeline-content {
    background-color: var(--color-bg-light);
    padding: 30px;
    border-radius: 16px;
    width: 100%;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

/* =========================================================================
   # FAQ
   ========================================================================= */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
}

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

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    background-color: var(--color-bg-light);
}

.faq-answer p {
    padding: 20px 0;
    color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question {
    background-color: rgba(0, 119, 182, 0.05);
    color: var(--color-accent);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* =========================================================================
   # Form Section
   ========================================================================= */

.form-card {
    background-color: var(--color-white);
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--color-bg-light);
    transition: var(--transition-fast);
}

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

.form-success {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    color: var(--color-success);
    margin-bottom: 24px;
}

.hidden { display: none; }

/* =========================================================================
   # Footer
   ========================================================================= */

.footer {
    padding: 80px 0;
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-accent);
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.9rem;
    opacity: 0.7;
}

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

.copyright {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* =========================================================================
   # Mobile Fixed CTA
   ========================================================================= */

.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 900;
    display: none;
}

/* =========================================================================
   # Animations
   ========================================================================= */

.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.animate-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   # Responsive
   ========================================================================= */

@media (max-width: 1024px) {
    .troubles-grid, .benefits-grid, .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .header-btn {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .nav {
        display: none;
    }
    .hero {
        text-align: center;
        height: auto;
        padding-bottom: 100px;
    }
    .hero-content {
        justify-content: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-sub-headline {
        font-size: 1.25rem;
    }
    .hero-trust {
        flex-direction: column;
        align-items: center;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .hero-cta .btn {
        width: 100%;
        padding: 16px;
    }
    .troubles-grid, .benefits-grid, .reasons-grid, .comparison-table th, .comparison-table td {
        grid-template-columns: 1fr;
    }
    .comparison-table-wrapper {
        overflow-x: auto;
    }
    .comparison-table {
        min-width: 600px;
    }
    .fixed-cta {
        display: block;
    }
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    .timeline-item {
        gap: 20px;
    }
    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .benefit-card {
        flex-direction: column;
        text-align: center;
    }
    .benefit-icon-box {
        margin: 0 auto;
    }
    .form-card {
        padding: 30px 20px;
    }
}
