/* サイクルショップ ペダル横丁（デモ）
   地は白。工具の赤は値段の数字・札の縁・ボタン・今いるページの印・図の強調だけ。
   区画の地は 白／有孔ボード（薄い灰に穴）／薄い灰 の3つを入れ替える。
   書体は Zen Kaku Gothic New（日本語）と Barlow Condensed（英字の札と数字）。 */

:root {
  --white: #FFFFFF;
  --red: #C1272D;
  --red-deep: #A8202A;   /* 赤の地に白い字を置くとき */
  --iron: #4A4F55;
  --ink: #1F2226;
  --mute: #5C6167;       /* 添え書き（白の地で 5.9:1） */
  --board: #EEF0F1;
  --hole: #D5D9DC;
  --line: #C9CED2;
  --jp: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --en: "Barlow Condensed", "Zen Kaku Gothic New", sans-serif;
  --w: 1180px;
  --pad: clamp(18px, 4vw, 36px);
  --hd: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 12px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--jp);
  font-weight: 400;
  font-size: clamp(15px, .88rem + .25vw, 17px);
  line-height: 1.9;
  letter-spacing: .02em;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
p, li, dd, td, th, figcaption, summary { text-wrap: pretty; word-break: auto-phrase; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.45; letter-spacing: .03em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 700; }
.en { font-family: var(--en); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.sprite { position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 60; text-decoration: none; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }
.small { font-size: .86em; color: var(--mute); line-height: 1.8; }
.note { font-size: .84em; color: var(--mute); line-height: 1.8; margin-top: 1em; }
.nowrap { white-space: nowrap; }

/* ---------------- 地 */
.bg-board {
  background-color: var(--board);
  background-image: radial-gradient(circle at 12px 12px, var(--hole) 2px, transparent 2.6px);
  background-size: 24px 24px;
}
.bg-gray { background: var(--board); }
.bg-white { background: var(--white); }
.bg-iron { background: var(--iron); color: #fff; }
.sec { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.sec--tight { padding: clamp(40px, 5vw, 64px) 0; }
/* タイヤの溝の帯（大きな区切りの所だけ） */
.tread {
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Cpath d='M0 3l6 6 6-6 6 6 6-6' fill='none' stroke='%234A4F55' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 50% / 24px 12px;
}

/* ---------------- 区画の札（REPAIR など） */
.label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--en); font-weight: 600; font-size: 15px; letter-spacing: .16em; color: var(--iron); margin-bottom: 14px; }
.label svg { width: 20px; height: 20px; flex: none; color: var(--iron); }
.bg-iron .label, .bg-iron .label svg { color: #fff; }
.h2 { font-size: clamp(25px, 1.3rem + 1.2vw, 36px); margin-bottom: .7em; }
.h3 { font-size: clamp(18px, 1rem + .4vw, 22px); margin-bottom: .5em; }
.lead { max-width: 40em; }

/* ---------------- ボタン */
.btns { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 12px 24px; border-radius: 2px;
  background: var(--red-deep); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 16px; letter-spacing: .05em; line-height: 1.4;
  border: 1.5px solid var(--red-deep);
  transition: background-color .2s, color .2s;
}
.btn:hover { background: #8E1A23; border-color: #8E1A23; }
.btn--sub { background: transparent; color: var(--ink); border-color: var(--iron); }
.btn--sub:hover { background: var(--iron); color: #fff; border-color: var(--iron); }
.tlink { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tlink:hover { color: var(--red); }

/* ---------------- ヘッダー */
.hd { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.hd__in { max-width: 1320px; margin: 0 auto; height: var(--hd); padding: 0 var(--pad); display: flex; align-items: center; gap: 14px; }
.brand { display: block; flex: none; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.demo { flex: none; align-self: center; margin-top: -18px; font: 600 10px/1 var(--en); letter-spacing: .14em; color: var(--mute); border: 1px solid var(--line); padding: 3px 5px 2px; border-radius: 2px; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(14px, 1.7vw, 28px); }
.gnav a { position: relative; display: inline-block; padding: 10px 0; text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.gnav a:hover { color: var(--red); }
.gnav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 1.6em; height: 3px; background: var(--red); }
.hd-tel { flex: none; margin-left: clamp(14px, 2vw, 30px); text-align: right; line-height: 1.1; }
.hd-tel a { display: block; font: 600 27px/1 var(--en); letter-spacing: .03em; text-decoration: none; color: var(--ink); font-variant-numeric: tabular-nums; }
.hd-tel span { display: block; font-size: 12px; color: var(--mute); margin-top: 4px; letter-spacing: .04em; }
.hd-call, .menu { display: none; }
@media (max-width: 1099px) {
  .hd-tel { margin-left: auto; }
  .gnav {
    display: none; position: fixed; left: 0; right: 0; top: var(--hd); bottom: 0; overflow: auto;
    background-color: var(--board);
    background-image: radial-gradient(circle at 12px 12px, var(--hole) 2px, transparent 2.6px);
    background-size: 24px 24px; padding: 20px var(--pad) 40px; margin: 0;
  }
  .is-menu .gnav { display: block; }
  .gnav ul { flex-direction: column; gap: 0; max-width: 520px; margin: 0 auto; background: #fff; border: 1.5px solid var(--iron); }
  .gnav li + li { border-top: 1px solid var(--line); }
  .gnav a { display: block; padding: 18px 20px; font-size: 17px; font-weight: 700; }
  .gnav a[aria-current="page"]::after { left: 20px; bottom: 10px; }
  .menu {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 52px; height: 52px; padding: 0; margin: 0; flex: none; cursor: pointer;
    background: none; border: 1.5px solid var(--iron); border-radius: 2px; color: var(--ink);
    font: 700 10px/1 var(--jp); letter-spacing: .04em;
  }
  .menu i { display: block; width: 20px; height: 2px; background: currentColor; box-shadow: 0 6px 0 currentColor; margin-bottom: 8px; }
}
@media (max-width: 760px) {
  :root { --hd: 64px; }
  .brand img { height: 36px; width: auto; }
  .demo { margin-top: -14px; font-size: 9px; padding: 2px 4px 1px; }
  .hd-tel { display: none; }
  .hd__in { gap: 10px; }
  .hd-call { display: inline-flex; align-items: center; margin-left: auto; height: 44px; padding: 0 12px; background: var(--red-deep); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; border-radius: 2px; white-space: nowrap; }
  .menu { width: 48px; height: 44px; letter-spacing: 0; white-space: nowrap; } /* 44px 四方では Safari で「メニュ｜ー」と折れた */
}
@media (max-width: 374px) { .demo { display: none; } }

/* ---------------- 料金の札 */
.tag {
  position: relative; background: #fff; border: 1.5px solid var(--red); border-radius: 2px;
  padding: 30px 14px 16px; text-align: center; margin-top: 40px;
  transform-origin: 50% -30px;
}
.tag::before { /* フックと吊りひも */
  content: ""; position: absolute; left: 50%; top: -40px; width: 64px; height: 50px; margin-left: -32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 50'%3E%3Ccircle cx='32' cy='6' r='3' fill='%23B9BFC4'/%3E%3Cpath d='M32 6v8c0 4 6 4 6 0' fill='none' stroke='%234A4F55' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M32 15L20 46M32 15l12 31' fill='none' stroke='%234A4F55' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat center / 64px 50px;
}
.tag::after { /* 札の穴 */
  content: ""; position: absolute; left: 50%; top: 8px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  border: 1.5px solid var(--iron); background: var(--board);
}
.tag__name { display: block; font-weight: 700; font-size: 16px; line-height: 1.4; }
.tag__price { display: block; font: 600 46px/1.05 var(--en); color: var(--red); font-variant-numeric: tabular-nums; margin-top: 6px; letter-spacing: .01em; }
.tag__price small { font: 700 .4em/1 var(--jp); margin-left: 2px; }
.tag__cond { display: block; font-size: 13px; color: var(--mute); line-height: 1.6; margin-top: 4px; }

/* ---------------- 最初の画面 */
.hero { display: grid; grid-template-columns: 6fr 4fr; min-height: calc(100svh - var(--hd)); max-height: 880px; }
.hero__photo { position: relative; overflow: hidden; min-height: 560px; }
.hero__photo .photo { position: absolute; inset: 0; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.hero__side { padding: clamp(56px, 6vw, 84px) clamp(24px, 4vw, 64px) 48px; display: flex; flex-direction: column; justify-content: center; }
.hero .tag { width: 70%; max-width: 330px; margin: 30px auto 0 0; padding: 34px 18px 20px; }
.hero .tag__name { font-size: 20px; }
.hero .tag__price { font-size: clamp(60px, 5.4vw, 84px); }
.hero .tag__cond { font-size: 14px; }
.hero h1 { font-size: clamp(23px, 2.2vw, 34px); line-height: 1.45; margin: 34px 0 16px; }
.hero__lead { font-size: 16px; font-weight: 500; }
.hero__wait { font-size: 14px; color: var(--mute); margin-top: 10px; }
.hero .btns { margin-top: 24px; }
@keyframes swing {
  0% { transform: translateY(6px) rotate(2deg); }
  45% { transform: translateY(-1px) rotate(-1deg); }
  75% { transform: translateY(1px) rotate(.4deg); }
  100% { transform: none; }
}
.hero .tag { animation: swing .8s cubic-bezier(.3,.7,.4,1) both; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero__photo { min-height: 0; height: 45svh; max-height: 480px; }
  .hero__side { padding: 0 var(--pad) 48px; }
  .hero .tag { margin: -36px auto 0 0; width: min(78%, 330px); }
}

/* 今日の受付の帯 */
.band { background: var(--iron); color: #fff; }
.band__in { display: flex; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; font-size: 15px; font-weight: 500; }
.band svg { width: 22px; height: 22px; flex: none; color: #fff; }
.band a { font: 600 21px/1 var(--en); text-decoration: none; letter-spacing: .03em; white-space: nowrap; }

/* ---------------- 札を掛けた壁（トップ） */
.tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; margin-top: 46px; }
.tags .tag { margin-top: 30px; }
.tags .tag__price { font-size: 52px; }
.tags-note { margin-top: 28px; font-size: 14px; color: var(--iron); }
@media (max-width: 760px) {
  .tags { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .tags .tag { padding: 28px 8px 14px; }
  .tags .tag__name { font-size: 13px; letter-spacing: 0; }
  .tags .tag__price { font-size: 40px; }
  .tags .tag__cond { font-size: 12px; }
}

/* ---------------- 2つの欄 */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--mid { align-items: center; }
.split--rev > :first-child { order: 2; }
.photo { position: relative; overflow: hidden; background: var(--board); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--43 { aspect-ratio: 4 / 3; }
.photo--32 { aspect-ratio: 3 / 2; }
.photo--11 { aspect-ratio: 1 / 1; }
.photo--wide { aspect-ratio: 21 / 8; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .photo--wide { aspect-ratio: 16 / 9; }
}

/* ---------------- 自転車を買う（横に長い段） */
.rows { margin-top: 40px; display: grid; gap: 22px; }
.row { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 18px; }
.row .photo { aspect-ratio: 3 / 2; }
.row h3 { font-size: 20px; margin-bottom: .4em; }
.row--alt { grid-template-columns: 1fr 300px; }
.row--alt .photo { order: 2; }
.bg-white .row { background: var(--board); border-color: transparent; }
@media (max-width: 700px) {
  .row, .row--alt { grid-template-columns: 1fr; gap: 16px; }
  .row--alt .photo { order: 0; }
}

/* 2つの段（防犯登録とTSマーク） */
.pair { display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px; }
.pair > div { padding: 6px clamp(20px, 4vw, 56px) 6px 0; }
.pair > div + div { border-left: 1.5px solid var(--iron); padding: 6px 0 6px clamp(20px, 4vw, 56px); }
@media (max-width: 760px) {
  .pair { grid-template-columns: 1fr; }
  .pair > div { padding: 0 0 26px; }
  .pair > div + div { border-left: 0; border-top: 1.5px solid var(--iron); padding: 26px 0 0; }
}

/* ---------------- よく聞かれること */
.faq { margin-top: 30px; border-top: 1.5px solid var(--iron); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px 1fr 24px; gap: 8px; align-items: start; padding: 20px 0; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font: 600 24px/1.1 var(--en); color: var(--red); }
.faq summary::after { content: ""; width: 14px; height: 14px; margin-top: 6px; border-right: 2px solid var(--iron); border-bottom: 2px solid var(--iron); transform: rotate(45deg); transition: transform .2s; justify-self: center; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq .a { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 0 32px 22px 0; }
.faq .a::before { content: "A"; font: 600 24px/1.1 var(--en); color: var(--iron); }

/* ---------------- 地図 */
.map { background: #fff; border: 1.5px solid var(--iron); }
.map svg { width: 100%; height: auto; }
.info { margin: 20px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.info dt { font-weight: 700; white-space: nowrap; }
.info dd { margin: 0; }

/* ---------------- 表 */
.tbl { width: 100%; border-collapse: collapse; margin-top: 26px; background: #fff; }
.tbl th, .tbl td { border-bottom: 1px solid var(--line); padding: 16px 18px; text-align: left; vertical-align: top; line-height: 1.75; }
.tbl thead th { background: var(--iron); color: #fff; font-size: 14px; font-weight: 700; border-bottom: 0; }
.tbl tbody th { width: 34%; font-weight: 700; }
@media (max-width: 640px) {
  .tbl--stack thead { display: none; }
  .tbl--stack, .tbl--stack tbody, .tbl--stack tr, .tbl--stack th, .tbl--stack td { display: block; width: 100%; }
  .tbl--stack tr { border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .tbl--stack th, .tbl--stack td { border: 0; padding: 2px 0; }
  .tbl--stack td[data-h]::before { content: attr(data-h); display: block; font-size: 12px; color: var(--mute); font-weight: 700; margin-top: 8px; }
}

/* ページの中の目次 */
.toc { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 24px; font-size: 15px; font-weight: 500; }
.toc a { text-decoration-color: var(--red); text-underline-offset: 5px; }

/* 囲み */
.box { border: 1.5px solid var(--iron); padding: 18px 22px; margin-top: 24px; background: #fff; font-size: .95em; }

/* ページの頭 */
.phead { padding: clamp(48px, 6vw, 84px) 0 clamp(48px, 6vw, 80px); }
.phead h1 { font-size: clamp(30px, 1.4rem + 2vw, 48px); margin-bottom: 18px; }
.phead .photo { aspect-ratio: 4 / 3; }
.phead--photo { padding-top: 0; }
.phead--photo .photo { aspect-ratio: 21 / 8; margin-bottom: clamp(36px, 5vw, 60px); }
@media (max-width: 760px) { .phead--photo .photo { aspect-ratio: 3 / 2; } }

/* ページの下 */
.pfoot { text-align: center; }
.pfoot__tel { display: inline-block; font: 600 clamp(40px, 6vw, 60px)/1.1 var(--en); text-decoration: none; letter-spacing: .03em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.pfoot .btns { justify-content: center; }

/* ---------------- 図：チェーンの線 */
.chain-h {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Crect x='1' y='2' width='26' height='10' rx='5' fill='none' stroke='%234A4F55' stroke-width='2'/%3E%3Ccircle cx='7' cy='7' r='2' fill='%234A4F55'/%3E%3Ccircle cx='21' cy='7' r='2' fill='%234A4F55'/%3E%3C/svg%3E") repeat-x 0 0 / 28px 14px;
  height: 14px;
}
.chain-h.is-red, .chain-v.is-red { filter: none; }
.chain-h.is-red { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Crect x='1' y='2' width='26' height='10' rx='5' fill='none' stroke='%23C1272D' stroke-width='2'/%3E%3Ccircle cx='7' cy='7' r='2' fill='%23C1272D'/%3E%3Ccircle cx='21' cy='7' r='2' fill='%23C1272D'/%3E%3C/svg%3E"); }
.chain-v {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='28'%3E%3Crect x='2' y='1' width='10' height='26' rx='5' fill='none' stroke='%234A4F55' stroke-width='2'/%3E%3Ccircle cx='7' cy='7' r='2' fill='%234A4F55'/%3E%3Ccircle cx='7' cy='21' r='2' fill='%234A4F55'/%3E%3C/svg%3E") repeat-y 0 0 / 14px 28px;
  width: 14px;
}
.chain-v.is-red { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='28'%3E%3Crect x='2' y='1' width='10' height='26' rx='5' fill='none' stroke='%23C1272D' stroke-width='2'/%3E%3Ccircle cx='7' cy='7' r='2' fill='%23C1272D'/%3E%3Ccircle cx='7' cy='21' r='2' fill='%23C1272D'/%3E%3C/svg%3E"); }

/* 図 D-3 修理の流れ・お渡しまで */
.flow { position: relative; margin-top: 40px; }
.flow__line { position: absolute; left: 10%; right: 10%; top: 27px; display: flex; transform-origin: 0 50%; }
.flow__line span { flex: 1 1 0; }
.flow ol { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow li { text-align: center; position: relative; }
.flow__dot { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: #fff; border: 2px solid var(--iron); display: grid; place-items: center; }
.flow__dot svg { width: 26px; height: 26px; color: var(--iron); }
.flow li.is-key .flow__dot { border-color: var(--red); background: var(--red-deep); }
.flow li.is-key .flow__dot svg { color: #fff; }
.flow__name { display: block; font-weight: 700; font-size: 17px; line-height: 1.45; }
.flow li.is-key .flow__name { color: var(--red-deep); }
.flow__txt { display: block; font-size: 14px; line-height: 1.75; margin-top: 8px; text-align: left; }
.flow__stop { position: absolute; left: 50%; top: 34px; width: 20%; height: 70px; pointer-events: none; }
.flow__stop svg { position: absolute; left: 50%; top: 0; width: 60px; height: 72px; margin-left: -30px; overflow: visible; }
.flow__stop b { position: absolute; left: 50%; top: 74px; transform: translateX(-50%); font-size: 13px; color: var(--iron); white-space: nowrap; }
.flow--mini .flow__dot { width: 44px; height: 44px; }
.flow--mini .flow__dot svg { width: 22px; height: 22px; }
.flow--mini .flow__line { top: 15px; }
.flow--mini .flow__name { font-size: 14px; }
.flow--mini .flow__stop { display: none; }
.flow--mini ol { gap: 4px; }
.flow--wide.flow--steps .flow__stop { display: none; }
@media (max-width: 760px) {
  .flow:not(.flow--mini) ol { grid-template-columns: 1fr; gap: 26px; }
  .flow:not(.flow--mini) li { display: grid; grid-template-columns: 54px 1fr; gap: 4px 18px; text-align: left; }
  .flow:not(.flow--mini) .flow__dot { margin: 0; grid-row: span 2; }
  .flow:not(.flow--mini) .flow__name { padding-top: 12px; }
  .flow:not(.flow--mini) .flow__txt { margin-top: 0; grid-column: 2; }
  .flow:not(.flow--mini) .flow__line { left: 20px; right: auto; top: 20px; bottom: 40px; flex-direction: column; width: 14px; transform-origin: 50% 0; }
  .flow:not(.flow--mini) .flow__line span { width: 14px; }
  .flow:not(.flow--mini) .flow__stop { left: auto; right: 0; top: auto; width: auto; height: auto; position: static; grid-column: 2; }
  .flow:not(.flow--mini) .flow__stop svg { display: none; }
  .flow:not(.flow--mini) .flow__stop b { position: static; transform: none; display: inline-block; border: 1px solid var(--iron); padding: 2px 10px; margin-top: 6px; }
  .flow--mini .flow__name { font-size: 12px; }
  .flow--mini .flow__dot { width: 38px; height: 38px; }
  .flow--mini .flow__line { top: 12px; }
}

/* 図 D-1 修理料金の一覧（有孔ボードに掛けた板） */
.board { position: relative; background: #fff; border: 1.5px solid var(--iron); border-radius: 2px; margin-top: 56px; padding: 30px clamp(14px, 3vw, 40px) 28px; }
.board::before, .board::after {
  content: ""; position: absolute; top: -36px; width: 40px; height: 52px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 52'%3E%3Ccircle cx='20' cy='6' r='3' fill='%23B9BFC4'/%3E%3Cpath d='M20 6v18c0 5 7 5 7 0' fill='none' stroke='%234A4F55' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='20' cy='44' r='6' fill='%23EEF0F1' stroke='%234A4F55' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / 40px 52px;
}
.board::before { left: 8%; }
.board::after { right: 8%; }
.board__title { font-size: 20px; text-align: center; margin: 8px 0 18px; }
.ptbl { width: 100%; border-collapse: collapse; }
.ptbl thead th { font-size: 13px; color: var(--mute); font-weight: 700; text-align: left; padding: 6px 10px; border-bottom: 2px solid var(--iron); }
.ptbl td, .ptbl th { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; line-height: 1.6; }
.ptbl .grp th { background: var(--board); padding: 7px 10px; font-size: 14px; color: var(--iron); border-bottom: 0; }
.ptbl .grp th span { display: inline-block; background: #fff; border: 1.5px solid var(--iron); padding: 0 10px; border-radius: 2px; }
.ptbl .nm { font-weight: 700; }
.ptbl .nm small { display: block; font-weight: 400; font-size: 13px; color: var(--mute); }
.ptbl .ic { width: 44px; }
.ptbl .ic svg { width: 28px; height: 28px; color: var(--iron); }
.ptbl .fee { white-space: nowrap; }
.ptbl .fee .en { font-size: 25px; color: var(--red); }
.ptbl .part .en { font-size: 21px; color: var(--ink); }
.ptbl .yen { font-size: 13px; font-weight: 700; margin-left: 1px; }
.ptbl tr:target td, .ptbl tr:target th { background: #FBEDEE; }
.adds { margin-top: 22px; display: grid; gap: 8px; }
.adds li { padding-left: 1.2em; position: relative; }
.adds li::before { content: "+"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
@media (max-width: 760px) {
  .ptbl thead { display: none; }
  .ptbl, .ptbl tbody, .ptbl tr { display: block; }
  .ptbl tr:not(.grp) { display: grid; grid-template-columns: 36px 1fr; gap: 2px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .ptbl td, .ptbl th { border: 0; padding: 0; }
  .ptbl .grp th { display: block; padding: 8px; margin-top: 10px; }
  .ptbl .ic { grid-row: span 3; width: auto; padding-top: 2px; }
  .ptbl .fee::before, .ptbl .part::before { content: attr(data-h); font-size: 12px; color: var(--mute); font-weight: 700; margin-right: 8px; }
  .ptbl .fee, .ptbl .part { white-space: normal; }
}

/* 料金の見方（札2枚の足し算） */
.sum { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.sum .tag { width: 220px; margin-top: 36px; }
.sum .tag__price { font-size: 44px; }
.sum__op { font: 600 44px/1 var(--en); color: var(--iron); margin-top: 36px; }
.sum__total { margin-top: 36px; }
.sum__total small { display: block; font-size: 13px; color: var(--mute); font-weight: 700; }
.sum__total b { font: 600 56px/1 var(--en); color: var(--red); }
.sum__total b span { font: 700 20px/1 var(--jp); }
@media (max-width: 760px) { .sum .tag { width: calc(50% - 30px); padding: 28px 8px 14px; } .sum .tag__price { font-size: 34px; } .sum__op { font-size: 32px; } }

/* 図 D-2 自転車の部分の名前 */
.parts { margin-top: 30px; }
.parts svg { width: 100%; height: auto; overflow: visible; }
.parts .pc { font-family: var(--jp); font-size: 17px; font-weight: 700; fill: var(--ink); }
.parts a .pc { fill: var(--red-deep); text-decoration: underline; }
.parts a:hover .pc { fill: var(--ink); }
.parts .ld { stroke: var(--iron); stroke-width: 1.2; fill: none; }
.parts .dot { fill: var(--red); }
.parts__sp { display: none; }
.parts__list { display: none; }
.parts__memo { text-align: right; font-size: 13px; color: var(--mute); margin-top: 8px; }
@media (max-width: 900px) {
  .parts__pc { display: none; }
  .parts__sp { display: block; }
  .parts__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-top: 18px; font-size: 14px; line-height: 1.5; }
  .parts__list li { display: flex; gap: 8px; align-items: flex-start; }
  .parts__list i { flex: none; font: 600 13px/22px var(--en); font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: var(--iron); color: #fff; text-align: center; }
  .parts__list a { color: var(--red-deep); font-weight: 700; }
}
.mk circle { fill: var(--iron); }
.mk text { font-family: var(--en); font-weight: 600; font-size: 31px; fill: #fff; text-anchor: middle; }

/* 図 D-4 タイヤの横の数字 */
.tire svg { width: 100%; height: auto; }
.tire .band-frame { fill: none; stroke: var(--red); stroke-width: 3; }
.tire dl { margin: 16px 0 0; display: grid; gap: 14px; }
.tire dt { font: 600 26px/1.1 var(--en); color: var(--red); }
.tire dd { margin: 2px 0 0; font-size: 15px; }
.tire__memo { text-align: right; font-size: 13px; color: var(--mute); margin-top: 10px; }

/* バルブの3つの絵 */
.valves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; max-width: 760px; }
.valves figure { margin: 0; text-align: center; background: var(--board); padding: 18px 8px 16px; }
.valves svg { width: 64px; height: 110px; margin: 0 auto 10px; color: var(--iron); }
.valves b { display: block; font-size: 17px; }
.valves span { display: block; font-size: 13px; line-height: 1.6; margin-top: 4px; color: var(--iron); }

/* ぶたはしゃべる */
.buta { margin-top: 34px; display: grid; gap: 0; border-top: 1.5px solid var(--iron); }
.buta li { display: grid; grid-template-columns: 80px 44px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.buta__k { font-size: 40px; font-weight: 700; color: var(--red); line-height: 1; text-align: center; }
.buta svg { width: 36px; height: 36px; color: var(--iron); }
.buta b { display: block; font-size: 17px; }
@media (max-width: 560px) { .buta li { grid-template-columns: 60px 1fr; } .buta svg { display: none; } .buta__k { font-size: 34px; } }

/* 店の中（大1・小2） */
.inside { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; margin-top: 30px; }
.inside .photo:first-child { grid-row: span 2; aspect-ratio: 16 / 10; }
.inside .photo:not(:first-child) { aspect-ratio: auto; min-height: 0; }
@media (max-width: 700px) {
  .inside { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .inside .photo:first-child { grid-column: span 2; grid-row: auto; }
  .inside .photo:not(:first-child) { aspect-ratio: 1 / 1; }
}

/* ---------------- フッター */
.ft { background: var(--iron); color: #fff; position: relative; margin-top: 0; }
.ft .tread { opacity: 1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Cpath d='M0 3l6 6 6-6 6 6 6-6' fill='none' stroke='%23FFFFFF' stroke-opacity='.3' stroke-width='2'/%3E%3C/svg%3E"); }
.ft__in { display: grid; grid-template-columns: auto 1fr; gap: 28px 64px; padding-top: 52px; padding-bottom: 40px; }
.ft__brand img { height: 50px; width: auto; }
.ft__addr { margin-top: 18px; font-size: 14px; line-height: 1.9; }
.ft__addr a { text-decoration: none; font: 600 20px/1 var(--en); letter-spacing: .03em; }
.ft__nav ul { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 32px; justify-content: end; font-size: 14px; }
.ft__nav a { text-decoration: none; }
.ft__nav a:hover { text-decoration: underline; }
.ft__copy { grid-column: 1 / -1; font-size: 12px; color: #D5D9DC; border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; }
@media (max-width: 860px) {
  .ft__in { grid-template-columns: 1fr; }
  .ft__nav ul { grid-template-columns: 1fr 1fr; justify-content: start; }
}

/* ---------------- 動き（JS がクラスを付けたときだけ隠す） */
.js .fade { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .fade.is-in { opacity: 1; transform: none; }
.js .board.fade { transform: translateY(8px); transition-duration: .5s; }
.js .board.fade.is-in { transform: none; }
.js .flow.fade { transform: none; }
.js .flow .flow__line { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.4,.1,.3,1); }
.js .flow.is-in .flow__line { transform: none; }
.js .flow li { opacity: 0; transition: opacity .4s ease; }
.js .flow.is-in li { opacity: 1; }
.js .flow.is-in li:nth-child(1) { transition-delay: .05s; }
.js .flow.is-in li:nth-child(2) { transition-delay: .3s; }
.js .flow.is-in li:nth-child(3) { transition-delay: .55s; }
.js .flow.is-in li:nth-child(4) { transition-delay: .8s; }
.js .flow.is-in li:nth-child(5) { transition-delay: 1.05s; }
.js .flow .flow__stop { opacity: 0; transition: opacity .4s ease .9s; }
.js .flow.is-in .flow__stop { opacity: 1; }
@media (max-width: 760px) {
  .js .flow:not(.flow--mini) .flow__line { transform: scaleY(0); }
  .js .flow:not(.flow--mini).is-in .flow__line { transform: none; }
}
.js .parts.fade { transform: none; }
.js .parts .ldg { transform: scaleY(0); transform-box: fill-box; transition: transform .5s ease; }
.js .parts .ldg.up { transform-origin: 50% 100%; }
.js .parts .ldg.down { transform-origin: 50% 0; }
.js .parts .lbl { opacity: 0; transition: opacity .4s ease; }
.js .parts.is-in .ldg { transform: none; }
.js .parts.is-in .lbl { opacity: 1; }
.js .tire.fade { transform: none; }
.js .tire .band-frame { opacity: 0; transition: opacity .4s ease; }
.js .tire.is-in .band-frame { opacity: 1; }
.js .tire.is-in .band-frame.b2 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero .tag { animation: none; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tire__txt { margin-top: 16px; }
.buta div span { display: block; font-size: .95em; }
.tbl--3 tbody th { width: 32%; }
.tbl--3 td:last-child a { color: var(--red-deep); font-weight: 700; }
.buta__k { white-space: nowrap; font-size: 34px; }
.pfoot .h3 { font-weight: 700; }
.photo--svg { background: #fff; }
.photo--svg svg { width: 100%; height: 100%; }
.decide { margin: 8px 0 0; display: grid; border-top: 1.5px solid var(--iron); }
.decide > div { padding: 18px 0; border-bottom: 1px solid var(--hole); }
.decide dt { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.decide dd { margin: 0; }
@media (max-width: 760px) {
  .flow:not(.flow--mini) .flow__line span.chain-h {
    height: auto; width: 14px; background-repeat: repeat-y; background-size: 14px 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='28'%3E%3Crect x='2' y='1' width='10' height='26' rx='5' fill='none' stroke='%234A4F55' stroke-width='2'/%3E%3Ccircle cx='7' cy='7' r='2' fill='%234A4F55'/%3E%3Ccircle cx='7' cy='21' r='2' fill='%234A4F55'/%3E%3C/svg%3E");
  }
  .flow:not(.flow--mini) .flow__line span.chain-h.is-red {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='28'%3E%3Crect x='2' y='1' width='10' height='26' rx='5' fill='none' stroke='%23C1272D' stroke-width='2'/%3E%3Ccircle cx='7' cy='7' r='2' fill='%23C1272D'/%3E%3Ccircle cx='7' cy='21' r='2' fill='%23C1272D'/%3E%3C/svg%3E");
  }
}
.ts-fee { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 20px; margin: 10px 0 26px; }
.ts-fee .tag__price { font-size: 44px; }
.tlink--w { color: #fff; }
.tlink--w:hover { color: #fff; text-decoration-color: #fff; }
.bg-iron .h3 { color: #fff; }
.sign { text-align: right; margin-top: 12px; font-weight: 700; }
.inside .photo:not(:first-child) img { position: absolute; inset: 0; }
