/* Reset & Base Styles */
:root {
    /* Color Palette */
    --color-base: #FAFAFA;
    --color-text: #333333;
    --color-primary: #5ABFB7;
    /* Pale Green/Blue - Yambaru Sea */
    --color-secondary: #F4A261;
    /* Warm Accent */
    --color-accent: #E76F51;
    /* High Contrast for CTA */
    --color-white: #FFFFFF;
    --color-gray-light: #EEEEEE;
    --color-recommend: #E3F2FD;
    /* Light Blue for Recommended Plan */
    --color-gold: #FFD700;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 80px;

    /* Typography */
    --font-main: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-xxl: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    color: var(--color-text);
    background-color: var(--color-base);
    line-height: 1.8;
    /* Relaxed line height */
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

.text-highlight {
    background: linear-gradient(transparent 60%, rgba(255, 215, 0, 0.4) 60%);
    font-weight: 700;
    padding: 0 4px;
}

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
    margin: var(--spacing-xs) auto 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.hamburger-menu {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(255, 255, 255, 0.98);
    overflow: hidden;
    transition: height 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    padding-top: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nav-links.active {
    height: 100vh;
    padding-top: var(--spacing-xl);
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Hero Section */
/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #e0f7fa 0%, #80deea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Abstract shapes for visual interest */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    animation: pulseBackground 10s infinite alternate;
}

@keyframes pulseBackground {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

/* Floating Decorative Elements */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    z-index: 0;
    animation: float 6s infinite ease-in-out;
}

.hero-section::before {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.hero-section::after {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: -20px;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.7);
    /* More transparent */
    padding: var(--spacing-xl) var(--spacing-md);
    border-radius: 24px;
    /* Softer corners */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    /* Glassmorphism */
    border: 1px solid rgba(255, 255, 255, 0.4);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: #555;
    letter-spacing: 0.1em;
}

.hero-catch {
    font-size: 2.5rem;
    /* Larger impact */
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    line-height: 1.5;
    color: var(--color-text);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    min-width: 250px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

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

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

/* Problem Section */
.section-problem {
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.section-title-small {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.problem-text p {
    margin-bottom: var(--spacing-xs);
}

/* About Section */
.section-about {
    padding: var(--spacing-xxl) 0;
    background-color: #FDFCF0;
    /* Pale Beige */
    text-align: center;
}

/* Recommended Section */
.section-recommended {
    padding: var(--spacing-xxl) 0;
}

.check-list {
    max-width: 500px;
    margin: 0 auto;
}

.check-list li {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
}

.check-list .icon {
    color: var(--color-primary);
    font-weight: 700;
    margin-right: var(--spacing-xs);
    font-size: 1.2em;
}

/* Why Now Section */
.section-whynow {
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.section-title-large {
    font-size: var(--font-size-xxl);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.whynow-text {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

/* Plans Section */
.section-plans {
    padding: var(--spacing-xxl) 0;
    background-color: #E8F5E9;
    /* Very Pale Green */
}

.section-subtitle {
    text-align: center;
    margin-top: calc(var(--spacing-lg) * -0.5);
    margin-bottom: var(--spacing-xl);
    font-size: 0.9em;
    color: #666;
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.plan-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid transparent;
}

/* Mobile Optimization for Plans */
@media (max-width: 767px) {
    .plan-card {
        padding: var(--spacing-sm);
        /* Reduce padding on mobile */
    }

    .plan-price {
        font-size: 1.1em;
    }

    .price-val {
        font-size: 1.4em;
    }

    .plan-features {
        font-size: 0.85em;
        /* Slightly smaller list text */
    }
}

/* Recommended Plan Highlight */
.plan-recommended {
    border: 2px solid var(--color-primary);
    background-color: #F1F8F6;
    position: relative;
    transform: scale(1.02);
}

.recommend-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-gold);
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.plan-header h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.2em;
}

.plan-desc {
    font-size: 0.9em;
    color: #666;
    margin-bottom: var(--spacing-sm);
}

.plan-price {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.price-val {
    font-size: 1.5em;
}

.price-unit {
    font-size: 0.9em;
}

.plan-bulk {
    border-top: 1px dashed #ddd;
    padding-top: var(--spacing-xs);
    margin-top: var(--spacing-xs);
}

.bulk-note {
    font-size: 0.8em;
    color: #E76F51;
    /* Accent color for savings */
}

/* Bulk Info */
.bulk-info {
    background-color: #f0f0f0;
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
}

.bulk-info h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1em;
}

.bulk-info ul {
    font-size: 0.9em;
    display: inline-block;
    text-align: left;
}

/* Trial Section */
.section-trial {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    /* Gold/Orange Gradient */
    text-align: center;
}

.trial-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.trial-offer {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

.free-text {
    color: var(--color-accent);
    font-size: 1.2em;
}

.btn-trial {
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 1.2em;
    max-width: 320px;
    margin: 0 auto;
}

/* Single & Options */
.section-single,
.section-options {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.single-plan-card {
    border: 1px solid #ddd;
    padding: var(--spacing-md);
    border-radius: 8px;
    display: inline-block;
    min-width: 250px;
}

.options-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
}

.options-table td {
    padding: var(--spacing-sm);
    border-bottom: 1px solid #eee;
}

.options-table td:first-child {
    text-align: left;
    font-weight: 700;
}

.options-table td:last-child {
    text-align: right;
}

/* Support Section */
.section-support {
    padding: var(--spacing-xxl) 0;
    background-color: #FAFAFA;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.support-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
}

/* Notes & Privacy Section */
.section-notes {
    padding: var(--spacing-xxl) 0;
    background-color: #fff;
    font-size: 0.9em;
}

.notes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.note-group h3 {
    font-size: 1em;
    border-left: 4px solid var(--color-primary);
    padding-left: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.note-group ul {
    margin-left: var(--spacing-sm);
    color: #555;
    line-height: 1.6;
}

.note-group li {
    margin-bottom: 4px;
}

.privacy-box {
    background-color: #f9f9f9;
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid #eee;
}

.privacy-box h3 {
    font-size: 1em;
    margin-bottom: var(--spacing-sm);
}

.privacy-box ul {
    color: #555;
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    background-color: #333;
    color: white;
    text-align: center;
}

.footer-msg {
    margin-bottom: var(--spacing-xl);
    line-height: 2;
}

.copyright {
    font-size: 0.8em;
    color: #999;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive PC */
@media (min-width: 768px) {
    .container {
        width: 80%;
    }

    .plans-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }

    .support-grid {
        grid-template-columns: 1fr 1fr;
    }

    .notes-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Navbar PC */
    .hamburger-menu {
        display: none;
    }

    .nav-links {
        position: static;
        height: auto;
        flex-direction: row;
        width: auto;
        background: none;
        box-shadow: none;
        padding-top: 0;
        gap: var(--spacing-md);
    }

    .nav-link {
        font-size: 0.9rem;
    }
}