/* ======= Base & Tokens ======= */
:root {
    --font-family: "Noto Sans JP", "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    --bg: #f5f5f5;
    --fg: #3a3a3a;
    --card: #fff;
    --muted: #717182;
    --border: #d1d5db;
    --brand: #b41d23;
    --brand-hover: #a01a1f;
    --brand-light: #f5e6e8;
    --black: #0f0f0f;
    --white: #fff;
    --accent: gold;
    --footer-bg: #1A1F2E;
    --nav-bg: #1b1f2d;
    --pink-100: #fde7ef;
    --pink-300: #f9b6c8;
    --pink-600: #d53f8c;
    --blue-100: #dbeafe;
    --blue-300: #93c5fd;
    --blue-600: #2563eb;
    --container: 1120px;
    --radius: 10px;
}

* {
    box-sizing: border-box;
}

html {
    font-family: var(--font-family);
    /* font-size: 14px; */
}

body {
    margin: 0;
    /* background: var(--bg); */
    color: var(--fg);
    line-height: 1.7;
    font-family: var(--font-family);
}

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

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

a:hover {
    color: inherit;
}

/* Breakpoints */
@media (min-width: 640px) {
    :root {
        --gap: 24px;
    }
}

@media (min-width: 768px) {
    :root {
        --gap: 28px;
    }
}

@media (min-width: 1024px) {
    :root {
        --gap: 32px;
    }
}

/* Layout */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 16px;
    z-index: 2;
    position: relative;
}

/* font */
h3 {
    font-size: 26px;
    line-height: 1.3;
    color: #000;
    font-weight: 400;
    text-align: center;
    margin: 0 0 20px;
}

/* ======= Sections ======= */
.section {
    position: relative;
    overflow: hidden;
    padding: 85px 0;
}

.section--offwhite {
    background: #f4f4f4;
}

.section--mv-bg {
    background: linear-gradient(to right, #f8fbff, #dae3ef);
}

.section-bg-img {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(50%, 900px);
    transform: translateX(-50%);
    opacity: 0.65;
    z-index: 2;
}

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

.section__header {
    text-align: center;
    /* margin-bottom: 48px; */
}

.label-pill {
    display: inline-block;
    padding: 10px 21px;
    border-radius: 999px;
    background: #0f0f0f;
    color: #fff;
    margin-bottom: 24px;
}

.section__title {
    font-size: 42px;
    line-height: 1.3;
    color: #000;
    font-weight: 400;
    margin: 0 0 28px;
}

.section__title .break {
    display: block;
}

.section__lead {
    font-size: 18px;
    /* color: #4b5563; */
    color: #000;
    /* max-width: 900px; */
    margin: 0 auto;
}

@media (max-width: 991px) {
    .section-bg-img {
        width: min(100%, 700px);
    }
}

@media (max-width: 590px) {
    .section--mv-bg {
        padding: 65px 0;
    }

    .section__title {
        font-size: 34px;
    }
}

.panel__title {
    margin-bottom: 1.5rem;
}

.panel__lead {
    color: #343434;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 16px;
}


/* Button */
.section__btn {
    display: flex;
    justify-content: center;
    margin: 0;
}

.btn--xl {
    font-size: 18px;
    width: 230px;
}

/* .btn--s {
  font-size: 13px;
} */

.btn--secondary-strong {
    background: var(--brand);
    color: #fff;
}

.btn--secondary-strong:hover {
    opacity: .9;
}

.btn--ghost-red {
    border-color: var(--brand) !important;
    color: var(--brand);
    background: #fff;
}

.btn--ghost-red:hover {
    background: var(--brand);
}

section .nr_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 7px 14px;
    font-weight: 500;
    border: 1px solid transparent;
    gap: 16px;
    line-height: 1.4;
    transition: transform .2s;
}

section .nr_btn:hover {
    transform: scale(1.05);
    color: #fff;
}

a {
    text-decoration: none;
}

/* CTA */
.page-cta {
    /* padding: 4rem 0; */
    padding: 7rem 0;
    background: #f4f4f4;
    text-align: center;
}

.section__btn-cta {
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 590px) {
    .page-cta {
        padding: 5rem 0;
    }
}

@media (max-width: 500px) {
    .section__btn-cta {
        flex-direction: column;
    }

    .section__btn-cta .btn--xl {
        width: 100%;
    }

    .page-cta {
        padding: 4rem 0;
    }
}


.result-text {
    font-size: 34px !important;
}

@media (max-width: 590px) {
    .result-text {
        font-size: 28px !important;
    }
}