:root {
  --bg-top: #f5f3ee;
  --bg-mid: #eef2f5;
  --bg-bottom: #e8edf1;

  --surface: rgba(255,255,255,0.74);
  --surface-strong: rgba(255,255,255,0.88);
  --surface-soft: rgba(255,255,255,0.58);

  --line: rgba(95, 121, 145, 0.18);
  --line-strong: rgba(95, 121, 145, 0.34);
  --line-soft: rgba(95, 121, 145, 0.12);

  --text: #243444;
  --text-soft: rgba(36, 52, 68, 0.82);
  --text-muted: rgba(36, 52, 68, 0.58);

  --accent: #5e7f9c;
  --accent-2: #496983;
  --accent-warm: #9b8066;

  --notice: #c7866f;
  --notice-soft: rgba(199, 134, 111, 0.10);

  --shadow-xl: 0 20px 48px rgba(54, 72, 90, 0.12);
  --shadow-lg: 0 10px 24px rgba(54, 72, 90, 0.10);

  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;

  --max-width: 1140px;
  --content-width: 760px;
  --article-width: 780px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Mincho ProN", "Yu Mincho", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.9;
  letter-spacing: 0.015em;
  background:
    radial-gradient(circle at 12% 18%, rgba(94, 127, 156, 0.06), transparent 18%),
    radial-gradient(circle at 88% 22%, rgba(155, 128, 102, 0.05), transparent 16%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 54%, var(--bg-bottom) 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(95,121,145,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95,121,145,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.22), transparent 86%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

a:hover,
a:focus {
  color: #2f4c64;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  color: #ffffff;
  background: #5e7f9c;
  border-radius: 999px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 28px), var(--max-width));
  margin: 0 auto;
  padding: 26px 0 70px;
}

.shell--article {
  width: min(calc(100% - 28px), calc(var(--article-width) + 120px));
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 38%, #ffffff 0%, #dbe6ef 30%, #9cb4c9 70%, #68839c 100%);
  box-shadow: 0 0 12px rgba(94,127,156,0.20);
}

.brand-text {
  font-size: 0.94rem;
  color: var(--text-soft);
  white-space: nowrap;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

.topbar-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.48em 0.9em;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255,255,255,0.54);
  font-size: 0.9rem;
  font-weight: 600;
}

.topbar-nav a:hover,
.topbar-nav a:focus,
.topbar-nav a.is-current {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.82);
}

.hero,
.panel,
.article-card,
.list-item,
.notice-box,
.auxiliary {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.66));
  box-shadow: var(--shadow-lg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 60px);
  border-radius: 34px;
  margin-bottom: 26px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.eyebrow,
.meta,
.card-label {
  display: inline-flex;
  width: fit-content;
  padding: 0.24em 0.72em;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255,255,255,0.70);
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-2);
  border-color: var(--line-strong);
}

.hero h1,
.section-head h2,
.article-header h1,
.list-header h1 {
  color: var(--text);
  line-height: 1.12;
  letter-spacing: 0.03em;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
}

.hero-copy,
.hero-statement,
.section-head p,
.panel p,
.article-body,
.article-lead,
.list-item p,
.notice-box p,
.auxiliary p {
  color: var(--text-soft);
}

.hero-statement {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--accent-warm);
}

.hero-actions,
.card-actions,
.panel-actions,
.article-nav,
.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

.button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75em 1em;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-weight: 700;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #6f8aa2 0%, #5e7f9c 100%);
}

.button.secondary,
.link-button {
  color: var(--accent-2);
  background: rgba(255,255,255,0.72);
}

.section {
  margin-top: 42px;
}

.section::before {
  content: "";
  display: block;
  width: min(140px, 28%);
  height: 1px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.section-kicker {
  color: var(--accent-warm);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.panel {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.cards {
  display: grid;
  gap: 18px;
}

@media (min-width: 860px) {
  .cards.two {
    grid-template-columns: repeat(2, 1fr);
  }
}

.article-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.logo-panel {
  display: inline-block;
  max-width: 100%;
  margin: 6px 0 14px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 8px 22px rgba(54,72,90,0.10);
}

.auxiliary,
.notice-box {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.notice-box {
  border-left: 5px solid var(--notice);
  background: linear-gradient(180deg, var(--notice-soft), rgba(255,255,255,0.72));
}

.article-layout {
  display: grid;
  gap: 24px;
}

.article-header {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.70));
  box-shadow: var(--shadow-lg);
}

.article-header h1 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.article-submeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

.article-main {
  width: min(100%, var(--article-width));
  margin: 0 auto;
}

.article-lead {
  font-size: 1.08rem;
  margin-bottom: 28px;
}

.article-body {
  font-size: 1.06rem;
  line-height: 2.0;
}

.article-body h2 {
  margin-top: 2.5em;
  margin-bottom: 0.8em;
  font-size: 1.6rem;
  color: var(--text);
}

.article-body h3 {
  margin-top: 2em;
  margin-bottom: 0.7em;
  font-size: 1.22rem;
  color: var(--text);
}

.article-body p {
  margin: 0 0 1.35em;
}

.article-figure {
  margin: 2.2em 0;
}

.article-figure img {
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

.article-footer {
  margin-top: 44px;
}

.article-nav a {
  flex: 1 1 220px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.list-header {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.70));
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}

.list-header h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.list-stack {
  display: grid;
  gap: 16px;
}

.list-item {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
}

.list-item h2 {
  margin: 8px 0 10px;
  font-size: 1.45rem;
  color: var(--text);
}

.list-meta {
  color: var(--text-muted);
  font-size: 0.93rem;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

.lang-switch {
  margin-top: 0;
}

footer {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-muted);
  font-size: 0.94rem;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

@media (max-width: 760px) {
  .shell,
  .shell--article {
    width: min(calc(100% - 18px), var(--max-width));
    padding-top: 16px;
  }

  .topbar,
  .hero,
  .panel,
  .article-card,
  .article-header,
  .list-header,
  .list-item,
  .auxiliary,
  .notice-box {
    border-radius: 18px;
  }

  .hero-actions,
  .card-actions,
  .panel-actions,
  .article-nav,
  .lang-switch {
    display: grid;
  }

  .button,
  .link-button {
    width: 100%;
    justify-content: center;
  }

  .article-body {
    font-size: 1rem;
    line-height: 1.95;
  }
}

/* =========================================
   Author page / magazine-like archive layout
========================================= */

.author-page {
  width: min(calc(100% - 28px), 1180px);
}

.author-hero {
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.72));
  box-shadow: var(--shadow-lg);
}

@media (min-width: 960px) {
  .author-hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
}

.author-hero-copy {
  min-width: 0;
}

.author-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.24em 0.72em;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255,255,255,0.70);
  color: var(--accent-2);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  margin-bottom: 14px;
}

.author-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
}

.author-deck {
  margin: 0 0 18px;
  font-size: 1.06rem;
  line-height: 1.95;
  color: var(--text-soft);
}

.author-factlist {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255,255,255,0.60);
}

.author-factlist div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.96rem;
}

.author-factlist dt {
  font-weight: 700;
  color: var(--text);
}

.author-factlist dd {
  margin: 0;
  color: var(--text-soft);
}

.author-hero-figure {
  margin: 0;
}

.author-hero-figure img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.author-hero-figure figcaption {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.author-body-grid {
  display: grid;
  gap: 26px;
}

@media (min-width: 1100px) {
  .author-body-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}

.author-main {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.72));
  box-shadow: var(--shadow-lg);
}

.author-main h2 {
  margin-top: 2.2em;
  margin-bottom: 0.8em;
  font-size: 1.6rem;
  line-height: 1.2;
}

.author-main h2:first-child {
  margin-top: 0;
}

.author-main p {
  margin: 0 0 1.35em;
  font-size: 1.04rem;
  line-height: 2.0;
  color: var(--text-soft);
}

.author-main figure {
  margin: 2em 0;
}

.author-main figure img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.author-main figcaption {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: left;
}

.author-sidebar {
  display: grid;
  gap: 18px;
}

.author-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.68));
  box-shadow: var(--shadow-lg);
}

.author-panel h3 {
  margin: 0 0 12px;
  font-size: 1.06rem;
  line-height: 1.35;
}

.author-panel p,
.author-panel li {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.8;
}

.author-panel ul {
  margin: 0;
  padding-left: 1.2em;
}

.author-links {
  display: grid;
  gap: 10px;
}

.author-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.72em 0.95em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.80);
  color: var(--accent-2);
  font-weight: 700;
  text-align: center;
}

.author-sequence {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 4px solid var(--accent-warm);
  border-radius: 16px;
  background: rgba(255,255,255,0.58);
}

.author-sequence h3 {
  margin: 0 0 10px;
  font-size: 1.04rem;
}

.author-sequence p {
  margin: 0;
  color: var(--text-soft);
}

.author-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.author-footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75em 1em;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.78);
  color: var(--accent-2);
  font-weight: 700;
}

@media (max-width: 760px) {
  .author-page {
    width: min(calc(100% - 18px), 1180px);
  }

  .author-hero,
  .author-main,
  .author-panel {
    border-radius: 18px;
  }

  .author-factlist div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .author-main {
    padding: 22px 18px;
  }

  .author-main p {
    font-size: 1rem;
    line-height: 1.95;
  }

  .author-footer-nav {
    display: grid;
  }

  .author-footer-nav a,
  .author-links a {
    width: 100%;
  }
}