:root {
  --ink: #1e2024;
  --muted: #686f78;
  --line: #d8ddd8;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --sage: #6d8067;
  --mustard: #c79a3b;
  --blue: #365b73;
  --shadow: 0 18px 48px rgba(31, 34, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(30, 32, 36, 0.12);
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  overflow: hidden;
  font-family: Georgia, serif;
  font-size: 24px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 14px;
}

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

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 76px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 4vw, 56px) 38px;
}

.hero-copy {
  max-width: 720px;
  padding-bottom: clamp(0px, 4vw, 56px);
}

.eyebrow,
.category {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-category-link {
  color: var(--muted);
}

.article-category-link a {
  text-decoration: underline;
  text-decoration-color: rgba(104, 111, 120, 0.35);
  text-underline-offset: 3px;
}

.article-category-link a:hover {
  color: var(--ink);
  text-decoration-color: rgba(30, 32, 36, 0.5);
}

.hero h1,
.section-heading h2,
.split-section h2,
.newsletter h2 {
  margin: 0;
  font-family: Georgia, "Hiragino Mincho ProN", serif;
  font-weight: 500;
  line-height: 1.18;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 82px);
  max-width: 820px;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: #42474e;
  font-size: clamp(16px, 1.7vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  background: var(--ink);
}

.button.ghost {
  color: var(--ink);
  background: transparent;
}

.hero-article {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-article img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-article div {
  padding: 28px;
}

.hero-article h2,
.article-card h3 {
  margin: 0;
  font-family: Georgia, "Hiragino Mincho ProN", serif;
  font-weight: 500;
  line-height: 1.35;
}

.hero-article h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.hero-article p:last-child,
.article-body p {
  color: var(--muted);
}

.ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-block: 1px solid var(--line);
  background: #fbfaf6;
}

.ticker span {
  color: #fff;
  background: var(--sage);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
}

.ticker p {
  margin: 0;
  color: #4d535a;
}

.ticker p:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: #a5aaa6;
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px clamp(18px, 4vw, 28px) 24px;
}

.section-heading h2,
.split-section h2,
.newsletter h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 28px) 82px;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.article-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-body {
  padding: 22px;
}

.article-card h3 {
  font-size: 23px;
}

.article-body span {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 70px);
  padding: 78px clamp(18px, 4vw, 56px);
  background: #e8ede6;
}

.split-section > div:first-child {
  max-width: 520px;
}

.split-section p:not(.eyebrow) {
  color: #4d5350;
}

.topic-list {
  display: grid;
  gap: 14px;
}

.topic-list a {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  min-height: 86px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(30, 32, 36, 0.2);
}

.topic-list span {
  color: var(--mustard);
  font-family: Georgia, serif;
  font-size: 26px;
}

.topic-list strong {
  font-family: Georgia, "Hiragino Mincho ProN", serif;
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.35;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 30px;
  align-items: end;
  padding: 82px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: #fff;
}

.newsletter p {
  color: #d2d6d0;
}

.subscribe-form label {
  display: block;
  margin-bottom: 10px;
  color: #d2d6d0;
  font-size: 13px;
  font-weight: 700;
}

.subscribe-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.subscribe-form input,
.subscribe-form button {
  min-height: 50px;
  border-radius: 6px;
  font: inherit;
}

.subscribe-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.subscribe-form input::placeholder {
  color: #aeb5ad;
}

.subscribe-form button {
  border: 0;
  padding: 0 22px;
  color: var(--ink);
  background: #f0c86a;
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 24px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: #fbfaf6;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-info {
  grid-column: 1;
  display: grid;
  gap: 6px;
  max-width: 760px;
  line-height: 1.7;
}

.footer-back {
  grid-column: 2;
  justify-self: center;
  white-space: nowrap;
}

.footer-links {
  grid-column: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px 16px;
  min-width: 220px;
}

.index-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 84px) clamp(18px, 4vw, 28px) 88px;
}

.index-hero {
  max-width: 960px;
  padding: 0 0 clamp(40px, 6vw, 72px);
}

.index-hero .eyebrow {
  color: var(--muted);
}

.index-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Hiragino Mincho ProN", serif;
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 500;
  line-height: 1.18;
}

.index-section {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
}

.index-section h2 {
  margin: 0 0 22px;
  font-family: Georgia, "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.35;
}

.index-section p {
  max-width: 760px;
  margin: 0 0 14px;
  color: #42474e;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.index-card {
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.index-card a {
  display: flex;
  align-items: center;
  min-height: 82px;
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.index-card:hover {
  border-color: #c7ced3;
  background: #fff;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.category-links a,
.count {
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.category-links a {
  padding: 7px 12px;
  color: #4f5862;
  background: #f1f3f5;
  border: 1px solid #dde2e6;
}

.category-links a:hover {
  color: var(--ink);
  background: #e8ecef;
  border-color: #cfd6dc;
}

.latest-section {
  padding-top: 28px;
  padding-bottom: 34px;
}

.latest-section h2 {
  margin-bottom: 16px;
}

.latest-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 920px;
}

.latest-item {
  display: grid;
  grid-template-columns: auto 132px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 6px 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

.latest-item:hover span:last-child {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.latest-item span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.english-index-page .latest-item span:last-child {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.latest-item .latest-text {
  grid-column: 1 / -1;
}

.latest-label {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1dfaa;
  color: #6e4b0d;
  font-size: 12px;
  line-height: 1.2;
}

.latest-item time {
  color: #68717a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.search-section {
  max-width: 980px;
}

.google-search-panel {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 34, 38, 0.06);
}

.article-archive {
  display: grid;
  gap: 10px;
  max-width: 980px;
}

.article-archive-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.article-archive-item time {
  color: #68717a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.article-archive-item a {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.article-archive-item a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-archive-tag {
  justify-self: end;
  padding: 4px 9px;
  border-radius: 999px;
  color: #5b6570;
  background: #f1f3f5;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.count {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  color: var(--muted);
  vertical-align: middle;
  background: rgba(240, 200, 106, 0.3);
}

.article-page {
  background:
    linear-gradient(180deg, rgba(232, 237, 230, 0.88), rgba(247, 244, 238, 0) 460px),
    var(--paper);
}

.column-article {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 46px) clamp(18px, 4vw, 28px) 88px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 880px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(104, 111, 120, 0.3);
  text-underline-offset: 3px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb span:last-child {
  color: #4f565d;
}

.article-hero {
  max-width: 820px;
  margin-left: calc(180px + clamp(20px, 2.4vw, 36px));
  margin-bottom: 36px;
}

.article-hero h1,
.article-subtitle,
.article-summary,
.article-content p,
.article-content li {
  overflow-wrap: anywhere;
}

.article-hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Hiragino Mincho ProN", serif;
  font-size: clamp(27px, 2.25vw, 40px);
  font-weight: 500;
  line-height: 1.3;
}

.policy-page .article-hero h1 {
  color: #9a6f22;
  font-size: clamp(24px, 1.9vw, 34px);
}

.article-subtitle {
  max-width: 100%;
  margin: 14px 0 0;
  color: #2f3439;
  font-family: Georgia, "Hiragino Mincho ProN", serif;
  font-size: clamp(23px, 1.8vw, 32px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.42;
  overflow-wrap: normal;
  text-wrap: balance;
  white-space: normal;
}

.article-date {
  max-width: 820px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  text-align: right;
}

.article-summary {
  max-width: 760px;
  margin: 12px 0 0;
  color: #42474e;
  font-size: clamp(16px, 1.6vw, 19px);
}

.article-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 820px);
  gap: clamp(20px, 2.4vw, 36px);
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.article-toc strong {
  color: var(--ink);
  font-size: 13px;
}

.article-toc a {
  padding: 3px 0;
}

.article-toc a:hover {
  color: var(--ink);
}

.article-content {
  min-width: 0;
}

.article-content section {
  padding: 0 0 38px;
  margin: 0 0 38px;
  border-bottom: 1px solid var(--line);
}

.article-content h2,
.article-content h3 {
  color: var(--ink);
  font-family: Georgia, "Hiragino Mincho ProN", serif;
  font-weight: 500;
  line-height: 1.35;
}

.article-content h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.3vw, 32px);
}

.article-content h3 {
  margin: 30px 0 12px;
  font-size: clamp(19px, 1.8vw, 24px);
}

.article-content p,
.article-content li {
  color: #3f454a;
  font-size: 16px;
  line-height: 1.72;
}

.article-content p {
  margin: 0 0 14px;
}

.article-content strong {
  color: var(--ink);
  background: linear-gradient(transparent 62%, rgba(240, 200, 106, 0.48) 0);
}

.article-content pre {
  margin: 20px 0 24px;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid #d9dfdc;
  background: #fbfcfa;
  color: #2f3438;
  font-size: 0.95rem;
  line-height: 1.8;
}

.article-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.related-articles {
  padding-bottom: 0;
  border-bottom: 0;
}

.related-articles ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-articles li {
  padding: 16px 18px;
  border: 1px solid #d9dfdc;
  background: #fbfcfa;
}

.related-articles li::before {
  content: none;
}

.related-articles a,
.related-articles span {
  display: block;
}

.related-articles a {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.6;
}

.related-articles a:hover {
  color: var(--ink);
}

.related-articles span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.article-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  color: #fff;
  background: var(--ink);
  font-weight: 700;
}

.article-cta:hover {
  background: #363a40;
}

.article-content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
}

.article-content li {
  position: relative;
  padding-left: 22px;
}

.article-content li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.article-figure {
  margin: 28px 0;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e1e5e8;
}

.article-figure figcaption {
  margin-top: 8px;
  color: #6f7780;
  font-size: 0.9rem;
}

.flow-diagram {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 26px 0 30px;
}

.flow-step {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid #d9dfdc;
  background: #fbfcfa;
  padding: 18px;
}

.flow-step strong,
.flow-step span {
  display: block;
}

.flow-step strong {
  color: #23262a;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.35;
}

.flow-step span {
  margin-top: 8px;
  color: #6f7780;
  font-size: 0.95rem;
  line-height: 1.7;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  font-size: 1.6rem;
  font-weight: 700;
}

.journey-flow {
  gap: 8px;
}

.journey-flow .flow-step {
  padding: 14px;
}

.table-scroll {
  margin: 24px 0 26px;
  overflow-x: auto;
  border: 1px solid #d9dfdc;
  background: #fbfcfa;
}

.article-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 15px;
}

.article-table th,
.article-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #d9dfdc;
  border-right: 1px solid #d9dfdc;
  text-align: left;
  vertical-align: top;
}

.article-table th {
  background: #eef3ef;
  color: var(--ink);
  font-weight: 700;
}

.article-table td:last-child,
.article-table th:last-child {
  border-right: 0;
}

.article-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .split-section,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-article img {
    height: 340px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .index-page {
    padding-top: 38px;
  }

  .article-hero {
    margin-left: 0;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-toc strong {
    grid-column: 1 / -1;
  }

}

@media (max-width: 700px) {
  .article-archive-item {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }

  .article-archive-item a {
    grid-column: 1 / -1;
  }

  .article-archive-tag {
    justify-self: end;
  }

  .flow-diagram {
    flex-direction: column;
  }

  .flow-arrow {
    min-height: 20px;
    transform: rotate(90deg);
  }
}

@media (max-width: 560px) {
  .column-article,
  .article-hero,
  .article-layout,
  .article-content,
  .article-content section,
  .article-summary {
    width: 100%;
    max-width: 340px;
  }

  .column-article {
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .ticker {
    align-items: flex-start;
    flex-direction: column;
  }

  .ticker p:not(:last-child)::after {
    content: "";
    margin: 0;
  }

  .hero-article img {
    height: 260px;
  }

  .subscribe-form div {
    grid-template-columns: 1fr;
  }

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

  .footer-info,
  .footer-back,
  .footer-links {
    grid-column: 1;
    justify-self: start;
  }

  .footer-links {
    justify-content: flex-start;
    min-width: 0;
  }

  .article-hero h1 {
    font-size: 27px;
    line-break: anywhere;
    word-break: break-word;
  }

  .article-subtitle {
    font-size: 23px;
  }

  .article-date {
    text-align: right;
  }

  .article-toc,
  .article-content ul {
    grid-template-columns: 1fr;
  }

  .article-content p,
  .article-content li {
    font-size: 16px;
  }

  .index-card,
  .index-card a {
    min-height: 68px;
  }
}
