/* =====ローディング画面===== */
#splash {
  position: fixed;
  inset: 0;

  background: #fff;

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;

  transition: opacity 1s ease;
}

/* ロゴ */
#splash img {
  width: 250px;
  opacity: 0;
  animation: logoFade 2s forwards;
}

@keyframes logoFade {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1.05);
  }
  }

/* フェードアウト後 */
#splash.fadeout {
  opacity: 0;
  visibility: hidden;
}

body.fade-start main,
body.fade-start header {
  opacity: 0;
}


/* フェードイン後 */
body.fade-in main,
body.fade-in header {
  opacity: 1;
  transition: opacity 2s ease;
}


 /* ==========FV========== */
 .page-main {
  width: 100%;
  min-height: 100dvh;
  position: relative;
 }

 .page-main img {
  width: 100%;
  min-height: 100dvh;
  object-fit: cover;
 }

 .page-title {
  font-size: 28px;
  color: #fff;
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
  line-height: 2em;
  position: absolute;
  top: 30px;
  left: 80px;
  text-shadow: 1px 1px 2px #686868;
 }
 

 /* ===========Aboutページ============ */
 #about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url('../images/素材/039.png');
 }

 /* =====ギャラリー===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 250px;
}

/* 共通 */
.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}

/* 大きい画像 */
.large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 16 / 10;
}

/* 縦長画像 */
.tall {
  grid-row: span 2;
  aspect-ratio: 3 / 5;
}

/* ==========menu==========*/
.wave{
  line-height: 0;
  position: relative;
  z-index: 2;

  margin-bottom: -2px;

  /* 追加 */
  margin-top: -120px;
}

.wave svg{
  display: block;
  width: 100%;
  height: 120px;
}

#menu{
  background:#f3f0e6;
  position: relative;
  z-index: 1;

  padding-top: 0;
  padding-bottom:150px;
}

#menu .section-title {
  margin-top: 0;
  padding-top: 50px;
}

.menu-photo {
  position: relative;
  margin-bottom: 1200px;
}

.fadein {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease,
              transform 1s ease;
}

.fadein.show {
  opacity: 1;
  transform: translateY(0);
}

.fadein:nth-child(1){
  transition-delay: 0s;
  position: absolute;
  left: -300px;
  max-width: 900px;
  width: 100%;
  height: auto;
}

.fadein:nth-child(2){
  transition-delay: 0.2s;
  position: absolute;
  top: 100px;
  right: 300px;
  height: auto;
}

.fadein:nth-child(3){
  transition-delay: 0.4s;
  position: absolute;
  top: 200px;
  right: -250px;
  max-width: 600px;
  width: 100%;
  height: auto;
}

.fadein:nth-child(4){
  transition-delay: 0.4s;
  position: absolute;
  width: 130px;
  top: 600px;
  left: 200px;
  transform: translateY(0) rotate(80deg);
  height: auto;
}

.fadein:nth-child(5){
  transition-delay: 0.6s;
  position: absolute;
  top: 450px;
  left: 300px;
  max-width: 600px;
  width: 100%;
  height: auto;
}

.fadein:nth-child(6){
  transition-delay: 0.4s;
  width: 100px;
  height: auto;
  position: absolute;
  top: 650px;
  right: 100px;
  transform: translateY(0) rotate(170deg); 
}

.fadein:nth-child(7){
  transition-delay: 0.6s;
  position: absolute;
  top: 700px;
  left: -100px;
  max-width: 400px;
  width: 100%;
}


.fadein:nth-child(8){
  transition-delay: 0.8s;
  width: 80px;
  height: auto;
  position: absolute;
  top: 1000px;
  right: 200px;
}



.fadein:nth-child(9){
  transition-delay: 0.8s;
  width: 80px;
  height: auto;
  position: absolute;
  transform: translateY(0) rotate(70deg); 
  top: 900px;
  left: 400px;
}


.btn-wrap {
  text-align: center;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  padding: 15px 40px;

  background: #8CA958;
  border: 1px solid #8CA958;

  color: #fff;
  font-size: 16px;

  line-height: 1.5;
  letter-spacing: 0.05em;

  border-radius: 80px;
  text-decoration: none;

  cursor: pointer;
}



.btn:hover {
  background: #A38D5B;
  border: 1px solid #A38D5B;
}

/* ======Acess====== */
#access {
  display: flex;
  position: relative;
  flex-direction: column;
  margin-bottom: 150px;
}

.access-back {
 background-color: #F0EDE7;
 padding: 50px 0;
 z-index: 1;
}

.map {
  width: 600px;
}

.map iframe{
  width: 100%;
  height: 450px;
  border: 0;

  display: block;
}

.guide {
  display: flex;
  align-items: center;
  gap: 20px;
}

.set {
  display: flex;
  flex-direction: column;
}

.address,
.opening-hours {
  font-size: 20px;
  color: #55433F;
}

.address .title,
.opening-hours .title {
  font-weight: bold;
}

.address .text, 
.opening-hours .text {
  font-size: 16px;
  text-decoration: none;
}

/* ========フッター========= */

#footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

#footer-logo img {
  width: 100px;
  height: auto;
}



/* フッターナビ */
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 0;
  margin: 50px 0;
}

.footer-nav > li {
  list-style: none;
  text-align: left;
}


/* 子リスト */
.footer-nav ul {
  padding: 0;
}

.footer-nav ul li {
  list-style: none;
  margin-bottom: 5px;
}

/* リンク */
.footer-nav a {
  text-decoration: none;
  color: #55433F;
  font-size: 16px;
}

.footer-nav a:hover {
  opacity: 0.6;
}



#sns-footer {
  display: flex;
  flex-direction: column; 
  align-items: center;    
  gap: 20px;             
}

/* SNSアイコン横並び */
.sns-btns {
  display: flex;
  gap: 30px; /* アイコン同士の間隔 */
}

/* アイコンサイズ */
#sns-footer img {
  width: 50px;
  height: auto;
}

/* コピー */
#copyright {
  color: #55433F;
  margin: 0;
  text-align: center;
}


/* ===============================================================================
　　　　　　　　　　　　　　　　　　　　　　　　　スマホ用のスタイル 
====================================================================================*/

/* 画面幅が767px以下のとき */
@media screen and (max-width: 767px) {
   /* PC用ナビゲーション非表示 */


/* =====FV===== */
 .page-title {
  font-size: 20px;
  color: #fff;
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
  line-height: 2em;
  position: absolute;
  top: 40px;
  left: 50px;
 }

 /* =====about===== */

 .section-title {
  text-align: center;
  font-size: 60px;
  color: #A38D5B;
  margin-top: 50px;
  margin-bottom: 0;
}

.caption {
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 3;
  color: #55433F;
  margin-top: 0;
}


/* =====menu===== */
.fadein:nth-child(1){
  transition-delay: 0s;
  position: absolute;
  left: -300px;
  width: 850px;
  height: auto;
}

.fadein:nth-child(2){
  transition-delay: 0.2s;
  position: absolute;
  top: 100px;
  right: 100px;
}

.fadein:nth-child(3){
  transition-delay: 0.4s;
  position: absolute;
  top: 400px;
  right: -100px;
  width: 550px;
  height: auto;
}

.fadein:nth-child(4){
  transition-delay: 0.4s;
  position: absolute;
  width: 130px;
  top: 600px;
  left: 100px;
}

.fadein:nth-child(5){
  transition-delay: 0.6s;
  position: absolute;
  top: 700px;
  left: -30px;
  width: 500px;
}

.fadein:nth-child(6){
  transition-delay: 0.4s;
  width: 100px;
  position: absolute;
  top: 800px;
  right: 100px;
}

.fadein:nth-child(7){
  transition-delay: 0.6s;
  position: absolute;
  top: 850px;
  left: 300px;
  width: 400px;
}


.fadein:nth-child(8){
  transition-delay: 0.9s;
  width: 80px;
  position: absolute;
  top: 1080px;
  right: 300px;
}



.fadein:nth-child(9){
  transition-delay: 0.8s;
  width: 80px;
  position: absolute;
  top: 1000px;
  left: 100px;
}


.btn {
  font-size: 14px;
}

/* =====acess===== */
  .guide {
    flex-direction: column;
  }

  .address p {
    font-size: 16px;
  }

  .map {
    width: 500px;
    height: auto;
  }



}