/* 白と黒＋差し色1色（taste.md）。丸い角・普通の太さ。紫のグラデ・3列均等カードは使わない（design-industry-anti-ai 4章） */
:root {
  --ink: #141414;
  --sub: #4a4a4a;
  --line: #dcdcd6;
  --paper: #fafaf7;
  --card: #ffffff;
  --accent: #e8590c;
  --accent-ink: #ffffff;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
h1, h2, h3, .logo, .about-name { font-family: "Noto Serif JP", serif; }
main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; border-top: 1px solid var(--line); }
section:first-child { border-top: 0; }

.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; background: rgba(250,250,247,.94);
  border-bottom: 1px solid var(--line);
}
.logo { font-weight: 800; text-decoration: none; font-size: 15px; }
.bar-cta {
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
}

.hero { padding: 72px 0 56px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.nb { display: inline-block; white-space: nowrap; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.25; margin: 0 0 24px; font-weight: 800; letter-spacing: .01em; }
.lead { max-width: 40em; color: var(--sub); margin: 0 0 28px; }
.lead strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 999px;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.note-small { font-size: 13px; color: var(--sub); margin: 12px 0 0; }

.sec-title { font-size: clamp(24px, 4.4vw, 34px); margin: 0 0 12px; font-weight: 800; }
.sec-lead { color: var(--sub); margin: 0 0 24px; max-width: 40em; }

/* 入口：3つを同じ大きさで並べる */
.door-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.door {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.door:hover { border-color: var(--ink); }
.door-tag { font-size: 13px; font-weight: 700; color: var(--accent); }
.door-title { font-size: 19px; font-weight: 700; line-height: 1.5; }
.door-body { font-size: 14px; color: var(--sub); }

.sample-tag {
  display: inline-block; background: var(--ink); color: #fff; font-size: 12px;
  padding: 2px 10px; border-radius: 999px; font-weight: 700;
}
.work-grid { display: grid; gap: 14px; grid-template-columns: 1.4fr 1fr; }
.work {
  position: relative; display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  min-height: 150px;
}
.work-main { grid-row: span 2; min-height: 320px; }
.work-kind { font-size: 13px; color: var(--sub); }
.work-title { font-size: 20px; font-weight: 700; line-height: 1.5; }
.work-main .work-title { font-size: 26px; }
.work-body { color: var(--sub); font-size: 14px; }
.work-status {
  margin-top: auto; align-self: flex-start; font-size: 12px; font-weight: 700;
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--sub);
}
.work[data-ready="no"] { pointer-events: none; opacity: .72; }
.work[data-ready="yes"] .work-status { display: none; }
.work[data-ready="yes"]:hover { border-color: var(--ink); }

.steps4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.steps4 li { padding: 18px; border-left: 1px solid var(--ink); background: var(--card); counter-increment: s; }
.steps4 li:first-child { border-left: 0; }
.steps4 b { display: block; font-size: 18px; margin-bottom: 4px; }
.steps4 b::before { content: counter(s) " "; color: var(--accent); font-family: "Noto Serif JP", serif; }
.steps4 span { font-size: 14px; color: var(--sub); }
.method-note { color: var(--sub); margin: 16px 0 0; }

/* メニュー：お店向けと会社向けを同じ作りで並べる（見出し → セット2つ → 単品の一覧） */
.menu-group { margin-top: 36px; }
.group-title { font-size: 22px; line-height: 1.5; margin: 0 0 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.group-tag { font-family: "Noto Sans JP", sans-serif; font-size: 13px; font-weight: 700; color: var(--accent-ink); background: var(--accent); padding: 2px 12px; border-radius: 999px; }
.set-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.set { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 18px 20px; }
.set-tag { margin: 0; font-size: 12px; font-weight: 700; color: var(--accent); }
.set h4 { font-family: "Noto Serif JP", serif; font-size: 19px; line-height: 1.5; margin: 2px 0 4px; }
.set-for { margin: 0 0 10px; font-size: 14px; color: var(--sub); }
.set-items { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.set-items span { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; background: var(--paper); }
.item-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.item-list li { display: grid; grid-template-columns: 13em 1fr auto; gap: 4px 16px; align-items: baseline; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.item-list b { font-size: 15px; }
.item-desc { font-size: 14px; color: var(--sub); }
.item-price { font-size: 14px; font-weight: 700; white-space: nowrap; }

.flow-list { padding-left: 1.4em; margin: 0 0 16px; }
.flow-list li { margin-bottom: 10px; }
.flow-list b { display: block; }
.text-link { font-weight: 700; color: var(--accent); }

.about-body { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; }
.about-photo {
  width: 180px; aspect-ratio: 1; border-radius: var(--radius); background: #e6e6e0;
  display: grid; place-items: center; color: var(--sub); font-size: 13px;
}
.about-name { font-size: 24px; font-weight: 800; margin: 0 0 8px; }
.about p { margin: 0 0 12px; }
.certs { font-size: 14px; color: var(--sub); }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 8px 0 0; color: var(--sub); }

.cta-end { text-align: left; }
.cta-end h2 { font-size: clamp(22px, 4vw, 30px); margin: 0 0 20px; }

.foot { max-width: 1040px; margin: 0 auto; padding: 24px 16px 48px; font-size: 13px; color: var(--sub); border-top: 1px solid var(--line); }
.foot p { margin: 0 0 4px; }

/* 画像の枠：画像が無い間は点線とファイル名を出す（img が onerror で消える） */
.art-slot { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); }
.art-slot:not(:has(img))::after {
  content: attr(data-file); position: absolute; inset: 0; display: grid; place-items: center;
  border: 1.5px dashed var(--line); border-radius: inherit; color: var(--sub); font-size: 12px;
}
.art-slot img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.hero-art { aspect-ratio: 3 / 2; }

.door-art { width: 88px; height: 88px; flex: none; margin-bottom: 4px; }

.work-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.works-more { margin-top: 18px; }
.hero.list-hero { display: block; padding-bottom: 32px; }
.work-thumb { aspect-ratio: 16 / 10; background: #f1f1ec; margin-bottom: 6px; }
.work-thumb { display: block; overflow: hidden; border-radius: var(--radius); }
.work-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work .sample-tag { align-self: flex-start; }

.sort-demo { margin: 28px 0 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.sort-demo figcaption { font-weight: 700; margin-bottom: 12px; }
.sort-list { list-style: none; margin: 0; padding: 0; }
.sort-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.task { font-size: 15px; flex: 1; }
.time { flex: none; font-size: 13px; color: var(--sub); white-space: nowrap; }
.bin { flex: none; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; border: 1.5px solid var(--ink); }
.bin.b1 { text-decoration: line-through; }
.bin.b3 { background: var(--ink); color: #fff; }
.bin.b4 { background: var(--accent); border-color: var(--accent); color: #fff; }

.about-photo { background: #fff; border: 1px solid var(--line); }

/* 依頼の案内ページ */
.doc { max-width: 720px; }
.doc h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.35; margin: 0 0 16px; }
.doc h2 { font-size: 22px; margin: 40px 0 8px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.doc th { width: 30%; white-space: nowrap; }
.box { background: var(--card); border: 1px solid var(--ink); border-radius: var(--radius); padding: 20px; }

@media (max-width: 720px) {
  section { padding: 44px 0; }
  .hero { padding: 48px 0 40px; grid-template-columns: 1fr; }
  .sort-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .door-grid, .work-grid { grid-template-columns: 1fr; }
  .work-main { grid-row: auto; min-height: 0; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .steps4 li:nth-child(3) { border-left: 0; }
  .steps4 li:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .set-list { grid-template-columns: 1fr; }
  .item-list li { grid-template-columns: 1fr auto; }
  .item-desc { grid-column: 1 / -1; grid-row: 2; }
  .about-body { grid-template-columns: 1fr; }
  .about-photo { width: 120px; }
  .doc th { white-space: normal; width: 34%; }
}
