@charset 'utf-8';

.detail--03 {
    font-family: "Noto Sans JP";
}

.U9N-mv_text-box_right {
    top: 5vw;
}

/* @media screen and (min-width: 1500px) {
    .U9N-mv_text-box_right {
        top: 5vw;
    }
} */


.U9N-mv_text-box_bottom {
    top: 46vw;
}
.d3-sec02 .U9Nsub-grid_contentsbox .U9Nsub-flex_contentsbox_imgbox>img {
    margin-bottom: 20px;
}
/* .U9Nsub-bg-img {
    top: -12rem;
} */
.d3-sec01 {
    padding-top: 3%;
    margin-bottom: 300px;
}
.U9Nsub-grid_contentsbox {
    padding: 50px 20px;
    gap: 50px;
}
.d3-sec02 .U9Nsub-grid_contentsbox .U9Nsub-flex_contentsbox_imgbox>img {
    max-height: none;
    max-width: 650px;
    width: 100%;
}
.d3-sec02 {
    padding-top: 60px;
}
.U9N-sub_txt small {
    text-align: left;
}

@media screen and (max-width: 656px) {
    .d3-sec01 {
        margin-bottom: 200px;
        padding-top: 10vw;
    }
.U9N-mv_text-box {
    top: 0;
}
.U9N-mv_text-box_right {
    top: -20vw;
}
.U9N-mv_text-box_bottom {
    bottom: 0;
    top: 135vw;
}
.d3-sec02 .U9Nsub-grid_contentsbox .U9Nsub-flex_contentsbox_imgbox>img {
    max-height: none;
    max-width: 315px;
    /* padding: 0 20px; */
}
.U9Nsub-flex_contentsbox_text-box.U9N-flex_right, .U9Nsub-flex_contentsbox_text-box.U9N-flex_left {
    width: 100%;
}
.U9Nsub-bg-img {
    top: 11rem;
}
.detail--03 .U9N-mv_text-box_main h2 {
    font-size: 24px;
    padding: 0 15px;
}
.U9N-mv_text-box_bottom>.U9N-sub_ttl, .U9N-mv_text-box_bottom>.U9N-sub_txt {
    padding: 0 15px;
}
.U9N-mv_text-box_bottom>h2 {
    /* margin: 7rem auto 0 !important; */
}
.U9N-mv_text-box_main .U9N-sub_ttl {
    font-size: 44px;
    margin-bottom: 0;
}
.d3-sec02 .U9Nsub-flex_contentsbox_imgbox {
    margin-bottom: 10px;
}

}
@media screen and (min-width: 430px)  {
    .detail--03 .U9N-mv_text-box_main h2 {
        text-align: center;
        margin-bottom: 0;
        margin-top: 0;
    }

}
@media screen and (max-width: 1024px) and (min-width: 656px) {
    .U9N-mv_text-box_bottom {
        top: 40vw;
    }
    .detail--03 .U9N-mv_text-box_main h2 {
        font-size: 25px;
    }
    .d3-sec02 .U9Nsub-flex_contentsbox_text-box {
        padding-left: 0;
    }
    .d3-sec02 .U9Nsub-flex_contentsbox_text-box {
        width: 100%;
    }
    .U9Nsub-grid_contentsbox {
        gap: 10px;
    }
    .U9N-mv_text-box_right {
        top: -3vw;
    }
    .d3-sec01 {
        margin-bottom: 150px;
    }
}


@media screen and (min-width: 1501px) {
    /* .d3-sec01 {
        padding-top: 10%;
    } */
}


.U9N-mv_text-box_bottom {
    transform: translateY(-30%);
}
.d3-sec01 {
    margin-bottom: 0;
}

@media screen and (min-width: 430px) and (max-width: 1024px) {
    .d3-sec01 {
        margin-top: 90px;
    }
}

@media screen and (max-width: 430px) {
    .detail--03 .U9N-mv_text-box_main h2.U9N-sub_tag02 {
        margin-top: 0;
    }
}

.U9Nsub-mv_contentsbox {
    position: initial;
    padding-top: 0px;
    margin-top: 0px;
}

.U9Nsub-mv_contentsbox:before {
    display: none;
}

.U9Nsub-bg-img {
    position: initial;
}

.U9N-sub_ttl {
    font-size: 34px;
}

.U9N-sub_ttl {
    background: -webkit-linear-gradient(0deg, #419DFF, #85E2D2);
    color: #419DFF;
    display: inline-block;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

@media screen and (max-width: 656px) {
    .U9N-mv_text-box_bottom {
        transform: translateY(0%);
    }
    
}