:root {
  color-scheme: light;
  --paper: #f7f3eb;
  --ink: #202a24;
  --muted: #545e55;
  --forest: #19392d;
  --line: #d8d4c8;
  --accent: #b4d5aa;
  font-family: "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #31734e; outline-offset: 3px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }

.hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 90%, #2a503e, transparent 66%), var(--forest);
  color: #fffaf0;
}

.masthead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  border-bottom: 1px solid #ffffff40;
  font: 700 11px/1.5 system-ui, sans-serif;
  letter-spacing: .13em;
}
.masthead span span { margin-inline: .45em; color: var(--accent); }

.hero-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  min-height: 365px;
  padding-block: 34px 42px;
}
.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font: 700 11px/1.5 system-ui, sans-serif;
  letter-spacing: .17em;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 5.15vw, 76px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.06em;
}
h1 span { display: block; }
.lead { margin: 20px 0 9px; font-size: clamp(14px, 1.5vw, 17px); }
.note { margin: 0; font-size: 12px; color: #d5e3d7; }

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}
.hero-art img {
  display: block;
  width: min(31%, 148px);
  height: auto;
  aspect-ratio: 4 / 7;
  object-fit: cover;
  object-position: top;
  border: 1px solid #fff9;
  border-radius: 4px;
  box-shadow: 0 14px 32px #0d1d1766;
}
.hero-art img:first-child { transform: rotate(-8deg) translateY(10px); }
.hero-art img:nth-child(2) { z-index: 1; transform: translateY(-9px); }
.hero-art img:last-child { transform: rotate(8deg) translateY(10px); }
.hero-art img + img { margin-inline-start: -8px; }

.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-block: 24px 44px;
}
.categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 49px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffdf8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.categories small {
  color: var(--muted);
  font: 700 11px/1 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

.category { margin-bottom: 48px; scroll-margin-top: 14px; }
.section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.section-number {
  color: #365d43;
  font: 700 12px/1.5 system-ui, sans-serif;
  letter-spacing: .09em;
}
h2 { margin: 0; font-size: clamp(23px, 3vw, 32px); line-height: 1.25; letter-spacing: -.035em; }
.count { margin-left: auto; color: var(--muted); font-size: 13px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sample {
  display: grid;
  grid-template-columns: 34% minmax(0, 1fr);
  align-items: stretch;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: #fffdf8;
  text-decoration: none;
}
.preview { display: block; background: #e4e1d5; }
.preview img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 7;
  object-fit: cover;
  object-position: top;
}
.sample-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 14px;
}
.kind { color: var(--muted); font-size: 12px; line-height: 1.45; }
.sample strong { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.35; overflow-wrap: anywhere; }
.sample-action { margin-top: 5px; color: #365d43; font-size: 12px; font-weight: 700; }
.sample-action span { margin-left: 4px; }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-block: 10px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.footer > span { font-weight: 700; letter-spacing: .12em; }
.footer a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

@media (hover: hover) {
  .categories a:hover, .sample:hover { border-color: #789580; background: #eef4e9; }
  .sample:hover .sample-action { text-decoration: underline; }
}

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .wrap { width: min(100% - 36px, 560px); }
  .masthead { padding-block: 14px; font-size: 9px; letter-spacing: .09em; }
  .hero-body { grid-template-columns: 1fr; gap: 21px; min-height: 0; padding-block: 27px 25px; }
  h1 { font-size: clamp(34px, 10vw, 53px); }
  h1 span { display: inline; }
  .lead { margin-top: 13px; }
  .hero-art img { width: min(26%, 98px); }
  .categories { grid-template-columns: repeat(2, 1fr); gap: 7px; margin-block: 15px 29px; }
  .categories a { min-height: 44px; padding-inline: 11px; font-size: 13px; }
}

@media (max-width: 540px) {
  .category { margin-bottom: 34px; }
  .cards { grid-template-columns: 1fr; gap: 9px; }
  .sample { grid-template-columns: 85px minmax(0, 1fr); }
  .sample-copy { padding-inline: 15px; }
}

