/* 現場ノート（genbanote.com）の入り口 ── 見本と同じ「現場の帳面・工程票」（2026-11-09）
   方眼の地・工程票の枠・朱のはんこ・付箋。絵は Canva の版画調、アイコンは Higgsfield の版画。暗い表示は青焼き図面 */
:root {
  color-scheme: light;
  --paper: #f3eee1; --grid: rgba(31, 48, 71, 0.07); --grid-major: rgba(31, 48, 71, 0.12);
  --sheet: #fffcf3; --sheet-2: #f7f1e2; --ink: #1f3047; --ink-2: #44506a; --pencil: #625d52; --rule: #d8cfb9; --rule-ink: rgba(31, 48, 71, 0.55);
  --shu: #c43d27; --kiiro: #f2c230; --fusen: #fff6c9; --icon-filter: none; --shadow: 4px 4px 0 rgba(31, 48, 71, 0.15);
  --f-body: "Zen Kaku Gothic New", "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --f-head: "Dela Gothic One", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --f-hand: "Klee One", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --f-num: "Barlow Condensed", "Zen Kaku Gothic New", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0f1b2f; --grid: rgba(190, 215, 255, 0.06); --grid-major: rgba(190, 215, 255, 0.11);
    --sheet: #15233b; --sheet-2: #1b2c48; --ink: #e8eef8; --ink-2: #c3cfe2; --pencil: #a9b6cc; --rule: #2b3e5f; --rule-ink: rgba(220, 232, 250, 0.45);
    --shu: #ff7a5c; --fusen: #26324a; --icon-filter: brightness(0) invert(0.92); --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0f1b2f; --grid: rgba(190, 215, 255, 0.06); --grid-major: rgba(190, 215, 255, 0.11);
  --sheet: #15233b; --sheet-2: #1b2c48; --ink: #e8eef8; --ink-2: #c3cfe2; --pencil: #a9b6cc; --rule: #2b3e5f; --rule-ink: rgba(220, 232, 250, 0.45);
  --shu: #ff7a5c; --fusen: #26324a; --icon-filter: brightness(0) invert(0.92); --shadow: none;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.75; background-color: var(--paper);
  background-image: linear-gradient(var(--grid-major) 1px, transparent 1px), linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--kiiro); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

.top { background: var(--sheet); border-bottom: 2px solid var(--ink); }
.top-in { max-width: 1100px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .logo { width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 8px; background: #fffcf3; display: grid; place-items: center; }
.brand .logo img { width: 36px; height: 36px; }
.brand strong { display: block; font-family: var(--f-head); font-weight: 400; font-size: 21px; letter-spacing: 0.04em; line-height: 1.2; }
.brand small { display: block; font-family: var(--f-num); font-weight: 600; font-size: 14px; color: var(--pencil); letter-spacing: 0.05em; line-height: 1.2; }
.demo-badge { margin-left: auto; font-family: var(--f-hand); font-weight: 600; font-size: 13px; color: #3a3320; background: #ffe98a; padding: 4px 12px 3px; transform: rotate(-2deg); box-shadow: 1px 2px 0 rgba(0, 0, 0, 0.12); white-space: nowrap; }

main { max-width: 1100px; margin: 0 auto; padding: 22px 16px 40px; }

/* 表紙：版画調の絵に、帳票の札を貼る */
.hero { position: relative; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: #f1e9d6; }
.hero-img { display: block; width: 100%; height: 460px; object-fit: cover; object-position: center 40%; }
.hero-label { position: absolute; left: 28px; top: 26px; max-width: 560px; background: #fffcf3; color: #1f3047; border: 3px solid #1f3047; border-radius: 6px; padding: 20px 26px 18px;
  box-shadow: 6px 6px 0 rgba(31, 48, 71, 0.28); transform: rotate(-1deg); }
.hero-label h1 { margin: 0; font-family: var(--f-head); font-weight: 400; font-size: 52px; line-height: 1.1; letter-spacing: 0.04em; }
.hero-label .lead { margin: 10px 0 0; font-family: var(--f-hand); font-weight: 600; font-size: 22px; line-height: 1.55; }
.hero-label .sub { margin: 10px 0 0; font-size: 14px; color: #44506a; }
@media (max-width: 760px) {
  .hero-img { height: 230px; object-position: 62% 40%; }
  .hero-label { position: static; max-width: none; transform: none; border-width: 0; border-top: 3px solid #1f3047; border-radius: 0; box-shadow: none; padding: 16px 18px; }
  .hero-label h1 { font-size: 38px; }
  .hero-label .lead { font-size: 19px; }
}

.sec-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 3px double var(--rule-ink); }
.sec-head h2 { margin: 0; font-family: var(--f-head); font-weight: 400; font-size: 26px; letter-spacing: 0.03em; }
.sec-head p { margin: 0; color: var(--pencil); font-family: var(--f-hand); font-weight: 600; }

/* 見本の札（工程票） */
.sheet { position: relative; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 6px; padding: 26px 24px 22px; box-shadow: var(--shadow); }
.sheet-no { position: absolute; left: -2px; top: -16px; display: flex; align-items: baseline; gap: 2px; background: var(--ink); color: var(--sheet); padding: 2px 12px 0; border-radius: 4px 4px 0 0; }
.sheet-no span { font-family: var(--f-num); font-size: 14px; font-weight: 600; }
.sheet-no b { font-family: var(--f-num); font-size: 22px; font-weight: 700; line-height: 1.3; }
.sheet h3 { margin: 6px 0 4px; font-family: var(--f-head); font-weight: 400; font-size: 30px; line-height: 1.25; }
.sheet h3 i { font-style: normal; color: var(--shu); }
.hand { font-family: var(--f-hand); font-weight: 600; font-size: 18px; color: var(--ink-2); margin: 4px 0 14px; }
.who { margin: 0; display: flex; gap: 6px; }
.tag { font-size: 12.5px; font-weight: 700; border: 1.5px solid var(--rule-ink); border-radius: 4px; padding: 0 8px; color: var(--ink-2); }
.s1-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .s1-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; } }
.points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.points li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start; font-size: 15.5px; padding-bottom: 10px; border-bottom: 1px dashed var(--rule); }
.points li:last-child { border-bottom: 0; }
.points img { width: 40px; height: 40px; filter: var(--icon-filter); }
.points b { margin-right: 4px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.primary { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; padding: 8px 26px; border: 2px solid var(--ink); border-radius: 8px;
  background: var(--ink); color: var(--sheet); font-weight: 700; font-size: 18px; text-decoration: none; box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25); line-height: 1.3; }
.primary small { font-weight: 500; font-size: 12.5px; opacity: 0.85; }
.primary:hover { filter: brightness(1.12); }
.movie { margin-top: 14px; }
.movie summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; min-height: 48px; padding: 6px 16px; border: 1.5px solid var(--rule-ink); border-radius: 8px; font-weight: 700; background: var(--sheet); list-style: none; }
.movie summary::-webkit-details-marker { display: none; }
.movie summary::before { content: "▶"; color: var(--shu); font-size: 13px; }
.movie[open] summary::before { content: "▼"; }
.movie video { display: block; width: 100%; height: auto; margin-top: 12px; border: 1.5px solid var(--ink); border-radius: 6px; background: #000; }
.s1-shots { position: relative; margin: 0; padding: 40px 0 10px; }
.shot-pc { display: block; width: 88%; margin-left: auto; border: 1.5px solid var(--ink); border-radius: 6px; box-shadow: var(--shadow); transform: rotate(1deg); }
.shot-sp { position: absolute; left: 0; bottom: -6px; width: 27%; border: 5px solid #16181d; border-radius: 18px; box-shadow: 6px 8px 0 rgba(31, 48, 71, 0.25); transform: rotate(-3deg); background: #16181d; }
@media (max-width: 899px) { .s1-shots { min-height: 0; padding-bottom: 20px; } .shot-sp { width: 34%; } }

.next { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
@media (min-width: 760px) { .next { grid-template-columns: 1fr 1fr; } }
.soon { padding-left: 104px; min-height: 170px; }
.soon .soon-ic { position: absolute; left: 22px; top: 30px; width: 64px; height: 64px; filter: var(--icon-filter); }
.soon h3 { font-size: 22px; padding-right: 76px; word-break: keep-all; overflow-wrap: anywhere; }
.soon p { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }
.hanko { position: absolute; right: 16px; top: 14px; font-weight: 700; font-size: 14px; color: var(--shu); border: 2.5px solid var(--shu); border-radius: 6px; padding: 2px 9px; transform: rotate(-8deg); letter-spacing: 0.08em; }

.fusen-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .fusen-list { grid-template-columns: repeat(3, 1fr); } }
.fusen-list li { position: relative; background: var(--fusen); border: 1px solid rgba(31, 48, 71, 0.18); padding: 16px 16px 14px 54px; font-family: var(--f-hand); font-weight: 600; font-size: 15.5px; line-height: 1.7; box-shadow: 2px 3px 0 rgba(31, 48, 71, 0.1); }
.fusen-list li:nth-child(2) { transform: rotate(0.6deg); } .fusen-list li:nth-child(odd) { transform: rotate(-0.4deg); }
.fusen-list li::before { content: ""; position: absolute; left: 50%; top: -7px; width: 60px; height: 14px; margin-left: -30px; background: rgba(255, 255, 255, 0.6); transform: rotate(-2deg); }
.fusen-list b { position: absolute; left: 14px; top: 15px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--shu); color: var(--shu); display: grid; place-items: center; font-family: var(--f-num); font-size: 16px; }

.foot { border-top: 2px solid var(--ink); background: var(--sheet); text-align: center; padding: 20px 16px 26px; }
.foot p { margin: 2px 0; }
.foot .small { font-size: 13px; color: var(--pencil); }
