/* へやとデスク（2026-11-12 作り直し）：白地・1列・見出しと商品カードだけ */
:root{--ink:#222;--sub:#595959;--line:#E3E3E3;--soft:#F6F6F6;--accent:#2F5233;--pr:#9A5A3C}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--ink);
  font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
  font-size:17px;line-height:1.95;letter-spacing:.02em;overflow-wrap:anywhere}
img{max-width:100%;height:auto}
picture{display:block}
a{color:var(--accent);text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
h1,h2,h3{font-weight:700;line-height:1.55;letter-spacing:.02em}
h1,h2,h3{word-break:auto-phrase;line-break:strict}
p{margin:0 0 1.3em}
ul,ol{padding-left:1.4em;margin:0 0 1.3em}
li{margin:.3em 0}
strong{font-weight:700}

/* ヘッダー */
.site-header{border-bottom:1px solid var(--line)}
.site-header .in{max-width:720px;margin:0 auto;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:8px 20px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}
.brand .logo{display:block;flex:none;width:34px;height:25px;max-width:100%}
.site-name{font-size:1.2rem;font-weight:700;letter-spacing:.08em}
.site-nav{display:flex;gap:18px;font-size:.9rem}
.site-nav a{color:var(--sub);text-decoration:none;padding:6px 0}
.site-nav a:hover,.site-nav a[aria-current="page"]{color:var(--ink);text-decoration:underline}

/* 本文の枠（1列） */
main{padding:0 0 64px}
.wrap{max-width:720px;margin:0 auto;padding:0 20px}
.meta{font-size:.82rem;color:var(--sub);margin:0 0 8px;line-height:1.7}
.pr-line{margin:0 0 6px;font-size:.82rem;line-height:1.7;color:var(--pr)}
.pr-line a{color:var(--pr);margin-left:.4em}

/* トップのファーストビュー（2026-11-17 追加指示）：画像は切らずに 2:1 の全体（スマホも PC も同じ）。
   左の壁（画像の左およそ45%）にロゴとキャッチを重ねる。書体は端末の明朝体（外部フォントなし）。
   大きさは画面の幅に合わせる（.hero は最大 1440px なので、上限は 1440px のときの値で止める） */
.hero{max-width:1440px;margin:0 auto}
.hero-media{position:relative}
.hero picture img{display:block;width:100%;height:auto;aspect-ratio:2/1}
.hero-text{position:absolute;left:0;top:0;bottom:0;width:46%;display:flex;flex-direction:column;justify-content:center;
  padding:0 0 4% clamp(14px,5.2vw,76px);color:#2B2622;
  font-family:"Hiragino Mincho ProN","Hiragino Mincho Pro","Yu Mincho","YuMincho","Noto Serif JP","Noto Serif CJK JP",serif}
.hero-logo{display:flex;align-items:center;gap:clamp(5px,.9vw,13px);margin:0 0 clamp(7px,2vw,28px);
  font-size:clamp(10.5px,2.1vw,30px);font-weight:600;letter-spacing:.22em;line-height:1.2}
.hero-mark{display:block;flex:none;width:clamp(20px,3.6vw,52px);height:clamp(15px,2.67vw,39px);max-width:100%}
.hero-text h1{margin:0;font-family:inherit;font-weight:600;font-size:clamp(12.5px,3vw,42px);
  line-height:1.7;letter-spacing:.06em;color:inherit;word-break:normal}
.hero-text h1 span{display:inline-block;white-space:nowrap}  /* 「、」の後でだけ改行する */
/* トップ */
.intro{max-width:720px;margin:0 auto;padding:14px 20px 8px}
.intro h1{font-size:1.45rem;margin:0 0 12px}
.intro p{color:var(--ink)}
.intro .small{font-size:.86rem;color:var(--sub)}
/* 2026-11-26 Emily：トップのサイズ確かめツールへの案内（pages.py の <p class="tool-link">。11/24 に足したとき CSS が無く、画面の左端に寄っていた）。.intro・.list-head と同じ幅と左右の余白 */
.tool-link{max-width:720px;margin:8px auto 0;padding:0 20px;font-size:.92rem}
.list-head{max-width:720px;margin:24px auto 0;padding:0 20px}
.list-head h2{font-size:1.1rem;margin:0;padding-bottom:10px;border-bottom:1px solid var(--line)}
.posts{max-width:720px;margin:0 auto;padding:0 20px;list-style:none}
.posts li{margin:0;border-bottom:1px solid var(--line)}
.post{display:grid;grid-template-columns:104px 1fr;gap:14px;align-items:start;padding:18px 0;color:var(--ink);text-decoration:none}
.post img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px}
.post h3{font-size:1.02rem;line-height:1.6;margin:0 0 4px}
.post:hover h3{text-decoration:underline;text-underline-offset:4px}
.post p{margin:0;font-size:.86rem;line-height:1.75;color:var(--sub)}
.post .post-cat{margin:0 0 2px;font-size:.78rem;line-height:1.5;letter-spacing:.04em}
@media(min-width:620px){.post{grid-template-columns:180px 1fr;gap:22px}.post h3{font-size:1.12rem}}
.posts-note{max-width:720px;margin:14px auto 0;padding:0 20px;font-size:.8rem;color:var(--sub)}
.about-site{max-width:720px;margin:48px auto 0;padding:0 20px}
.about-site h2{font-size:1.1rem;margin:0 0 10px}
.about-site p{font-size:.92rem}

/* 記事 */
.article-head{max-width:720px;margin:0 auto;padding:36px 20px 8px}
.article-head h1{font-size:1.6rem;margin:4px 0 14px}
.cat{display:block;font-size:.82rem;color:var(--sub)}
.photo{margin:20px auto 8px;max-width:720px;padding:0 20px}
.photo img{display:block;width:100%;height:auto;border-radius:4px}
.photo figcaption{font-size:.8rem;color:var(--sub);line-height:1.6;margin:6px 0 0}
.img-note{font-size:.8rem;line-height:1.7;color:var(--sub);margin:0 0 1.6em}
.prose h2{font-size:1.3rem;margin:56px 0 16px;padding-top:24px;border-top:1px solid var(--line)}
.prose h3{font-size:1.1rem;margin:36px 0 10px}
.prose h2+h3{margin-top:20px}
.lead{font-size:1rem}

/* この記事で分かること・目次：飾りのない一覧 */
.summary{margin:18px 0 0}
.summary-title,.toc>p{margin:0 0 4px;font-size:.88rem;font-weight:700}
.summary ul{margin:0;font-size:.95rem;line-height:1.8}
.toc{margin:28px 0;font-size:.95rem;line-height:1.8}
.toc ol{margin:0}
.toc a{color:var(--ink)}
.note{font-size:.88rem;line-height:1.85;color:var(--sub)}

/* 表 */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:12px 0 1.5em}
table{border-collapse:collapse;width:100%;font-size:.9rem;line-height:1.7}
th,td{border-bottom:1px solid var(--line);padding:10px 10px;text-align:left;vertical-align:top}
th{font-weight:700;background:var(--soft);font-size:.86rem}
td:first-child{font-weight:600;min-width:6em}
tr.key td{font-weight:700}
.table-scroll:has(tr>:nth-child(3)) table{min-width:560px}
@media(max-width:600px){
  .table-scroll:has(tr>:nth-child(3))::before{content:"表は横に動かせます";display:block;padding:0 0 6px;font-size:.78rem;color:var(--sub)}
  th,td{padding:9px 8px}
}
.check{padding-left:1.4em}

/* 商品カード（名前 → 説明と数字 → 価格 → リンク） */
.product{border:1px solid var(--line);border-radius:6px;padding:20px;margin:24px 0}
.prose .product h3{margin:0 0 8px;font-size:1.08rem}
.product-body p{font-size:.95rem}
.product-body>:last-child{margin-bottom:0}
.product-foot{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.product-foot.has-pict{display:grid;gap:14px;grid-template-columns:1fr}
@media(min-width:620px){.product-foot.has-pict{grid-template-columns:minmax(0,200px) 1fr;align-items:start;gap:20px}}
.product p.price,.buybox p.price{margin:0 0 12px;font-size:1rem;line-height:1.7;font-weight:700}
.product p.price .sub{display:block;font-weight:400;font-size:.82rem;color:var(--sub);margin-top:2px}
.total{margin:28px 0;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.total p{margin:0 0 6px}
.total p.sum{font-size:1.02rem;font-weight:700}
.sum-note{font-size:.85rem;color:var(--sub);margin:0}
.rk-pict{margin:0;max-width:100%}
.rk-pict a{display:inline-block;max-width:100%}
.rk-pict img{display:block;max-width:100%;height:auto;border-radius:4px}
.rk-pict figcaption{font-size:.75rem;color:var(--sub);margin-top:4px;line-height:1.6}
.buys{display:flex;flex-wrap:wrap;gap:10px}
.buys p.buy,.buys ul.buy{margin:0}
.buys p.buy{flex:1 1 180px;font-size:.88rem;color:var(--sub);display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
.buys p.buy>a{flex:1 1 160px}
.buys ul.buy{list-style:none;padding:0;display:flex;flex-direction:column;gap:10px;width:100%}
.buys ul.buy li{margin:0;font-size:.88rem;color:var(--sub);display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
.buys ul.buy li a{flex:1 1 180px}
.buys p.buy:not(:has(a)){flex:1 1 100%}
/* リンクのボタン：塗らずに線だけ。指で押せる高さ 48px */
.buy a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 16px;border:1px solid var(--accent);border-radius:6px;background:#fff;color:var(--accent);
  text-decoration:none;font-size:.95rem;font-weight:700;line-height:1.4;text-align:center}
.buy a:hover,.buy a:focus-visible{background:var(--soft)}
.buy a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* ふつうのページ（運営者情報など） */
.page-head{max-width:720px;margin:0 auto;padding:36px 20px 4px}
.page-head h1{font-size:1.5rem;margin:0 0 8px}
.plain h2{margin-top:44px}
.mail-box{font-size:.95rem}
.link-list{padding-left:1.4em}
.link-list li{margin:0 0 10px}

/* フッター（アフィリエイトの表示は全ページ） */
.site-footer{border-top:1px solid var(--line);font-size:.8rem;color:var(--sub);padding:28px 0 36px;line-height:1.8}
.site-footer .in{max-width:720px;margin:0 auto;padding:0 20px}
.site-footer p{margin:0 0 .6em}
.site-footer a{color:var(--sub)}
@media(max-width:480px){
  body{font-size:16px}
  .article-head h1{font-size:1.4rem}
  .intro h1{font-size:1.3rem}
  .photo{padding:0}
  .photo img{border-radius:0}
  .photo figcaption{padding:0 20px}
  .product{padding:16px}
}
