@charset "utf-8";
/* 
サイト固有の記述
*/

.gallery-photo .gallery-slider .swiper-slide p img {
	object-fit: contain !important;
}
	
/* 全体（色系）*/
body {

    #menu-header-navi li.menu-item-has-children:hover ul.sub-menu .non_event a {
        pointer-events: none;
    }

    .gnav .gnav__inr .header-drawer-nav li.menu-item-has-children > .sub-menu .non_event a {
        pointer-events: none !important;
    }

}

/* パソコン以上*/
@media screen and (min-width: 1281px) {
    body {
        header {
            ul.links_sns {
                gap: 0 25px;
            }
        }

        .tp_sec01 {
            height: 350px;
            padding: 200px 0;
        }

        .tp_sec02 {
            .layout_b .txtbox {
                margin-left: 80px;
            }

            .layout_a .txtbox {
                margin-right: 80px;
            }

            .layout_b .imgbox,
            .layout_a .imgbox {
                width: 52%;
            }

            .unkmenu {
                margin: 0 auto;
            }
        }

        .tp_sec04 {
            .layout_b .txtbox {
                margin-left: 80px;
            }

            .layout_b .imgbox {
                width: 52%;
            }
        }

        &.operating-regulations {
            .sec01 {
                padding: 0 0 50px;
            }
        }

        .add_process_contact {
            .infobox {
                padding: 0 5%;
            }
        }

        .add_contact {
            .ttl01 {
                margin-bottom: 0;
            }
        }
    }
}

/* モニター以上*/
@media screen and (min-width: 1860px) {
    body {
    }
}

/* タブレット*/
@media screen and (max-width: 1024px) {
    body {
        .unkmenu {
            margin: 0 auto;
        }

        .add_process_contact {
            .contents_wrap {
                padding: 0;
            }
        }

        .footerUpper .f_menu {
            display: none;
        }

        &.operating-regulations {
            .sec01 {
                padding: 0 0 30px;
            }

            .sub_images_ul .li {
                width: calc(100% / 2 - 15px);
            }
        }

        &.training {
            .box .sub_images_ul .li {
                width: calc(100% / 2 - 15px);
            }
        }
    }
}

/* 携帯*/
@media screen and (max-width: 767px) {
    body {
        .tp_sec03 {
            background-image: url(../images/home/sec03/sec03_bg01_sp.jpg);
        }

        .add_contact {
            .ttl01 {
                margin-bottom: 40px;
            }

            .ttl01:after {
                left: 45%;
                max-width: 35px;
            }
        }

        .add_contact .whtbox .box .flexbox h2 {
            text-align: center;
        }

        main section .page_title {
            margin-right: 20px;
        }

        &.operating-regulations {
            .sec01 {
                padding: 0 0 30px;
            }

            .sub_images_ul .li {
                width: 100%;
            }
        }

        &.training {
            .box .sub_images_ul .li {
                width: 100%;
            }
        }
    }
}
