@charset "UTF-8";

/******************************
header
******************************/
.mask {
  background: rgba(0, 0, 0, .3);
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  transition: .5s;
  opacity: 0;
  pointer-events: none;
  height: 100vh;
  width: 100vw;
  z-index: 9;
}
.cmnhead:has(.spbtn.active) .mask {
  transition: .5s;
  opacity: 1;
  pointer-events: all;
}
.cmnhead .logo {
  position: absolute;
  top: 15px;
  left: 20px;
  width: 400px;
  z-index: 8;
}
.spbtn {
  cursor: pointer;
  position: fixed;
  top: 2rem;
  right: 2rem;
  height: 50px;
  width: 50px;
  z-index: 11;
}
.spbtn span {
  background: #181818;
  display: inline-block;
  position: absolute;
  right: 13px;
  transition: all .4s;
  height: 3px;
  width: 45%;
}
.home .spbtn span {
  background: #fff;
}
.spbtn.active span {
  background: #fff;
}
.spbtn span:nth-of-type(1) {
  top: 15px;
}
.spbtn span:nth-of-type(2) {
  top: 23px;
}
.spbtn span:nth-of-type(3) {
  top: 31px;
}
.spbtn.active span {
  top: 50%;
  right: auto;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 30%;
}
.spbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.spbtn.active span:nth-of-type(3) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.cmnnav {
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(10px);
  padding: 6rem 2rem;
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  height: 100lvh;
  overflow-y: scroll;
  transition: .5s;
  max-width: 380px;
  width: 100%;
  z-index: 9;
}
.cmnnav.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.cmnnav .splogo {
  max-width: 350px;
  margin-bottom: 3rem;
}
.cmnnav .navlist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cmnnav .navlist li:not(:last-child) a {
  background: #fff;
  display: block;
  opacity: 1;
  overflow: hidden;
  padding: .5rem 2rem .5rem 1rem;
  position: relative;
  width: 100%;
}
.cmnnav .navlist li:not(:last-child) a::before,
.cmnnav .navlist li:not(:last-child) a::after {
  content: '';
  position: absolute;
}
.cmnnav .navlist li:not(:last-child) a::before {
  background: #8FC224;
  transform: translateX(-100%);
  transition: .3s;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.cmnnav .navlist li:not(:last-child) a:hover::before {
  transform: translateX(0);
  transition: .3s;
}
.cmnnav .navlist li:not(:last-child) a:hover span {
  color: #fff;
}
.cmnnav .navlist li:not(:last-child) a .ja {
  transition: .4s;
  position: relative;
}
.cmnnav .navlist li:not(:last-child) a .en {
  color: #8FC224;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  opacity: .3;
  position: absolute;
  bottom: -2px;
  right: 8px;
}
.cmnnav .navlist li:not(:last-child) a:hover .en {
  transform: scale(1.2);
}
.cmnnav .navlist li:not(:last-child) a.nowpage {
  padding-left: 4.5rem;
  position: relative;
}
.cmnnav .navlist li:not(:last-child) a.nowpage::after {
  background: #8FC224;
  top: 20px;
  left: 20px;
  height: 1.5px;
  width: 20px;
}
.cmnnav .navlist li:not(:last-child) a:hover::after {
  background: #fff;
}
.cmnnav .navlist li:last-child a {
  color: #fff;
  font-size: 1.4rem;
  padding-left: 1rem;
}
.cmnnav .navlist li:last-child i {
  font-size: 1.3rem;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .cmnhead .logo {
    top: 10px;
    left: 10px;
    width: 320px;
  }
  .spbtn {
    top: 1.5rem;
    right: 1.5rem;
  }
}

/******************************
footer
******************************/
.cmnfot {
  background: #333333;
  padding: 5rem 0;
}
.fotwrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}
.fotbox1,
.fotbox1 a,
.fotbox2 a,
.fotbox2 p {
  color: #fff;
}
.fotbox1 {
  display: flex;
  align-items: flex-end;
  gap: 4rem;
  margin-bottom: 5rem;
}
.fotbox1 .box1 {
  width: 41%;
}
.fotbox1 .box2 {
  width: 59%;
}
.fotbox1 .flogo {
  max-width: 350px;
  margin-bottom: 2rem;
}
.fotbox1 .box2 .map iframe {
  aspect-ratio: 1/.5;
  height: auto;
  width: 100%;
}
.fotbox2 .fnav1 {
  margin-bottom: 2rem;
}
.fotbox2 .fnav1 ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
}
.fotbox2 .fnav1 li {
  padding-left: 1.5rem;
  position: relative;
}
.fotbox2 .fnav1 li::before {
  color: #fff;
  content: "\f105";
  font: var(--fa-font-solid);
  position: absolute;
  top: 9px;
  left: 0;
}
.fotbox2 .fnav1 li a {
  line-height: 2;
}
.fotbox2 .fnav2 ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
}
.fotbox2 .fnav2 li a {
  font-size: 1.4rem;
}
.fotbox2 .fnav2 li i {
  font-size: 1.3rem;
}
.fotcopy {
  font-size: 1.2rem;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .fotwrap {
    padding: 0 2rem;
  }
  .fotbox1 {
    flex-wrap: wrap;
  }
  .fotbox1 .box1 {
    width: 100%;
  }
  .fotbox1 .box2 {
    width: 100%;
  }
  .fotbox2 .fnav1 ul {
    gap: 1rem;
  }
  .fotbox1 .box2 .map iframe {
    aspect-ratio: 1/.7;
  }
}

/******************************
common
******************************/
.link-txtunder,
.singlecontent a {
  color: #8FC224;
  text-decoration: underline;
}
.link-txtunder:hover,
.singlecontent a:hover {
  text-decoration: none;
}
.singlecontent p,
.txtbox p:not(:last-of-type) {
  margin-bottom: 1rem;
}
.kome li,
.ten li {
  padding-left: 2rem;
  position: relative;
}
.kome li::before,
.ten li::before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
}
.ten li::before {
  content: "・";
}
.anchor {
  scroll-margin-top: 50px;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
}
/******************************
inner
******************************/
.inner1,
.inner2,
.inner3 {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 2rem;
}
.inner2 {
  max-width: 1920px;
}
.inner3 {
  max-width: 1280px;
}
.innernp {
  margin: 0 auto;
  max-width: 1920px;
}
.inner2 .inner1,
.inner2 .inner3,
.inner3 .inner1 {
  padding: 0 !important;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
}

/******************************
flex
******************************/
.flexbox1 {
  display: flex;
  flex-wrap: wrap;
}
.flexbox2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.flexbox3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.flex {
  display: flex;
}
.frr {
  flex-direction: row-reverse;
}
.fac {
  align-items: center;
}
.fast {
  align-items: stretch;
}
.fafe {
  align-items: flex-end;
}
.fafs {
  align-items: flex-start;
}
.fabl {
  align-items: baseline;
}
.fbox,
.ftxtbox,
.fimgbox {
  width: 48%;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .fbox,
  .ftxtbox,
  .fimgbox {
    width: 100%;
  }
}

/******************************
ttl
******************************/
.ttlbox1 {
  margin-bottom: 2rem;
  position: relative;
  text-align: center;
}
.ttlbox1 .ja,
.ttlbox1 .en {
  line-height: 1;
}
.ttlbox1 .ja {
  font-size: 1.8rem;
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: hidden;
  transform: translate(-50%,-30%);
}
.ttlbox1 .ja::before {
  background: #000;
  content: '';
  opacity: 0;
  position: absolute;
  transform: translateX(-100%);
  transition: .5s;
  height: 100%;
  width: 100%;
}
.ttlbox1 .ja.on::before {
  opacity: 1;
  transform: translateX(100%);
}
.ttlbox1 .en {
  color: rgba(0,0,0,.2);
  font-size: 10rem;
  font-weight: 600;
}
.ttlbox2 {
  margin-bottom: 3rem;
}
.ttlbox2 .en,
.ttlbox2 .ja {
  display: inline-block;
  line-height: 1;
}
.ttlbox2 .en {
  background: #8FC224;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  padding: .25rem .5rem;
}
.ttlbox2 .ja {
  font-size: 3.5rem;
  font-weight: 400;
  margin-left: calc((-100vw + 1080px) / 2);
  padding: 0 .75rem .75rem .75rem;
  padding-left: calc((100vw - 1080px) / 2);
  position: relative;
}
.ttlbox2 .ja::before {
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 50%);
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
}
.ttlbox3 {
  border-bottom: 1px solid #181818;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}
.ttlbox3 .en,
.ttlbox3 .ja {
  display: inline-block;
  line-height: 1;
}
.ttlbox3 .ja {
  font-size: 3rem;
}
.ttlbox3 .en {
  padding-left: 4rem;
  position: relative;
}
.ttlbox3 .en::before {
  background: #8FC224;
  content: '';
  position: absolute;
  height: 1px;
  width: 30px;
  top: 10px;
  left: 0;
}
@media only screen and (max-width: 1180px) {
  .ttlbox2 .ja {
    margin-left: -5rem;
    padding-left: 5rem;
  }
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .ttlbox2 .ja {
    font-size: 2.5rem;
  }
  .ttlbox2 .en,
  .ttlbox2 .ja {
    display: inline-block;
    line-height: 1.5;
  }
  .ttlbox3 .ja {
    font-size: 1.8rem;
  }
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .ttlbox1 .en {
    font-size: 7rem;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .ttlbox1 .ja {
    font-size: 1.6rem;
  }
  .ttlbox1 .en {
    color: rgba(0,0,0,.1);
    font-size: 4.5rem;
  }
}

/******************************
btn
******************************/
.morebtn1 a {
  background: rgba(0, 0, 0, .6);
  color: #fff;
  display: inline-block;
  opacity: 1;
  overflow: hidden;
  padding: .5rem 4rem .5rem 2rem;
  position: relative;
}
.morebtn1 a::before {
  color: #fff;
  content: "\f138";
  font: var(--fa-font-solid);
  font-size: 1.4rem;
  position: absolute;
  transition: .5s;
  top: 14px;
  right: 15px;
}
.morebtn1 a:hover::before {
  color: #8FC224;
}
.morebtn1 a::after {
  background: #fff;
  content: '';
  height: 1px;
  width: 100%;
  position: absolute;
  transition: .5s;
  bottom: 2px;
  left: 0;
  transform: translateX(-100%);
}
.morebtn1 a:hover::after {
  transform: translateX(100%);
}

.morebtn2 a:hover {
  background: #fff;
  color: #8FC224;
}
.morebtn2 a::after {
  background: #fff;
  border-radius: 50%;
  color: #8FC224;
  content: "\f04b";
  font: var(--fa-font-solid);
  font-size: 1.2rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: 3px;
  transition: .5s;
}
.morebtn2 a:hover::after {
  background: #8FC224;
  color: #fff;
}
.morebtn2.blk a {
  background: #181818;
  border: 2px solid #181818;
}
.morebtn2.blk a:hover {
  background: #fff;
  color: #181818;
}
.morebtn2.blk a::after {
  background: #fff;
  color: #181818;
}
.morebtn2.blk a:hover::after {
  background: #181818;
  color: #fff;
}

/******************************
newslist
******************************/
.newslist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.newslist li {
  background: #fff;
}
.newslist a {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 1;
  padding: 2rem;
  position: relative;
  width: 100%;
}
.newslist a::after {
  background: #8FC224;
  content: '';
  position: absolute;
  height: 1px;
  width: 0;
  left: 0;
  bottom: 0;
  transition: .5s;
}
.newslist a:hover::after {
  width: 100%;
}
.newslist a .time {
  color: #8FC224;
  font-size: 1.2rem;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .newslist a {
    display: block;
    padding: 1rem 1.5rem;
  }
  .newslist a .cat {
    display: block;
  }
}

/******************************
背景
******************************/
.bg1::before {
  background: url(../images/common/bg_pattern1.webp) no-repeat center / cover;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
}

/******************************
テキストループ
******************************/
.bgtxt::before {
  animation: 20s linear 0s infinite normal none running textloop;
  content: "HG SERVICE RECRUIT SITE HG SERVICE RECRUIT SITE HG SERVICE RECRUIT SITE HG SERVICE RECRUIT SITE HG SERVICE RECRUIT SITE HG SERVICE RECRUIT SITE";
  font-size: 8vw;
  font-weight: bold;
  opacity: .2;
  line-height: 1;
  position: absolute;
  white-space: nowrap;
  width: 100%;
}
@keyframes textloop {
  0% { transform: translateX(0%);}
  100% { transform: translateX(-100%);}
}


/******************************
スクルール連動アニメーション
******************************/
.leftover-box {
  overflow: hidden;
}
.leftover-box .leftover-box-in {
  overflow: hidden;
  position: relative;
  transition-delay: .1s;
  transform: translate3d(-100.5%,0,0);
  transition-delay: 0s;
  transition-duration: 1.5s;
  transition-timing-function: cubic-bezier(.075,.82,.165,1);
  transform-origin: left center;
  transition-property: transform, -webkit-transform;
}
.leftover-box .leftover-box-in::before {
  content: '';
  background: #fff;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: scaleX(1);
  transition-delay: .4s;
  transition-duration: 1.5s;
  transform-origin: right center;
  transition-property: transform, -webkit-transform;
  transition-timing-function: cubic-bezier(.075,.82,.165,1);
  z-index: 5;
}
.leftover-box .leftover-box-in img {
  transform: scale(1);
  transition-duration: 4s;
  transition-property: transform, -webkit-transform;
  transition-timing-function: cubic-bezier(.075,.82,.165,1);
  width: 100%;
}
.leftover-box.animated .leftover-box-in {
  transform: translate3d(0,0,0);
}
.leftover-box.animated .leftover-box-in::before {
  transform: scale(0,1);
}