@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&display=swap');

#about,
#villas,
#speciality,
#gallery,
#contact {
    min-height: 80vh;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  display:block;
  max-width:100%;
}

html {
  scroll-behavior: smooth;
}
/* ===== BODY ===== */
body {
  font-family: 'Cormorant Garamond', serif;
  background: #f7f4ef;
  color: #4a3427;
  
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}


/* 全画像を重ねる */
.hero-img {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;

  /* フェード + ズーム */
  transition:
    opacity 1s ease-in-out,
    transform 2s ease-out;

  transform: scale(1.06);
}


/* 表示中の画像 */
.hero-img.active {

  opacity: 1;

  /* ゆっくりズームアウト */
  transform: scale(1);
}


/* 文字を前面へ */
.hero-content {
  position: relative;
  z-index: 2;

  height: 100%;

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

  text-align: center;

  color: white;
}

.hero-content p {
    max-width: 750px;
    margin: 30px auto 0;
    line-height: 1.8;
    text-align: center;
     font-size: 24px !important;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  padding: 30px 60px;

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

  background: rgba(247,244,239,0.95);

  backdrop-filter: blur(10px);

  z-index: 999;
}
/* ===== Hamburger ===== */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

header {
  background: transparent;
}

.menu-btn span {
  display: block;
  width: 34px;
  height: 1px;
  background: #333;
  margin: 7px 0;
  border-radius: 10px;
}
.book-btn{
    background:#b08b63;
    color:white !important;

    padding:12px 26px;
    border-radius:999px;

    text-decoration:none;
    letter-spacing:2px;

    transition:.3s;
}

.book-btn:hover{
    background:#98734f;
    transform:translateY(-2px);
}
/* ===== About ===== */

details summary {
  cursor: pointer;
  margin-top: 15px;
  font-size: 14px;
  letter-spacing: 2px;
  color: #8b5e3c;
}

details summary:hover {
  opacity: 0.7;
}

.story-end {
  margin-top: 15px;
  font-size: 18px;
  text-align: center;
  font-style: italic;
}

.info-section {

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 80px;

  padding: 120px 8%;

  align-items: center;

}


.info-image img {
    width:100%;
    height:650px;
    object-fit:cover;
    border-radius:20px;
}


.info-content {

  max-width:500px;

}


.info-content h2 {

  font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 3px;
  line-height:1.4;

  margin:30px 0;

}


.info-content p {

  font-size:17px;
  line-height:2;

}

/* small photos */

.gallery-small {

 display:grid;

 grid-template-columns:repeat(3,1fr);

 gap:20px;

 padding:0 8% 120px;
    
border-radius:20px;

}


.gallery-small img {

 width:100%;
 height:260px;

 object-fit:cover;

}

.info-section.reverse .info-image {
  order:2;
}

.nav{
    display:flex;
    align-items:center;
    gap:28px;
}

.nav a {
  cursor: pointer;
  text-decoration: none;
  color: #4a3427;
  letter-spacing: 2px;
  transition: 0.3s;
}

.nav a:hover {
  opacity: 0.5;
}

/* ===== PAGE が広がりすぎないように ===== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* ===== HOME HERO ===== */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
}

h2 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 40px;
}
.villa-title{
    margin-bottom:40px;

    font-size:2.5rem;
    font-weight:400;

    letter-spacing:2px;
}
.hero p {
  font-size: 1.2rem;
}

/* ===== VILLAS ===== */
.villas {
  padding: 100px 20px;
  text-align: center;
}
/* ===== DELUXE | STANDARD | LUXURY I | LUXURY II ===== */
/* ===== VILLA NAVIGATION ===== */

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

    margin:70px 0;

    gap:0;
}

.tabs button{
    appearance:none;
    -webkit-appearance:none;
}

.tab{
    background:none;
    border:none;

    position:relative;

    padding:0 35px 12px;

    font-family:'Cormorant Garamond', serif;
    font-size:1.2rem;

    letter-spacing:3px;
    text-transform:uppercase;

    color:#9a8a80;

    cursor:pointer;

    transition:all .3s ease;
}

.tab:hover{
    color:#4a3427;
}

.tab:not(:last-child)::after{
    content:"";

    position:absolute;

    right:0;
    top:25%;

    width:1px;
    height:50%;

    background:rgba(74,52,39,.15);
}

.tab.active{
    color:#4a3427;
}

.tab.active::before{
    content:"";

    position:absolute;

    left:35px;
    right:35px;
    bottom:0;

    height:1px;

    background:#4a3427;
}

.villa-content {
  display: none;
}

.villa-content.active {
  display: block;
}

.main-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.thumbnails {
  margin-top: 20px;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.thumbnails img {
  width: 90px;
  height: 70px;

  object-fit: cover;

  border-radius: 8px;

  cursor: pointer;
}

.main-image-wrapper{
  position:relative;
  max-width:900px;
  margin:auto;
}


.slider-btn{

  position:absolute;

  top:50%;
  transform:translateY(-50%);

  width:45px;
  height:45px;

  border-radius:50%;

  border:none;

  background:rgba(255,255,255,0.85);

  color:#4a3427;

  cursor:pointer;

  z-index:5;

}


.slider-btn:hover{

  background:#b08b63;

  color:white;

}


.prev{
  left:20px;
}


.next{
  right:20px;
}

/* ===== SPECIALITY GRID ===== */
.grid {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.grid div {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 10px;
}

 .hero h1{
    font-size:2.8rem;
  }

  .hero p{
    font-size:1rem;
  }

  .grid{
    flex-direction:column;
  }

  .main-image{
    width:100%;
  }
/* ===== Experience ===== */
.experience-hero{
    width:100%;
    max-width:900px;
    height:420px;
    object-fit:cover;
    border-radius:20px;
    display:block;
    margin:35px auto;
}

.experience-text{
    max-width:700px;
    margin:0 auto 35px;
    text-align:center;
    line-height:2;
}

.experience-gallery{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    max-width:900px;
    margin:0 auto;
}


.experience-gallery img{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:10px;
    display:block;
}
.experience-block {
  margin-bottom: 120px;
}

#experience .container h2 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 20px;
    margin-top: 150px;
 }   

/* ========about=======　*/
.about {
  padding: 120px 0;
}

.about-section {
  margin-bottom: 120px;
}

/* Big editorial image */
.about-hero-image img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  margin: 30px 0;
}

/* clean image row */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

#booking,
#access {
  padding: 120px 20px;
}

#access p {
  text-align: center;
  max-width: 650px;
  margin: 40px auto 50px;
  line-height: 2;
  color: #6b5a45;
}

.booking-form {
  max-width: 500px;
  margin: 50px auto 0;
}

.booking-form input,
.booking-form select,
.booking-form button {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
}

.booking-form input::placeholder {
    font-family: 'Cormorant Garamond', serif;
    color: #9a8a80;
}

.booking-form input,
.booking-form select {
    background: #fffdf9;
    border: 1px solid #d9c5ae;
    border-radius: 12px;
    padding: 14px 16px;
    color: #4a3427;
}

.booking-form button{
    margin-top:15px;

    background:#b08b63;
    color:white;

    border:none;
    border-radius:50px;

    padding:16px 28px;

    font-family:'Cormorant Garamond', serif;
    font-size:20px;
    letter-spacing:2px;

    cursor:pointer;

    transition:.35s ease;
}

.booking-form button i{
    margin-right:10px;
    font-size:18px;
}

.booking-form button:hover{
    background:#98734f;

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(176,139,99,.3);
}

.booking-form button:active{
    transform:translateY(0);
}

.map {
  max-width: 1000px;
  margin: 50px auto 0;
}

.map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 20px;
}
/* Gallery */

.gallery-section {
  padding: 120px 8%;
  background: #f7f3eb;
}


.gallery-header {
  text-align: center;
  margin-bottom: 70px;
}


.gallery-header h2 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 15px;
    margin-top: 150px;
 }   


/* Grid */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}


.gallery-item {
  overflow: hidden;
  aspect-ratio: 1 / 1;
}


.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.8s ease;
}


/* Hover */

.gallery-item:hover img {
  transform: scale(1.06);
}



.gallery-more {
  text-align: center;
  margin-top: 70px;
}


.gallery-more span {
  font-family: serif;
  font-size: 28px;
  color: #3f4638;
  letter-spacing: 2px;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(8),
.gallery-item:nth-child(15) {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.footer-icons a {
  color: #9b7355 !important;
  text-decoration: none !important;
}

.footer-icons a:visited {
  color: #9b7355 !important;
}

.footer-icons a:hover {
  color: #c49a6c !important;
  text-decoration: none !important;
}
.footer-icons i {
  font-size: 28px;
}

.footer-icons a,
.footer-icons a:link,
.footer-icons a:visited,
.footer-icons a:hover,
.footer-icons a:active {
    color:#9b7355 !important;
    text-decoration:none !important;
    border:none !important;
    outline:none;
}

.footer-icons i {
    display:inline-block;
    font-size:28px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
}

.booking-form label {
  margin-bottom: -8px;
  font-size: 14px;
}

.booking-form input,
.booking-form select,
.booking-form button {
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
}

.booking-form input,
.booking-form select {
  border: 1px solid #d8c3a5;
  border-radius: 8px;
  background: #fffaf3;
  font-size: 15px;
}

footer {
  padding: 50px 20px 80px; /* 下に余白を作る */
  text-align: center;
}


.footer-content {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  color: #b08b63;
}


.copyright {
  margin-top: 40px;
  font-size: 13px;
  color: #b08b63;
}

#friends-place {
  padding: 80px 20px;
  text-align: center;
   background: #f7f4ef;
  color: #4a3427;
}

.friends-content {
  max-width: 700px;
  margin: 0 auto;
}

#friends-place h2 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

#friends-place p {
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.5px;
  margin-bottom: 35px;
}

.friends-button {
  display: inline-block;
  padding: 12px 35px;
  border: 1px solid #8b5e3c;
  color: #8b5e3c;
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 14px;
  transition: 0.3s;
}

.friends-button:hover {
  background-color: #8b5e3c;
  color: white;
}

/* Back to Top button */

#topBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
color: #9b7355;
  width: 50px;
  height: 50px;

  border-radius: 50%;
  border: none;

  font-size: 22px;
  cursor: pointer;

  box-shadow: 0 4px 12px rgba(0,0,0,0.15);

  transition: 0.3s;
    
}

#friends-place p{
    margin-top:0;
}

#topBtn:hover {
  transform: translateY(-5px);
  opacity: 0.8;
}

.mobile-break{
    display:none;
}
/* ==========================
   Friends Place
========================== */

#friends-place{
    width: 100%;
    padding: 90px 20px;
    text-align: center;
}

.friends-content{
    max-width: 950px;
    margin: 0 auto;
}

#friends-place h2{
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8c7a63;
    margin-bottom: 10px;
}

#friends-place h1{
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #3f3b35;
}

/* Gallery */



#friends-place .gallery-small {
 display:grid;

 grid-template-columns:repeat(3,1fr);

 gap:10px;

 padding:0 8% 20px !important;
    
border-radius:20px;
        
margin-bottom:10px !important;
}

.gallery-small img{
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Text */

#friends-place p{
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.9;
    font-size: 1rem;
    color: #555;
}

/* Button */

.friends-button{
    display: inline-block;
    padding: 14px 36px;
    background: #8c6a45;
    color: white;
    border-radius: 40px;
    text-decoration: none;
    transition: .3s;
}

.friends-button:hover{
    background: #6d5133;
}

/* Tablet */

@media (max-width: 900px) {

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}


/* Mobile */

@media (max-width: 600px) {

    .hero-content p {
     font-size: 17px !important;
}

  .gallery-section {
    padding:80px 5%;
  }

  .gallery-header h2 {
     font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 3px;
  }

  /* Mobile Gallery Slider */
  .gallery-grid {
    display:flex;
    overflow-x:auto;
    gap:20px;

    scroll-snap-type:x mandatory;

    padding-bottom:10px;
  }


  .gallery-item {
    flex:0 0 85%;

    aspect-ratio:4 / 5;

    scroll-snap-align:start;

    border-radius:20px;
    overflow:hidden;
  }


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


  /* スクロールバーを消す */
  .gallery-grid::-webkit-scrollbar {
    display:none;
  }


  .gallery-more span {
    font-size:24px;
  }

     .gallery-item:nth-child(1),
.gallery-item:nth-child(8),
.gallery-item:nth-child(15) {
  grid-column:auto;
  aspect-ratio:4 / 5;
}

      img {
  display:block;
  max-width:100%;
}

    
  .main-image {
    width:100%;
    height:auto;
  }


  .experience-hero{
    width:100%;
    height:auto;
    object-fit:contain;
  }

  .villa-title {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .header{
    justify-content:flex-end;
    padding:20px;
  }

  .menu-btn{
    display:block;
  }

  .nav{
    display:none;
    position:absolute;
    top:70px;
    right:20px;
    background:white;
    padding:20px;
    border-radius:15px;
    flex-direction:column;
    gap:15px;
    box-shadow:0 5px 25px rgba(0,0,0,0.1);
  }

  .nav.show{
    display:flex;
  }

  .tabs{
    flex-direction:column;
    align-items:center;
    gap:12px;
  }

  .tab{
    width:80%;
    max-width:280px;
    text-align:center;
  }
    
.book-btn{
    display:block;
    text-align:center;
    margin-top:10px;
}
    
  .mobile-break{
    display:inline;
  }
    
  .hero {
    background-position: center;
  }
    
 .experience-gallery{
    grid-template-columns:1fr;
    gap:20px;
  }

 .experience-gallery img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:10px;
}

 .info-section {
    grid-template-columns:1fr !important;
    gap:40px !important;
    padding:60px 8% !important;
  }


.info-image {
    display: none;
  }


  .info-content {

    max-width:none;

  }

     #Experiences .container h2 {
    font-size:2.2rem;
    line-height:1.3;
    letter-spacing:2px;
    margin-top:100px !important;
}


  .experience-block h1 {
      font-size:1.3rem !important;
      line-height:1.4 !important;
      margin-top:20px !important;
      margin-bottom:10px !important;
      fontsize:12px !important;
  }


  .experience-time {
      font-size:1rem;
  }


  .info-content h2 {

  font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 3px;
  line-height:1.4;
    margin:20px 0;

  }


  .info-content p {

    font-size:15px;

    line-height:1.8;

  }


  .gallery-small {

    display:flex;
    overflow-x:auto;
    gap:15px;

    padding:20px;

    scroll-snap-type:x mandatory;

  }


  .gallery-small img {

    flex:0 0 85%;

    height:260px;

    object-fit:cover;

    border-radius:15px;

    scroll-snap-align:start;
      margin-bottom: 0px;


  }
    

  /* スクロールバーを隠す */
  .gallery-small::-webkit-scrollbar {
    display:none;
  }
     /* Villa image slider */

  .main-image-wrapper{

    position:relative;

    width:100%;

    touch-action:pan-y;

  }


  .main-image{

    width:100%;

    height:auto;

    object-fit:cover;

  }


  /* Slider arrows */

  .slider-btn{

    width:40px;

    height:40px;

    border-radius:50%;

    border:none;

    background:rgba(255,255,255,0.85);

    color:#4a3427;

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    z-index:5;

  }


  .slider-btn.prev{

    left:15px;

  }


  .slider-btn.next{

    right:15px;

  }
     .hero {
    height: 70vh;
  }

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

.thumbnails{
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin-top: 15px !important;
  }

  .thumbnails img{
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
  }
     /* Heroの後 */
  #home {
    margin-bottom: 30px;
  }


  /* About / Villas / Experienceなど */
  .info-section {
    padding: 35px 20px !important;
  }


  /* Galleryの余白 */
  .gallery-small,
  .thumbnails {
    margin-bottom: 20px !important;
  }


  /* Accessなど */
  #access {
    padding: 35px 20px !important;
  }
     #about {
    min-height: auto　!important;
    padding: 30px 20px　!important;
}
    #friends-place{
    padding: 70px 20px;
}

#friends-place h1{
    font-size: 1.7rem;
    margin-bottom: 25px;
}

#friends-place .gallery-small{
   

    display:flex;
    overflow-x:auto;
    gap:15px;

    padding:20px;

    scroll-snap-type:x mandatory;

  }


 #friends-place .gallery-small img {

    flex:0 0 85%;

    height:260px;

    object-fit:cover;

    border-radius:15px;

    scroll-snap-align:start;
      margin-bottom: 10px;


  }

  /* スクロールバーを隠す */
    
   #friends-place .gallery-small::-webkit-scrollbar {
    display:none;
  }

    

  .main-image-wrapper{

    position:relative;

    width:100%;

    touch-action:pan-y;

  }

#friends-place p{
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.friends-button{
    padding: 13px 30px;
}
}
