@charset "UTF-8";
/* ------------------------------------ */
/* ---- header.php for front-page ---- */
/* ----------------------------------- */
#header {
  position: fixed;
  z-index: 9999;
}
.header__all.header__wrapper.panelactive {
  height: calc(var(--vh) * 100);
  height: 100vh;
}
.header__logo--box {
  color: var(--base-white);
}
.header__logo {
  padding: 24px;
  width: 136px;
  transition: all 0.3s ease-in-out;
}
.header__logo img {
  object-fit: cover;
  width: 100%;
}
.header__logo.scroll {
  width: 120px !important;
}
.header__container {
  align-items: center;
  color: var(--base-white);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  position: fixed;
  right: 0;
  top: 0;
  width: 94px;
}
.bg__red {
  background: #d90000;
  height: 320px;
  width: 100%;
}
.header__container.panelactive {
  background: transparent;
  transition: all 0.3s 0s ease-in-out;
}
.header__subcontainer {
  margin-top: 32px;
}
/* ハンバーガーメニューボタン */
.openbtn__box {
  align-items: center;
  display: flex;
  height: 80px;
  justify-content: center;
  width: 100%;
}
.openbtn {
  cursor: pointer;
  height: 50px;
  position: relative;
  width: 50px;
  z-index: 1;
}
.openbtn span {
  background-color: var(--base-white);
  border-radius: 1.2px;
  display: inline-block;
  height: 1.2px;
  position: absolute;
  transition: all 0.3s ease-in-out;
}
.openbtn span:nth-of-type(1) {
  top: 30%;
  width: 60%;
}
.openbtn span:nth-of-type(2) {
  top: 50%;
  width: 80%;
}
.openbtn span:nth-of-type(3) {
  top: 70%;
  width: 100%;
}
.openbtn.active span {
  width: 60%;
}
.openbtn.active span:nth-of-type(1) {
  border-radius: 1.2px;
  height: 1.2px;
  top: 50%;
  left: 8px;
  transform: translateY(-50%) rotate(45deg);
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  border-radius: 1.2px;
  height: 1.2px;
  top: 48%;
  left: 8px;
  transform: translateY(50%) rotate(-45deg);
}

/*ナビゲーション*/
.gnav {
  background-image: url(../images/top/cover__img--01.jpg);
  background-position: left bottom;
  background-size: cover;
  flex-direction: column;
  opacity: 0;
  position: fixed;
  top: 0;
  right: -100%;
  width: calc(var(--vw) * 100);
  transition: all 0.3s ease-in-out;
}
.gnav::before {
  background-color: rgba(17, 17, 17, 0.48);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  width: calc(var(--vw) * 100);
  z-index: -1;
}
.gnav.panelactive {
  height: 100%;
  width: 100%;
  opacity: 1;
  z-index: -2;
  right: 0;
  display: flex;
  transition: all 0.3s;
}
.gnav ul {
  display: block;
  font-size: 1.625rem;
  font-weight: 700;
  margin-block-start: 0;
  margin-block-end: 0;
  opacity: 0;
  padding-inline-start: 0;
  position: absolute;
  right: 8%;
  top: 32%;
  transform: translate(-50%, -50%);
}
.gnav.panelactive ul {
  opacity: 1;
}
.gnav li {
  letter-spacing: 0.125em;
  list-style: none;
  margin-bottom: 24px;
  min-width: 350px;
  padding-left: 0;
  text-indent: 0;
}
.gnav li a {
  color: var(--base-white);
  display: flex;
  padding: 10px;
}
.gnav li a:visited {
  color: var(--base-white);
}
.gnav__company-info {
  bottom: 2%;
  display: flex;
  position: absolute;
  right: 10%;
}
.company-info--container {
  margin-left: 68px;
}
.gnav__company-info .logo__wrap {
  width: 100%;
  height: 100%;
}
.gnav__company-info .logo__wrap img {
  aspect-ratio: 124 / 100;
  height: 100%;
}
.header__subcontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header__ico {
  margin-bottom: 32px;
  width: 28px;
}
.header__ico img {
  width: 100%;
  object-fit: cover;
}
p.header__copy {
  writing-mode: vertical-lr;
  margin: 24px 0;
}
p.header__copy span {
  display: inline-block;
  line-height: 0.8;
  transform: rotate(90deg);
}

/* device width under 1024px 表示 ボトムナビ*/
.ft__nav--u1024 {
  display: none;
  height: 60px;
  width: calc(var(--vw) * 100);
}

/* --------------------------------------- */
/* ------------ メディアクエリ ------------ */
/* --------------------------------------- */
@media screen and (width > 1024px) and (width< 1160px) {
  .header__container {
    width: 88px;
  }
  .bg__red {
    height: 280px;
  }
  .header__subcontainer {
    margin-top: 24px;
  }
  .header__ico {
    width: 24px;
  }
  .overft__nav--box.overft__nav--prev,
  .overft__nav--box.contact__box.box__recruit {
    width: 46%;
  }
  .overft__nav--box.overft__nav--next {
    width: 54%;
  }
}
@media screen and (width <= 1024px) {
  /* header */
  .header__container {
    display: none;
  }
  .gnav__inner {
    position: absolute;
    top: 50%;
    right: 4%;
    transform: translateY(-50%);
  }
  .gnav ul {
    position: initial;
    transform: initial;
    padding-left: 160px;
  }
  .gnav__company-info {
    position: initial;
    margin-top: 16%;
    margin-left: -24px;
  }
  .logo__wrap {
    max-width: 160px;
  }
  /* device width under1024px 表示 ボトムナビ */
  .ft__nav--u1024 {
    background-color: var(--corporate-red);
    bottom: 0;
    display: flex;
    flex-direction: row;
    height: 80px;
    padding: 0 2.4%;
    position: sticky;
    position: -webkit-sticky; /* Safari */
    width: calc(var(--vw) * 100);
    z-index: 9999;
  }
  .ft__nav--u1024 .header__subcontainer {
    width: auto;
    margin-top: 0;
  }
  .ft__nav--u1024 .header__icons--box {
    align-items: center;
    display: flex;
  }
  .ft__nav--u1024 .header__ico {
    margin: 0 12px;
  }
  .ft__nav--u1024 .header__hwtext--gogl {
    color: var(--base-white);
    bottom: 40%;
    display: inline-block;
    font-family: "santelia-script", sans-serif;
    font-weight: 400;
    position: absolute;
    right: 18%;
    rotate: 345deg;
    white-space: nowrap;
  }
  .ft__nav--u1024 .header__hwtext--gogl.scroll {
    color: var(--base-gray);
    opacity: 0.64;
  }
  .ft__nav--u1024.header__container.panelactive .header__hwtext--gogl {
    color: var(--base-gray);
  }
  .ft__nav--u1024 .header__copy {
    display: none;
  }
  .ft__nav--u1024 .openbtn__box {
    height: 60px;
    width: auto;
  }
}
@media screen and (width <= 768px) {
  .header__logo {
    max-width: 220px;
    min-width: 160px;
    width: 40vw;
  }
  .gnav {
    background-image: url(../images/top/SP__cover__img--01.jpg);
  }
  .gnav__company-info {
    font-size: 0.875rem;
  }
  .gnav ul {
    font-size: 1.25rem;
  }
  .gnav ul li {
    min-width: auto;
    margin-bottom: 0;
  }

  .company-info--container {
    margin-left: 48px;
  }
  .gnav__company-info .logo__wrap img {
    margin-right: 24px;
  }
}
@media screen and (width <= 500px) {
  .header__logo {
    width: 24vw;
    min-width: 100px;
    max-width: 160px;
  }
}
@media screen and (width <= 390px) {
  .gnav ul {
    padding-left: 0;
  }
  .gnav__company-info {
    flex-direction: column;
    margin-left: 0;
  }
  .company-info--container {
    margin-left: 0;
    margin-top: var(--px-16);
  }
  .ft__nav--u1024 .header__hwtext--gogl {
    font-size: var(--px-16);
    bottom: 65%;
    right: 12%;
  }
}
