@charset "UTF-8";

/********** ヘッダー **********/
#header {
  z-index: 9999;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
/* ヘッダーロゴ */
.header_logo-container {
  height: fit-content;
  max-width: 200px;
  position: absolute;
  top: 24px;
  right: calc(50% + 20px);
  transition: all 0.4s;
}
.header_logo-container.fixed-left,
.header_logo-container.scroll {
  position: fixed;
  left: 16px;
  top: 16px;
  max-width: 120px;
}
/* ページ内ナビ */
.fv_gnav {
  position: absolute;
  top: 24px;
  left: calc(50% + 20px);
  transition: all 0.4s;
}
.fv_gnav.fixed-right,
.fv_gnav.scroll {
  display: block;
  position: fixed;
  left: inherit;
  right: 8px;
}
.fv_nav a {
  mix-blend-mode: difference;
}
@media screen and (max-width: 1024px) {
  .header_logo-container {
    display: block !important;
    top: 16px;
    left: 16px;
    right: inherit;
    max-width: 120px;
  }
  .fv_gnav,
  .fv_gnav.scroll {
    display: none;
  }
}

.fv_gnav a.gnav_link {
  color: var(--navyblue);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.fv_gnav a.gnav_link:hover {
  color: var(--accent-brown);
}
/* ヘッダーコンテナ */
.header_container {
  display: inline-flex;
  flex-direction: column;
  position: relative;
  width: 120px;
  z-index: 10000;
  position: fixed;
  right: 0;
  top: calc(50% - 420px / 2);
}
.header_container.scroll {
  box-shadow: -2px 0 4px rgb(29, 93, 114, 0.24), 0 2px 4px rgba(29, 93, 114, 0.24);
}
.header_container.h_container-l {
  right: inherit;
  left: 0;
top: calc(50% - 60px);
}
.header_container .contact_btn {
  font-weight: 500;
  letter-spacing: var(--l-space-50);
  padding: 40px 24px;
  text-align: center;
}
.header_container .contact_btn a {
  color: var(--accent-blue);
}
/* ヘッダーコンテナ内ボタン */
.nav_btn {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.nav_btn.nav_oem a,
.nav_btn.nav_contact a,
.nav_btn.nav_pageEN a,
.nav_btn.nav_shop a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.nav_btn.nav_oem {
  background: var(--accent-blue);
}
.nav_btn.nav_oem a,
.nav_btn.nav_pageEN a {
  color: var(--base-color);
  letter-spacing: var(--l-space-100);
}
.nav_btn.nav_contact {
  background: var(--accent-ybeige);
  padding-top: 12px;
}
.nav_btn.nav_contact img {
  display: flex;
  width: 24px;
  margin-top: 4px;
}
.nav_btn.nav_contact a {
  color: var(--accent-blue);
}
.nav_btn.nav_pageEN {
  aspect-ratio: 2 / 1;
}
.nav_btn.nav_pageEN {
  background: var(--sub-color);
}
.nav_btn.nav_shop {
  background: var(--navyblue);
}
.nav_btn.nav_shop p {
  text-align: center;
}
.nav_btn.nav_shop a {
  color: var(--accent-ybeige);
  position: relative;
}
.ur-arrow_box {
  position: absolute;
  bottom: 8px;
  right: 0;
  width: 20px;
}
.ur-arrow {
  position: relative;
  display: inline-block;
}
.ur-arrow::before,
.ur-arrow::after {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}
.ur-arrow::before {
  width: 1rem;
  height: 2px;
  background: var(--accent-ybeige);
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  transition: all 0.3s;
}
.nav_btn.nav_shop a:hover .ur-arrow::before {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  transition: all 0.3s;
}
.ur-arrow::after {
  left: 3px;
  top: -2px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--accent-ybeige);
  border-right: 2px solid var(--accent-ybeige);
  transition: all 0.3s;
}
.nav_btn.nav_shop a:hover .ur-arrow::after {
  -webkit-transform: rotate(45deg);
  transform: translateY(1px) rotate(45deg);
  transition: all 0.3s;
}
/* gnav in hamburger menu */
.gnav.nav_btn {
  background: var(--base-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-around;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}
.gnav.nav_btn.is_active {
  opacity: 1;
  visibility: visible;
  transition: all 0.4s;
  z-index: -1;
}
.gnav.nav_btn .gnav_container {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 12vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 78vh;
}
.gnav.nav_btn li {
  list-style: none;
  margin-bottom: 1rem;
}
.gnav.nav_btn li a {
  text-decoration: none;
  text-transform: none;
  display: inline-block;
}
.gnav.nav_btn h3 {
  color: var(--accent-blue);
  line-height: 1;
}
.gnav.nav_btn p {
  letter-spacing: var(--l-space-100);
  color: var(--sub-color);
  transition: all 0.3s;
}
.gnav.nav_btn li a:hover p {
  color: var(--font-color);
  transition: all 0.25s;
}
@media screen and (max-width: 500px) {
  .gnav.nav_btn .gnav_container {
    top: 18vh;
  }
  .gnav.nav_btn h3.font_headline-48 {
    font-size: 1.5rem;
  }
  .gnav.nav_btn p {
    font-size: 0.75rem;
  }
}
/********** トグルボタン **********/
.toggle {
  display: block;
  position: relative;
  /* position: fixed; */
  z-index: 1000; /*ボタンを最前面に*/
  /* top: 0px;
  right: 0px; */
  cursor: pointer;
  /* width: 92.8px;
  height: 88px; */
  background: var(--accent-brown);
}

/*×に変化*/
.toggle span {
  display: inline-block;
  transition: all 0.3s;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  border-radius: 1px;
  background-color: var(--navyblue);
  width: 32%;
}

.toggle span:nth-of-type(1) {
  top: 50px;
}
.toggle span:nth-of-type(2) {
  top: 60px;
}

.toggle span:nth-of-type(3) {
  bottom: 50px;
}

.toggle.is_active span:nth-of-type(1) {
  top: 60px;
  left: 56px;
  transform: translateX(-12px) rotate(-135deg);
}

.toggle.is_active span:nth-of-type(2) {
  opacity: 0;
}

.toggle.is_active span:nth-of-type(3) {
  top: 60px;
  left: 44px;
  transform: rotate(135deg);
}
/********** トグルボタン ここまで **********/
@media screen and (max-width: 1280px) {
  .header_container {
    width: 96px;
    font-size: 0.875rem;
  }
  .toggle span:nth-of-type(1) {
    top: calc(50px * (0.96 / 1.2));
  }
  .toggle span:nth-of-type(2) {
    top: calc(60px * (0.96 / 1.2));
  }
  .toggle span:nth-of-type(3) {
    bottom: calc(48px * (0.96 / 1.2));
  }
  .toggle.is_active span:nth-of-type(1) {
    top: 48px;
    left: 46px;
  }
  .toggle.is_active span:nth-of-type(3) {
    top: 48px;
    left: 34px;
  }
}
@media screen and (max-width: 1024px) {
  .header_container.scroll {
    box-shadow: -2px 0 4px rgb(29, 93, 114, 0.24), 0 2px 4px rgba(29, 93, 114, 0.24);
    width: 96px;
    font-size: 0.875rem;
    transform: initial;
    top: 1rem;
    transition: 0.3s;
  }
  .header_container.h_container-l.scroll {
    display: none;
  }
  .nav_btn.nav_contact {
    padding-top: 0;
  }
  .nav_btn.nav_contact img {
    margin-top: 0;
  }

  .header_container.h_container-r,
  .header_container.h_container-r.scroll {
    flex-direction: row;
    width: 300px;
    transform: inherit;
    top: 16px;
  }
  .header_container.h_container-l {
    display: none;
  }
  .toggle span:nth-of-type(1),
  .header_container.scroll .toggle span:nth-of-type(1) {
    top: 21.5px;
  }
  .toggle span:nth-of-type(2),
  .header_container.scroll .toggle span:nth-of-type(2) {
    top: 50%;
  }
  .toggle span:nth-of-type(3),
  .header_container.scroll .toggle span:nth-of-type(3) {
    bottom: 20.5px;
  }
  .toggle.is_active span:nth-of-type(1),
  .header_container.scroll .toggle.is_active span:nth-of-type(1) {
    top: 31px;
    left: 32px;
  }
  .toggle.is_active span:nth-of-type(3),
  .header_container.scroll .toggle.is_active span:nth-of-type(3) {
    top: 31px;
    left: 20px;
  }
  .nav_btn.nav_shop img {
    width: 24px;
  }
}
@media screen and (max-width: 500px) {
  .header_logo-container {
    max-width: 88px;
    width: 20vw;
    min-width: 56px;
  }
  .header_container.h_container-r,
  .header_container.h_container-r.scroll {
    width: 220px;
  }
  .toggle span:nth-of-type(1),
  .header_container.scroll .toggle span:nth-of-type(1) {
    top: 22.5px;
  }
  .toggle span:nth-of-type(3),
  .header_container.scroll .toggle span:nth-of-type(3) {
    bottom: 21.5px;
  }
  .nav_btn.nav_pageEN {
    width: 40px;
    padding: 8px;
  }
}
