/*------------------------------------------------------------------------------
  PC or ALL
------------------------------------------------------------------------------*/
.home .header{
  position: absolute;
  width: 100%;
}
.header-logo{
  width: 331px;
}
.home .header-nav a{
  color: #fff;
}
.header-nav .ja{
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  font-feature-settings: "palt" 1;
}

.pc .mainvisual-catch div.copy{
  font-size: 7.2rem;
}
.pc .mainvisual-catch{
  left: 5vw;
  bottom: 10vh;
}

.box-wrap.sm{
  max-width: 1124px;
  padding: 0;
}
.title-type02:before, .title-type04:before,
.title-type01:before, .title-type03:before{
  display: none;
}
.box .btn a{
  background: none;
  border: 2px solid #fff;
  border-radius: 0;
  font-size: 2.5rem;
  letter-spacing: 3px;
  padding: 16px 90px 15px 80px;
}
.box .btn a:after{
  content: '\f1e1';
  right: 10px;
  top: 49%;
  transform: translateY(-50%);
}
.box h2.box-h2{
  font-size: 2.1rem;
  color: #d23918;
}
.title-type02 span:nth-child(2), .title-type04 span:nth-child(2),
.title-type01 span:nth-child(2){
  font-size: 4.7rem;
  color: #352214;
  opacity: 1;
  margin-top: 10px;
}
.pc .title-type02 span:nth-child(2), .title-type04 span:nth-child(2){
  font-size: 5.4rem;
}
.title-type02 span:nth-child(2){
  margin: 0.1em 0 0 0;
}

.box-wrap.sm.main-blog,
.box-wrap.sm.main-news{
  .box h2.box-h2 .en{
    padding-left: 28px;
    position: relative;
  }
  .box h2.box-h2 .en:before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0,-50%);
    width: 16px;
    height: 16px;
    background: #d23918;
  }
}

.box-wrap.lg.main-greeting{
  .box.image-bg-type02 .image:after{
    display: none;
  }
  .box h3.box-h3{
    font-size: 4.4rem;
    background: #fff;
    color: #d23918;
    max-width: 690px;
    margin: 0 auto 6vh auto;
  }
  .image-bg-type02 .text{
    max-width: 980px;
  }
  .text p{
    font-weight: bold;
    line-height: 1.8;
    margin-top: 40px;
  }
}

.box-wrap.lg.main-feature{
  .banner-type02 ul li .text{
    padding: 4vmin 0;
    color: #352214;
  }
  .banner-type02 ul li .text h3{
    color: #d23918;
    font-size: 3.6rem;
  }
  .banner-type02 ul li{
    background: #fff;
    box-shadow: none;
  }
}

.box-wrap.bg.main-guide{
  margin: 0 calc(50% - var(--vw) * 50) 0;
  padding: var(--box-margin) 38px 150px;
  .image-text-type03 .text:before{
    background: #fff;
  }
  .box .btn a{
    background: none;
    border: 2px solid #d23918;
    border-radius: 0;
    font-size: 2rem;
    letter-spacing: 3px;
    padding: 13px 60px 12px 50px;
    color: #d23918;
  }
  .box h3.box-h3{
    font-size: 3.8rem;
    color: #d23918;
  }
  .title-type02{
    padding: 0;
  }
}
.box-wrap.bg.main-guide::before{
  background: #f0f0f0;
}

.box-wrap.xl.main-recruit{
  .box .copy{
    text-align: center;
    font-size: 2.8rem;
    color: #d23918;
  }
  .text p{
    text-align: center;
  }
  .box .btn{
    text-align: center ;
  }
  .box .btn a{
    background: none;
    border: 2px solid #d23918;
    border-radius: 0;
    font-size: 2rem;
    letter-spacing: 3px;
    padding: 13px 60px 12px 50px;
    color: #d23918;
  }
  .title-type02{
    margin: 0 auto;
  }
}

.box-wrap.sm.main-banner{
  .box.banner-type01 .image:after{
    display: none;
  }
  .text{
    text-align: center;
  }
  .banner-type01 ul li a{
    padding: 180px 50px 80px;
  }
  .banner-type01 ul li a .en{
    font-size: 2.2rem;
    color: #d23918;
  }
  .banner-type01 ul li a .ja{
    font-size: 3.4rem;
    color: #fff;
  }
  .box{
    margin: 0 auto 30px auto;
  }
  .banner-type01 ul li a:after{
    content: '\f1e1';
    right: 0;
    bottom: 0;
    color: #fff;
    transform: translateY(10%) translateX(-6%);
    font-size: 4rem;
  }
  .banner-type01 ul li a:before{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: #d23918;
  }
}

.box-wrap.lg.main-entry{
  .contact-type01 .title .en{
    font-size: 2.2rem;
    color: #d23918;
  }
  .contact-type01 .title .ja{
    font-size: 5.4rem;
  }
  .contact-type01 .text .tel:before{
    color: #d23918;
  }
  .contact-type01 .text .tel{
    font-size: 8rem;
    font-weight: 400;
  }
  .contact-type01 .text .btn div a{
    padding: 16px 80px 15px 100px;
  }
  .contact-type01 .text .btn div a:after{
    left: 60px;
  }
}

.box-wrap.sm.main-con{
  background: #f0f0f0;
  border-radius: 30px;
  .contact-type02{
    padding: 100px 30px;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
  .contact-type02 .title{
    font-size: 7rem;
    color: #352214;
    padding: 0 10px 0 0;
  }
  .contact-type02 .title .en{
    line-height: 1;
  }
  .contact-type02 .title .ja{
    font-size: 1.8rem;
    text-align: left;
  }
  .btn{
    margin: 0 0 0 0;
  }
  .box .btn a{
    padding: 40px 50px 39px 60px;
    background: #dc3c1a;
    color: #fff;
    font-size: 1.7rem;
    font-weight: bold;
    letter-spacing: 1px;
  }
  .btn a:after{
    display: none;
  }
  .btn a:before{
    content: '\e158';
    font-family: "Material Symbols Outlined";
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translate(0,-50%);
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
  }
  .contact-type02 .text{
    color: #352214;
    .ja{
      font-weight: bold;
    }
  }
  .contact-type02 .text .tel:before{
    color: #d23918;
    margin: 0;
  }
  .datetime{
    font-weight: bold;
  }
  .contact-type02 .text .tel{
    font-size: 4.7rem;
    font-weight: 400;
  }
  .contact-type02 .text .tel a{
    color:#352214;
  }
}

.footer-main .logo{
  width: 331px;
}
.footer-main .logo img{
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(339deg) brightness(103%) contrast(101%);
}
.footer-main .about{
  font-size: 1.5rem;
}
.fixed-footer .contact a{
  font-size: 1.5rem;
}
.fixed-footer .tel a{
  font-weight: 400;
  font-size: 3.5rem;
}

.blog-type03 ul li .date{
  font-weight: bold;
}
.blog-type01 ul li .image{
  border: 1px solid #dddddd;
}

/* 20241121 added by Fabo */
.mt-0 { margin-top: 0 !important;}
.mt-s { margin-top: 4vh !important;}
.mt-m { margin-top: 7vh !important;}
.mt-l { margin-top: 10vh !important;}

.mb-0 { margin-bottom: 0 !important;}
.mb-s { margin-bottom: 4vh !important;}
.mb-m { margin-bottom: 7vh !important;}
.mb-l { margin-bottom: 10vh !important;}

.page-content h2:not([class]),
.page-content h3:not([class]),
.page-content h4:not([class]) {
    margin-bottom: 3vh;
}

body:not(.home) .image-text-type02 .text:before {
    background: #f7f7f7;
}
.page-title {
    background: #f7f7f7;
}
.table-type02 table td {
    background: #f7f7f7;
}


/*------------------------------------------------------------------------------
  TABLET and SHONE
------------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
}

/*------------------------------------------------------------------------------
  TABLET ONLY
------------------------------------------------------------------------------*/
@media screen and (min-width: 600px) and (max-width: 1024px) {
}

/*------------------------------------------------------------------------------
  SPHONE ONLY
------------------------------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .box-wrap.lg.main-greeting {
    .box h3.box-h3{
      font-size: 3rem;
    }
  }
  .title-type02 span:nth-child(2), .title-type04 span:nth-child(2), .title-type01 span:nth-child(2) {
    font-size: 2.8rem;
  }
  .box-wrap.lg.main-feature {
    .banner-type02 ul li .text h3{
      font-size: 2.2rem;
    }
  }
  .box-wrap.bg.main-guide{
    .image-text-type03 .text, .image-text-type03.right .text{
      background: #fff;
    }
    .box h3.box-h3{
      font-size: 2.2rem;
    }
  }
  .box-wrap.xl.main-recruit {
    .box .copy{
      font-size: 2.2rem;
    }
  }
  .box-wrap.sm.main-banner {
    .box{
      margin: 0 auto 15px auto;
    }
  }
  .box-wrap.lg.main-entry {
    .contact-type01 .title .ja{
      font-size: 2.8rem;
    }
    .contact-type01 .text .tel {
      font-size: 2.8rem;
    }
    .contact-type01 .text .btn div a {
      padding: 16px 40px 15px 60px;
    }
  }
  .box-wrap.sm.main-con {
    .contact-type02 .title .ja{
      text-align: center;
    }
    .box .btn a{
      padding: 20px 45px 19px 55px;
    }
    .contact-type02 .text{
      margin-top: 30px;
    }
  }
  .mainvisual{
    height: calc(100vh - 50px);
  }
}
