@charset "utf-8";
body {
  width: 100%;
}
#main-area{
  padding: 0 2% 5%;
}
.wrapper::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* 背景カラー */
  z-index: 9999; /* 一番手前に */
  pointer-events: none; /* 他の要素にアクセス可能にするためにポインターイベントは無効に */
  opacity: 0; /* 初期値では非表示 */
}
.wrapper .fadeout::after {
  opacity: 1;
}
#slider {
  width: 100%;
  height: 100vh; /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
h1 {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);	
  font-size: 68px;
  letter-spacing: 0.10em;
  font-family:YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif"; 
  font-style: italic;	
  color: #ffffff;
  white-space: nowrap;
}
a {
	display: block;
}
.wrapper {
  position: relative;
}
/*========= ナビゲーションのための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: #999;
  /*丸のスタート位置と形状*/
  transform: scale(0); /*scaleをはじめは0に*/
  right: -50px;
  top: -50px;
  transition: all .6s; /*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%);
}

@keyframes gnaviAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
  opacity: 1;
}
/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li {
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  text-align: center;
  list-style: none;
  font-size: 2.0em;
  animation-name: gnaviAnime;
  animation-fill-mode: forwards;
  opacity: 0;
}
#g-nav.panelactive ul li:nth-child(1) {
  animation-duration: 0.5s;
}
#g-nav.panelactive ul li:nth-child(2) {
  animation-duration: 1s;
}
#g-nav.panelactive ul li:nth-child(3) {
  animation-duration: 1.5s;
}
#g-nav.panelactive ul li:nth-child(4) {
  animation-duration: 2s;
}
/*リストのレイアウト設定*/
#g-nav li a {
  color: #d0a727;
  font-size: 150%;
  text-decoration: none;
  padding: 30% 0 0 0;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: bold;
  position: relative;
}
#g-nav li a:hover {
  color: #a1bad0;
}
#g-nav li a::after {
  position: absolute;
	bottom: 0;
	left: 50%;
	content: "";
	width: 0;
	height: 3px;
	background-color: #667572;
	transition: .3s;
	-webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
#g-nav li a:hover::after {
	width: 50%;
	background-color: #a1bad0;
}
/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  position: fixed;
  top: 3%;
  right: 1%;
  z-index: 9999; /*ボタンを最前面に*/
  cursor: pointer;
  width: 8%;
}
/*×に変化*/
.openbtn1 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #d0a727;
  width: 70%;
}
.openbtn1 span:nth-of-type(1) {
  top: 5px;
}
.openbtn1 span:nth-of-type(2) {
  top: 20px;
}
.openbtn1 span:nth-of-type(3) {
  top: 35px;
}
.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 70%;
}
.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn1.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 70%;
}
/*スクロールダウン全体の場所*/
.scrolldown4 {
  position: absolute;
  bottom: 1%;
  right: 50%;
  /*矢印の動き1秒かけて永遠にループ*/
  animation: arrowmove 1s ease-in-out infinite;
}
/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove {
  0% {
    bottom: 1%;
  }
  50% {
    bottom: 3%;
  }
  100% {
    bottom: 1%;
  }
}
/*Scrollテキストの描写*/
.scrolldown4 span {
  /*描画位置*/
  position: absolute;
  left: -20px;
  bottom: 10px;
  /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}
/* 矢印の描写 */
.scrolldown4:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  right: -6px;
  /*矢印の形状*/
  width: 1px;
  height: 20px;
  background: #eee;
  transform: skewX(-25deg);
}
.scrolldown4:after {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  right: 0;
  /*矢印の形状*/
  width: 1px;
  height: 50px;
  background: #eee;
}
/*SNSアイコン*/
.snsArea {
	position: fixed;
	top: 70%;
	right: 1.7%;
	z-index: 1;
}
.snsArea .snsList {
	text-align: center;
	margin-top: 200%;
}
.snsArea .snsList li {
	margin-bottom: 50%;
}
/* ----- Instagram Section ----- */
.about .first-text {
  color: #a1bad0;
}
.third-section {
  margin-bottom: 5%;
}

.insta_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.insta_list li {
  position: relative;
  width: calc((100% - 40px) / 3);
}

.insta_list li::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.insta_list a {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.insta_list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insta_list li a:hover {
  opacity: 0.5;
}

.insta_btn {
  background-color: #000;
  padding: 0.5em 1em;
  width: fit-content;
  margin: 0 auto;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.insta_btn a {
  color: #fff;
  text-decoration: none;
}

.insta_btn:hover {
  background-color: #999;
}