@charset "utf-8";

/* Dropdown */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

nav ul ul {
  display: block;
}

nav ul li {
  position: relative;
}

/* Nav link */
nav ul li a {
  display: block;
  text-decoration: none;
  padding: 20px 35px;
  transition: all .3s;
  font-size: 0.85rem;
}

nav ul li li a {
  padding: 10px 35px;
}

nav ul li a:hover {
  color: #fff;
}

/* Arrow */
nav ul li.has-child::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 28px;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgb(254 252 250 / 0.5);
  border-right: 2px solid rgb(254 252 250 / 0.5);
  transform: rotate(135deg);
}

nav li.has-child ul {
  position: absolute;
  left: -20px;
  top: 62px;
  z-index: 4;
  background: rgb(132 131 114 / 60%);
  width: 210px;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
}

nav li.has-child:hover>ul,
nav li.has-child ul li:hover>ul,
nav li.has-child:active>ul,
nav li.has-child ul li:active>ul {
  visibility: visible;
  opacity: 1;
}

nav li.has-child ul li a {
  color: #fff;
  border-bottom: solid 1px rgb(255 255 255 / 0.2);
}

nav li.has-child ul li:last-child a {
  border-bottom: none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active {
  background: rgb(196 189 147 / 60%);
  color: #fff;
}

nav {
  padding: 0;
}

nav ul {
  display: block;
}

nav ul li a {
  border-bottom: solid 1px rgb(255 255 255 / 0.2);
}

nav ul li.has-child::before {
  left: 70px;
  top: 20px;
}

nav ul ul li.has-child::before {
  transform: rotate(135deg);
  left: 20px;
  top: 20px;
}

nav ul li.has-child.active::before {
  transform: rotate(-45deg);
}

/* Nav */
#g-nav {
  position: fixed;
  z-index: -1;
  opacity: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgb(147 146 127 / 98%);
  transition: all .3s;
}

#g-nav.panelactive {
  opacity: 1;
  z-index: 999;
}

#g-nav.panelactive #g-nav-list {
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#g-nav ul {
  width: 90%;
  margin: 100px auto 0 auto;
}

#g-nav ul ul {
  width: 100%;
  margin: 0;
}

#g-nav ul li.has-child ul {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  visibility: visible;
  opacity: 1;
  display: none;
  transition: none;
  transform: none;
}

#g-nav li {
  list-style: none;
  text-align: center;
}

#g-nav li a {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  display: block;
  letter-spacing: 0.02em;
  font-family: "Cormorant Infant", "Noto Serif JP", serif;
  font-weight: 300;
  font-size: 1rem;
}

#g-nav li span {
  font-weight: normal;
  font-size: 0.85rem;
  letter-spacing: 0em;
}


.g-nav-openbtn {
  display: block;
  position: fixed;
  z-index: 9999;
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 48px;
  height: 48px;
}

.g-nav-openbtn .openbtn-area {
  transition: all .3s;
}

.g-nav-openbtn span {
  display: inline-block;
  transition: all .3s;
  position: absolute;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: rgb(222 219 191 / 85%);
  width: 50%;
}

.g-nav-openbtn span:nth-of-type(1) {
  top: 19px;
}

.g-nav-openbtn span:nth-of-type(2) {
  top: 23px;
}

.g-nav-openbtn span:nth-of-type(3) {
  top: 27px;
}

.g-nav-openbtn.active .openbtn-area {
  transform: rotateY(-360deg);
}

.g-nav-openbtn.active span:nth-of-type(1) {
  top: 17px;
  left: 17px;
  transform: translateY(6px) rotate(-135deg);
  width: 30%;
}

.g-nav-openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.g-nav-openbtn.active span:nth-of-type(3) {
  top: 29px;
  left: 17px;
  transform: translateY(-6px) rotate(135deg);
  width: 30%;
}


/* Blur Visible */
.blur {
  animation-name: blurAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-delay: 0.2s;
}

@keyframes blurAnime {
  from {
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
  }

  to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}

.blurTrigger {
  opacity: 0;
}