/* img order fix to select text */
.feature_text_box {
  position: relative;
  z-index: 3;
}

.fv2_img_container {
  z-index: 0;
}

/* Make image containers non-interactive fix to select text*/
.feature_img_container,
.feature_img_bg {
  pointer-events: none;
}

.feature_sec {
    padding: 35px 0 40px;
    position: relative;
    overflow: hidden;
}
.feature_sec_bg {
    background-color: #171717;
}
.feature_sec .section_inner {
    position: static;
}
.feature_container {
    display: flex;
    justify-content: space-between;
    padding: 15px 0 35px;
}
.feature_container.reverce {
    flex-direction: row-reverse;
    justify-content: right;
}
.feature_text_box {
    max-width: 565px;
    width: 48%;
}
.feature_main_title {
    font-family: "Oswald", sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #FE0000;
    margin-bottom: 25px;
}
.feature_main_title span {
    font-size: 48px;
}
.feature_sub_title {
    font-family: "Oswald", sans-serif;
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}
.feature_text {
    font-size: 18px;
    color: #fff;
    margin-bottom: 30px;
}

.rk_text_md p{
    font-size: 18px;
    color: #fff;
    margin-bottom: 30px;
}


.feature_btn_container {
    display: flex;
    gap: 30px;
}
.feature_btn {
    max-width: 200px;
    width: 45%;
}
.feature_img_container {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    max-width: 1180px;
    margin: auto;
}
.reverce .feature_img_bg {
    right: unset;
    left: 0;
}
.feature_img_bg {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 520px;
    /* max-width: 520px;
    width: 40%; */
    height: 100%;
    z-index: 1;
}
.feature_img_bg img {
    height: 100%;
}
.feature_img {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 55px;
    z-index: 2;
    display: flex;
    align-items: center;
}
.reverce .feature_img {
    right: unset;
    left: 55px;
}
.feature_img img {
    width: 420px;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
}
.feature_sec .more_red_btn_link,
.feature_sec .more_white_btn_link {
    position: relative;
    z-index: 2;
}


@media only screen and (max-width: 1250px) {
    .feature_img_container {
        right: 20px;
    }
}
@media only screen and (max-width: 980px) {
    .feature_text_box {
        width: 60%;
    }
    .feature_img {
        right: 35px;

    }
    .feature_img img {
        width: 29.17vw;
        
    }
    .feature_img_bg {
        width: 36.11vw;
        aspect-ratio: 40 / 47;
        margin: auto;
        display: flex;
    }
    .feature_img_bg img {
        height: unset;
        aspect-ratio: 40 / 47;
        width: 36.11vw;
        margin: auto;
    }

}
@media only screen and (max-width: 680px) {
    .feature_sec {
        padding: 25px 0;
    }
    .feature_container {
        flex-direction: column-reverse;
        gap: 30px;
        padding: 0 0 30px;
    }
    .feature_btn_container {
        flex-direction: column;
        gap: 20px;
    }
    .feature_btn {
        width: 100%;
        margin: auto;
    }
    .feature_text_box {
        max-width: unset;
        width: 100%;
    }
    .reverce .feature_text_box {
        padding-top: 90vw;
    }
    .feature_img_container {
        position: absolute;
        padding: 17.94vw 0;
        width: calc(100% - 40px);
        right: 0;
        left: 0;
        margin: auto;
        bottom: unset;
    }
    .reverce .feature_img_container {
        padding-top: 12.82vw;
        padding-bottom: 8.46vw;
    }
    .reverce .feature_img {
        left: unset;
    }
    .feature_img {
        position: relative;
        right: unset;
        left: unset;
        bottom: unset;
        justify-content: center;
    }
    .feature_img img {
        width: 76.5%;
    }
    .feature_img_bg {
        width: 100%;
    }
    .feature_img_bg img {
        height: 100%;
        width: 100%;
    }

}

@media only screen and (min-width: 980px) {
    .feature_sec_bg {
    min-height: 500px; /* デスクトップモードでは黒い背景が画像全体を覆うようにしてください。 */
    } 