:root {
  --bg: #EDEFEA;
  --text: #3A453F;
  --brand: #1D4636;
  --heading: #16211B;
  --surface: #FFFFFF;
  --on-brand: #F4F7F3;
  --brand-hover: #16382B;
  --border: #D5DCD4;
  --muted: #66716A;
  --soft: #E7EDE7;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'IBM Plex Sans JP', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.95; overflow-wrap: anywhere; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--heading); text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.btn-primary { display: inline-block; background: var(--brand); color: var(--on-brand); font-size: 15px; font-weight: 600; padding: 13px 22px; border-radius: 12px; box-shadow: 0 3px 8px rgba(29,70,54,.25); }
.btn-primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn-secondary { display: inline-block; background: var(--surface); color: var(--brand); font-size: 15px; font-weight: 600; padding: 13px 22px; border-radius: 12px; border: 1px solid var(--border); }
.wrap { max-width: 1040px; margin: 0 auto; }
.card { background: var(--surface); border-radius: 16px; box-shadow: 0 1px 3px rgba(20,40,30,.08); overflow: hidden; }
.lede { font-size: 13px; font-weight: 600; color: var(--brand); letter-spacing: .06em; margin-bottom: 10px; }
h1 { margin: 0 0 24px; color: var(--heading); font-size: clamp(26px,6vw,40px); line-height: 1.5; }
h2.sec { margin: 0 0 10px; color: var(--heading); font-size: clamp(22px,4.6vw,32px); line-height: 1.5; font-weight: 700; text-wrap: pretty; }
h3.feat { margin: 0 0 12px; color: var(--heading); font-size: clamp(19px,3.6vw,25px); line-height: 1.55; font-weight: 700; text-wrap: pretty; }
.body { margin: 0 0 16px; font-size: 14.5px; line-height: 1.95; color: var(--text); text-wrap: pretty; }
.sub { margin: 0; font-size: 13px; line-height: 1.85; color: var(--muted); text-wrap: pretty; }
.featcard { padding: clamp(24px,4vw,40px); margin-bottom: 20px; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--brand); background: var(--soft); border-radius: 8px; padding: 6px 10px; margin: 0 6px 8px 0; }
.public-header { background: var(--brand); padding: 18px 20px; }
.public-header a { color: var(--on-brand); font-weight: 700; }
.public-header a:focus-visible { outline-color: var(--on-brand); }
.public-main, .public-footer { max-width: 800px; padding: 24px 20px; }
.ai-notice { background: var(--soft); border-left: 4px solid var(--brand); border-radius: 8px; padding: 16px; font-size: 13px; line-height: 1.85; margin-bottom: 20px; }
.portion-note { font-weight: 600; margin: 0 0 20px; }
.recipe-list { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; }
.recipe-image { width: 100%; display: block; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 16px; }
.image-placeholder { width: 100%; aspect-ratio: 1; display: grid; place-items: center; background: var(--soft); color: var(--brand); font-size: 64px; border-radius: 12px; margin-bottom: 16px; }
.ingredient-list, .recipe-steps { padding-left: 1.6em; }
.recipe-steps li { margin-bottom: 16px; }
.recipe-nav { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.heat-note { font-weight: 600; }

/* 週ページの折りたたみ（食材・作り方） */
.recipe-details { margin-top: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
.recipe-details > summary { cursor: pointer; font-weight: 600; color: var(--brand); padding: 6px 0; list-style: none; }
.recipe-details > summary::-webkit-details-marker { display: none; }
.recipe-details > summary::before { content: "▶ "; font-size: 0.8em; }
.recipe-details[open] > summary::before { content: "▼ "; }
.recipe-details h4.sec { font-size: 1rem; margin: 16px 0 6px; }
