/* Cozy Nest — 共通スタイル
   ブランドパレット: クリーム / ベージュ / セージグリーン / ダスティテラコッタ */
:root {
  --cream: #f6f1e9;
  --beige: #e9e0d1;
  --beige-dark: #ddd0bd;
  --sage: #8f9c83;
  --sage-dark: #6f7c63;
  --terracotta: #bd7a63;
  --terracotta-dark: #a5654f;
  --text: #47423c;
  --muted: #8b8175;
  --white: #fffdf9;
  --radius: 14px;
  --shadow: 0 6px 22px rgba(74, 66, 56, 0.08);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--terracotta-dark); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ---- Header ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--beige);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; gap: 8px;
}
.brand { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.04em; color: var(--text); text-decoration: none; }
.brand span { color: var(--sage-dark); }
.nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 0.9rem; }
.nav a:hover { color: var(--terracotta-dark); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(160deg, var(--beige) 0%, var(--cream) 100%);
  padding: 56px 0;
  text-align: center;
}
.hero h1 { font-size: 1.7rem; margin: 0 0 12px; font-weight: 700; }
.hero p { color: var(--muted); margin: 0 auto; max-width: 34em; }

/* ---- Content ---- */
main { padding: 40px 0 60px; }
h1, h2, h3 { line-height: 1.5; color: var(--text); }
main h1 { font-size: 1.6rem; margin: 0 0 8px; }
h2 { font-size: 1.28rem; margin: 44px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--beige-dark); }
h3 { font-size: 1.1rem; margin: 28px 0 10px; color: var(--sage-dark); }
p { margin: 0 0 18px; }
.lead { font-size: 1.05rem; color: var(--text); }
.meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 24px; }

/* ---- PR / disclosure banner ---- */
.pr-banner {
  background: var(--beige);
  color: var(--muted);
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 28px;
}

/* ---- Product card ---- */
.product {
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 22px 0 34px;
}
.product .thumb { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--beige); }
.product .body { padding: 18px 20px 22px; }
.product .name { font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; }
.product .spec { color: var(--muted); font-size: 0.85rem; margin: 0 0 12px; }
.product .desc { margin: 0 0 16px; }

/* PC: 画像を左・本文を右の横並びにして、カードを縦にコンパクトにする */
@media (min-width: 620px) {
  .product { display: flex; align-items: stretch; }
  .product .thumb-link { flex: 0 0 270px; }
  .product .thumb {
    width: 270px;
    height: 100%;
    min-height: 300px;
    aspect-ratio: auto;
  }
  .product .body { flex: 1; padding: 20px 24px 24px; }
  .product.no-thumb { display: block; }
}

.btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--terracotta);
  color: #fff;
  text-decoration: none;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--terracotta-dark); }
@media (min-width: 620px) {
  .btn { display: inline-block; width: auto; padding: 13px 30px; font-size: 0.95rem; }
}
.pr-note { color: var(--muted); font-size: 0.75rem; margin-top: 8px; }

/* ---- Also list ---- */
.also { background: var(--white); border: 1px solid var(--beige); border-radius: var(--radius); padding: 8px 20px; }
.also li { margin: 12px 0; }

/* ---- Card grid (top page) ---- */
.card-list { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 8px; }
@media (min-width: 620px) { .card-list { grid-template-columns: 1fr 1fr; } }
.card {
  display: block; text-decoration: none; color: var(--text);
  background: var(--white); border: 1px solid var(--beige);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.15s ease;
}
.card:hover { transform: translateY(-3px); }
.card .card-thumb { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--beige); }
.card .card-body { padding: 14px 16px 18px; }
.card .card-title { font-weight: 700; font-size: 1rem; margin: 0 0 4px; }
.card .card-cat { color: var(--sage-dark); font-size: 0.78rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--beige);
  padding: 30px 0;
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer .disclosure { margin-bottom: 12px; }
.site-footer a { color: var(--muted); text-decoration: none; margin-right: 16px; }
.site-footer a:hover { color: var(--terracotta-dark); }

/* ---- Simple pages ---- */
.doc h2 { font-size: 1.15rem; }
.doc dt { font-weight: 700; margin-top: 16px; }
.doc small, .doc .note { color: var(--muted); }

/* ---- 記事冒頭：紹介アイテム一覧 ---- */
.item-index {
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px 20px;
  margin: 0 0 34px;
}
.item-index h2 {
  font-size: 1.02rem;
  margin: 0 0 12px;
  padding: 0;
  border-bottom: none;
}
.item-index ol { margin: 0; padding-left: 1.3em; }
.item-index li { margin: 11px 0; line-height: 1.65; }
.item-index li > a { font-weight: 700; text-decoration: none; }
.item-index li > a:hover { text-decoration: underline; }
.idx-buy {
  display: inline-block;
  font-weight: 400;
  font-size: 0.82rem;
  white-space: nowrap;
  margin-left: 4px;
}
.idx-note { color: var(--muted); font-size: 0.76rem; margin: 15px 0 0; line-height: 1.75; }

/* ---- 商品画像リンク ---- */
.thumb-link { display: block; }

/* ---- 本文中の挿入画像（概念記事用） ---- */
.inline-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 22px 0 30px;
}
@media (min-width: 620px) {
  .inline-img { max-width: 440px; margin-left: auto; margin-right: auto; }
}

/* ---- 注記ボックス ---- */
.note-box {
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 0 0 30px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---- 画像なし商品カード ---- */
.product.no-thumb .body { padding-top: 22px; }

/* ---- 記事末尾CTA ---- */
.closing-cta {
  background: var(--beige);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  margin: 36px 0 0;
}
.closing-cta h2 {
  margin: 0 0 8px;
  padding: 0;
  border-bottom: none;
  font-size: 1.12rem;
}
.closing-cta > p { font-size: 0.95rem; margin-bottom: 18px; }
.closing-cta ul { list-style: none; margin: 0; padding: 0; }
.closing-cta li { margin: 0 0 18px; }
.closing-cta li:last-child { margin-bottom: 0; }
.ct-name { display: block; font-weight: 700; font-size: 0.98rem; margin-bottom: 10px; }
