@charset "Utf-8";
html {
  font-size: 62.5%;
  width: 100%;
}
body {
  background-color: #fffbea;
  color: #404040;
  font-family: Zen Maru Gothic;
  line-height: 1.7;
  text-align: left;
  font-weight: 500;
}
main {
  max-width: 1280px;
  padding: 0px 40px;
}
@media (max-width: 830px) {
  main {
    padding: 0 20px;
  }
}
@media (min-width: 1260px) {
  main {
    margin: 0 auto;
  }
}
/*========= ナビゲーションのためのCSS ===============*/

/*アクティブになったエリア*/
#g-nav.panelactive {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  height: 100vh;
}

/*丸の拡大*/
.circle-bg {
  position: fixed;
  z-index: 3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #ffd600;
  /*丸のスタート位置と形状*/
  transform: scale(0); /*scaleをはじめは0に*/
  right: -50px;
  top: -50px;
  transition: all 1s; /*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive {
  transform: scale(50); /*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list {
  display: none; /*はじめは表示なし*/
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list {
  display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
  opacity: 0; /*はじめは透過0*/
  /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
  opacity: 1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li {
  animation-name: gnaviAnime;
  animation-duration: 1s;
  animation-delay: 0.2s; /*0.2 秒遅らせて出現*/
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes gnaviAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*リストのレイアウト設定*/
#g-nav li {
  text-align: center;
  list-style: none;
}

#g-nav li a {
  color: #404040;
  text-decoration: none;
  padding: 10px;
  display: block;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: 5rem;
}
#g-nav li a:hover {
  color: #e37c88;
}
@media (max-width: 830px) {
  #g-nav ul {
    top: 30%;
    transform: translate(-50%, -30%);
  }
  #g-nav li a {
    font-size: 3rem;
  }
}

/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  max-width: 1280px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999; /*ボタンを最前面に*/
  cursor: pointer;
  width: 65px;
  height: 60px;
}

/*×に変化*/
.openbtn1 span {
  display: inline-block;
  transition: all 0.5s;
  position: absolute;
  left: 14px;
  height: 5px;
  border-radius: 3px;
  background-color: #666;
  width: 45%;
}

.openbtn1 span:nth-of-type(1) {
  top: 15px;
}

.openbtn1 span:nth-of-type(2) {
  top: 31px;
}

.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
.x-logo a img {
  width: 16px;
  height: 100%;
}

/* 各種設定 */
#header {
  width: 100%;
  background: #fffbea;
  color: #d9d9d9;
  text-align: left;
}
h1 {
  display: inline-block;
  font-family: Zen Maru Gothic;
  font-size: 5.5rem;
  font-style: normal;
  font-weight: 900;
  line-height: 4.2rem; /* 76.364% */
  letter-spacing: 2.2px;
  padding: 20px;
}
h1 a {
  color: #d9d9d9;
  position: fixed;
  z-index: 10000;
}
@media (max-width: 830px) {
  h1 {
    font-size: 2.5rem;
    line-height: 2rem;
  }
}
h2 {
  font-size: 55px;
  color: #e3a3c7;
  font-weight: 600;
}
a {
  text-decoration: none;
}
ol {
  list-style: none;
}
ul {
  list-style: none;
}
