@media screen and (max-width:1200px){

.sp-2{
    display: block!important;
}

.pc-2{
   display: none!important;
}

.wrap{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--margin01);
    box-sizing: border-box;
}


    .pc{
    display: none!important;
}

.sp{
    display: block!important;
}

.top-box{
  width: 50%;
}

  main{
    padding-top: 30px;
}



/* =============================

header

============================= */


.head-logo,
.logo-box,
.logo-box a
{
    width: 100%;
}

.logo-box img{
  width: 130px;
}


.header-wrap{
  padding-left: 0;
}


/* =============================

spnav

============================= */

header{
  background: #fff;
    padding: 12px 0;
}

.sp-nav,
.sp-head-right{
    display: flex!important;
}

.sp-head-right{
    justify-content: end;
    width: 100%;
}

.language{
    align-self: center;
    padding-right: 48px;
}


/* overlay-styles.css */
.hamburger-overlay {
  position: fixed;
  top: 5px;
  right: 20px;
  z-index: 1000001;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger-overlay__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #333;
  transition: all .6s;
}

.hamburger-overlay__line:nth-of-type(1) { top: 14px; }
.hamburger-overlay__line:nth-of-type(2) { top: 23px; }
.hamburger-overlay__line:nth-of-type(3) { top: 32px; }

.hamburger-overlay.active .hamburger-overlay__line {
  background-color: #fff;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}



.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--red);
  visibility: hidden;
  opacity: 0;
  transition: all .6s;
  z-index: 100000;
  overflow-y: auto; 
  -webkit-overflow-scrolling: touch; 
}

.nav-overlay.active {
  visibility: visible;
  opacity: 1;
  height: 100vh;
}

.nav-overlay__content {
  position: relative;   
  top: auto;
  left: auto;
  transform: none;
  width: 90%;          
  margin: 80px auto 40px; 
}

.nav-overlay__list {
  color: #fff;
  text-align: left;
  list-style: none;
}

.nav-overlay__list li:not(:last-child){
  padding-bottom: var(--margin05);
}

.nav-overlay__item {
  opacity: 0;
  transform: translateY(20px);
  transition: all .8s;
}

.nav-overlay.active .nav-overlay__item {
  opacity: 1;
  transform: translateY(0);
  text-align: left;
}


.nav-overlay__link {
  display: block;
  padding: var(--margin04);
  color: #fff;
  text-decoration: none;
  transition: color .3s;
  position: relative;
}


.nav-overlay__link::after{
    position: absolute;
    content: "→";
    display: inline-block;
    right: 6%;
    font-weight: bold;
}

.nav-overlay__list a{
  position: relative;
  display: block;
  font-size: var(--font-e);
}

.nav-overlay__list a::after{
    position: absolute;
    content: "→";
    display: inline-block;
    right: 6%;
    font-weight: bold;
    right: 1%;
    margin-right: 6%;
}

.accordion{
 position: relative;
}

    .accordion::before {
    background: #fff;
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0px;
    transform-origin: center top;
    transform: scale(0, 1);
    transition: transform .3s;
    }

    .accordion:hover::before {
    transform-origin: center top;
    transform: scale(1, 1);
}
 

.accordion-title {
  position: relative;
  display: block;
  color: #fff;
  padding: var(--margin04);
}
.accordion-title:hover {
  cursor: pointer;
  opacity: 0.8;
}

.accordion-title .btn {
  position: absolute;
  top: 37%;
  right: 5%;
  width: 18px;
  height: 18px;
  transform-origin: center center;
  transition-duration: 0.2s;
}
.accordion-title .btn:before,
.accordion-title .btn:after {
  content: "";
  background-color: #fff;
  border-radius: 10px;
  width: 18px;
  height: 2px;
  position: absolute;
  top: 8px;
  left: 0;
  transform-origin: center center;
}
.accordion-title .btn:before {
  width: 2px;
  height: 18px;
  top: 0;
  left: 8px;
}

.accordion-title.is-active .btn {
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

.accordion-title.is-active .btn:before {
  content: none;
}

.accordion-content {
  display: none;
  padding: 0 0 var(--margin05) var(--margin04);
}
.accordion-content p {
  margin: 0 0 20px;
  text-align: left;
}


.nav-overlay__content .search-form-4{
    margin: var(--margin03) var(--margin05);
}

.nav-overlay__content .search-form-4 input {
    height: 60px;
  }


  



      
/* =============================

service

============================= */



    
.service-item{
  padding: 20px 150px;
}

.service-left{
  padding-right: 0;
}

.index-sb02{
  margin-bottom: 100px;
}




/* =============================

footer

============================= */


.footer{
    padding: 100px 0 var(--margin02);
}


.footer-top{
  flex-direction: column;
  padding-bottom: 0;
}

.footer-bottom{
  flex-direction: column;
}

.footer-list{
    padding-bottom: var(--margin04);
    border-bottom: 1px solid #fff;
  }

  .footer-list:not(:last-child){
    margin-bottom: var(--margin04)
  }

  .footer-list a{
    display: block;
    position: relative;
  }


.footer-list a::after{
    position: absolute;
    content: ">";
    display: inline-block;
    right: 0;
    font-size: 80%;
}

  .footer-top{
    border:none;
  }

  .footer-logo,
  .footer-bottom-list ul{
    justify-content: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-logo a {
    width: 100%;
     margin: 0 auto;
  }

  
  .footer-logo a img{
    width: 150px;
  }

  .footer-bottom-list {
    font-size: var(--font-g);
    padding-top: 28px;
    flex-direction: column;
    justify-content: center;
  }

  .footer-bottom-list p{
    width: 100%;
    text-align: center;
            padding-top: 24px;
  }

  .footer-list{
    padding-bottom: 0!important;
    margin-bottom: 0!important;
  }

  .footer-list h2 {
    padding-bottom: 0;
    font-size: var(--font-g);
}

.footer-list a{
  font-size: var(--font-g);
}

.accordion-title{
        padding: var(--margin04)!important;
}

.footer-list .accordion-contents{
          padding: 0;
}


.footer-list .nav-overlay__list{
          padding: var(--margin05) 0 var(--margin05) var(--margin04);
}

.footer-list .accordion-content .nav-overlay__list {
     padding: 0;
}



.footer-list .accordion-title .btn:before {
        width: 2px;
        height: 13px;
        top: 1px;
        left: 6px;
    }

    .footer-list .accordion-title .btn:after {
    width: 13px;
    height: 2px;
    top: 6px;
    left: 0;
}



.footer-list::before {
  content: none;
}

}

@media screen and (max-width:1000px){



/* =============================

common

============================= */


*{
    font-size: var(--font-e);
}





/* =============================

top

============================= */



  .top-box p{
    padding-top: 4%;
  }





/* =============================

news

============================= */


.news-row{
  flex-direction: column;
}



.news-row dd {
    width: 100%;
    padding-left: 0;
    text-align: left;
    }


    
/* =============================

service

============================= */



    
.service-item{
  padding: 20px 100px;
}






/* =============================

other

============================= */


    .other::before{
        left: 50%;
        transform: translateX(-50%);
        top: -5%;
        font-size: 100px;
    }



}




  
@media screen and (max-width:800px){


  /* =============================

common

============================= */


.gt-pc{
  display: none!important;
}

.gt-sp{
  display: block!important;
}


/* =============================

group-top

============================= */


      .gtop-list{
        flex-direction: column;
      }

      .btn-hover-anime{
        width: 80%;
      }




}





/* =============================

common

============================= */


@media screen and (max-width:640px){

  .wrap{
        padding: 0 var(--margin03);
  }

  .display-none{
    display: none;
  }

  main{
    padding-top: 130px;
}


.header-wrap{
  padding-left:0;
}


    .pc640{
    display: none!important;
}

.sp640{
    display: block!important;
}



p,li,dd,a,dt,dd{
  font-size: var(--font-g);
}

.top-box p{
  font-size: var(--font-g)!important;
}


/* =============================

group-top

============================= */


      .group-top-body .recruit{
            margin-bottom: 0;
      }

      .group-top-link{
        position: static;
      }





/* =============================

top

============================= */


.top-box .cp-text{
      line-height: 1.3em !important;
}





/* =============================

news

============================= */





.news-box {
    flex-direction: column;
}

.news-left {
    width: 100%;
  }

.news-right {
    width: 100%;
    margin: 60px 0;
}

.btn-hover-anime {
    padding: 18px;
    width: 100%;
    align-self: end;
}



/* =============================

about

============================= */


.about-items{
  flex-direction: column;
}




.about-left .title-bk{
    top:-50px;
}


.about-right,
.about-left {
    width: 100%;
}

.about-right p{
    font-size: var(--font-g)!important;
}

#overview .column-box{
padding: 0!important;
}

.item-list-box dl:first-child{
  padding-top: 16%!important;
}



/* =============================

service

============================= */

.service{
  padding: 0;
}
.index-sb01 {
    margin-bottom: clamp(3.75rem, 3.125rem + 3.57vw, 6.25rem)!important;
}


.service-title-box{
  padding: 90px 0;
}

.service-detail{
      flex-direction: column;
}



    
.service-item{
  padding: 0 50px;
}




.service-left{
  width: 100%;
}


.service-right{
      background: url(../img/service-illust01.png) no-repeat center / contain;
      height: 200px;
      display: block;
      margin: 10% 0;
      width: 100%;
  }

  .sr02{
    background: url(../img/service-illust02.png) no-repeat center/ contain ;
}
.sr03{
    background: url(../img/service-illust03.png) no-repeat center/ contain ;
}
.sr04{
    background: url(../img/service-illust04.png) no-repeat center/ contain ;
}
.sr05{
    background: url(../img/service-illust05.png) no-repeat center/ contain ;
}
.sr06{
    background: url(../img/service-illust06.png) no-repeat center/ contain ;
}
.sr07{
    background: url(../img/service-illust07.png) no-repeat center/ contain ;
}
.sr08{
    background: url(../img/service-illust08.png) no-repeat center/ contain ;
}
.sr09{
    background: url(../img/service-illust09.png) no-repeat center/ contain ;
}
.sr10{
    background: url(../img/service-illust10.png) no-repeat center/ contain ;
}
.sr11{
    background: url(../img/service-illust11.png) no-repeat center/ contain ;
}
.sr12{
    background: url(../img/service-illust12.png) no-repeat center/ contain ;
}
.sr13{
    background: url(../img/service-illust13.png) no-repeat center/ contain ;
}

.index-sb02{
  margin-bottom: 100px!important;
}



/* =============================

other

============================= */

.other-items{
  flex-direction: column;
}

.od02{
    margin: 8% 0 0 0;
}

.other-item-detail{
  width: 100%;
}

.other-item-text{
  padding: 16px 0;
}

.other-btn {
           padding: 6px 40px;
          }

.other::before{
        top: -20px;
        font-size: 70px;
        }

/* =============================

other

============================= */


    .other-box {
    padding: 16% 0;
}

.other-box::after {
    width: 100px;
    height: 100px;
    right: 0%;
    top: -4%;
}

/* =============================

recruit

============================= */

.recruit-box{
  flex-direction: column-reverse;
}

#recruit-pg .slick-slide img {
    height: 100px;
    object-fit: cover;
}


.recruit-left,
.recruit-right{
  width: 100%;
}

.recruit-left{
  width: 120%;
  margin: 0 -10%;
}

.recruit-right{
      padding: 16% 0;
}


.recruit-right::before {
width: 70px;
        height: 70px;
        right: 10%;
        top: 13%;
}


/* =============================

contact

============================= */

.contact-box{
  padding: 10% 6%;
}

.contact a::before{
      bottom: -10%;
}


  .contact-text{
    flex-direction: column;
  }

  .contact-box h2,
  .contact-box p{
    width: 100%;

  }

  .contact-box h2{
      padding: 8% 0;
  }

    .contact-box p{
      padding-bottom: 8%;
  }

.contact a::after,
  .contact a::before{
    height: 70px;
  }

}