@charset "UTF-8";

/* ===================================================
   KV セクション（2025年7月 Ver2）
   Figma: node-id 2659-876
=================================================== */

.kv2 {
    background-color: #f4f4f4;
    position: relative;
    overflow: hidden;
}

.kv2_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1176px;
    margin: 0 auto;
    padding: 51px 48px 51px;
    gap: 40px;
    min-height: 580px;
}

/* ----------------------
   左カラム
---------------------- */
.kv2_left {
    flex: 0 0 528px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* テキストグループ（タグライン〜バッジ） */
.kv2_text_group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* タグライン */
.kv2_tagline {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.6;
    color: #0a3e8b;
    position: relative;
}

.kv2_tagline ruby{
    text-align: center;
    color: #0a3e8b;
}

.kv2_tagline ruby rt {
    font-size: 9px;
    letter-spacing: 0.26px;
    text-align: center;
    color: #0a3e8b;
}

/* メイン見出し */
.kv2_heading {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W7", sans-serif;
    font-weight: 700;
    font-size: 46px;
    line-height: 1.3;
    color: #0a3e8b;
    margin: 0;
    padding: 0;
}

/* 説明文 */
.kv2_desc {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 2;
    color: #0a3e8b;
}

/* バッジ3点 */
.kv2_badges {
    display: flex;
    gap: 10px;
    align-items: center;
}

.kv2_badges img {
    height: 110px;
    width: auto;
}

/* ----------------------
   CTAグループ
---------------------- */
.kv2_cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 380px;
}

/* ガイドテキスト */
.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;
}

/* SVG縦線を回転させて斜め線に */
.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: 380px;
    height: 64px;
    background-color: #ff8000;
    border-radius: 102px;
    text-decoration: none;
    box-shadow: inset 0px -5px 0px 0px rgba(0, 0, 0, 0.2);
    /* overflow: hidden; */
    flex-shrink: 0;
}

.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;
}

.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: 10px;
    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;
}

.kv2_link:hover {
    opacity: 0.7;
}

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

/* ----------------------
   右カラム（ヒーロー画像）
---------------------- */
.kv2_right {
    flex: 0 0 570px;
    position: relative;
    align-self: center;
}

.kv2_hero_img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================================
   レスポンシブ
=================================================== */

/* タブレット */
@media screen and (max-width: 1080px) {
    .kv2_inner {
        padding: 40px 24px;
        gap: 24px;
    }

    .kv2_left {
        flex: 1;
        min-width: 0;
    }

    .kv2_right {
        flex: 0 0 45%;
    }

    .kv2_heading {
        font-size: clamp(28px, 3.8vw, 46px);
    }
}

/* モバイル（Figma: 2661-2983 / 390px） */
@media screen and (max-width: 768px) {
    .kv2 {
        overflow: hidden;
    }

    .kv2_inner {
        flex-direction: column;
        align-items: center;
        padding: 16px 0 32px;
        min-height: auto;
        gap: 0;
    }

    /* ヒーロー画像：上部に配置 */
    .kv2_right {
        flex: none;
        width: 100%;
        order: -1;
        padding: 0 40px;
        box-sizing: border-box;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .kv2_hero_img {
        width: 100%;
        height: auto;
        max-width: 480px;
    }

    /* 左カラム：中央揃え */
    .kv2_left {
        flex: none;
        width: 100%;
        gap: 19.2px;
        align-items: center;
        padding: 24px 20px 0;
        box-sizing: border-box;
    }

    /* テキストグループ */
    .kv2_text_group {
        gap: 12.8px;
        align-items: center;
        width: 100%;
    }

    .kv2_tagline {
        font-size: 12px;
        text-align: center;
    }

    .kv2_heading {
        font-size: 28px;
        text-align: center;
    }

    .kv2_desc {
        font-size: 12px;
        text-align: center;
    }

    /* バッジ */
    .kv2_badges {
        gap: 7.3px;
        justify-content: center;
    }

    .kv2_badges img {
        height: 80px;
        width: auto;
    }

    /* CTAグループ */
    .kv2_cta {
        width: 304px;
        gap: 12.8px;
    }

    /* ガイドテキスト */
    .kv2_guide {
        gap: 8px;
    }

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

    .kv2_guide_deco_wrap {
        width: 8px;
        height: 13.856px;
    }

    .kv2_guide_deco {
        width: 1.6px;
        height: 16px;
    }

    /* ボタン */
    .kv2_btn {
        width: 304px;
        height: 64px;
        border-radius: 81.6px;
        box-shadow: inset 0px -4px 0px 0px rgba(0, 0, 0, 0.2);
    }

    .kv2_btn_books {
        padding-left: 7.2px;
    }

    .kv2_btn_book_sm {
        height: 45.7px;
        top: -3.4px;
        left: 0;
    }

    .kv2_btn_book_a5 {
        height: 51.6px;
        top: -8.7px;
        right: 19px;
    }

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

    .kv2_btn_main {
        font-size: 15px;
        line-height: 22.4px;
        letter-spacing: 0.288px;
    }

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

    .kv2_btn_arrow {
        right: 12.8px;
        width: 12.8px;
        height: 12.8px;
    }

    /* 無料相談リンク */
    .kv2_link {
        font-size: 12px;
        line-height: 22.4px;
        letter-spacing: -0.35px;
        gap: 5.6px;
    }
}
