:root {
  --bg: #fbf7f2;
  --paper: #ffffff;
  --ink: #3d3530;
  --muted: #7a6f68;
  --line: #ece3da;
  --accent: #d9826b;
  --accent-soft: #fbe6de;
  --food: #e49a52;
  --food-soft: #fdeedd;
  --housework: #5f9e95;
  --housework-soft: #e1f0ec;
  --parenting: #df8b98;
  --parenting-soft: #fbe5e9;
  --business: #7489c2;
  --business-soft: #e5eaf7;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.9;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3, .logo, .hero-kicker, .thumb-text, .footer-title { font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif; }

/* header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.logo { font-weight: 700; font-size: 18px; text-decoration: none; color: var(--accent); }
.nav { display: flex; gap: 16px; font-size: 14px; overflow-x: auto; }
.nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
.nav a:hover { color: var(--accent); }

/* hero */
.hero { background: linear-gradient(135deg, var(--accent-soft), var(--parenting-soft) 60%, var(--food-soft)); padding: 56px 0 48px; }
.hero-kicker { margin: 0; color: var(--accent); font-weight: 700; letter-spacing: .08em; font-size: 14px; }
.hero h1 { margin: 4px 0 8px; font-size: clamp(28px, 6vw, 44px); line-height: 1.4; }
.hero-lead { margin: 0; color: var(--muted); max-width: 36em; }
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 32px 0 24px; }
.page-head h1 { margin: 0; font-size: 26px; }

/* list */
.list { padding-top: 28px; padding-bottom: 56px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { text-decoration: none; font-size: 14px; padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.chip.on, .chip:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: 0 2px 10px rgba(61, 53, 48, .06); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(61, 53, 48, .1); }
.card-body { padding: 16px 18px 18px; }
.card h3 { font-size: 18px; line-height: 1.5; margin: 8px 0 6px; }
.card p { margin: 0 0 10px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.card time { font-size: 12px; color: var(--muted); }
.empty { color: var(--muted); }

/* css thumbnail */
.thumb { aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px; text-align: center; }
.thumb-emoji { font-size: 40px; line-height: 1; }
.thumb-text { font-weight: 700; font-size: 20px; line-height: 1.4; }
.thumb-food { background: var(--food-soft); color: #8a5320; }
.thumb-housework { background: var(--housework-soft); color: #2f615a; }
.thumb-parenting { background: var(--parenting-soft); color: #93404f; }
.thumb-business { background: var(--business-soft); color: #364d86; }

/* category label */
.cat { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; text-decoration: none; }
.cat-food { background: var(--food-soft); color: #8a5320; }
.cat-housework { background: var(--housework-soft); color: #2f615a; }
.cat-parenting { background: var(--parenting-soft); color: #93404f; }
.cat-business { background: var(--business-soft); color: #364d86; }

/* article */
.article { max-width: 760px; padding-top: 32px; padding-bottom: 64px; }
.article-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.article-title { font-size: clamp(24px, 5vw, 32px); line-height: 1.5; margin: 12px 0; }
.article-lead { color: var(--muted); margin: 0 0 24px; }
.prose { background: var(--paper); border-radius: var(--radius); padding: 28px 32px; box-shadow: 0 2px 10px rgba(61, 53, 48, .05); }
.prose h2 { font-size: 22px; margin: 2em 0 .8em; padding: 6px 0 6px 14px; border-left: 5px solid var(--accent); line-height: 1.5; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 1.6em 0 .6em; }
.prose strong { background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }
.prose blockquote { margin: 1.4em 0; padding: 12px 18px; background: var(--bg); border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; color: var(--ink); }
.prose blockquote p { margin: .3em 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .3em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.2em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--accent-soft); white-space: nowrap; }
.prose hr { border: 0; border-top: 1px dashed var(--line); margin: 2em 0; }
.prose img { border-radius: 12px; display: block; margin: 1.2em auto; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

.author { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border-radius: var(--radius); padding: 20px; margin-top: 28px; font-size: 14px; }
.author p { margin: 0; line-height: 1.7; }
.author-name { font-weight: 700; margin-bottom: 4px !important; }
.author-icon { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.pager a { display: block; background: var(--paper); border-radius: 12px; padding: 14px 16px; text-decoration: none; font-size: 14px; line-height: 1.6; }
.pager a.next { text-align: right; }
.pager small { display: block; color: var(--muted); font-size: 12px; }
.related { margin-top: 40px; }
.related h2 { font-size: 20px; }

/* footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--muted); text-align: center; }
.site-footer p { margin: 4px 0; }
.footer-title { color: var(--accent); font-weight: 700; font-size: 16px; }
.small { font-size: 12px; }

@media (max-width: 640px) {
  .header-inner { padding-top: 8px; padding-bottom: 8px; }
  .nav { width: 100%; gap: 14px; padding-bottom: 4px; }
  .hero { padding: 36px 0 32px; }
  .prose { padding: 20px 18px; }
  .pager { grid-template-columns: 1fr; }
  .pager a.next { text-align: left; }
}
