:root {
    /* Color Palette */
    --color-primary: #003366;
    /* Deep Blue */
    --color-accent: #D4AF37;
    /* Gold */
    --color-white: #FFFFFF;
    --color-black: #333333;
    --color-bg-light: #F9F9F9;
    --color-cta: #44CC66;
    /* Green */

    /* Typography */
    --font-base: 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-base);
    color: var(--color-black);
    line-height: 1.6;
    background-color: var(--color-white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Common Utilities */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: bold;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-cta);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* --- Header --- */
.header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    color: white;
}

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

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

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

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.header-cta {
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background: url('../assets/hero_bg_gen_clothed.png') no-repeat center top / cover;
    color: #333;
    /* Darker text might be needed if bg is light/white */
    padding-top: 150px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-sub {
    display: inline-block;
    background: white;
    color: var(--color-primary);
    padding: 5px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #FFD700, #FDB931);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title .x-mark {
    font-size: 1.5rem;
    color: white;
    background-clip: border-box;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: white;
    margin: 0 10px;
    vertical-align: middle;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 50px;
    line-height: 1.8;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Added text-shadow for readability */
    font-weight: bold;
}

/* Comparison Box */
.hero-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

.comp-box {
    background: white;
    color: var(--color-black);
    padding: 15px 30px;
    border-radius: 10px;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.comp-box.right {
    background: linear-gradient(135deg, #004488, #002255);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.comp-title {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
}

.comp-sub {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
}

.comp-plus {
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

/* Badges */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.badge {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFD700 100%);
    color: #5d4037;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 3px solid white;
}

.badge-val {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.badge-val small {
    font-size: 1rem;
}

.badge-val.small {
    font-size: 1.2rem;
}

.badge-label {
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 5px;
}

.badge-sub {
    font-size: 0.7rem;
}

/* --- Problem Section --- */
.section.problem {
    background-color: white;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

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

.problem-img {
    width: 100%;
    height: 200px;
    background-color: #ddd;
    margin-bottom: 15px;
    border-radius: 8px;
    background-image: linear-gradient(135deg, #e0e0e0, #f5f5f5);
}

.problem-text {
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.5;
}

.problem-conclusion {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 40px;
    line-height: 1.6;
}

.problem-conclusion .highlight {
    color: var(--color-cta);
    font-size: 1.8rem;
}

/* --- Concept Section --- */
.section.concept {
    background-color: #f4f8fb;
}

.section-sub {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-weight: bold;
}

.concept-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.circle-left {
    background: linear-gradient(135deg, #f0f0f0 0%, #d9d9d9 100%);
    color: #555;
    border: 2px solid #ccc;
}

.circle-right {
    background: linear-gradient(135deg, #4FBFA5 0%, #3bb359 100%);
}

.circle-title {
    font-size: 1.6rem;
    margin-bottom: 5px;
    text-align: center;
}

.circle-eng {
    font-size: 0.8rem;
    opacity: 0.8;
}

.plus-icon {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ccc;
}

.concept-desc {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- Merit Section --- */
.section.merit {
    background-color: white;
}

.merit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.merit-card {
    border: 1px solid #eee;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: transform 0.3s;
    background: white;
}

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

.merit-card.highlight {
    border: 1px solid #eee;
    background-color: white;
}

.merit-num {
    font-size: 3rem;
    font-weight: 700;
    color: #f0f0f0;
    line-height: 1;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 0;
}

.merit-head {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--color-primary);
    position: relative;
    z-index: 1;
}

.merit-body {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* --- Solution Section --- */
.section.solution {
    background-color: #f9f9f9;
}

.solution-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.s-step {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 300px;
    border-left: 5px solid var(--color-primary);
}

.s-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

.s-arrow {
    font-size: 1.5rem;
    color: #ccc;
}

/* --- Before/After Section --- */
.section.before-after {
    background-color: #f9f9f9;
}

.ba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ba-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.ba-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.ba-face {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.ba-face.man {
    border: 2px solid #4d90fe;
}

.ba-face.woman {
    border: 2px solid #ff69b4;
}

.ba-face.man-young {
    border: 2px solid #4fbfa5;
}

.ba-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.ba-info p {
    font-size: 0.9rem;
    color: #888;
}

.ba-comment {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

/* --- Flow Section --- */
.section.flow {
    background-color: white;
}

.ja-sub-title {
    display: block;
    font-size: 1.2rem;
    font-weight: normal;
    color: #4a3b32;
    margin-top: 10px;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.flow-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s;
}

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

.step-badge {
    background-color: var(--color-cta);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.flow-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-black);
}

.flow-card p {
    font-size: 0.95rem;
    text-align: left;
    color: #666;
}

/* --- FAQ Section --- */
.section.qa {
    background-color: #fcfcfc;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
}

.qa-list {
    max-width: 800px;
    margin: 0 auto;
}

.qa-item {
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.qa-question {
    background-color: var(--color-primary);
    color: white;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
}

.qa-question:hover {
    background-color: #002b55;
}

.q-text {
    flex: 1;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0 15px;
}

.q-icon {
    font-size: 1.5rem;
    font-family: serif;
}

.qa-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.qa-item.active .qa-toggle {
    transform: rotate(45deg);
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
}

.qa-answer-inner {
    padding: 30px;
    display: flex;
    align-items: flex-start;
    border-top: 1px solid #eee;
}

.a-icon {
    font-size: 1.5rem;
    color: #ccc;
    font-family: serif;
    margin-right: 15px;
}

.a-text {
    flex: 1;
    line-height: 1.8;
}

/* --- Footer --- */
.footer {
    background-color: #5d5045;
    color: white;
    padding: 80px 0 20px;
    text-align: center;
}

.footer-title {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.footer-sub {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.footer-cta {
    background-color: var(--color-cta);
    font-size: 1.4rem;
    padding: 20px 60px;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(68, 204, 102, 0.4);
}

.copyright {
    margin-top: 60px;
    font-size: 0.8rem;
    opacity: 0.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* --- Equipment Section --- */
.section.equipment {
    background-color: #f4f8fb;
    padding: 80px 0;
}

.equipment-header {
    text-align: center;
    margin-bottom: 60px;
}

.equipment-intro {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-top: 15px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.equipment-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.equipment-img-wrapper {
    position: relative;
    background: #f5f5f5;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

.equipment-img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    display: block;
}

.equipment-badge-award {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFF8E1 0%, #FFD700 50%, #DAA520 100%);
    color: #5d4037;
    padding: 10px 14px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    border: 2px solid #DAA520;
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 2;
}

.equip-badge-top {
    font-size: 0.6rem;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1.2;
}

.equip-badge-year {
    font-size: 0.55rem;
    opacity: 0.8;
}

.equip-badge-cat {
    font-size: 0.6rem;
    font-weight: 500;
}

.equip-badge-bottom {
    font-size: 0.8rem;
    font-weight: bold;
    color: #b71c1c;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    padding: 2px 6px;
    margin-top: 2px;
}

.equipment-info {
    padding: 25px 30px 30px;
}

.equipment-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: bold;
    color: #4FBFA5;
    background: rgba(79, 191, 165, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.equipment-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.equipment-desc {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.8;
}

/* Responsive */

@media (max-width: 768px) {

    .header-cta,
    .nav {
        display: none;
    }

    .hero-title {
        font-size: 1.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        line-height: 1.4;
    }

    .hero-title .x-mark {
        font-size: 1.2rem;
        margin: 0;
        display: block;
    }

    .hero-comparison {
        flex-direction: column;
        gap: 10px;
    }

    .comp-box {
        width: 100%;
    }

    .hero-badges {
        gap: 15px;
    }

    .badge {
        width: 100px;
        height: 100px;
    }

    .badge-val {
        font-size: 1.4rem;
    }

    .badge-label {
        font-size: 0.6rem;
    }

    .problem-grid,
    .merit-grid,
    .ba-grid,
    .flow-grid,
    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .equipment-img-wrapper {
        min-height: 200px;
        padding: 20px;
    }

    .equipment-name {
        font-size: 1.4rem;
    }

    .equipment-info {
        padding: 20px;
    }

    .problem-img {
        height: 150px;
    }

    .concept-diagram {
        flex-direction: column;
        gap: 20px;
    }

    .circle {
        width: 150px;
        height: 150px;
    }

    .qa-question {
        padding: 15px 20px;
    }

    .q-text {
        font-size: 0.95rem;
    }

    .footer-title {
        font-size: 1.5rem;
    }

    .footer-cta {
        width: 90%;
        padding: 15px;
        font-size: 1.1rem;
    }
}

/* --- Lead CTA Section --- */
.lead-cta {
    background-color: #E8E8E8;
    /* Light gray background */
    padding: 60px 0;
    text-align: center;
}

.lead-cta-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #333;
}

.lead-cta-box {
    background: transparent;
}

.lead-cta-sub {
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.btn-primary.lead-cta-btn {
    background-color: #44CC66;
    font-size: 1.6rem;
    padding: 20px 40px;
    width: 100%;
    max-width: 600px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(68, 204, 102, 0.4);
    line-height: 1.4;
    display: inline-block;
}

.sp-only {
    display: none;
}

/* --- Problem Section Refactor --- */
.section.problem {
    background-color: #F2F2F2;
    /* Very light gray */
    padding: 80px 0;
}

.problem-header {
    text-align: center;
    margin-bottom: 50px;
}

.problem-label {
    display: block;
    color: #4FBFA5;
    /* Greenish label color from reference */
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.problem-title {
    font-size: 2rem;
    color: #4a3b32;
    line-height: 1.6;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 50px;
}

.problem-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.problem-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: -15px;
    /* Overlap with checkmark */
    z-index: 1;
}

.problem-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    /* B&W filter */
    transition: transform 0.3s;
}

.problem-check {
    width: 30px;
    height: 30px;
    background-color: #5d4037;
    /* Brownish checkmark circle */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 2;
    position: relative;
    border: 3px solid #F2F2F2;
    /* Match section bg for border effect */
}

.problem-check::after {
    content: '✔';
    font-size: 0.9rem;
}

.problem-text {
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 15px;
    color: #333;
}

.problem-footer {
    text-align: center;
    background-color: #F9F9F9;
    /* Problem box footer style from image? Actually image shows text just floating or in a box. I'll make it a clean block. */
    /* Looking at reference again, the footer text "そんな悩み..." is in a white box */
    background: white;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.problem-footer-text {
    font-weight: bold;
    color: #333;
    line-height: 1.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sp-only {
        display: block;
    }

    .merit-stats-block .stats-row.top {
        flex-direction: column;
        align-items: center;
    }

    .merit-stats-block .stats-row.top .stats-box {
        max-width: 100%;
    }

    .lead-cta-title br:not(.sp-only) {
        display: none;
    }

    .lead-cta-btn {
        font-size: 1.2rem;
        padding: 15px 20px;
        width: 90%;
    }

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

    .problem-title {
        font-size: 1.6rem;
    }
}

/* --- Concept Section Header Updates --- */
.concept-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-label {
    display: block;
    color: #4FBFA5;
    /* Greenish label color matching Problem section */
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.concept-intro {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* --- Text Highlights --- */
.text-highlight-red {
    color: #E60012;
    /* Distinct bright red */
    font-weight: bold;
}

/* --- Merit Section Intro Redesign --- */
.merit-intro-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 0 20px;
}

/* Left Column */
.merit-intro-left {
    flex: 1;
    text-align: left;
}

.intro-heading-group {
    border-left: 6px solid #4FBFA5;
    /* Green bar */
    padding-left: 15px;
    margin-bottom: 25px;
}

.intro-bar-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
}

.intro-desc {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.highlight-marker {
    background: linear-gradient(transparent 60%, rgba(79, 191, 165, 0.3) 60%);
    /* Marker highlight effect */
    padding: 0 5px;
}

.intro-sub-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

/* Right Column */
.merit-intro-right {
    flex: 1;
    background-color: #F7F9F9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.stats-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.stats-box {
    background: white;
    flex: 1;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-box.large {
    background: #E8F5F2;
    /* Light green tint for large box */
}

.stats-label {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

.stats-val {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4FBFA5;
    line-height: 1.2;
}

.stats-val small {
    font-size: 0.9rem;
    margin-left: 2px;
}

.stats-val.green {
    color: #4FBFA5;
}

.stats-footer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .merit-intro-block {
        flex-direction: column;
        text-align: center;
    }

    .merit-intro-left {
        text-align: center;
        margin-bottom: 30px;
    }

    .intro-heading-group {
        border-left: none;
        padding-left: 0;
        display: inline-block;
        border-bottom: 4px solid #4FBFA5;
        padding-bottom: 5px;
    }
}

/* --- Merit Intro Image --- */
.merit-intro-img-wrapper {
    margin-top: 25px;
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.merit-intro-img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Merit Layout Refactor (Stats Bottom) --- */
.merit-intro-right-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.merit-intro-hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.merit-stats-block {
    background-color: #F7F9F9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 60px;
}

.merit-stats-block .stats-row {
    justify-content: center;
}

/* Adjust stats boxes for 1-column feel or centered grid */
.merit-stats-block .stats-box {
    max-width: 300px;
    /* Limit width per box */
    flex: none;
    /* remove flex:1 to respect max-width */
    width: 100%;
}

.merit-stats-block .stats-row.top {
    justify-content: center;
}

.merit-stats-block .stats-box.large {
    max-width: 615px;
    /* Span two boxes width roughly */
}

/* --- Merit Before/After Section --- */
.merit-ba-section {
    margin-bottom: 60px;
}

.merit-ba-title {
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.merit-ba-title::before {
    content: '##';
    color: #4FBFA5;
    margin-right: 10px;
}

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

.merit-ba-card {
    background: #F9F9F9;
    padding: 15px;
    border-radius: 8px;
}

.ba-img-container {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 4px;
}

.ba-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #006eb0;
    /* Blue-ish badge like reference */
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 2px;
    font-family: sans-serif;
    z-index: 10;
}

/* Update badge specific to reference "folder icon style" if strictly needed, otherwise simple badge */
/* Reference has green folder looking badge saying "Before&After" */
.ba-badge {
    background-color: #00563F;
    /* Dark green */
    font-weight: bold;
}

.ba-badge::before {
    content: '📂 ';
}

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

.ba-card-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.ba-card-attr {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.ba-voice-box {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #444;
}

.ba-voice-box strong {
    display: block;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .merit-ba-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Merit Grid Header --- */
.merit-grid-header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    /* Space from the BA section above */
}

.merit-label-en {
    display: block;
    color: #4FBFA5;
    /* Green branding color */
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.merit-grid-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4B4B4B;
    /* Dark grey/brownish text */
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .merit-grid-title {
        font-size: 1.4rem;
    }
}

/* --- Solution Section (New) --- */
.solution-new {
    padding: 80px 0;
    background-color: #f4f4f4;
    /* Light grey background for the whole section */
}

/* Cycle Block */
.solution-cycle-block {
    background-color: #F8F4EE;
    /* Beige background from reference */
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 80px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cycle-title {
    background-color: #001240;
    /* Navy Blue header */
    color: white;
    display: inline-block;
    padding: 10px 40px;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.cycle-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.cycle-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.text-row {
    font-weight: bold;
    color: #005691;
    /* Blue text */
    font-size: 1.1rem;
}

.cycle-highlight {
    background-color: #5D4037;
    /* Brown distinct color */
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    line-height: 1.2;
}

.arrow {
    color: #005691;
    font-size: 1.5rem;
}

.icon-row {
    font-size: 2.5rem;
}

.icon-refresh {
    color: #5D4037;
}

.cycle-footer {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
}

.red-line {
    border-bottom: 3px solid #D32F2F;
    color: #333;
}

/* Problem/Solution Header */
.solution-header-box {
    text-align: center;
    background-color: #001240;
    /* Navy Blue main header block */
    color: white;
    padding: 40px 20px;
    border-radius: 12px;
    margin-bottom: 60px;
    position: relative;
}

.sol-badge {
    background-color: white;
    color: #333;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.sol-main-title {
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: bold;
}

.gold-text {
    color: #FFD700;
    /* Gold for "Problem" text */
    border-bottom: 2px solid #FFD700;
}

/* Problem/Solution List Items */
.solution-list {
    max-width: 900px;
    margin: 0 auto;
}

.sol-item {
    margin-bottom: 60px;
}

.sol-problem-box {
    background-color: #f0f0f0;
    /* Light grey problem box */
    padding: 20px 20px 20px 70px;
    /* Left padding for number */
    position: relative;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
}

.sol-num {
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    font-weight: bold;
    color: #ccc;
    line-height: 1;
}

.sol-prob-content {
    width: 100%;
}

.tag-prob {
    border: 1px solid #666;
    color: #666;
    padding: 2px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    margin-right: 10px;
    vertical-align: middle;
}

.sol-prob-content h4 {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    vertical-align: middle;
}

.sol-prob-content p {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.sol-arrow-down {
    text-align: center;
    font-size: 2rem;
    color: #001240;
    /* Navy arrow */
    margin: 10px 0;
}

.sol-solve-box {
    border: 2px solid #C5A065;
    /* Gold/Brown border */
    background-color: #FFFCF5;
    /* Very light yellow/beige bg */
    padding: 25px;
    border-radius: 8px;
    position: relative;
}

.tag-solve {
    background-color: #E8DCC2;
    /* Beige tag bg */
    color: #5D4037;
    padding: 2px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
    position: absolute;
    top: -12px;
    /* Overlap top border */
    left: 20px;
}

.sol-solve-box h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #C5A065;
    /* Gold text */
    margin-bottom: 15px;
    margin-top: 5px;
}

.sol-solve-box p {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
}

.brown-bg {
    background-color: #5D4037;
    color: white;
    padding: 0 5px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .cycle-row {
        flex-direction: column;
        gap: 10px;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .text-row,
    .icon-row {
        flex-direction: column;
    }

    .sol-num {
        font-size: 3rem;
        left: 10px;
    }

    .sol-problem-box {
        padding-left: 60px;
    }
}

/* --- Cross-Sell / Synergy Section --- */
.cross-sell {
    background-color: #001240;
    /* Dark Navy Blue */
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cs-bubbles {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    height: 200px;
    /* Adjust based on overlapping */
}

.cs-bubble {
    background-color: #5D4037;
    /* Brown color */
    border-radius: 50% / 100%;
    /* Oval shape attempt 1 */
    border-radius: 100px;
    /* Capsule/Oval shape */
    padding: 40px 30px;
    width: 380px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.cs-bubble p {
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Overlapping positioning */
.bubble-left {
    left: 10%;
    /* Adjust for centering overlap */
    z-index: 1;
    background-color: #6A4E42;
    /* Slightly lighter brown? or same */
}

.bubble-right {
    right: 10%;
    /* Adjust */
    top: 40px;
    /* Slight offset down like in image */
    z-index: 2;
    background-color: #5D4037;
}

/* Center overlapping better for responsive */
@media (min-width: 768px) {
    .bubble-left {
        left: 50%;
        transform: translateX(-90%);
    }

    .bubble-right {
        left: 50%;
        transform: translateX(-10%);
        top: 30px;
    }
}

.cs-arrow-container {
    margin-bottom: 30px;
}

.cs-arrow-down {
    color: #4FBFA5;
    /* Blue/Green accent arrow */
    font-size: 2rem;
}

/* Top small yellow arrow attempt, add pseudo element to container if strictly needed from image 
   (The image has a small yellow triangle at top and blue at bottom)
*/
.cs-bubbles::before {
    content: '▼';
    color: #FFC107;
    /* Yellow/Gold */
    position: absolute;
    top: -40px;
    font-size: 2rem;
}

.cs-footer-text {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .cs-bubbles {
        flex-direction: column;
        height: auto;
        gap: 20px;
        margin-bottom: 20px;
    }

    .cs-bubble {
        position: static;
        width: 100%;
        border-radius: 20px;
        /* Less oval on mobile */
        height: auto;
        transform: none !important;
    }

    .bubble-right {
        margin-left: 20px;
        /* Indent slightly */
    }
}

/* --- Supervisor Voice --- */
.supervisor {
    background-color: #fff;
    padding: 80px 0;
}

.supervisor-box {
    display: flex;
    background-color: #F8F9FA;
    /* Light grey/white bg */
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    align-items: center;
    gap: 40px;
}

.supervisor-img-box {
    flex: 0 0 200px;
    text-align: center;
}

.supervisor-placeholder {
    width: 180px;
    height: 180px;
    background-color: #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-weight: bold;
    margin: 0 auto;
}

.supervisor-content {
    flex: 1;
}

.supervisor-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.name-highlight {
    border-bottom: 2px solid #C5A065;
    /* Gold underline */
}

.supervisor-role {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.supervisor-comment {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

/* --- Owner Voice --- */
.owner-voice {
    background-color: #FDFCF8;
    /* Very warm light beige */
    padding: 80px 0;
}

.owner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.owner-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.owner-img-box {
    margin-bottom: 20px;
}

.owner-placeholder {
    width: 120px;
    height: 120px;
    background-color: #eee;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    margin: 0 auto;
}

.owner-salon-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #001240;
    /* Navy */
    margin-bottom: 5px;
}

.owner-name-tag {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    display: inline-block;
    background-color: #f0f0f0;
    padding: 2px 10px;
    border-radius: 10px;
}

.owner-comment {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
    .supervisor-box {
        flex-direction: column;
        padding: 30px 20px;
    }

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

    .supervisor-img-box {
        margin-bottom: 20px;
        flex: auto;
    }
}

/* ============================== */
/* ① Stress Test Before/After     */
/* ============================== */
.stress-test {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2f7 100%);
    padding: 80px 0;
}

.st-header {
    text-align: center;
    margin-bottom: 50px;
}

.st-title {
    color: #333;
    font-size: 2rem;
    line-height: 1.6;
}

.st-highlight {
    background: linear-gradient(transparent 60%, rgba(79, 191, 165, 0.3) 60%);
    padding: 0 5px;
}

.st-subtitle {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 15px;
}

.st-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.st-card {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    flex: 1;
    max-width: 380px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.st-before {
    border-top: 4px solid #E53935;
}

.st-after {
    border-top: 4px solid #4FBFA5;
}

.st-card-label {
    font-size: 1.8rem;
    font-weight: 800;
    color: #E53935;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.st-card-label-after {
    color: #4FBFA5;
}

.st-card-sub {
    font-size: 0.85rem;
    font-weight: 500;
    color: #999;
    margin-left: 10px;
    letter-spacing: 0;
}

.st-score-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.st-score-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.st-score-name {
    font-size: 0.85rem;
    font-weight: bold;
    color: #555;
}

.st-bar-container {
    background: #f0f0f0;
    border-radius: 20px;
    height: 28px;
    overflow: hidden;
    position: relative;
}

.st-bar {
    height: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    transition: width 1.5s ease;
}

.st-bar-high {
    background: linear-gradient(90deg, #FF7043, #E53935);
}

.st-bar-low {
    background: linear-gradient(90deg, #81C784, #4FBFA5);
}

.st-bar-val {
    font-size: 0.85rem;
    font-weight: bold;
    color: white;
}

.st-verdict {
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 20px;
    padding: 10px;
    border-radius: 8px;
}

.st-verdict-bad {
    background: #FFF3F0;
    color: #E53935;
}

.st-verdict-good {
    background: #E8F5F2;
    color: #2E7D32;
}

.st-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.st-arrow-icon {
    font-size: 2rem;
    color: #4FBFA5;
    animation: pulseArrow 1.5s ease-in-out infinite;
}

@keyframes pulseArrow {

    0%,
    100% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(5px);
        opacity: 0.6;
    }
}

.st-arrow-text {
    font-size: 0.85rem;
    font-weight: bold;
    color: #4FBFA5;
    background: #E8F5F2;
    padding: 4px 12px;
    border-radius: 20px;
}

.st-change-summary {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.st-change-item {
    text-align: center;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.st-change-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
}

.st-change-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: #4FBFA5;
}

.st-footer {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .st-comparison {
        flex-direction: column;
        gap: 15px;
    }

    .st-card {
        max-width: 100%;
        width: 100%;
    }

    .st-arrow {
        flex-direction: row;
    }

    .st-arrow-icon {
        transform: rotate(90deg);
        animation: pulseArrowMobile 1.5s ease-in-out infinite;
    }

    @keyframes pulseArrowMobile {

        0%,
        100% {
            transform: rotate(90deg) translateX(0);
            opacity: 1;
        }

        50% {
            transform: rotate(90deg) translateX(5px);
            opacity: 0.6;
        }
    }

    .st-change-summary {
        flex-direction: column;
        gap: 10px;
    }

    .st-title {
        font-size: 1.5rem;
    }
}

/* ============================== */
/* ② Technology Section            */
/* ============================== */
.technology {
    background: linear-gradient(135deg, #0a0f2c 0%, #001240 50%, #0a1a3f 100%);
    color: white;
    padding: 100px 0;
}

.tech-header {
    text-align: center;
    margin-bottom: 60px;
}

.tech-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 3px;
    color: #4FBFA5;
    border: 1px solid rgba(79, 191, 165, 0.3);
    padding: 6px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.tech-main-title {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 20px;
}

.tech-intro {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.pc-only {
    display: inline;
}

.tech-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(79, 191, 165, 0.15);
    border-color: rgba(79, 191, 165, 0.3);
}

.tech-card-num {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
}

.tech-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tech-card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.tech-card-eng {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
    color: #4FBFA5;
    margin-top: 5px;
    letter-spacing: 1px;
}

.tech-card-body {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

.tech-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.tech-detail-box {
    background: rgba(79, 191, 165, 0.08);
    border: 1px solid rgba(79, 191, 165, 0.2);
    border-radius: 12px;
    padding: 25px;
}

.tech-detail-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.tech-detail-box h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #4FBFA5;
}

.tech-detail-box h4 small {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 3px;
    font-weight: normal;
}

.tech-detail-box p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .tech-cards {
        grid-template-columns: 1fr;
    }

    .tech-details {
        grid-template-columns: 1fr;
    }

    .tech-main-title {
        font-size: 1.6rem;
    }

    .pc-only {
        display: none;
    }
}

/* ============================== */
/* ③ Metrics Section               */
/* ============================== */
.metrics {
    background: white;
    padding: 80px 0;
}

.metrics-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.metric-card {
    background: #F9FAFB;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4FBFA5, #44CC66);
    opacity: 0;
    transition: opacity 0.3s;
}

.metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.metric-name {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.metric-desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .metric-card {
        padding: 20px 15px;
    }

    .metric-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================== */
/* ④ Sensor Demo Section           */
/* ============================== */
.sensor-demo {
    background: linear-gradient(180deg, #001240 0%, #0a1a3f 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.sensor-header {
    margin-bottom: 50px;
}

.sensor-main-title {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 15px;
}

.sensor-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.sensor-screen-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto 30px;
}

.sensor-app-icon {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 auto 40px;
    animation: floatIcon 3s ease-in-out infinite;
}

.sensor-app-icon-img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(79, 191, 165, 0.2);
}

.sensor-app-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4fbfa5;
    letter-spacing: 0.05em;
}

@keyframes floatIcon {

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

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

.sensor-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 191, 165, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

.sensor-screen-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(79, 191, 165, 0.15);
}

.sensor-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sensor-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 25px;
    border-radius: 50px;
    transition: background 0.3s;
}

.sensor-feat:hover {
    background: rgba(79, 191, 165, 0.15);
}

.sensor-feat-icon {
    font-size: 1.3rem;
}

.sensor-feat-text {
    font-size: 0.9rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .sensor-main-title {
        font-size: 1.6rem;
    }

    .sensor-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .sensor-feat {
        width: 90%;
        justify-content: center;
    }
}

/* =====================================================
   STRATEGIC CTA SECTIONS
   ===================================================== */

/* Base CTA Section */
.cta-section {
    padding: 60px 0;
    text-align: center;
}

.cta-section-inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section-content {
    margin-bottom: 30px;
}

.cta-section-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.cta-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 16px;
}

.cta-section-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.cta-section-limit {
    font-size: 1.05rem;
    color: #FFD700;
    font-weight: bold;
    margin-top: 8px;
}

.cta-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: #FF6B35;
}

.cta-highlight {
    color: #FFD700;
    font-weight: 900;
}

.cta-section-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

/* CTA Button */
.btn-cta-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #44CC66 0%, #33aa55 100%);
    color: #fff;
    padding: 18px 50px;
    border-radius: 60px;
    font-weight: 800;
    font-size: 1.15rem;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(68, 204, 102, 0.45), 0 0 0 0 rgba(68, 204, 102, 0.4);
    transition: all 0.3s ease;
    animation: ctaPulse 2.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.btn-cta-action::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: ctaShine 3s ease-in-out infinite;
}

.btn-cta-action:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(68, 204, 102, 0.55);
}

.btn-cta-main {
    position: relative;
    z-index: 1;
}

.btn-cta-arrow {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.btn-cta-action:hover .btn-cta-arrow {
    transform: translateX(5px);
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 6px 25px rgba(68, 204, 102, 0.45), 0 0 0 0 rgba(68, 204, 102, 0.4);
    }

    50% {
        box-shadow: 0 6px 25px rgba(68, 204, 102, 0.45), 0 0 0 15px rgba(68, 204, 102, 0);
    }
}

@keyframes ctaShine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    30%,
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* CTA① — Problem 直後 */
.cta-section-1 {
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 50%, #162d44 100%);
    position: relative;
}

.cta-section-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(68, 204, 102, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* CTA② — Solution 直後 */
.cta-section-2 {
    background: linear-gradient(135deg, #0f2b44 0%, #1b4066 50%, #0f2b44 100%);
    position: relative;
}

.cta-section-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* CTA③ — センサーデモ直後 */
.cta-section-3 {
    background: linear-gradient(135deg, #0a1f33 0%, #142840 50%, #0d2440 100%);
    border-top: 1px solid rgba(79, 191, 165, 0.2);
    position: relative;
}

.cta-section-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 60%, rgba(79, 191, 165, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* CTA④ — Owner Voice 直後 */
.cta-section-4 {
    background: linear-gradient(135deg, #2d1f0e 0%, #3d2b16 50%, #2d1f0e 100%);
    position: relative;
}

.cta-section-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

/* =====================================================
   ENHANCED FOOTER (Final CTA)
   ===================================================== */

.footer-final {
    background: linear-gradient(180deg, #4a3f36 0%, #3d332b 40%, #2a211a 100%);
    padding-top: 70px;
}

.final-cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFD700;
    padding: 8px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.footer-final .footer-title {
    font-size: 2.2rem;
    margin-bottom: 18px;
    line-height: 1.5;
    background: linear-gradient(to bottom, #fff 30%, #e0d6cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-final .footer-sub {
    font-size: 1rem;
    margin-bottom: 28px;
    opacity: 0.85;
    line-height: 1.7;
}

.final-cta-urgency {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.4);
    padding: 12px 28px;
    border-radius: 8px;
    margin: 0 auto 20px;
    max-width: fit-content;
    color: #FF6B35;
    font-weight: bold;
}

.urgency-icon {
    font-size: 1.2rem;
}

.urgency-text {
    font-size: 0.95rem;
}

.urgency-text strong {
    font-size: 1.3rem;
    color: #FF6B35;
}

.btn-cta-final {
    font-size: 1.3rem;
    padding: 22px 60px;
    margin-bottom: 20px;
    display: inline-flex;
}

.final-cta-reassurance {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.final-cta-reassurance span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* CTA Section Responsive */
@media (max-width: 768px) {
    .cta-section {
        padding: 50px 0;
    }

    .cta-section-title {
        font-size: 1.4rem;
    }

    .cta-section-sub {
        font-size: 0.9rem;
    }

    .cta-section-desc {
        font-size: 0.85rem;
    }

    .btn-cta-action {
        padding: 16px 30px;
        font-size: 1rem;
        width: 90%;
        justify-content: center;
    }

    .btn-cta-final {
        font-size: 1.1rem;
        padding: 18px 30px;
        width: 90%;
        justify-content: center;
    }

    .footer-final .footer-title {
        font-size: 1.6rem;
    }

    .final-cta-urgency {
        flex-direction: column;
        gap: 5px;
        padding: 10px 20px;
    }

    .final-cta-reassurance {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}