/* --- RESET & BASE --- */
body {
    background-color: oklch(100% 0 0);
    font-family: "Noto Sans JP", ui-sans-serif, system-ui, sans-serif;
}

/* --- HEADER --- */
#header {
    top: 0;
    height: 73px;
    background: #fff !important;
    padding: 0 20px;
}

#header .main-nav {
    width: clamp(300px, 70vw, 1400px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0 auto;
}

#header .logo {
    height: 32px;
    margin-right: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

#header .logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

#header .logo img {
    height: 40px !important;
    width: auto;
    max-width: 160px !important;
    object-fit: contain;
    display: block;
}

#hero-section {
    padding-top: 64px;
}

/* --- HERO SECTION --- */
#hero-section {
    margin-top: 0;
    padding-top: 0;
    line-height: 1;
}

.hero-center-wrap {
    position: relative;
    min-height: 652px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('/images/rlp/hero_bg.jpg') no-repeat center 18%;
    background-size: cover;
    overflow: hidden;
}

.hero-center-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(250, 215, 225, 0.65) 0%,
            rgba(240, 215, 250, 0.72) 40%,
            rgba(255, 255, 255, 0.82) 72%,
            rgba(255, 255, 255, 1.00) 100%
    );
    z-index: 1;
}

.hero-center-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.hero-center-title {
    font-weight: 900;
    font-size: 38px;
    letter-spacing: -0.01em;
    line-height: 1.75;
    color: var(--ink);
    margin: 38px 0 12px;
    padding: 0;
}

.hero-title-highlight {
    color: var(--brand);
}

.hero-center-subtitle-line {
    font-size: 28px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 32px;
}

.hero-center-desc {
    font-size: 18px;
    line-height: 1.9;
    color: var(--ink-muted);
    margin: 0 0 32px;
    font-weight: 400;
}

.hero-center-desc strong {
    color: var(--ink);
}

.hero-center-desc strong {
    font-weight: 700;
}

.hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.badge-icon {
    font-size: 14px;
}

.hero-btn-center {
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 24px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: background .2s, transform .15s;
    display: inline-block;
    width: auto;
}

.hero-btn-center:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

/* --- HERO FEATURE CARDS --- */
.hero-features-wrap {
    background: #fff;
    padding: 12px 20px 60px;
}

.hero-features-inner {
    display: flex;
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
    align-items: stretch;
}

.hero-feature-card {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-top: 3.5px solid #F18B26;
    border-radius: 10px;
    padding: 22px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.hero-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.13);
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    background: #f0f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    margin-bottom: 0;
    margin-top: 2px;
}

.hero-feature-body {
    flex: 1;
    min-width: 0;
}

.hero-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.45;
}

.hero-feature-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.85;
    color: var(--ink-muted);
    margin: 0;
}

a.hero-btn-link {
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
}

/* --- REPORT TOC SECTION --- */
#report-toc-section {
    background: #f0f9fb;
    padding: 72px;
}

.toc-section-inner {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.toc-col {
    flex: 0 0 460px;
    max-width: 460px;
}

.toc-heading {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 25px;
    padding: 0;
}

.toc-divider {
    height: 1.5px;
    background: var(--ink);
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.toc-item {
    padding: 16px 0;
    border-bottom: 1px solid #d8e4ed;
}

.toc-item:last-child {
    border-bottom: none;
}

.toc-item-header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 8px;
}

.toc-num {
    font-size: 20px;
    font-weight: 900;
    color: var(--brand);
    flex-shrink: 0;
    line-height: 1.4;
    min-width: 19px;
}

.toc-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
}

.toc-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--ink);
    margin: 0;
    padding-left: 32px;
}

.toc-charts-col {
    flex: 1;
}

.toc-charts-grid {
    display: grid;
    grid-template-columns: 220px 220px;
    gap: 16px;
    margin-top: 16px;
}

.chart-thumb {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.chart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- DOWNLOAD FORM --- */
#contact-form {
    background: #f0f9fb;
    padding: 72px 20px 88px;
    text-align: center;
}

.dl-form-wrap {
    max-width: 640px;
    margin: 0 auto;
}

.dl-form-heading {
    font-size: 28px;
    font-weight: 900;
    color: var(--ink);
    margin: 0 0 32px;
    padding: 0;
    line-height: 1.5;
}

.dl-heading-highlight {
    color: var(--brand);
}

.dl-form-card {
    background: #fff;
    border-radius: 14px;
    padding: 36px;
    text-align: left;
    box-shadow: 0 4px 24px rgba(9, 67, 106, 0.07);
}

.dl-field {
    margin-bottom: 24px;
}

.dl-field-error {
    display: block;
    color: #e03333;
    font-size: 12px;
    margin-top: 5px;
}

.dl-label {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.dl-required {
    color: #e03333;
    margin-left: 2px;
}

.dl-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 14px;
    font-size: 16px;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.dl-input::placeholder {
    color: #aab8c2;
}

.dl-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px #f18b262e;
}

.dl-input-error {
    border-color: #e03333 !important;
}

.dl-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.dl-submit-btn {
    width: 100%;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 18px 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: background .2s, transform .15s;
}

.dl-submit-btn:hover {
    background: #e57f1c;
    transform: translateY(-1px);
}

#rlp-recaptcha {
    display: flex;
    justify-content: center;
}

/* --- FOOTER --- */
#report-footer {
    background: var(--ink);
    padding: 22px 16px;
    text-align: center;
}

.report-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.report-footer-text {
    color: #D1D5DB;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
    margin: 0;
}

.report-footer-link {
    color: var(--brand);
    text-decoration: none;
    transition: opacity .2s;
}

.report-footer-link:hover {
    color: var(--brand-dark);
}

/* --- RESPONSIVE --- */
/* ── 1366px: small desktop / laptop ── */
@media (min-width: 1366px) {
    .hero-features-inner {
        max-width: 1100px;
    }

    .hero-feature-card {
        gap: 20px;
    }
}

/* ── 1024px: tablet landscape ── */
@media (max-width: 1024px) {
    #report-toc-section {
        padding: 72px 0;
    }

    .toc-section-inner {
        flex-direction: column;
    }

    .toc-col {
        border-bottom: 1px solid var(--border-color);
        max-width: 100%;
    }

    .toc-charts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── 768px: mobile ── */
@media (max-width: 768px) {
    .hero-center-wrap {
        min-height: 634px !important;
        padding: 100px 20px 60px;
    }

    .hero-center-inner {
        width: 100%;
    }

    .hero-center-title {
        font-size: 26px;
        line-height: 1.5;
        margin: 20px 0 10px;
    }

    .hero-center-subtitle-line {
        font-size: 18px;
    }

    .hero-center-desc {
        font-size: 14px;
    }

    .hero-btn-center {
        padding: 14px 28px;
    }

    .hero-features-inner {
        flex-direction: column;
    }

    .toc-section-inner {
        gap: 62px;
        padding: 0 20px;
    }

    .dl-input {
        padding: 8px;
    }

    .dl-submit-btn {
        padding: 10px 28px;
    }
}
