@charset "utf-8";
.header {
  width: 100%;
  height: 92px;
  padding-top: 25px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.header__inner {
  padding-inline: 20px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__logo {
  height: 47px;
  padding: 0px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #b22517;
  border-radius: 10px;
}

@media screen and (min-width: 1000px) {
  .header__logo {
    height: 65px;
  }
}

.header__logo-ja {
  font-size: clamp(16px, 1.91vw, 26px);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: calc(50 / 1000 * 1em);
  line-height: calc(35.2 / 26);
}

.header__logo-en {
  font-size: clamp(7px, 0.74vw, 10px);
  font-weight: 600;
  letter-spacing: calc(50 / 1000 * 1em);
  line-height: calc(15.2 / 10);
  color: var(--color-white);
}

.header__wrapper {
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  display: none;
}

@media screen and (min-width: 1000px) {
  .header__wrapper {
    display: flex;
    gap: 20px;
  }
}

@media screen and (min-width: 1300px) {
  .header__wrapper {
    gap: 90px;
  }
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__item {
  font-size: clamp(12px, 1.03vw, 14px);
  font-weight: 500;
  letter-spacing: calc(50 / 1000 * 1em);
  line-height: calc(33 / 14);
  color: var(--color-white);
}

.header__button-wrapper {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.header__button-wrapper .header__button-link {
  height: 100%;
}

.header__button {
  display: block;
}

.header__button-link {
  padding: 18px clamp(20px, 2.13vw, 29px);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 500;
  color: var(--color-white);
  background: #da2f1e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
}

.header__button-link:hover {
  background: #b22517;
  color: var(--color-white) !important;
  opacity: 1;
}

.header__button-entry .header__button-link::before {
  content: "";
  background: url(../images/entry-icon.svg) no-repeat center center / contain;
  width: 17px;
  height: auto;
  aspect-ratio: 17/19;
}

.header__button-contact .header__button-link::before {
  content: "";
  background: url(../images/contact-icon.svg) no-repeat center center / contain;
  width: 17px;
  height: auto;
  aspect-ratio: 17/13;
  margin-top: 2px;
}

.open__button {
  position: absolute;
  z-index: 101;
  top: 35px;
  right: 20px;
  z-index: 200;
  width: 30px;
  height: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

@media screen and (min-width: 1000px) {
  .open__button {
    display: none;
  }
}

.open__button.is-open .open__button-bar:nth-of-type(1) {
  transform: rotate(45deg) translate(5px, 10px);
}

.open__button.is-open .open__button-bar:nth-of-type(2) {
  opacity: 0;
  transform: scaleX(0);
}

.open__button.is-open .open__button-bar:nth-of-type(3) {
  transform: rotate(-45deg) translate(6px, -12px);
}

.open__button-bar {
  width: 30px;
  height: 2px;
  background-color: var(--color-white);
  transition: all 0.3s ease;
  transform-origin: center;
  border-radius: 3px;
  position: relative;
}

.drawer {
  position: fixed;
  z-index: 99;
  top: 0;
  right: 0;
  padding: 132px 20px;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.8s ease;
}

.drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  transition: all 0.8s ease;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.drawer__nav-link p {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: calc(50 / 1000 * 1em);
  line-height: calc(33 / 14);
  color: var(--color-white);
}

.drawer .header__button-link p {
  width: 180px;
}
