body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.highlight {
    color: #ff6f61;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://assets.st-note.com/img/1737611414-X5WoSZOq1MH7TxuF9bdNfCEU.png?width=4000&height=4000&fit=bounds&format=jpg&quality=90');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative; /* For absolute positioning of the logo */
}

.header-logo {
    position: absolute;
    top: 30px;
    left: 40px;
}

.header-logo img {
    width: 220px;
    height: auto;
    /* Invert color to white and adjust for visibility */
    filter: brightness(0) invert(1);
}

.hero-content h1 {
    font-size: 2.5rem; /* Adjusted for new layout */
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.5;
}

.super-highlight {
    font-size: 4.5rem;
    font-weight: 900;
    display: inline-block;
    margin: 10px 0;
    color: #0099ff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.super-highlight::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: -15px;
    right: -15px;
    height: 30px;
    background: #ffd700;
    z-index: -1;
    transform: skewX(-15deg);
    border-radius: 4px;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .super-highlight {
        font-size: 3.5rem;
    }
}

.cta-button {
    background-color: #ff6f61;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #e65a50;
    transform: translateY(-3px);
    text-decoration: none;
}

/* Main Content */
main {
    padding: 40px 20px;
}

section {
    max-width: 1000px;
    margin: 0 auto 60px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

/* Empathy Section */
.empathy-section {
    background-color: #fff;
    text-align: center;
}

.empathy-section h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.empathy-section .highlight-blue {
    color: #0099ff;
}

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

.empathy-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s, box-shadow 0.3s;
}

.empathy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.empathy-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1;
}

.empathy-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.empathy-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.empathy-solution {
    margin-top: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.8;
}

/* Diagnosis Section - New Infographic Styles */
.diagnosis-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 20px;
    border-radius: 8px;
}

.infographic-header {
    text-align: center;
    margin-bottom: 40px;
}

.infographic-header h1, .infographic-header h2 {
    font-weight: 900; /* black */
    line-height: 1.2;
}

.infographic-header .highlight {
    color: #007bff; /* Blue for emphasis */
}

.infographic-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

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

.flow-label {
    font-weight: bold;
    color: #555;
    margin-bottom: 8px;
}

.subsidy-label { color: #dc3545; }
.final-cost-label { color: #007bff; }

.cost-box {
    font-size: 2.5rem;
    font-weight: bold;
    padding: 15px 25px;
    border-radius: 12px;
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
    min-width: 200px;
}

.cost-box .unit {
    font-size: 1.2rem;
    margin-left: 5px;
}

.subsidy-box {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.final-cost-box {
    background-color: #cce5ff;
    border-color: #b8daff;
    color: #004085;
}

.flow-operator {
    font-size: 2.5rem;
    font-weight: bold;
    color: #555;
}

.disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 50px;
}

#diagnosis-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.diagnosis-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.question-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 5px solid #007bff;
}

.question-item p {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.options label {
    display: block;
    cursor: pointer;
}

.options input[type="radio"], .options input[type="checkbox"] {
    display: none;
}

.options span {
    display: block;
    padding: 12px 25px;
    background: #e9ecef;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: 500;
}

.options input[type="radio"]:checked + span,
.options input[type="checkbox"]:checked + span {
    background-color: #007bff;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}

.investment-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
}

#submit-diagnosis {
    display: block;
    width: 100%;
    max-width: 350px;
    margin: 40px auto 0;
    padding: 18px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

#submit-diagnosis:hover {
    background-color: #218838;
    transform: translateY(-3px);
}

/* Result Container */
.result-container {
    text-align: center;
    padding: 40px;
    border-radius: 8px;
    background: #fff;
    margin-top: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.result-container h3 {
    font-size: 2.2rem;
    color: #007bff;
}

.result-container .result-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: #dc3545; /* red */
    margin: 10px 0;
}

.result-container .result-amount span {
    font-size: 1.5rem;
    font-weight: normal;
}

.result-container p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.result-container .cta-button,
#show-form-button {
    display: inline-block;
    background-color: #ff6f61;
    padding: 18px 40px;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    transition: all 0.3s;
}

#show-form-button:hover {
    background-color: #e65a50;
    transform: translateY(-3px);
}

/* --- Universal Section Styles --- */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title, .section-title-left {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 50px;
    line-height: 1.4;
    position: relative;
    padding-bottom: 15px;
}

.section-title {
    text-align: center;
}

.section-title-left {
    text-align: left;
}

.section-title::after, .section-title-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, #0099ff, #89cff0);
}

.section-title::after { /* For centered title */
    left: 50%;
    transform: translateX(-50%);
}

.section-title-left::after { /* For left-aligned title */
    left: 0;
}

/* --- About Subsidy Section --- */
.about-subsidy-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-subsidy-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-subsidy-text {
    flex: 1 1 500px;
}

.about-subsidy-text p {
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-subsidy-text .conclusion {
    font-weight: bold;
    background: #f0f8ff;
    padding: 20px;
    border-left: 5px solid #0099ff;
    border-radius: 4px;
    margin-top: 25px;
}

.about-subsidy-image {
    flex: 1 1 400px;
}

.about-subsidy-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* --- Subsidy Explainer Section --- */
.subsidy-explainer-section {
    padding: 80px 0;
    background-color: #f9fafb;
    text-align: center;
}

.explainer-illustration {
    color: #0099ff;
    margin: 0 auto 30px auto;
}

.explainer-illustration svg {
    width: 80px;
    height: 80px;
}

.explainer-text {
    max-width: 800px;
    margin: 0 auto;
}

.explainer-text p {
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: left;
}

.explainer-text .conclusion {
    font-weight: bold;
    background: #fff;
    padding: 20px;
    border-left: 5px solid #0099ff;
    border-radius: 4px;
    margin-top: 25px;
}

/* --- Merits Section --- */
.merits-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

.merits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.merit-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s, box-shadow 0.3s;
}

.merit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 153, 255, 0.1);
}

.merit-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e6f4ff, #cceaff);
    color: #0099ff;
}

.merit-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.merit-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

/* --- Flow Section (Vertical Timeline) --- */
.flow-section {
    padding: 80px 0;
    background-color: #fff;
}

.flow-vertical-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.flow-vertical-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    height: 100%;
    width: 4px;
    background: #eaf5ff;
}

.flow-vertical-step {
    position: relative;
    margin-bottom: 40px;
}

.flow-vertical-step:last-child {
    margin-bottom: 0;
}

.flow-vertical-content {
    position: relative;
    margin-left: 80px;
    background-color: #f9fafb;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.flow-vertical-number {
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #0099ff;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px #0099ff;
}

.flow-vertical-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .flow-vertical-timeline::before {
        left: 30px; /* Give a bit more space from the edge */
    }
    .flow-vertical-content {
        margin-left: 80px; /* Increase margin to avoid overlap */
    }
    .flow-vertical-number {
        width: 40px;
        height: 40px;
        /* Position the circle correctly on the timeline */
        left: -60px; 
        top: 20px; /* Adjust vertical alignment */
        transform: none; /* Reset transform */
        font-size: 1.2rem;
    }
}

/* Marketo Form Section */
#marketo-form-section {
    background-color: #f0f4f8;
    padding: 80px 0;
}

.form-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.marketo-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Marketo Form Section */
#marketo-form-section {
    background-color: #f0f4f8;
    padding: 80px 0;
}

.form-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.marketo-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .infographic-flow {
        flex-direction: column;
        gap: 10px;
    }
    .flow-operator { display: none; }
    .cost-box { font-size: 2rem; min-width: 180px; padding: 12px 20px; }
    .diagnosis-title { font-size: 1.5rem; }
    #diagnosis-form-container { padding: 20px; }
    .result-container h3 { font-size: 1.8rem; }
    .result-container .result-amount { font-size: 2.8rem; }
}

/* Solution Section - Redesigned */
.solution-section {
    padding: 60px 20px;
    background-color: #fff;
}

.solution-intro {
    display: flex;
    flex-direction: column; /* Change to column layout */
    align-items: center; /* Center items horizontally */
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.solution-text {
    flex: 1 1 auto;
    text-align: center; /* Center-align all text */
}

.solution-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 20px;
}

.solution-text h2 .highlight {
    color: #0099ff;
}

.solution-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px; /* Limit paragraph width for readability */
    margin: 0 auto;
}

.solution-image {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.solution-logo-wrapper {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    background-color: #f9fafb;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-logo-wrapper img {
    width: 100%;
    height: auto;
}

.perspectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 60px auto;
}

.perspective-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

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

.perspective-item h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Reasons Section */
.reasons-section {
    max-width: 1100px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.reasons-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

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

.reason-item {
    background: #eef7ff;
    color: #004085;
    padding: 20px;
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 5px solid #007bff;
}

/* Strengths Section */
.strengths-section {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.strengths-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

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

.strength-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}

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

.strength-item h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .solution-text h2 { font-size: 2rem; }
    .reasons-grid { grid-template-columns: 1fr; }
}

/* Footer - Redesigned */
.footer {
    background-color: #ffffff;
    color: #333;
    padding: 40px 20px;
    border-top: 1px solid #e9ecef;
}

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

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
    gap: 20px;
}

.footer-logo img {
    width: 280px; /* Increased logo size */
    height: auto;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #0099ff;
}

.footer-bottom {
    text-align: center;
}

.footer-credit {
    margin: 0;
    font-size: 0.9rem;
    color: #888;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo img {
        width: 240px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .solution-container {
        flex-direction: column;
    }

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

    section {
        padding: 20px;
    }
}
