:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #26313d;
  --muted: #66717d;
  --line: #e4ded4;
  --green: #2f7d68;
  --blue: #356b9a;
  --coral: #c96b52;
  --yellow: #f1c35b;
  --shadow: 0 16px 38px rgba(38, 49, 61, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  color: var(--blue);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
}

.site-logo {
  color: var(--green);
  font-weight: 800;
}

.site-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: center;
  max-width: 1120px;
  margin: 8px auto 0;
  padding: 38px 24px 22px;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 8px 0 16px;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.22;
}

.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.eyebrow,
.article-kicker,
.ad-label {
  margin: 0;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-visual {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.content-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 24px 36px;
}

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

.section-heading h2 {
  margin: 2px 0 0;
  font-size: 1.7rem;
}

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

.article-card {
  min-height: 238px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-card a {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  padding: 22px;
}

.article-card h2 {
  margin: 10px 0 12px;
  font-size: 1.2rem;
  line-height: 1.45;
}

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

.guide-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f4f8f5;
  padding: 18px 24px;
}

.guide-strip p {
  max-width: 980px;
  margin: 0 auto;
  color: var(--green);
  font-weight: 700;
}

.article-layout,
.static-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 320px);
  gap: 34px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px 56px;
}

.static-layout {
  grid-template-columns: minmax(0, 820px);
}

.article-body {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
}

.article-body h1 {
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  line-height: 1.35;
}

.article-body h2 {
  margin: 42px 0 14px;
  border-left: 5px solid var(--green);
  padding-left: 13px;
  font-size: 1.42rem;
  line-height: 1.45;
}

.article-body h3 {
  margin: 28px 0 10px;
  color: var(--blue);
  font-size: 1.08rem;
}

.article-body p,
.article-body li {
  font-size: 1rem;
}

.article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.disclosure,
.notice-text {
  border: 1px solid #ead7c7;
  border-radius: 8px;
  background: #fff7f2;
  padding: 10px 12px;
  color: #85513f;
  font-size: 0.92rem;
}

.ad-slot {
  margin: 28px 0;
  border: 1px solid #d9e7df;
  border-radius: 8px;
  background: #f5fbf8;
  padding: 18px;
}

.ad-slot p {
  margin: 6px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f1f5f8;
  color: var(--blue);
}

.article-sidebar {
  align-self: start;
  position: sticky;
  top: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.article-sidebar h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.article-sidebar ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-sidebar a {
  display: block;
  color: var(--green);
  font-weight: 800;
  line-height: 1.45;
}

.article-sidebar span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

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

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

  .hero-section {
    padding-top: 20px;
  }

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

  .article-body {
    padding: 24px 18px;
  }

  .article-sidebar {
    position: static;
  }
}
