:root {
  --bg: #f5f1e8;
  --surface: #fffdf8;
  --surface-2: #eef4f1;
  --ink: #172033;
  --muted: #677084;
  --rule: #ded8cc;
  --blue: #275dff;
  --cyan: #28a6b3;
  --green: #537c59;
  --orange: #d97732;
  --soft-blue: #dfe8ff;
  --shadow: 0 18px 48px rgba(23, 32, 51, 0.09);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", Meiryo, system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(39, 93, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 93, 255, 0.04) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

img {
  max-width: 100%;
}

.header-inner,
main,
.footer-inner,
.footer-bottom {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background:
    linear-gradient(90deg, rgba(39, 93, 255, 0.18), transparent 36%),
    #111827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(23, 32, 51, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.site-header .brand {
  color: var(--surface);
}

.site-header .brand-subtitle {
  color: rgba(255, 253, 248, 0.7);
}

.site-header .brand-mark {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at 72% 26%, rgba(40, 166, 179, 0.62), transparent 28%),
    linear-gradient(135deg, #fdf9ef, #dfe8ff);
  box-shadow: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 32, 51, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 72% 26%, rgba(40, 166, 179, 0.45), transparent 28%),
    linear-gradient(135deg, #fdf9ef, #dfe8ff);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.08);
}

.brand-title,
.brand-subtitle {
  display: block;
}

.brand-title {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.15;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
}

.nav a:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--surface);
}

.site-header .nav {
  color: rgba(255, 253, 248, 0.86);
}

main {
  padding: 24px 0 44px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 32px;
}

.home-hero > *,
.home-layout > * {
  min-width: 0;
}

.hero-copy {
  min-height: 420px;
  display: grid;
  align-content: center;
  gap: 18px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 12%, rgba(40, 166, 179, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(238, 244, 241, 0.96));
  padding: clamp(28px, 5vw, 54px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.latest-hero > * {
  position: relative;
  z-index: 1;
}

.latest-hero.has-hero-image {
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.94) 0%, rgba(255, 253, 248, 0.78) 48%, rgba(255, 253, 248, 0.4) 100%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(238, 244, 241, 0.9));
}

.latest-hero.has-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-position: right center;
  background-size: cover;
  opacity: 0.44;
  filter: saturate(0.95) contrast(1.08);
}

.latest-hero.has-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 16%, rgba(40, 166, 179, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(255, 253, 248, 0.92) 0%, rgba(255, 253, 248, 0.56) 58%, rgba(255, 253, 248, 0.18) 100%);
}

.eyebrow,
.section-label,
.kicker {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.25rem, 4.7vw, 4rem);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.hero-copy h1 a {
  text-decoration: none;
}

.hero-copy h1 a:hover {
  color: var(--blue);
}

.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.hero-actions a,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 800;
  text-decoration: none;
}

.hero-actions a:nth-child(2) {
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.signal-card,
.signal-grid {
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.signal-primary {
  min-height: 242px;
  display: grid;
  align-content: end;
  gap: 9px;
  padding: 24px;
  background:
    linear-gradient(140deg, rgba(39, 93, 255, 0.12), transparent 40%),
    linear-gradient(45deg, rgba(40, 166, 179, 0.14), transparent 55%),
    var(--surface);
  position: relative;
  overflow: hidden;
}

.concept-card {
  min-height: 218px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  background:
    radial-gradient(circle at 14% 18%, rgba(40, 166, 179, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(238, 244, 241, 0.98));
}

.concept-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.concept-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.18;
  text-wrap: balance;
}

.concept-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.next-focus-card {
  min-height: 212px;
}

.signal-primary::before {
  content: "";
  position: absolute;
  inset: 28px 28px auto auto;
  width: 116px;
  aspect-ratio: 1;
  border: 1px solid rgba(39, 93, 255, 0.26);
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(39, 93, 255, 0.14) 49%, transparent 51%),
    linear-gradient(transparent 48%, rgba(39, 93, 255, 0.14) 49%, transparent 51%);
}

.signal-primary span,
.signal-primary small {
  color: var(--muted);
}

.signal-primary strong {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--rule);
}

.signal-grid span {
  min-height: 86px;
  display: grid;
  place-items: center;
  background: rgba(255, 253, 248, 0.94);
  color: var(--muted);
  font-weight: 800;
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  min-width: 0;
}

.home-feed {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.home-layout > * {
  min-width: 0;
}

.lead-card,
.empty-feature,
.lens-section,
.latest-section,
.archive-page,
.regions-page,
.about-page,
.article-page {
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
}

.lens-section,
.latest-section {
  overflow: hidden;
}

.lead-card {
  overflow: hidden;
}

.lead-card-image {
  display: block;
  background: var(--surface-2);
  text-decoration: none;
}

.lead-card-image img,
.card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lead-card-body,
.empty-feature,
.lens-section,
.latest-section,
.archive-page,
.regions-page,
.about-page {
  padding: clamp(22px, 4vw, 34px);
}

.lead-card h2,
.empty-feature h2,
.section-heading h2,
.archive-page h1,
.regions-page h1,
.about-page h1,
.article-page h1 {
  margin: 6px 0 10px;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead-card h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.lead-card h2 a,
.article-card h3 a {
  text-decoration: none;
}

.lead-card h2 a:hover,
.article-card h3 a:hover,
.recent-list a:hover {
  color: var(--blue);
}

.lead-card p,
.empty-feature p,
.lens-card p,
.latest-section > p,
.archive-page p,
.regions-page p,
.about-page p,
.article-description {
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.lens-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lens-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(223, 232, 255, 0.7), transparent 70%),
    var(--surface);
  padding: 18px;
}

.lens-card span {
  width: fit-content;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 9px;
}

.lens-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.lens-card p {
  margin: 0;
  font-size: 0.92rem;
}

.article-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.article-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2px;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.article-carousel-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: article-carousel-scroll 42s linear infinite;
}

.article-carousel-track.is-slower {
  animation-duration: 50s;
}

.article-carousel:hover .article-carousel-track {
  animation-play-state: paused;
}

.carousel-item {
  width: min(360px, 72vw);
  flex: 0 0 auto;
}

.carousel-item .article-card {
  height: 100%;
}

@keyframes article-carousel-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-carousel {
    overflow-x: auto;
    mask-image: none;
  }

  .article-carousel-track {
    animation: none;
  }
}

.article-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--surface);
  padding: 16px;
}

.card-image {
  display: block;
  margin: -16px -16px 4px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  background: var(--surface-2);
  text-decoration: none;
}

.article-card h3 {
  margin: 0;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.34;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.meta-row,
.article-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.meta-row span,
.article-meta span,
.article-meta time {
  border-radius: 999px;
  background: var(--surface-2);
  padding: 4px 9px;
}

.home-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 18px;
}

.sidebar-panel {
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.95);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.06);
}

.sidebar-panel h2 {
  margin: 6px 0 10px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.sidebar-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.search-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  padding: 8px 8px 8px 14px;
}

.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.search-box span:last-child {
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 9px;
}

.sidebar-search-results {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.sidebar-search-results a {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--rule);
  padding-top: 9px;
  text-decoration: none;
}

.sidebar-search-results span,
.sidebar-search-results small {
  color: var(--muted);
  font-size: 0.72rem;
}

.sidebar-search-results strong {
  font-size: 0.95rem;
  line-height: 1.35;
}

.tag-cloud,
.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a,
.region-list a {
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 7px 10px;
  text-decoration: none;
}

.tag-cloud a:hover,
.region-list a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.empty-text {
  margin: 0;
  color: var(--muted);
}

.notice-panel {
  margin: 20px 0 0;
  border: 1px solid rgba(39, 93, 255, 0.18);
  border-radius: 16px;
  background: rgba(223, 232, 255, 0.56);
  color: var(--ink);
  font-weight: 700;
  padding: 14px 16px;
}

.is-hidden {
  display: none;
}

.archive-page,
.regions-page,
.about-page,
.article-page {
  padding: clamp(24px, 5vw, 42px);
}

.archive-page h1,
.regions-page h1,
.about-page h1,
.article-page h1 {
  font-size: clamp(2rem, 5vw, 3.7rem);
}

.archive-grid {
  margin-top: 22px;
}

.about-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.about-note-grid article {
  border: 1px solid var(--rule);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(223, 232, 255, 0.62), transparent 72%),
    var(--surface);
  padding: 18px;
}

.about-note-grid span {
  display: inline-flex;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 9px;
}

.about-note-grid h2 {
  margin: 12px 0 8px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.about-note-grid p {
  margin: 0;
  font-size: 0.94rem;
}

.article-page {
  width: min(820px, 100%);
  margin: 0 auto;
}

.article-page h2 {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 1.45rem;
}

.article-page h3 {
  color: var(--blue);
}

.article-page p,
.article-page li {
  font-size: 1.04rem;
}

.article-image,
.inline-map {
  margin: 26px 0 30px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
}

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

.article-image figcaption,
.inline-map figcaption {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.78rem;
  padding: 8px 12px;
}

.inline-map img {
  display: block;
  width: 100%;
  height: auto;
}

.map-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  margin: 24px 0;
  border: 1px solid var(--rule);
  border-radius: 22px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(39, 93, 255, 0.1) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(39, 93, 255, 0.1) 50%, transparent 51%),
    linear-gradient(135deg, rgba(223, 232, 255, 0.9), rgba(238, 244, 241, 0.9));
  background-size: 54px 54px, 54px 54px, auto;
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 800;
}

.site-footer {
  margin-top: 18px;
  background:
    linear-gradient(90deg, rgba(40, 166, 179, 0.12), transparent 40%),
    #111827;
  color: rgba(255, 253, 248, 0.74);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(160px, 0.5fr) minmax(160px, 0.5fr);
  gap: 28px;
  padding: 34px 0 28px;
}

.footer-brand p {
  max-width: 460px;
}

.footer-logo {
  color: var(--surface);
}

.footer-logo .brand-subtitle {
  color: rgba(255, 253, 248, 0.68);
}

.site-footer h2 {
  margin: 0 0 10px;
  color: var(--surface);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer section {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer a {
  width: fit-content;
  color: rgba(255, 253, 248, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--surface);
  text-decoration: underline;
}

.site-footer p {
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0 20px;
  font-size: 0.8rem;
}

@media (max-width: 920px) {
  .home-hero,
  .home-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 0;
  }

  .home-sidebar {
    position: static;
  }

  .lens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-inner,
  main,
  .footer-inner,
  .footer-bottom {
    width: min(var(--max-width), calc(100% - 32px));
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .nav {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    overflow: hidden;
    padding-bottom: 4px;
  }

  .nav a {
    justify-content: center;
    padding: 8px 0;
    min-width: 0;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
    font-size: 0.62rem;
  }

  .home-hero,
  .home-layout,
  .hero-copy,
  .hero-panel,
  .home-feed {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .home-hero {
    gap: 14px;
    margin-bottom: 20px;
  }

  .hero-copy,
  .lead-card-body,
  .empty-feature,
  .lens-section,
  .latest-section,
  .archive-page,
  .regions-page,
  .about-page,
  .article-page {
    padding: 20px;
  }

  .hero-copy,
  .signal-card,
  .signal-grid,
  .lead-card,
  .empty-feature,
  .lens-section,
  .latest-section,
  .sidebar-panel,
  .archive-page,
  .regions-page,
  .about-page,
  .article-page {
    border-radius: 20px;
  }

  .hero-copy h1 {
    font-size: 1.8rem;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-copy p,
  .empty-feature p,
  .lens-card p,
  .signal-card p,
  .sidebar-panel p {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .signal-primary small {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .signal-primary {
    min-height: 220px;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .lens-grid,
  .article-grid,
  .archive-grid,
  .about-note-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 8px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}
