/* physio-booking お客側。テーマの文字と色を継承し、強調色だけ変数で持つ */
.pb-app { --pb-accent: #2b6cb0; --pb-accent-ink: #fff; --pb-line: #d9dde3; --pb-bg: #fff; --pb-soft: #f3f5f8; --pb-ink: inherit; --pb-muted: #6b7280; --pb-ng: #c0392b;
	max-width: 560px; margin: 0 auto; color: var(--pb-ink); position: relative; background: var(--pb-bg); border: 1px solid var(--pb-line); border-radius: 10px; padding: 20px 16px 22px; box-sizing: border-box; }
.pb-app h3.pb-h, .pb-app h3.pb-h-chips { border: 0 !important; background: none !important; padding: 0 !important; box-shadow: none !important; }
.pb-app h3.pb-h::before, .pb-app h3.pb-h::after, .pb-app h3.pb-h-chips::before, .pb-app h3.pb-h-chips::after { content: none !important; display: none !important; }
.pb-inner { position: relative; }
.pb-steps { display: flex; list-style: none; margin: 0 0 18px; padding: 0; gap: 4px; counter-reset: s; }
.pb-step { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--pb-muted); border-bottom: 3px solid var(--pb-line); padding-bottom: 6px; }
.pb-step-n { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; align-items: center; justify-content: center; background: var(--pb-line); color: #fff; font-size: 11px; font-weight: 700; }
.pb-step.is-current { color: var(--pb-accent); border-color: var(--pb-accent); }
.pb-step.is-current .pb-step-n, .pb-step.is-done .pb-step-n { background: var(--pb-accent); }
.pb-step.is-done { border-color: var(--pb-accent); }
@media (max-width: 420px) { .pb-step-t { display: none; } .pb-step.is-current .pb-step-t { display: inline; } }
.pb-app .pb-h { font-size: 16px; font-weight: 600; margin: 0 0 14px; line-height: 1.5; color: var(--pb-ink); }
.pb-error { background: #fdecea; color: var(--pb-ng); border: 1px solid #f5c2c0; padding: 10px 12px; border-radius: 6px; margin: 0 0 12px; font-size: 14px; }
.pb-pick { background: var(--pb-soft); border-radius: 6px; padding: 8px 12px; margin: 0 0 14px; font-size: 14px; line-height: 1.6; }
.pb-muted { color: var(--pb-muted); }
.pb-busy { position: absolute; inset: 0; background: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--pb-muted); }
.pb-loading { color: var(--pb-muted); font-size: 14px; }
.pb-note, .pb-desc { font-size: 13px; color: var(--pb-muted); margin: 10px 0 0; line-height: 1.6; }
.pb-desc a { color: var(--pb-accent); }

.pb-cat { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; margin: 0 0 8px; padding: 0 14px; border: 1px solid var(--pb-line); border-radius: 8px; background: var(--pb-bg); font: inherit; font-size: 16px; font-weight: 600; color: inherit; text-align: left; cursor: pointer; }
.pb-cat.is-open { border-color: var(--pb-accent); color: var(--pb-accent); margin-bottom: 6px; }
.pb-cat-name { flex: 1; }
.pb-cat-meta { font-size: 12px; font-weight: 400; color: var(--pb-muted); white-space: nowrap; }
.pb-cat-arrow { font-size: 14px; color: var(--pb-muted); }
.pb-cat.is-open .pb-cat-arrow { color: var(--pb-accent); }
.pb-cat-items { padding: 0 0 10px 10px; border-left: 3px solid var(--pb-accent); margin: 0 0 12px 6px; }
.pb-cat-items .pb-card { margin-bottom: 8px; }
.pb-card { border: 1px solid var(--pb-line); border-radius: 8px; background: var(--pb-bg); margin: 0 0 8px; overflow: hidden; }
.pb-card.is-selected { border-color: var(--pb-accent); box-shadow: 0 0 0 1px var(--pb-accent) inset; }
.pb-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; padding: 12px 14px; cursor: pointer; font: inherit; color: inherit; min-height: 48px; }
.pb-card-name { font-weight: 600; font-size: 15px; min-width: 0; }
.pb-card-sub { font-size: 12px; font-weight: 700; color: #374151; white-space: nowrap; margin-left: 2px; }
.pb-card-head { gap: 6px; }
.pb-card-meta { font-size: 13px; color: var(--pb-muted); white-space: nowrap; }
.pb-card-arrow { font-size: 14px; color: var(--pb-muted); }
.pb-card.is-selected .pb-card-arrow { color: var(--pb-accent); }
.pb-app .pb-card-detail { padding: 12px 14px 14px; border-top: 1px dashed var(--pb-line); }
.pb-app .pb-card-detail > :first-child { margin-top: 0; }
.pb-card.is-paused { background: var(--pb-soft); border-style: dashed; color: var(--pb-muted); }
.pb-card-head-static { cursor: default; }
.pb-paused-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 3px; background: var(--pb-line); color: var(--pb-muted); vertical-align: 2px; margin-left: 4px; }
.pb-card.is-paused .pb-card-detail { padding-top: 8px; padding-bottom: 12px; }
.pb-card.is-paused .pb-card-meta { white-space: normal; text-align: right; }
.pb-app .pb-card-detail .pb-desc { margin: 10px 0 0; }
.pb-app .pb-option { display: block; font-size: 14px; margin: 10px 0 0; }
.pb-app .pb-card-detail .pb-btn { margin-top: 12px; }

.pb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--pb-accent); background: var(--pb-bg); color: var(--pb-accent); font: inherit; font-size: 15px; cursor: pointer; }
.pb-btn-primary { background: var(--pb-accent); color: var(--pb-accent-ink); font-weight: 600; }
.pb-btn-ghost { border-color: var(--pb-line); color: var(--pb-muted); }
.pb-btn[disabled] { opacity: .45; cursor: default; }
.pb-actions { display: flex; gap: 10px; justify-content: space-between; margin-top: 16px; flex-wrap: wrap; }
.pb-actions .pb-btn-primary { margin-left: auto; }

.pb-cal-nav { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; }
.pb-cal-nav .pb-btn { min-width: 44px; padding: 0; }
.pb-cal-title { font-weight: 600; font-size: 16px; }
.pb-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pb-cal-w { text-align: center; font-size: 12px; color: var(--pb-muted); padding: 4px 0; }
.pb-cal-d { position: relative; aspect-ratio: 1 / 1; min-height: 42px; border-radius: 8px; border: 1px solid var(--pb-line); background: var(--pb-bg); font: inherit; font-size: 15px; color: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pb-cal-d.is-empty { border: 0; background: none; }
.pb-cal-d.is-ng { color: #b8bec7; background: var(--pb-soft); border-color: transparent; cursor: default; }
.pb-cal-d.is-full { color: #9ca3af; background: var(--pb-bg); border-color: var(--pb-line); border-style: dashed; cursor: default; }
.pb-full-mark { position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); font-size: 9px; line-height: 1; font-style: normal; font-weight: 700; color: #c0392b; letter-spacing: 0; }
.pb-full-legend { position: static; transform: none; display: inline-block; vertical-align: middle; margin: 0 2px 2px 0; }
.pb-ng-legend { display: inline-block; width: 10px; height: 10px; background: var(--pb-soft); border-radius: 2px; vertical-align: middle; margin: 0 3px 2px 0; }
.pb-cal-d.is-ok { border-color: var(--pb-accent); font-weight: 600; }
.pb-cal-d.is-selected { background: var(--pb-accent); color: var(--pb-accent-ink); }
.pb-cal-w.is-sun, .pb-cal-d.is-ok.is-sun { color: #c0392b; } .pb-cal-w.is-sat, .pb-cal-d.is-ok.is-sat { color: #2b6cb0; }
.pb-cal-d.is-selected.is-sun, .pb-cal-d.is-selected.is-sat { color: var(--pb-accent-ink); }
.pb-dot { position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: currentColor; }
.pb-cal-d.is-few .pb-dot { background: #e67e22; width: 7px; height: 7px; margin-left: -3.5px; bottom: 4px; }
.pb-cal-d.is-few.is-selected .pb-dot { background: #ffd8a8; }
.pb-cal-legend { margin-top: 8px; }
.pb-dot-legend { position: static; display: inline-block; width: 6px; height: 6px; margin: 0 2px 1px 0; border-radius: 50%; background: var(--pb-accent); vertical-align: middle; }
.pb-dot-legend.is-few { background: #e67e22; width: 7px; height: 7px; }

.pb-chips-wrap { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--pb-line); }
.pb-h-chips { font-size: 15px; }
.pb-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.pb-chip { min-height: 46px; border-radius: 8px; border: 1px solid var(--pb-accent); background: var(--pb-bg); color: var(--pb-accent); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.pb-chip.is-selected { background: var(--pb-accent); color: var(--pb-accent-ink); }

.pb-form .pb-field { display: block; margin: 0 0 12px; }
.pb-form .pb-field span { display: block; font-size: 13px; margin: 0 0 4px; }
.pb-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--pb-line); border-radius: 8px; background: var(--pb-bg); resize: vertical; min-height: 84px; }
.pb-app .pb-summary td { white-space: pre-line; }
.pb-form input[type=text], .pb-form input[type=email] { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--pb-line); border-radius: 8px; background: var(--pb-bg); }
.pb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pb-app .pb-summary { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; border: 0; background: transparent; table-layout: auto; }
.pb-app .pb-summary tr { background: transparent; }
.pb-app .pb-summary th, .pb-app .pb-summary td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--pb-line); background: transparent; text-align: left; vertical-align: top; line-height: 1.6; }
.pb-app .pb-summary th { width: 6em; color: var(--pb-muted); font-weight: 500; white-space: nowrap; padding-left: 0; }
.pb-app .pb-summary td { word-break: break-word; }
.pb-done .pb-h { color: var(--pb-accent); }
.pb-policy { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--pb-line); }
.pb-policy .pb-note { margin: 6px 0 0; }

/* 予約ページに置く補足（お問い合わせ等）。フォームと同じ幅で中央・小さめ */
.pb-page-note { max-width: 560px; margin: 36px auto 0; padding: 18px 20px; border: 1px solid var(--pb-line, #d9dde3); border-radius: 10px; background: var(--pb-soft, #f3f5f8); font-size: 14px; line-height: 1.85; color: #1f2937; box-sizing: border-box; }
.pb-page-note h3, .pb-page-note h3.wp-block-heading { font-size: 15px; font-weight: 700; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; background: none !important; color: #1f2937; letter-spacing: .02em; }
.pb-page-note h3::before, .pb-page-note h3::after { content: none !important; display: none !important; }
.pb-page-note h3 + p { margin-top: 0; }
.pb-page-note p { margin: 0 0 10px; }
.pb-page-note p:last-child { margin-bottom: 0; }
.pb-page-note a { color: #2b6cb0; text-decoration: underline; }
.pb-page-note.pb-page-note-top { margin: 0 auto 28px; background: #fff8e6; border-color: #f0dca8; color: #1f2937; }
.pb-page-note.pb-page-note-top h3 { color: #7a5c0f; }
