/* ヒアリングフォーム共通スタイル。アクセント色だけフォーム定義の brand.accent で差し替える(--accent)。 */

:root {
  color-scheme: light;
  --paper: #f5f2ec;
  --sheet: #ffffff;
  --ink: #1d211f;
  --muted: #676d69;
  --line: #e2ddd3;
  --line-strong: #cfc8bb;
  --danger: #a3372b;
  --accent: #2f4a3f;
  --accent-soft: color-mix(in srgb, var(--accent) 7%, white);
  --accent-line: color-mix(in srgb, var(--accent) 55%, white);
  --radius: 12px;
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.page--center { justify-content: center; padding: 24px 16px; }

/* ---------- masthead ---------- */
.masthead {
  position: relative;
  padding: 72px 16px 96px;
  background-color: var(--accent);
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  color: #fff;
}
.masthead__inner { max-width: 760px; margin: 0 auto; }
.eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  opacity: .78;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.masthead__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 5.2vw, 42px);
  line-height: 1.4;
  letter-spacing: .06em;
  word-break: auto-phrase; /* 日本語を文節で折り返す(対応ブラウザのみ) */
  text-wrap: balance;
}
.phrase { display: inline-block; }
.masthead__lead { margin: 24px 0 0; max-width: 40em; font-size: 15px; opacity: .9; }
.masthead__meta {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 12px;
}
.masthead__meta li {
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
}

/* ---------- sheet ---------- */
.sheet {
  width: min(760px, calc(100% - 32px));
  margin: -56px auto 0;
  background: var(--sheet);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(29,33,31,.04), 0 12px 40px -12px rgba(29,33,31,.14);
  padding: 40px clamp(20px, 5vw, 56px) 32px;
  position: relative;
}

/* ---------- progress ---------- */
.progress {
  list-style: none; margin: 0 0 36px; padding: 0 0 24px;
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.progress::-webkit-scrollbar { display: none; }
.no-js .progress { display: none; }
.progress__item {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted);
  position: relative;
}
.progress__item:not(:last-child)::after {
  content: ""; position: absolute; top: 13px; left: calc(50% + 18px); right: calc(-50% + 18px);
  height: 1px; background: var(--line-strong);
}
.progress__dot {
  width: 27px; height: 27px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: var(--sheet);
  font-size: 12px; font-weight: 500;
  transition: background .2s, border-color .2s, color .2s;
}
.progress__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 560px) { .progress__label { display: none; } .progress { margin-bottom: 28px; padding-bottom: 20px; } }
.progress__item.is-done .progress__dot { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.progress__item.is-current { color: var(--ink); font-weight: 500; }
.progress__item.is-current .progress__dot { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- steps ---------- */
.step + .step { margin-top: 56px; }
.js .step { display: none; }
.js .step.is-current { display: block; animation: rise .35s ease both; }
.js .step + .step { margin-top: 0; }
.no-js .step--review { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .step.is-current { animation: none; } }

.step__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 32px; }
.step__no {
  flex: none;
  font-family: var(--serif);
  font-size: 30px; line-height: 1;
  color: var(--accent);
  padding-top: 4px;
}
.step__title { word-break: auto-phrase; margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.5; letter-spacing: .05em; }
.step__desc { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.step__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }

/* ---------- fields ---------- */
.field { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; min-width: 0; }
.field--half { grid-column: auto; }
@media (max-width: 560px) { .field--half { grid-column: 1 / -1; } }
.field[hidden] { display: none; }
.field__label {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 0; margin-bottom: 4px;
  font-weight: 500; font-size: 15px;
}
.field__hint { font-size: 12px; color: var(--muted); font-weight: 400; }
.field__help { margin: 0 0 10px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.field__help:empty { display: none; }
.field__label + .field__help:empty + .field__control,
.field__label + .field__help:empty + .choices { margin-top: 10px; }
.field__error { margin: 8px 0 0; font-size: 13px; color: var(--danger); }
.field__error:empty { display: none; }
.field__control { display: flex; align-items: center; gap: 10px; }

.badge {
  font-size: 10.5px; font-weight: 500; letter-spacing: .08em;
  padding: 1px 8px; border-radius: 4px;
  background: #efece6; color: var(--muted);
}
.badge--req { background: var(--accent); color: #fff; }

.input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font-size: 16px; /* iOS のズームを防ぐ */
  line-height: 1.6;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
.input::placeholder { color: #a6aaa6; }
.input:hover { border-color: #b9b1a2; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.input--area { resize: vertical; min-height: 120px; }
.input--short { max-width: 220px; }
.unit { color: var(--muted); font-size: 14px; }
.select { position: relative; width: 100%; }
.select::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); pointer-events: none;
}
.select .input { padding-right: 40px; }
.has-error .input { border-color: var(--danger); }
.has-error .choice { border-color: color-mix(in srgb, var(--danger) 40%, white); }

/* ---------- choices ---------- */
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 10px; }
.choices--c1 { grid-template-columns: 1fr; }
.choices--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .choices--c2, .choices--c3 { grid-template-columns: 1fr; } }
.choice {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 15px; line-height: 1.55;
  transition: border-color .15s, background .15s;
}
.choice:hover { border-color: #b9b1a2; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__mark {
  flex: none; width: 18px; height: 18px;
  border: 1.5px solid var(--line-strong); background: #fff;
  display: grid; place-items: center;
  transition: background .15s, border-color .15s;
}
.choice input[type="radio"] ~ .choice__mark { border-radius: 50%; }
.choice input[type="checkbox"] ~ .choice__mark { border-radius: 5px; }
.choice input:checked ~ .choice__mark { border-color: var(--accent); background: var(--accent); }
.choice input[type="radio"]:checked ~ .choice__mark::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.choice input[type="checkbox"]:checked ~ .choice__mark::after {
  content: ""; width: 5px; height: 9px; margin-top: -2px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.other { margin-top: 10px; }
.js .other { display: none; }
.js .other.is-open { display: block; }

/* ---------- review ---------- */
.review { display: grid; gap: 28px; }
.review__section { border-top: 1px solid var(--line); padding-top: 18px; }
.review__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.review__title { margin: 0; font-family: var(--serif); font-size: 17px; font-weight: 700; }
.review__edit {
  border: 0; background: none; padding: 4px 0; cursor: pointer;
  color: var(--accent); font-size: 13px; text-decoration: underline; text-underline-offset: 3px;
}
.review dl { margin: 0; display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 10px 20px; font-size: 14.5px; }
.review dt { color: var(--muted); }
.review dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.review__empty { color: #a6aaa6; }
@media (max-width: 560px) { .review dl { grid-template-columns: 1fr; gap: 2px; } .review dd { margin-bottom: 10px; } }

/* ---------- nav ---------- */
.form__nav {
  display: flex; align-items: center; gap: 12px;
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.form__count { flex: 1; text-align: center; font-size: 12px; color: var(--muted); }
.no-js [data-prev], .no-js [data-next], .no-js .form__count { display: none; }
.no-js .form__nav { justify-content: flex-end; }
.btn {
  appearance: none; cursor: pointer;
  min-height: 50px; padding: 0 28px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: .08em;
  transition: background .15s, border-color .15s, opacity .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); outline-offset: 2px; }
.btn--primary { border: 1px solid var(--accent); background: var(--accent); color: #fff; }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, black); }
.btn--ghost { border: 1px solid var(--line-strong); background: #fff; }
.btn--ghost:hover { border-color: #b9b1a2; }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn[hidden] { display: none; }
@media (max-width: 560px) {
  .form__nav {
    position: sticky; bottom: 0;
    margin: 40px calc(-1 * clamp(20px, 5vw, 56px)) -32px;
    padding: 14px clamp(20px, 5vw, 56px) calc(14px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .btn { padding: 0 20px; }
  .form__count { display: none; }
  .form__nav [data-next], .form__nav [data-submit] { flex: 1; }
}

/* ---------- misc ---------- */
.notice { padding: 14px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 28px; }
.notice--error { background: color-mix(in srgb, var(--danger) 8%, white); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 25%, white); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.foot {
  margin-top: auto;
  padding: 48px 16px 40px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px;
  font-size: 12px; color: var(--muted);
}

/* ---------- thanks ---------- */
.sheet--thanks { margin: 0 auto; max-width: 560px; text-align: center; padding: 64px 32px; }
.thanks__mark {
  width: 64px; height: 64px; margin: 0 auto 28px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  position: relative;
}
.thanks__mark::after {
  content: ""; position: absolute; left: 24px; top: 17px;
  width: 14px; height: 24px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.thanks__title { margin: 0 0 16px; font-family: var(--serif); font-size: 24px; letter-spacing: .06em; }
.thanks__body { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- file drop ---------- */
.drop { width: 100%; }
.drop__input { display: block; width: 100%; font-size: 14px; }
.drop.is-enhanced .drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop__zone { display: none; }
.drop.is-enhanced .drop__zone {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 28px 16px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  background: #fbfaf7;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.drop.is-enhanced .drop__zone:hover,
.drop.is-over .drop__zone { border-color: var(--accent); background: var(--accent-soft); }
.drop__input:focus-visible + .drop__zone { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.drop__icon {
  width: 36px; height: 36px; margin-bottom: 8px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-line); position: relative;
}
.drop__icon::before, .drop__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--accent);
  width: 14px; height: 1.5px; transform: translate(-50%, -50%);
}
.drop__icon::after { width: 1.5px; height: 14px; }
.drop__title { font-weight: 500; color: var(--accent); }
.drop__sub { font-size: 13px; color: var(--muted); }
.drop__meta { margin-top: 6px; font-size: 12px; color: var(--muted); }
.drop.is-busy .drop__zone { opacity: .6; cursor: progress; }
.drop__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.drop__list:empty { display: none; }
.drop__item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-size: 14px;
}
.drop__thumb {
  width: 44px; height: 44px; border-radius: 6px; overflow: hidden;
  background: #efece6; display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: var(--muted);
}
.drop__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drop__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop__size { font-size: 12px; color: var(--muted); }
.drop__remove {
  border: 0; background: none; cursor: pointer; padding: 6px 4px;
  color: var(--danger); font-size: 13px; text-decoration: underline; text-underline-offset: 3px;
}
.has-error .drop__zone { border-color: color-mix(in srgb, var(--danger) 45%, white); }

/* =========================================================
   報告ページ(/r/<slug>/<key>)。フォームと同じ見出し・紙色・アクセントを使う
   ========================================================= */
.masthead--report { padding-bottom: 104px; }
.masthead__client {
  margin: 22px 0 0;
  font-family: var(--serif); font-size: clamp(18px, 3.4vw, 22px); font-weight: 500;
  letter-spacing: .08em;
}
.sheet--report { width: min(1040px, calc(100% - 32px)); padding-top: 44px; padding-bottom: 48px; }
.report__lead { max-width: 44em; margin-bottom: 8px; }
.report__lead-text { margin: 0 0 1em; font-size: 15.5px; line-height: 2; }

.rsec { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); min-width: 0; }
.report__lead + .rsec { margin-top: 32px; }
.rsec__title {
  margin: 0 0 18px;
  font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.5; letter-spacing: .06em;
  display: flex; align-items: center; gap: 14px;
}
.rsec__title::before { content: ""; flex: none; width: 4px; height: 1.1em; background: var(--accent); border-radius: 2px; }
.rsec__lead, .rsec__text { margin: 0 0 14px; font-size: 15px; }
.rsec__lead { color: var(--muted); font-size: 14px; }
.rsec__note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }

/* 視点 */
.views { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 12px; }
.views__item { display: flex; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fbfaf7; min-width: 0; }
.views__no { flex: none; font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--accent); }
.views__name { margin: 0; font-weight: 500; }
.views__desc { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* パターンのタブ(JS なしではページ内リンク) */
.ptabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.ptab {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 6px 18px 6px 8px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: #fff;
  color: inherit; text-decoration: none; font-size: 14.5px;
  transition: border-color .15s, background .15s, color .15s;
  max-width: 100%;
}
.ptab:hover { border-color: #b9b1a2; }
.ptab:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); outline-offset: 2px; }
.ptab__id {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--serif); font-weight: 700;
}
.ptab__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptab[aria-current="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.ptab[aria-current="true"] .ptab__id { background: #fff; }

/* パターン */
.pattern { scroll-margin-top: 16px; }
.pattern + .pattern { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.pattern[hidden] { display: none; }
.pattern__head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.pattern__id {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-family: var(--serif); font-size: 24px; font-weight: 700;
}
.pattern__kicker { margin: 0; font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.pattern__title { margin: 0; font-family: var(--serif); font-size: clamp(20px, 3.6vw, 26px); font-weight: 700; line-height: 1.45; letter-spacing: .05em; word-break: auto-phrase; }
.pattern__concept { max-width: 46em; }
.pattern__text { margin: 0 0 12px; font-size: 15px; line-height: 1.95; }

.finishes { margin: 18px 0 0; border-top: 1px solid var(--line); }
.finishes__row { display: grid; grid-template-columns: minmax(84px, 20%) minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.finishes dt { color: var(--accent); font-weight: 500; }
.finishes dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .finishes__row { grid-template-columns: 1fr; gap: 0; } }

.pattern__tools { display: flex; justify-content: flex-end; margin: 24px 0 -8px; }
.compare { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; user-select: none; min-height: 44px; }
.compare input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.compare__switch {
  flex: none; position: relative; width: 40px; height: 22px; border-radius: 999px;
  background: var(--line-strong); transition: background .15s;
}
.compare__switch::after {
  content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s;
}
.compare input:checked + .compare__switch { background: var(--accent); }
.compare input:checked + .compare__switch::after { transform: translateX(18px); }
.compare input:focus-visible + .compare__switch { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }

/* ギャラリー(1 視点 1 枚。比較を ON にすると 3D モデルを並べる) */
.gallery { display: grid; gap: 36px; margin-top: 24px; }
.shot { margin: 0; min-width: 0; }
.shot__pair { display: grid; gap: 12px; }
.shot__frame {
  position: relative; display: block; overflow: hidden;
  border-radius: 10px; background: #e9e5dd; cursor: zoom-in;
}
.shot__frame img { display: block; width: 100%; height: auto; transition: transform .4s ease; }
.shot__frame:hover img { transform: scale(1.012); }
.shot__frame:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 2px; }
.shot__frame--model { display: none; }
.pattern:has([data-compare]:checked) .shot__frame--model { display: block; }
@media (min-width: 760px) {
  .pattern:has([data-compare]:checked) .shot--has-model .shot__pair { grid-template-columns: 1fr 1fr; }
}
.shot__tag {
  position: absolute; left: 10px; top: 10px; z-index: 1;
  padding: 2px 10px; border-radius: 999px;
  background: rgba(29,33,31,.72); color: #fff; font-size: 11.5px; letter-spacing: .08em;
}
.shot__caption { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 14px; }
.shot__view { font-family: var(--serif); font-weight: 700; font-size: 16px; letter-spacing: .05em; }
.shot__note { color: var(--muted); font-size: 13.5px; }

/* 確認事項・留意事項 */
.checklist, .notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li {
  position: relative; padding: 12px 16px 12px 44px;
  border: 1px solid var(--line); border-radius: 10px; background: #fbfaf7; font-size: 14.5px;
}
.checklist li::before {
  content: ""; position: absolute; left: 16px; top: 17px; width: 14px; height: 14px;
  border: 1.5px solid var(--accent-line); border-radius: 4px; background: #fff;
}
.notes li { position: relative; padding-left: 18px; font-size: 14px; color: var(--muted); }
.notes li::before { content: "※"; position: absolute; left: 0; }
.rsec--contact .rsec__text { font-size: 14.5px; }

/* 全画面表示 */
.viewer {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(14,17,15,.94); color: #fff;
}
.viewer::backdrop { background: rgba(14,17,15,.94); }
.viewer[open] { display: grid; place-items: center; }
.is-viewing { overflow: hidden; }
.viewer__figure { margin: 0; width: 100%; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; padding: 56px 12px 16px; }
.viewer__img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.viewer__caption { padding: 12px 16px 4px; font-size: 13.5px; text-align: center; opacity: .85; }
.viewer__close, .viewer__btn {
  position: absolute; border: 0; cursor: pointer; color: #fff;
  background: rgba(255,255,255,.12); border-radius: 50%;
  width: 48px; height: 48px; font-size: 28px; line-height: 1;
  display: grid; place-items: center;
}
.viewer__close { right: 12px; top: 12px; }
.viewer__btn { top: 50%; transform: translateY(-50%); }
.viewer__btn--prev { left: 10px; }
.viewer__btn--next { right: 10px; }
.viewer__btn[hidden] { display: none; }
.viewer__close:hover, .viewer__btn:hover { background: rgba(255,255,255,.22); }
.viewer__close:focus-visible, .viewer__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media print {
  .masthead { background-image: none; }
  .ptabs, .pattern__tools, .viewer { display: none !important; }
  .pattern[hidden] { display: block !important; }
  .shot__frame--model { display: block; }
}
