/* Tidy Work Home — design v2 (photo-first, warm neutrals). 30_制作部 README デザイン基準 v2 */
:root {
  --bg: #FAF7F2;
  --linen: #F1EADF;
  --card: #FFFFFF;
  --ink: #24211D;
  --muted: #6B645B;
  --walnut: #7B5B3E;
  --walnut-dk: #5E4430;
  --sage: #7F8C74;
  --line: #E4DACB;
  --head: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.75 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--walnut); text-underline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 740px; margin: 0 auto; padding: 0 16px; }

/* Header */
header.site { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { color: var(--ink); text-decoration: none; font: 600 22px/1 var(--head); letter-spacing: 0.01em; }
.brand em { font-style: italic; color: var(--walnut); font-weight: 400; }
nav.top { display: flex; gap: 22px; align-items: center; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
nav.top a { color: var(--ink); text-decoration: none; }
nav.top a:hover { color: var(--walnut); }
@media (max-width: 720px) { nav.top { display: none; } }

/* Eyebrow + buttons */
.eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; background: var(--walnut); color: #fff; text-decoration: none; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; border-radius: 6px; }
.btn:hover { background: var(--walnut-dk); }
.btn.ghost { background: transparent; color: var(--ink); padding-left: 0; }

/* Home hero */
.hero2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0 64px; }
.hero2 h1 { margin: 0 0 18px; font: 600 clamp(38px, 5.6vw, 64px)/1.05 var(--head); letter-spacing: -0.01em; }
.hero2 h1 em { font-style: italic; font-weight: 400; color: var(--walnut); }
.hero2 p.lead { margin: 0 0 28px; font-size: 18px; color: var(--muted); max-width: 30em; }
.hero2 .actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero2 .pic { position: relative; }
.hero2 .pic img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(36,33,29,0.12); }
.hero2 .pic::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; background: var(--linen); border-radius: var(--radius); z-index: -1; }
@media (max-width: 820px) { .hero2 { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 40px; } .hero2 .pic img { aspect-ratio: 4/3; } }

/* Sections on home */
.band { background: var(--linen); padding: 56px 0; }
.sec-head { text-align: center; margin: 0 auto 32px; max-width: 34em; }
.sec-head h2 { margin: 0 0 8px; font: 600 clamp(28px, 3.6vw, 38px)/1.15 var(--head); }
.sec-head p { margin: 0; color: var(--muted); }

/* Room cards */
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.rooms a { display: block; position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); }
.rooms img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .4s; opacity: .92; }
.rooms a:hover img { transform: scale(1.03); }
.rooms span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(20,18,15,.72)); font: 600 20px/1.2 var(--head); }
.rooms small { display: block; font: 400 13px/1.4 var(--body); letter-spacing: .04em; opacity: .9; margin-top: 4px; }

@media (max-width: 640px) { .rooms { grid-template-columns: 1fr 1fr; gap: 12px; } .rooms img { aspect-ratio: 4/5; } .rooms span { font-size: 16px; padding: 28px 12px 12px; } .rooms small { display: none; } .cards { grid-template-columns: 1fr; } }

/* Guide cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.cards a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; }
.cards img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.cards .t { padding: 16px 18px 20px; }
.cards .tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--walnut); }
.cards h3 { margin: 6px 0 6px; font: 600 20px/1.3 var(--head); }
.cards p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* Picks teaser (affiliate products by room, after approval) */
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.pick-room { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pick-room h3 { margin: 0 0 4px; font: 600 19px/1.3 var(--head); }
.pick-room p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.pick-room a { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }

/* Article */
.crumbs { font-size: 13px; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); }
.art-head { padding: 12px 0 8px; }
.art-head h1 { margin: 8px 0 12px; font: 600 clamp(34px, 5vw, 52px)/1.1 var(--head); letter-spacing: -0.01em; }
.art-head .deck { margin: 0 0 16px; font-size: 20px; color: var(--muted); }
.byline { display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.pill { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; background: var(--linen); color: var(--walnut); padding: 4px 10px; border-radius: 999px; }
.art-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin: 24px 0 8px; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 28px 0; }
.toc p { margin: 0 0 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; columns: 2; column-gap: 28px; }
.toc li { counter-increment: t; margin: 4px 0; break-inside: avoid; font-size: 16px; }
.toc li::before { content: counter(t, decimal-leading-zero); color: var(--walnut); font: 600 14px var(--head); margin-right: 10px; }
.toc a { color: var(--ink); text-decoration: none; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
article h2 { margin: 2.2em 0 0.5em; font: 600 30px/1.2 var(--head); scroll-margin-top: 80px; }
article h2 .num { display: block; font: 500 13px/1 var(--body); letter-spacing: .22em; color: var(--walnut); margin-bottom: 10px; }
article figure { margin: 24px 0; }
article figure img { width: 100%; border-radius: var(--radius); }
article figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
article ul { padding-left: 1.2em; }
article li { margin: .35em 0; }
article li::marker { color: var(--walnut); }
.tips { background: var(--linen); border-radius: var(--radius); padding: 18px 22px; margin: 22px 0; }
.tips p.h { margin: 0 0 6px; font: 600 17px/1.3 var(--head); }
.tips ul { margin: 0; }
.note { border-left: 3px solid var(--sage); padding: 4px 0 4px 16px; color: var(--muted); font-size: 16px; }
.shop { border: 1px dashed var(--walnut); border-radius: var(--radius); padding: 18px 20px; margin: 26px 0; background: var(--card); }
.shop p.h { margin: 0 0 10px; font: 600 17px/1.3 var(--head); }
.shop .slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.shop .slot { aspect-ratio: 1; border-radius: 10px; background: var(--linen); display: flex; align-items: flex-end; padding: 10px; font-size: 12px; color: var(--muted); }
.disclosure { background: var(--linen); border-radius: 10px; padding: 12px 16px; font-size: 15px; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); border-radius: 10px; overflow: hidden; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--linen); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.table-scroll { overflow-x: auto; }
.sources { font-size: 15px; }
.credits { margin-top: 3em; font-size: 12px; color: var(--muted); }
.credits a { color: var(--muted); }

footer.site { background: var(--ink); color: #CFC6B8; font-size: 14px; padding: 40px 0; margin-top: 64px; }
footer.site a { color: #F3EDE3; }
footer.site p { margin: .4em 0; }
.draftbar { background: #FFF4D6; color: #5B4A1C; font-size: 13px; text-align: center; padding: 6px 12px; }
