:root {
  --cl-yellow: #F7B307;
}

.sp {
  display: none;
}

.pc {
  display: block;
}

.telhref2 {

}

@media screen and (max-width: 767px) {
  .telhref {
    touch-action: auto;
    pointer-events: all;
  }

  .sp {
    display: block;
  }

  .pc {
    display: none;
  }
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
    width: auto;
  }
}

#header {
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header h1 {
  width: 345px;
  margin-left: 50px;
}

#header .headernav {
  display: flex;
  gap: 31px;
  padding-right: 50px;
}

#header .headernav a {
  font-size: 13px;
}

#header .headernav a.active,
#header .headernav a:hover {
  color: var(--cl-yellow);
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  #header {
    background: #fff;
    flex-direction: column;
  }

  #header h1 {
    width: 241px;
    margin-left: 0px;
    padding: 15px 0;
  }

  #header .headernav {
    padding-right: 0;
    background: #F9F4E1;
    justify-content: center;
    width: 100%;
    gap: 21px;
  }

  #header .headernav a {
    font-size: 12px;
    line-height: 1;
    padding: 4px 0;
  }

.home #header .headernav {
  background: none;
}

  .home.has-nav #header .headernav {
  background: #F9F4E1;
  }

}


.home #header {
  background: none;
}

.home.has-nav #header {
  background: #fff;
}

img {
  width: 100%;
  height: auto;
}

#footer {
  background: url("../img/index/footer_bg.webp") no-repeat center center/cover;
  padding: 82px 20px;
}

#footer .footer-container {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

#footer .footer-right {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#footer .footer-right .contact-box {
  background-color: var(--cl-yellow);
  padding: 30px;
  color: #ffffff;
}

#footer .footer-right .contact-box .box-title {
  font-size: 36px;
  margin: 0 0 6px 0;
  letter-spacing: 0.05em;
  font-family: "D-DIN DIN-Bold";
  line-height: 1;
}

#footer .footer-right .contact-box .box-desc {
  font-size: 15px;
  margin: 0 0 5px 0;
  line-height: 144%;
}

#footer .footer-right .contact-box .main-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFDF34;
  color: #231815;
  text-decoration: none;
  font-family: "Zen Kaku Gothic Antique Bold";
  padding: 32px;
  font-size: 20px;
  border-radius: 2px;
  position: relative;
  transition: background-color 0.2s;
}

#footer .footer-right .contact-box .main-btn::after {
  content: "";
  background: url("../img/index/arrow03.webp") no-repeat center;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  background-size: 100% auto;
}

#footer .footer-right .contact-box .main-btn:hover {
  background-color: #ffca18;
}

#footer .footer-right .recruit-box {
  display: flex;
  background-color: #ffffff;
  border: 1px solid var(--cl-yellow);
  text-decoration: none;
  color: #231815;
  transition: opacity 0.2s;
  justify-content: space-between;
}

#footer .footer-right .recruit-box:hover {
  opacity: 0.5;
}

#footer .footer-right .recruit-box .recruit-left {
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 17px;
}

#footer .footer-right .recruit-box .recruit-left .recruit-icon {
  width: 54px;
  height: 56px;
}

#footer .footer-right .recruit-box .recruit-left .recruit-header {
  margin-bottom: 0;
}

#footer .footer-right .recruit-box .recruit-left .recruit-header .recruit-title {
  font-size: 24px;
  color: var(--cl-yellow);
  letter-spacing: 0.05em;
  display: block;
  width: 100%;
  margin-bottom: 2px;
}

#footer .footer-right .recruit-box .recruit-left .recruit-header .recruit-desc {
  font-size: 17px;
  line-height: 144%;
  font-family: "Zen Kaku Gothic Antique Bold";
  margin: 0;
  width: 83%;
}

#footer .footer-right .recruit-box .recruit-right-tag {
  background-color: var(--cl-yellow);
  width: 113px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
}

#footer .footer-right .recruit-box .recruit-right-tag span {
  display: block;
  position: relative;
  padding-bottom: 41px;
}

#footer .footer-right .recruit-box .recruit-right-tag span::after {
  content: "";
  background: url("../img/index/icon_data.webp") no-repeat center;
  background-size: 100% auto;
  width: 15px;
  height: 15px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
}

#footer .footer-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#footer .footer-left .company-info {
  margin-bottom: 30px;
}

#footer .footer-left .company-info .company-logo {
  margin: 0 0 47px 0;
  width: 414px;
}

#footer .footer-left .company-info .company-details {
  font-size: 14px;
  text-align: left;
  line-height: 160%;
}

#footer .footer-left .company-info .company-details p {
  margin: 0;
}

#footer .footer-left .company-info .company-details p+p {
  margin-top: 8px;
}

#footer .footer-left .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

#footer .footer-left .footer-menu li {
  margin-bottom: 3px;
}

#footer .footer-left .footer-menu li a {
  display: inline-block;
  text-decoration: none;
  font-size: 16px;
  color: #231815;
  transition: color 0.2s;
  position: relative;
  padding-left: 22px;
}

#footer .footer-left .footer-menu li a::before {
  content: "";
  background: url("../img/index/arrow.webp") no-repeat center;
  background-size: 100% auto;
  width: 14px;
  height: 14px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  bottom: 20px;
  filter: brightness(0) invert(0);
  left: 0;
}

#footer .footer-left .footer-menu li a.active::before,
#footer .footer-left .footer-menu li a:hover::before {
  filter: none;
}

#footer .footer-left .copyright {
  font-size: 10px;
  color: #867D7B;
  margin: 0;
  letter-spacing: 0;
}

@media screen and (max-width: 767px) {
  #footer {
    background: url("../img/index/footer_bg_sp.webp") no-repeat center center/cover;
    padding: 42px 0px 60px;
  }

  #footer .footer-container {
    display: block;
  }

  #footer .footer-right {
    gap: 10px;
    margin-bottom: 43px;
    max-width: 100%;
  }

  #footer .footer-right .contact-box {
    padding: 18px;
  }

  #footer .footer-right .contact-box .box-title {
    font-size: 20px;
    margin: 0 0 6px 0;
    letter-spacing: 0.05em;
  }

  #footer .footer-right .contact-box .box-desc {
    font-size: 12px;
    margin: 0 0 10px 0;
  }

  #footer .footer-right .contact-box .main-btn {
    padding: 15px;
    font-size: 14px;
  }

  #footer .footer-right .contact-box .main-btn::after {
    width: 15px;
    height: 15px;
    right: 20px;
  }

  #footer .footer-right .recruit-box .recruit-left {
    padding: 3px 17px;
    gap: 11px;
  }

  #footer .footer-right .recruit-box .recruit-left .recruit-icon {
    width: 35px;
    height: 35px;
  }

  #footer .footer-right .recruit-box .recruit-left .recruit-header {
    margin-bottom: 0;
  }

  #footer .footer-right .recruit-box .recruit-left .recruit-header .recruit-title {
    font-size: 12px;
    line-height: 1;
  }

  #footer .footer-right .recruit-box .recruit-left .recruit-header .recruit-desc {
    font-size: 10px;
    width: 79%;
  }

  #footer .footer-right .recruit-box .recruit-right-tag {
    width: 67px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  #footer .footer-right .recruit-box .recruit-right-tag span {
        padding-bottom: 27px;
        padding-top: 11px;
  }

  #footer .footer-right .recruit-box .recruit-right-tag span::after {
    width: 9px;
    height: 9px;
    bottom: 20px;
  }

  #footer .footer-left {
    display: block;
  }

  #footer .footer-left .company-info {
    margin-bottom: 14px;
  }

  #footer .footer-left .company-info .company-logo {
    margin: 0 0 41px 0;
    width: 84%;
  }

  #footer .footer-left .footer-menu {
    margin: 0 0 15px 0;
  }

  #footer .footer-left .copyright {
    margin: auto 0 0 0;
    line-height: 1;
    letter-spacing: 0;
  }
}

.mainheading {
  text-align: center;
  margin-bottom: 36px;
}

.mainheading .heading-title {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 22px;
}

.mainheading .heading-title-sub {
  color: var(--cl-yellow);
  margin-bottom: 44px;
  font-size: 24px;
}

.mainheading .heading-desc {
  font-size: 16px;
  line-height: 160%;
}

@media screen and (max-width: 767px) {
  .mainheading {
    padding-top: 0;
    margin-bottom: 21px;
  }

  .mainheading .heading-title {
    font-size: 36px;
    margin-bottom: 7px;
  }

  .mainheading .heading-title-sub {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .mainheading .heading-desc {
    font-size: 15px;
    text-align: left;
  }
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
  #footer .footer-container {
    gap: 20px;
  }

  #footer .footer-right .contact-box {
    padding: 20px;
  }

  #footer .footer-right .recruit-box .recruit-left .recruit-header .recruit-desc {
    width: 100%;
  }

  #footer .footer-left {
    width: 45%;
  }

  #footer .footer-left .company-info .company-logo {
    width: 100%;
  }

  #footer .footer-right {
    width: 52%;
  }

  #footer .footer-right .recruit-box .recruit-left {
    padding: 14px 10px 14px 20px;
  }

  #header h1 {
    width: 250px;
    margin-left: 20px;
  }

}