/* --- Global Settings & Fonts --- */
:root {
    --primary-color: #0d3b66;
    --secondary-color: #faf0ca;
    --accent-color: #f4d35e;
    --accent-color-dark: #ee964b;
    --light-color: #f9f9f9;
    --dark-color: #222222;
    --text-color: #333;
    --font-primary: 'Poppins', 'Noto Sans JP', sans-serif;
    --font-secondary: 'Noto Sans JP', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--light-color);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.3;
}

/* --- Animation --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }


/* --- Header --- */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
    text-decoration: none;
}
.nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 15px;
    transition: color 0.3s ease;
}
.nav a:hover { color: var(--primary-color); }
.nav-button {
    background-color: var(--primary-color);
    color: var(--light-color) !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.nav-button:hover { background-color: #0b2d4e; }

/* --- Hero Section --- */
.hero {
    background: linear-gradient(to right, #eef2f3, #dce3e4);
    text-align: center;
    padding: 120px 0;
    overflow: hidden;
}
.hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}
.hero-content .highlight-text {
    color: var(--accent-color);
    background: linear-gradient(120deg, #f4d35e 0%, #ee964b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content .subtitle {
    font-size: 20px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px auto;
}
.price-highlight {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--accent-color-dark);
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.cta-button {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}
.cta-button.secondary {
    background-color: var(--light-color);
    color: var(--primary-color);
    border: 1px solid #ddd;
}


/* --- General Section Styling --- */
section {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: 40px;
    color: var(--primary-color);
}

/* --- Feature Section --- */
.feature-section { background-color: var(--white-color); }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}
.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

/* --- Problem Section --- */
.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.problem-text h2 {
    font-size: 40px;
    line-height: 1.4;
    color: var(--primary-color);
    margin-bottom: 24px;
}
.problem-text p { margin-bottom: 16px; }
.problem-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* --- Solution Section --- */
.solution-section { background-color: var(--white-color); }
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.solution-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 24px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    transition: all 0.3s ease;
}
.solution-item:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

/* --- Flow Section --- */
.flow-list {
    list-style-type: none;
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.flow-list li {
    position: relative;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
}
.flow-list span {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 16px;
}
.flow-list h3 { font-size: 20px; margin-bottom: 8px; color: var(--primary-color); }

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 80px 0;
}
.cta-section h2 {
    color: var(--white-color);
    font-size: 36px;
}
.cta-section p {
    max-width: 600px;
    margin: 16px auto 32px auto;
    opacity: 0.9;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: #aab;
    padding: 60px 0 30px 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}
.footer-info h4 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a { color: #aab; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { text-align: center; padding-top: 30px; font-size: 14px; }


/* --- Responsive --- */
@media (max-width: 992px) {
    .problem-content { grid-template-columns: 1fr; }
    .problem-image { order: -1; margin-bottom: 40px; }
    .flow-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav { display: none; }
    h1 { font-size: 48px; }
    h2 { font-size: 32px; }
    .feature-grid { grid-template-columns: 1fr; }
    .flow-list { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 30px; text-align: center; }
    .footer-links { justify-content: center; }
}