@charset "utf-8";

/*======================
common
======================*/
:root {
    --primary-deco: "Wire One", sans-serif;
    --primary-txt: "Noto Sans JP", sans-serif;
    --primary-weight: 300;
    --primary-black: #07002B;
    --primary-white: #fff;
    --contentWidth: 91.4%;
    --contentPadding: 4.2%;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-size: 1.4rem;
    font-style: normal;
    line-height: 1.3;
    color: var(--primary-white);
    background-color: var(--primary-black);
    background-image: url(../images/bg-noise.png);
    background-repeat: repeat;
    background-size: auto;
    background-position: center;
}

img {
    max-width: 100%;
    height: auto;
}

/* common pc */
@media screen and (min-width: 769px){
  body {
    font-size: 1.8rem;
  }

  .container {
    display: flex;
  }
}

/* =====================
header
===================== */
.header {
    width: 100%;
    height: 80px;
    position: fixed;
    padding: 50px 5.4% 17px;
    z-index: 1000;
}

.nav__header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.menu__btn {
  position: relative;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.menu__btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primary-white);
  transition: 0.4s;
  border-radius: 1px;
}

.menu__btn span {
  position: absolute;
  left: 0;
  top: 8px;
  width: 100%;
  height: 1px;
  background-color: var(--primary-white);
  transition: 0.4s;
  border-radius: 1px;
  display: block;
}

.menu__btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primary-white);
  transition: 0.4s;
  border-radius: 1px;
  transform: scaleY(0.9);
}

.nav__list {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-image: none;
    background-color: rgba(217, 217, 217, 0.9);
    padding: 128px 0 0 12.2%;
    flex-direction: column;
    gap: 50px;
    z-index: 999;
    transition: opacity 0.3s ease;
    transform: translateX(100%);
    transition: transform 1.0s ease, opacity 1.0s ease;
}

.nav__list.active {
    display: flex;
    background-color: rgba(217, 217, 217, 0.9);
    transform: translateX(0);
    opacity: 1;
    transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    visibility 0s;
}

.menu__btn.active::before {
    background-color: var(--primary-black);
    transform: rotate(45deg);
    top: 8px;
}

.menu__btn.active::after {
    background-color: var(--primary-black);
    transform: rotate(-45deg);
    bottom: 8px;
}

.menu__btn.active span {
  opacity: 0;
}

.menu__btn.active::before {
  transform: rotate(45deg);
  top: 8px;
}

.menu__btn.active::after {
  transform: rotate(-45deg);
  bottom: 8px;
}

.menu__btn.active span {
  opacity: 0;
}

.nav__item {
  font-family: var(--primary-deco);
  color: var(--primary-black);
}

.nav__item a {
  font-size: 3.2rem;
  position: relative;
  display: inline-block;
}

.nav__item.current a::after {
  display: none;
  /* content: '';
  position: absolute;
  bottom: -5px;
  display: inline-block;
  left: 0;
  width: 100%;
  height: 1px;
  -webkit-transform: translateX(-50%);
  transform: none;
  background-color: var(--primary-white) */
}

.nav__item span {
  font-size: 2rem;
  margin-left: 10px;
}

.nav__sns {
  display: none;
}

/* header pc */
@media screen and (min-width: 769px) {
  .menu__btn {
    display: none;
  }

  .header {
    /* width: 223px; */
    width: 15.4%;
    height: 100vh;
    position: fixed;
    background-color: none;
    border-right: 1px solid #000;
    padding: 30px 0 0 3%;
    z-index: 1000;
  }

  .nav__header {
    display: block;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: 100%;
  }

  .nav__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    background-color: transparent;
    gap: 40px;
    transform: none;
    opacity: 1;
    position: static;
    padding: 0;
    transition: none;
  }

  .nav__item {
    color: var(--primary-white);
    text-decoration: none;
  }
  
  .nav__item a {
    position: relative;
    display: inline-block;
    font-size: clamp(3rem, 3vw, 4rem) !important;
  }

.nav__item.current a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  display: inline-block;
  left: 0;
  width: 100%;
  height: 1px;
  -webkit-transform: translateX(-50%);
  transform: none;
  background-color: var(--primary-white)
}

  .nav__item a span {
    display: none;
  }

  .nav__sns {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
  }

  .nav__sns a img {
  width: 18px;
  height: auto;
  }

  /* menu animation */
  .nav__item a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--primary-white);
  padding-bottom: 5px;
  transition: color 0.1s ease;
}

.nav__item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--primary-white);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s ease;
}

.nav__item a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.main {
    margin-left: 15.4%;
    /* margin-left: 223px; */
    /* width: calc(100% - 223px); */
    width: 84.6%;
    overflow-x: hidden;
  }
}

/* =====================
footer
===================== */
.footer {
  display: block;
  margin: 100px auto 40px;
  font-family: var(--primary-deco);
  font-size: 1.8rem;
}

.copy {
  text-align: center;
}

.sns-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  z-index: 9999;
}

.sns-fixed a img {
  width: 22px;
  height: auto;
}

@media screen and (min-width: 769px) {
  .sns-fixed {
    display: none;
  }
}

.fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadein.show {
  opacity: 1;
  transform: translateY(0);
}