/* おたすきゃっと E案 — 全画面共通のスタイル
   決まり（SPEC.md 3章）：
   - 地は白に近い冷たい灰、文字は墨。強調は「蛍光ペン」（.mk）の1種類だけ。
   - 主ボタンは墨の塗り・白文字、副ボタンは墨の細い枠。角は 8px。影は使わない。
   - 区切りは余白と細い線。カードは「料金表」（.card）と取引の「次にやること」（.next）だけ。
   - 本文 16px、補足は 13px まで。 */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --sunken: #eef0f3;
  --ink: #16181d;
  --ink-2: #474c55;
  --ink-3: #636973;
  --line: #e1e4e9;
  --line-2: #c9ced6;
  /* 入力欄・選択肢など、押せる部品の輪郭（白地で 3:1 以上） */
  --line-ui: #8a9099;
  --marker: #ffe55c;
  --ok: #17754a;
  --ng: #c0362c;
  --hold: #636973;

  --radius: 8px;
  --gutter: 20px;
  --head-h: 56px;
  --bar-pad: 12px;

  --fs-xs: 13px;
  --fs-s: 14px;
  --fs-m: 16px;
  --fs-l: 18px;
  --fs-xl: 22px;
  --fs-2xl: 24px;

  --font: 'LINE Seed JP', sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-m);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

/* 日本語の見出しは、文節の切れ目で折り返す（対応していないブラウザでは通常の折り返し） */
h1,
h2,
h3,
.card__title,
.mini__title,
.ask__title,
.order-head__title,
.protect strong {
  word-break: auto-phrase;
}

p,
dd,
li {
  text-wrap: pretty;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip:focus {
  top: 8px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* スマホだけ・PC だけ出すもの */
.pc {
  display: none;
}

/* 途中で折り返さない語のかたまり */
.nw {
  white-space: nowrap;
}

/* 句の途中で折り返さない見出し（<wbr> の位置でだけ折り返す） */
.phr {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ── 強調：蛍光ペン ─────────────────────────────────────── */
/* 文字の下半分に、平らな黄色の帯を引く（線形グラデーションは帯を描くためだけに使い、色は変化させない） */
.mk {
  background-image: linear-gradient(var(--marker), var(--marker));
  background-repeat: no-repeat;
  background-size: 100% 0.5em;
  background-position: 0 90%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.12em;
  margin: 0 -0.12em;
}

/* ── 数字・値段 ─────────────────────────────────────────── */
.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price {
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0;
}

.yen {
  font-size: 0.72em;
  margin-right: 0.06em;
}

.from {
  font-size: 0.62em;
  font-weight: 700;
  margin-left: 0.12em;
}

/* ── 文字の階級 ─────────────────────────────────────────── */
.h1 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
}

.h2 {
  font-size: var(--fs-l);
  font-weight: 700;
  line-height: 1.5;
}

.overline {
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.meta {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--ink-3);
}

.lead {
  font-size: var(--fs-s);
  line-height: 1.7;
  color: var(--ink-2);
}

.link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.link:hover {
  text-decoration-thickness: 2px;
}

.icon {
  flex: none;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--s {
  width: 16px;
  height: 16px;
}

/* ── ボタン ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--fs-m);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}

.btn:hover {
  background: var(--sunken);
}

.btn--primary {
  background: var(--ink);
  color: #fff;
}

.btn--primary:hover {
  background: #30343c;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--lg {
  min-height: 56px;
}

.btn .num {
  font-weight: 700;
}

/* スマホでは2行に分けるボタン（動作の名前と、金額） */
.btn--2l {
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* ── 上部の帯 ───────────────────────────────────────────── */
.site-head {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-head__in {
  display: flex;
  align-items: center;
  height: var(--head-h);
  gap: 4px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.logo__mark {
  width: 22px;
  height: 22px;
  fill: var(--ink);
}

.mode {
  display: flex;
  align-items: center;
}

.mode a,
.login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: var(--fs-s);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.mode a {
  color: var(--ink-3);
}

.mode a[aria-current] {
  color: var(--ink);
}

.mode a + a {
  position: relative;
}

.mode a + a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  margin-top: -7px;
  background: var(--line-2);
}

.login {
  margin-left: 4px;
  padding: 0 0 0 10px;
}

/* ── フッター ───────────────────────────────────────────── */
.site-foot {
  margin-top: 64px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 20px;
}

.foot-links a {
  display: inline-block;
  padding: 4px 0;
  color: var(--ink-2);
  text-decoration: none;
}

.foot-links a:hover {
  text-decoration: underline;
}

.foot-note {
  margin-bottom: 4px;
}

/* ── 下に固定するバー ───────────────────────────────────── */
.bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: var(--bar-pad) 0 calc(var(--bar-pad) + env(safe-area-inset-bottom));
}

.bar__note {
  margin-bottom: 8px;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--ink-2);
}

body.has-bar {
  padding-bottom: var(--bar-space, 96px);
}

/* ── 頼みたいことの一覧（トップ） ─────────────────────────── */
.top-head {
  padding: 28px 0 8px;
}

.top-head .lead {
  margin-top: 6px;
}

.asks-group {
  margin-top: 24px;
}

.asks-group .overline {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
}

.ask {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  grid-template-areas: 'title chev' 'sub chev';
  align-items: center;
  column-gap: 12px;
  min-height: 72px;
  padding: 13px 0 12px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.ask:hover .ask__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.ask:hover .icon {
  color: var(--ink);
}

.ask__title {
  grid-area: title;
  font-size: var(--fs-m);
  font-weight: 700;
  line-height: 1.5;
}

.ask__sub {
  grid-area: sub;
  display: flex;
  align-items: last baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 3px;
}

.ask__eg {
  min-width: 0;
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--ink-3);
}

.ask__meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: none;
}

.ask__price {
  font-size: var(--fs-m);
  font-weight: 800;
  line-height: 1.3;
}

.ask__count {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: 1.5;
}

.ask__post {
  flex: none;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
}

.ask .icon {
  grid-area: chev;
  color: var(--ink-3);
}

.search {
  margin-top: 28px;
}

.search label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-s);
  font-weight: 700;
}

.search__box {
  position: relative;
}

.search__box .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  margin-top: -10px;
  color: var(--ink-3);
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 44px;
  border: 1px solid var(--line-ui);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: var(--fs-m);
}

.search input::placeholder,
.input::placeholder,
.textarea::placeholder {
  color: #6f757f;
}

.search input:focus,
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

/* ── セクションの見出し行 ───────────────────────────────── */
.sec {
  margin-top: 48px;
}

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.sec-head .link {
  font-size: var(--fs-s);
  white-space: nowrap;
}

/* ── 料金表カード（全画面共通の部品） ─────────────────────── */
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 150ms var(--ease);
}

.card:hover {
  border-color: var(--line-2);
}

.card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: var(--sunken);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 0;
}

.card__cat {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--ink-3);
}

.card__title {
  margin-top: 4px;
  font-size: var(--fs-m);
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 横に並ぶとき（棚・格子）は、題を2行ぶん取って値段の位置をそろえる */
.rail .card__title {
  min-height: 3em;
}

/* 画像の無い出品は、題を大きく */
.card--noimg .card__title {
  margin-top: 8px;
  font-size: var(--fs-xl);
  line-height: 1.45;
}

.card__price {
  margin-top: 10px;
  font-size: 26px;
  line-height: 1.3;
}

.card__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
  font-size: var(--fs-s);
  line-height: 1.6;
  color: var(--ink);
}

.card__facts li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.card__facts li + li::before {
  content: '';
  width: 1px;
  height: 12px;
  margin: 0 10px;
  background: var(--line-2);
}

.card__ai {
  margin-top: 2px;
  font-size: var(--fs-s);
  line-height: 1.6;
  color: var(--ink-2);
}

.card__by {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 12px 0 14px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-s);
  font-weight: 700;
}

.card__body > .card__ai {
  margin-bottom: 14px;
}

.card__by .st {
  margin-left: auto;
}

/* アイコン（出品者） */
.av {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--sunken);
  object-fit: cover;
}

.av--m {
  width: 40px;
  height: 40px;
}

.av--text {
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1;
}

.av--m.av--text {
  font-size: 16px;
}

/* 状態（文字と細い線だけ。面で塗らない） */
.st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.st--ok {
  color: var(--ok);
}

.st--ng {
  color: var(--ng);
}

.st--hold {
  color: var(--hold);
}

.st svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 横に送れる棚（スマホ） */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80%, 300px);
  gap: 12px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail > * {
  scroll-snap-align: start;
}

/* ── 約束とお金の流れ（トップ） ─────────────────────────── */
.promise {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.promise__title {
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 1.45;
}

.promise__body {
  margin-top: 8px;
  color: var(--ink-2);
}

/* 開閉（details） */
.disc > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
}

.disc > summary::-webkit-details-marker {
  display: none;
}

.disc > summary .chev {
  flex: none;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 150ms var(--ease);
}

.disc[open] > summary .chev {
  transform: rotate(180deg);
}

.disc__body {
  animation: open 150ms var(--ease);
}

@keyframes open {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.promise .disc {
  margin-top: 12px;
}

.promise .disc > summary {
  display: inline-flex;
  font-size: var(--fs-m);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

/* 4段の流れ（線の上の点で段を示す） */
.flow {
  margin-top: 16px;
  padding: 4px 0 0;
}

.flow li {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  padding: 0 0 20px 24px;
}

.flow li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: -10px;
  width: 1px;
  background: var(--line-2);
}

.flow li:last-child::before {
  display: none;
}

.flow li::after {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--bg);
}

.flow li:last-child::after {
  background: var(--ink);
}

.flow__step {
  font-weight: 700;
  line-height: 1.6;
}

.flow__money {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.flow__state {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-3);
}

.flow__note {
  grid-column: 1 / -1;
  font-size: var(--fs-s);
  line-height: 1.65;
  color: var(--ink-2);
}

/* 内訳（報酬・手数料・合計） */
.breakdown {
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.breakdown div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-m);
}

.breakdown dt {
  color: var(--ink-2);
}

.breakdown dd {
  font-weight: 700;
  white-space: nowrap;
}

.breakdown .total {
  border-bottom-color: var(--ink);
}

.breakdown .total dt {
  color: var(--ink);
  font-weight: 700;
}

.breakdown .total dd {
  font-size: var(--fs-l);
  font-weight: 800;
}

/* 受ける人への帯 */
.band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.band__text {
  font-size: var(--fs-s);
  line-height: 1.7;
  color: var(--ink-2);
}

.band__text strong {
  display: block;
  color: var(--ink);
  font-size: var(--fs-m);
}

.band .icon {
  color: var(--ink-3);
}

.band:hover strong {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* ── 分野の一覧 ─────────────────────────────────────────── */
.back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin-left: -4px;
  padding-right: 8px;
  font-size: var(--fs-s);
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
}

.back:hover {
  color: var(--ink);
}

.page-head {
  padding: 4px 0 0;
}

.page-head .meta {
  margin-top: 2px;
}

.list-title {
  font-size: var(--fs-xl);
  line-height: 1.45;
}

/* 2つから選ぶ切り替え */
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
  border: 1px solid var(--line-ui);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.seg button {
  min-height: 46px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  font-size: var(--fs-s);
  font-weight: 700;
  color: var(--ink-3);
}

.seg button + button {
  border-left: 1px solid var(--line-ui);
}

.seg button[aria-pressed='true'] {
  color: var(--ink);
}

.seg button[aria-pressed='false'] .mk {
  background-image: none;
}

/* 絞り込み（横に送れるチップ） */
.chips {
  display: flex;
  gap: 8px;
  margin: 12px calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-ui);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: var(--fs-s);
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
}

.chip[aria-pressed='true'] {
  border-color: var(--ink);
  color: var(--ink);
}

.chip[aria-pressed='false'] .mk {
  background-image: none;
}

.result-line {
  margin-top: 16px;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

/* 出品が無いときの案内 */
.empty {
  margin-top: 24px;
  padding: 24px 0 8px;
  border-top: 1px solid var(--ink);
}

.empty__title {
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 1.45;
}

.empty__body {
  margin-top: 8px;
  color: var(--ink-2);
}

.empty .btn {
  margin-top: 20px;
}

.empty .meta {
  margin-top: 10px;
}

/* ── 出品ページ ─────────────────────────────────────────── */
.gallery {
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
}

.gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: var(--sunken);
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__track figure {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.gallery__track img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 0;
}

.dots button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}

.dots button::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-ui);
  transition: background-color 150ms var(--ease);
}

.dots button[aria-current='true']::before {
  background: var(--ink);
}

.svc-head {
  margin-top: 12px;
}

.svc-head .h1 {
  margin-top: 4px;
  font-size: var(--fs-xl);
  line-height: 1.45;
}

.seller {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2px 12px;
  align-items: center;
  margin-top: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seller .av {
  grid-row: span 2;
}

.seller__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.seller__line {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--ink-2);
}

/* 料金表・使ってよい範囲・条件シート（表） */
.tbl {
  width: 100%;
  border-collapse: collapse;
}

.tbl th,
.tbl td {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
  font-weight: 400;
  line-height: 1.6;
}

.tbl thead th {
  padding: 0 0 8px;
  border-bottom: 1px solid var(--ink);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-3);
}

.tbl tbody th {
  padding-right: 16px;
  color: var(--ink-2);
  font-size: var(--fs-s);
}

.tbl tbody th {
  word-break: auto-phrase;
}

.tbl td {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}

.tbl .sub th {
  padding-left: 14px;
  font-size: var(--fs-s);
}

.tbl .sub td {
  font-size: var(--fs-s);
}

.tbl .group th {
  padding-bottom: 4px;
  border-bottom: 0;
}

.tbl .group + .sub th,
.tbl .group + .sub td {
  padding-top: 4px;
}

.tbl .base td .price {
  font-size: 28px;
}

.tbl .base th {
  vertical-align: middle;
}

.tbl .base td {
  padding: 10px 0 12px;
}

.tbl caption {
  caption-side: top;
  text-align: left;
}

.tbl-note {
  margin-top: 12px;
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--ink-2);
}

.tbl td .st {
  font-size: var(--fs-s);
  justify-content: flex-end;
}

.svc-sec {
  margin-top: 40px;
}

.svc-sec > .h2 {
  margin-bottom: 12px;
}

/* 出品者の言葉の引用 */
.quote {
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--ink);
}

.quote__by {
  margin-bottom: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-3);
}

.quote ul li {
  position: relative;
  padding-left: 16px;
  line-height: 1.7;
}

.quote ul li + li {
  margin-top: 4px;
}

.quote ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.8em;
  width: 6px;
  height: 1px;
  background: var(--ink-2);
}

.prose p + p {
  margin-top: 1em;
}

.facts-dl {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.facts-dl div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.facts-dl dt {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-3);
  line-height: 1.6;
}

.facts-dl dd {
  font-size: var(--fs-s);
  line-height: 1.75;
}

.works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
}

.works img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.works figcaption {
  margin-top: 6px;
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--ink-2);
}

.reviews {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reviews .h2 {
  font-size: var(--fs-m);
}

.reviews p {
  font-size: var(--fs-s);
  color: var(--ink-3);
}

/* 出品ページの下に固定する「相談する」 */
.buybar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.buybar__price {
  flex: 1;
  min-width: 0;
}

.buybar__price .price {
  font-size: 24px;
  line-height: 1.25;
}

.buybar__price .meta {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
}

.buybar .btn {
  flex: none;
  min-height: 52px;
  padding: 0 18px;
}

.consult-note {
  margin-top: 10px;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--ink-2);
}

/* 出品ページの右の柱（PC） */
.svc-aside {
  display: none;
}

/* ── 相談のフォーム ─────────────────────────────────────── */
.mini {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}

.mini img {
  width: 96px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.mini__title {
  font-size: var(--fs-s);
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
  margin-top: 4px;
  font-size: var(--fs-xs);
  color: var(--ink-2);
}

.mini__facts .price {
  font-size: var(--fs-m);
  color: var(--ink);
}

.form-intro {
  margin-top: 24px;
}

.form-grid {
  margin-top: 16px;
}

.post-intro {
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--ink);
  line-height: 1.75;
}

.form {
  margin-top: 8px;
}

.field {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.field:last-child {
  border-bottom: 0;
}

fieldset.field {
  min-width: 0;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

fieldset.field > legend {
  float: left;
  width: 100%;
  padding: 0;
}

fieldset.field > legend + * {
  clear: both;
}

.label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: var(--fs-m);
  font-weight: 700;
  line-height: 1.5;
}

.req,
.opt {
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.4;
}

.req {
  color: var(--ink);
}

.opt {
  color: var(--ink-3);
  font-weight: 400;
}

.hint {
  margin-top: 4px;
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: var(--ink-3);
}

.input,
.textarea,
.select {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--line-ui);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: var(--fs-m);
  line-height: 1.6;
}

.input,
.select {
  height: 48px;
  padding: 0 14px;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2316181d' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.textarea {
  min-height: 132px;
  padding: 12px 14px;
  resize: vertical;
}

.input + .input {
  margin-top: 8px;
}

.inline-unit {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inline-unit .input {
  flex: 1;
  min-width: 0;
}

.inline-unit span {
  margin-top: 10px;
  font-size: var(--fs-s);
  color: var(--ink-2);
  white-space: nowrap;
}

.range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.range > span {
  margin-top: 10px;
  color: var(--ink-3);
}

.yen-input {
  position: relative;
}

.yen-input::before {
  content: '¥';
  position: absolute;
  left: 14px;
  top: 34px;
  transform: translateY(-50%);
  font-size: var(--fs-s);
  font-weight: 700;
  color: var(--ink-2);
  pointer-events: none;
}

.yen-input .input {
  padding-left: 32px;
}

/* 選択肢（ラジオ） */
.choices {
  margin-top: 10px;
  border: 1px solid var(--line-ui);
  border-radius: var(--radius);
  background: var(--surface);
}

.choice + .choice {
  border-top: 1px solid var(--line);
}

.choice > label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
}

.choice input[type='radio'] {
  appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid var(--line-ui);
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
}

.choice input[type='radio']::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  transform: scale(0);
  transition: transform 150ms var(--ease);
}

.choice input[type='radio']:checked {
  border-color: var(--ink);
}

.choice input[type='radio']:checked::before {
  transform: scale(1);
}

.choice input[type='radio']:not(:checked) + .mk {
  background-image: none;
  font-weight: 400;
}

.choice__more {
  padding: 0 14px 14px 46px;
}

.choice__more .input,
.choice__more.inline-unit span {
  margin-top: 0;
}

.choice__more input[type='date'] {
  max-width: 240px;
}

.choice__more.inline-unit .input {
  flex: none;
  width: 120px;
}

.choices-hint {
  margin-top: 8px;
}

.counter {
  margin-top: 6px;
  font-size: var(--fs-xs);
  color: var(--ink-3);
  text-align: right;
}

.sendbar__note {
  margin-bottom: 10px;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--ink-2);
}

/* ── 取引の画面 ─────────────────────────────────────────── */
.demo-switch {
  background: var(--sunken);
  border-bottom: 1px dashed var(--line-2);
  font-size: var(--fs-xs);
}

.demo-switch__in {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.demo-switch__in::-webkit-scrollbar {
  display: none;
}

.demo-switch__label {
  flex: none;
  padding: 0 4px 0 2px;
  color: var(--ink-3);
  font-weight: 700;
}

.demo-switch button {
  flex: none;
  min-height: 32px;
  padding: 0 10px;
  border: 1px dashed var(--line-2);
  border-radius: 4px;
  background: transparent;
  font-size: var(--fs-xs);
  color: var(--ink-2);
  white-space: nowrap;
}

.demo-switch button[aria-pressed='true'] {
  border-style: solid;
  border-color: var(--ink-2);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

.order-head {
  padding: 0 0 4px;
}

.order-head__title {
  font-size: var(--fs-m);
  font-weight: 700;
  line-height: 1.5;
}

.order-head__who {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: var(--fs-xs);
  color: var(--ink-2);
}

/* 進み具合（6段） */
.steps {
  margin-top: 20px;
  min-height: 28px;
}

.steps ol {
  display: flex;
  align-items: center;
}

.steps li {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  font-size: var(--fs-s);
  font-weight: 700;
  color: var(--ink-3);
  white-space: nowrap;
}

.steps li:last-child {
  flex: none;
}

/* 段と段をつなぐ線 */
.steps li::after {
  content: '';
  flex: 1;
  height: 1px;
  margin: 0 6px;
  background: var(--line-2);
}

.steps li:last-child::after {
  display: none;
}

.steps li[data-s='done']::after {
  background: var(--ink);
}

.steps .dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--line-ui);
  background: var(--bg);
}

.steps li[data-s='done'] .dot {
  border-color: var(--ink);
  background: var(--ink);
}

.steps li[data-s='now'] .dot {
  display: none;
}

/* スマホでは、いまの段の名前だけを出し、ほかは点で示す（名前は読み上げ用に残す） */
.steps .label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.steps li:not([data-s='now']) .mk {
  background-image: none;
}

.steps li[data-s='now'] {
  flex: 0 0 auto;
  color: var(--ink);
}

.steps li[data-s='now']::after {
  flex: none;
  width: 28px;
}

.steps li[data-s='now'] .label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  font-size: var(--fs-l);
  font-weight: 800;
}

.steps li[data-s='now']:last-child .label {
  margin-left: 0;
}

.steps__caption {
  margin-top: 4px;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

/* 次にやること（この画面でいちばん目立つ） */
.next {
  margin-top: 20px;
  padding: 20px 18px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.next__title {
  margin-top: 4px;
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 1.45;
}

.next__body {
  margin-top: 10px;
  line-height: 1.8;
}

.next__amount {
  margin-top: 6px;
  font-size: 32px;
  line-height: 1.3;
}

.deadlines {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.deadlines li {
  line-height: 1.75;
}

.deadlines li + li {
  margin-top: 8px;
}

.deadlines strong {
  font-weight: 800;
}

.next__actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.next__fine {
  margin-top: 10px;
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: var(--ink-2);
}

/* お金の状態（1行の帯。開くと内訳） */
.money {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.money > summary {
  display: grid;
  grid-template-columns: 20px 1fr 18px;
  align-items: start;
  gap: 12px;
  padding: 14px 0;
}

.money > summary .icon {
  margin-top: 3px;
}

.money__line {
  font-size: var(--fs-s);
  line-height: 1.7;
  color: var(--ink-2);
}

.money__line strong {
  display: block;
  font-size: var(--fs-m);
  color: var(--ink);
  font-weight: 700;
}

.money > summary .chev {
  margin-top: 3px;
}

.money .disc__body {
  padding: 0 0 16px 32px;
}

.money .breakdown {
  margin-top: 0;
}

.money__fine {
  margin-top: 10px;
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--ink-2);
}

.money__fine li + li {
  margin-top: 4px;
}

.blk {
  margin-top: 36px;
}

.blk > .h2 {
  margin-bottom: 10px;
}

.delivery__text {
  line-height: 1.8;
}

.delivery__meta {
  margin-top: 6px;
}

.files {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.files a {
  display: grid;
  grid-template-columns: 1fr 18px;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.files a:hover .files__name {
  text-decoration: underline;
}

.files__name {
  display: block;
  font-weight: 700;
  line-height: 1.5;
}

.files__host {
  display: block;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.files .icon {
  color: var(--ink-3);
}

/* 条件シート（閉じて1行） */
.sheet {
  margin-top: 36px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.sheet > summary {
  display: grid;
  grid-template-columns: 1fr 18px;
  gap: 12px;
  padding: 14px 0;
}

.sheet__title {
  font-size: var(--fs-m);
  font-weight: 700;
  line-height: 1.5;
}

.sheet__sum {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-s);
  line-height: 1.65;
  color: var(--ink-2);
}

.sheet .chev {
  margin-top: 3px;
}

.sheet .disc__body {
  padding-bottom: 8px;
}

.sheet .tbl tbody tr:last-child th,
.sheet .tbl tbody tr:last-child td {
  border-bottom: 0;
}

.td-note {
  font-weight: 400;
  font-size: var(--fs-s);
  color: var(--ink-2);
}

.tbl tr.stack td {
  white-space: normal;
  text-align: left;
  font-weight: 400;
  font-size: var(--fs-s);
  line-height: 1.75;
}

.stack__label {
  display: block;
  margin-bottom: 2px;
  color: var(--ink-2);
}

/* やり取り */
.thread {
  margin-top: 40px;
}

.thread > .h2 {
  margin-bottom: 4px;
}

.day {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 12px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-3);
}

.day::before,
.day::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.msg {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.msg__who {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
}

.msg__bubble {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: var(--radius);
  line-height: 1.7;
}

.msg--them .msg__bubble {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
}

.msg--me {
  align-items: flex-end;
}

.msg--me .msg__bubble {
  background: var(--sunken);
  border: 1px solid var(--sunken);
}

.msg__time {
  margin-top: 4px;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.msg__head {
  display: block;
  margin-bottom: 4px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-3);
}

.msg__req dt {
  margin-top: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-3);
}

.msg__req dt:first-child {
  margin-top: 0;
}

.msg__req dd {
  font-size: var(--fs-s);
  line-height: 1.7;
}

.sys {
  margin: 14px auto 0;
  max-width: 90%;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--ink-2);
  text-align: center;
}

.sys .num {
  color: var(--ink-3);
  margin-left: 6px;
}

.help {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.help a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--ink-2);
}

/* メッセージの入力欄（下に固定） */
.composer__warn {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--ng);
  font-weight: 700;
}

.composer__warn svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
}

.composer__row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.composer textarea {
  flex: 1;
  min-width: 0;
  height: 48px;
  max-height: 140px;
  padding: 11px 14px;
  border: 1px solid var(--line-ui);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: var(--fs-m);
  line-height: 1.6;
  resize: none;
}

.composer textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.composer .btn {
  min-height: 48px;
  padding: 0 16px;
}

/* ── 受ける人の入口 ─────────────────────────────────────── */
.figs {
  margin-top: 24px;
  border-top: 1px solid var(--ink);
}

.fig {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.fig__label {
  font-size: var(--fs-s);
  font-weight: 700;
  color: var(--ink-2);
}

.fig__value {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

.fig__value small {
  font-size: 0.5em;
  font-weight: 800;
}

.fig__note {
  margin-top: 4px;
  font-size: var(--fs-s);
  line-height: 1.7;
  color: var(--ink-2);
}

.sec-title {
  margin-bottom: 16px;
}

.sample {
  display: grid;
  gap: 24px;
}

.sample-lead {
  margin-bottom: 12px;
}

.sample .card {
  max-width: 360px;
}

.fields-list {
  border-top: 1px solid var(--line);
}

.fields-list div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-s);
  line-height: 1.7;
}

.fields-list dt {
  font-weight: 700;
  margin-bottom: 2px;
}

.fields-list dd {
  color: var(--ink-2);
}

.protect {
  border-top: 1px solid var(--ink);
}

.protect li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.protect strong {
  display: block;
  line-height: 1.6;
}

.protect span {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-s);
  line-height: 1.7;
  color: var(--ink-2);
}

/* ── 動きを減らす設定 ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ── 広い画面 ───────────────────────────────────────────── */
@media (min-width: 720px) {
  :root {
    --gutter: 32px;
    --fs-2xl: 32px;
    --fs-xl: 24px;
    --fs-l: 20px;
  }

  .top-head {
    padding-top: 48px;
  }

  .rail {
    grid-auto-columns: 300px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .works {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery {
    margin: 0;
  }

  .cards .card__title {
    min-height: 3em;
  }

  .facts-dl div {
    display: grid;
    grid-template-columns: 9em 1fr;
    gap: 16px;
  }

  .facts-dl dt {
    font-size: var(--fs-s);
    font-weight: 400;
    color: var(--ink-2);
    line-height: 1.75;
  }

  .ask {
    grid-template-columns: minmax(0, 1fr) auto 16px;
    grid-template-areas: 'title meta chev' 'eg meta chev';
    column-gap: 20px;
    padding: 14px 8px 14px 0;
  }

  .ask__sub {
    display: contents;
  }

  .ask__eg {
    grid-area: eg;
    margin-top: 2px;
  }

  .ask__meta,
  .ask__post {
    grid-area: meta;
    align-self: center;
  }

  .ask__price {
    font-size: var(--fs-l);
  }

  .gallery__track {
    border-radius: var(--radius);
  }
}

@media (min-width: 1024px) {
  .pc {
    display: inline;
  }

  .sp {
    display: none;
  }

  br.sp {
    display: none;
  }

  .btn--2l {
    flex-direction: row;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* トップ：左に頼みたいこと・探す・約束、右に新着の料金表と受ける人への帯 */
  .top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-rows: auto auto auto 1fr auto;
    grid-template-areas:
      'head new'
      'asks new'
      'search new'
      'promise new'
      'promise band';
    column-gap: 72px;
  }

  .top-head {
    grid-area: head;
  }

  .top-asks {
    grid-area: asks;
  }

  .top .search {
    grid-area: search;
  }

  .top-new {
    grid-area: new;
    margin-top: 0;
    padding-top: 56px;
  }

  .top .promise {
    grid-area: promise;
    align-self: start;
  }

  .top .band {
    grid-area: band;
    align-self: start;
  }

  .top-new .card__title {
    min-height: 0;
  }

  .top-new .rail {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 16px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  /* 出品ページ：右の柱に料金と「相談する」を固定 */
  .svc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 56px;
    align-items: start;
    margin-top: 16px;
  }

  .svc-main {
    display: flex;
    flex-direction: column;
  }

  .svc-main .svc-head {
    order: -1;
    margin: 0 0 20px;
  }

  .svc-aside {
    display: block;
    position: sticky;
    top: 24px;
    padding-top: 20px;
    border-top: 2px solid var(--ink);
  }

  .svc-aside .price {
    font-size: 36px;
  }

  .svc-aside .card__facts {
    margin-top: 10px;
  }

  .svc-aside .btn {
    margin-top: 20px;
  }

  body.svc-page.has-bar {
    padding-bottom: 0;
  }

  body.svc-page .bar {
    display: none;
  }

  /* 相談・投稿のフォーム：左に入力、右に出品の要約 */
  .form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 56px;
    align-items: start;
  }

  .form-grid__side {
    position: sticky;
    top: 24px;
    order: 2;
  }

  .form-page .bar {
    position: static;
    padding: 24px 0 0;
    border-top: 1px solid var(--ink);
    background: transparent;
  }

  .form-page .bar .wrap {
    padding: 0;
  }

  body.form-page.has-bar {
    padding-bottom: 0;
  }

  .form-page .bar .btn {
    width: auto;
    min-width: 320px;
  }

  /* 取引の画面：画面の高さに収め、左（次にやること〜条件シート）と右（やり取り）をそれぞれ送る */
  body.order-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
  }

  body.order-page > main {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
  }

  body.order-page .site-foot {
    display: none;
  }

  body.order-page.has-bar {
    padding-bottom: 0;
  }

  .order-grid {
    display: grid;
    flex: 1;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas: 'main side' 'help side';
    column-gap: 48px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
  }

  .order-main {
    grid-area: main;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 16px 24px 0;
    margin-right: -16px;
  }

  .order-main > .next:first-child,
  .order-main > [hidden] + .next,
  .order-main .next {
    margin-top: 0;
  }

  .order-side {
    grid-area: side;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-left: 48px;
    margin-left: -48px;
    border-left: 1px solid var(--line);
  }

  .order-side .thread {
    flex: 1;
    min-height: 0;
    margin-top: 0;
    padding: 20px 8px 16px 0;
    overflow-y: auto;
  }

  .order-grid .help {
    grid-area: help;
    margin-top: 0;
    padding: 12px 0 16px;
  }

  .order-page .bar {
    position: static;
    padding: 12px 0 20px;
    border-top: 1px solid var(--line);
    background: transparent;
  }

  .order-page .bar .wrap {
    padding: 0;
  }

  .steps li {
    font-size: var(--fs-s);
  }

  .steps .label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }

  .steps li .dot {
    display: none;
  }

  .steps li[data-s='done'] {
    color: var(--ink);
  }

  .steps li::after {
    margin: 0 12px;
  }

  .steps li[data-s='now'] {
    flex: 1 1 0;
  }

  .steps li[data-s='now']::after {
    flex: 1;
    width: auto;
  }

  .steps li[data-s='now'] .label {
    font-size: var(--fs-s);
  }

  .steps li:last-child,
  .steps li[data-s='now']:last-child {
    flex: none;
  }

  .steps__caption {
    display: none;
  }

  .next {
    padding: 24px;
  }

  .steps {
    margin-top: 24px;
    margin-bottom: 8px;
  }

  /* 受ける人の入口 */
  .figs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    border-top: 0;
  }

  .fig {
    border-top: 1px solid var(--ink);
    border-bottom: 0;
  }

  .fields-list div {
    display: grid;
    grid-template-columns: 9em 1fr;
    gap: 16px;
  }

  .fields-list dt {
    margin-bottom: 0;
  }

  .seg {
    max-width: 400px;
  }

  .list-page .bar {
    position: static;
    margin-top: 32px;
    padding: 0;
    border-top: 0;
    background: transparent;
  }

  .list-page .bar .btn {
    display: inline-flex;
    width: auto;
  }

  body.list-page.has-bar {
    padding-bottom: 0;
  }

  .sample {
    grid-template-columns: 360px 1fr;
    gap: 48px;
    align-items: start;
  }

  .sup-cta {
    margin-top: 40px;
  }

  .sup-cta .bar {
    position: static;
    border-top: 0;
    padding: 0;
    background: transparent;
  }

  .sup-cta .btn {
    display: inline-flex;
    width: auto;
    min-width: 320px;
  }

  .sup-cta .bar .wrap {
    padding: 0;
  }

  body.sup-page.has-bar {
    padding-bottom: 0;
  }
}
