@charset "UTF-8";
/* ==============================================================
   Minshuku Yadokari — Kerama Blue Resort LP
   ============================================================== */

:root {
  --blue-deep: #0a4d6e;      /* 深い慶良間 */
  --blue-main: #0ba5e0;      /* 慶良間ブルー */
  --blue-soft: #7fd3ee;      /* 浅瀬の水色 */
  --blue-pale: #e6f6fb;      /* 朝の海面 */
  --sand:      #faf7f2;      /* 白砂 */
  --sand-warm: #f3ead9;      /* 焼けた砂 */
  --coral:     #f4a6a0;      /* サンゴピンク */
  --coral-deep:#e26d5a;      /* 夕焼け */
  --palm:      #5b8a6e;      /* ヤシ葉 */
  --ink:       #1a2730;
  --ink-soft:  #4a5c6a;
  --line:      rgba(10, 77, 110, 0.12);

  --font-jp: "Noto Sans JP", system-ui, sans-serif;
  --font-en: "DM Serif Display", "Times New Roman", serif;
  --font-num: "Inter", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  overflow-x: hidden;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: linear-gradient(to bottom, rgba(10,77,110,0.45), rgba(10,77,110,0));
  transition: background 0.4s ease, padding 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.92);
  padding: 12px 32px;
  box-shadow: 0 4px 24px rgba(10,77,110,0.06);
  backdrop-filter: blur(8px);
}
.brand {
  display: flex; flex-direction: column; line-height: 1.1;
  color: #fff;
}
.site-header.is-scrolled .brand { color: var(--blue-deep); }
.brand-jp {
  font-size: 18px; font-weight: 500; letter-spacing: 0.12em;
}
.brand-en {
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 0.2em; opacity: 0.85;
  margin-top: 2px;
}

.lang-switcher {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.28);
}
.site-header.is-scrolled .lang-switcher {
  background: rgba(11,165,224,0.08);
  border-color: rgba(11,165,224,0.18);
}
.lang-btn {
  font-family: var(--font-num);
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  transition: all 0.2s ease;
  min-width: 36px;
}
.site-header.is-scrolled .lang-btn { color: var(--blue-deep); }
.lang-btn:hover { background: rgba(255,255,255,0.15); }
.site-header.is-scrolled .lang-btn:hover { background: rgba(11,165,224,0.12); }
.lang-btn.is-active {
  background: var(--coral);
  color: #fff;
}
.site-header.is-scrolled .lang-btn.is-active { color: #fff; }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative;
  height: 100vh; min-height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a4d6e, #0ba5e0);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,77,110,0.35) 0%, rgba(10,77,110,0.15) 40%, rgba(10,77,110,0.55) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(10,77,110,0.25) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 80px 24px 100px;
  color: #fff;
}
.hero-eyebrow {
  font-size: 12px; letter-spacing: 0.4em;
  text-transform: uppercase;
  margin: 0 0 28px;
  opacity: 0.92;
  font-weight: 500;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: "—"; margin: 0 14px; opacity: 0.7;
}
.hero-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(38px, 7.2vw, 84px);
  line-height: 1.18;
  letter-spacing: 0.06em;
  margin: 0;
  text-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.hero-title .line {
  display: block;
  opacity: 0; transform: translateY(28px);
  animation: heroLineIn 1s cubic-bezier(0.2,0.7,0.3,1) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) { animation-delay: 0.5s; color: var(--coral); }
@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  font-family: var(--font-en);
  font-style: italic;
  font-size: clamp(15px, 2vw, 20px);
  letter-spacing: 0.04em;
  margin: 22px 0 0;
  opacity: 0; animation: heroLineIn 1s 0.9s forwards;
}
.hero-lead {
  margin: 36px 0 0;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 2.0;
  opacity: 0; animation: heroLineIn 1s 1.1s forwards;
  max-width: 580px;
}
.hero-cta {
  margin-top: 44px;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: heroLineIn 1s 1.3s forwards;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.12em;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 24px rgba(228,109,90,0.4);
}
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(228,109,90,0.5); }
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

.scroll-cue {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #fff; opacity: 0.85;
  font-family: var(--font-num);
  font-size: 10px; letter-spacing: 0.3em;
}
.scroll-cue .line-down {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================================
   共通セクション
   ============================================================ */
.section {
  padding: 120px 24px;
  position: relative;
}
.container { max-width: 1180px; margin: 0 auto; }
.container.narrow { max-width: 860px; margin: 0 auto; }

.eyebrow {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--blue-main);
  margin: 0 0 18px;
}
.eyebrow.light { color: var(--coral); }
.section-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin: 0 0 36px;
  color: var(--blue-deep);
}
.section-title span { display: block; }
.section-title.light { color: #fff; }
.section-lead {
  font-size: 15px; line-height: 2.0;
  color: var(--ink-soft);
  margin: 0 0 48px;
  max-width: 640px;
}

/* スクロール演出 */
[data-section] > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
[data-section].is-visible > * {
  opacity: 1; transform: translateY(0);
}
[data-section].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
[data-section].is-visible > *:nth-child(3) { transition-delay: 0.16s; }
[data-section].is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.hero > * { opacity: 1 !important; transform: none !important; }

/* ============================================================
   About
   ============================================================ */
.about { background: var(--sand); }
.about-body p {
  font-size: 16px; line-height: 2.1;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.kpi {
  list-style: none; padding: 0; margin: 64px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}
.kpi li {
  display: flex; flex-direction: column; align-items: flex-start;
}
.kpi-num {
  font-family: var(--font-num);
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 300;
  color: var(--blue-main);
  line-height: 1;
}
.kpi-num small {
  font-size: 0.4em;
  margin-left: 6px;
  color: var(--blue-deep);
  font-weight: 400;
}
.kpi-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* ============================================================
   Beach（青の濃いセクション）
   ============================================================ */
.beach {
  background: linear-gradient(160deg, var(--blue-deep) 0%, var(--blue-main) 100%);
  color: #fff;
  overflow: hidden;
}
.beach::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(127,211,238,0.25), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(244,166,160,0.18), transparent 50%);
  pointer-events: none;
}
.beach .container { position: relative; }
.beach-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 8px;
}
.beach-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 36px 28px;
  transition: transform 0.4s ease, background 0.4s ease;
}
.beach-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.14);
}
.beach-icon {
  width: 56px; height: 56px;
  color: var(--coral);
  margin-bottom: 24px;
}
.beach-icon svg { width: 100%; height: 100%; }
.beach-card h3 {
  font-size: 18px; font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  color: #fff;
}
.beach-card p {
  font-size: 14px; line-height: 1.95;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ============================================================
   Rooms
   ============================================================ */
.rooms { background: var(--sand-warm); }
.room-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 16px;
}
.room-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px;
  box-shadow: 0 12px 32px rgba(10,77,110,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--blue-soft);
}
.room-card:nth-child(2) { border-top-color: var(--coral); }
.room-card:nth-child(3) { border-top-color: var(--palm); }
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10,77,110,0.12);
}
.room-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.16em;
  padding: 4px 12px;
  background: var(--blue-pale);
  color: var(--blue-main);
  border-radius: 999px;
  margin-bottom: 18px;
}
.room-card h3 {
  font-size: 20px; font-weight: 700;
  margin: 0 0 14px;
  color: var(--blue-deep);
}
.room-card p {
  font-size: 14px; line-height: 1.9;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.room-meta {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 13px !important;
  color: var(--coral-deep) !important;
  margin: 0 !important;
}
.room-note {
  margin: 36px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

/* ============================================================
   Day plan（タイムライン）
   ============================================================ */
.dayplan { background: var(--sand); }
.timeline {
  list-style: none; padding: 0; margin: 0;
  position: relative;
  max-width: 760px; margin: 0 auto;
}
.timeline::before {
  content: ""; position: absolute;
  left: 92px; top: 18px; bottom: 18px;
  width: 1px;
  background: linear-gradient(to bottom, var(--blue-soft), var(--coral));
}
.timeline li {
  position: relative;
  padding: 0 0 36px 130px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 87px; top: 14px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(244,166,160,0.25);
}
.timeline .time {
  position: absolute; left: 0; top: 8px;
  font-family: var(--font-num);
  font-size: 16px; font-weight: 500;
  color: var(--blue-main);
  letter-spacing: 0.04em;
  width: 72px; text-align: right;
}
.timeline h3 {
  font-size: 17px; font-weight: 700;
  margin: 0 0 8px;
  color: var(--blue-deep);
  letter-spacing: 0.04em;
}
.timeline p {
  font-size: 14px; line-height: 1.95;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================================
   Access
   ============================================================ */
.access {
  background: linear-gradient(170deg, #0a4d6e 0%, #0d6b95 100%);
  color: #fff;
}
.access::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(127,211,238,0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(244,166,160,0.12), transparent 40%);
}
.access .container { position: relative; }
.access-steps {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 24px 0 64px;
}
.access-step {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 28px 22px;
}
.step-num {
  font-family: var(--font-en);
  font-size: 28px; font-style: italic;
  color: var(--coral);
  display: block; margin-bottom: 10px;
  line-height: 1;
}
.access-step h3 {
  font-size: 16px; font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: 0.06em;
}
.access-step p {
  font-size: 13px; line-height: 1.85;
  margin: 0;
  color: rgba(255,255,255,0.85);
}
.access-arrow {
  color: var(--coral);
  font-size: 28px;
  font-weight: 300;
  text-align: center;
}
.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.18);
}
.map-wrap iframe {
  width: 100%; height: 100%; border: 0;
  filter: saturate(1.1);
}

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--sand); }
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 16px 0 0;
}
.contact-card {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 12px 32px rgba(10,77,110,0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--blue-main);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10,77,110,0.14);
  border-left-color: var(--coral);
}
.contact-label {
  font-size: 12px; letter-spacing: 0.16em;
  color: var(--blue-main);
  margin-bottom: 14px;
  font-weight: 500;
}
.contact-value {
  font-family: var(--font-num);
  font-size: 22px; font-weight: 400;
  color: var(--blue-deep);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  word-break: break-all;
}
.contact-sub {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: auto;
}
.contact-note {
  margin: 40px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  padding: 16px;
  background: var(--blue-pale);
  border-radius: 8px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--blue-deep);
  color: #fff;
  padding: 60px 24px 40px;
  text-align: center;
}
.footer-brand {
  font-size: 18px; font-weight: 500;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
}
.footer-addr, .footer-meta {
  font-size: 13px; margin: 6px 0;
  opacity: 0.85;
}
.footer-copy {
  margin: 24px 0 0;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0.6;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 920px) {
  .beach-grid { grid-template-columns: repeat(2, 1fr); }
  .room-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .access-steps { grid-template-columns: 1fr; gap: 16px; }
  .access-arrow { display: none; }
  .kpi { grid-template-columns: 1fr 1fr; gap: 20px; }
  .kpi li:nth-child(3) { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-header { padding: 14px 18px; }
  .site-header.is-scrolled { padding: 10px 18px; }
  .brand-jp { font-size: 15px; }
  .brand-en { font-size: 9px; }
  .lang-btn { padding: 5px 9px; font-size: 11px; min-width: 32px; }

  .section { padding: 80px 20px; }
  .hero { min-height: 560px; }
  .hero-inner { padding: 70px 20px 80px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.3em; }
  .hero-eyebrow::before, .hero-eyebrow::after { margin: 0 8px; }
  .hero-lead { font-size: 13px; line-height: 1.9; }
  .hero-cta { gap: 10px; }
  .btn { padding: 14px 22px; font-size: 13px; }

  .section-title { font-size: 26px; }
  .beach-grid { grid-template-columns: 1fr; }
  .beach-card { padding: 28px 22px; }

  .timeline::before { left: 64px; }
  .timeline li { padding-left: 96px; }
  .timeline li::before { left: 59px; }
  .timeline .time { width: 48px; font-size: 14px; }

  .kpi { grid-template-columns: 1fr; }
  .kpi li:nth-child(3) { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-section] > * { opacity: 1; transform: none; }
}
