:root {
    --primary: #1C2A4D;
    --primary-light: #2a3d6b;
    --accent: #BFA980;
    --accent-light: #d4c29e;
    --bg-white: #FFFFFF;
    --bg-gray: #F5F7FA;
    --text-main: #1C2A4D;
    --text-light: #66768f;
    --white: #FFFFFF;
    --font-main: 'Noto Serif JP', serif;
    --shadow-sm: 0 4px 6px rgba(28, 42, 77, 0.05);
    --shadow-md: 0 10px 30px rgba(28, 42, 77, 0.08);
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(28, 42, 77, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(28, 42, 77, 0.4);
}

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

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

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
    background-color: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(28, 42, 77, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

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

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/grill_aiseo_fv.jpeg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    width: 100%;
    padding-top: 60px;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 40px;
    color: var(--primary);
    font-weight: 700;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary);
}

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

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

.card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Problem */
.problem {
    background-color: var(--bg-gray);
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}

/* Solution */
.solution {
    background-color: var(--primary);
    color: var(--white);
}

.solution-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.solution-card .icon {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0.8;
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.solution-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Achievements */
.achievements {
    padding: 120px 0;
}

.achievement-card {
    position: relative;
    padding: 50px 30px 40px;
    border: none;
    background: #FAFAFA;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(28, 42, 77, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(28, 42, 77, 0.1);
}

.achievement-label {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 6px 20px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-top-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-md);
}

.achievement-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
    min-height: 2.8em;
    line-height: 1.4;
    text-align: center;
}

.achievement-sub {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 30px;
    min-height: 2em;
    text-align: center;
    opacity: 0.8;
}

/* Metrics List (Case 1) */
.achievement-metrics-list {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

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

.metric-item:last-child {
    margin-bottom: 0;
}

.metric-icon {
    width: 30px;
    height: 30px;
    background: rgba(191, 169, 128, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.metric-content {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dashed rgba(28, 42, 77, 0.1);
    padding-bottom: 5px;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.metric-value-large {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.metric-value-large.highlight {
    color: var(--accent);
    font-size: 1.3rem;
}

/* Graph Styles (Case 2 & 3) */
.achievement-graph-box {
    text-align: center;
    margin-top: 20px;
}

.graph-title {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.graph-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-main);
    margin-bottom: 25px;
    line-height: 1;
    background: linear-gradient(45deg, #BFA980, #d4c29e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.graph-bar-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 160px;
    gap: 15px;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 30px;
    /* Space for labels */
}

.graph-bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    position: relative;
}

.bar-label {
    position: absolute;
    bottom: -30px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.graph-bar {
    width: 50px;
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: height 1s ease-out;
}

.graph-bar.before {
    background: linear-gradient(180deg, #9FB3D0 0%, #8FA6C6 100%);
    box-shadow: 4px 4px 10px rgba(143, 166, 198, 0.3);
}

.graph-bar.after {
    background: linear-gradient(180deg, #5D9CEC 0%, #4A89DC 100%);
    box-shadow: 4px 4px 15px rgba(74, 137, 220, 0.4);
}

.graph-arrow-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 40px;
    /* Align with middle of bars approx */
    opacity: 0.6;
}

/* Cost Performance */
.cost-performance {
    background-color: var(--white);
}

.section-sub {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1rem;
    line-height: 1.8;
}

.cost-card {
    padding: 40px 30px;
    text-align: left;
    height: 100%;
}

.cost-title {
    font-size: 2rem;
    color: #C5A065;
    /* Purple/Blue from image */
    margin-bottom: 15px;
    font-weight: 700;
}

.cost-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.4;
}

.cost-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Pricing */
.pricing {
    background-color: var(--bg-gray);
}

/* Pricing Card Layout */
.pricing-card {
    text-align: center;
    position: relative;
    border: 1px solid transparent;
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.plan-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.price .yen {
    font-size: 1rem;
    margin-left: 5px;
}

.payment-type {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.feature-list {
    text-align: left;
    border-top: 1px solid var(--bg-gray);
    padding-top: 20px;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--text-main);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* Flow */
.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.step h3 {
    font-size: 1.1rem;
    color: var(--primary);
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background: var(--bg-gray);
    margin: 0 20px;
    position: relative;
    top: -25px;
    z-index: 0;
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

summary {
    padding: 20px 30px;
    cursor: pointer;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    position: absolute;
    right: 30px;
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

.details-content {
    padding: 0 30px 30px;
    color: var(--text-light);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #15203b;
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 2.0rem;
        line-height: 1.5;
    }

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

    .nav {
        display: none;
    }

    .achievement-stats {
        flex-direction: column;
        gap: 30px;
    }

    .flow-steps {
        flex-direction: column;
        gap: 30px;
    }

    .step-line {
        display: none;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}