@charset "UTF-8";

* {
  margin:0;
  padding: 0
}

body{
font-family: "Hiragino Mincho ProN", "HiraMinProN-W3", serif;
color:#404040;
font-size: clamp(0.75rem, 0.611rem + 0.57vw, 1.125rem);
background-color: rgba(223, 223, 223, 1);
}



header{
  background-color: #ffffff;
    letter-spacing: 2px;
}

nav ul {
  display: flex;
  gap: 2%;
  list-style: none;
  padding:1% 1%;
  font-weight: 700;
  font-size: clamp(0.688rem, 0.479rem + 0.86vw, 1.25rem);
  justify-content: right;
  letter-spacing: 1%;
}

nav ul li a {
  text-decoration: none;
  color: #404040;
  display: flex;
  align-items: center;
  justify-content: right;
  height: 60px; /* ✅ 共通の高さを指定 */
  padding: 0 20px; /* 左右の余白だけで調整 */
}

.yoyaku {
  background-color: #404040;
  color: #ffffff;
  border-radius: 24px;
  transition: 0.4s;
  padding: 0 40px;
  transition: all 0.3s ease;
}

.yoyaku:hover,.btn:hover{
    filter: brightness(50%);
}


.FV {
  position: relative; /* ←これが超重要！ */
}

.FV img {
  display: block;
  width: 100%;
  height: auto;
}

.title {
  margin-bottom: 0;
  position: absolute;
  bottom: 0; /* ←画像の下部に重ねたいなら */
  left: 0;
  width: 100%;
  height: 170px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;       
  justify-content: flex-end;     
  text-align: left ;
  font-size: clamp(1.125rem, -0.628rem + 7.19vw, 5.125rem);
  
}
.title span{
  font-size:clamp(0.75rem, 0.286rem + 1.9vw, 2rem);
  font-weight: 400;


}

.center{
  margin: 1% 1%;
  line-height: 1.1;

}

.h2_title{
  width: 85%;
  margin-left: auto;
}

h2 {
  display: inline-block;               
  border-bottom: 5px dotted #000;      
  margin: 1% auto;
  margin-top: 5%;                   
}

.h2_box{
  width: 60%;
  margin: 0 auto;
}

.plan{
  display: flex;
  margin: 2% 0;
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.1) 5px 5px 10px;
}

.plan img{
  width: 30%;
}

.plan_text{
  width: 90%;
  padding: 3%;
  line-height: 1.5;
}

.plan_text h3{
  margin-bottom: 2%;

}

.Price{
  display: flex;
  width: 60%;
  margin: 0 auto;
  align-items: stretch; 
}

.plan_box{
  background-color: #ffffff;
  margin: 2%;
  display: flex;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.1) 5px 5px 10px;

}

.plan_box h3{
  margin-top: 8%;
  text-align: center;
}


.plan_box img{
  width: 100%;
  height: auto;
  margin: 0;
  padding-bottom: 0;
  margin: 0;
  padding: 0;
  display: block;
}

.plan_box ul {
  list-style: none;
  margin: 8%;
  line-height: 1.5;
  padding: 0;

}

.btn{
  margin: 3% auto;
  width: 40%;
  background-color: #404040;
  font-weight: 800;
  border-radius: 25px;
  transition: 0.4s;
  padding: 1.5% 5%;
  text-align: center;
  letter-spacing: 1px;
 transition: all 0.3s ease;

}

.btn a{
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
}

.news{
  width: 50%;
  margin: 5% auto;
}

.news ul{
  list-style: none;
  line-height: 1.8;
  margin: 3% 0;

}

.news a{
    text-decoration: none;
    color: #404040;
      transition: 0.3s;
    
}

.news a:hover{
  border-bottom: #404040 1px solid;
}

.border{
  width: 100%;
  border-bottom: #404040 dotted 3px;
  margin: 10% auto;

}

.map_box{
  display: flex;
}

.map{
  width: 50%;
}

.map img{
  width: 90%;
}

.map_text{
  width: 50%;
}


.map_text dl dt{
  line-height: 1.5;
}

.map_text dl dd{
  margin-bottom: 5% ;
}

footer{
  background-color: #ffffff;

}

.footer_title{
  width: 85%;
  margin-left: auto;
  font-size: clamp(1.125rem, 0.632rem + 2.02vw, 2.25rem);
  font-weight: 800;
  text-align: left;
  padding-top: 2%;

}

.link{
  display: flex;
  width: 85%;
  margin-left: auto;
  gap: 2%;

}

.link ul{
  list-style: none;
  margin: 1% 0 2% 0;
  font-size: clamp(0.688rem, 0.605rem + 0.34vw, 0.875rem);

}

.link ul li a{
    text-decoration: none;
    color: #404040;
}


.footer_title img{
  width: 2%;
  margin: 0 1% ;

}

small{
  display: block;
  margin: 0 auto;
  text-align: center;
  padding: 1% 0;
}
.gallery-container {
  overflow: hidden;
  width: 70%;
  margin: 5% auto;
}

.gallery-track {
  display: flex;
  width: calc(100vw * 10); /* 画像10枚分（5×2） */
  animation: scrollGallery 150s linear infinite; /* ゆっくり流す */
}

.gallery-track img {
  width: 30vw;
  height: auto;
  flex-shrink: 0; /* 画像の縮小防止 */
  display: block;
  cursor: pointer;
  transition: transform 0.4s ease; /* ← スムーズな動き */
  border: 6px solid #fff;
  box-sizing: border-box;

}


.gallery-track img:hover {
  transform: scale(1.1); /* ← 拡大倍率（1.1でもOK） */
  z-index: 1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* アニメーション定義 */
@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-500vw); /* 5枚分左へ */
  }
}

/* モーダルの背景 */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 5%;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

/* モーダル内の画像 */
.modal-content {
  margin: auto;
  display: block;
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 10px #000;
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: 2%;
  right: 4%;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


/* ----------------------
   レスポンシブCSS（スマホ・タブレット）
---------------------- */

/* タブレット用（768px〜1024px） */
@media (max-width: 1024px) {
  nav ul {
    display: none;
  }

  /* ハンバーガーメニュー */
  .hamburger {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1000;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    margin: 5px 0;
    background: #ffffff;
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    text-align: center;
    z-index: 999;
  }

  .mobile-nav.active {
    display: flex;
  }

  .mobile-nav li {
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    margin: 0 auto;
  }

  .Price, .plan, .map_box {
    flex-direction: column;
    width: 90%;
    margin: 3% auto;
  }

  .plan img, .map {
    width: 100%;
  }

  .plan_text, .map_text {
    width: 100%;
    padding: 4%;
  }

  .gallery-container {
    width: 100%;
  }

  .gallery-track img {
    width: 80vw;
  }
}

/* スマホ用（〜767px） */
@media (max-width: 767px) {
  

  .FV img{
    width: 100%;
    height: 400px;
  }

  
  .title {
    font-size: 1.5rem;
    height: 50px;
    width: 100%;
    padding: 0 0 3% 0;

  }

  .center{
    width: 97%;
    margin: 0 auto;
  }

  .h2_title{
    width: 95%;
    margin: 0 auto;
    margin: 10% 2% 5% 2%;
  }

  .h2_box, .Price, .news, .map_box {
    width: 97%;
    margin: 0 auto;
    padding: 0;
  }

  .news ul,.news p{
    margin: 0 auto;
    width: 95%;
  }

  .news p{
    margin-top: 3%;
  }

  .plan {
    flex-direction: column;
  }

  .plan img {
    width: 100%;
  }

  .plan_text{
    width: 90%;
    margin: 0 auto;
  }
  

  .btn {
    width: 70%;
  }

  .footer_title, .link {
    width: 90%;
    flex-direction: column;
    margin: 5% auto;
  }

  .footer_title img {
    width: 6%;
  }

  .link ul {
    margin: 5px 0;
  }

  .gallery-track img {
    width: 90vw;
  }

  .map_text{
    padding:0;
    width: 95%;
    margin: 0 auto;
  }

  .map{
    text-align: center;
  }




}

/* ハンバーガーメニュー用JavaScript補足（HTML内に追加する）
<script>
  document.addEventListener("DOMContentLoaded", function () {
    const hamburger = document.querySelector(".hamburger");
    const mobileNav = document.querySelector(".mobile-nav");

    hamburger.addEventListener("click", () => {
      mobileNav.classList.toggle("active");
    });
  });
</script> */
