/* 卸売ページ (2026-11-19 Shusuke「全部同じフォーマットで面白くない」→ FAXの注文書が画面になる流れを主役に) */
.wh-hart { position: relative; padding: 30px 0 10px 40px; }
.wh-ill { background: #fff; border-radius: 28px; padding: 18px 18px 6px; box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.wh-ill .illust { width: 100%; height: auto; display: block; }
.wh-hfax { position: absolute; left: 0; top: 0; width: 150px; background: #fff; border-radius: 6px; padding: 10px 10px 4px; box-shadow: 0 14px 30px rgba(0,0,0,.28); transform: rotate(-7deg); color: var(--ink); border-top: 6px solid var(--sky-2); }
.wh-hfax small { display: block; font: 800 10px/1 var(--font-latin); color: var(--ink-soft); letter-spacing: .1em; }
.wh-hfax b { display: block; font-size: 13px; letter-spacing: .3em; margin: 4px 0 2px; }
.wh-hfax .wh-scrib { width: 100%; height: auto; display: block; }
.wh-hme { position: absolute; right: -10px; bottom: -6px; width: 100px; height: 100px; border-radius: 50%; background: var(--sky); overflow: hidden; border: 4px solid #fff; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.wh-hme .person { width: 100%; height: auto; margin-top: 8px; }

/* いつもの朝 */
.wh-morning { margin-top: 50px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
.wh-msc .scene { box-shadow: 0 10px 30px rgba(20,40,80,.06); }
.wh-mnote { margin-top: 16px; text-align: center; font-size: 14px; color: var(--ink-soft); }
.wh-tl { margin-top: 0; }

/* FAX → 画面 */
.wh-tf { margin-top: 50px; display: grid; grid-template-columns: minmax(0, .9fr) 92px minmax(0, 1.1fr); align-items: center; }
.wh-paper, .wh-screen { display: grid; gap: 16px; justify-items: center; min-width: 0; }
.wh-fax { width: 100%; max-width: 340px; background: #fff; border-radius: 6px; padding: 18px 18px 10px; transform: rotate(-3deg); box-shadow: 0 18px 40px rgba(20,40,80,.16), 0 0 0 1px var(--sky-2); color: var(--ink); background-image: repeating-linear-gradient(0deg, transparent 0 5px, rgba(31,42,58,.025) 5px 6px); }
.wh-faxh { display: grid; gap: 2px; text-align: center; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 6px; }
.wh-faxh small { font-size: 11px; color: var(--ink-soft); }
.wh-faxh small:first-child { text-align: left; font-family: var(--font-latin); letter-spacing: .06em; }
.wh-faxh b { font-size: 20px; letter-spacing: .4em; }
.wh-fax .wh-scrib { width: 100%; height: auto; display: block; }
.wh-lbl { font-size: 13px; font-weight: 800; border-radius: 999px; padding: 4px 14px; }
.wh-lbl.bad { color: #b4561b; background: #fdf0e3; }
.wh-lbl.good { color: #1d7a52; background: #e6f4ee; }
.wh-mid { display: grid; justify-items: center; gap: 6px; color: var(--steel); }
.wh-mid span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--yellow); color: var(--navy); }
.wh-mid svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wh-mid small { font-size: 12px; font-weight: 800; }
.wh-scr { width: 100%; box-shadow: 0 18px 40px rgba(20,40,80,.14), 0 0 0 1px var(--sky-2); font-size: 13px; }
.wh-meta { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 12px 4px; }
.wh-meta span { background: var(--sky); border-radius: 10px; padding: 6px 12px; line-height: 1.35; }
.wh-meta small { display: block; font-size: 10.5px; color: var(--ink-soft); }
.wh-meta b { font-size: 13.5px; color: var(--brand); }
.wh-scr td .tag { margin-left: 6px; }
.wh-scr tr.chk td { background: #fffbe0; }
.wh-sum { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 12px 14px; }
.wh-sum b { font: 800 20px/1 var(--font-latin); color: var(--brand); }
.wh-ok { display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: #fff; font-weight: 800; border-radius: 999px; padding: 7px 16px; font-size: 13px; }
.wh-ok svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wh-tfnote { margin: 34px auto 0; max-width: 760px; text-align: center; font-size: 14px; color: var(--ink-soft); }
.wh-tfnote b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 4px; }

/* 取引先ごとの値段 */
.wh-price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.wh-h { margin-top: 12px; font-weight: 900; font-size: clamp(23px, 3vw, 32px); color: var(--brand); line-height: 1.5; }
.wh-pcopy > p { margin-top: 16px; color: var(--ink-soft); }
.wh-pfig { display: grid; gap: 14px; }
.wh-ptable { background: var(--paper); border-radius: 24px; padding: 18px 18px 8px; box-shadow: 0 10px 30px rgba(20,40,80,.06); }
.wh-pt { display: flex; align-items: center; gap: 12px; }
.wh-pt small { display: block; font-size: 11.5px; color: var(--ink-soft); line-height: 1.3; }
.wh-pt b { font-size: 16px; color: var(--ink); }
.wh-ptable table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; }
.wh-ptable th { text-align: left; font-size: 12px; color: var(--ink-soft); padding: 6px 10px; border-bottom: 1px solid var(--sky-2); }
.wh-ptable td { padding: 9px 10px; border-bottom: 1px solid #eef3f8; }
.wh-ptable .n { text-align: right; font-variant-numeric: tabular-nums; }
.wh-ptable td b { font: 800 18px/1 var(--font-latin); color: var(--brand); }
.wh-ptable tr:last-child td { border-bottom: 0; }
.wh-ptable tr.on td { background: #fffbe0; }
.wh-ptable tr.on td:first-child { border-radius: 10px 0 0 10px; font-weight: 800; }
.wh-ptable tr.on td:last-child { border-radius: 0 10px 10px 0; }
.wh-pin { position: relative; background: var(--navy); color: #fff; border-radius: 22px; padding: 18px 20px; }
.wh-pin small { display: block; font-size: 12px; color: #c8d6e8; }
.wh-pin p b { font-size: 15px; }
.wh-calc { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font: 800 18px/1.3 var(--font-latin); color: #c8d6e8; }
.wh-calc span { color: #fff; }
.wh-calc b { font-size: 26px; color: var(--yellow); }
.wh-auto { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-weight: 800; color: var(--navy); background: var(--yellow); border-radius: 999px; padding: 4px 12px; }
.wh-auto svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wh-pnote { font-size: 12px; color: var(--ink-soft); text-align: right; }

/* 受注→出荷→請求 */
.wh-flow { list-style: none; margin: 54px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: start; }
.wh-node { display: grid; justify-items: center; text-align: center; gap: 10px; min-width: 0; }
.wh-circle { position: relative; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: var(--sky); color: var(--brand); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--sky-2); }
.wh-circle svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wh-circle em { position: absolute; right: -4px; top: -4px; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font: 800 16px/34px var(--font-latin); font-style: normal; }
.wh-node:last-child .wh-circle em { background: var(--yellow); color: var(--navy); }
.wh-node > b { font: 900 21px/1.4 var(--font-display); color: var(--ink); }
.wh-node ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; width: 100%; max-width: 260px; }
.wh-node ul li { background: var(--sky); border-radius: 12px; padding: 8px 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.wh-link { display: grid; place-items: center; height: 112px; color: var(--steel); position: relative; }
.wh-link::before { content: ""; position: absolute; left: -10px; right: -10px; top: 50%; border-top: 3px dashed var(--sky-2); }
.wh-link svg { position: relative; width: 30px; height: 30px; background: #fff; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wh-flownote { margin: 40px auto 0; max-width: 720px; text-align: center; color: var(--ink-soft); }
.wh-flownote b { color: var(--brand); }

/* Q&A */
.wh-qwrap { margin: 50px auto 0; max-width: 900px; display: grid; grid-template-columns: 120px 1fr; gap: 26px; align-items: start; }
.wh-qwho { display: grid; justify-items: center; gap: 4px; position: sticky; top: 100px; }
.wh-qwho .person { width: 110px; height: auto; background: var(--paper); border-radius: 50%; }
.wh-qwho small { font-size: 12px; font-weight: 800; color: var(--ink-soft); }
.wh-qs { display: grid; gap: 18px; }
.wh-q { background: var(--paper); border-radius: 24px; padding: 20px 22px; box-shadow: 0 10px 30px rgba(20,40,80,.06); }
.wh-qq, .wh-qa { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.wh-qq b { font: 900 17px/1.6 var(--font-display); color: var(--ink); padding-top: 4px; }
.wh-qa { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--sky-2); font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }
.wh-qq span, .wh-qa span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 800 17px/1 var(--font-latin); }
.wh-qq span { background: var(--yellow); color: var(--navy); }
.wh-qa span { background: var(--brand); color: #fff; }

/* はじめ方 */
.wh-startsec { padding-top: 0; }
.wh-start { background: var(--navy); border-radius: 32px; padding: 36px 36px 32px; color: #fff; }
.wh-start .wh-h { margin: 0; color: #fff; text-align: center; font-size: clamp(20px, 2.6vw, 26px); }
.wh-start ol { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: wh; }
.wh-start li { counter-increment: wh; position: relative; background: rgba(255,255,255,.08); border-radius: 18px; padding: 18px 18px 16px 62px; }
.wh-start li::before { content: counter(wh); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--navy); font: 800 17px/34px var(--font-latin); text-align: center; }
.wh-start li b { display: block; font-size: 15px; line-height: 1.55; }
.wh-start li small { display: block; margin-top: 4px; font-size: 12.5px; color: #c8d6e8; }

@media (max-width: 960px) {
  .wh-morning, .wh-price { grid-template-columns: 1fr; gap: 36px; }
  .wh-tf { grid-template-columns: 1fr; gap: 18px; }
  .wh-mid span { transform: rotate(90deg); }
  .wh-flow { grid-template-columns: 1fr; gap: 0; max-width: 420px; margin-left: auto; margin-right: auto; }
  .wh-link { height: 56px; }
  .wh-link::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 3px dashed var(--sky-2); }
  .wh-link svg { transform: rotate(90deg); }
  .wh-start ol { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { .wh-hart { max-width: 440px; } }
@media (max-width: 640px) {
  .wh-hart { padding-left: 24px; }
  .wh-hfax { width: 112px; }
  .wh-hme { width: 78px; height: 78px; right: -6px; }
  .wh-qwrap { grid-template-columns: 1fr; gap: 14px; }
  .wh-qwho { position: static; grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 10px; }
  .wh-qwho .person { width: 72px; }
  .wh-q { padding: 18px 16px; }
  .wh-qq, .wh-qa { grid-template-columns: 30px 1fr; gap: 10px; }
  .wh-qq span, .wh-qa span { width: 30px; height: 30px; font-size: 15px; }
  .wh-start { padding: 28px 18px 22px; border-radius: 26px; }
  .wh-fax { max-width: 300px; }
}
@media (max-width: 480px) {
  .wh-scr th:nth-child(3), .wh-scr td:nth-child(3) { display: table-cell; }
  .wh-scr { font-size: 12px; }
  .wh-scr th, .wh-scr td { padding: 6px 5px; }
  .wh-scr td .tag { display: table; margin: 3px 0 0; }
}
