/* =========================================================
   宅配食ナビ  ―  "ごちそう×じぶん時間" デザイン
   コンセプト: 手作りのおいしさはそのまま、空いた時間は自分のために
   ========================================================= */
:root {
  --color-bg: #fff8ec;
  --color-surface: #ffffff;
  --color-text: #2a2622;
  --color-text-muted: #6a5f55;
  --color-primary: #d93f24;        /* トマト */
  --color-primary-dark: #b6301a;
  --color-accent: #2f6b4a;         /* 青菜 */
  --color-warm: #f4b73a;           /* からし */
  --color-border: #ecdcc2;
  --ink: #2a2622;
  --cream: #fff3d9;
  --mint: #d9ecd9;
  --peach: #ffd9c2;
  --sky: #d8ebf2;
  --radius: 18px;
  --max-width: 1080px;
  --shadow-hard: 4px 4px 0 var(--ink);
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-body: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { overflow-x: clip; }

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  background-image: radial-gradient(rgba(42,38,34,0.045) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
}

main p, main li { line-height: 1.85; }
main p, main li, .hero p { text-wrap: balance; overflow-wrap: break-word; word-break: normal; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;
}

a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }

/* ---------- 見出し ---------- */
main h2 {
  position: relative;
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 56px 0 20px;
  padding: 0 0 0 34px;
  color: var(--ink);
}
main h2::before {                      /* 野菜の断面みたいな丸 */
  content: "";
  position: absolute;
  left: 0; top: 0.32em;
  width: 22px; height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--color-warm) 0 28%, transparent 30%),
    var(--color-primary);
  box-shadow: 2px 2px 0 var(--ink);
  border: 2px solid var(--ink);
}
main h2::after {                       /* マーカー下線 */
  content: "";
  position: absolute;
  left: 30px; right: 0; bottom: -8px;
  height: 0;
  border-bottom: 3px dotted var(--color-warm);
}
main section:first-of-type h2 { margin-top: 36px; }
section.intro-block h2, .category-card h2 { margin-top: 0; }

/* ---------- ヘッダー ---------- */
.site-header {
  background: rgba(255,248,236,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.site-logo {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.site-logo:hover { text-decoration: none; }
.site-logo span {
  background: var(--color-primary);
  color: #fff;
  padding: 0 8px;
  border-radius: 8px;
  transform: rotate(-3deg);
  display: inline-block;
}
.site-logo::before {                   /* お椀のロゴ */
  content: "";
  width: 30px; height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M9 8c-1.5-2 1.5-3 0-5M16 8c-1.5-2 1.5-3 0-5M23 8c-1.5-2 1.5-3 0-5' fill='none' stroke='%232a2622' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M3 13h26c0 8-5 14-13 14S3 21 3 13z' fill='%23f4b73a' stroke='%232a2622' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 28h14' stroke='%232a2622' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 700;
}
.site-nav a {
  display: block;
  color: var(--ink);
  padding: 4px 11px;
  border-radius: 999px;
  border: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover {
  background: var(--color-warm);
  border-color: var(--ink);
  text-decoration: none;
}
@media (max-width: 860px) {
  .site-nav { width: 100%; overflow-x: auto; margin: 0 -4px; padding-bottom: 4px; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { flex-wrap: nowrap; }
}

.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.breadcrumb a { color: var(--color-text-muted); text-decoration: underline; text-decoration-color: var(--color-border); text-underline-offset: 3px; }

/* ---------- 記事・カテゴリのヒーロー ---------- */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 20px 60px;
}

.hero {
  position: relative;
  margin: 14px 0 20px;
  padding: 34px clamp(20px, 4vw, 44px) 32px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 26px;
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
}
.hero::before {                        /* 右上の盛り付けプレート */
  content: "";
  position: absolute;
  right: -46px; top: -46px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: url("crop-veg.webp") center / cover;
  border: 2px solid var(--ink);
  opacity: 0.95;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 9px;
  background: repeating-linear-gradient(90deg, var(--color-primary) 0 22px, var(--color-warm) 22px 44px, var(--color-accent) 44px 66px);
}
.hero-inner { position: relative; max-width: none; margin: 0; }
.hero h1 {
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  line-height: 1.55;
  margin: 0 0 12px;
  padding-right: 70px;
  color: var(--ink);
}
.hero p { color: #4a3f35; max-width: 680px; margin: 0; padding-right: 40px; }

.disclosure-badge {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- バナー ---------- */
.hero-banner {
  text-align: center;
  margin: 28px auto;
  width: fit-content;
  max-width: 100%;
  padding: 14px 14px 12px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-hard);
  transform: rotate(-0.6deg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-banner:hover { transform: rotate(0) translateY(-3px); box-shadow: 6px 8px 0 var(--ink); }
.hero-banner .pr-tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.hero-banner img { max-width: 100%; height: auto; margin: 0 auto; border-radius: 6px; }
section.intro-block .hero-banner:nth-child(even) { transform: rotate(0.7deg); }

/* ---------- 目次 ---------- */
.toc {
  position: relative;
  background: #fffdf6;
  border: 2px dashed var(--color-accent);
  border-radius: var(--radius);
  padding: 18px 24px 16px;
  margin: 26px 0;
  font-size: 0.95rem;
  line-height: 1.9;
}
.toc p {
  display: inline-block;
  margin: -34px 0 8px;
  padding: 2px 16px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid var(--ink);
}
.toc ol { margin: 0; padding-left: 1.4em; }
.toc li::marker { color: var(--color-primary); font-weight: 700; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--color-primary-dark); }

/* ---------- ブロック類 ---------- */
section.intro-block {
  background: var(--color-surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px clamp(18px, 3vw, 32px);
  margin: 26px 0 34px;
  box-shadow: 4px 4px 0 var(--color-warm);
}
section.intro-block h2 { font-size: 1.25rem; }
section.intro-block p:last-child { margin-bottom: 0; }

.status-pending {
  display: inline-block;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  background: var(--cream);
  border-radius: 10px;
  padding: 6px 14px;
  margin: 0 0 12px;
}
.status-pending::before { content: "i"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; background: var(--color-warm); color: var(--ink); font-weight: 700; font-size: 0.72rem; font-family: serif; }

.affiliate-notice {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #4a3f35;
  background: var(--cream);
  border: 1px dashed #c9b38a;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 40px 0 10px;
}
.notice-box {
  font-size: 0.92rem;
  line-height: 1.8;
  background: #fff;
  border: 2px solid var(--ink);
  border-left: 8px solid var(--color-primary);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 16px 0 0;
}

/* メリット/デメリット */
.merit-demerit {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin: 18px 0;
  align-items: start;
}
.merit-demerit .merit-box {
  background: var(--mint);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-hard);
}
.merit-demerit .merit-box h3 {
  display: inline-block;
  margin: -34px 0 12px;
  padding: 2px 14px;
  font-size: 0.95rem;
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.merit-demerit ul { margin: 0; padding: 0; list-style: none; font-size: 0.95rem; line-height: 1.75; }
.merit-demerit li { position: relative; padding-left: 28px; }
.merit-demerit li + li { margin-top: 8px; }
.merit-demerit .merit-box li::before {
  content: "";
  position: absolute; left: 0; top: 0.32em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.merit-demerit .merit-box p { margin: 0; font-size: 0.93rem; }
.merit-demerit .demerit-box {
  background: #f1ede6;
  border: 2px dashed #8f8578;
  border-radius: var(--radius);
  padding: 20px 20px;
}
.merit-demerit .demerit-box h3 {
  display: inline-block;
  margin: -34px 0 12px;
  padding: 2px 14px;
  font-size: 0.88rem;
  background: #fff;
  color: var(--color-text-muted);
  border: 2px dashed #8f8578;
  border-radius: 999px;
}
.merit-demerit .demerit-box li::before {
  content: "";
  position: absolute; left: 4px; top: 0.75em;
  width: 10px; height: 2px; background: #8f8578;
}
.merit-demerit .demerit-box ul { font-size: 0.9rem; }
@media (max-width: 700px) { .merit-demerit { grid-template-columns: 1fr; gap: 34px; } }

/* こんな人におすすめ */
.persona-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.persona-list li {
  position: relative;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.65;
  padding: 16px 16px 16px 52px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--peach);
}
.persona-list li:nth-child(4n+2) { background: var(--mint); }
.persona-list li:nth-child(4n+3) { background: #fde9a8; }
.persona-list li:nth-child(4n+4) { background: var(--sky); }
.persona-list li::before {
  content: "";
  position: absolute; left: 14px; top: 16px;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='%232a2622' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
  border: 2px solid var(--ink);
}

.note-list { margin: 10px 0; padding-left: 1.3em; font-size: 1rem; line-height: 1.8; }
.note-list li { margin: 0 0 6px; }
.note-list li::marker { color: var(--color-warm); }

/* 口コミ引用 */
.quote-review {
  position: relative;
  margin: 24px 0 14px;
  padding: 18px 22px 16px 58px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 18px 18px 18px 4px;
}
.quote-review::before {
  content: "“";
  position: absolute; left: 14px; top: 2px;
  font-family: Georgia, serif;
  font-size: 4rem; line-height: 1;
  color: var(--color-primary);
}
.quote-review p { margin: 0 0 6px; font-size: 0.98rem; line-height: 1.8; }
.quote-review cite { display: block; font-size: 0.8rem; font-style: normal; color: var(--color-text-muted); }

/* 比較表 */
.compare-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-hard);
}
.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.compare-table th, .compare-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.compare-table thead th {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 0.85rem;
  white-space: nowrap;
}
.compare-table tbody tr:nth-child(even) { background: #fffaf0; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:first-child { font-weight: 700; }
.compare-table tbody tr:hover { background: #fdf0c7; }
.compare-table tbody tr.clickable-row { cursor: pointer; }
.compare-table td:last-child a {
  display: inline-block; white-space: nowrap;
  padding: 2px 12px; border-radius: 999px;
  background: var(--color-warm); color: var(--ink); font-weight: 700; font-size: 0.82rem;
  border: 2px solid var(--ink);
}
.compare-table td:last-child a:hover { background: var(--color-primary); color: #fff; text-decoration: none; }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: #fffdf6;
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 16px 20px;
}
.faq-item h3 { margin: 0 0 8px; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.faq-item h3::first-letter { color: var(--color-primary); font-size: 1.15em; }
.faq-item p { margin: 0; font-size: 0.95rem; color: #4a3f35; padding-left: 0; }
.faq-item p::first-letter { color: var(--color-accent); font-weight: 700; }

/* CTAボタン (記事内インラインstyle上書き) */
p > a[href*="a8.net"][style*="border-radius:999px"],
p > a[style*="var(--color-primary)"][style*="border-radius:999px"] {
  background: var(--color-primary) !important;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  font-family: var(--font-head);
  letter-spacing: 0.02em;
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none !important;
}
p > a[style*="var(--color-primary)"][style*="border-radius:999px"]::after { content: "  →"; }
p > a[style*="var(--color-primary)"][style*="border-radius:999px"]:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}
p > a[style*="var(--color-primary)"][style*="border-radius:999px"]:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- フッター ---------- */
.site-footer {
  position: relative;
  background: var(--color-accent);
  color: #eaf5ec;
  margin-top: 70px;
  border-top: 2px solid var(--ink);
}
.site-footer::before {                 /* 波の縁 */
  content: "";
  position: absolute; left: 0; right: 0; top: -22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V11C10 11 10 2 20 2s10 9 20 9 10-9 20-9v20z' fill='%232f6b4a'/%3E%3C/svg%3E") repeat-x bottom / 60px 22px;
}
.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px 20px 38px;
  font-size: 0.85rem;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
}
.site-footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer nav ul { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; flex-wrap: wrap; }

/* ---------- カテゴリ/記事リスト (共通) ---------- */
.article-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 14px; }
.article-list li {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 16px 20px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.article-list li:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-hard); }
.article-list a { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.article-list p { margin: 6px 0 0; color: var(--color-text-muted); font-size: 0.92rem; line-height: 1.7; }
.empty-note { color: var(--color-text-muted); font-size: 0.95rem; border: 2px dashed var(--color-border); border-radius: var(--radius); padding: 18px; margin: 20px 0; }

.service-preview-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.service-preview-list li { background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 12px 16px; }
.service-preview-list .service-name { font-weight: 700; }
.service-preview-list .service-merit { display: block; font-size: 0.9rem; color: var(--color-primary-dark); margin-top: 4px; }
.service-preview-list .service-merit::before { content: "一番の強み："; font-weight: 700; color: var(--color-text-muted); }

/* =========================================================
   トップページ
   ========================================================= */
.top-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
  align-items: center;
  margin: 18px 0 10px;
  padding: clamp(26px, 4vw, 48px);
  background: var(--color-warm);
  border: 2px solid var(--ink);
  border-radius: 32px;
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}
.top-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(42,38,34,0.12) 2px, transparent 2px);
  background-size: 18px 18px;
  mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
  pointer-events: none;
}
.top-hero__text { position: relative; }
.top-hero h1 {
  font-size: clamp(1.7rem, 4.4vw, 2.7rem);
  line-height: 1.38;
  margin: 8px 0 16px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.top-hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, rgba(255,255,255,0.85) 62%);
  padding: 0 2px;
}
.top-hero h1 .red { color: var(--color-primary); }
.top-hero p.lead { font-size: 1rem; color: #3a3028; margin: 0 0 22px; max-width: 520px; }
.top-hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-hard);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); text-decoration: none; }
.btn--red { background: var(--color-primary); color: #fff; }

.top-hero__visual { position: relative; min-height: 340px; }
.top-hero__visual .plate {
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-hard);
}
.plate--main { width: 78%; aspect-ratio: 1; right: 0; top: 0; background-image: url("crop-wok.webp"); animation: bob 7s ease-in-out infinite; }
.plate--bento { width: 44%; aspect-ratio: 1; left: 0; bottom: -6px; background-image: url("crop-bento.webp"); animation: bob 8s ease-in-out -2s infinite; }
.plate--soup { width: 32%; aspect-ratio: 1; right: 6%; bottom: -12px; background-image: url("crop-soup.webp"); animation: bob 6s ease-in-out -4s infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(1.5deg); } }

.sticker {
  position: absolute;
  z-index: 2;
  display: grid; place-items: center; text-align: center;
  width: 108px; height: 108px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  transform: rotate(-12deg);
}
.sticker small { display: block; font-size: 0.68rem; font-weight: 500; }
.sticker--a { left: 4%; top: 6%; }
.sticker--b { right: -4px; bottom: 34%; width: 92px; height: 92px; background: #fff; color: var(--ink); transform: rotate(9deg); font-size: 0.82rem; }

@media (max-width: 800px) {
  .top-hero { grid-template-columns: 1fr; }
  .top-hero__visual { min-height: 300px; order: -1; }
  .sticker { width: 88px; height: 88px; font-size: 0.78rem; }
  .sticker--b { width: 76px; height: 76px; font-size: 0.7rem; }
}

/* 流れるテキスト帯 */
.marquee {
  margin: 34px 0 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-head);
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-hard);
}
.marquee__track { display: inline-block; padding: 10px 0; animation: slide 32s linear infinite; }
.marquee span { margin: 0 22px; }
.marquee span::before { content: "✦"; color: var(--color-warm); margin-right: 22px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* セクション見出し(トップ用) */
.sec-head { text-align: center; margin: 70px 0 30px; }
.sec-head .eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 999px;
  padding: 0 14px;
  margin-bottom: 10px;
  background: #fff;
}
.sec-head h2 { margin: 0; padding: 0; font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.5; }
.sec-head h2::before, .sec-head h2::after { display: none; }
.sec-head p { color: var(--color-text-muted); margin: 8px auto 0; max-width: 600px; }

/* 自炊 vs 宅配食 の1日 */
.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.tl {
  position: relative;
  padding: 30px 24px 24px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: #fff;
}
.tl--before { background: #f3efe8; border-style: dashed; }
.tl--after { background: var(--mint); box-shadow: 8px 8px 0 var(--ink); }
.tl__label {
  position: absolute; top: -17px; left: 22px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  padding: 3px 16px; border: 2px solid var(--ink); border-radius: 999px;
  background: #fff;
}
.tl--after .tl__label { background: var(--color-primary); color: #fff; }
.tl ol { list-style: none; margin: 0; padding: 0; position: relative; }
.tl ol::before { content: ""; position: absolute; left: 15px; top: 14px; bottom: 14px; border-left: 3px dotted var(--ink); opacity: .35; }
.tl li { position: relative; display: flex; align-items: center; gap: 14px; padding: 8px 0; font-size: 0.95rem; line-height: 1.5; }
.tl li .dot {
  flex: none; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; background: #fff; border: 2px solid var(--ink); font-size: 1rem; position: relative;
}
.tl li .t { flex: none; margin-left: auto; font-size: 0.78rem; font-weight: 700; color: var(--color-text-muted); }
.tl--before li { color: #6a5f55; }
.tl--before li .name { text-decoration: line-through; text-decoration-color: rgba(217,63,36,0.6); text-decoration-thickness: 2px; }
.tl--before li.keep .name { text-decoration: none; }
.tl--after li.free {
  margin: 8px -10px 0; padding: 12px 10px;
  background: var(--color-warm); border: 2px solid var(--ink); border-radius: 14px;
  font-family: var(--font-head); font-weight: 700;
}
.tl--after li.free .dot { background: #fff; }
.tl__foot { margin: 14px 0 0; font-size: 0.82rem; color: var(--color-text-muted); }
@media (max-width: 800px) { .timeline { grid-template-columns: 1fr; gap: 34px; } }

/* 3つの約束 */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promise {
  position: relative;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.promise:hover { transform: translate(-3px,-3px) rotate(-0.4deg); box-shadow: 8px 8px 0 var(--ink); }
.promise__img { aspect-ratio: 16/10; background-size: cover; background-position: center; border-bottom: 2px solid var(--ink); }
.promise__no {
  position: absolute; top: 12px; left: 12px;
  width: 44px; height: 44px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  background: var(--color-warm); border: 2px solid var(--ink); border-radius: 50%;
}
.promise__body { padding: 18px 20px 22px; }
.promise h3 { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.5; }
.promise p { margin: 0; font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.75; }
@media (max-width: 800px) { .promise-grid { grid-template-columns: 1fr; } }

/* カテゴリカード */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
}
.category-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover { transform: translate(-3px,-3px); box-shadow: 7px 7px 0 var(--ink); }
.category-card .card-photo {
  height: 150px;
  background-size: cover;
  background-position: center;
  border-bottom: 2px solid var(--ink);
  position: relative;
}
.category-card .card-icon {
  position: absolute; right: 14px; bottom: -22px;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--color-warm); border: 2px solid var(--ink);
  margin: 0; z-index: 1;
}
.category-card:nth-child(3n+2) .card-icon { background: var(--peach); }
.category-card:nth-child(3n+3) .card-icon { background: var(--mint); }
.category-card .card-body { padding: 20px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.category-card .tag {
  align-self: flex-start;
  font-size: 0.72rem; font-weight: 700;
  color: var(--color-accent);
  background: var(--mint);
  padding: 1px 10px; border-radius: 999px;
  border: 1.5px solid var(--color-accent);
  margin-bottom: 8px;
}
.category-card h2 { margin: 0 0 8px; padding: 0; font-size: 1.12rem; }
.category-card h2::before, .category-card h2::after { display: none; }
.category-card h2 a { color: var(--ink); }
.category-card h2 a::after { content: ""; position: absolute; inset: 0; }   /* カード全体をリンクに */
.category-card p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.7; margin: 0 0 14px; }
.card-link { margin-top: auto; font-weight: 700; font-size: 0.85rem; color: var(--color-primary-dark); }
.card-link::after { content: " →"; transition: margin .15s; }
.category-card:hover .card-link::after { margin-left: 6px; }
@media (max-width: 900px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .category-grid { grid-template-columns: 1fr; } }

/* 注目サービス(バナー展示) */
.pick-wall {
  background: var(--color-accent);
  border: 2px solid var(--ink);
  border-radius: 30px;
  padding: 40px clamp(16px, 4vw, 40px) 36px;
  margin-top: 70px;
  box-shadow: 8px 8px 0 var(--ink);
  position: relative;
}
.pick-wall .sec-head { margin: 0 0 28px; }
.pick-wall .sec-head h2 { color: #fff; }
.pick-wall .sec-head p { color: #d6ecdc; }
.pick-wall .sec-head .eyebrow { background: var(--color-warm); color: var(--ink); border-color: var(--ink); }
.pick-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; align-items: flex-start; }
.pick-grid .hero-banner { margin: 0; }
.pick-grid .hero-banner:nth-child(3n+1) { transform: rotate(-1.4deg); }
.pick-grid .hero-banner:nth-child(3n+2) { transform: rotate(1deg); }
.pick-grid .hero-banner:nth-child(3n+3) { transform: rotate(-0.4deg); }
.pick-grid .hero-banner:hover { transform: rotate(0) translateY(-4px) scale(1.02); }
.pick-grid .hero-banner .name { display: block; margin-top: 8px; font-size: 0.78rem; font-weight: 700; color: var(--ink); }

/* 新着記事 */
.new-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.new-list li { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 14px 18px 14px; position: relative; transition: transform .15s, box-shadow .15s; }
.new-list li:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-hard); }
.new-list .cat { display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 0 10px; border-radius: 999px; background: var(--peach); border: 1.5px solid var(--ink); margin-bottom: 4px; }
.new-list a { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink); line-height: 1.55; font-size: 0.98rem; }
.new-list a::after { content: ""; position: absolute; inset: 0; }
.new-list p { margin: 4px 0 0; font-size: 0.83rem; color: var(--color-text-muted); line-height: 1.65; }
@media (max-width: 700px) { .new-list { grid-template-columns: 1fr; } }

/* 旧トップ互換 */
.benefit-section { margin: 32px 0 8px; }

@media (max-width: 600px) {
  main { padding-left: 16px; padding-right: 16px; }
  .hero h1 { padding-right: 0; }
  .hero p { padding-right: 0; }
  .hero::before { width: 90px; height: 90px; right: -30px; top: -30px; }
  main h2 { font-size: 1.22rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 記事の公開日・更新日 */
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 12px 0 10px !important; padding-right: 0 !important; font-size: 0.78rem; color: var(--color-text-muted); }
.post-meta span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--color-warm); border: 1.5px solid var(--ink); vertical-align: 1px; }
