/* こもれび暮らし：森と木もれ日の色。スマホを基本にする */
:root {
  --cream: #f7f1e3;
  --paper: #fffaf0;
  --ink: #3b3a32;
  --sub: #6f6a5c;
  --moss: #5f7a4a;
  --forest: #3f5a3a;
  --leaf: #8fab72;
  --wood: #8a5a3b;
  --acorn: #c98a4f;
  --sun: #f0c46a;
  --line: #e4d9c1;
  --berry: #b5654f;
  --sky: #7f9fa6;
  --hand: "Klee One", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", serif;
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--round); font-size: 16px; line-height: 1.95; letter-spacing: .03em;
  background: var(--cream);
  background-image: radial-gradient(rgba(138, 90, 59, .05) 1px, transparent 1px);
  background-size: 18px 18px;
}
a { color: var(--forest); }
img, svg { max-width: 100%; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 18px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--paper); padding: 6px 10px; z-index: 10; }
.small { font-size: .8rem; color: var(--sub); line-height: 1.7; }
.sub { color: var(--sub); }
.hand { font-family: var(--hand); font-weight: 600; color: var(--forest); letter-spacing: .06em; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(247, 241, 227, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; height: 52px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--forest); font-family: var(--hand); font-weight: 600; font-size: 1.2rem; }
.logo .acorn { width: 24px; height: 28px; }
.nav { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; max-width: 760px; margin: 0 auto; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; text-decoration: none; color: var(--forest); font-size: .85rem; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.nav a:hover { background: #eef2e4; }
.pr-notice { margin: 0; text-align: center; font-size: .78rem; color: var(--forest); background: #efe6d0; padding: 5px 12px; letter-spacing: .04em; }

/* トップの森 */
.hero { position: relative; overflow: hidden; }
.hero-art { display: block; width: 100%; height: 360px; }
.hero-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 34px; text-align: center; align-items: center; }
.hero-tag { margin: 0; font-family: var(--hand); color: var(--wood); font-size: .95rem; }
.hero h1 { margin: .1em 0 .2em; font-family: var(--hand); font-weight: 600; font-size: 2.4rem; color: var(--forest); letter-spacing: .12em; text-shadow: 0 2px 0 rgba(255, 250, 240, .8); }
.hero-lead { margin: 0 0 16px; color: var(--ink); font-size: .95rem; line-height: 1.8; background: rgba(255, 250, 240, .7); padding: 4px 14px; border-radius: 12px; }
.btn-main { display: inline-block; text-decoration: none; background: var(--moss); color: #fff; font-weight: 700; padding: 11px 26px; border-radius: 999px; box-shadow: 0 4px 0 var(--forest); transition: transform .15s; }
.btn-main:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--forest); }

/* 想い */
.letter { margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 8px 22px 18px; position: relative;
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(143, 171, 114, .18) 31px 32px); }
.letter h2 { margin: .8em 0 .2em; font-size: 1.25rem; }
.letter p { margin: .5em 0; }
.letter.big { padding-top: 18px; }
.sign { text-align: right; font-family: var(--hand); color: var(--wood); }
.text-link { font-weight: 700; text-decoration: none; }

section > h2.hand, .after > h2.hand { font-size: 1.3rem; margin: 1.8em 0 .6em; display: flex; align-items: center; gap: 8px; }
section > h2.hand::before, .after > h2.hand::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50% 0 50% 0; background: var(--leaf); transform: rotate(-20deg); }

.divider { max-width: 260px; margin: 28px auto 4px; }
.divider svg { display: block; width: 100%; height: 22px; }

/* おすすめ・小さいカード */
.minis { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-link { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; transition: transform .15s, box-shadow .15s; }
.mini-link:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(95, 122, 74, .15); }
.mini-pic { flex: none; width: 64px; height: 64px; border-radius: 14px; background: #eef2e4; display: grid; place-items: center; }
.mini-pic .item-icon { width: 46px; height: 46px; }
.mini-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.5; }
.pick-note { font-family: var(--hand); color: var(--berry); font-size: .85rem; }
.mini-name { font-weight: 500; font-size: .92rem; }
.mini-price { color: var(--wood); font-weight: 700; font-size: .9rem; }

/* さがす */
.find { scroll-margin-top: 100px; }
.chip-group { margin: 10px 0 14px; scroll-margin-top: 100px; }
.chip-label { margin: 0 0 6px; font-size: .85rem; color: var(--sub); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { text-decoration: none; color: var(--forest); background: var(--paper); border: 1.5px solid var(--leaf); padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; }
.chip:hover, .chip.is-on { background: var(--moss); border-color: var(--moss); color: #fff; }

/* 記事カード */
.acards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.acard a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; border-top: 6px solid var(--leaf); transition: transform .15s, box-shadow .15s; }
.acard a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(95, 122, 74, .16); }
.acard-moss a { border-top-color: var(--moss); } .acard-sky a { border-top-color: var(--sky); }
.acard-berry a { border-top-color: var(--berry); } .acard-wood a { border-top-color: var(--wood); }
.acard-leaf a { border-top-color: var(--leaf); }
.acard-top { display: flex; align-items: center; gap: 6px; }
.acard-top .leaf { width: 20px; height: 20px; }
.tag { font-size: .75rem; color: var(--forest); background: #eef2e4; padding: 1px 10px; border-radius: 999px; }
.acard-title { font-family: var(--hand); font-weight: 600; font-size: 1.12rem; line-height: 1.6; color: var(--forest); }
.acard-desc { color: var(--sub); font-size: .9rem; line-height: 1.7; }
.acard-more { color: var(--wood); font-weight: 700; font-size: .88rem; }

/* 記事ページ */
.article-head { padding: 26px 0 22px; background: linear-gradient(180deg, #eef2e4, var(--cream)); position: relative; }
.article-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 18px; background: radial-gradient(circle at 10px -6px, transparent 14px, var(--cream) 15px) repeat-x; background-size: 20px 18px; }
.head-berry { background: linear-gradient(180deg, #f6e4dc, var(--cream)); }
.head-sky { background: linear-gradient(180deg, #e2ecee, var(--cream)); }
.head-wood { background: linear-gradient(180deg, #f1e3d2, var(--cream)); }
.article-head h1 { margin: .2em 0 0; font-family: var(--hand); font-weight: 600; font-size: 1.55rem; line-height: 1.6; color: var(--forest); }
.crumb { margin: 0; font-size: .8rem; color: var(--sub); }
.crumb a { color: var(--sub); }
.pr-line { font-size: .8rem; color: var(--sub); background: #f1e7d2; border-radius: 10px; padding: 6px 12px; margin: 16px 0; line-height: 1.7; }
.lead p { margin: .6em 0; }
.lead p:first-child { font-family: var(--hand); font-size: 1.12rem; color: var(--forest); line-height: 1.9; }
.toc { background: var(--paper); border: 1px dashed var(--leaf); border-radius: 14px; padding: 10px 18px; margin: 20px 0; }
.toc-title { margin: 0; font-weight: 700; color: var(--forest); font-size: .9rem; }
.toc ol { margin: 4px 0 0; padding-left: 1.4em; line-height: 1.9; font-size: .92rem; }
.sec { scroll-margin-top: 100px; }
.sec h2 { display: flex; align-items: center; gap: 10px; font-family: var(--hand); font-weight: 600; font-size: 1.3rem; color: var(--forest); margin: 2em 0 .5em; line-height: 1.5; }
.sec-num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--acorn); color: #fff; display: grid; place-items: center; font-family: var(--round); font-size: .95rem; font-weight: 700; }
.check { padding-left: 1.2em; }
.check li { margin: .3em 0; }
.check li::marker { content: "🌿 "; }

/* 商品 */
.item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin: 16px 0; scroll-margin-top: 100px; }
.item:target { box-shadow: 0 0 0 3px var(--sun); }
.item-pic { position: relative; width: 96px; height: 96px; border-radius: 16px; background: #eef2e4; display: grid; place-items: center; }
.item-pic .item-icon { width: 66px; height: 66px; }
.price-tag { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--wood); color: #fff; font-size: .75rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.item-body { min-width: 0; }
.item-name { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.item-body p { margin: .4em 0; font-size: .93rem; line-height: 1.85; }
.item-more { font-size: .85rem; margin: 6px 0 10px; }
.item-more summary { cursor: pointer; color: var(--moss); font-weight: 700; }
.item-more dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 6px 0 0; }
.item-more dt { color: var(--sub); }
.item-more dd { margin: 0; }
.btn-shop { display: flex; justify-content: center; gap: 6px; text-decoration: none; background: #bf3b3b; color: #fff; font-weight: 700; padding: 10px 14px; border-radius: 12px; box-shadow: 0 3px 0 #8f2a2a; }
.btn-shop:active { transform: translateY(2px); box-shadow: 0 1px 0 #8f2a2a; }
@media (max-width: 420px) {
  .item { grid-template-columns: 1fr; }
  .item-pic { width: 100%; height: 110px; }
}

.after { margin-top: 10px; }
.findpage h1, .about h1 { font-size: 1.6rem; margin: .4em 0 .2em; }
.about .btn-main { margin: 20px 0 10px; }

/* フッター */
.site-footer { margin-top: 48px; padding: 6px 0 30px; background: #ece3cd; text-align: center; }
.foot-logo { display: flex; justify-content: center; align-items: center; gap: 8px; font-family: var(--hand); font-weight: 600; color: var(--forest); font-size: 1.2rem; margin: 8px 0 0; }
.foot-logo .acorn { width: 22px; height: 26px; }
.foot-tag { margin: 0 0 10px; font-family: var(--hand); color: var(--wood); }
.foot-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; font-size: .88rem; margin-bottom: 10px; }

@media (min-width: 700px) {
  .hero-art { height: 420px; }
  .hero h1 { font-size: 3rem; }
  .minis { grid-template-columns: repeat(3, 1fr); }
  .minis .mini-link { flex-direction: column; text-align: center; height: 100%; }
  .acards { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* 写真 */
.photo { margin: 18px 0; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; box-shadow: 0 8px 20px rgba(63, 90, 58, .14); }
.photo figcaption { text-align: right; font-size: .7rem; color: var(--sub); margin-top: 4px; }
.photo figcaption a { color: var(--sub); }
.photo-top { margin-top: 20px; }

/* ===== 2026-10-20 作り直し：葉っぱと木もれ日のロゴ、アイコンの入口、特集のスライド ===== */
.header-in { justify-content: space-between; height: 54px; }
.logo .mark { width: 30px; height: 30px; }
.about-link { font-size: .82rem; color: var(--forest); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; background: var(--paper); }
.icon-nav { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 760px; margin: 0 auto; padding: 2px 8px 8px; }
.icon-nav a { display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--forest); font-size: .72rem; padding: 4px 0; border-radius: 12px; }
.icon-nav a:hover { background: #eef2e4; }
.nav-icon { width: 24px; height: 24px; fill: none; stroke: var(--moss); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.notice-bar { margin: 0; text-align: center; font-size: .74rem; color: var(--paper); background: var(--moss); padding: 6px 12px; letter-spacing: .03em; }

.feature-slider { max-width: 760px; margin: 22px auto 0; padding: 0 18px; }
.fslides { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; }
.fslides::-webkit-scrollbar { display: none; }
.fslides li { scroll-snap-align: start; }
.fslides a { position: relative; display: block; border-radius: 18px; overflow: hidden; }
.fslides img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.fcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; color: #fff; font-family: var(--hand); font-weight: 600; font-size: 1.05rem; background: linear-gradient(transparent, rgba(30, 40, 28, .62)); }
.fdots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.fdots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .2s; }
.fdots span.on { background: var(--moss); }
.photo-credit { text-align: right; font-size: .68rem; color: var(--sub); margin: 2px 0 0; }

.sec-head { text-align: center; margin: 2.2em 0 .9em; }
.sec-head .leaf { width: 26px; height: 26px; }
.sec-head h2 { margin: 2px 0 0; font-family: var(--hand); font-weight: 600; color: var(--forest); font-size: 1.35rem; letter-spacing: .06em; }
.sec-head .en { margin: 0; font-size: .78rem; color: var(--wood); letter-spacing: .14em; }

.ptags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.ptag { font-size: .68rem; color: var(--forest); background: #eef2e4; border-radius: 999px; padding: 1px 9px; }
.ptag:nth-child(2) { background: #f6e4dc; color: var(--berry); }
