.box_sp {
    display: none;
}

.box_pc {
    display: block;
}

/* responsive */
@media screen and (max-width: 1500px) {

    #header,
    #idx_recruit {
        padding-left: 3%;
    }

    #header {
        height: 100px;
    }

    #header .menu {
        padding-right: 13.87vw;
    }

    #header .h_contact {
        width: 120px;
        height: 120px;
    }

    #main {
        padding-top: 100px;
    }

    /*----- idx_mainvisual -----*/
    #idx_mainvisual {
        padding: 0 3%;
    }

    /*----- idx_about -----*/
    #idx_about .idx_about_gallery .gallery_item:nth-child(1)::before {
        left: 3.07vw;
    }

    #idx_about .idx_about_gallery .gallery_item:nth-child(2)::before {
        left: -0.67vw;
    }

    /*----- idx_service -----*/
    #idx_service .idx_service_wrap {
        padding-right: 3%;
    }

    #idx_service .idx_service_component {
        width: 100%;
        flex: 1;
    }

    /*----- idx_case -----*/
    #idx_case::before {
        left: 3%;
    }

    #idx_case .idx_case_headline,
    #idx_case .idx_case_slider {
        padding: 0 3% 0 6%;
    }

    #idx_case .idx_case_headline {
        gap: 6.67vw;
    }

    .case_decor1 {
        left: 20px;
    }

    /*----- idx_info -----*/
    #idx_info .idx_info_list li a {
        gap: 3.33vw;
    }

    /*----- idx_recruit -----*/
    #idx_recruit .idx_recruit_frame {
        padding-right: 6.67vw;
    }

    .recruit_decor02 {
        bottom: -0.8vw;
        right: -14vw;
    }
}

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

    /*----- idx_mainvisual -----*/
    #idx_mainvisual h2 {
        font-size: 3.43vw;
    }

    /*----- idx_about -----*/
    #idx_about .idx_about_gallery {
        padding: 0 3%;
    }

    /*----- idx_service -----*/
    #idx_service::before {
        background-size: auto 13.5vw;
        height: 13.5vw;
        top: -12.14vw;
    }

    /*----- idx_recruit -----*/
    #idx_recruit::after {
        background-size: auto 13.5vw;
        height: 13.5vw;
        bottom: -11.29vw;
    }

    #idx_recruit .idx_recruit_title {
        font-size: 3.43vw;
    }

    #idx_recruit .idx_recruit_photo {
        height: 46vw;
    }
}

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

    /*----- header -----*/
    #header {
        height: 60px;
    }

    #header #toggle-menu {
        width: 80px;
        height: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-bottom-left-radius: 10px;
        background: var(--blue-color);
        color: var(--white-color);
        padding-top: 4px;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 9999;
        transition: all .3s ease;
        overflow: hidden;
        cursor: pointer;
    }

    #header #toggle-menu .txt {
        font-weight: 500;
        margin: 0 0;
        transition: all .3s ease;
    }

    #header #toggle-menu .txt span {
        letter-spacing: 0.1em;
    }

    #header #toggle-menu .txt .close_txt {
        display: none;
    }

    #header #toggle-menu.active .txt .menu_txt {
        display: none;
    }

    #header #toggle-menu.active .txt .close_txt {
        display: block;
    }

    #header .hamburger {
        width: 48px;
        height: 22px;
        display: block;
        margin-bottom: 8px;
        position: relative;
    }

    .hamburger span {
        display: block;
        height: 2px;
        width: 100%;
        background: var(--white-color);
        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: 10px;
    }

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

    .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%;
    }

    /* ========== */
    #header .menu {
        width: 100%;
        height: calc(100vh - 60px);
        flex-direction: column;
        justify-content: flex-start;
        background: var(--white-color);
        padding: 35px 0 75px;
        position: fixed;
        top: 60px;
        right: -100%;
        z-index: 9999;
        overflow: auto;
        transition: transform 1s;
    }

    #header .menu.opened {
        transform: translateX(-100%);
    }

    #header .gnavi {
        max-width: 100%;
        flex-direction: column;
    }

    #header .gnavi li {
        width: 100%;
    }

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

    #header .gnavi li a {
        height: 70px;
        display: flex;
        align-items: center;
        font-size: 16px;
        text-align: left;
        padding: 0 3%;
        position: relative;
    }

    #header .gnavi li a::after {
        position: absolute;
        content: '';
        width: 94%;
        height: 1px;
        background: #000;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    #header .gnavi li a span {
        margin-top: 0;
        margin-left: 25px;
    }

    #header .h_contact {
        display: none;
    }

    #main {
        padding-top: 60px;
    }

    /*----- idx_mainvisual -----*/
    #idx_mainvisual {
        margin-bottom: -11.5vw;
    }

    /*----- idx_service -----*/
    #idx_service .idx_service_list li {
        width: calc((100% - 3.33vw) / 3);
        max-width: 26.67vw;
        padding: 1px 8px 3.67vw;
    }

    #idx_service .idx_service_list li::before {
        border-bottom: 10vw solid var(--white-color);
        border-left: 13.33vw solid transparent;
        border-right: 13.33vw solid transparent;
        top: -9.9vw;
    }

    #idx_service .idx_service_list li figure {
        margin: 0 auto 3.08vw;
    }

    #idx_service .idx_service_list h4 {
        font-size: 20px;
    }

    .service_decor04 {
        bottom: 9.25vw;
        left: -19.42vw;
    }

    .service_decor05 {
        bottom: 6.33vw;
        right: -6.92vw;
    }

    /*----- idx_recruit -----*/
    recruit_decor01 {
        top: -8.42vw;
        right: 5.08vw;
    }
}

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

    #toTop:hover .totop_title {
        color: var(--white-color);
        background: var(--blue-color);
    }

    #toTop:hover::before {
        transform-origin: center bottom;
        animation: yurayura 3s linear infinite;
    }

    .btn_primary a:hover .icon {
        border-color: var(--blue-color);
        background: transparent;
    }

    .btn_primary a:hover .icon::before,
    .btn_primary a:hover .icon::after {
        background-image: url(../images/common/icon_arrow02.png);
    }

    .btn_primary a:hover .icon::before {
        animation: arrow_animation1 .3s ease forwards;
    }

    .btn_primary a:hover .icon::after {
        animation: arrow_animation2 .3s ease forwards .2s;
    }

    .btn_primary a.wht:hover .icon {
        border-color: var(--white-color);
    }

    .btn_primary a.wht:hover .icon::before,
    .btn_primary a.wht:hover .icon::after {
        background-image: url(../images/common/icon_arrow.png);
    }

    .btn_second a:hover {
        color: var(--white-color);
        background: transparent;
    }

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

    #header .h_contact a:hover::before {
        opacity: 1;
    }

    #idx_case .idx_case_slider a:hover .case_photo .photo_item img,
    #idx_blog .idx_blog_list .blog_card a:hover figure img {
        transform: scale(1.1);
        opacity: .7;
    }

    #idx_service .idx_service_list li:hover figure img {
        transform: scale(1.2);
    }

    #idx_info .idx_info_list li a:hover {
        transform: translate(8px, 8px);
    }

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

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

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

    .box_sp {
        display: block;
    }

    .box_pc {
        display: none;
    }

    .h3title {
        font-size: 26px;
    }

    .btn_primary a {
        font-size: 16px;
    }

    /*----- idx_mainvisual -----*/
    #idx_mainvisual h2 span {
        margin-bottom: 15px;
    }

    #idx_mainvisual .idx_mainvisual_txt {
        margin-bottom: 35px;
    }

    #idx_mainvisual .mv_slider {
        width: 88%;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    /*----- idx_about -----*/
    #idx_about {
        padding: 26vw 0 25vw;
    }

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

    #idx_about .h3title span {
        font-size: 15px;
        margin-bottom: 20px;
    }

    #idx_about .idx_about_txt {
        margin-bottom: 35px;
    }

    #idx_about .idx_about_gallery {
        align-items: flex-end;
    }

    #idx_about .idx_about_gallery .gallery_item:nth-child(1) {
        margin-top: 0;
        margin-bottom: 14.65vw;
    }

    #idx_about .idx_about_gallery .gallery_item:nth-child(1)::before {
        top: -27.15vw;
    }

    #idx_about .idx_about_gallery .gallery_item:nth-child(2) {
        position: absolute;
        top: 55vw;
        right: 6%;
    }

    #idx_about .idx_about_gallery .gallery_item:nth-child(2)::before {
        top: auto;
        bottom: 0;
        left: -9vw;
    }

    #idx_about .idx_about_gallery .gallery_item .image02 {
        display: none;
    }

    .about_decor03 {
        bottom: -50px;
        right: 2vw;
    }

    /*----- idx_service -----*/
    #idx_service {
        padding: 35px 0 105px;
    }

    #idx_service .idx_service_wrap {
        flex-direction: column;
        gap: 45px;
    }

    #idx_service .idx_service_photo {
        width: 85vw;
        height: 50vw;
        z-index: 2;
    }

    #idx_service .idx_service_photo .photo_layer {
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
    }

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

    #idx_service .h3title {
        margin-bottom: 20px;
    }

    #idx_service .idx_service_list h4 {
        font-size: 18px;
    }

    .service_decor03 {
        top: -17.09vw;
        right: -22.07vw;
    }

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

    #idx_case::before {
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    #idx_case .idx_case_headline {
        margin-bottom: 45px;
    }

    #idx_case .idx_case_slider .case_title {
        font-size: 16px;
    }

    #idx_case .idx_case_slider .case_photo::after {
        border-width: 4px;
    }

    #idx_case .idx_case_slider .group_direction {
        margin-top: 35px;
        margin-bottom: 35px;
    }

    .case_decor1 {
        bottom: -110px;
    }

    /*----- idx_info -----*/
    #idx_info {
        padding: 85px 0 65px;
    }

    #idx_info .idx_info_list li a {
        align-items: center;
        gap: 1.465vw;
        padding: 20px 10px 17px;
    }

    #idx_info .idx_info_list li .idx_info_component {
        padding-top: 0;
    }

    #idx_info .idx_info_list li h4 {
        font-size: 20px;
    }

    #idx_info .idx_info_list li .idx_info_txt {
        font-size: 13px;
        text-align: justify;
    }

    #idx_info .idx_info_list li .text_link {
        font-size: 16px;
    }

    .info_decor01 {
        top: 8.69vw;
        left: -22.17vw;
    }

    .info_decor02 {
        bottom: 4.59vw;
        right: -25.98vw;
    }

    /*----- idx_recruit -----*/
    #idx_recruit {
        padding-left: 0;
    }

    #idx_recruit .idx_recruit_wrap {
        flex-direction: column-reverse;
    }

    #idx_recruit .idx_recruit_photo {
        width: 85vw;
        height: 56vw;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
        margin-left: auto;
    }

    #idx_recruit .idx_recruit_component {
        width: 94vw;
        padding-top: 0;
        margin-top: -29.3vw;
    }

    #idx_recruit .idx_recruit_frame {
        padding: 45px 3% 50px;
        margin-bottom: 0;
    }

    #idx_recruit .idx_recruit_title {
        font-size: 26px;
    }

    .recruit_decor01 {
        top: 50px;
        right: 3vw;
    }

    .recruit_decor02 {
        bottom: -24vw;
        right: -4vw;
    }

    /*----- idx_blog -----*/
    #idx_blog {
        padding: 15.63vw 0 35px;
    }

    #idx_blog .h3title {
        margin-bottom: 35px;
    }

    #idx_blog .idx_blog_list {
        gap: 20px;
    }

    #idx_blog .idx_blog_list .blog_card {
        width: calc((100% - 40px) / 3);
    }

    #idx_blog .idx_blog_list .blog_card figure {
        height: 19.24vw;
        margin-bottom: 15px;
    }

    #idx_blog .idx_blog_list .blog_card .card_meta {
        flex-direction: column-reverse;
    }

    #idx_blog .idx_blog_list .blog_card .cate_group span {
        padding: 2px 15px;
    }

    #idx_blog .idx_blog_list .blog_card .card_title {
        font-size: 18px;
    }

    #idx_blog .idx_blog_list .blog_card .card_txt {
        line-height: 2.2;
    }

    /*----- footer -----*/
    #footer .box_contact .inner {
        max-width: 640px;
    }

    #footer .box_contact .box_contact_frame {
        padding: 50px 3% 55px;
    }

    #footer .box_contact .box_contact_headline,
    #footer .box_contact .box_contact_btn {
        flex-direction: column;
    }

    #footer .box_contact .box_contact_headline {
        align-items: center;
        gap: 30px;
        text-align: center;
        margin-bottom: 35px;
    }

    #footer .box_contact .box_contact_txt {
        line-height: 2.2;
        margin-bottom: 0;
    }

    #footer .box_contact .box_contact_btn dl {
        width: 100%;
        max-width: 455px;
        margin: 0 auto;
    }

    .contact_decor01 {
        width: 100px;
        height: 101px;
        top: 45px;
        right: -2%;
    }

    #footer .footer_connect {
        padding: 55px 0 35px;
        position: relative;
    }

    #footer .footer_connect::before {
        background-size: 901px 100%;
        height: 40px;
        top: -40px;
    }

    #footer .footer_connect .footer_wrap {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        text-align: center;
        margin-bottom: 30px;
    }

    #footer .footer_connect .f_logo {
        width: 100%;
        max-width: 250px;
        margin-top: 0;
    }

    #footer .footer_connect .footer_link {
        display: none;
    }

    #footer address {
        text-align: center;
    }

    #toTop {
        bottom: 15px;
        right: 20px;
    }

    #toTop::before {
        width: 50px;
        height: 80px;
    }

    #toTop .totop_title {
        width: 60px;
        height: 60px;
        font-size: 13px;
        line-height: 1.2;
    }
}

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

@media screen and (max-width: 768px) {
    #header #top a {
        max-width: 200px;
    }

    /*----- idx_mainvisual -----*/
    #idx_mainvisual {
        height: 320px;
    }

    #idx_mainvisual h2 {
        font-size: 26px;
    }

    /*----- idx_service -----*/
    #idx_service .idx_service_wrap {
        margin-bottom: 150px;
    }

    #idx_service .idx_service_list {
        flex-wrap: wrap;
    }

    #idx_service .idx_service_list li {
        width: 100%;
        max-width: 280px;
        padding: 1px 8px 25px;
        margin-bottom: 120px;
    }

    #idx_service .idx_service_list li::before {
        border-bottom: 100px solid var(--white-color);
        border-left: 140px solid transparent;
        border-right: 140px solid transparent;
        top: -99px;
    }

    #idx_service .idx_service_list li:last-child {
        margin-bottom: 0;
    }

    .service_decor04 {
        top: 0;
        bottom: auto;
        left: -19.42vw;
    }

    /*----- idx_info -----*/
    #idx_info .idx_info_list {
        gap: 20px;
    }

    #idx_info .idx_info_list li a {
        flex-direction: column;
        gap: 20px;
    }

    #idx_info .idx_info_list li figure {
        width: 27.778vw;
        height: 27.778vw;
    }

    /*----- idx_blog -----*/
    #idx_blog .h3title {
        text-align: center;
    }

    #idx_blog .idx_blog_list {
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    #idx_blog .idx_blog_list .blog_card {
        width: 84.44vw;
        max-width: 380px;
    }

    #idx_blog .idx_blog_list .blog_card figure {
        height: 53.33vw;
    }

    #idx_blog .btn_primary {
        text-align: center;
        margin-top: 45px;
        position: relative;
        top: auto;
        right: auto;
    }

    #footer .box_contact .box_contact_phone a {
        margin-right: 0;
    }

    #footer .box_contact .box_contact_phone .box_contact_notes {
        display: block;
        margin-top: 5px;
    }

    #footer .box_contact .box_contact_btn dl {
        text-align: center;
    }

    #footer .box_contact .box_contact_btn dt {
        display: none;
    }

    #footer .box_contact .box_contact_btn dd {
        width: 100%;
    }

    #footer .box_contact .box_contact_mail dd {
        margin: 0 auto;
    }
}

@media screen and (max-width: 576px) {
    #idx_case .idx_case_headline {
        flex-direction: column;
        gap: 25px;
    }

    #idx_info .idx_info_list li .idx_info_component {
        padding-top: 0;
    }
}

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

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

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