:root {
  --ink: #27313a;
  --muted: #69747d;
  --navy: #284c68;
  --teal: #3f8c8a;
  --paper: #ffffff;
  --soft: #f3f6f5;
  --line: #dfe7e5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.media-shell {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.media-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.media-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.media-logo span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 13px;
}

.header-row > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.media-hero {
  padding: 82px 0 88px;
  background: linear-gradient(135deg, #edf5f3, #f8faf9 58%, #eef3f6);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.media-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.35;
  letter-spacing: .02em;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.latest-section,
.about-section { padding: 68px 0; }

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.about-section h2 {
  margin: 0 0 14px;
  font-size: 25px;
}

.section-heading p {
  margin: 0;
  color: #98a2a8;
  font-size: 11px;
  letter-spacing: .12em;
}

.article-card {
  padding: 30px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(32, 59, 70, .06);
}

.article-category {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 10px;
  color: var(--teal);
  background: #ebf5f3;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.article-card h3 {
  margin: 0 0 14px;
  font-size: 23px;
  line-height: 1.55;
}

.article-card h3 a { text-decoration: none; }
.article-card h3 a:hover { text-decoration: underline; }

.article-card > p:not(.article-category),
.about-section p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.read-more {
  display: inline-flex;
  gap: 10px;
  margin-top: 22px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.about-section {
  margin-bottom: 70px;
  padding: 34px 36px;
  background: var(--soft);
  border-radius: 8px;
}

.media-footer {
  padding: 34px 0 18px;
  color: #dbe4e8;
  background: #263945;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-row p { margin: 0; line-height: 1.7; }
.footer-row p span { font-size: 12px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; }

.media-copyright {
  margin: 30px 0 0;
  color: #91a2ab;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 640px) {
  .media-shell { width: min(100% - 28px, 980px); }
  .header-row { min-height: 60px; }
  .media-logo { font-size: 16px; }
  .header-row > p { display: none; }
  .media-hero { padding: 58px 0 62px; }
  .media-hero h1 { font-size: 34px; }
  .hero-copy { font-size: 14px; }
  .latest-section { padding: 48px 0; }
  .article-card { padding: 24px 20px; }
  .article-card h3 { font-size: 20px; }
  .about-section { margin-bottom: 48px; padding: 26px 22px; }
  .footer-row { flex-direction: column; }
  .footer-row nav { flex-direction: column; gap: 9px; }
}
