@charset "UTF-8";
/* Loading背景画面設定　*/
#splash {
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 3000;
  background: #ffffff;
  text-align: center;
  color: #fff;
  top: 0;
  opacity: 1;
}

/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo img {
  width: 260px;
}

/* fadeUpをするアイコンの動き */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

.box {
  opacity: 0;
  visibility: hidden;
  transition: all 1s;
  transform: translateY(150px);
}

.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body {
  position: relative;
}

/*nav*/
header {
position: fixed;
    z-index: 2000;
    width: 100%;
    transition: 0.5s;
    height: 70px;
    background: #fff;
    top: 0;
    filter: drop-shadow(1px 1px 5px #15151515);
}

.logo {
  position: absolute;
  z-index: 3000;
  left: 2rem;
  top: 0.8rem;
  width: 16rem;
}

header.active {
 
}


header .nav-bg {
    background: #ffffff;
    position: absolute;
    content: "";
    height: 100vh;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
}
header.active .nav-bg {
    z-index: -1;
    transition: 0.5s;
    opacity: 1;
    visibility: visible;
}

header .nav-bg-img {
visibility:hidden;
    z-index:-2;
  position: absolute;
  transition: 0.5s;
  opacity: 0;
}


header.active .nav-bg-img {
visibility:visible;
    z-index:-1;
  transition: 0.5s;
  opacity: 1;
    bottom:5px;
}


#menu-inner {
    position:relative;
    height: 100%;
}

header.active #menu-inner{
       height: 100vh;
    
}

#global-navi {
  top: 0;
  right: 0px;
  width: 100%;
}

#navArea .menu {
  position: absolute;
  width: 320px;
  left: 50%;
  transform: translate(-50%);
  transition: 0.5s;
  opacity: 0;
  visibility: hidden;
  height: 100vh;
  margin-top: 30%;
}

#navArea .menu.active {
  transition: 0.5s;
  opacity: 1;
  visibility: visible;
}

#navArea nav ul li {
  position: relative;
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 20px;
  list-style: none;
  padding: 5px;
}

#navArea nav ul li::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #ddd;
  bottom: 0px;
  left: 0;
}

#navArea nav ul li ul li {
  font-size: 16px;
}

.parent .child {
  display: none;
  opacity: 0;
  transition: 0.5s;
}

.parent.active .child {
  display: block;
  opacity: 1;
}

#navArea nav ul li ul li:last-of-type {
  margin-bottom: 0px;
}

#navArea nav ul li ul li:last-of-type::after {
  content: unset;
}

#navArea nav ul li ul li span {
  font-size: 85%;
}

#navArea nav ul li span {
  font-size: 50%;
  display: block;
  margin-left: 10px;
  font-style: italic;
}

#navArea nav ul li a {
    color: #000000;
    display: inline-block;
    font-style: italic;
}

.more-btn {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  width: 1em;
  height: 0.1em;
  background: currentColor;
  border-radius: 0.1em;
  position: absolute;
  right: 3rem;
  top: 1.8rem;
}

.more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  transform: rotate(90deg);
  opacity: 1;
  transition: 0.5s;
}

.more-btn.active {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  width: 1em;
  height: 0.1em;
  background: currentColor;
  border-radius: 0.1em;
  transition: 0.5s;
}

.more-btn.active::before {
  opacity: 0;
  transition: 0.5s;
  transform: rotate(0deg);
}

/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn {
  /*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
  position: absolute;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  right: 1rem;
  top: 1rem;
}

/*ボタン内側*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  /*アニメーションの設定*/
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: #151515;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

/*activeクラスが付与されると線が回転して×に*/
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
  /*真ん中の線は透過*/
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

/*nav*/
/*firstView*/
.fv-content {
  position: absolute;
  height: 100vh;
}

#top {
  position: relative;
  height: 100vh;
  z-index: 1;
}

.scroll-box {
  position: absolute;
  background: #1C5458;
  padding: 0.5rem 2rem;
  z-index: 1999;
    bottom: 5.8rem;
    left: -5.8rem;
  transform: rotate(90deg);
  width: 150px;
}

.scroll-txt {
  font-size: 12px;
  color: #EDB420;
  position: relative;
}

.scroll-txt::after {
  position: absolute;
  content: "";
  width: 3.8rem;
  background: #EDB420;
  height: 1px;
  top: 50%;
  left: 50%;
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

@keyframes pathmove {
  0% {
    width: 0px;
    height: 0;
    opacity: 0;
  }

  30% {
    width: 3.2rem;
    height: 1px;
    opacity: 1;
  }

  100% {
    width: 3.2rem;
    height: 1px;
    opacity: 0;
  }

}

/*firstView*/
/*ABOUT*/
/*background周辺*/
#about, #recruit {
  position: relative;
  background-position: bottom;
  background-size: 450px;
  background-repeat: no-repeat;
}

#about {
  background-image: url(../img/common/town_strong-green.png);
}

#recruit {
  background-image: url(../img/common/tokai_strong-green.png);
}

#about h2, #recruit-content h2, #contact-content h2 {
  position: relative;
  width: 100%;
}

#about h2 .sky, #recruit-content h2 .sky, #contact-content h2 .sky {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  z-index: -1;
}

#about h2 .sky figure img, #recruit-content h2 .sky figure img, #contact-content h2 .sky figure img {
  max-width: 300px;
}

#about p {
  margin-bottom: 22px;
}

#about p .point {
  font-weight: bold;
}

#about .capsub {
  font-size: 70%;
}

/*ABOUT*/
/*SERVICE*/
#service .content-wrap {
  background-image: url(../img/common/town_strong-pastel.png);
  background-size: 490px;
  background-repeat: no-repeat;
  background-position: bottom;
}

.service-wrap {
  margin: auto 0px;
}

.service-box {
  padding: 15px 0px;
  width: calc(100%/1);
}

.service-box img {
  filter: drop-shadow(1px 1px 5px #15151520);
}

.service-content h2, #recruit-detail h2 {
  position: relative;
  text-align: left!important;
  padding-left: 15px;
  font-size: 20px;
  font-style: normal;
  margin-bottom: 15px;
}

.service-content h2::before, #recruit-detail h2::before {
  background: #1C5458;
  position: absolute;
  content: "";
  height: 100%;
  width: 10px;
  border-radius: 8px;
  left: 0;
}

.service-content figure img {
  filter: drop-shadow(1px 1px 5px #15151530);
  margin-bottom: 15px;
}

.service-content {
  margin-bottom: 0 !important;
}

.service-box img, .service-box h3 {
  margin-bottom: 20px;
}

.service-box h3 {
  text-align: center !important;
}

#hoshu, #aircon {
  background: #fcfcfc;
}

/*SERVICE*/
/*recruit*/
#recruit-content p, #recruit-detail p:first-of-type {
  text-align: center;
}

#recruit-detail p {
  margin-bottom: 90px;
  ;
}

#recruit .bg-img {
  position: absolute;
  top: 0;
  z-index: -2;
}

#recruit .bg-grd {
  background: rgb(255, 255, 255);
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 7%, rgba(255, 255, 255, 0) 100%);
  /*! height: 288px; */
  position: relative;
  aspect-ratio: 1920/1550;
}

#recruit .content-wrap {
  padding-top: 0px;
}

.sec-cap:first-of-type {
  margin-bottom: 25px;
}

.sec-cap:nth-of-type(2) {
  text-align: center;
  font-weight: 900;
  margin-bottom: 25px;
}

.sec-cap:nth-of-type(2) span {
  font-size: 75%;
}

#recruit .read-more {
  justify-content: center;
}

/* 左右に横線 */
.heading {
  align-items: center;
  /* 横線を上下中央 */
  display: flex;
  /* 文字と横線を横並び */
  justify-content: center;
  /* 文字を中央寄せ */
}

.heading::before, .heading::after {
  background-color: #151515;
  /* 横線の色 */
  content: "";
  height: 2px;
  /* 横線の高さ */
  width: 60px;
  /* 横線の長さ */
}

.heading::before {
  margin-right: 15px;
  /* 文字との余白 */
}

.heading::after {
  margin-left: 15px;
  /* 文字との余白 */
}

/*アコーディオン全体*/
.accordion-area {
  list-style: none;
  max-width: 960px;
  margin: 0 auto;
}

.accordion-area li {
  margin: 15px 0;
}

.accordion-area section {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 50px 25px;
}

.accordion-area h3 {
  text-align: left;
}

.accordion-area .hd {
  border-bottom: solid 1px #ccc;
}

.accordion-area .bt {
  font-weight: 900;
  font-size: 110%;
}

/*アコーディオンタイトル*/
.title {
  position: relative;
  /*+マークの位置基準とするためrelative指定*/
  font-weight: 900;
  padding: 0% 0% 0% 15px;
  transition: all .5s ease;
  text-align: left;
  font-size: 22px;
}

.title::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 100%;
  background: #AEBE48;
  left: 0px;
  border-radius: 8px;
}

.read-more {
  position: relative;
  margin: 2em auto;
  display: block;
  border: none;
  outline: 0;
  cursor: pointer;
  letter-spacing: 0.1em;
  font-weight: 900;
}

.read-more .open {
  display: block;
}

.read-more.on-click .open {
  display: none;
}

.read-more .close {
  display: none;
  background: unset;
  border: #1A5159;
}

.read-more.on-click .close {
  display: block;
}

.read-more.on-click {
  border: #1A5159 solid 1px;
  background-color: unset !important;
  color: #1A5159;
  transition: 0.5s;
}

/*recruit*/
#contact {
  background-image: url(../img/contact-bg.jpg);
  background-position: bottom, 0;
  background-size: cover;
}

#contact h2 {
  color: #fff;
}

.contact-box {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 4px;
  padding: 20px 10px;
    
}

#contact-content .contact-box {
  margin-bottom: 0;
  max-width: 960px;
}

.contact-btn-txt {
  text-align: center;
  margin-bottom: 0 !important;
  line-height: 1.4rem !important;
}

.contact-btn-txt p {
  color: #000000;
  margin-bottom: 0 !important;
}

.contact-btn-txt p span {
  font-size: 150%;
  font-weight: 900;
}

.tel-icon {
  width: 2.6rem;
  margin-bottom: 0 !important;
  display: inline-block;
}

#contact-content .contact-box p {
  font-size: 24px;
  line-height: 4rem;
}

.footer-nav {
  display: none;
}

footer a {
  color: #000;
}

table {
    border-collapse: collapse;
    border: 2px solid rgb(140 140 140);
    font-family: sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    width: 100%;
    max-width: 960px;
}

caption {
  caption-side: bottom;
  padding: 10px;
  font-weight: bold;
}

thead, tfoot {
  background-color: rgb(228 240 245);
}

th, td {
  border: 1px solid rgb(160 160 160);
  padding: 8px 10px;
  margin-bottom: 0 !important;
}

th {
  background: #f5f5f5;
}

td {}

.pc-cap {
  display: none;
}

.sp-cap {
  display: block;
}

/* 481px以上に適用されるCSS（タブレット用） */
@media screen and (min-width: 481px) {}

/* 640px以上に適用されるCSS（タブレット用） */
@media screen and (min-width: 640px) {}

/* 960px以上に適用されるCSS（PC用） */
@media screen and (min-width: 960px) {
    
    .logo {
        width: 170px;
    }
  header {
    width: 100%;
    height: 80px;
  }

  #subtop figure img {}

  #navArea .menu {
    opacity: 1;
    visibility: visible;
    width: 100%;
    top: 0rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: end;
    left: unset;
    right: 0;
    transform: unset;
    background: #fff;
    transition: 0.5s;
    margin-top: 0;
    height: 5rem;
    background-position: 0 bottom;
  }

  #navArea .menu.open {
    background-image: url(../img/common/town_strong-green.png);
    background-position: 0 bottom;
    background-repeat: no-repeat;
    background-size: 52vw;
    height: 24rem;
  }

  #navArea nav ul li {
    width: 150px;
    margin: 0;
  }

  #navArea nav ul li ul li {
    width: 420px;
  }

  #navArea nav ul li::after {
    display: none;
  }

  .more-btn.active {
    display: none;
  }

  .parent.active .child {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 500px;
    margin-top: 25px;
  }

  #navArea nav ul > li {
    text-align: center;
    margin: 5px;
    letter-spacing: 0.1rem;
  }

  #navArea nav ul > li a:hover {
    opacity: 0.5;
    transition: 0.5s;
    cursor: pointer;
  }

  #navArea nav .child > li {
    text-align: left;
  }

  #navArea nav ul li span {
    margin-left: 0;
  }

  #top {
    height: 100vh;
  }

  .openbtn {
    display: none;
  }

  .more-btn {
    display: none;
  }

  #about h2 .sky figure img, #recruit-content h2 .sky figure img, #contact-content h2 .sky figure img {
    max-width: 800px;
  }

  #about p {
    text-align: center;
    font-size: 20px;
    line-height: 4rem;
  }

  #about, #recruit {
    background-size: 1024px;
    background-repeat: no-repeat;
    background-position: bottom;
  }

  #service {
    position: relative;
    z-index: 2;
  }

  #service .content-wrap {
    background-size: 1024px;
    background-repeat: no-repeat;
  }

  /*SERVICE*/
  .service-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
  }

  #sub-content-top .service-box > * {
    width: 50%;
    padding: 0 50px;
  }

  .service-box p {
    font-size: 14px;
  }

  /*SERVICE*/
  .sec-cap {
    text-align: center;
    font-size: 20px;
    line-height: 4rem;
  }

  #recruit-content .content-wrap {
    max-width: 960px;
  }

  #recruit .bg-img {
    top: -29%;
  }

  #recruit .bg-grd {
    aspect-ratio: 6/2.6;
  }

  #recruit-content figure {
    margin-bottom: 0 !important;
    max-width: 960px;
  }

  #contact {
    background-size: 100vw;
  }

  .footer-nav {
    display: block;
    max-width: 960px;
    padding: 15px 10px;
  }

  footer ul li {
    font-weight: 900;
    font-style: italic;
    text-align: center;
    font-size: 22px;
  }

  footer ul li a {
    margin-bottom: 15px;
    font-style: italic;

  }
  
  footer ul li a:hover {
    opacity: 0.5;
    transition: 0.5s;
  }

       #menu-item-43 a:hover {
    opacity: 1;
}

     #menu-item-40:hover,#menu-item-41:hover {
    opacity: 0.5;
     }
    
  footer ul li ul li {
    text-align: left;
    font-style: unset;
    font-size: 55%;
    font-style: normal;
    margin-bottom: 10px;
  }

  footer ul li span {
    font-size: 60%;
    display: block;
    margin-bottom: 10px;
    font-style: normal;
  }

  #contact-content .contact-box p {
    font-size: 40px;
    line-height: 4.6rem;
  }

  .contact-box {
    max-width: 415px;
    transition: 0.5s;
  }

  .contact-box:hover {
    scale: 1.1;
    transition: 0.5s;
  }

  .tel-icon {
width: 4.2rem;
        position: relative;
        top: 8px;
  }

  .service-content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    align-items: center;
    margin: -30px;
    margin-bottom: 0 !important;
  }

  #sub-content-top .service-box {
    width: calc(100%/1);
  }

  #sub-content-top .service-box .sec-cap {
    text-align: left;
  }

  .service-content > div {
    width: 50%;
    padding: 30px;
  }

  #sub-content-top .service-content h2 {
    margin-bottom: 30px;
      }

  .service-content > figure {
    width: 50%;
      padding: 30px;
  }

  .service-box {
    width: calc(100%/2);
    padding: 15px 40px;
  }

  .pc-cap {
    display: block;
  }

  .sp-cap {
    display: none;
  }

}
