@charset "UTF-8";

:root {
  --bg-color: #f5f5dc;
  --cbg-color: #fff;
  --margin-0: 0;
  --margin-sm: 1.5rem;
  --margin-md: 2rem;
  --margin-lg: 3rem;
  --margin-slg: 5rem;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  background: #1a2f35;
  height: 100vh;
  display: flex;
}

img {
  width: 100%;
}

p {
  line-height: 2;
}

/* 動く背景 */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(45deg,
      #2d5a3d,
      #4a7c59,
      #6ba86f,
      #87ceeb,
      #5f9ea0);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* パーティクル効果 */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: float 20s infinite linear;
}

.particle:nth-child(odd) {
  background: rgba(144, 238, 144, 0.4);
}

.particle:nth-child(3n) {
  background: rgba(173, 216, 230, 0.4);
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* 波のオーバーレイ */
.wave-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: -1;
  pointer-events: none;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  animation: wave 8s ease-in-out infinite;
}

.wave:nth-child(2) {
  animation-delay: -2s;
  height: 80px;
  opacity: 0.5;
}

.wave:nth-child(3) {
  animation-delay: -4s;
  height: 60px;
  opacity: 0.3;
}

@keyframes wave {

  0%,
  100% {
    transform: translateX(-50%) translateY(0px);
  }

  50% {
    transform: translateX(-50%) translateY(-20px);
  }
}

/* スクロールフェイド */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* メインレイアウト */
.main-layout {
  flex: 1;
  display: flex;
  width: 100%;
  min-height: 100vh;
  justify-content: center;
  grid-template-columns: 3fr 7fr;
  overflow: visible;
}

/* 左サイドバー */
.left-sidebar {
  display: flex;
  width: 25%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 5;
  box-sizing: border-box;
  height: 100vh;
  position: relative;
}

.left-content {
  position: absolute;
  right: 0;
}

/* 右スペーサー */
.spacer {
  width: 15%;
}

.logo {
  font-size: 32px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 3px;
  margin-bottom: 80px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.nav-list li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  position: relative;
}

.nav-list li a:hover {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
  transform: translateX(10px);
}

.nav-list li a::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  transition: width 0.3s ease;
}

.nav-list li a:hover::before {
  width: 8px;
}

/* 中央コンテンツエリア */
.center-content {
  margin-left: var(--margin-slg);
  max-width: 1000px;
  width: 60%;
  padding: var(--margin-md);
  background: linear-gradient(135deg, #f5f5dc, #fefefe, #ffffff);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
  height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.center-content::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Edge */
}

.villa {
  margin-bottom: 6rem;
}

.villa-content {
  padding: var(--margin-md);
  background: var(--cbg-color);
  margin-top: var(--margin-md);
}

.image {
  position: relative;
}

.catchcopy {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-family: "Klee One", cursive;
  font-size: clamp(1rem, 5.5vw, 3rem);
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  z-index: 2;
  line-height: 1.6;
}

.title {
  margin-bottom: var(--margin-sm);
}

.description {
  margin-bottom: var(--margin-sm);
}

.features {
  margin-bottom: var(--margin-sm);
}

.price {
  font-size: 2rem;
  margin-bottom: var(--margin-sm);
}

.slide-info {
  display: none;
}

.slide-info.active {
  display: block;
  animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.feature-tag {
  background: linear-gradient(135deg, #4a7c59, #6ba86f);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 400;
  margin-right: 2px;
  margin-bottom: 5px;
  display: inline-block;
}

.address {
  line-height: 2;
  margin-bottom: var(--margin-md);
}

.button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4rem 2rem 2rem;
}

.button {
  background: linear-gradient(135deg, #56ab2f, #2193b0);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 20px 38px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(33, 147, 176, 0.4);
  transition: all 0.3s ease;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.5px;
}

.button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 147, 176, 0.5);
}

/* フッター */
footer {
  margin-top: 80px;
  padding: 40px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 1);
}

/* ハンバーガーメニュー（モバイル用） */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hamburger {
  width: 25px;
  height: 20px;
  position: relative;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #2d5a3d;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
  position: absolute;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2) {
  top: 8px;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(45, 90, 61, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  transition: left 0.3s ease;
  padding: 80px 40px 40px;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu .logo {
  margin-bottom: 50px;
}

.mobile-header {
  display: none;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  justify-content: flex-end;
  /* 右寄せ */
  align-items: center;
  height: 80px;
}

.mobile-logo {
  font-size: 20px;
  font-weight: 600;
  color: #2d5a3d;
  letter-spacing: 1px;
}

/* レスポンシブ */
@media (max-width: 1400px) {
  .center-content {
    width: 70%;
  }

  .spacer {
    display: none;
  }
}

@media (max-width: 1000px) {
  .mobile-header {
    display: flex;
  }

  .center-content {
    padding: 80px 0 0;
  }

  .main-layout {
    grid-template-columns: 1fr;
  }

  .left-sidebar,
  .right-sidebar {
    display: none;
  }

  .center-content {
    margin-left: 0;
    width: 100%;
  }

  .villa-content {
    margin: 1rem;
  }

  .spacer {
    display: none;
  }

  .mobile-menu-toggle,
  .mobile-menu {
    display: block;
  }
}

@media (max-width: 768px) {
  .center-content {
    margin-left: 0;
    min-width: unset;
  }

  .left-sidebar {
    display: none;
  }
}

@media (max-width: 480px) {
  .center-content {
    padding: 80px 2.5% 40px;
  }
}