@charset "UTF-8";

/* MVキャッチ調整(2025/12/17) */
header#pattern1.width_full h1, header#pattern2.width_full h1, header#pattern4.width_full h1 {
    text-shadow: 1px 0 1px var(--i_sub_color), 1px 1px 1px var(--i_sub_color), 0 1px 1px var(--i_sub_color), -1px 1px 1px var(--i_sub_color), -1px 0 1px var(--i_sub_color), -1px -1px 1px var(--i_sub_color), 0 -1px 1px var(--i_sub_color), 1px -1px 1px var(--i_sub_color);
}
#mv .mv_textimg {
    top: 5vh;
}
#mv .mv_textimg img {
    height: 25vh;
    min-height: initial;
}
@media screen and (min-width: 901px) {
    #mv .mv_textimg img {
        min-height: 200px;
    }
}
@media screen and (min-height: 701px) and (max-width: 768px) {
    #mv .mv_textimg {
        top: 5vh;
    }
    #mv .mv_textimg img {
        height: 20vh;
    }
}
@media screen and (max-width: 650px) {
    #mv .mv_textimg img {
        height: 16vh;
    }
}

/* 事業紹介調整(2025/12/17) */
#business01 + .composite_box01.block_images_11 .inner_item_img img {
    height: 350px !important;
}
@media only screen and (max-width: 900px) {
    #business01 + .composite_box01.block_images_11 .wrapper_item {
        flex-direction: column;
    }
    #business01 + .composite_box01.block_images_11 .inner_item {
        width: 100% !important;
        margin-bottom: 30px;
        margin-left: 0;
    }
    #business01 + .composite_box01.block_images_11 .inner_item:nth-of-type(3):nth-last-of-type(1) {
        margin-left: 0 !important;
    }
}

/* マジ蚊シート画像調整(2025/12/17) */
#c2 + .composite_box01.block_images_8 .inner_item_img img {
    object-fit: contain;
    max-height: 400px;
}

/* MVキャッチ画像調整(2025/12/22) */
@media only screen and (max-width: 1023px) {
    #mv .mv_textimg:has(.mv_textimg_pc.pos_l), #mv .mv_textimg:has(.mv_textimg_pc.pos_c), #mv .mv_textimg:has(.mv_textimg_pc.pos_r) {
        align-items: flex-end;
    }
    #mv .mv_textimg img {
        height: 30vw;
    }
}
@media only screen and (max-width: 900px) {
    #mv .mv_textimg:has(.mv_textimg_pc.pos_rt), #mv .mv_textimg:has(.mv_textimg_pc.pos_r), #mv .mv_textimg:has(.mv_textimg_pc.pos_rb) {
        justify-content: flex-start;
    }
    #mv .mv_textimg {
        top: 3vh;
        right: 0;
        left: 1%;
        width: 100%;
    }
}
@media only screen and (max-width: 768px) {
    #mv .mv_textimg {
        bottom: -50px;
    }
}