:root {
  --paper: #ffffff;
  --mist: #f1f4f6;
  --ink: #17212b;
  --ink-soft: #55626f;
  --line: #d5dce2;
  --action: #1746c7;
  --action-dark: #0f3299;
  --pr-bg: #fff4dc;
  --pr-ink: #8a5200;
  --yes: #0b6b4f;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--action); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, label:focus-within {
  outline: 3px solid var(--action);
  outline-offset: 2px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* 開示の帯（全ページ） */
.disclosure {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  padding: 7px 0;
}
.disclosure a { color: #fff; }

.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; flex-wrap: wrap;
}
.logo {
  font-weight: 900; font-size: 20px; letter-spacing: .02em;
  color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.logo-chips { display: flex; }
.logo-chips i {
  width: 12px; height: 26px; border-radius: 3px; margin-right: -3px;
  transform: skewX(-12deg); border: 1.5px solid #fff;
}
.site-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }

.draft-note {
  background: #fdecec; color: #8a1c1c; font-size: 13px;
  padding: 6px 0; text-align: center;
}

/* ヒーロー */
.hero { background: var(--mist); padding: 48px 0 40px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px; align-items: center;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.28; font-weight: 900; margin: 0 0 16px; letter-spacing: .01em;
}
.hero p.lead { margin: 0 0 26px; color: var(--ink-soft); max-width: 30em; }

.search {
  background: var(--paper); border-radius: 16px; padding: 18px;
  box-shadow: 0 10px 30px -18px rgba(23, 33, 43, .45);
  display: grid; grid-template-columns: 140px 1fr; gap: 10px;
}
.search-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.search-actions .btn { padding: 0 10px; }
.linkbtn { grid-column: 1 / -1; justify-self: start; background: none; border: 0; padding: 2px 0; font: inherit; font-size: 14px; color: var(--action); text-decoration: underline; cursor: pointer; }
.search-msg { grid-column: 1 / -1; margin: 0; font-size: 13px; color: #8a1c1c; }
.search-msg:empty { display: none; }
.near-bar { background: #e6edff; border-radius: 10px; padding: 10px 14px; margin: 14px 0 0; font-size: 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.near-bar[hidden] { display: none; }
.dist { display: inline-block; font-weight: 700; color: var(--action); margin-left: 4px; }
.dist small { font-weight: 400; color: var(--ink-soft); }
.search label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-bottom: 4px; }
.search select, .search input {
  width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0 12px; font: inherit; color: var(--ink); background: #fff;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: 10px; border: 0;
  background: var(--action); color: #fff; font: inherit; font-weight: 700;
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--action-dark); }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--mist); }
.search .btn { align-self: end; }

.stage { position: relative; }
.stage svg { width: 100%; height: auto; display: block; }
.stage .car-body { transition: fill .35s ease; }
.film-name { font-weight: 700; margin: 4px 0 10px; font-size: 15px; }
.film-name span { color: var(--ink-soft); font-weight: 500; font-size: 13px; margin-left: 8px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  width: 46px; height: 46px; border-radius: 10px; border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0;
  position: relative; overflow: hidden;
}
.swatch::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,var(--shine, .45)) 0%, rgba(255,255,255,0) 45%);
}
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); }

/* 目的・都道府県からの入口 */
.entry { padding: 36px 0 4px; }
.entry h2 { font-size: 22px; font-weight: 900; margin: 0 0 12px; }
.purpose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px; }
.purpose button { text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; font: inherit; color: var(--ink); cursor: pointer; }
.purpose button:hover { border-color: var(--ink); }
.purpose b { display: block; font-size: 17px; line-height: 1.5; }
.purpose span { font-size: 13px; color: var(--ink-soft); }
.pref-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.region h3 { font-size: 13px; color: var(--ink-soft); margin: 0 0 6px; font-weight: 700; }
.region div, .city-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.region button, .city-chips button { background: var(--mist); border: 0; border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.region button:hover, .city-chips button:hover { background: var(--ink); color: #fff; }
.region small, .city-chips small { margin-left: 5px; font-size: 11px; opacity: .7; }
.pref-summary { background: var(--mist); border-radius: 12px; padding: 14px 16px; margin: 14px 0 0; font-size: 15px; }
.pref-summary[hidden] { display: none; }
.pref-summary p { margin: 0 0 10px; }
.pref-summary .small { display: block; margin-top: 4px; }
.pref-summary .city-chips button { background: #fff; }
@media (max-width: 860px) { .purpose, .pref-grid { grid-template-columns: 1fr; } }

/* 読み物 */
.guides { padding: 8px 0 64px; }
.guides h2 { font-size: 22px; font-weight: 900; margin: 0 0 4px; }
.guide-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px; }
.guide-links a { display: block; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.guide-links a:hover { border-color: var(--ink); }
.guide-links b { display: block; font-size: 17px; line-height: 1.5; }
.guide-links span { font-size: 13px; color: var(--ink-soft); }
.guide p, .guide li { max-width: 46em; }
.guide h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
.guide .compare thead th { position: static; }
.guide .sources { font-size: 13px; color: var(--ink-soft); word-break: break-all; }
.guide .sources li { margin-bottom: 6px; }
.guide .point { background: var(--mist); border-radius: 12px; padding: 14px 18px; margin: 14px 0; }
.guide .point p { margin: 0; }
.guide .unknown { border-left: 4px solid var(--line); padding: 2px 0 2px 14px; color: var(--ink-soft); }
@media (max-width: 860px) { .guide-links { grid-template-columns: 1fr; } }

/* 費用の目安ページ */
.range { width: 100%; border-collapse: collapse; font-size: 15px; margin: 6px 0 4px; }
.range th, .range td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.range thead th { background: var(--ink); color: #fff; font-size: 13px; }
.range tbody th { background: var(--mist); width: 10em; }
.range b { font-size: 17px; white-space: nowrap; }
.range small { display: block; font-size: 12px; color: var(--ink-soft); }
.guide { max-width: 960px; }
.guide h1 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 900; line-height: 1.4; margin: 0 0 12px; }

/* 仕上げの見本 */
.samples { padding: 36px 0 8px; }
.samples h2 { font-size: 22px; font-weight: 900; margin: 0 0 4px; }
.samples .small { margin: 0 0 14px; }
.sample-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.sample-strip figure { margin: 0; scroll-snap-align: start; }
.sample-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.sample-strip figcaption { font-size: 13px; font-weight: 700; margin-top: 6px; }

/* 表でくらべる */
.view-switch { display: flex; gap: 8px; margin: 14px 0 0; }
.size-switch { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 0; padding: 12px 14px; background: var(--mist); border-radius: 12px; }
.size-switch[hidden] { display: none; }
.size-switch .group-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-right: 4px; }
.size-switch .chip { height: auto; min-height: 38px; padding: 5px 14px; flex-direction: column; gap: 0; line-height: 1.3; }
.size-switch .chip small { font-size: 10px; font-weight: 400; opacity: .75; }
.caution { margin: 14px 0 0; padding: 10px 14px; border-left: 4px solid #d9a441; background: #fffaf0; font-size: 13px; border-radius: 0 8px 8px 0; }
.table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.compare { border-collapse: collapse; width: 100%; min-width: 1040px; font-size: 14px; }
.compare th, .compare td { padding: 12px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--ink); color: #fff; font-size: 13px; white-space: nowrap; }
.compare tbody th { position: sticky; left: 0; background: #fff; min-width: 190px; max-width: 230px; font-weight: 700; box-shadow: 1px 0 0 var(--line); }
.compare tbody th a { color: var(--ink); }
.compare small { display: block; font-weight: 400; font-size: 11px; color: var(--ink-soft); line-height: 1.5; }
.compare td b { font-size: 15px; white-space: nowrap; }
.compare .na { color: #8a95a0; font-size: 13px; }
.compare .has { color: var(--yes); font-weight: 700; }
.compare .tag { margin-top: 4px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.table-view .small { margin: 10px 0 0; }
.table-view .more { text-align: center; padding-top: 16px; }

/* 一覧 */
.list-section { padding: 44px 0 64px; }
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.list-head h2 { font-size: 26px; font-weight: 900; margin: 0; }
.count { color: var(--ink-soft); font-size: 14px; }
.count b { color: var(--ink); font-size: 20px; }

.filters {
  display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center;
  margin: 18px 0 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.filters .group-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-right: 2px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked), .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters select { height: 38px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 12px; font: inherit; font-size: 14px; background: #fff; }
.filters .spacer { flex: 1; }
.sort-note { font-size: 13px; color: var(--ink-soft); margin: 10px 0 18px; }

.list-notice { font-size: 13px; background: var(--mist); border-radius: 10px; padding: 10px 14px; margin: 0 0 18px; }

.pr-slot {
  background: var(--pr-bg); border: 1.5px dashed #d9a441; border-radius: 14px;
  padding: 16px 18px; margin: 0 0 22px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; line-height: 1;
  padding: 5px 8px; border-radius: 5px; white-space: nowrap;
}
.tag.pr { background: var(--pr-ink); color: #fff; }
.tag.related { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.tag.sample { background: rgba(23,33,43,.72); color: #fff; font-weight: 500; }
.pr-slot p { margin: 0; font-size: 14px; color: var(--pr-ink); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.card {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
}
.card-visual { position: relative; background: var(--mist); padding: 10px 18px 0; }
.card-visual svg { width: 100%; height: auto; display: block; }
.card-visual .tag.sample { position: absolute; right: 10px; top: 10px; }
.card-visual .tags-left { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; }
.pr-area { background: var(--pr-bg); border-radius: 16px; padding: 16px 18px 20px; margin: 0 0 26px; }
.pr-head { margin: 0 0 14px; font-size: 14px; color: var(--pr-ink); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.card-visual.has-photo { padding: 0; }
.card-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.gallery figure { margin: 0; }
.gallery figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.gallery figcaption { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; margin: 8px 0 10px; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; overflow: hidden; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 700; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card .sub { font-size: 12px; color: var(--ink-soft); margin: -6px 0 0; }
.card .where { font-size: 14px; margin: 0; }
.card .where b { margin-right: 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.facts li { font-size: 13px; padding: 3px 9px; border-radius: 6px; background: var(--mist); color: var(--ink-soft); }
.facts li.yes { background: #e2f3ec; color: var(--yes); font-weight: 700; }
.card .type { font-size: 13px; color: var(--ink-soft); margin: 0; }
.price-eg { margin: 2px 0 0; border-top: 1px solid var(--line); }
.price-eg div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); }
.price-eg dt { font-size: 13px; color: var(--ink-soft); }
.price-eg dd { margin: 0; font-weight: 700; font-size: 17px; text-align: right; }
.price-eg small { display: block; font-weight: 400; font-size: 11px; color: var(--ink-soft); }
.more { grid-column: 1 / -1; text-align: center; padding-top: 6px; }
.tier-note { background: var(--mist); border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 0 0 16px; }
.card-foot { margin-top: auto; display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 6px; }
.card-foot .checked { font-size: 12px; color: var(--ink-soft); }
.card-foot .btn { height: 40px; padding: 0 16px; font-size: 14px; }

.empty { padding: 40px 20px; text-align: center; background: var(--mist); border-radius: 14px; }
.empty button { margin-top: 12px; }

/* 店舗ページ・文章ページ */
.page { padding: 32px 0 64px; }
.crumbs { font-size: 13px; color: var(--ink-soft); margin: 0 0 14px; }
.shop-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--mist); border-radius: 18px; padding: 26px; }
.shop-top h1 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.35; margin: 8px 0 6px; font-weight: 900; }
.shop-top .sub { color: var(--ink-soft); font-size: 14px; margin: 0 0 14px; }
.shop-top .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.related-note { background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 0 0 16px; }
.photo-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.photo-slots div { aspect-ratio: 4 / 3; border-radius: 8px; border: 1.5px dashed var(--line); background: #fff; display: grid; place-items: center; font-size: 11px; color: var(--ink-soft); text-align: center; padding: 4px; }
.page h2 { font-size: 21px; font-weight: 900; margin: 38px 0 12px; }
.info { width: 100%; border-collapse: collapse; font-size: 15px; }
.info th, .info td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.info th { width: 11em; font-weight: 700; color: var(--ink-soft); background: var(--mist); }
.info td { word-break: break-word; }
.small { font-size: 13px; color: var(--ink-soft); }
.prose { max-width: 44em; }
.prose h1 { font-size: 30px; font-weight: 900; line-height: 1.4; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }

.site-foot { background: var(--mist); padding: 28px 0 36px; font-size: 13px; color: var(--ink-soft); }
.site-foot p { margin: 0 0 6px; }

@media (max-width: 860px) {
  .hero { padding: 30px 0; }
  .hero-grid, .shop-top { grid-template-columns: 1fr; gap: 24px; }
  .search { grid-template-columns: 1fr; }
  .search-actions { grid-template-columns: 1fr; }
  .site-nav { gap: 14px; font-size: 13px; }
  .info th { width: 7.5em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage .car-body { transition: none; }
}

/* ラッピングの色をためす（generator.html） */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gen-page { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 18px; }
.gen-side h2 { font-size: 17px; margin: 0 0 6px; }
.gen-side ul { padding-left: 1.2em; margin: 0; }
.gen-cta { margin: 18px 0 6px; }
.gen-cta .btn { display: block; text-align: center; white-space: normal; line-height: 1.5; height: auto; padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 820px) { .gen-page { grid-template-columns: 1fr; } }

/* ラッピングの色をためす（js/gen.js の部品。トップと generator.html で共通） */
.gx-cars { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.gx-cars .chip { height: 32px; padding: 0 12px; font-size: 13px; }
.gx-stage { position: relative; border-radius: 14px; overflow: hidden; background: #ecebe8; aspect-ratio: 3 / 2; }
.gx-stage img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.gx-stage img.fading { opacity: .4; }
.gx-before { position: absolute; inset: 0; }
.gx-handle { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.35); pointer-events: none; }
.gx-tag { position: absolute; top: 10px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.9); color: var(--ink); transition: opacity .2s; max-width: 46%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-tag-l { left: 10px; }
.gx-tag-r { right: 10px; }
.gx.is-left .gx-tag-l, .gx.is-right .gx-tag-r { opacity: 0; }
.gx-range { position: absolute; left: 0; right: 0; bottom: 8px; padding: 0 12px; }
.gx-range input { width: 100%; accent-color: var(--action); cursor: ew-resize; }
.gx-controls { margin-top: 12px; display: grid; gap: 8px; }
.gx-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gx-label { width: 6.5em; flex: none; font-size: 14px; font-weight: 700; line-height: 1.2; }
.gx-label small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-soft); }
.gx-dots, .gx-finishes { display: flex; flex-wrap: wrap; gap: 6px; }
.gx-finishes .chip { height: 32px; padding: 0 14px; font-size: 13px; }
.gx-dot {
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 1px solid rgba(0,0,0,.2); background: var(--c);
  background-image: linear-gradient(140deg, rgba(255,255,255,.55) 0 20%, rgba(255,255,255,0) 42%);
}
.gx-dot[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--action); }
.gx-note { font-size: 12px; color: var(--ink-soft); margin: 10px 0 0; line-height: 1.6; }
@media (max-width: 520px) {
  .gx-label { width: 100%; }
  .gx-label small { display: inline; margin-left: 6px; }
}
.stage-title { font-weight: 900; font-size: 17px; margin: 0 0 8px; }
.prose table.plain { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 16px; }
.prose table.plain th, .prose table.plain td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose table.plain th { background: var(--mist); }
@media (max-width: 600px) { .prose table.plain { display: block; overflow-x: auto; } }

/* お問い合わせフォーム（contact.html） */
.cform { margin-top: 22px; display: grid; gap: 16px; }
.cf-row { display: grid; gap: 6px; }
.cf-row > label { font-weight: 700; font-size: 15px; }
.req { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; color: #fff; background: #b42318; border-radius: 4px; padding: 1px 6px; vertical-align: 2px; }
.cform input[type="text"], .cform input[type="email"], .cform input[type="tel"], .cform select, .cform textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.cform textarea { resize: vertical; line-height: 1.6; }
.cform input:focus, .cform select:focus, .cform textarea:focus { border-color: var(--action); outline: none; box-shadow: 0 0 0 3px rgba(23,70,199,.18); }
.cf-hint { margin: 0; font-size: 13px; color: var(--ink-soft); }
.cf-agree { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.cf-agree input { width: 20px; height: 20px; }
.cf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-error { margin: 0; padding: 10px 14px; border-radius: 8px; background: #fdecea; color: #8a1c12; font-size: 14px; }
.cform .btn { justify-self: start; min-width: 200px; }
.cform .btn:disabled { opacity: .6; cursor: wait; }
.form-done { margin-top: 22px; padding: 18px 22px; border-radius: 14px; background: #eef7f2; }
.form-done h2 { margin-top: 0; }

/* 掲載内容の変更・写真の掲載（shop-edit.html） */
.h1-sub { display: block; font-size: 15px; font-weight: 700; color: var(--ink-soft); margin-top: 4px; }
.steps { padding-left: 1.4em; background: var(--mist); border-radius: 12px; padding: 14px 18px 14px 2.2em; font-size: 14px; }
.cform h2 { margin: 26px 0 0; font-size: 19px; }
.ef-target { display: grid; gap: 2px; padding: 12px 16px; border: 1.5px solid var(--action); border-radius: 12px; background: #f3f6fd; }
.ef-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.ef-checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ef-checks legend { font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; }
.ef-checks label { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.ef-checks input { width: 18px; height: 18px; }
.ef-drop { display: flex; align-items: center; gap: 12px; }
.ef-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ef-drop label.btn { cursor: pointer; }
.ef-drop input[type="file"]:focus-visible + label { outline: 3px solid var(--action); outline-offset: 2px; }
.ef-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ef-photo { margin: 0; display: grid; gap: 6px; }
.ef-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--mist); }
.ef-photo input { font-size: 14px !important; padding: 8px 10px !important; }
.ef-photo button { justify-self: start; font: inherit; font-size: 13px; background: none; border: 0; color: #b42318; text-decoration: underline; cursor: pointer; padding: 0; }
.ef-rights { display: grid; gap: 8px; padding: 12px 16px; border-radius: 12px; background: #fffaf0; }
@media (max-width: 640px) {
  .ef-grid { grid-template-columns: 1fr; }
  .ef-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.owner-box { margin-top: 22px; padding: 16px 20px; border-radius: 14px; background: #f3f6fd; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.owner-box p { margin: 0; }
/* 変更依頼のメールの文面（shop-edit.html） */
.mail-box { margin-top: 22px; padding: 18px 22px; border-radius: 14px; background: #eef7f2; }
.mail-box h2 { margin-top: 0; }
.mb-row { display: grid; grid-template-columns: 3em minmax(0, 1fr) auto; gap: 10px; align-items: start; margin-top: 10px; }
.mb-row > span { font-weight: 700; font-size: 14px; padding-top: 6px; }
.mb-row code, .mb-row pre { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-family: inherit; font-size: 14px; white-space: pre-wrap; word-break: break-all; }
.mb-row pre { max-height: 320px; overflow: auto; line-height: 1.6; }
.mb-row .chip { height: 32px; font-size: 13px; }
.btn.is-off { opacity: .45; pointer-events: none; }
@media (max-width: 560px) { .mb-row { grid-template-columns: 1fr; } .mb-row .chip { justify-self: start; } }
