@charset "utf-8";

.header {
  width: 100%;
  position: relative;
  z-index: 100;
  background: #fff;
  border-bottom: 3px solid var(--color-base);
}

.header__inner {
  padding-inline: 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

@media screen and (min-width: 768px) {
  .header__inner {
    padding-inline: 42px 69px;
    margin-inline: auto;
  }
}

.header__logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-right: 32px;
}

@media screen and (min-width: 768px) {
  .header__logo-wrapper {
    padding-right: 62px;
    border-right: 3px solid var(--color-base);
  }
}

.header__logo-wrapper h1{
  font-size: 1px;
  opacity: 0;
}

.header__logo {
  display: block;
  padding-block: 38px 32px;
  aspect-ratio: 230/110;
  width: clamp(150px, 16.84vw, 230px);
  height: auto;
}

.header__logo img {
  aspect-ratio: 230/110;
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: auto;
}

.header__wrapper {
  padding-block: 35px 22px;
  display: none;
  align-items: start;
  gap: 72px;
  justify-content: flex-end;
}

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

.header__sns {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__nav {
  display: flex;
  align-items: start;
  gap: 52px;
}

.header__nav-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.header__item p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: calc(80 / 1000 * 1em);
  line-height: calc(23 / 16);
}

.header__open-button {
  position: absolute;
  top: 54px;
  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: 768px) {
  .header__open-button {
    display: none;
  }
}

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

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

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

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

.header__drawer {
  position: fixed;
  overflow-y: scroll;
  z-index: 99;
  top: 0;
  right: 0;
  padding: 195px 15px 40px;
  width: 100%;
  height: 100%;
  background: #fff;
  text-align: center;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.8s ease;
}

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

.header__drawer .header__sns {
  justify-content: center;
  gap: 24px;
}

.header__drawer .header__instagram,
.header__drawer .header__x {
  width: 30px;
}

.header__drawer .header__ticktock {
  width: 30px;
}

.header__drawer-list {
  margin-top: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.header__drawer-item p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: calc(80 / 1000 * 1em);
  line-height: 1.4;
}
