:root {
  --area-navy: #0a3158;
  --area-blue: #1166d9;
  --area-sky: #edf8ff;
  --area-line: #c7e1f5;
  --area-coral: #ff6f61;
  --area-cream: #fff8f1;
  --area-text: #18334a;
  --area-muted: #647989;
  --area-shadow: 0 18px 50px rgba(5, 57, 98, 0.12);
}

.area-detail-page {
  background: #fff;
  color: var(--area-text);
}

.area-detail-page h1,
.area-detail-page h2,
.area-detail-page h3 {
  font-family: "Noto Serif JP", serif;
  color: var(--area-navy);
  letter-spacing: 0.045em;
}

.area-detail-page .site-header .nav-link.active {
  color: var(--ocean);
  border-bottom: 2px solid var(--ocean);
}

.area-review-menu {
  display: none;
}

.area-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #07315b;
}

.area-hero-media,
.area-hero-media::before,
.area-hero-media::after {
  position: absolute;
  inset: 0;
}

.area-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.area-hero-media::before {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 35, 66, 0.91) 0%, rgba(4, 35, 66, 0.73) 34%, rgba(4, 35, 66, 0.22) 65%, rgba(4, 35, 66, 0.04) 100%);
}

.area-hero-media::after {
  content: "";
  z-index: 1;
  background: linear-gradient(0deg, rgba(5, 41, 76, 0.2), transparent 44%);
}

.area-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 62px;
  padding-bottom: 74px;
  color: #fff;
}

.area-breadcrumb {
  position: absolute;
  top: 26px;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.area-breadcrumb a:hover { color: #fff; }
.area-breadcrumb span:last-child { color: #fff; }

.area-hero-copy {
  width: min(760px, 68%);
}

.area-hero-kicker {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 17px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.area-hero-kicker::after {
  content: "";
  width: 32px;
  height: 2px;
  background: #76bfff;
}

.area-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(34px, 3.55vw, 50px);
  line-height: 1.42;
  letter-spacing: 0.055em;
  text-shadow: 0 3px 18px rgba(0, 22, 45, 0.2);
}

.area-hero-lead {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.95;
}

.shop-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 27px;
  padding: 13px 18px;
  color: var(--area-navy);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(3, 28, 55, 0.16);
  font-size: 14px;
  font-weight: 700;
}

.shop-count-badge svg { width: 24px; color: var(--area-blue); }
.shop-count-badge strong { color: var(--area-blue); font-size: 22px; }

.area-feature-wrap {
  position: relative;
  z-index: 4;
  margin-top: -34px;
}

.area-feature-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 18px 12px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(184, 210, 230, 0.85);
  border-radius: 12px;
  box-shadow: var(--area-shadow);
  backdrop-filter: blur(12px);
}

.area-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 54px;
  color: var(--area-navy);
  font-size: 14px;
  font-weight: 700;
  border-right: 1px solid #dce9f2;
}

.area-feature:last-child { border-right: 0; }
.area-feature svg { width: 35px; height: 35px; color: var(--area-blue); }

.area-section {
  padding: 74px 0;
}

.area-section-title {
  position: relative;
  margin-bottom: 34px;
  font-size: clamp(26px, 3vw, 35px);
  line-height: 1.5;
}

.area-section-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 12px;
  background: var(--area-blue);
}

.sea-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: center;
}

.sea-feature-copy p {
  color: var(--area-muted);
  font-size: 15px;
  line-height: 2.05;
}

.sea-feature-copy p + p { margin-top: 18px; }

.sea-feature-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-bottom: 5px;
  color: var(--area-blue);
  border-bottom: 1px solid var(--area-blue);
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 700;
}

.sea-feature-note svg { width: 20px; color: var(--area-coral); }

.sea-gallery {
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  min-height: 386px;
}

.sea-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(6, 52, 86, 0.1);
}

.sea-gallery figure:first-child { grid-row: 1 / 3; }
.sea-gallery img { width: 100%; height: 100%; object-fit: cover; }

.area-cards-section {
  padding: 40px 0 48px;
  background: linear-gradient(180deg, #edf8ff 0%, #f6fbff 100%);
}

.area-cards-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: clamp(25px, 3vw, 34px);
}

.area-cards-title::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin: 10px auto 0;
  background: var(--area-blue);
}

.area-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.area-spot-card {
  display: grid;
  grid-template-columns: 44% 1fr;
  min-height: 154px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dcebf5;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(9, 62, 101, 0.07);
}

.area-spot-card img { width: 100%; height: 100%; object-fit: cover; }
.area-spot-card-body { padding: 18px 16px; }
.area-spot-card h3 { margin-bottom: 9px; font-size: 18px; line-height: 1.45; }
.area-spot-card p { color: var(--area-muted); font-size: 12.5px; line-height: 1.8; }

.audience-band {
  padding: 27px 0 30px;
  background: linear-gradient(90deg, #fffaf7 0%, #fff5ed 50%, #fffaf7 100%);
  border-top: 1px solid #fae9dd;
  border-bottom: 1px solid #fae9dd;
}

.audience-band h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: clamp(23px, 2.7vw, 31px);
}

.audience-band h2::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin: 9px auto 0;
  background: var(--area-coral);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.audience-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 20px;
  border-right: 1px solid #e7d8cd;
  color: var(--area-navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

.audience-item:last-child { border-right: 0; }
.audience-item svg { width: 28px; height: 28px; flex: 0 0 auto; color: var(--area-coral); }
.audience-item:nth-child(3) svg,
.audience-item:nth-child(4) svg { color: var(--area-blue); }

.access-section {
  padding: 42px 0 32px;
  background: #fff;
}

.access-section h2 {
  margin-bottom: 28px;
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
}

.access-section h2::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin: 10px auto 0;
  background: var(--area-blue);
}

.access-flow {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  align-items: center;
  max-width: 890px;
  margin: 0 auto;
}

.access-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.access-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  color: var(--area-blue);
  background: #fff;
  border: 1.5px solid #87bdf3;
  border-radius: 50%;
}

.access-icon svg { width: 38px; height: 38px; }
.access-copy strong { display: block; color: var(--area-navy); font-size: 14px; }
.access-copy span { display: block; margin-top: 2px; color: var(--area-navy); font-size: 14px; font-weight: 700; }
.access-arrow { color: #8ea5b5; font-size: 28px; text-align: center; }

.access-note {
  margin-top: 18px;
  color: #8092a0;
  text-align: center;
  font-size: 11px;
}

.island-section {
  padding: 18px 0 28px;
  background: #fff;
}

.island-panel {
  padding: 27px;
  border: 1.5px solid #8fc9f3;
  border-radius: 12px;
  background: linear-gradient(135deg, #f9fdff 0%, #eef9ff 100%);
  box-shadow: 0 12px 30px rgba(13, 87, 137, 0.08);
}

.island-panel-head {
  margin-bottom: 22px;
}

.island-panel-head h2 { margin-bottom: 8px; font-size: clamp(24px, 3vw, 33px); }
.island-panel-head h2 span { display: inline; }
.island-panel-head p { color: var(--area-muted); font-size: 13px; }

.island-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.8fr);
  gap: 22px;
}

.route-map {
  position: relative;
  aspect-ratio: 760 / 500;
  min-height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #eaf8fc;
}

.route-map > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

.map-label {
  position: absolute;
  z-index: 2;
  padding: 4px 7px;
  color: var(--area-navy);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(168, 206, 232, 0.85);
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(11, 63, 92, 0.08);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.map-label--iheya { left: 65%; top: 4%; }
.map-label--izena { left: 65%; top: 19%; }
.map-label--ie { left: 52%; top: 34%; }
.map-label--minna { left: 53%; top: 43%; }
.map-label--kume { left: 3%; top: 62%; }
.map-label--tonaki { left: 24%; top: 62%; }
.map-label--kerama { left: 18%; top: 82%; }
.map-label--tsuken { left: 65%; top: 72%; }
.map-label--kudaka { left: 64%; top: 84%; }
.map-label--daito { right: 1.5%; top: 56%; }
.map-label--main { left: 59%; top: 53%; color: #fff; background: rgba(10, 49, 88, 0.86); border-color: transparent; font-size: 13px; }

.ishigaki-detail-page .area-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
}

.miyako-detail-page .area-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
}

.ishigaki-map .map-label--yonaguni { left: 3%; top: 27%; }
.ishigaki-map .map-label--hatoma { left: 57%; top: 23%; }
.ishigaki-map .map-label--iriomote { left: 49%; top: 48%; }
.ishigaki-map .map-label--yubu { left: 62%; top: 41%; }
.ishigaki-map .map-label--kohama { left: 67%; top: 36%; }
.ishigaki-map .map-label--taketomi { left: 75%; top: 45%; }
.ishigaki-map .map-label--kuroshima { left: 72%; top: 59%; }
.ishigaki-map .map-label--panari { left: 61%; top: 64%; }
.ishigaki-map .map-label--hateruma { left: 54%; top: 82%; }
.ishigaki-map .map-label--ishigaki {
  left: 80%;
  top: 38%;
  color: #fff;
  background: rgba(10, 49, 88, 0.86);
  border-color: transparent;
  font-size: 13px;
}

.miyako-map .map-label--ishigaki-destination { left: 1%; top: 38%; }
.miyako-map .map-label--tarama { left: 11%; top: 73%; }
.miyako-map .map-label--minna { left: 11%; top: 51%; }
.miyako-map .map-label--shimoji { left: 51%; top: 45%; }
.miyako-map .map-label--irabu { left: 55%; top: 36%; }
.miyako-map .map-label--kurima { left: 66%; top: 64%; }
.miyako-map .map-label--ikema { left: 66%; top: 16%; }
.miyako-map .map-label--oogami { left: 73%; top: 19%; }
.miyako-map .map-label--miyako {
  left: 77%;
  top: 46%;
  color: #fff;
  background: rgba(10, 49, 88, 0.86);
  border-color: transparent;
  font-size: 13px;
}

.map-legend {
  position: absolute;
  left: 14px;
  top: 12px;
  z-index: 2;
  display: flex;
  gap: 13px;
  padding: 6px 9px;
  color: var(--area-navy);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(168, 206, 232, 0.85);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
}

.map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.map-legend span::before { content: ""; width: 18px; border-top: 2px dashed #2b91c9; }
.map-legend .map-legend-bridge::before { border-color: #0a3158; border-top-style: solid; border-top-width: 3px; }
.map-legend .map-legend-air::before { border-color: #e87952; border-top-style: dotted; }

.route-cards {
  display: grid;
  gap: 11px;
}

.route-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #bcdcf1;
  border-radius: 9px;
}

.route-card-icon { color: var(--area-blue); }
.route-card-icon svg { width: 43px; height: 43px; }
.route-card h3 { margin-bottom: 6px; font-size: 17px; }
.route-card p { color: var(--area-muted); font-size: 12px; line-height: 1.7; }

.route-tag {
  display: inline-flex;
  margin-top: 7px;
  padding: 2px 8px;
  color: var(--area-blue);
  background: #f2f9ff;
  border: 1px solid #8bc5f3;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.map-disclaimer {
  margin-top: 10px;
  color: #728795;
  font-size: 10px;
}

.route-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  padding: 11px 14px;
  color: var(--area-navy);
  background: #e8f6ff;
  border: 1px solid #c0e1f7;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.route-notice svg { width: 21px; flex: 0 0 auto; color: var(--area-blue); }

.area-final-cta {
  padding: 34px 0 38px;
  text-align: center;
  background:
    linear-gradient(rgba(223, 247, 255, 0.88), rgba(223, 247, 255, 0.88)),
    url("../images/patterns/sea-pattern-clean.webp") center / cover;
  border-top: 1px solid #cce6f5;
}

.area-final-cta h2 { margin-bottom: 8px; font-size: clamp(25px, 3vw, 33px); }
.area-final-cta p { color: var(--area-muted); font-size: 13px; }
.area-final-actions { display: flex; justify-content: center; gap: 18px; margin-top: 19px; }
.area-final-actions .button { min-width: 230px; border-radius: 8px; }

.area-detail-page .site-footer { padding-top: 42px; }

@media (max-width: 980px) {
  .area-card-grid,
  .ishigaki-detail-page .area-card-grid,
  .miyako-detail-page .area-card-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-item:nth-child(2) { border-right: 0; }
  .audience-item:nth-child(-n + 2) { border-bottom: 1px solid #e7d8cd; }
  .island-panel-grid { grid-template-columns: 1fr; }
  .route-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .area-hero { min-height: 570px; }
  .area-hero-media img { object-position: 64% center; }
  .area-hero-media::before {
    background: linear-gradient(180deg, rgba(4, 35, 66, 0.58) 0%, rgba(4, 35, 66, 0.34) 42%, rgba(4, 35, 66, 0.78) 100%);
  }
  .area-hero-inner { justify-content: flex-end; padding-bottom: 62px; }
  .area-hero-copy { width: 100%; }
  .area-hero-lead { max-width: 620px; }
  .area-feature-bar { grid-template-columns: repeat(2, 1fr); }
  .area-feature:nth-child(2) { border-right: 0; }
  .area-feature:nth-child(-n + 2) { border-bottom: 1px solid #dce9f2; }
  .sea-feature-grid { grid-template-columns: 1fr; }
  .sea-gallery { min-height: 420px; }
  .access-flow { grid-template-columns: 1fr; gap: 15px; }
  .access-arrow { transform: rotate(90deg); }
  .access-step { justify-content: flex-start; width: min(330px, 100%); margin: 0 auto; }
}

@media (max-width: 680px) {
  .area-hero { min-height: 530px; }
  .area-hero-inner { padding-top: 70px; padding-bottom: 52px; }
  .area-breadcrumb { top: 20px; left: 0; }
  .area-hero h1 { font-size: clamp(30px, 9.4vw, 40px); line-height: 1.52; }
  .area-hero-lead { font-size: 13.5px; }
  .area-feature-wrap { margin-top: -22px; }
  .area-feature-bar { padding: 8px; }
  .area-feature { min-height: 76px; padding: 9px; gap: 9px; font-size: 12px; }
  .area-feature svg { width: 29px; height: 29px; }
  .area-section { padding: 56px 0; }
  .sea-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px; min-height: auto; }
  .sea-gallery figure:first-child { grid-row: 1; grid-column: 1 / 3; }
  .area-cards-section { padding: 34px 0; }
  .area-card-grid,
  .ishigaki-detail-page .area-card-grid,
  .miyako-detail-page .area-card-grid { grid-template-columns: 1fr; }
  .area-spot-card { min-height: 138px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-item { justify-content: flex-start; min-height: 62px; border-right: 0; border-bottom: 1px solid #e7d8cd; }
  .audience-item:last-child { border-bottom: 0; }
  .island-panel { padding: 16px; }
  .island-panel-head h2 { font-size: 22px; letter-spacing: 0.025em; }
  .island-panel-head h2 span { display: block; }
  .map-label { font-size: 9px; padding: 3px 5px; }
  .map-label--main { font-size: 10px; }
  .ishigaki-map .map-label--ishigaki { font-size: 10px; }
  .miyako-map .map-label--miyako { font-size: 10px; }
  .route-cards { grid-template-columns: 1fr; }
  .area-final-actions { flex-direction: column; align-items: stretch; gap: 11px; }
  .area-final-actions .button { width: 100%; min-width: 0; }
}

@media (max-width: 460px) {
  .area-hero-media img { object-position: 69% center; }
  .area-feature { flex-direction: column; text-align: center; }
  .sea-feature-copy p { font-size: 14px; line-height: 1.95; }
  .sea-gallery { grid-template-rows: 190px 120px; }
  .area-spot-card { grid-template-columns: 40% 1fr; }
  .area-spot-card-body { padding: 15px 13px; }
  .area-spot-card h3 { font-size: 16px; }
  .access-icon { width: 62px; height: 62px; }
  .access-icon svg { width: 32px; }
  .map-label--kume { left: 1%; top: 61%; }
  .map-label--tonaki { left: 22%; top: 61%; }
  .map-label--kerama { left: 11%; top: 81%; }
  .map-label--daito { right: 1%; top: 55%; }
  .map-legend { top: 7px; left: 7px; gap: 8px; padding: 4px 6px; }
  .ishigaki-map .map-label--yonaguni { left: 1%; top: 26%; }
  .ishigaki-map .map-label--hatoma { left: 54%; top: 21%; }
  .ishigaki-map .map-label--iriomote { left: 44%; top: 47%; }
  .ishigaki-map .map-label--yubu { left: 60%; top: 39%; }
  .ishigaki-map .map-label--kohama { left: 66%; top: 33%; }
  .ishigaki-map .map-label--taketomi { left: 75%; top: 46%; }
  .ishigaki-map .map-label--kuroshima { left: 72%; top: 60%; }
  .ishigaki-map .map-label--panari { left: 59%; top: 66%; }
  .ishigaki-map .map-label--hateruma { left: 51%; top: 82%; }
  .ishigaki-map .map-label--ishigaki { left: 78%; top: 36%; }
}
