/* Sunset Villa ACCORCLAW OKINAWA - Custom Styles */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Shippori+Mincho:wght@400;500;600;700&display=swap');

:root {
  --color-surface: #F8F7F4;
  --color-dim: #ECEAE4;
  --color-ink: #1C1E21;
  --color-terracotta: #BC5A45;
  --color-forest: #1E3A34;
}

body {
  background-color: var(--color-surface);
  color: var(--color-ink);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-serif {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
}

/* ????????? */
html {
  scroll-behavior: smooth;
}

/* ????????????????????? */
.bg-grain {
  background-image: radial-gradient(rgba(28, 30, 33, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
}

/* ?????????????????? */
.faq-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ヒーローグラデーション（中央の放射状ビネットとリニアグラデーションの合成で白文字を保護） */
.hero-gradient {
  background: 
    radial-gradient(ellipse at center, rgba(15, 17, 20, 0.48) 0%, rgba(15, 17, 20, 0.2) 65%, transparent 100%),
    linear-gradient(180deg, rgba(15, 17, 20, 0.4) 0%, rgba(15, 17, 20, 0.25) 45%, rgba(15, 17, 20, 0.7) 100%);
}

/* ヒーロー文字可読性シールド (Text Legibility Shield) */
.hero-title-shadow {
  text-shadow: 
    0 2px 5px rgba(0, 0, 0, 0.8),
    0 4px 18px rgba(0, 0, 0, 0.6),
    0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-subtext-shadow {
  text-shadow: 
    0 1px 4px rgba(0, 0, 0, 0.9),
    0 3px 12px rgba(0, 0, 0, 0.7);
}

/* 44px??????? */
button, a, input, select, textarea {
  touch-action: manipulation;
}

/* ヒーロー・アンビエントスライドショー (Ken Burns & Crossfade) */
.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  z-index: 1;
}

/* 2枚目（海景色）：白飛びを防ぎエメラルドグリーンの深みと白文字の視認性を最大化 */
.hero-slide[data-index="1"] img {
  filter: brightness(0.88) contrast(1.08);
  object-position: center 35%;
}

.hero-slide img {
  transform: scale(1.0);
  transition: transform 8s ease-out;
  will-change: transform;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide.active img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide img,
  .hero-slide.active img {
    transform: none !important;
    transition: none !important;
  }
  .hero-slide {
    transition: opacity 0.5s ease;
  }
}

/* スライドインジケーター */
.hero-dot {
  cursor: pointer;
}

.hero-dot.active .dot-bar {
  background-color: #FFFFFF;
  width: 28px;
}

.hero-dot.active .dot-label {
  color: #FFFFFF;
  font-weight: 600;
}