@charset "UTF-8";

/********** ヘッダー **********/
#header {
  z-index: 9999;
  position: fixed;
  right: 0;
  top: 0;
  width: 100dvw;
  width: 100%;
  display: flex;
  justify-content: space-between;
  /* height: 100dvh;
  height: 100svh; */
}
/* ヘッダーロゴ */
.header_logo-container {
  display: flex;
  height: fit-content;
  width: 10vw;
  min-width: 100px;
  max-width: 120px;
  position: absolute;
  top: 1rem;
  left: 1rem;
  transition: all 0.4s;
}
.header_logo-container.scroll {
  max-width: 100px;
}
/* ヘッダーコンテナ */
.header_container {
  display: inline-flex;
  flex-direction: column;
  position: relative;
  width: 120px;
  z-index: 10000;
  position: fixed;
  right: 0;
  transform: translateY(-50%);
  top: 50%;
}
.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 .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_pageJP 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_pageJP 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_pageJP {
  aspect-ratio: 2 / 1;
  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);
  background-image: url(../../../../../..//images/02_top/en_cover.png);
  background-size: cover;
  background-position: 50% 100%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  height: 100svh;
  justify-content: space-around;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.gnav.nav_btn.is_active {
  opacity: 1;
  visibility: visible;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 8%;
  padding-right: calc(96px + 10%);
}
.gnav.nav_btn .gnav_container {
  backdrop-filter: blur(3.2px);
  padding: 80px;
}
.gnav.nav_btn li {
  list-style: none;
}
.gnav.nav_btn li a {
  text-decoration: none;
  text-transform: none;
  display: inline-block;
  margin-bottom: 40px;
}
.gnav.nav_btn h3 {
  color: var(--accent-blue);
  line-height: 1;
}
.gnav.nav_btn li a:hover h3 {
  color: var(--accent-brown);
}
@media screen and (max-width: 768px) {
  .gnav.nav_btn {
    background-image: url(../../../../../..//images/02_top/en_cover-uTab.png);
  }
  .gnav.nav_btn.is_active {
    padding-right: 0;
    height: 100dvh;
  }
}
/********** トグルボタン **********/
.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: 1.6px;
  border-radius: 1.6px;
  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);
}
/* スクロール時 */
.header_container.scroll .toggle span:nth-of-type(1) {
  top: calc(50px * (0.96 / 1.2));
}
.header_container.scroll .toggle span:nth-of-type(2) {
  top: calc(60px * (0.96 / 1.2));
}
.header_container.scroll .toggle span:nth-of-type(3) {
  bottom: calc(48px * (0.96 / 1.2));
}
.header_container.scroll .toggle.is_active span:nth-of-type(1) {
  top: 48px;
  left: 45px;
}
.header_container.scroll .toggle.is_active span:nth-of-type(3) {
  top: 48px;
  left: 34px;
}
.gnav_co-info {
  padding-top: 40px;
}
a.gnav_logo {
  width: 32%;
  max-width: 120px;
  min-width: 100px;
}
.gnav_corporate-info {
  margin-top: 16px;
}
.gnav_co-address img.map_ico {
  width: 16px;
}
/********** トグルボタン ここまで **********/

@media screen and (min-width: 1280px) {
  .gnav.nav_btn.is_active {
    justify-content: center;
    padding-top: 0;
  }
}
@media screen and (max-width: 1140px) {
  .header_container {
    transform: initial;
    top: 1rem;
    width: 96px;
  }
  .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: 48px;
  }
  .toggle.is_active span:nth-of-type(3) {
    top: 48px;
    left: 36px;
  }
}
@media screen and (max-width: 1024px) {
  .nav_btn.nav_contact img {
    margin-top: 0;
  }
}

@media screen and (max-height: 800px) {
  .gnav.nav_btn li a {
    margin-bottom: 24px;
  }
  .gnav.nav_btn h3 {
    font-size: 1.25rem;
  }
}
@media screen and (max-width: 768px) {
  .header_container,
  .header_container.scroll {
    flex-direction: row;
    width: 240px;
  }
  .toggle span:nth-of-type(1),
  .header_container.scroll .toggle span:nth-of-type(1) {
    top: 24px;
  }
  .toggle span:nth-of-type(2),
  .header_container.scroll .toggle span:nth-of-type(2) {
    top: calc(60px * (0.62 / 1.2));
  }
  .toggle span:nth-of-type(3),
  .header_container.scroll .toggle span:nth-of-type(3) {
    bottom: 20px;
  }
  .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_contact {
    padding-top: 0;
  }
  .nav_btn.nav_contact img {
    margin-top: 0;
  }
}
@media screen and (max-width: 500px) {
}
@media screen and (max-width: 360px) {
  .header_logo-container,
  .header_logo-container.scroll {
    max-width: inherit;
    min-width: 56px;
    width: 20vw;
    left: 0.75rem;
  }
  .header_container,
  .header_container.scroll {
    width: 200px;
  }
  .toggle span:nth-of-type(1),
  .header_container.scroll .toggle span:nth-of-type(1) {
    top: 20px;
  }
  .toggle span:nth-of-type(2),
  .header_container.scroll .toggle span:nth-of-type(2) {
    top: calc(50% + 1px);
  }
  .toggle span:nth-of-type(3),
  .header_container.scroll .toggle span:nth-of-type(3) {
    bottom: 16px;
  }
  .toggle.is_active span:nth-of-type(1),
  .header_container.scroll .toggle.is_active span:nth-of-type(1) {
    top: 26px;
    left: 27px;
}
.toggle.is_active span:nth-of-type(3),
  .header_container.scroll .toggle.is_active span:nth-of-type(3) {
    top: 26px;
    left: 16px;
  }
/* height media query */
@media screen and (max-height: 1000px) {
  .gnav.nav_btn li a {
    margin-bottom: 24px;
  }
}
@media screen and (max-height: 800px) {
  ul.gnav_list {
    display: flex;
    flex-wrap: wrap;
  }
  .gnav.nav_btn li {
    width: 33%;
  }
  .gnav.nav_btn h3 {
    letter-spacing: 0.05em;
  }
  .gnav_co-info {
    display: flex;
  }
  .gnav_corporate-info {
    margin-top: 0;
    margin-left: 24px;
  }
}

@media screen and (max-height: 800px) and (max-width: 700px) {
  .gnav.nav_btn .gnav_container {
    padding: 96px 40px;
  }
  .gnav.nav_btn li {
    width: 48%;
  }
}
