:root {
    --primary-color: #008080;
    /* Teal - Medical/Trust */
    --primary-dark: #004d4d;
    --secondary-color: #4A90E2;
    /* Clean Blue */
    --accent-color: #F5A623;
    /* Warm Gold */
    --text-color: #333333;
    --light-text: #555555;
    --bg-color: #FFFFFF;
    --section-bg: #F0F4F8;
    /* Cool Grey/Blue tint for modern feel */
    --font-heading: 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Smooth modern ease */
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Soft diffuse shadow */
    --hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.8;
    /* More breathing room */
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    /* Crisp text */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
    /* Modern tight tracking for headings */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1100px;
    /* Slightly narrower for focus */
    margin: 0 auto;
    padding: 0 24px;
}

/* Header/Nav */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    /* Glassmorphism */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    /* Taller header */
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

.nav-cta {
    background: linear-gradient(135deg, #F5A623, #FF8C00);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 166, 35, 0.4);
    filter: brightness(1.1);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6)), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 128, 128, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 3rem;
    /* Larger */
    margin-bottom: 24px;
    color: #1a1a1a;
    background: linear-gradient(135deg, #1a1a1a 0%, #008080 100%);
    -webkit-background-clip: text;
    background-clip: text;
    /* Gradient text */
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 48px;
    font-weight: 500;
}

/* Expo Badge Modernized */
.expo-badge {
    background: #fff;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 100px;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(253, 185, 49, 0.25);
    border: 1px solid #FFD700;
    position: relative;
    overflow: hidden;
}

.expo-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    20% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-bg {
    background-color: var(--section-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title .underline {
    width: 40px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    /* Ronder corners */
    box-shadow: var(--card-shadow);
    text-align: left;
    /* Modern Left Align */
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.feature-image-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.feature-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card:hover .feature-image-container img {
    transform: scale(1.08);
}

.feature-content {
    padding: 32px;
}

.feature-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #2c3e50;
}

.feature-content p {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.7;
}

/* Why Now Section */
.why-now-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.highlight-box {
    background: #fff;
    border-left: 6px solid var(--primary-color);
    padding: 32px;
    border-radius: 0 12px 12px 0;
    box-shadow: var(--card-shadow);
    font-weight: 500;
}

.emphasis {
    background: linear-gradient(120deg, rgba(74, 144, 226, 0.2) 0%, rgba(74, 144, 226, 0.2) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 90%;
    color: var(--text-color);
    font-weight: bold;
}

/* Survey Redesign */
.survey-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.15rem;
    color: var(--text-color);
}

.step-flow {
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 60px;
    gap: 24px;
}

.step-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    flex: 1;
    position: relative;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.special-step {
    background: linear-gradient(145deg, #fff, #fffbf0);
    /* Subtle highlight */
    border: 2px solid var(--accent-color);
}

.step-header {
    font-size: 0.75rem;
    color: #00B4DB;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(0, 180, 219, 0.05);
    padding: 4px 12px;
    border-radius: 30px;
}

.step-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 20px;
}

.step-icon .icon-svg {
    width: 100%;
    height: 100%;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.step-arrow {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    color: #ccc;
    opacity: 0.6;
}

.benefits-box {
    background: #fff;
    padding: 48px;
    border-radius: 24px;
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--card-shadow);
}

.benefits-title {
    text-align: center;
    margin-bottom: 32px;
    color: var(--primary-color);
    font-size: 1.6rem;
}

.benefits-list li {
    font-size: 1.15rem;
    margin-bottom: 16px;
    padding: 16px;
    background: #f8fcfc;
    border-radius: 12px;
    transition: var(--transition);
}

.benefits-list li:hover {
    background: #edf7f7;
    transform: translateX(5px);
}

/* LINE Section Modernized */
.line-section {
    background: linear-gradient(135deg, #e3fdf5 0%, #ffe6fa 100%);
    /* Fresh gradient */
    padding: 80px 0;
    border: none;
}

.line-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.line-button {
    background: #06C755;
    color: #fff;
    padding: 16px 36px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.line-qr-placeholder {
    width: 140px;
    height: 140px;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin: 0 auto 20px;
}

.line-qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.line-button:hover {
    background: #05b34c;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(6, 199, 85, 0.4);
}

/* CTA - Main */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #F5A623, #FF8C00);
    /* Gradient Button */
    color: #fff;
    padding: 18px 48px;
    border-radius: 100px;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(245, 166, 35, 0.5);
    filter: brightness(1.1);
}

.cta-section {
    text-align: center;
    background: var(--primary-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-section h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 24px;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #888;
    padding: 60px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

/* Animations included before */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 16px 20px;
        gap: 12px;
    }

    .logo {
        font-size: 1.1rem;
        text-align: center;
        line-height: 1.4;
    }

    .nav-cta {
        width: auto;
        min-width: 200px;
        text-align: center;
        padding: 8px 16px;
        font-size: 0.8rem;
        letter-spacing: -0.02em;
    }

    .hero {
        margin-top: 130px;
        /* Adjust top margin for taller header */
        padding-top: 60px;
    }

    .cta-button {
        padding: 14px 24px;
        font-size: 1rem;
        width: auto;
        max-width: 95%;
        margin: 0 auto;
        letter-spacing: -0.03em;
        line-height: 1.2;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .feature-content h3 {
        font-size: 1.2rem;
    }

    .benefits-title {
        font-size: 1.3rem;
    }

    .step-card h3 {
        font-size: 1.1rem;
    }

    .cta-section h2 {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .step-flow {
        flex-direction: column;
        gap: 40px;
        /* Increased gap for arrow spacing */
    }

    .step-card {
        max-width: 100%;
        padding: 30px 20px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: -10px 0;
        /* Tighten vertical space slightly but keep separate */
        font-size: 1.5rem;
        height: 40px;
        /* Ensure sufficient height for the rotated element */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .benefits-box {
        padding: 30px 20px;
    }

    .benefits-list li {
        font-size: 1rem;
        padding: 12px;
    }

    .line-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .line-action {
        margin-top: 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}