/* まごたび — 祖父母世代にも読みやすい大きめの文字と、温かみのある配色 */
:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --ink: #2b2a27;
  --ink-soft: #5e5a52;
  --line: #e7dfd2;
  --green: #2f6b55;
  --green-soft: #e3efe8;
  --terracotta: #c4623d;
  --terracotta-dark: #a94f2e;
  --sun: #f2c14e;
  --sun-soft: #fdf3d6;
  --radius: 14px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Noto Sans JP", Meiryo, sans-serif;
  --font-head: "Hiragino Mincho ProN", "BIZ UDPMincho", "Noto Serif JP", "Yu Mincho", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.9; letter-spacing: .02em;
}
a { color: var(--green); }
img { max-width: 100%; height: auto; }
.wrap { width: min(100% - 32px, 1040px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark svg { fill: none; stroke: var(--terracotta); stroke-width: 2.4; stroke-linecap: round; }
.logo__mark svg circle { fill: var(--sun-soft); }
.logo__text { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: .08em; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: var(--ink-soft); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--green); border-color: var(--green); }

/* hero */
.hero { background:
  radial-gradient(circle at 92% 20%, var(--sun-soft) 0 120px, transparent 121px),
  linear-gradient(180deg, var(--green-soft), var(--bg)); padding: 56px 0 40px; }
.hero__eyebrow { margin: 0; color: var(--terracotta); font-weight: 700; letter-spacing: .12em; font-size: .9rem; }
.hero__title { font-family: var(--font-head); font-size: clamp(1.7rem, 4.2vw, 2.6rem); line-height: 1.5; margin: .3em 0 .4em; }
.hero__lead { color: var(--ink-soft); max-width: 36em; margin: 0 0 28px; }
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; max-width: 720px; }
.audience__item { display: block; padding: 18px 20px; border-radius: var(--radius); background: var(--surface);
  border: 2px solid var(--green); text-decoration: none; color: var(--ink); transition: transform .15s; }
.audience__item strong { display: block; color: var(--green); font-size: 1.05rem; }
.audience__item span { font-size: .95rem; color: var(--ink-soft); }
.audience__item--senior { border-color: var(--terracotta); }
.audience__item--senior strong { color: var(--terracotta); font-size: 1.15rem; }
.audience__item:hover { transform: translateY(-2px); }

/* sections & cards */
.section { padding: 36px 0; }
.section__title { font-family: var(--font-head); font-size: 1.4rem; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.section__title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--terracotta); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 24px rgba(60, 45, 20, .1); transform: translateY(-2px); }
.card__thumb { display: grid; place-items: center; aspect-ratio: 16 / 8; font-size: 3rem; background: var(--green-soft); }
.card__thumb--gift { background: var(--sun-soft); }
.card__thumb--play { background: #f6e4dc; }
.card__body { padding: 14px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.card__cat { font-size: .8rem; font-weight: 700; color: var(--terracotta); letter-spacing: .08em; }
.card__title { font-weight: 700; line-height: 1.6; font-size: 1.05rem; }
.card__desc { font-size: .88rem; color: var(--ink-soft); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cat { padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.cat strong { display: block; font-size: 1.1rem; color: var(--green); }
.cat span { font-size: .88rem; color: var(--ink-soft); }

/* article */
.article { max-width: 760px; padding: 24px 0 8px; }
.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 12px; }
.crumbs a { color: var(--ink-soft); }
.pr-badge { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--ink-soft); line-height: 1.6;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 0 0 16px; }
.pr-badge span { flex: none; background: var(--ink-soft); color: #fff; font-weight: 700; border-radius: 4px; padding: 0 6px; font-size: .75rem; line-height: 1.7; }
.article__title, .page-title { font-family: var(--font-head); font-size: clamp(1.5rem, 3.6vw, 2.05rem); line-height: 1.55; margin: 0 0 8px; }
.article__dates { font-size: .85rem; color: var(--ink-soft); margin: 0 0 20px; }
.page-lead { color: var(--ink-soft); margin-top: 0; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin: 0 0 28px; }
.toc summary { font-weight: 700; cursor: pointer; }
.toc .toc { border: 0; padding: 0; margin: 0; background: none; }
.toc ul { margin: 8px 0 0; padding-left: 1.3em; }
.toc li { margin: 2px 0; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--green); text-decoration: underline; }

.prose h2 { font-family: var(--font-head); font-size: 1.45rem; line-height: 1.5; margin: 2.4em 0 .8em; padding: .5em .8em;
  background: var(--green-soft); border-left: 6px solid var(--green); border-radius: 0 10px 10px 0; }
.prose h3 { font-size: 1.18rem; margin: 2em 0 .6em; padding-bottom: .3em; border-bottom: 2px dotted var(--terracotta); }
.prose p { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin: .25em 0; }
.prose strong { background: linear-gradient(transparent 62%, var(--sun-soft) 62%); }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.prose table { border-collapse: collapse; width: 100%; font-size: .92rem; min-width: 560px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.prose th { background: #f4efe6; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.note, .memo { border-radius: var(--radius); padding: 14px 18px; margin: 0 0 1.4em; font-size: .95rem; line-height: 1.8; }
.note { background: var(--sun-soft); border: 1px solid #ecd796; }
.memo { background: #fff; border: 2px dashed var(--terracotta); }

/* affiliate buttons */
.aff { text-align: center; margin: 1.2em 0 1.8em; }
.aff__btn { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: min(100%, 340px);
  padding: 14px 26px; border-radius: 999px; background: var(--terracotta); color: #fff; font-weight: 700;
  text-decoration: none; box-shadow: 0 4px 0 var(--terracotta-dark); transition: transform .1s, box-shadow .1s; }
.aff__btn small { font-weight: 400; font-size: .75rem; opacity: .9; }
.aff__btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--terracotta-dark); }
.aff__btn--pending { background: #cfc7ba; box-shadow: none; cursor: default; color: #fff; }
.aff--missing { color: #b00; font-size: .85rem; }

/* footer */
.site-footer { margin-top: 48px; background: #2f3d36; color: #e9efe9; padding: 36px 0 28px; font-size: .9rem; }
.site-footer a { color: #e9efe9; }
.site-footer__name { font-family: var(--font-head); font-size: 1.15rem; margin: 0; }
.site-footer__tag { margin: 0 0 14px; opacity: .8; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 18px; }
.site-footer__copy { opacity: .6; margin: 0; font-size: .8rem; }

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .hero { padding: 36px 0 28px; }
  .nav { font-size: .88rem; gap: 2px 14px; }
}
