@charset "UTF-8";

/*--- アンカーリンクレイアウト変更(2025/08/19) ---*/
#links + .composite_box01 .content_wrapper {
    max-width: 900px !important;
}
#links + .composite_box01 .block_header_4 .h {
    font-size: 1.9rem;
}
#links + .composite_box01 .inner_item:nth-of-type(5n-2) .inner_item_txt {
    background: var(--i_main_color);
    justify-content: flex-end;
}
#links + .composite_box01 .inner_item_img {
    background: var(--i_main_color);
    padding-bottom: 0.5rem;
}
#links + .composite_box01 .inner_item_txt .heading:last-child {
    border-bottom: 5px solid #1C1C1C;
    color: var(--i_txt_color);
}
#links + .composite_box01 .inner_item_img img {
    width: 60% !important;
}
@media screen and (max-width: 1160px) {
    #links + .composite_box01.block_images_15 .wrapper_item {
        display: flex;
    }
    #links + .composite_box01.block_images_15 .inner_item, .composite_box01.block_images_15 .inner_item>a {
        width: 31% !important;
        flex-direction: column;
    }
    #links + .composite_box01.block_images_15 .inner_item {
        margin: 0 !important;
    }
    #links + .composite_box01.block_images_15 .inner_item>a:nth-last-child(2),
    #links + .composite_box01.block_images_15 .inner_item_img,
    #links + .composite_box01.block_images_15 .inner_item_txt {
        width: 100% !important;
    }
    #links + .composite_box01 .inner_item:nth-of-type(2):nth-last-of-type(2),
    #links + .composite_box01 .inner_item:nth-of-type(3):nth-last-of-type(1) {
        margin-left: 3.5% !important;
    }
}
@media only screen and (max-width: 700px) {
    #links + .composite_box01 .block_header_4 .h {
        font-size: clamp(1.4rem,3vw,1.8rem) !important;
    }
}