@charset "UTF-8";


/* ===================================================
   TOP KV（front-page）
   レイアウト・ブレークポイントは cms-kv（.kv-section / .kv-inner）と共通
   書籍CTA（.kv2_*）の見た目は従来 Ver2
=================================================== */

.kv-section--kv2front {
    position: relative;
    overflow: hidden;
}

.kv-section--kv2front .kv-inner-left .kv-desc {
    width: 100%;
    max-width: 510px;
    margin: 0;
    font-size: 16px;
    line-height: 2;
}

/* picture をレイアウトから外し .kv-inner-right > img と同様に計測されるようにする */
.kv-section--kv2front .kv-inner-right picture {
    display: contents;
}

.kv-section--kv2front .kv-text {
    gap: 16px;
    margin-bottom: 18px;
}

.kv-section--kv2front .kv-labels {
    gap: 10px;
    margin: 0 0 24px;
}

.kv-section--kv2front .kv-labels img {
    width: auto;
    height: 110px;
    object-fit: contain;
}

.kv-section--kv2front .kv-cta {
    gap: 16px;
    max-width: 420px;
}

/* ===================================================
   TOP KV（Figma 202507-Ver2）
=================================================== */

:root {
    --kv2front-sticky-cta-height: 97px;
}

/* ---------- Hero ---------- */
.kv2front {
    width: 100%;
}

.kv2front-hero {
    background: #f7f7fe;
}

.kv2front-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 40px 40px;
}

.kv2front-content {
    flex: 1;
    min-width: 0;
    max-width: 510px;
}

/* ---------- Heading ---------- */
.kv2front-heading {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 1.15;
    letter-spacing: -1.44px;
    color: #353c56;
    margin: 0 0 16px;
}

.kv2front-emphasis {
    color: #0178e5;
    font-weight: 600;
}

.kv2front-desc {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W4", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0.18px;
    color: #363843;
    margin: 0 0 24px;
}

.kv2front-br {
    display: none;
}

/* ---------- Stats ---------- */
.kv2front-stats {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.kv2front-stat {
    position: relative;
    text-align: center;
    padding: 0 18px;
    flex: 0 0 auto;
}

.kv2front-stat:first-child {
    padding-left: 0;
}

.kv2front-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: #c5c9d6;
}

.kv2front-stat-title {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.16px;
    color: #0a3e8b;
    margin: 0 0 12px;
    white-space: nowrap;
}

.kv2front-stat-value {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    line-height: 1.4;
    color: #353c56;
    margin: 0;
    white-space: nowrap;
}

.kv2front-stat-unit,
.kv2front-stat-label {
    font-size: 18px;
    letter-spacing: 0.18px;
}

.kv2front-stat-plus {
    font-size: 21px;
    color: #353c56;
}

.kv2front-stat-plus--large {
    font-size: 24px;
}

.kv2front-stat-number {
    font-size: 27px;
    color: #0178e5;
    letter-spacing: 0.27px;
}

.kv2front-stat:nth-child(2) .kv2front-stat-number {
    font-size: 30px;
}

/* ---------- Visual ---------- */
.kv2front-visual {
    flex-shrink: 0;
    width: 100%;
    max-width: 620px;
}

.kv2front-video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.kv2front-video--sp {
    display: none;
}

/* ---------- CTA Bar ---------- */
.kv2front-cta-bar {
    background: #f2f2fc;
    padding: 20px 40px;
}

.kv2front-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.kv2front-cta-guide {
    display: none;
}

.kv2front-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.kv2front-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 56px;
    border-radius: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.kv2front-cta-text {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0.18px;
    color: #fff;
    white-space: nowrap;
}

.kv2front-cta-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    pointer-events: none;
}

.kv2front-cta--orange {
    background: linear-gradient(90deg, #ff9e30 0%, #ff7503 100%);
}

.kv2front-cta--blue {
    background: linear-gradient(90deg, #0096e7 0%, #0076e5 100%);
}

@media (hover: hover) and (pointer: fine) {
    .kv2front-cta:hover {
        opacity: 0.9;
    }
}

/* ---------- Tablet / SP (≤960px) ---------- */
@media (max-width: 960px) {
    .kv2front-hero {
        background: linear-gradient(163deg, rgba(240, 244, 255, 0.75) 30%, rgba(255, 255, 255, 0) 49%), #f0f4ff;
    }

    .kv2front-hero-inner {
        flex-direction: column;
        align-items: center;
        padding: 24px 0 0;
        gap: 0;
    }

    .kv2front-content {
        max-width: 100%;
        width: 100%;
        text-align: center;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .kv2front-heading {
        font-size: 32px;
        letter-spacing: -0.96px;
        margin-bottom: 12px;
    }

    .kv2front-desc {
        font-size: 13px;
        letter-spacing: 0.13px;
        margin-bottom: 20px;
    }

    .kv2front-br {
        display: inline;
    }

    .kv2front-stats {
        justify-content: center;
        margin-bottom: 0;
    }

    .kv2front-stat {
        padding: 0 8px;
    }

    .kv2front-stat:first-child {
        padding-left: 8px;
    }

    .kv2front-stat-title {
        font-size: 12px;
        letter-spacing: 0.12px;
        margin-bottom: 8px;
    }

    .kv2front-stat-unit,
    .kv2front-stat-label {
        font-size: 12px;
    }

    .kv2front-stat-plus {
        font-size: 16px;
    }

    .kv2front-stat-plus--large {
        font-size: 16px;
    }

    .kv2front-stat-number {
        font-size: 18px;
    }

    .kv2front-stat:nth-child(2) .kv2front-stat-number {
        font-size: 20px;
    }

    .kv2front-visual {
        max-width: 100%;
        width: 100%;
        margin-top: 36px;
        align-self: stretch;
    }

    .kv2front-video--pc {
        display: none;
    }

    .kv2front-video--sp {
        display: block;
        width: 100%;
    }

    .kv2front-cta-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        width: 100%;
        background: #fff;
        border-top: 1px solid rgba(56, 59, 66, 0.13);
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
    }

    body:has(.kv2front) {
        padding-bottom: calc(var(--kv2front-sticky-cta-height) + env(safe-area-inset-bottom, 0px));
    }

    body:has(.kv2front) .sp-sticky-cta {
        display: none;
    }

    body:has(.kv2front) #toTopBtn {
        bottom: calc(var(--kv2front-sticky-cta-height) + 12px + env(safe-area-inset-bottom, 0px));
    }

    .kv2front-cta-inner {
        max-width: none;
    }

    .kv2front-cta-guide {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
        font-weight: 600;
        font-size: 12px;
        line-height: 1.4;
        color: #b36c07;
        text-align: center;
        margin: 0 0 8px;
    }

    .kv2front-cta-guide-deco {
        display: inline-block;
        width: 7px;
        height: 13px;
        border-left: 1.5px solid #b36c07;
        transform: rotate(-20deg);
        flex-shrink: 0;
    }

    .kv2front-cta-guide-deco--right {
        transform: rotate(20deg) scaleX(-1);
    }

    .kv2front-cta-buttons {
        flex-direction: column;
        gap: 0;
    }

    .kv2front-cta {
        width: 100%;
        height: 48px;
    }

    .kv2front-cta--blue {
        display: none;
    }

    .kv2front-cta-text {
        font-size: 16px;
        letter-spacing: 0.16px;
    }
}

/* ---------- Small SP (≤500px) ---------- */
@media (max-width: 500px) {
    .kv2front-content {
        padding: 0 16px;
    }

    .kv2front-stat {
        padding: 0 6px;
    }

    .kv2front-stat:first-child {
        padding-left: 6px;
    }
}

/* （TOP）ガイド〜書籍ボタン〜サブリンク */
.kv2_guide {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.kv2_guide_text {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 24px;
    color: #0a3e8b;
    text-align: center;
    white-space: nowrap;
}

.kv2_guide_deco_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 17.321px;
    flex-shrink: 0;
    overflow: visible;
}

.kv2_guide_deco {
    display: block;
    width: 2px;
    height: 20px;
    flex-shrink: 0;
}

.kv2_guide_deco--left {
    transform: scaleY(-1) rotate(-150deg);
}

.kv2_guide_deco--right {
    transform: rotate(30deg);
}

.kv2_btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 64px;
    background-color: #ff8000;
    border-radius: 102px;
    text-decoration: none;
    box-shadow: inset 0px -5px 0px 0px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
    .kv2_btn:hover {
        opacity: 0.9;
    }
}

.kv2_btn_books {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: flex-end;
    padding-left: 9px;
    height: 100%;
    pointer-events: none;
}

.kv2_btn_book_sm {
    height: 57px;
    width: auto;
    transform: rotate(-4.5deg);
    position: relative;
    top: -6px;
    z-index: 2;
    left: 6px;
}

.kv2_btn_book_a5 {
    height: 65px;
    width: auto;
    transform: rotate(6.5deg);
    position: relative;
    top: -8px;
    margin-left: -8px;
    z-index: 1;
    right: 24px;
}

.kv2_btn_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    position: relative;
    z-index: 3;
    margin-bottom: 8px;
    left: 20px;
}

.kv2_btn_main {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #ffffff;
    letter-spacing: 0.36px;
    white-space: nowrap;
}

.kv2_btn_sub {
    display: inline-block;
    background: #ffffff;
    color: #ff8000;
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: normal;
    text-align: center;
    padding: 1px 8px;
    border-radius: 30px;
    white-space: nowrap;
}

.kv2_btn_arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    z-index: 3;
}

.kv2_link {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #006ec5;
    font-family: "Inter", "Noto Sans JP", sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 28px;
    letter-spacing: -0.44px;
    white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
    .kv2_link:hover {
        opacity: 0.7;
    }
}

.kv2_link_arrow {
    width: 16px;
    height: 12px;
}

@media (max-width: 960px) {
    .kv-section--kv2front .kv-cta {
        width: 100%;
        max-width: 420px;
    }

    .kv2_btn_books {
        padding-left: 7px;
    }

    .kv2_btn_book_sm {
        height: 44px;
        top: -4px;
        left: 2px;
    }

    .kv2_btn_book_a5 {
        height: 50px;
        top: -7px;
        margin-left: -6px;
        right: 20px;
    }

    .kv2_btn_main {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0.28px;
    }
}

@media (max-width: 500px) {
    .kv-section--kv2front .kv-labels img {
        height: 80px;
    }

    .kv-section--kv2front .kv2_guide {
        gap: 8px;
    }

    .kv-section--kv2front .kv2_guide_text {
        font-size: 9.6px;
        line-height: 19.2px;
        white-space: nowrap;
    }

    .kv-section--kv2front .kv2_guide_deco_wrap {
        width: 8px;
        height: 13.856px;
    }

    .kv-section--kv2front .kv2_guide_deco {
        width: 1.6px;
        height: 16px;
    }

    .kv-section--kv2front .kv2_btn {
        width: 100%;
        height: 64px;
        border-radius: 81.6px;
        box-shadow: inset 0px -4px 0px 0px rgba(0, 0, 0, 0.2);
    }

    .kv-section--kv2front .kv2_btn_books {
        padding-left: 7.2px;
    }

    .kv-section--kv2front .kv2_btn_book_sm {
        height: 42px;
        top: -3px;
        left: -2px;
    }

    .kv-section--kv2front .kv2_btn_book_a5 {
        height: 48px;
        top: -7px;
        right: 25px;
    }

    .kv-section--kv2front .kv2_btn_content {
        gap: 2px;
        margin-bottom: 0;
        top: -2px;
        left: 5px;
    }

    .kv-section--kv2front .kv2_btn_main {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0.28px;
    }

    .kv-section--kv2front .kv2_btn_sub {
        font-size: 10px;
        padding: 1px 8px;
        border-radius: 24px;
    }

    .kv-section--kv2front .kv2_btn_arrow {
        right: 12.8px;
        width: 12.8px;
        height: 12.8px;
    }

    .kv-section--kv2front .kv2_link {
        font-size: 12px;
        line-height: 22.4px;
        letter-spacing: -0.35px;
        gap: 5.6px;
    }
}

/* ===================================================
   KV セクション（2026年3月 Ver3）
   Figma: 新LP
=================================================== */
.kv-section {
    width: 100%;
}

.kv-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 40px 72px;
}

.kv-inner-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 560px;
}

.kv-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.kv-eyebrow {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    color: #0A3E8B;
}

.kv-eyebrow ruby {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    color: #0A3E8B;
}

.kv-eyebrow ruby rt {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 9px;
    color: #0A3E8B;
    line-height: 1;
    letter-spacing: 0.26px;
    text-align: center;
    vertical-align: bottom;
}

.kv-inner-left h1 {
    font-size: 46px;
    font-family: Hiragino Sans;
    color: #0A3E8B;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

.kv-desc {
    font-family: Hiragino Sans;
    font-weight: 600;
    font-size: 18px;
    line-height: 2;
    letter-spacing: 0;
    color: #0A3E8B;
}

.kv-labels {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    margin: 0 0 32px;
}

.kv-labels img {
    width: 114px;
    height: auto;
    object-fit: contain;
}

.kv-cta {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.kv-cta-top {
    position: relative;
    width: 100%;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background-color: #006EC5;
    border-radius: 102px;
    box-shadow: 0 6px 0 #005293;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kv-cta-top::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 23px;
    height: 23px;
    background-image: url("../img/lp/h1/cta_icon.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


@media (hover: hover) and (pointer: fine) {
    .kv-cta-top:hover {
        transform: translateY(3px);
        box-shadow: 0 3px 0 #005293;
    }
}

.kv-cta-text-top {
    font-size: 16px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    letter-spacing: 0;
}

.kv-cta-text-bottom {
    width: fit-content;
    font-size: 12px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    color: #006EC5;
    background-color: #fff;
    border-radius: 20px;
    padding: 2px 12px;
    line-height: 1.5;
    letter-spacing: 0;
}

/* ---------- パターン2: 本の画像つき ---------- */
.kv-cta-with--books {
    background-color: #F07B29;
    box-shadow: 0 6px 0 #C45E10;
    padding: 0 0 0 25px;
}

.kv-cta-with--books::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 8px;
    width: 114.5px;
    aspect-ratio: 114.5 / 74;
    background-image: url("../img/kv-image/cta-books.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.kv-cta-with--books .kv-cta-text-bottom {
    color: #F07B29;
}

@media (hover: hover) and (pointer: fine) {
    .kv-cta-with--books:hover {
        transform: translateY(3px);
        box-shadow: 0 3px 0 #C45E10;
    }
}

/* ---------- パターン3： 医師画像つき ---------- */

.kv-cta-with--teacher {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.kv-cta-with--teacher .kv-cta-top {
    position: relative;
    width: 100%;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background-color: #006EC5;
    border-radius: 102px;
    box-shadow: 0 6px 0 #005293;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kv-cta-with--teacher::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 23px;
    height: 23px;
    background-image: url("../img/lp/h1/cta_icon.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.kv-cta-with--teacher::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 18px;
    width: 73px;
    aspect-ratio: 73 / 82;
    background-image: url("../img/kv-image/cta-teacher.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.kv-bg--gray {
    background: #F4F4F4;
}

.kv-bg--dark-blue {
    background: #0B337D;
}

.kv-bg--dark-blue .kv-eyebrow,
.kv-bg--dark-blue .kv-eyebrow ruby,
.kv-bg--dark-blue .kv-eyebrow ruby rt,
.kv-bg--dark-blue .kv-inner-left h1,
.kv-bg--dark-blue .kv-desc {
    color: #fff;
}

.kv-bg--gradient-blue {
    background: linear-gradient(to bottom, rgba(0, 89, 160, 0.3) 0%, #0059A0 100%);
}

.kv-bg--gradient-blue .kv-eyebrow,
.kv-bg--gradient-blue .kv-eyebrow ruby,
.kv-bg--gradient-blue .kv-eyebrow ruby rt,
.kv-bg--gradient-blue .kv-inner-left h1,
.kv-bg--gradient-blue .kv-desc {
    color: #fff;
}

.kv-bg--gray .kv-cta-bottom {
    color: #006EC5;
}

.kv-bg--dark-blue .kv-cta-bottom,
.kv-bg--gradient-blue .kv-cta-bottom {
    color: #fff;
}

.kv-bg--dark-blue .kv-cta-bottom::before,
.kv-bg--gradient-blue .kv-cta-bottom::before {
    background-image: url("../img/arrow-white.svg");
}

@media (hover: hover) and (pointer: fine) {
    .kv-cta-with--teacher .kv-cta-top:hover {
        transform: translateY(3px);
        box-shadow: 0 3px 0 #005293;
    }
}

.kv-cta-with--teacher .kv-cta-text-top {
    font-size: 16px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    letter-spacing: 0;
}

.kv-cta-with--teacher .kv-cta-text-bottom {
    width: fit-content;
    font-size: 12px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    color: #006EC5;
    background-color: #fff;
    border-radius: 20px;
    padding: 2px 12px;
    line-height: 1.5;
    letter-spacing: 0;
}

/* ---------- SP ---------- */
@media (max-width: 500px) {
    .kv-cta-top--orange {
        padding-left: 76px;
    }

    .kv-cta-top--orange::after {
        width: 64px;
        aspect-ratio: 64 / 72;
    }
}


.kv-cta-bottom {
    position: relative;
    width: fit-content;
    font-size: 15px;
    font-weight: 600;
    color: #006EC5;
    font-family: "Hiragino Sans", sans-serif;
    line-height: 1.87;
    letter-spacing: -0.44px;
    text-align: center;
    padding: 0 27px 0 0;
    margin: 11px 0 0;
    text-decoration: none;
    transition: opacity 0.3s;
}

.kv-cta-bottom::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 15px;
    background-image: url("../img/arrow.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (hover: hover) and (pointer: fine) {
    .kv-cta-bottom:hover {
        opacity: 0.8;
    }
}

.kv-inner-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kv-inner-right img {
    width: 100%;
    max-width: 560px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1100px) {
    .kv-inner-left h1 {
        font-size: clamp(28px, 4vw, 40px);
    }
}

@media (max-width: 960px) {
    .kv-inner {
        flex-direction: column-reverse;
        padding: 40px 24px 56px;
        gap: 32px;
        text-align: center;
    }

    .kv-inner-left {
        align-items: center;
        max-width: 100%;
    }

    .kv-inner-left h1 {
        font-size: 40px;
    }

    .kv-labels {
        justify-content: center;
    }

    .kv-inner-right img {
        max-width: 480px;
    }
}


@media (max-width: 500px) {
    .kv-inner {
        width: calc(100% - 40px);
        padding: 20px 0 27px;
    }

    .kv-text {
        margin: 0 0 8px;
    }

    .kv-eyebrow {
        font-size: 12px;
    }

    .kv-eyebrow ruby {
        font-size: 12px;
    }

    .kv-eyebrow ruby rt {
        font-size: 9px;
    }

    .kv-inner-left h1 {
        font-size: 26px;
    }

    .kv-desc {
        font-size: 12px;
    }

    .kv-labels {
        gap: 10px;
    }

    .kv-labels img {
        width: 88px;
    }

    .kv-cta-top {
        height: 60px;
    }

    .kv-cta-text-top {
        font-size: 15px;
    }

    .kv-cta-top::before {
        right: 14px;
    }

    .kv-cta-top::after {
        width: 64px;
        aspect-ratio: 64 / 72;
    }

    .kv-cta-bottom {
        font-size: 13px;
    }

    .kv-inner-right img {
        max-width: 312px;
        height: auto;
    }
}