/* ===== Variables ===== */
:root {
  /* 単色アクセント（グラデーション不使用・見やすさ優先） */
  --pastel-blue: #0891b2;
  --pastel-blue-light: #e0f2fe;
  --pastel-pink: #db2777;
  --pastel-pink-light: #fce7f3;

  --ocean-deep: #0e7490;
  --ocean-mid: #0891b2;
  --ocean-light: #67e8f9;
  --sand: #fef3c7;
  --palm: #166534;
  --coral: #db2777;
  --sunset: #ea580c;
  --white: #ffffff;
  --ink: #1e293b;
  --surface: #f8fafc;
  --border: #e2e8f0;
  --shadow: rgba(15, 23, 42, 0.08);
  --radius: 16px;
  /* 全体をブロック体っぽいサンセリフに統一 */
  --font-sans: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}

/* Skip link (keyboard / screen reader) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--ocean-deep);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

/* Focus visibility (accessibility) */
a:focus-visible,
button:focus-visible,
.tab:focus-visible,
.map-hotspot:focus-visible,
.category-card:focus-visible,
.activity-card:focus-visible,
.sight-item:focus-visible {
  outline: 3px solid var(--ocean-mid);
  outline-offset: 2px;
}

/* Selection context (island / category) */
.context-banner {
  max-width: min(1600px, 100%);
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  background: var(--pastel-blue-light);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ocean-deep);
  text-align: center;
}

.context-banner[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px var(--shadow);
}

.header-inner {
  max-width: min(1600px, 100%);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ocean-deep);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--ocean-mid);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.affiliate-inline {
  font-size: 0.8rem;
  color: #64748b;
  margin: -0.5rem 0 1.25rem;
  max-width: min(900px, 100%);
}

.affiliate-inline a {
  color: var(--ocean-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-affiliate {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.footer-affiliate a {
  color: var(--ocean-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.currency-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.currency-btn {
  border: 0;
  background: transparent;
  color: var(--ocean-deep);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  line-height: 1.2;
}

.currency-btn + .currency-btn {
  border-left: 1px solid var(--border);
}

.currency-btn.is-active {
  background: var(--ocean-deep);
  color: #fff;
}

.currency-btn:hover {
  background: var(--pastel-blue-light);
}

.currency-btn.is-active:hover {
  background: var(--ocean-deep);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--ocean-deep);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.lang-btn + .lang-btn {
  border-left: 1px solid var(--border);
}

.lang-btn.is-active {
  background: var(--ocean-deep);
  color: #fff;
}

.lang-btn:hover {
  background: var(--pastel-blue-light);
}

.lang-btn.is-active:hover {
  background: var(--ocean-deep);
}

.btn-ghost {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ocean-deep);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  background: var(--pastel-pink-light);
  border-color: #f9a8d4;
  color: var(--pastel-pink);
}

.btn-fullscreen {
  font-size: 1.25rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid var(--ocean-mid);
  color: var(--ocean-mid);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.btn-fullscreen:hover {
  background: var(--ocean-mid);
  color: white;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 56vh;
  min-height: 56dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.25rem 1.5rem 1.75rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.webp") center center / cover no-repeat;
  z-index: 0;
  }

/* ヒーロー画像に色オーバーレイ・波形は付けない（写真はそのまま） */
.hero-bg::before,
.hero-bg::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: #ffffff;
  /* 背景写真の上でも読めるよう、黒系の影のみ */
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 2px 12px rgba(0, 0, 0, 0.65),
    0 0 1px rgba(0, 0, 0, 0.9);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #ffffff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 2px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-search {
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: 0 auto 2rem;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.hero-search .search-icon {
  width: 24px;
  height: 24px;
  margin-left: 1.25rem;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") center / contain no-repeat;
}

.search-input {
  flex: 1;
  padding: 1rem 1rem 1rem 0.75rem;
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: white;
  min-width: 0;
}

.search-input::placeholder {
  color: #94a3b8;
}

.search-input:focus {
  outline: none;
}

.search-btn {
  padding: 1rem 1.75rem;
  background: var(--ocean-deep);
  color: #ffffff;
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0 999px 999px 0;
}

.search-btn:hover {
  background: #0c4a6e;
}

#search-page {
  background: var(--white);
  border-radius: var(--radius);
  margin-inline: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px var(--shadow);
}

.search-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.search-page-back {
  white-space: nowrap;
}

.search-page .ten-grid {
  margin-top: 1rem;
}

.search-empty-help {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
}

.search-empty-help p {
  margin-bottom: 0.75rem;
  color: var(--ink);
  line-height: 1.6;
}

.search-keyword-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.search-keyword-links a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--pastel-blue-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ocean-deep);
  text-decoration: none;
}

.search-keyword-links a:hover {
  border-color: var(--ocean-mid);
}

.hero-islands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.pill {
  padding: 0.55rem 1.35rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  transition: background 0.2s, transform 0.2s;
}

.pill:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(-1px);
}

/* ===== Sections ===== */
.section {
  max-width: min(1600px, 100%);
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.section-desc {
  text-align: center;
  color: #475569;
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.65;
}

/* ===== Island weather strip (above Best Seller) ===== */
.island-weather-strip {
  padding-top: 0.5rem;
  padding-bottom: 0.4rem;
  margin-top: 1.25rem;
  background: var(--sand);
  border-top: 1px solid #f6c15c;
  border-bottom: 1px solid #f6c15c;
}

.island-weather-heading {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ocean-deep);
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
}

.island-weather-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.35rem;
  max-width: 900px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.1rem;
}

.island-weather-card {
  flex: 1 1 0;
  min-width: 0;
  background: #fff7dc;
  border: 1px solid #f6c15c;
  border-radius: var(--radius);
  padding: 0.18rem 0.26rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.02rem;
  box-shadow: 0 1px 3px var(--shadow);
  transition: box-shadow 0.2s;
}

.island-weather-card:hover {
  box-shadow: 0 4px 12px var(--shadow);
}

.island-weather-name {
  font-weight: 700;
  font-size: 0.66rem;
  color: var(--ocean-deep);
}

.island-weather-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  line-height: 1;
}

.island-weather-icon {
  font-size: 0.68rem;
  line-height: 1;
}

.island-weather-temp {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ocean-deep);
  line-height: 1;
}

.island-weather-desc {
  font-size: 0.56rem;
  color: #475569;
  line-height: 1.05;
}

.island-weather-source {
  text-align: center;
  font-size: 0.52rem;
  color: #94a3b8;
  margin: 0.2rem 0 0;
}

@media (max-width: 640px) {
  .island-weather-row {
    justify-content: flex-start;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .island-weather-card {
    min-width: 120px;
    flex: 0 0 auto;
  }
}

/* ===== Islands Map (reference image style) ===== */
/* ピン写真の位置: ここを変えるだけでOK。X=右が正、Y=下が正。例「KauaiをX -90 Y 30に」 */
.hawaii-map-wrap.islands-map-reference {
  --pin-kauai-x: -108px;
  --pin-kauai-y: 20px;
  --pin-oahu-x: 22px;
  --pin-oahu-y: -138px;
  --pin-maui-x: 95px;
  --pin-maui-y: -120px;
  --pin-big-x: -145px;
  --pin-big-y: 32px;
  position: relative;
  max-width: 740px;
  margin: 0 auto;
  background: var(--pastel-blue-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow);
  border: 1px solid #bae6fd;
}

.islands-map-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  object-fit: contain;
  object-position: center center;
  transform: none;
  transform-origin: center center;
  image-rendering: auto;
}

.map-hotspot {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ocean-deep);
  transition: filter 0.25s;
  min-width: 72px;
  min-height: 72px;
  z-index: 2;
  cursor: pointer;
}

.map-hotspot:hover,
.map-hotspot:focus {
  outline: none;
}

.map-hotspot:hover .map-pin-photo,
.map-hotspot:focus .map-pin-photo {
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.4));
  box-shadow: 0 0 0 4px white;
}

.map-hotspot.is-selected .map-pin-photo {
  box-shadow: 0 0 0 4px var(--ocean-deep), 0 4px 16px rgba(0, 0, 0, 0.25);
}

.map-pin-photo {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  margin-bottom: 0.4rem;
  flex-shrink: 0;
  display: block;
  background: var(--pastel-blue-light);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, filter 0.25s ease-out;
  transform-origin: center center;
}

/* 島と被らないよう、写真を海側にオフセット（変数は上で変更可）。ホバー時はその場で拡大 */
.map-hotspot-kauai .map-pin-photo { transform: translate(var(--pin-kauai-x), var(--pin-kauai-y)); }
.map-hotspot-oahu .map-pin-photo  { transform: translate(var(--pin-oahu-x), var(--pin-oahu-y)); }
.map-hotspot-maui .map-pin-photo  { transform: translate(var(--pin-maui-x), var(--pin-maui-y)); }
.map-hotspot-big .map-pin-photo   { transform: translate(var(--pin-big-x), var(--pin-big-y)); }
.map-hotspot-kauai:hover .map-pin-photo,
.map-hotspot-kauai:focus .map-pin-photo { transform: translate(var(--pin-kauai-x), var(--pin-kauai-y)) scale(1.28); }
.map-hotspot-oahu:hover .map-pin-photo,
.map-hotspot-oahu:focus .map-pin-photo  { transform: translate(var(--pin-oahu-x), var(--pin-oahu-y)) scale(1.28); }
.map-hotspot-maui:hover .map-pin-photo,
.map-hotspot-maui:focus .map-pin-photo  { transform: translate(var(--pin-maui-x), var(--pin-maui-y)) scale(1.28); }
.map-hotspot-big:hover .map-pin-photo,
.map-hotspot-big:focus .map-pin-photo   { transform: translate(var(--pin-big-x), var(--pin-big-y)) scale(1.28); }

.map-pin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-pin-label {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.95),
    0 0 8px rgba(255, 255, 255, 0.85);
  color: var(--ocean-deep);
  transition: transform 0.25s ease-out;
  transform-origin: center center;
}

.map-hotspot-kauai .map-pin-label { transform: translate(var(--pin-kauai-x), var(--pin-kauai-y)); }
.map-hotspot-oahu .map-pin-label  { transform: translate(var(--pin-oahu-x),  var(--pin-oahu-y)); }
.map-hotspot-maui .map-pin-label  { transform: translate(var(--pin-maui-x),  var(--pin-maui-y)); }
.map-hotspot-big .map-pin-label   { transform: translate(var(--pin-big-x),   var(--pin-big-y)); }
.map-hotspot-kauai:hover .map-pin-label,
.map-hotspot-kauai:focus .map-pin-label { transform: translate(var(--pin-kauai-x), var(--pin-kauai-y)) scale(1.28); }
.map-hotspot-oahu:hover .map-pin-label,
.map-hotspot-oahu:focus .map-pin-label  { transform: translate(var(--pin-oahu-x),  var(--pin-oahu-y)) scale(1.28); }
.map-hotspot-maui:hover .map-pin-label,
.map-hotspot-maui:focus .map-pin-label  { transform: translate(var(--pin-maui-x),  var(--pin-maui-y)) scale(1.28); }
.map-hotspot-big:hover .map-pin-label,
.map-hotspot-big:focus .map-pin-label   { transform: translate(var(--pin-big-x),   var(--pin-big-y)) scale(1.28); }

/* Position icon over each island (Kauai → Oahu → Maui → Big Island) */
.map-hotspot-kauai { left: 20%; top: 18%; }
.map-hotspot-oahu  { left: 42%; top: 30%; }
.map-hotspot-maui  { left: 63%; top: 42%; }
.map-hotspot-big   { left: 75%; top: 64%; }

/* ===== Islands (legacy cards - kept for any other use) ===== */
.island-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.island-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: white;
  transition: transform 0.3s;
}

.island-card:hover {
  transform: scale(1.03);
}

.island-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}

.island-card:hover .island-img {
  transform: scale(1.08);
}

.island-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
}

.island-img.oahu { background-image: url("../images/oahu.png"); }
.island-img.maui { background-image: url("../images/maui.png"); }
.island-img.big { background-image: url("../images/big-island.png"); }
.island-img.kauai { background-image: url("../images/kauai.png"); }

.island-label {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.island-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  font-weight: 600;
}

/* ===== Categories ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px var(--shadow);
}

.category-card:hover {
  border-color: #7dd3fc;
  box-shadow: 0 4px 14px var(--shadow);
}

.category-card.is-active {
  border-color: var(--ocean-deep);
  background: var(--pastel-blue-light);
  box-shadow: 0 2px 8px var(--shadow);
}

.category-icon {
  font-size: 1.75rem;
}

.category-card span:last-of-type {
  font-weight: 500;
  color: var(--ink);
}

/* ===== Tabs ===== */
.tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tab {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.tab:hover {
  border-color: #7dd3fc;
  color: var(--ocean-deep);
  background: var(--pastel-blue-light);
}

.tab.active {
  background: var(--ocean-deep);
  border-color: var(--ocean-deep);
  color: #ffffff;
  font-weight: 600;
}

/* Best Seller / Top Rated タブパネル */
.bestseller-toprated-section .tabs {
  margin-bottom: 1.5rem;
}

.bestseller-toprated-section .tab-panels {
  margin-top: 0;
}

.bestseller-toprated-section .tab-panel {
  display: none;
}

.bestseller-toprated-section .tab-panel.is-active {
  display: block;
}

/* ===== Activity Cards ===== */
.activity-grid,
.bestseller-grid,
.toprated-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Best Seller は大きい画面で 5列並びにする */
.bestseller-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* (Special Deal section removed) */

/* ===== Island picks (below map) ===== */
.island-picks {
  padding-top: 0.5rem;
  display: none;
}

.island-picks.is-active {
  display: block;
}

/* ===== Category picks (below categories) ===== */
.category-picks {
  display: none;
}

.category-picks.is-active {
  display: block;
}

.ten-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 1.25rem 0 0.75rem;
  color: var(--ocean-deep);
}

.five-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
}

a.activity-card {
  text-decoration: none;
  color: inherit;
}

.activity-card {
  position: relative;
  background: var(--white);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.24s, transform 0.24s;
}

.activity-card:hover,
.activity-card:focus-within {
  box-shadow: 0 14px 32px var(--shadow);
  transform: translateY(-7px);
}

/* Stronger hover motion for Best Seller / Must-See cards */
#bestseller-section .activity-card:hover,
#bestseller-section .activity-card:focus-within,
#sights .activity-card:hover,
#sights .activity-card:focus-within {
  box-shadow: 0 18px 36px var(--shadow);
  transform: translateY(-11px);
}

/* （以前の Viator / Tripadvisor の小ボタン用スタイルは削除済み） */

.activity-img {
  height: 180px;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.activity-img.img-sandbar { background-image: url("../images/waimea-valley.png"); background-position: center 42%; }
.activity-img.img-waikiki { background-image: url("../images/waikiki-beach.png"); background-position: center 40%; }
.activity-img.img-pearlharbor { background-image: url("../images/pearl-harbor.png"); background-position: center center; }
.activity-img.img-kualoa { background-image: url("../images/kualoa-ranch.png"); background-position: center 35%; }
.activity-img.img-diamondhead { background-image: url("../images/diamond-head.webp"); background-position: center 45%; }
.activity-img.img-kaanapali { background-image: url("../images/kaanapali-beach.webp"); background-position: center 40%; }
.activity-img.img-napali { background-image: url("../images/na-pali-coast.png"); background-position: center 35%; }
.activity-img.img-turtletown { background-image: url("../images/turtle-town.png"); background-position: center 40%; }
.activity-img.img-dole { background-image: url("../images/dole-plantation.webp"); background-position: center 45%; }
.activity-img.img-polynesian { background-image: url("../images/polynesian-cultural-center.png"); background-position: center 40%; }
.activity-img.img-manoa { background-image: url("../images/manoa-falls.png"); background-position: center 30%; }
.activity-img.img-luau { background-image: url("../images/luau-stage.png"); background-position: center 42%; }
.activity-img.img-tubing { background-image: url("../images/kauai-tubing.webp"); }
.activity-img.img-snorkel { background-image: url("../images/waikiki-turtle-canyon.png"); background-position: center 46%; }
.activity-img.img-atv { background-image: url("../images/shark-cage.png"); background-position: center 44%; }
.activity-img.img-grotto { background-image: url("../images/kauai.png"); }
.activity-img.img-volcano { background-image: url("../images/volcano-field.png"); background-position: center 52%; }
.activity-img.img-maunakea { background-image: url("../images/mauna-kea-summit.png"); background-position: center 48%; }
.activity-img.img-whale { background-image: url("../images/whale-watching.png"); background-position: center 44%; }
.activity-img.img-heli { background-image: url("../images/kauai-helicopter-view.png"); background-position: center 46%; }
.activity-img.img-haleakala { background-image: url("../images/haleakala-sunrise-view.png"); background-position: center 47%; }

.activity-duration {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.activity-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--pastel-pink);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  z-index: 1;
}

.activity-badge.badge-top {
  background: #059669;
}

.activity-badge.badge-new {
  background: var(--ocean-mid);
}

.activity-badge.badge-sellout {
  background: #dc2626;
}

.filters-tabs {
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filters-tabs .filter-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-right: 0.5rem;
  align-self: center;
}

.activity-body {
  padding: 1.25rem;
}

.activity-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.activity-meta {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* 5つ星（数値に合わせて塗り分け） */
.star-rating {
  --rating: 0;
  --percent: calc(var(--rating) / 5 * 100%);
  position: relative;
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.star-rating::before {
  content: "★★★★★";
  color: #cbd5e1; /* empty stars */
}

.star-rating::after {
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--percent);
  overflow: hidden;
  color: #f59e0b; /* filled stars */
}

.rating-num {
  color: var(--ink);
  font-weight: 700;
}

.reviews {
  color: #64748b;
  margin-left: 0.25rem;
}

.price {
  font-weight: 600;
  color: var(--ocean-deep);
  font-size: 1rem;
}

/* ===== Special Deal price styling ===== */
.deal-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.35rem;
  font-weight: 700;
}

.price-old {
  color: #0f172a;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  font-weight: 700;
  font-size: 0.95rem;
}

.price-new {
  color: #ef4444;
  font-weight: 800;
  font-size: 1.05rem;
}

.discount-badge {
  background: #ef4444;
  border: 2px solid #ef4444;
  color: #ffffff;
  font-weight: 800;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--ocean-deep);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #0c4a6e;
}

/* ===== Sights ===== */
/* Must-See & Must-Do (Top sights style) */
.top-sights-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.top-sight {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: center;
  color: inherit;
}

.top-sight-img {
  display: block;
  width: 84px;
  height: 84px;
  margin: 0 auto 0.6rem;
  border-radius: 999px;
  border: 3px solid white;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  overflow: hidden;
}

.top-sight-label {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}

.top-sight.is-active .top-sight-img {
  box-shadow: 0 0 0 4px rgba(14,165,233,0.25), 0 10px 24px rgba(0,0,0,0.18);
}

.top-sight-results {
  display: none;
  margin-top: 1.5rem;
}

.top-sight-results.is-active {
  display: block;
}

.sight-img {
  height: 120px;
  background-size: cover;
  background-position: center;
}

.sight-img.sandbar { background-image: url("../images/kaneohe-sandbar.webp"); }
.sight-img.volcano { background-image: url("../images/volcano.webp"); }
.sight-img.napali { background-image: url("../images/napali.webp"); }
.sight-img.hana { background-image: url("../images/road-to-hana.webp"); }
.sight-img.maunakea { background-image: url("../images/mauna-kea.webp"); }
.sight-img.kualoa { background-image: url("../images/kualoa.webp"); }
.sight-img.haleakala { background-image: url("../images/maui.webp"); }
.sight-img.waipio { background-image: url("../images/big-island.webp"); }

/* legacy sight-card styles removed */

.sight-item {
  position: relative;
  cursor: pointer;
}

.sight-item.is-active {
  box-shadow: 0 0 0 2px var(--ocean-deep);
}

.sight-related-area {
  display: none;
  margin-top: 1.25rem;
}

.sight-related-area.is-active {
  display: block;
}

.sight-related-area-title {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ocean-deep);
}

.sight-related-area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Hover panel shown right under targeted sight card */
.sight-related-panel {
  grid-column: 1 / -1;
  background: var(--pastel-blue-light);
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 1rem;
}

.sight-related-title {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.sight-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* ===== Deals ===== */
.deal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.deal-card {
  padding: 2rem;
  background: var(--ocean-deep);
  border-radius: var(--radius);
  color: white;
  text-align: center;
  transition: transform 0.2s;
}

.deal-card:hover {
  transform: translateY(-4px);
}

.deal-off {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.deal-card p {
  font-size: 1rem;
  opacity: 0.95;
}

/* ===== Footer ===== */
.footer {
  background: var(--pastel-blue-light);
  color: var(--ink);
  padding: 3rem 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: min(1600px, 100%);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--ocean-deep);
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--pastel-pink);
}

.footer-copy {
  font-size: 0.875rem;
  color: #64748b;
}

/* ===== Simple Tour Diagnosis ===== */
#tour-diagnosis .section-title {
  color: var(--ocean-deep);
}

#tour-diagnosis .section-desc {
  color: #7c2d12;
}

.diagnosis-card {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 55%, #eff6ff 100%);
  border: 1px solid #f9a8d4;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 10px 24px rgba(219, 39, 119, 0.14);
}

.diag-progress {
  font-size: 0.85rem;
  color: #9a3412;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.diag-question {
  font-size: 1.18rem;
  color: #9d174d;
  margin: 0 0 0.8rem;
}

.diag-options {
  display: grid;
  gap: 0.65rem;
}

.diag-option-btn {
  text-align: left;
  background: #ffffff;
  border: 1px solid #fdba74;
  color: #7c2d12;
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.diag-option-btn:hover {
  border-color: #db2777;
  background: #fff1f2;
  box-shadow: 0 6px 14px rgba(251, 113, 133, 0.18);
  transform: translateY(-2px);
}

.diag-actions {
  margin-top: 0.9rem;
}

.diag-result-title {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
  color: #be185d;
}

.diag-result-item {
  border: 1px solid #f9a8d4;
  border-radius: 14px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.65rem;
}

.diag-result-item h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.diag-result-item p {
  margin: 0;
  color: #7c2d12;
  font-size: 0.92rem;
}

.diag-related-title {
  margin-top: 0.6rem !important;
  font-weight: 700;
  color: #be185d !important;
}

.diag-related-cards {
  margin-top: 0.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.diag-related-cards .activity-img {
  height: 130px;
}

@media (max-width: 1024px) {
  .diag-related-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .diag-related-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== Site Policies ===== */
.site-policies {
  background: #ffffff;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.policy-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.policy-card h3 {
  margin: 0 0 0.75rem;
  color: var(--ocean-deep);
  font-size: 1.1rem;
}

.policy-card h4 {
  margin: 1rem 0 0.4rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.policy-card p {
  margin: 0.45rem 0;
  color: #334155;
}

.policy-card a {
  color: var(--ocean-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
}

@media (max-width: 1024px) {
  .section {
    padding: 3rem 1.25rem;
  }
  .island-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .top-sights-row { grid-template-columns: repeat(3, 1fr); }
  .deal-cards { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header {
    position: static;
    backdrop-filter: none;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 0.8rem 0.9rem;
  }
  .logo {
    font-size: 1.08rem;
    line-height: 1.25;
  }
  .header-actions {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: 0.3rem;
    flex-wrap: nowrap;
  }
  .currency-switch,
  .lang-switch {
    width: auto;
    max-width: none;
  }
  .currency-btn,
  .lang-btn {
    flex: 0 0 auto;
    min-height: 44px;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.28rem 0.6rem;
    text-align: center;
  }
  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 0.8rem;
  }
  .context-banner {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }
  .section {
    padding: 1.9rem 0.9rem;
  }
  .section-title {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
    margin-bottom: 0.4rem;
    line-height: 1.25;
  }
  .section-desc {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .island-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .activity-grid,
  .toprated-grid,
  .bestseller-grid,
  .ten-grid,
  .five-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .top-sights-row { grid-template-columns: repeat(2, 1fr); }
  .hero-islands { flex-direction: column; align-items: center; }
  .sight-related-area-grid { grid-template-columns: 1fr; }
  .sight-related-grid { grid-template-columns: 1fr; }
  .hero {
    min-height: 40vh;
    padding: 1.7rem 0.9rem 1rem;
  }
  .hero-title {
    font-size: clamp(1.35rem, 6.2vw, 1.72rem);
    margin-bottom: 0.45rem;
    text-transform: none;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }
  .hero-search {
    margin-bottom: 0.6rem;
    max-width: 100%;
  }
  .search-input {
    min-height: 44px;
    font-size: 16px; /* iOS zoom防止 */
  }
  .search-btn {
    min-height: 44px;
    font-size: 0.95rem;
    padding-inline: 0.8rem;
  }
  .island-weather-strip {
    margin-top: 0.55rem;
  }
  .island-weather-heading {
    font-size: 0.95rem;
    margin-bottom: 0.55rem;
  }
  .island-weather-card {
    padding: 0.45rem 0.55rem;
  }
  .island-weather-name {
    font-size: 0.82rem;
  }
  .island-weather-temp {
    font-size: 1.05rem;
  }
  .hawaii-map-wrap.islands-map-reference {
    max-width: 100%;
    border-radius: 12px;
    --pin-kauai-x: 0px;
    --pin-kauai-y: 0px;
    --pin-oahu-x: 0px;
    --pin-oahu-y: 0px;
    --pin-maui-x: 0px;
    --pin-maui-y: 0px;
    --pin-big-x: 0px;
    --pin-big-y: 0px;
  }
  .islands-map-img {
    width: 100%;
    max-width: 100%;
  }
  .map-hotspot {
    min-width: 48px;
    min-height: 48px;
  }
  .map-pin-photo {
    width: 64px;
    height: 64px;
  }
  .map-pin-label {
    font-size: 0.76rem;
  }
  .map-hotspot-kauai .map-pin-photo,
  .map-hotspot-oahu .map-pin-photo,
  .map-hotspot-maui .map-pin-photo,
  .map-hotspot-big .map-pin-photo,
  .map-hotspot-kauai:hover .map-pin-photo,
  .map-hotspot-oahu:hover .map-pin-photo,
  .map-hotspot-maui:hover .map-pin-photo,
  .map-hotspot-big:hover .map-pin-photo,
  .map-hotspot-kauai:focus .map-pin-photo,
  .map-hotspot-oahu:focus .map-pin-photo,
  .map-hotspot-maui:focus .map-pin-photo,
  .map-hotspot-big:focus .map-pin-photo {
    transform: none;
  }
  .map-hotspot-kauai .map-pin-label,
  .map-hotspot-oahu .map-pin-label,
  .map-hotspot-maui .map-pin-label,
  .map-hotspot-big .map-pin-label,
  .map-hotspot-kauai:hover .map-pin-label,
  .map-hotspot-oahu:hover .map-pin-label,
  .map-hotspot-maui:hover .map-pin-label,
  .map-hotspot-big:hover .map-pin-label,
  .map-hotspot-kauai:focus .map-pin-label,
  .map-hotspot-oahu:focus .map-pin-label,
  .map-hotspot-maui:focus .map-pin-label,
  .map-hotspot-big:focus .map-pin-label {
    transform: none;
  }
  .activity-card {
    border-radius: 14px;
  }
  .activity-img {
    height: 172px;
  }
  .activity-body {
    padding: 0.8rem 0.78rem 0.85rem;
  }
  .activity-body h3 {
    font-size: 0.95rem;
    line-height: 1.42;
    margin-bottom: 0.42rem;
  }
  .activity-meta {
    gap: 0.35rem;
    margin-bottom: 0.45rem;
  }
  .price {
    font-size: 0.96rem;
  }
  .category-card {
    min-height: 52px;
    padding: 0.7rem 0.8rem;
  }
  .category-icon {
    font-size: 1.15rem;
  }
  .search-page-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
  .btn-primary,
  .btn-ghost {
    min-height: 42px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0.65rem 0.7rem;
    gap: 0.55rem;
  }
  .logo { font-size: 0.98rem; }
  .section {
    padding: 1.55rem 0.72rem;
  }
  .section-title {
    font-size: clamp(1.22rem, 5.8vw, 1.4rem);
  }
  .section-desc {
    font-size: 0.9rem;
  }
  .hero {
    min-height: 36vh;
    padding-top: 1.35rem;
  }
  .hero-title {
    font-size: 1.3rem;
  }
  .hero-subtitle {
    font-size: 0.86rem;
    margin-bottom: 0.65rem;
  }
  .header-actions {
    gap: 0.24rem;
  }
  .currency-btn,
  .lang-btn {
    min-height: 40px;
    font-size: 0.8rem;
    padding: 0.24rem 0.5rem;
  }
  .activity-img {
    height: 160px;
  }
  .activity-body h3 {
    font-size: 0.96rem;
  }
  .island-weather-row {
    flex-wrap: wrap;
    justify-content: center;
  }
  .island-weather-card {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 0;
  }
}

/* 広めスマホは2列、通常スマホは1列 */
@media (min-width: 430px) and (max-width: 768px) {
  .activity-grid,
  .toprated-grid,
  .bestseller-grid,
  .ten-grid,
  .five-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
