:root {
  --bg: #030712;
  --text: #e8eef7;
  --accent: #5eead4;
  --earth-deep: #0c1929;
  --earth-light: #1e4d6b;
  --hotspot: #fbbf24;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  background: radial-gradient(ellipse at 50% 0%, #0f2744 0%, var(--bg) 55%);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: var(--accent);
}

.site-header,
.site-footer {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header a:first-child {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

main {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.hero {
  text-align: center;
  padding: 1.5rem 0;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.lead {
  color: #cbd5e1;
  line-height: 1.7;
}

.earth-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0;
  width: 100%;
}

.earth-viewport {
  position: relative;
  width: min(96vw, 32rem);
  height: min(96vw, 32rem);
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 0 90px rgba(94, 234, 212, 0.28),
    0 0 140px rgba(48, 100, 140, 0.4);
  background: radial-gradient(circle at 42% 32%, #1a3550 0%, #0c1828 100%);
}

#earth-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

#earth-canvas:active {
  cursor: grabbing;
}

.earth-label-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 50%;
}

.earth-point-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  transform: translate(-50%, -120%);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease;
  text-shadow:
    0 0 8px rgba(0, 0, 0, 0.9),
    0 1px 3px rgba(0, 0, 0, 1);
}

.earth-point-label.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.earth-point-label.is-visible {
  opacity: 1;
  visibility: visible;
}

.earth-point-label__name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fef3c7;
  letter-spacing: 0.02em;
}

.earth-point-label.is-ready .earth-point-label__name {
  color: #fde68a;
}

.earth-point-label.is-soon .earth-point-label__name {
  color: #cbd5e1;
}

.earth-point-label__country {
  font-size: 0.62rem;
  font-weight: 500;
  color: #94a3b8;
}

.earth-hint,
#earth-tooltip {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #94a3b8;
  text-align: center;
  min-height: 1.4em;
}

.pillars ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding-left: 1.2rem;
}

.article-list {
  list-style: none;
  padding: 0;
}

.article-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #1e293b;
}

.article-list .meta {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* 記事ページ — 観光ポスター・パンフレット風（Pinterest / SlideMembers 参考） */
.page-article main {
  max-width: 56rem;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.article-breadcrumb {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: none;
}

.article-breadcrumb:hover {
  color: var(--accent);
}

.article-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.article-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #334155;
  background: #1e293b;
  color: #cbd5e1;
}

.article-badge--want {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  color: #fde68a;
}

.article-badge--do {
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.12);
  color: #bfdbfe;
}

.article-badge--food {
  border-color: #f472b6;
  background: rgba(244, 114, 182, 0.12);
  color: #fbcfe8;
}

.article-badge--view {
  border-color: #5eead4;
  background: rgba(94, 234, 212, 0.12);
  color: #99f6e4;
}

.article-badge--sub,
.article-badge--age {
  opacity: 0.85;
}

.article-hero {
  position: relative;
  margin: 0 0 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  background: var(--earth-deep);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.article-hero__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.article-hero__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.5rem 1.35rem;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 7, 18, 0.55) 35%, rgba(3, 7, 18, 0.92) 100%);
  pointer-events: none;
}

.article-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.article-hero__title {
  margin: 0;
  font-size: clamp(1.25rem, 4.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.35;
  color: #f8fafc;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.article-hero__credit {
  margin: 0;
  padding: 0.45rem 0.75rem;
  font-size: 0.7rem;
  color: #64748b;
  text-align: right;
  background: rgba(15, 23, 42, 0.85);
}

.article-content {
  line-height: 1.85;
  font-size: 1rem;
}

.article-content > h2:first-of-type {
  margin-top: 0;
}

.article-content h2 {
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.45rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-bottom: 2px solid rgba(94, 234, 212, 0.35);
  color: #f1f5f9;
}

.article-content h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
  color: #e2e8f0;
}

.article-content ul {
  padding-left: 1.2rem;
}

.article-content li {
  margin: 0.35rem 0;
}

.article-content blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: rgba(30, 41, 59, 0.65);
  color: #cbd5e1;
  font-size: 0.95rem;
}

.article-content .highlight-box {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 77, 107, 0.5), rgba(15, 23, 42, 0.8));
  border: 1px solid #334155;
}

.article-content hr {
  border: none;
  border-top: 1px solid #334155;
  margin: 2rem 0;
}

.article-content .article-figure {
  margin: 1.25rem 0 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid #334155;
}

.article-content .article-figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-content .article-figure figcaption {
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}

.article-content th,
.article-content td {
  border: 1px solid #334155;
  padding: 0.5rem 0.65rem;
  text-align: left;
}

.article-content th {
  background: #1e293b;
  color: #e2e8f0;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  font-size: 0.85rem;
  color: #5eead4;
  text-decoration: none;
  border: 1px solid #334155;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.lang-switch:hover {
  border-color: #5eead4;
}

.related-articles {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
}

.related-articles__heading {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: #e2e8f0;
}

.related-articles__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .related-articles__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.related-card {
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid #1e293b;
}

.related-card:hover {
  border-color: rgba(94, 234, 212, 0.4);
}

.related-card__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.related-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.related-card__thumb--empty {
  aspect-ratio: 16 / 9;
  background: var(--earth-deep);
}

.related-card__title {
  padding: 0.65rem 0.85rem 0.15rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.related-card__meta {
  padding: 0 0.85rem 0.75rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.article-updated {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #64748b;
}

.article-meta {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* 記事一覧カード */
.library-head {
  margin-bottom: 1.5rem;
}

.library-head h1 {
  margin: 0.5rem 0;
  font-size: 1.75rem;
}

.library-lead {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.article-list--cards {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 640px) {
  .article-list--cards {
    grid-template-columns: 1fr 1fr;
  }
}

.article-card {
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid #1e293b;
  transition: border-color 0.2s, transform 0.2s;
}

.article-card:hover {
  border-color: rgba(94, 234, 212, 0.45);
  transform: translateY(-2px);
}

.article-card__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.article-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.article-card__thumb--empty {
  aspect-ratio: 16 / 9;
  background: var(--earth-deep);
}

.article-card__body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.article-card__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #f1f5f9;
}

.article-card__meta {
  font-size: 0.8rem;
  color: #94a3b8;
}

.affiliate-cta {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border: 1px dashed #475569;
  border-radius: 8px;
  font-size: 0.9rem;
}

.affiliate-cta--pending {
  color: #94a3b8;
}

.affiliate-cta__label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.affiliate-cta__btn {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.65rem 1.25rem;
  background: #0ea5e9;
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}

.affiliate-cta__btn:hover {
  background: #38bdf8;
}

.article-pr {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #334155;
  font-size: 0.85rem;
  color: #94a3b8;
}

.article-pr p {
  margin: 0;
}

.notice {
  background: #1e293b;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.library-stats {
  color: #94a3b8;
  font-size: 0.9rem;
}
