.box_sp {
    display: none;
}

.box_pc {
    display: block;
}

/* responsive */
@media screen and (max-height: 950px) {
    #idx_works .idx_works_pin {
        padding-top: 8.421vh;
    }

    #idx_works .works_title {
        font-size: 2.947vh;
    }

    #idx_works .works_cate li {
        font-size: 1.579vh;
        margin: 0 10px 1.053vh 0;
    }
}

@media screen and (max-height: 840px) {
    #idx_mainvisual .mainvisual_wrap {
        height: 580px;
    }

    #idx_mainvisual .mainvisual_video {
        width: 100%;
        max-width: 1135px;
    }

    .scroll-area {
        display: none;
    }
}

@media screen and (max-width: 1500px) {
    #header #gnavi {
        margin-right: 0;
    }

    #header.header_fixed .menu {
        max-width: 870px;
    }

    .h3title {
        font-size: 11.333vw;
    }

    /*----- idx_mainvisual -----*/
    #idx_mainvisual {
        /*        height: auto;*/
        /*        min-height: inherit;*/
        /*        padding-top: 10.667vw;*/
    }

    #idx_mainvisual .mainvisual_wrap {
        /*        height: 37.333vw;*/
    }

    #idx_mainvisual .mainvisual_video {
        /*        width: 73.133vw;*/
    }

    #idx_mainvisual h2 {
        /*
        padding: 40px 0;
        position: relative;
        bottom: auto;
        left: auto;
        transform: translateX(0);
*/
    }

    /*----- idx_about -----*/
    #idx_about {
        padding-top: 14vw;
    }

    #idx_about .idx_about_component {
        padding-left: 3%;
    }

    #idx_about .h3title {
        margin-bottom: 5.467vw;
    }

    #idx_about .idx_about_component h4 {
        font-size: 2.133vw;
        margin-bottom: 4.867vw;
    }

    #idx_about .idx_about_component .idx_about_txt {
        margin-bottom: 5.667vw;
    }

    /*----- idx_service -----*/
    #idx_service {
        padding-top: 14vw;
    }

    #idx_service .idx_service_component {
        padding-right: 3%;
    }

    #idx_service .h3title {
        margin-bottom: 9.733vw;
        margin-left: -2.067vw;
    }

    #idx_service .idx_service_component h4 {
        font-size: 2.133vw;
        margin-bottom: 4.867vw;
    }

    #idx_service .idx_service_component .idx_service_txt {
        margin-bottom: 5.667vw;
    }

    /*----- idx_works -----*/
    #idx_works {
        padding: 14.6vw 0 180px;
    }

    /*----- idx_recruit -----*/
    #idx_recruit .idx_recruit_frame h4 {
        margin-bottom: 1.733vw;
    }

    #idx_recruit .idx_recruit_frame .idx_recruit_txt {
        margin-bottom: 3.867vw;
    }

    #idx_recruit .image02 {
        margin-top: -6vw;
    }
}

@media screen and (max-width: 1350px) {
    #header {
        padding-left: 30px;
    }

    #header #top .h_logo {
        width: 220px;
    }

    #header.header_fixed {
        padding-left: 30px;
    }

    /*----- idx_mainvisual -----*/
    #idx_mainvisual {
        min-height: 62.22vw;
    }

    #idx_mainvisual .mainvisual_wrap {
        height: 42.96vw;
    }

    #idx_mainvisual .mainvisual_video {
        width: 84.07vw;
    }

    #idx_mainvisual .mainvisual_wrap::before {
        background-size: 1589px 100%;
        width: calc(100vw + 1589px);
        height: 100px;
        animation-name: mvsloganright-layer01;
    }

    #idx_mainvisual h2 {
        font-size: 1.93vw;
    }

    /*----- idx_recruit -----*/
    #idx_about .idx_about_component h4 {
        font-size: 26px;
    }

    /*----- idx_recruit -----*/
    #idx_service .idx_service_component h4 {
        font-size: 26px;
    }

    /*----- Footer -----*/
    #footer .box_contact .box_contact_title {
        font-size: 8.889vw;
    }
}

@media screen and (min-width: 1025px) {
    a[href^="tel:"] {
        pointer-events: none;
    }

    .btn_primary a:hover {
        color: var(--white-color);
        background: var(--green-color);
        border-color: var(--green-color);
    }

    .btn_primary a:hover .cls-1 {
        fill: var(--white-color);
    }

    .btn_primary a:hover .cls-2 {
        stroke: var(--white-color);
    }

    #header #gnavi li a:hover {
        color: var(--green-color);
    }

    #header #gnavi li a:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left
    }

    #header .h_btncontact a:hover {
        opacity: .7;
    }

    #idx_works .idx_works_item:hover a::before,
    #idx_works .idx_works_item:hover .works_image .catcher_txt {
        opacity: 1;
    }

    #idx_works .idx_works_item:hover .works_image img {
        transform: scale(1.08);
    }

    #idx_info .idx_info_block a:hover .idx_info_bg img {
        transform: scale(1.08);
    }

    #idx_news .idx_news_list dl:hover {
        box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.15);
    }

    #idx_news .idx_news_list dl:hover dd a {
        color: var(--green-color);
    }

    #idx_news .idx_news_list dl:hover dd a span {
        background-size: 100% 1px;
        background-position: left bottom;
    }

    #footer .footer_link li a:hover {
        color: var(--green-color);
    }

    #footer .footer_link li a:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left
    }
}

@media screen and (max-width: 1024px) {
    body {
        font-size: 14px;
    }

    .btn_primary {
        height: 55px;
    }

    #header {
        height: 60px;
        padding: 0 3%;
        top: 0;
    }

    #header #top a {
        width: 210px;
    }

    /* ========== */
    #toggle-menu {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.8);
        position: fixed;
        top: 7px;
        right: 3%;
        z-index: 99999;
        transition: all .3s ease;
        overflow: hidden;
        cursor: pointer;
        z-index: 9999;
    }

    #header .hamburger {
        display: block;
        width: 28px;
        height: 21px;
        transform: rotate(0deg);
        position: relative;
        top: 1px;
        transition: .5s ease-in-out;
    }

    .hamburger span {
        display: block;
        height: 2px;
        width: 100%;
        background: #fff;
        opacity: 1;
        position: absolute;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }

    .hamburger span:nth-child(1) {
        top: 0px;
    }

    .hamburger span:nth-child(2),
    .hamburger span:nth-child(3) {
        top: 9px;
    }

    .hamburger span:nth-child(4) {
        top: 18px;
    }

    .hamburger.active span:nth-child(1) {
        top: 9px;
        width: 0%;
        left: 50%;
    }

    .hamburger.active span:nth-child(2) {
        transform: rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .hamburger.active span:nth-child(4) {
        top: 9px;
        width: 0%;
        left: 50%;
    }

    #overlay {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        width: 100%;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        pointer-events: none;
        transition: all 2s cubic-bezier(0.22, 1, 0.36, 1);
    }

    #overlay.opened {
        background: rgba(0, 0, 0, 0.5);
        pointer-events: auto;
    }

    #header .menu {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1001;
        flex-direction: column;
        justify-content: flex-start;
        width: 78vw;
        max-width: 400px;
        height: 100vh;
        background: var(--white-color);
        padding: 70px 0 50px;
        margin: 0 0;
        transition: all .8s cubic-bezier(0.77, 0, 0.175, 1);
        transform: translateX(100%);
        overflow: auto;
    }

    #header .menu.opened {
        transform: translateX(0);
    }

    #header #gnavi {
        flex-direction: column;
        margin: 0 0 25px;
    }

    #header #gnavi li {
        text-align: center;
        margin-bottom: 25px;
    }

    #header #gnavi li:first-child {
        display: block;
    }

    #header #gnavi li:last-child {
        margin-bottom: 0;
    }

    #header #gnavi li a {
        font-size: 20px;
        color: var(--main-color);
    }

    #header .h_btncontact a {
        font-size: 20px;
        color: var(--main-color);
        background: none;
    }

    #header .h_btncontact a::before {
        display: none;
    }

    /*----- idx_mainvisual -----*/
    #idx_mainvisual {
        height: auto;
        min-height: inherit;
        display: block;
        padding: 75px 0 55px;
    }

    #idx_mainvisual .mainvisual_wrap::before {
        background-size: 1271px 100%;
        width: calc(100vw + 1271px);
        height: 80px;
        animation-name: mvsloganright-sp;
    }

    #idx_mainvisual h2 {
        font-size: 22px;
        color: var(--main-color);
        margin-top: 35px;
        position: relative;
        top: auto;
        left: auto;
        transform: translate(0, 0);
    }

    /*----- idx_about -----*/
    #idx_about {
        padding-bottom: 75px;
    }

    #idx_about .idx_about_wrap {
        flex-direction: column;
    }

    #idx_about .idx_about_component {
        padding: 0 3%;
    }

    #idx_about .h3title {
        margin-bottom: 30px;
    }

    #idx_about .idx_about_component h4 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    #idx_about .idx_about_component .idx_about_txt {
        max-width: 100%;
        font-size: 14px;
        margin-bottom: 35px;
    }

    #idx_about .idx_about_image {
        width: 80.247vw;
        padding-top: 0;
        margin: 55px auto 0;
    }

    /*----- idx_service -----*/
    #idx_service .idx_service_wrap {
        flex-direction: column;
    }

    #idx_service .idx_service_component {
        max-width: 100%;
        padding: 0 3%;
        margin-left: 0;
    }

    #idx_service .h3title {
        margin-bottom: 30px;
        margin-left: 0;
    }

    #idx_service .idx_service_component h4 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    #idx_service .idx_service_component .idx_service_txt {
        max-width: 100%;
        font-size: 14px;
        margin-bottom: 35px;
    }

    #idx_service .idx_service_image {
        width: 80.247vw;
        padding-top: 0;
        margin: 55px auto 0;
    }

    /*----- idx_works -----*/
    #idx_works {
        padding-bottom: 65px;
    }

    #idx_works .idx_works_pin {
        height: auto;
        padding-top: 45px;
    }

    #idx_works .idx_works_list {
        width: auto;
        flex-wrap: nowrap;
        margin-bottom: 45px;
    }

    #idx_works .idx_works_item {
        width: 100%;
        margin: 0 auto 45px;
    }

    #idx_works .idx_works_item:last-child {
        margin-bottom: 0;
    }

    #idx_works .works_image {
        height: 58.455vw;
        margin-bottom: 15px;
    }

    #idx_works .works_title {
        font-size: 22px;
        line-height: 1.8;
    }

    #idx_works .works_cate li {
        font-size: 14px;
    }

    /*----- idx_info -----*/
    #idx_info {
        background: var(--white-color) !important;
        padding: 55px 3% 0;
    }

    #idx_info .idx_info_block a {
        padding: 0 20px 20px;
    }

    #idx_info .idx_info_block .idx_info_frame .h3title {
        font-size: 40px;
    }

    /*----- idx_recruit -----*/
    #idx_recruit {
        padding: 75px 0 55px;
    }

    #idx_recruit .idx_recruit_wrap {
        width: 100%;
        max-width: 768px;
        flex-direction: column-reverse;
        margin: 0 auto 45px;
    }

    #idx_recruit .idx_recruit_frame {
        max-width: 100%;
        padding: 0 0;
        margin: 35px 0 0;
    }

    #idx_recruit .idx_recruit_frame .h3title {
        font-size: 40px;
        text-align: center;
    }

    #idx_recruit .idx_recruit_frame h4 {
        font-size: 20px;
        text-align: center;
        margin-bottom: 15px;
    }

    #idx_recruit .idx_recruit_frame .idx_recruit_txt {
        font-size: 14px;
        margin-bottom: 25px;
    }

    #idx_recruit .idx_recruit_frame .btn_primary {
        margin: 0 auto;
    }

    #idx_recruit .idx_recruit_image {
        width: 100%;
        max-width: 100%;
        height: 55.012vw;
        max-height: 450px;
    }

    #idx_recruit .idx_recruit_image .image01 {
        width: 100%;
        height: 100%;
    }

    #idx_recruit .idx_recruit_image .image01 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #idx_recruit .image02 {
        margin: 0 0;
    }

    /*----- idx_news -----*/
    #idx_news {
        padding: 50px 0 55px;
    }

    #idx_news .h3title {
        font-size: 40px;
        margin-bottom: 45px;
    }

    #idx_news .idx_news_list {
        margin-bottom: 45px;
    }

    #idx_news .idx_news_list dl {
        padding: 0 20px;
    }

    #idx_news .idx_news_list dl dd {
        font-size: 16px;
    }

    /*----- Footer -----*/
    #footer .box_contact a {
        min-height: inherit;
        flex-direction: column;
        padding: 45px 3% 55px;
    }

    #footer .box_contact a::before {
        position: absolute;
        content: '';
        width: 100%;
        height: 100%;
        background: rgba(26, 26, 26, 0.7);
        top: 0;
        left: 0;
    }

    #footer .box_contact .box_contact_frame {
        width: 100%;
        min-height: inherit;
        display: block;
        text-align: center;
        background: none;
        padding: 0 0;
        margin-bottom: 35px;
        position: relative;
        z-index: 1;
    }

    #footer .box_contact .box_contact_title {
        font-size: 42px;
        margin: 0 0 15px;
    }

    #footer .box_contact .box_contact_txt {
        max-width: 100%;
    }

    #footer .box_contact .box_contact_btn {
        width: 160px;
        height: 160px;
        font-size: 16px;
        opacity: 1;
        position: relative;
        top: auto;
        left: auto;
    }

    #footer .footer_connect li {
        font-size: 16px;
        padding: 25px 5px;
    }

    #footer .footer_connect li .connect_subtitle {
        margin-bottom: 8px;
    }

    #footer .box_connect .footer_location {
        padding: 50px 5% 40px;
    }

    #footer .box_connect .footer_location::before {
        background-size: 1271px 100%;
        width: calc(100vw + 1271px);
        height: 80px;
        animation-name: sloganright-sp;
    }

    #footer .footer_link {
        display: none;
    }
}

@media screen and (max-width: 992px) {}

@media screen and (max-width: 768px) {

    #wrapper,
    #header,
    #main,
    #footer,
    .pages .pages_inner {
        width: 100% !important;
        min-width: inherit !important;
    }

    .box_sp {
        display: block;
    }

    .box_pc {
        display: none;
    }

    /*----- idx_about -----*/
    #idx_about .idx_about_component h4 br {
        display: none;
    }

    /*----- idx_info -----*/
    #idx_info {
        flex-direction: column;
    }

    #idx_info .idx_info_block {
        width: 100%;
        margin: 0 0 30px;
    }

    #idx_info .idx_info_block:last-child {
        margin-bottom: 0;
    }

    /*----- idx_news -----*/
    #idx_news .idx_news_list dl {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    #idx_news .idx_news_list dl dt {
        max-width: 100%;
        padding-top: 0;
        margin: 0 0 10px;
    }

    #idx_news .idx_news_list dl dd {
        flex: none;
    }

    #idx_news .idx_news_list dl dd a {
        -webkit-line-clamp: 2;
    }

    /*----- Footer -----*/
    #footer .footer_connect {
        flex-direction: column;
        align-items: center;
    }

    #footer .footer_connect li {
        width: 94%;
        border-right: 0;
    }
}

@media screen and (max-width: 576px) {
    #idx_mainvisual .mainvisual_wrap::before {
        background-size: 795px 100%;
        width: calc(100vw + 795px);
        height: 50px;
        animation-name: mvsloganright-smallsp;
    }
}

@media screen and (max-width: 490px) {}

@media screen and (max-width: 390px) {}

@media screen and (max-width: 320px) {}
