@charset "utf-8";

/* header
--------------------------------------------------- */
.site-header {
  position: fixed;
  z-index: 1000;
  width: 100%;
  background: transparent;
  color: #fff;
}

.site-header__inner {
  position: relative;
  height: 159px;
  padding: 32px 37px;
  box-sizing: border-box;
}

.site-header__inner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 170px;
  height: 145px;
  background: #000;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  pointer-events: none;
}

/* logo
--------------------------------------------------- */
.site-header__logo {
  position: relative;
  z-index: 1002;
  width: 156px;
}

.site-header__logo a {
  display: block;
  transition: opacity 0.3s ease;
}

.site-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* menu button
--------------------------------------------------- */
.site-header__menu-button {
  position: absolute;
  right: 30px;
  top: 24px;
  z-index: 1003;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  width: 38px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-header__menu-button span {
  display: block;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: #f92060;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background 0.3s ease;
}

/* drawer
--------------------------------------------------- */
.site-header__drawer {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.site-header__drawer-inner {
  width: 460px;
  max-width: 88vw;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 100px 42px 60px;
  background: #000;
  box-sizing: border-box;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

/* drawer nav
--------------------------------------------------- */
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.drawer-nav__group {
  min-width: 0;
}

.drawer-nav__label {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.45);
  font-family: "Prompt", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
}

.drawer-nav__list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer-nav__list li {
  margin: 0;
  padding: 0;
}

.drawer-nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "Prompt", "Noto Sans JP", sans-serif;
  font-style: normal;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.drawer-nav__list a::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 9px;
  height: 14px;
  background: url("../images/arrow-ic001.svg") center / contain no-repeat;
  transition: transform 0.3s ease;
}

/* drawer contact
--------------------------------------------------- */
.drawer-contact {
  display: grid;
  gap: 12px;
}

.drawer-contact__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 16px 20px;
  border-radius: 14px;
  color: #000;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.drawer-contact__button--entry {
  background: #fff000;
}

.drawer-contact__button--other {
  background: #39cfff;
}

.drawer-contact__button--line {
  background: #06c755;
  color: #fff;
}

.drawer-contact__body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.drawer-contact__en {
  font-family: "Prompt", "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
}

.drawer-contact__jp {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.drawer-contact__arrow {
  display: block;
  flex: 0 0 auto;
  width: 16px;
  height: 10px;
  background: url("../images/arrow-ic002.svg") center / contain no-repeat;
  filter: brightness(0);
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.drawer-contact__button--line .drawer-contact__arrow {
  filter: brightness(0) invert(1);
}

/* open
--------------------------------------------------- */
body.is-drawer-open {
  overflow: hidden;
}

body.is-drawer-open .site-header__drawer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.is-drawer-open .site-header__drawer-inner {
  transform: translateX(0);
}

body.is-drawer-open .site-header__menu-button span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

body.is-drawer-open .site-header__menu-button span:nth-child(2) {
  opacity: 0;
}

body.is-drawer-open .site-header__menu-button span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

/* hover
--------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .site-header__logo a:hover {
    opacity: 0.7;
  }

  .site-header__menu-button:hover span {
    background: #fff;
  }

  .drawer-nav__list:has(a:hover) a {
    opacity: 0.35;
  }

  .drawer-nav__list:has(a:hover) a:hover {
    opacity: 1;
  }

  .drawer-nav__list a:hover::before {
    transform: translateX(5px);
  }

  .drawer-contact__button:hover {
    transform: translateY(-3px);
    background: #fff;
    color: #000;
  }

  .drawer-contact__button:hover .drawer-contact__arrow,
  .drawer-contact__button--line:hover .drawer-contact__arrow {
    filter: brightness(0);
    transform: translateX(5px);
  }
}

/* tablet：1024px以下
--------------------------------------------------- */
@media screen and (max-width: 1024px) {
  .site-header__inner {
    height: 140px;
    padding: 30px 36px;
  }

  .site-header__inner::before {
    width: 155px;
    height: 132px;
  }

  .site-header__logo {
    width: 150px;
  }

  .site-header__menu-button {
    right: 30px;
    top: 34px;
  }

  .site-header__drawer-inner {
    width: 430px;
    max-width: 88vw;
    padding: 124px 38px 56px;
  }

  .drawer-nav {
    gap: 44px;
  }

  .drawer-nav__list a {
    font-size: 22px;
  }

  .drawer-contact__button {
    min-height: 66px;
  }

  .drawer-contact__en {
    font-size: 19px;
  }
}

/* smartphone：767px以下
--------------------------------------------------- */
@media screen and (max-width: 767px) {
  .site-header__inner {
    height: 100px;
    padding: 28px 24px;
  }

  .site-header__inner::before {
    width: 128px;
    height: 112px;
  }

  .site-header__logo {
    width: 132px;
  }

  .site-header__menu-button {
    right: 24px;
    top: 31px;
    gap: 8px;
    width: 34px;
    height: 30px;
  }

  .site-header__menu-button span {
    width: 34px;
    height: 3px;
  }

  .site-header__drawer-inner {
    width: 360px;
    max-width: 88vw;
    padding: 116px 28px 56px;
  }

  .drawer-nav {
    gap: 40px;
  }

  .drawer-nav__label {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .drawer-nav__list {
    gap: 22px;
  }

  .drawer-nav__list a {
    gap: 9px;
    font-size: 19px;
  }

  .drawer-nav__list a::before {
    width: 7px;
    height: 11px;
  }

  .drawer-contact {
    gap: 10px;
  }

  .drawer-contact__button {
    min-height: 62px;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .drawer-contact__en {
    font-size: 17px;
  }

  .drawer-contact__jp {
    font-size: 11px;
  }

  body.is-drawer-open .site-header__menu-button span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  body.is-drawer-open .site-header__menu-button span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
}

/* small smartphone：480px以下
--------------------------------------------------- */
@media screen and (max-width: 480px) {
  .site-header__inner {
    height: 55px;
    padding: 14px 10px;
  }

  .site-header__inner::before {
    width: 98px;
    height: 76px;
  }

  .site-header__logo {
    width: 100px;
  }

  .site-header__menu-button {
    right: 14px;
    top: 11px;
    width: 22px;
    height: 25px;
    gap: 7px;
  }

  .site-header__menu-button span {
    width: 22px;
    height: 2px;
  }

  .site-header__drawer-inner {
    width: 88vw;
    padding: 94px 22px 46px;
  }

  .drawer-nav {
    gap: 34px;
  }

  .drawer-nav__list {
    gap: 18px;
  }

  .drawer-nav__list a {
    font-size: 18px;
  }

  .drawer-contact__button {
    min-height: 58px;
    padding: 13px 14px;
  }

  .drawer-contact__en {
    font-size: 16px;
  }
}
