/* 見本B（ComfortLantern 作り直し案）2026-11-03 */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --ink: #2b2622;
  --ink-soft: #6b625a;
  --line: #e9e1d6;
  --accent: #b5651d;
  --accent-soft: #fff4e6;
  --link: #9a4f12;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
.inner { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.mihon-bar {
  background: #7a4b00; color: #fff; font-size: 12px; line-height: 1.6;
  text-align: center; padding: 4px 8px;
}

/* ヘッダー */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .inner { padding-top: 18px; padding-bottom: 10px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 24px; font-weight: 700; letter-spacing: .04em;
  color: var(--ink); text-decoration: none;
}
.lamp {
  width: 14px; height: 20px; border-radius: 7px 7px 5px 5px;
  background: radial-gradient(circle at 50% 60%, #ffd27a, var(--accent));
  box-shadow: 0 0 12px rgba(255, 180, 80, .6);
}
.tagline { margin: 2px 0 0; font-size: 13px; color: var(--ink-soft); }
.gnav { border-top: 1px solid var(--line); }
.gnav .inner { display: flex; gap: 4px; overflow-x: auto; padding-top: 0; padding-bottom: 0; }
.gnav a {
  flex: none; padding: 10px 12px; font-size: 14px; color: var(--ink);
  text-decoration: none; border-bottom: 3px solid transparent;
}
.gnav a:hover, .gnav a[aria-current] { border-bottom-color: var(--accent); }

/* トップ */
.home { max-width: 1080px; margin: 0 auto; padding: 24px 16px 48px; }
.hero {
  background: var(--accent-soft); border-radius: var(--radius);
  padding: 20px; margin-bottom: 28px;
}
.hero-lead { margin: 0; font-size: 15px; }
.mihon-note {
  font-size: 13px; color: #7a4b00; background: #fff; border: 1px dashed #c9a36b;
  border-radius: 8px; padding: 8px 12px; margin: -12px 0 24px;
}
.sec-title, .more h2 {
  font-size: 18px; margin: 0 0 14px; padding-left: 10px;
  border-left: 4px solid var(--accent); line-height: 1.5;
}
.cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 960px) { .home .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: 0 6px 18px rgba(80, 50, 20, .12); transform: translateY(-2px); }
.thumb { display: block; aspect-ratio: 1200 / 630; background: var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: block; padding: 12px 14px 16px; }
.cat {
  display: inline-block; font-size: 11px; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px; padding: 0 8px; line-height: 1.7;
}
.not-built { margin-left: 6px; font-size: 11px; color: var(--ink-soft); }
.card-title { display: block; margin-top: 6px; font-size: 15px; font-weight: 700; line-height: 1.6; }

/* 記事 */
.article-main { max-width: 760px; margin: 0 auto; padding: 20px 16px 48px; }
.article {
  background: var(--surface); border-radius: var(--radius);
  padding: 20px 18px 32px; border: 1px solid var(--line);
}
@media (min-width: 760px) { .article { padding: 32px 44px 44px; } }
.crumbs { font-size: 12px; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.article h1 { font-size: 22px; line-height: 1.55; margin: 8px 0 6px; letter-spacing: .01em; }
@media (min-width: 760px) { .article h1 { font-size: 27px; } }
.meta { font-size: 12px; color: var(--ink-soft); margin: 0 0 14px; display: flex; gap: 12px; }
.eyecatch { margin: 0 -18px 18px; }
@media (min-width: 760px) { .eyecatch { margin: 0 0 22px; } .eyecatch img { border-radius: 8px; } }

.toc {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 16px; margin: 0 0 24px; font-size: 14px;
}
.toc summary { font-weight: 700; cursor: pointer; }
.toc ol { margin: 8px 0 4px; padding-left: 1.4em; }
.toc li { margin: 2px 0; line-height: 1.6; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--link); text-decoration: underline; }

.content { font-size: 16px; }
@media (min-width: 760px) { .content { font-size: 17px; } }
.content p { margin: 0 0 1.3em; }
.content h2 {
  font-size: 20px; line-height: 1.5; margin: 2.4em 0 1em; padding: 10px 14px;
  background: var(--accent-soft); border-left: 5px solid var(--accent); border-radius: 4px;
  scroll-margin-top: 12px;
}
.content h3 {
  font-size: 17px; line-height: 1.5; margin: 2em 0 .8em; padding-bottom: 6px;
  border-bottom: 2px solid var(--line);
}
.content ul { padding-left: 1.3em; margin: 0 0 1.3em; }
.content li { margin: .3em 0; }
.content strong { background: linear-gradient(transparent 62%, #ffe2b8 62%); }
.content figure { margin: 1.6em 0; }
.content figure img { border-radius: 8px; width: 100%; }
.content figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 6px; line-height: 1.6; }
.content blockquote {
  margin: 1.4em 0; padding: 12px 16px; background: var(--bg);
  border-left: 4px solid var(--line); color: var(--ink-soft);
}
.content blockquote p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; -webkit-overflow-scrolling: touch; }
.table-wrap table { border-collapse: collapse; min-width: 100%; font-size: 14px; line-height: 1.7; }
.table-wrap th, .table-wrap td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.table-wrap th { background: var(--accent-soft); text-align: left; white-space: nowrap; }
.table-wrap td:first-child { white-space: nowrap; font-weight: 700; }

.cl-ad-disclosure { font-size: 12px; color: var(--ink-soft); }
.cl-cta {
  margin: 1.8em 0; padding: 16px 18px; border: 2px solid var(--accent);
  border-radius: var(--radius); background: var(--accent-soft);
}
.cl-cta p:last-child { margin-bottom: 0; }
.ad-box {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  max-width: 100%; background: #eee; color: #888; font-size: 12px; line-height: 1.6;
  border: 1px dashed #bbb; vertical-align: middle;
}
.aff-off { font-weight: 700; }
.aff-note {
  display: inline-block; margin-left: 6px; font-size: 11px; color: #888;
  border: 1px solid #ccc; border-radius: 4px; padding: 0 4px; line-height: 1.6;
}

.more { margin-top: 32px; }

/* フッター */
.site-footer { background: #3a322b; color: #e8e0d6; font-size: 13px; padding: 24px 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
.site-footer a { color: #e8e0d6; }
.site-footer p { margin: 0; color: #b9ada0; }
