/* よかっぱ — 1枚ページ
   色は「生成りの紙＋焦げ茶＋くすみ緑＋くすみオレンジ」。団子ピンクは見出しの一語だけ。 */
:root {
  --paper: #f8f4e8;
  --card: #fffcf4;
  --ink: #3b3630;
  --ink-soft: #6a6256;
  --line: #e0d6c0;
  --green: #5f7f52;
  --green-deep: #3d5d36;
  --orange: #c48449;
  --orange-deep: #87521f;
  --pink: #f3c5cb;
  --radius: 14px;
  --maxw: 880px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:where(p, li) { word-break: auto-phrase; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* ── はじめに ───────────────────────── */
.hero { padding-top: 72px; padding-bottom: 40px; text-align: center; }
.hero .icon {
  width: 104px; height: 104px; margin: 0 auto 18px;
  border-radius: 50%; border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--line);
}
.hero h1 { margin: 0; font-size: 34px; letter-spacing: .08em; line-height: 1.3; }
.hero .role { margin: 6px 0 0; font-size: 15px; color: var(--ink-soft); letter-spacing: .04em; }
.hero .lead { margin: 22px 0 0; font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.nb { display: inline-block; }
.hero .lead mark {
  background: linear-gradient(transparent 58%, var(--pink) 58%, var(--pink) 92%, transparent 92%);
  color: inherit; padding: 0 .08em;
}

.now {
  list-style: none; margin: 32px auto 0; padding: 18px 22px;
  max-width: 560px; text-align: left;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
}
.now li { position: relative; padding-left: 20px; font-size: 15px; }
.now li + li { margin-top: 6px; }
.now li::before {
  content: ""; position: absolute; left: 2px; top: .75em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}

/* ── 見出し ───────────────────────── */
section { padding: 36px 0; }
h2 {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 20px; font-size: 21px; letter-spacing: .06em;
}
h2::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--green); }
h3 { margin: 28px 0 12px; font-size: 16px; color: var(--ink-soft); letter-spacing: .06em; }
h3:first-of-type { margin-top: 4px; }

/* ── 札（ひとりで／チーム） ───────────────────────── */
.tag {
  display: inline-block; padding: 0 9px; border-radius: 999px;
  font-size: 13px; line-height: 20px; font-weight: 700; white-space: nowrap;
  border: 1px solid;
}
.tag.solo { color: var(--green-deep); border-color: var(--green); }
.tag.team { color: var(--orange-deep); border-color: var(--orange); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--ink-soft); }
.meta .year { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ── 代表作（大きいカード） ───────────────────────── */
.picks { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.pick {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.pick:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(59, 54, 48, .10); }
.pick .thumb { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--line); }
.pick .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.pick .title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; }
.pick .desc { margin: 2px 0 0; font-size: 14px; line-height: 1.75; }

/* ── つくってきたもの（小さい行） ───────────────────────── */
.rows { display: grid; gap: 10px 18px; grid-template-columns: repeat(2, 1fr); list-style: none; margin: 0; padding: 0; }
.row a {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center;
  padding: 8px; border-radius: 14px; text-decoration: none;
  border: 1px solid transparent; transition: background .2s ease, border-color .2s ease;
}
.row a:hover { background: var(--card); border-color: var(--line); }
.row img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--line); }
.row .title { margin: 0 0 2px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.row .note { margin: 2px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.more { margin: 12px 0 0 8px; font-size: 14px; }
.more a { color: var(--green-deep); text-underline-offset: 4px; }

/* ── これまで（年表） ───────────────────────── */
.history { list-style: none; margin: 0; padding: 0 0 0 4px; }
.history li {
  position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 14px;
  padding: 0 0 14px 22px; font-size: 15px;
}
.history li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--green);
}
.history li::after {
  content: ""; position: absolute; left: 7px; top: calc(.6em + 13px); bottom: -2px;
  width: 1px; background: var(--line);
}
.history li:last-child::after { display: none; }
.history li:last-child::before { background: var(--green); }
.history .when { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ── 読む・聴く ───────────────────────── */
.links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; margin: 0; padding: 0; }
.links a {
  display: block; height: 100%; padding: 10px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--card);
  text-decoration: none; font-size: 15px; line-height: 1.5;
  transition: border-color .2s ease;
}
.links a:hover { border-color: var(--green); }
.links small { display: block; font-size: 12px; color: var(--ink-soft); }

/* ── おわり ───────────────────────── */
footer { margin-top: 24px; padding-bottom: 64px; text-align: center; }
footer::before { content: ""; display: block; border-top: 1px solid var(--line); margin-bottom: 24px; }
footer p { max-width: 36em; margin: 0 auto; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
footer p + p { margin-top: 6px; }

/* ── スマホ ───────────────────────── */
@media (max-width: 760px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 48px; padding-bottom: 28px; }
  .hero h1 { font-size: 30px; }
  .hero .lead { font-size: 18px; }
  .picks { grid-template-columns: 1fr; }
  .rows { grid-template-columns: 1fr; }
  .row a { grid-template-columns: 104px 1fr; }
  .row img { width: 104px; }
  .history li { grid-template-columns: 64px 1fr; gap: 10px; }
  .links { grid-template-columns: 1fr; }
  footer { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .pick, .row a, .links a { transition: none; }
  .pick:hover { transform: none; }
}
