:root {
  color-scheme: light;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #182620;
  background: #f7f4ee;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #d9e3de;
  --ink: #182620;
  --muted: #68756f;
  --mint: #08795e;
  --mint-bright: #35cda0;
  --mint-soft: #e2f5ee;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 0%, rgba(53, 205, 160, .13), transparent 31rem),
    radial-gradient(circle at 0 42rem, rgba(125, 181, 224, .09), transparent 25rem),
    var(--paper);
  color: var(--ink);
  line-height: 1.85;
}
a { color: inherit; }
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px max(18px, calc((100vw - 1080px) / 2));
  border-bottom: 1px solid rgba(48, 72, 63, .11);
  background: rgba(250, 249, 245, .91);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; text-decoration: none; letter-spacing: .08em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.header-link { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.header-link:hover { color: var(--mint); }
.article-shell { width: min(820px, calc(100% - 36px)); margin: 0 auto; padding: 42px 0 100px; }
.index-shell { width: min(1040px, calc(100% - 36px)); margin: 0 auto; padding: 42px 0 100px; }
.breadcrumbs { margin: 0 0 28px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--mint); font-weight: 700; text-decoration: none; }
.eyebrow { margin: 0 0 10px; color: var(--mint); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
h1 { margin: 0; font-size: clamp(31px, 5vw, 48px); line-height: 1.35; letter-spacing: -.03em; }
.lead { margin: 20px 0 0; max-width: 760px; color: #52615b; font-size: 17px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 14px 0 26px; color: var(--muted); font-size: 12px; }
.article-meta span { overflow-wrap: anywhere; }
.index-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: clamp(34px, 6vw, 72px); align-items: center; margin-bottom: 46px; }
.index-hero-art { margin: 0; }
.index-hero-art img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(38, 67, 57, .14);
  transform: rotate(1deg);
}
.article-hero { margin: 30px 0 0; }
.article-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(38, 67, 57, .13);
}
.article-hero figcaption { margin: 10px 8px 0; color: var(--muted); font-size: 11px; }
.article-body {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 44px rgba(38, 67, 57, .07);
}
.article-body > p:first-child {
  margin: 0 0 34px;
  padding: 18px 20px;
  border-left: 4px solid var(--mint-bright);
  border-radius: 0 14px 14px 0;
  background: var(--mint-soft);
  color: #324d43;
}
.article-body h2 { position: relative; margin: 46px 0 15px; padding-left: 18px; font-size: clamp(22px, 4vw, 29px); line-height: 1.5; }
.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 6px;
  height: 1.05em;
  border-radius: 999px;
  background: linear-gradient(var(--mint-bright), var(--mint));
}
.article-body h2:first-of-type { margin-top: 0; }
.article-body p { margin: 0 0 22px; color: #3e4d47; }
.article-body strong { color: var(--ink); }
.article-body ol { margin: 0 0 26px; padding: 0; display: grid; gap: 10px; list-style: none; counter-reset: guide; }
.article-body ol li {
  position: relative;
  margin: 0;
  padding: 14px 16px 14px 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfa;
  color: #3e4d47;
  counter-increment: guide;
}
.article-body ol li::before {
  content: counter(guide);
  position: absolute;
  top: 14px;
  left: 15px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.related { margin-top: 34px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.related h2 { margin: 0 0 12px; font-size: 19px; }
.related > p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.related ul { margin: 0; padding-left: 1.25em; }
.related li { margin: 7px 0; }
.related a { color: var(--mint); font-weight: 700; text-underline-offset: 4px; }
.article-cta { margin-top: 24px; padding: 28px; border: 1px solid rgba(8, 121, 94, .16); border-radius: 20px; background: linear-gradient(135deg, #e4f6f0, #fff4ef); }
.article-cta h2 { margin: 0 0 8px; font-size: 22px; }
.article-cta p { margin: 0 0 18px; color: #4a5c55; }
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--mint);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 0 #075f4b;
}
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 32px rgba(38, 67, 57, .07);
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.article-card:hover { transform: translateY(-3px); border-color: rgba(8, 121, 94, .35); box-shadow: 0 18px 38px rgba(38, 67, 57, .12); }
.article-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card-copy { display: flex; flex: 1; flex-direction: column; padding: 21px 22px 23px; }
.article-card small { color: var(--mint); font-weight: 800; }
.article-card h2 { margin: 7px 0 10px; font-size: 20px; line-height: 1.55; }
.article-card p { margin: 0; color: var(--muted); font-size: 14px; }
.article-card .read-more { margin-top: auto; padding-top: 16px; color: var(--mint); font-size: 13px; font-weight: 800; }
footer { padding: 30px 18px; border-top: 1px solid var(--line); color: var(--muted); background: rgba(255, 255, 255, .45); text-align: center; font-size: 13px; }
@media (max-width: 760px) {
  .index-intro { grid-template-columns: 1fr; gap: 28px; }
  .index-hero-art { order: -1; }
  .article-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-header { min-height: 60px; padding: 10px 15px; }
  .article-shell, .index-shell { width: min(100% - 24px, 820px); padding-top: 26px; }
  .breadcrumbs { margin-bottom: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  h1 { font-size: clamp(29px, 9vw, 39px); }
  .lead { font-size: 15px; line-height: 1.9; }
  .index-hero-art img, .article-hero img { border-width: 5px; border-radius: 13px; }
  .article-body { padding: 23px 18px; border-radius: 18px; }
  .article-body > p:first-child { padding: 15px 16px; }
  .article-body ol li { padding-right: 13px; }
  .article-card h2 { font-size: 19px; }
  .article-cta .primary { width: 100%; }
}
