/* 共通のデザイン。スクールごとのデザイン（色・文字・角の丸み）は {slug}/theme.css が変数を上書きする（App\Domain\Design）。
   --on-accent＝メインの色の上の文字色／--accent-text＝文字として使うメインの色（どちらも読みやすさを確かめた値） */
:root {
  --accent: #e9709c;
  --on-accent: #ffffff;
  --accent-text: #b8336a;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo", system-ui, sans-serif;
  --ink: #1f2547;
  --ink-soft: #4b5280;
  --muted: #5f6589;
  --ground: #f7f6fb;
  --paper: #ffffff;
  --line: #e2e0ea;
  --danger: #b3203c;
  --danger-soft: #fdecef;
  --ok: #1f6b48;
  --ok-soft: #dff5ea;
  --warn-soft: #fff2c2;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); overflow-wrap: anywhere;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo", system-ui, sans-serif; font-size: 16px; line-height: 1.75; }
body.area-site { font-family: var(--font); }

a { color: var(--accent-text); }
img { max-width: 100%; }
.main { max-width: 860px; margin: 0 auto; padding: 20px 16px 48px; }

/* ヘッダー */
.site-header, .admin-header, .platform-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 10px 16px; background: var(--paper); border-bottom: 3px solid var(--accent); position: sticky; top: 0; z-index: 10; }
.brand { text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-name { font-weight: 800; font-size: 18px; }
.badge { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--ink); color: #fff; white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; padding: 8px 10px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 99px; }
.nav a:hover { background: color-mix(in srgb, var(--accent) 15%, transparent); }
.nav a.nav-cta { background: var(--accent); color: var(--on-accent); }
.preview-bar { margin: 0; padding: 6px 16px; background: var(--warn-soft); font-size: 13px; text-align: center; }
.admin-menu { background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 12px; }
.admin-menu ul { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; display: flex; flex-wrap: wrap; gap: 6px; }
.admin-menu a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line);
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 13px; background: var(--ground); white-space: nowrap; }
.admin-menu a.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* 文字 */
.page-title { font-size: 24px; margin: 6px 0 12px; line-height: 1.35; }
.section-title { font-size: 18px; margin: 28px 0 10px; padding-left: 10px; border-left: 5px solid var(--accent); }
.card-title { font-size: 16px; margin: 4px 0 8px; font-weight: 800; }
.card-title small { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 4px; }
.card-subtitle { font-weight: 700; margin: 12px 0 4px; font-size: 14px; }
.lead { color: var(--ink-soft); margin: 0 0 12px; }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0; }
.empty { color: var(--muted); padding: 12px 0; }
.center { text-align: center; }
.eyebrow { margin: 0; font-weight: 800; font-size: 13px; color: var(--accent-text); letter-spacing: .08em; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* 部品 */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 12px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 99px;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; }
.btn:hover { background: color-mix(in srgb, var(--accent) 12%, var(--paper)); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, #1f2547); outline-offset: 2px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.btn-primary[disabled] { opacity: .45; cursor: not-allowed; }
.btn-danger { border-color: var(--danger); color: var(--danger); }
.btn-on { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-xs { min-height: 34px; padding: 0 10px; font-size: 12px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; margin-top: 12px; }
.inline { display: inline; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 9px; border-radius: 99px; background: #eef0f6; color: var(--ink-soft); }
.tag-closed { background: var(--danger-soft); color: var(--danger); }
.tag-ok { background: var(--ok-soft); color: var(--ok); }
.tag-warn { background: var(--warn-soft); color: #7a5a00; }
.tag-trial { background: color-mix(in srgb, var(--accent) 18%, #fff); color: var(--ink); }
.flash { border-radius: 12px; padding: 10px 14px; margin: 10px 0; font-weight: 600; }
.flash-success { background: var(--ok-soft); color: var(--ok); }
.flash-info { background: #e6f0fb; color: #1d4f8c; }
.flash-error { background: var(--danger-soft); color: var(--danger); }
.flash ul { margin: 0; padding-left: 1.2em; }
.notice { background: var(--warn-soft); border-radius: 12px; padding: 10px 14px; margin: 10px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.copy-field { width: 100%; margin-top: 6px; font: inherit; font-size: 14px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 8px; }
.plain-list { list-style: none; padding: 0; margin: 8px 0; }
.plain-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.plain-list small { color: var(--muted); margin-left: 6px; }

/* フォーム */
.form label { display: block; font-weight: 700; margin: 12px 0 0; font-size: 14px; }
.form label small { font-weight: 400; color: var(--muted); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=password], .form input[type=number], .form input[type=url],
.form input[type=time], .form input[type=date], .form select, .form textarea, .search input, .inline-form input, .sub-form input, .pick select {
  display: block; width: 100%; margin-top: 4px; font: inherit; font-size: 16px; color: var(--ink); padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.form input[type=date], .form input[type=time] { -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%; min-height: 48px; text-align: left; }
.form input[type=color] { display: block; margin-top: 4px; width: 80px; height: 44px; border: 2px solid var(--line); border-radius: 10px; padding: 2px; background: #fff; }
.form label.check { display: flex; align-items: center; gap: 8px; margin: 10px 0; cursor: pointer; }
.form label.check input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.form textarea { resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.input-prefix { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-weight: 400; color: var(--muted); font-size: 13px; }
.input-prefix input { flex: 1; min-width: 140px; }
.hp { position: absolute; left: -9999px; }
.child-box { border: 2px dashed var(--line); border-radius: 12px; padding: 8px 12px; margin: 8px 0; }
.child-box summary { cursor: pointer; font-weight: 700; }
details.card summary { cursor: pointer; font-weight: 700; }
details.card[open] summary { margin-bottom: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-row form { margin: 0; }
.tabs { display: flex; gap: 6px; margin: 4px 0 12px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 8px 14px; border-radius: 10px 10px 0 0; text-decoration: none; color: var(--ink-soft); font-weight: 700; border: 1px solid transparent; border-bottom: 0; margin-bottom: -1px; }
.tabs a.on { background: var(--paper); color: var(--ink); border-color: var(--line); }
.info { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 8px 0; }
.info dt { color: var(--muted); font-size: 13px; }
.info dd { margin: 0; word-break: break-all; }
.danger-zone { border-color: var(--danger); }
.temp-pw { border: 2px solid var(--accent); }
.temp-pw-value { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 26px; font-weight: 700; letter-spacing: 2px; margin: 6px 0; user-select: all; }
.howto { margin: 0 0 12px; padding-left: 1.4em; line-height: 1.8; }
.mail-status { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.mail-status.on { background: #e3f6ea; color: #1d6b3a; }
.mail-status.off { background: #fdeaea; color: #9b2222; }
.mail-log { width: 100%; border-collapse: collapse; font-size: 13px; }
.mail-log th, .mail-log td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line, #e6e8ee); vertical-align: top; }
.mail-log .nw { white-space: nowrap; }
.mail-log .err { color: #9b2222; font-size: 12px; word-break: break-all; }
@media (max-width: 600px) { .mail-log .col-to { display: none; } }
.terms-box { max-height: 240px; overflow-y: auto; border: 2px solid var(--line); border-radius: 12px; padding: 4px 14px; font-size: 13px; background: #fbfbfe; }
.terms-editor { width: 100%; min-height: 360px; font-size: 14px; line-height: 1.7; }
.terms-box h3, .terms-page h3 { font-size: 14px; margin: 14px 0 4px; }
.terms-heading { font-size: 17px; text-align: center; margin: 12px 0 4px; }
.search { display: flex; gap: 8px; margin: 10px 0; }
.search input { margin: 0; }
.search .btn, .inline-form .btn { white-space: nowrap; flex: none; }
.inline-form { display: flex; gap: 8px; margin: 8px 0; }
.inline-form input { margin: 0; }
.sub-form { display: flex; align-items: flex-end; gap: 8px; margin: 8px 0; }
.sub-form label { flex: 1; font-size: 13px; font-weight: 700; }
.pick { border-bottom: 1px dashed var(--line); padding: 8px 0; }
fieldset.pick { border: 0; border-bottom: 1px dashed var(--line); margin: 0; padding: 8px 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
fieldset.pick legend { font-weight: 700; padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.chip-list { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: var(--ground); border: 1px solid var(--line); border-radius: 99px; padding: 2px 4px 2px 12px; font-size: 14px; }
.chip-x { border: 0; background: transparent; font-size: 16px; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; color: var(--muted); }
.plan-pick span small { color: var(--muted); margin-left: 6px; }
.plan-part[hidden] { display: none; }
.end-box { margin-top: 8px; }
.end-box summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* サービスのトップ・スクールのトップ */
.hero { text-align: center; padding: 24px 0 8px; }
.hero-left { text-align: left; }
.hero-left .cta-row { justify-content: flex-start; }
.hero-band { background: var(--accent); color: var(--on-accent); border-radius: var(--radius); padding: 28px 18px 22px; margin-top: 16px; }
.hero-band .hero-title, .hero-band .hero-tagline, .hero-band .lead { color: var(--on-accent); }
.hero-band .btn-primary { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.hero-band .btn:not(.btn-primary) { background: transparent; color: var(--on-accent); border-color: var(--on-accent); }
/* デザインの案（管理画面の見本）：.dp-0〜2 に theme.css?drafts=1 が変数を入れる */
.design-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.design-sample { background: var(--ground); color: var(--ink); font-family: var(--font); border-radius: var(--radius); border: 1px solid var(--line); padding: 14px; }
.design-sample .ds-band { background: var(--accent); color: var(--on-accent); border-radius: calc(var(--radius) * .7); padding: 10px 12px; }
.design-sample .ds-title { font-size: 19px; font-weight: 800; margin: 0; }
.design-sample .ds-tag { margin: 2px 0 0; font-weight: 700; }
.design-sample .ds-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-top: 10px; font-size: 14px; }
.design-sample .ds-btn { display: inline-block; margin-top: 8px; padding: 6px 14px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 13px; }
.swatches { display: flex; gap: 6px; margin: 8px 0 0; }
.sw-accent { background: var(--accent); }
.sw-ground { background: var(--ground); }
.sw-paper { background: var(--paper); }
.sw-ink { background: var(--ink); }
.design-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; padding: 8px 12px; }
.design-bar form { margin: 0; }
.swatches span { width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(0,0,0,.15); }

.hero-title { font-size: 28px; line-height: 1.35; margin: 8px 0; }
.hero-tagline { font-size: 18px; font-weight: 700; color: var(--accent-text); margin: 0 0 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 16px 0; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.price-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.price-item { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.price-name { font-weight: 800; margin: 0; }
.price { font-size: 24px; font-weight: 800; margin: 0; font-variant-numeric: tabular-nums; }
.price small { font-size: 13px; color: var(--muted); }
.price-simple p { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0; }
.price-simple strong { font-variant-numeric: tabular-nums; }
.schedule { display: grid; gap: 12px; }
.schedule-day { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.schedule-day-title { margin: 0; padding: 6px 14px; font-size: 16px; color: var(--on-accent); background: var(--accent); }
.schedule-class { display: flex; gap: 12px; padding: 10px 14px; border-top: 1px dashed var(--line); }
.schedule-class:first-of-type { border-top: 0; }
.schedule-class p { margin: 0; }
.schedule-time { font-weight: 800; white-space: nowrap; min-width: 92px; font-size: 14px; }
.schedule-title { font-weight: 800; }
.schedule-desc { font-size: 13px; }
.teacher-catch { color: var(--accent-text); font-weight: 700; }
.register-cta { text-align: center; background: color-mix(in srgb, var(--accent) 15%, #fff); }

/* 予約の一覧 */
.day { margin: 16px 0; }
.day-title { font-size: 17px; margin: 0 0 8px; }
.wd-0 { color: #c2185b; } .wd-6 { color: #1d5fb8; }
.lesson-card { display: flex; gap: 12px; align-items: center; justify-content: space-between; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 8px 0; }
.lesson-card.is-off { opacity: .6; }
.lesson-body { min-width: 0; }
.lesson-body p { margin: 0; }
.lesson-time { font-weight: 800; }
.lesson-time span { font-weight: 400; color: var(--muted); font-size: 13px; }
.lesson-title { margin: 2px 0; font-size: 16px; }
.lesson-mine { color: var(--ok); font-weight: 700; font-size: 13px; }
.lesson-action { flex: none; }
.lesson-summary .summary-date, .summary-date { font-weight: 800; margin: 0; }
.summary-title { font-size: 20px; margin: 2px 0; }
.res-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 8px 0; }
.res-card p { margin: 2px 0; }
.res-date { font-weight: 800; }
.res-title { font-size: 16px; font-weight: 700; }

/* 管理：レッスン一覧 */
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.lesson-list { display: grid; gap: 8px; }
.lesson-row { display: grid; grid-template-columns: auto 120px 1fr auto auto; gap: 10px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.lesson-row.is-today { background: #fffbe6; }
.lesson-row.is-closed { opacity: .7; }
.lr-when { display: flex; flex-direction: column; line-height: 1.4; }
.lr-when span { font-size: 13px; color: var(--muted); }
.lr-title small { color: var(--muted); }
.lr-count { white-space: nowrap; font-size: 14px; }
.switch { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; min-width: 84px; padding: 4px 10px 4px 4px; border-radius: 99px; border: 2px solid var(--ink);
  background: #eef0f6; font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; color: var(--ink); }
.switch-knob { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); flex: none; }
.switch.is-on { background: var(--ok-soft); flex-direction: row-reverse; padding: 4px 4px 4px 10px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.stats div { border: 1px solid var(--line); border-radius: 12px; text-align: center; padding: 4px; }
.stats span { display: block; font-size: 12px; color: var(--muted); }
.stats strong { font-size: 22px; }
.due-total { margin: 8px 0 0; font-weight: 700; }
.due-total strong { font-size: 20px; color: var(--danger); }
.roster { display: grid; gap: 8px; }
.roster-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.roster-card.is-off { opacity: .6; }
.roster-card.att-present { border-left: 6px solid var(--ok); }
.roster-card.att-absent { border-left: 6px solid var(--danger); }
.roster-name { font-weight: 800; margin: 0; }
.roster-name small { font-weight: 400; color: var(--muted); }
.roster-meta { margin: 4px 0; font-size: 13px; color: var(--ink-soft); }
.roster-note { margin: 4px 0; font-size: 13px; background: var(--warn-soft); border-radius: 8px; padding: 4px 8px; }
.roster-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.fee { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 99px; background: var(--warn-soft); font-size: 13px; font-weight: 700; }
.fee strong { margin-left: 4px; }
.fee.is-paid { background: #eef0f6; color: var(--muted); }
.fee.is-paid strong { text-decoration: line-through; }

/* 立ち上げの手順 */
.steps { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.step a { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.step a:hover { border-color: var(--accent); }
.step-no { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #eef0f6; }
.step.is-done .step-no { background: var(--ok); color: #fff; }
.step-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.step-body small { color: var(--muted); }
.step-go { font-size: 22px; color: var(--muted); }

.footer { text-align: center; padding: 20px 16px 32px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.footer p { margin: 4px 0; }
.footer-small { font-size: 12px; }

/* 処理中の表示 */
.loading-overlay { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(247, 246, 251, .8); }
.loading-overlay.is-on { display: flex; }
.loading-box { background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 16px 22px; text-align: center; font-weight: 800; }
.loading-dots { display: inline-flex; gap: 6px; }
.loading-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); animation: hop .9s ease-in-out infinite; }
.loading-dots i:nth-child(2) { animation-delay: .15s; } .loading-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .loading-dots i { animation: none; } }

@media (max-width: 640px) {
  .page-title { font-size: 21px; }
  .hero-title { font-size: 23px; }
  .lesson-row { grid-template-columns: auto 1fr auto; grid-template-areas: "sw when act" "title title title" "count count count"; }
  .lr-switch { grid-area: sw; } .lr-when { grid-area: when; } .lr-act { grid-area: act; } .lr-title { grid-area: title; font-weight: 700; } .lr-count { grid-area: count; }
  .grid-2 { grid-template-columns: 1fr; }
  .brand-name { font-size: 16px; }
  .nav a { font-size: 13px; padding: 6px 8px; }
}
/* 表（出欠表・売上） */
.table-wrap { overflow-x: auto; margin: 10px 0; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.table th, .table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line, #e6e8ee); vertical-align: top; }
.table th { font-size: 12px; color: var(--muted, #666); font-weight: 600; white-space: nowrap; }
/* スペースの登録 */
.row-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0 14px; }
fieldset.checks { border: 0; margin: 10px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
fieldset.checks legend, fieldset.choice-list legend { font-weight: 700; padding: 0; margin-bottom: 4px; }
fieldset.checks label.check { margin: 4px 0; }
/* SPOT の登録（1行ずつの入力・入力アシスト） */
.req { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: #b3261e; color: #fff; font-size: 11px; font-weight: 700; vertical-align: middle; }
.sub-title { font-size: 15px; margin: 18px 0 4px; }
fieldset.line-list { border: 0; padding: 0; margin: 12px 0; display: grid; gap: 6px; }
fieldset.line-list legend { font-weight: 700; padding: 0; margin-bottom: 4px; }
fieldset.line-list .btn { justify-self: start; }
details.assist summary { cursor: pointer; }
details.assist summary::marker { color: var(--muted, #666); }
/* PLACE の使える時間 */
.hours-grid { display: grid; gap: 6px; margin: 6px 0 12px; }
.hours-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hours-row .hours-day { width: 1.6em; font-weight: 700; }
.hours-row input[type=time] { width: 8.5em; }
.hours-row label.check { margin: 0 0 0 6px; }
.hours-list { grid-template-columns: 2em 1fr; }

/* その場の入力チェック（app.js）：欄の下に足りないことを出す */
.field-error { display: block; margin: 4px 0 0; font-size: 13px; font-weight: 700; color: var(--danger); }
[aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 2px color-mix(in srgb, var(--danger) 18%, transparent); }
.form-summary { grid-column: 1 / -1; flex-basis: 100%; margin: 0 0 14px; padding: 10px 14px; border: 1.5px solid var(--danger); background: var(--danger-soft); color: var(--danger); font-size: 14px; font-weight: 700; border-radius: 8px; }
.form-summary a { color: inherit; }
.field-status { margin: 6px 0 12px; font-size: 13px; font-weight: 700; }
.field-status.is-ng { color: var(--danger); }
.field-status.is-ok { color: var(--ok); }
.check-list { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; gap: 6px; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.check-list li small { display: block; color: var(--danger); font-weight: 700; }
.check-list .check-mark { flex: none; width: 22px; height: 22px; display: inline-grid; place-items: center; font-weight: 800; border-radius: 50%; }
.check-list .is-ok .check-mark { background: var(--ok-soft); color: var(--ok); }
.check-list .is-ng .check-mark { background: var(--danger-soft); color: var(--danger); }
.check-list .check-go { margin-left: auto; font-size: 13px; font-weight: 700; white-space: nowrap; }
.flash-warn { background: var(--warn-soft); color: #6b4f00; }
