
@charset "UTF-8";

/*番号のスタイル変更*/
#reason_num + section .heading.block_header_7 p{
    background: transparent;
    color: var(--i_main_color);
    font-size: clamp(30px, 5vw, 52px);
    border-bottom: 6px solid var(--i_main_color);
    border-radius: 0;
    font-weight: bold;
}
/*線の太さ変更*/
#reason_border + div hr{
    border-bottom: 2px solid var(--i_border_color, rgba(125,125,125,1));
}
/*デザイン調整*/
@media screen and (max-width: 900px){
    #reason_item + section .wrapper_item{
        padding-bottom: 0;
        display: flex;
        justify-content: center;
    }
    #reason_item + section .inner_item_img{
        max-width: 25%!important;
        margin-right: 5%;
    }
    #reason_item + section .inner_item_img img{
        object-fit: cover;
        aspect-ratio: 1/1;
    }
    #reason_item + section .inner_item_txt{
        max-width: 70%!important;
    }
}
@media screen and (max-width: 450px){
    #reason_item + section .wrapper_item{
        display: block;
    }
    #reason_item + section .inner_item_img{
        max-width: none!important;
        margin-right: 0;
    }
    #reason_item + section .inner_item_img img{
        object-fit: contain;
        aspect-ratio: 0;
    }
    #reason_item + section .inner_item_txt{
        max-width: none!important;
    }
}


/*レイアウト調整*/
.heading.block_header_7 .h {
    font-size: 2.5rem;
    font-weight: 600;
}

@media screen and (max-width: 900px) {
#reason_seo + section .inner_item_txt p {
    text-align: left;
}

#reason_num + section .heading.block_header_7 {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}

#reason_num + section .heading.block_header_7 p {
    width: 100%;
    margin-bottom: 2vw;
}

#reason_num + section .heading.block_header_7 .h {
    font-size: clamp(19px, 5vw, 30px);
}

#reason_num + section .heading.block_header_7 .h:nth-last-child(2):nth-child(1) {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    text-align: center;
}
}