@charset "UTF-8";

body {
  &::-webkit-scrollbar {
    width: 10px;
  }
  &::-webkit-scrollbar-track {
    background: #0f172a;
  }
  &::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
  }
  &::-webkit-scrollbar-thumb:hover {
    background: #8b5cf6;
  }
}

h1#mainLogo img {
  max-width: 200px;
}

/* Loading背景画面設定　*/
#splash {
  /*fixedで全面に固定*/
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: #000;
  text-align: center;
  color: #fff;
}

/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo img {
  width: 100px;
}

/* fadeUpをするアイコンの動き */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*========= ぼかしのためのCSS ===============*/

.mainblur {
  filter: blur(8px);
}

/*========= ヘッダーh1 ===============*/
h1 {
  position: relative;
  left: 10vw;
}

@media (max-width: 767px) {
  h1 {
    left: inherit;
  }
}
/*========= ナビゲーションのためのCSS ===============*/

#g-nav {
  position: fixed;
  z-index: -1;
  opacity: 0; /*はじめは透過0*/
  /*ナビの位置と形状*/
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.3); /*背景を少し透過させる*/
  /*動き*/
  transition: all 2s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive {
  position: fixed;
  opacity: 1;
  z-index: 999;
  height: 100vh; /*ナビの高さ*/
  transition: all 2s;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  transition: all 2s;
}

/*ナビゲーション*/
#g-nav-list img + #g-nav.panelactive {
  display: block;
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#g-nav ul {
  display: none; /*はじめは非表示*/
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#g-nav.panelactive ul {
  display: block;
}
/*リストのレイアウト設定*/

#g-nav li {
  list-style: none;
  text-align: center;
}

#g-nav li a {
  color: #cccccc;
  text-decoration: none;
  padding: 15px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  font-size: medium;
}

#g-nav li a:hover {
  color: #9695a7;
  transition: 900ms;
}

/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  z-index: 1000; /*ボタンを最前面に*/
  top: 18px;
  right: 16%;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

@media (max-width: 1361px) {
  .openbtn {
    right: 10px;
  }
}

/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 16px;
  height: 3px;
  border-radius: 2px;
  background-color: #666;
  width: 47%;
}

.openbtn span:nth-of-type(1) {
  top: 16px;
}

.openbtn span:nth-of-type(2) {
  top: 24px;
}

.openbtn span:nth-of-type(3) {
  top: 32px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 31%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 31%;
}
.main_overlay {
  position: relative;
  top: 300px;
  left: 10vw;
  z-index: 999;
  width: 40vw;
  max-width: 450px;
}

@media (max-width: 768px) {
  .main_overlay {
    margin: 0 auto;
    justify-content: center;
    top: 120vw;
    width: 90vw;
    max-width: 310px;
    left: inherit;
  }
}

#product h4 {
  line-height: 2.4;
}

#product p {
  line-height: 2;
}
