/* =========================================================
 * Fullpark Partner マイページ
 * テーマ：.fp-theme-clean（A スタンダード）/ .fp-theme-soft（B やわらか）/ .fp-theme-sign（C パーキングサイン）
 * ======================================================= */
.fp-app {
	--fp-font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
	--fp-ink: #16263a;
	--fp-sub: #5b6b7d;
	--fp-line: #e3e8ef;
	--fp-bg: #f4f6f9;
	--fp-card: #fff;
	--fp-card-border: #e3e8ef;
	--fp-shadow: 0 1px 2px rgba(15, 35, 60, .05);
	--fp-shadow-hover: 0 8px 24px rgba(15, 35, 60, .10);
	--fp-radius: 14px;
	--fp-radius-sm: 9px;
	--fp-btn-radius: 9px;
	--fp-header-bg: #0f2a44;
	--fp-header-ink: #fff;
	--fp-header-sub: rgba(255, 255, 255, .72);
	--fp-nav-active: #7cb7ff;
	--fp-logo-bg: #fff;
	--fp-logo-ink: #0f2a44;
	--fp-accent: #2563eb;
	--fp-accent-hover: #1d4fc4;
	--fp-accent-soft: #eaf1fe;
	--fp-green: #0f8a5f;
	--fp-green-bg: #e2f4ec;
	--fp-blue: #2563eb;
	--fp-blue-bg: #e6eefd;
	--fp-red: #c8382e;
	--fp-red-bg: #fbe9e7;
	--fp-amber: #a86500;
	--fp-amber-bg: #fdf1dc;
	--fp-gray: #6f7c8b;
	--fp-gray-bg: #eef1f5;
	--fp-occ: #7c8794;
	--fp-sel: #ffb400;
	--fp-pin-hole: #fff;
	--fp-h-weight: 700;
	--fp-input-border: #cbd4df;
	color: var(--fp-ink);
	font-family: var(--fp-font);
	font-size: 15px;
	line-height: 1.75;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}

/* ---------- B やわらか ---------- */
.fp-app.fp-theme-soft {
	--fp-font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--fp-ink: #23372f;
	--fp-sub: #6e7b72;
	--fp-line: #ece5d8;
	--fp-bg: #f5f1e9;
	--fp-card: #fffdf8;
	--fp-card-border: #eee7da;
	--fp-shadow: 0 10px 28px rgba(90, 70, 30, .06);
	--fp-shadow-hover: 0 14px 34px rgba(90, 70, 30, .12);
	--fp-radius: 22px;
	--fp-radius-sm: 14px;
	--fp-btn-radius: 999px;
	--fp-header-bg: #fffdf8;
	--fp-header-ink: #23443a;
	--fp-header-sub: #6e7b72;
	--fp-nav-active: #2f8a63;
	--fp-logo-bg: #2f8a63;
	--fp-logo-ink: #fff;
	--fp-accent: #2f8a63;
	--fp-accent-hover: #26724f;
	--fp-accent-soft: #e3f1e9;
	--fp-green: #2f8a63;
	--fp-green-bg: #e3f1e9;
	--fp-blue: #4a78c2;
	--fp-blue-bg: #e7eef9;
	--fp-red: #d0574a;
	--fp-red-bg: #fbebe7;
	--fp-gray: #8a8273;
	--fp-gray-bg: #f0ebe1;
	--fp-occ: #a99d88;
	--fp-sel: #f2a93b;
	--fp-input-border: #ddd4c4;
}

/* ---------- C パーキングサイン ---------- */
.fp-app.fp-theme-sign {
	--fp-font: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	--fp-ink: #111c2b;
	--fp-sub: #556275;
	--fp-line: #d7dfe9;
	--fp-bg: #eceff4;
	--fp-card: #fff;
	--fp-card-border: #d7dfe9;
	--fp-shadow: none;
	--fp-shadow-hover: 0 0 0 2px #0a4aa6;
	--fp-radius: 8px;
	--fp-radius-sm: 6px;
	--fp-btn-radius: 6px;
	--fp-header-bg: #0b1729;
	--fp-header-ink: #fff;
	--fp-header-sub: rgba(255, 255, 255, .78);
	--fp-nav-active: #47aff1;
	--fp-logo-bg: #fff;
	--fp-logo-ink: #0a4aa6;
	--fp-accent: #0a4aa6;
	--fp-accent-hover: #083b85;
	--fp-accent-soft: #e5edf9;
	--fp-green: #12924f;
	--fp-green-bg: #ddf3e6;
	--fp-blue: #d97a00;
	--fp-blue-bg: #fff0d6;
	--fp-red: #d1342b;
	--fp-red-bg: #fde8e6;
	--fp-gray: #4b5563;
	--fp-gray-bg: #e8ecf1;
	--fp-occ: #2b3440;
	--fp-sel: #ffc400;
	--fp-pin-hole: #2b3440;
	--fp-input-border: #b9c4d2;
}

.fp-app *, .fp-app *::before, .fp-app *::after { box-sizing: border-box; }
body.fp-shell { margin: 0; background: #f4f6f9; }
.fp-shell .fp-app { min-height: 100vh; background: var(--fp-bg); }
.fp-app a { color: var(--fp-accent); }
.fp-app h1, .fp-app h2 { line-height: 1.4; margin: 0; font-weight: var(--fp-h-weight); }
.fp-app .fp-ico { width: 1em; height: 1em; flex: none; }
.fp-only-sp { display: none; }
@media (max-width: 760px) { .fp-only-sp { display: inline; } }
.fp-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }

/* ---------- header ---------- */
.fp-header { background: var(--fp-header-bg); color: var(--fp-header-ink); position: sticky; top: 0; z-index: 20; }
.fp-header-in { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 28px; min-height: 60px; flex-wrap: wrap; }
.fp-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--fp-header-ink) !important; text-decoration: none; }
.fp-logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--fp-logo-bg); color: var(--fp-logo-ink); font-style: normal; font-weight: 800; font-size: 18px; font-family: Arial, Helvetica, sans-serif; line-height: 1; }
.fp-logo-text { display: flex; flex-direction: column; line-height: 1.2; font-weight: 700; font-size: 16px; letter-spacing: .04em; }
.fp-logo-text small { font-size: 10px; font-weight: 500; color: var(--fp-header-sub); letter-spacing: .12em; }
.fp-nav { display: flex; gap: 2px; flex: 1; }
.fp-nav a { color: var(--fp-header-sub) !important; text-decoration: none; padding: 18px 12px 15px; font-size: 14px; font-weight: 500; border-bottom: 3px solid transparent; }
.fp-nav a.is-active, .fp-nav a:hover { color: var(--fp-header-ink) !important; border-bottom-color: var(--fp-nav-active); }
.fp-user { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.fp-user a { color: var(--fp-header-sub) !important; }
.fp-user-name { color: var(--fp-header-sub); }

.fp-theme-soft .fp-header { border-bottom: 1px solid var(--fp-line); }
.fp-theme-soft .fp-logo-mark { border-radius: 50%; }
.fp-theme-soft .fp-nav { gap: 6px; }
.fp-theme-soft .fp-nav a { border: 0; padding: 7px 16px; border-radius: 999px; }
.fp-theme-soft .fp-nav a.is-active { background: var(--fp-accent-soft); color: var(--fp-accent) !important; }
.fp-theme-soft .fp-nav a:hover { color: var(--fp-accent) !important; }
.fp-theme-sign .fp-logo-mark { border-radius: 5px; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px var(--fp-logo-ink); width: 34px; height: 34px; font-size: 20px; }
.fp-theme-sign .fp-header { border-bottom: 3px solid #47aff1; }
.fp-theme-sign .fp-nav a { font-weight: 700; }

/* ---------- layout ---------- */
.fp-main { max-width: 1100px; margin: 0 auto; padding: 28px 20px 72px; }
.fp-h1 { font-size: 23px; margin: 0 0 18px !important; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; letter-spacing: .02em; }
.fp-titlebar { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.fp-titlebar .fp-h1 { margin-bottom: 4px !important; }
.fp-crumb { margin: 0 0 6px; font-size: 13px; color: var(--fp-sub); }
.fp-crumb a { text-decoration: none; }
.fp-muted { color: var(--fp-sub); }
.fp-small { font-size: 13px; }
.fp-nowrap { white-space: nowrap; }
.fp-r { text-align: right !important; }
.fp-danger { color: var(--fp-red); }

.fp-card { background: var(--fp-card); border: 1px solid var(--fp-card-border); border-radius: var(--fp-radius); box-shadow: var(--fp-shadow); padding: 22px; margin-bottom: 18px; }
.fp-card h2 { font-size: 17px; margin-bottom: 14px; }
.fp-theme-sign .fp-card h2 { padding-left: 10px; border-left: 4px solid var(--fp-accent); line-height: 1.3; }
.fp-empty { text-align: center; padding: 44px 20px; }
.fp-empty h2 { margin-bottom: 8px; }
.fp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fp-cols .fp-card { margin-bottom: 0; }

/* ---------- alerts ---------- */
.fp-alert { border-radius: var(--fp-radius-sm); padding: 12px 16px; margin-bottom: 16px; font-size: 14px; border: 1px solid transparent; }
.fp-alert-success { background: var(--fp-green-bg); color: var(--fp-green); border-color: color-mix(in srgb, var(--fp-green) 25%, transparent); }
.fp-alert-error { background: var(--fp-red-bg); color: #8e241c; border-color: color-mix(in srgb, var(--fp-red) 25%, transparent); }
.fp-alert-info { background: var(--fp-accent-soft); color: var(--fp-accent-hover); border-color: color-mix(in srgb, var(--fp-accent) 20%, transparent); }

/* ---------- buttons ---------- */
.fp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 18px; border-radius: var(--fp-btn-radius); border: 1px solid var(--fp-input-border); background: var(--fp-card); color: var(--fp-ink) !important; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.4; font-family: inherit; transition: background .15s, box-shadow .15s; }
.fp-btn:hover { background: var(--fp-gray-bg); }
.fp-btn:disabled { opacity: .5; cursor: wait; }
.fp-btn-primary { background: var(--fp-accent); border-color: var(--fp-accent); color: #fff !important; }
.fp-btn-primary:hover { background: var(--fp-accent-hover); }
.fp-btn-danger { background: var(--fp-red); border-color: var(--fp-red); color: #fff !important; }
.fp-btn-danger:hover { filter: brightness(.92); background: var(--fp-red); }
.fp-btn-lg { padding: 14px 32px; font-size: 16px; }
.fp-btn-sm { padding: 5px 12px; font-size: 13px; }
.fp-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- action cards ---------- */
.fp-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.fp-actions-2 { grid-template-columns: repeat(2, 1fr); }
.fp-action { --c: var(--fp-accent); --cb: var(--fp-accent-soft); display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: var(--fp-card); border: 1px solid var(--fp-card-border); border-radius: var(--fp-radius); box-shadow: var(--fp-shadow); padding: 16px 18px; text-decoration: none; color: var(--fp-ink) !important; transition: box-shadow .15s, transform .15s; }
.fp-action:hover { box-shadow: var(--fp-shadow-hover); transform: translateY(-1px); }
.fp-action .fp-ico { grid-row: 1 / 3; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--cb); color: var(--c); }
.fp-action strong { display: block; font-size: 16px; line-height: 1.4; }
.fp-action span { display: block; font-size: 12.5px; color: var(--fp-sub); line-height: 1.5; }
.fp-action-green { --c: var(--fp-green); --cb: var(--fp-green-bg); }
.fp-action-red { --c: var(--fp-red); --cb: var(--fp-red-bg); }
.fp-theme-soft .fp-action .fp-ico { border-radius: 50%; }
.fp-theme-sign .fp-action { border-left: 6px solid var(--c); }
.fp-theme-sign .fp-action-green, .fp-theme-sign .fp-action-red { background: var(--c); border-color: var(--c); color: #fff !important; }
.fp-theme-sign .fp-action-green span, .fp-theme-sign .fp-action-red span { color: rgba(255, 255, 255, .85); }
.fp-theme-sign .fp-action-green .fp-ico, .fp-theme-sign .fp-action-red .fp-ico { background: rgba(255, 255, 255, .18); color: #fff; }
.fp-theme-sign .fp-action .fp-ico { border-radius: 6px; }

/* ---------- stats ---------- */
.fp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.fp-stat { background: var(--fp-card); border: 1px solid var(--fp-card-border); border-radius: var(--fp-radius); box-shadow: var(--fp-shadow); padding: 16px 20px; text-decoration: none; color: var(--fp-ink) !important; }
.fp-stat-num { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; letter-spacing: .01em; }
.fp-stat-label { font-size: 12.5px; color: var(--fp-sub); }
.fp-stat-link:hover { box-shadow: var(--fp-shadow-hover); }
.fp-theme-sign .fp-stat { border-top: 4px solid var(--fp-accent); }

/* ---------- badges ---------- */
.fp-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: var(--fp-gray-bg); color: var(--fp-gray); white-space: nowrap; vertical-align: middle; line-height: 1.7; }
.fp-badge-active { background: var(--fp-green-bg); color: var(--fp-green); }
.fp-badge-pending { background: var(--fp-amber-bg); color: var(--fp-amber); }
.fp-badge-suspended { background: var(--fp-red-bg); color: var(--fp-red); }
.fp-theme-sign .fp-badge { border-radius: 4px; }

.fp-state, .fp-lstate { display: inline-block; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 6px; white-space: nowrap; }
.fp-state-listed, .fp-lstate-listed { background: var(--fp-green-bg); color: var(--fp-green); }
.fp-state-upcoming, .fp-lstate-upcoming { background: var(--fp-blue-bg); color: var(--fp-blue); }
.fp-state-none, .fp-lstate-ended, .fp-lstate-cancelled { background: var(--fp-gray-bg); color: var(--fp-gray); }
.fp-theme-soft .fp-state, .fp-theme-soft .fp-lstate { border-radius: 99px; }

/* ---------- lot lists ---------- */
.fp-lot-list { display: flex; flex-direction: column; }
.fp-lot-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 6px; border-bottom: 1px solid var(--fp-line); text-decoration: none; color: var(--fp-ink) !important; }
.fp-lot-row:last-child { border-bottom: 0; }
.fp-lot-row:hover { background: var(--fp-gray-bg); border-radius: var(--fp-radius-sm); }
.fp-lot-name { font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fp-lot-counts { display: flex; gap: 6px; font-size: 12px; flex-wrap: wrap; justify-content: flex-end; font-weight: 700; }
.fp-lot-counts span { padding: 2px 9px; border-radius: 6px; white-space: nowrap; }
.fp-theme-soft .fp-lot-counts span { border-radius: 99px; }
.c-listed { background: var(--fp-green-bg); color: var(--fp-green); }
.c-upcoming { background: var(--fp-blue-bg); color: var(--fp-blue); }
.c-none { background: var(--fp-gray-bg); color: var(--fp-gray); }
.fp-arrow { font-size: 22px; color: var(--fp-sub); }

.fp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.fp-lot-card { background: var(--fp-card); border: 1px solid var(--fp-card-border); border-radius: var(--fp-radius); box-shadow: var(--fp-shadow); overflow: hidden; text-decoration: none; color: var(--fp-ink) !important; transition: box-shadow .15s; }
.fp-lot-card:hover { box-shadow: var(--fp-shadow-hover); }
.fp-lot-thumb { aspect-ratio: 16/9; background: var(--fp-gray-bg); display: flex; align-items: center; justify-content: center; color: var(--fp-gray); font-size: 13px; }
.fp-lot-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-lot-body { padding: 14px 16px; }
.fp-lot-meta { display: flex; gap: 8px; align-items: center; margin-top: 6px; flex-wrap: wrap; }

.fp-timeline { list-style: none; margin: 0; padding: 0; }
.fp-timeline li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--fp-line); flex-wrap: wrap; }
.fp-tl-date { font-variant-numeric: tabular-nums; min-width: 130px; font-weight: 700; }

/* ---------- tables ---------- */
.fp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fp-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.fp-table th, .fp-table td { padding: 11px 10px; border-bottom: 1px solid var(--fp-line); text-align: left; vertical-align: top; background: none; }
.fp-table th { font-size: 12px; color: var(--fp-sub); font-weight: 700; background: var(--fp-gray-bg); }
.fp-table thead th:first-child { border-top-left-radius: var(--fp-radius-sm); }
.fp-table thead th:last-child { border-top-right-radius: var(--fp-radius-sm); }
.fp-table-form td { vertical-align: middle; }
.fp-table-form input[type="text"] { width: 100%; min-width: 120px; }
.fp-in-sm { max-width: 90px; min-width: 70px !important; }
.fp-in-md { max-width: 150px; }

.fp-dl { display: grid; grid-template-columns: 130px 1fr; gap: 9px 12px; margin: 0; font-size: 14px; }
.fp-dl dt { color: var(--fp-sub); font-weight: 700; }
.fp-dl dd { margin: 0; }

.fp-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.fp-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--fp-radius-sm); display: block; }
.fp-file-chip { display: inline-block; padding: 8px 10px; background: var(--fp-gray-bg); border-radius: 8px; font-size: 13px; }

/* ---------- forms ---------- */
.fp-form .fp-field { display: block; margin-bottom: 16px; }
.fp-form .fp-field > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 5px; }
.fp-form .fp-field em { font-style: normal; font-size: 11px; color: #fff; background: var(--fp-red); padding: 1px 7px; border-radius: 4px; margin-left: 6px; vertical-align: 1px; }
.fp-form small { display: block; margin-top: 5px; font-size: 12px; line-height: 1.6; }
.fp-app input[type="text"], .fp-app input[type="email"], .fp-app input[type="password"], .fp-app input[type="number"], .fp-app input[type="date"], .fp-app input[type="tel"], .fp-app select, .fp-app textarea {
	width: 100%; padding: 11px 13px; border: 1px solid var(--fp-input-border); border-radius: var(--fp-radius-sm); font-size: 16px; font-family: inherit; background: var(--fp-card); color: var(--fp-ink); line-height: 1.5; }
.fp-app input:focus, .fp-app select:focus, .fp-app textarea:focus { outline: 3px solid color-mix(in srgb, var(--fp-accent) 25%, transparent); border-color: var(--fp-accent); }
.fp-app input[type="file"] { font-size: 14px; padding: 12px; border: 1.5px dashed var(--fp-input-border); border-radius: var(--fp-radius-sm); width: 100%; background: var(--fp-bg); }
.fp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fp-checks { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fp-checks label { font-weight: 400; display: inline-flex; gap: 6px; align-items: center; }
.fp-app input[type="checkbox"], .fp-app input[type="radio"] { accent-color: var(--fp-accent); width: 17px; height: 17px; }
.fp-submit { display: flex; justify-content: flex-end; gap: 10px; margin: 8px 0 24px; }
.fp-details { margin-bottom: 14px; }
.fp-details summary { cursor: pointer; color: var(--fp-accent); font-size: 14px; margin-bottom: 8px; font-weight: 700; }
.fp-convert-status { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; }
.fp-convert-status.is-working { color: var(--fp-accent); }
.fp-convert-status.is-done { color: var(--fp-green); }
.fp-convert-status.is-error { color: var(--fp-red); }

.fp-filelist { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.fp-fileitem img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--fp-radius-sm); display: block; background: var(--fp-gray-bg); border: 1px solid var(--fp-line); }
.fp-fileitem .fp-small { word-break: break-all; line-height: 1.4; margin-top: 4px; }

/* ---------- space picker ---------- */
.fp-spacepick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 14px; }
.fp-spaceopt { position: relative; display: flex; flex-direction: column; border: 2px solid var(--fp-line); border-radius: var(--fp-radius-sm); padding: 10px 12px 10px 40px; cursor: pointer; background: var(--fp-card); line-height: 1.4; transition: border-color .12s, background .12s; }
.fp-spaceopt input { position: absolute; left: 13px; top: 13px; margin: 0; }
.fp-spaceopt-no { font-weight: 700; font-size: 16px; }
.fp-spaceopt-sub { font-size: 12px; color: var(--fp-sub); }
.fp-spaceopt-note { font-size: 11px; color: var(--fp-sub); margin-top: 2px; }
.fp-spaceopt.fp-state-listed { border-left: 6px solid var(--fp-green); }
.fp-spaceopt.fp-state-upcoming { border-left: 6px solid var(--fp-blue); }
.fp-spaceopt.is-checked { border-color: var(--fp-accent); background: var(--fp-accent-soft); }
.fp-spaceopt.is-disabled { opacity: .45; cursor: not-allowed; }
.fp-selcount { margin: 12px 0 0; }

/* ---------- 区画図 ---------- */
.fp-mapbox { margin: 12px 0 16px; max-width: 920px; }
.fp-maptools { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.fp-maptools button { display: inline-flex; align-items: center; gap: 4px; height: 34px; min-width: 34px; padding: 0 9px; border: 1px solid var(--fp-input-border); background: var(--fp-card); border-radius: var(--fp-btn-radius); color: var(--fp-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; justify-content: center; }
.fp-maptools button:hover { background: var(--fp-gray-bg); }
.fp-maptools .fp-ico { width: 18px; height: 18px; }
.fp-maptools-rot { margin-left: 4px; }
.fp-maptools-hint { font-size: 12px; color: var(--fp-sub); margin-left: auto; }
.fp-map-scroll { position: relative; overflow: auto; max-height: 78vh; border: 1px solid var(--fp-line); border-radius: var(--fp-radius-sm); background: #fff; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.fp-map { position: relative; width: 100%; user-select: none; -webkit-user-select: none; }
.fp-map img { display: block; width: 100%; height: auto; }
.fp-map[data-mode="place"] img { cursor: crosshair; }

/* ピン（テーマごとに形を変える） */
.fp-pin { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-width: 32px; height: 32px; padding: 0 7px; border-radius: 16px; border: 2px solid #fff; font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1; color: #fff; background: var(--fp-occ); box-shadow: 0 2px 6px rgba(0, 0, 0, .28); cursor: pointer; transition: transform .12s; white-space: nowrap; }
.fp-pin b { font-weight: 700; }
.fp-pin .fp-ico { width: 15px; height: 15px; }
.fp-pin-listed { background: var(--fp-green); }
.fp-pin-upcoming { background: var(--fp-blue); }
.fp-pin-none { background: var(--fp-occ); }
.fp-pin.is-selected { box-shadow: 0 0 0 3px var(--fp-sel), 0 2px 8px rgba(0, 0, 0, .3); transform: translate(-50%, -50%) scale(1.18); z-index: 3; }
.fp-pin:hover { z-index: 4; }
.fp-pin-sample { position: static; transform: none; min-width: 26px; height: 24px; font-size: 11px; padding: 0 6px; box-shadow: none; cursor: default; }
.fp-pin-sample .fp-ico { width: 13px; height: 13px; }

.fp-theme-soft .fp-pin { border-radius: 10px; border: 0; box-shadow: 0 3px 10px rgba(60, 45, 20, .22); height: 30px; }
.fp-theme-soft .fp-pin-none { background: #fff; color: #7d725f; box-shadow: 0 0 0 1.5px #cfc5b3, 0 3px 10px rgba(60, 45, 20, .15); --fp-pin-hole: #fff; }
.fp-theme-soft .fp-pin-none .fp-ico { color: #a99d88; }
.fp-theme-soft .fp-pin.is-selected { box-shadow: 0 0 0 3px var(--fp-sel), 0 3px 10px rgba(60, 45, 20, .25); }
.fp-theme-soft .fp-pin-sample { height: 24px; border-radius: 7px; }

.fp-theme-sign .fp-pin { border-radius: 5px; border-width: 3px; height: 34px; min-width: 34px; font-size: 13.5px; box-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
.fp-theme-sign .fp-pin-none { color: #fff; --fp-pin-hole: var(--fp-occ); }
.fp-theme-sign .fp-pin-none .fp-ico { color: #ffc400; }
.fp-theme-sign .fp-pin-sample { height: 24px; min-width: 26px; border-width: 2px; font-size: 11px; }

.fp-legend { display: flex; gap: 8px 18px; font-size: 13px; color: var(--fp-sub); flex-wrap: wrap; }
.fp-legend > span { display: inline-flex; align-items: center; gap: 7px; }

.fp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.fp-chip { border: 2px solid var(--fp-line); background: var(--fp-card); border-radius: 99px; padding: 4px 13px; font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit; color: var(--fp-ink); }
.fp-chip.is-placed { background: var(--fp-green-bg); border-color: color-mix(in srgb, var(--fp-green) 35%, transparent); }
.fp-chip.is-active { border-color: var(--fp-sel); background: color-mix(in srgb, var(--fp-sel) 18%, #fff); }
.fp-theme-sign .fp-chip { border-radius: 5px; }

/* ---------- filter tabs ---------- */
.fp-filter { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.fp-filter select { width: auto; min-width: 200px; }
.fp-tabs { display: flex; gap: 4px; background: var(--fp-gray-bg); padding: 4px; border-radius: calc(var(--fp-radius-sm) + 3px); }
.fp-tabs a { padding: 6px 14px; border-radius: var(--fp-radius-sm); text-decoration: none; color: var(--fp-sub) !important; font-size: 14px; font-weight: 700; }
.fp-tabs a.is-active { background: var(--fp-card); color: var(--fp-ink) !important; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

/* ---------- statement ---------- */
.fp-sum { max-width: 460px; margin-bottom: 20px; }
.fp-sum th { background: none; font-size: 14px; color: var(--fp-ink); }
.fp-sum-total th, .fp-sum-total td { font-size: 19px; font-weight: 700; border-top: 2px solid var(--fp-ink); }
.fp-statement h2 { margin-top: 14px; }

/* ---------- login ---------- */
.fp-login { min-height: 86vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.fp-login-card { width: 100%; max-width: 410px; background: var(--fp-card); border: 1px solid var(--fp-card-border); border-radius: calc(var(--fp-radius) + 4px); padding: 36px 30px; box-shadow: 0 16px 40px rgba(15, 35, 60, .08); }
.fp-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--fp-accent); letter-spacing: .06em; }
.fp-brand::before { content: "P"; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: var(--fp-accent); color: #fff; font-family: Arial, sans-serif; font-weight: 800; }
.fp-theme-soft .fp-brand::before { border-radius: 50%; }
.fp-login-card h1 { font-size: 23px; margin: 8px 0 8px; }
.fp-login-card form p { margin: 0 0 14px; }
.fp-login-card label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 5px; }
.fp-login-card .login-remember label { font-weight: 400; display: inline-flex; gap: 6px; align-items: center; }
.fp-login-card input[type="submit"] { width: 100%; padding: 13px; background: var(--fp-accent); color: #fff; border: 0; border-radius: var(--fp-btn-radius); font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; }
.fp-login-card input[type="submit"]:hover { background: var(--fp-accent-hover); }
.fp-login-logo { background: #0b1729; margin: -36px -30px 22px; padding: 22px 30px; border-radius: calc(var(--fp-radius) + 4px) calc(var(--fp-radius) + 4px) 0 0; border-bottom: 3px solid #47aff1; }
.fp-login-logo img { height: 26px; display: block; }
.fp-login-links { font-size: 14px; text-align: center; margin-top: 8px; }



/* ---------- 駐車場の編集タブ ---------- */
.fp-subnav { display: flex; gap: 4px; margin: -6px 0 18px; border-bottom: 2px solid var(--fp-line); overflow-x: auto; }
.fp-subnav a { padding: 9px 16px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--fp-sub) !important; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.fp-subnav a.is-active { color: var(--fp-accent) !important; border-bottom-color: var(--fp-accent); }
.fp-count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--fp-amber); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.fp-h2row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fp-subbox { background: var(--fp-bg); border: 1px solid var(--fp-line); border-radius: var(--fp-radius-sm); padding: 14px 16px 2px; margin-top: 4px; }
.fp-subbox > p { margin: 0 0 10px; }

/* ---------- 車種・サイズ ---------- */
.fp-vchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-vchip { position: relative; cursor: pointer; }
.fp-vchip input { position: absolute; opacity: 0; pointer-events: none; }
.fp-vchip span { display: inline-block; padding: 7px 14px; border: 2px solid var(--fp-input-border); border-radius: 99px; font-size: 14px; font-weight: 700; color: var(--fp-sub); background: var(--fp-card); }
.fp-theme-sign .fp-vchip span { border-radius: 6px; }
.fp-vchip input:checked + span { border-color: var(--fp-accent); background: var(--fp-accent); color: #fff; }
.fp-vchip input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--fp-accent) 30%, transparent); }
.fp-sizegrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fp-sizegrid label > small { display: block; font-size: 12px; font-weight: 700; color: var(--fp-sub); margin: 0 0 3px; }
.fp-unit { display: flex; align-items: center; gap: 6px; }
.fp-unit i { font-style: normal; font-size: 13px; color: var(--fp-sub); }
.fp-app .fp-unit input:disabled { background: var(--fp-gray-bg); color: var(--fp-sub); }
.fp-inline-check { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 400 !important; }
.fp-spaceopt.is-missing { border-left: 6px solid var(--fp-amber); }
.fp-spaceopt.is-filled { border-left: 6px solid var(--fp-green); }
.fp-selhelpers { margin-bottom: 4px; }

/* ---------- 写真管理 ---------- */
.fp-photos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.fp-photo { border: 1px solid var(--fp-line); border-radius: var(--fp-radius-sm); overflow: hidden; background: var(--fp-card); display: flex; flex-direction: column; }
.fp-photo.is-off { opacity: .6; }
.fp-photo-img { display: block; aspect-ratio: 4/3; background: var(--fp-gray-bg); }
.fp-photo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-photo-img .fp-file-chip { margin: 12px; }
.fp-photo-body { padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.fp-app .fp-photo-body input[type="text"], .fp-app .fp-photo-body select { font-size: 14px; padding: 7px 9px; }
.fp-photo-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.fp-photo-row select { flex: 1; min-width: 0; }
.fp-photo-opts { justify-content: space-between; font-size: 13px; }
.fp-photo-opts label { display: inline-flex; align-items: center; gap: 5px; }
.fp-app input.fp-in-num { width: 64px; padding: 5px 7px; font-size: 14px; }
.fp-linkbtn { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--fp-accent); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 0; }
.fp-linkbtn .fp-ico { width: 15px; height: 15px; }
.fp-photo-thumb { position: relative; display: block; text-decoration: none; }
.fp-photo-thumb.is-off img { opacity: .45; }
.fp-photo-thumb em { position: absolute; left: 6px; top: 6px; background: rgba(0, 0, 0, .65); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 4px; }
.fp-photo-cap { display: block; font-size: 12px; color: var(--fp-sub); line-height: 1.4; margin-top: 3px; }


/* ---------- ロゴ・表示確認バー ---------- */
.fp-logo-img { display: block; height: 24px; width: auto; }
.fp-logo-sub { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--fp-header-sub); border-left: 1px solid rgba(255, 255, 255, .3); padding-left: 10px; line-height: 1.2; }
.fp-theme-soft .fp-logo-img { filter: brightness(0) saturate(100%) invert(19%) sepia(14%) saturate(1200%) hue-rotate(110deg); }
.fp-theme-soft .fp-logo-sub { border-left-color: var(--fp-line); }
.fp-viewas { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 8px 16px; background: #ffc400; color: #111; font-size: 14px; flex-wrap: wrap; }
.fp-viewas form { margin: 0; }
.fp-viewas button { border: 0; background: #111; color: #fff; font: inherit; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 6px; cursor: pointer; }

/* ---------- 一覧・共通部品 ---------- */
.fp-card-flush { padding: 0; overflow: hidden; }
.fp-card-flush .fp-table th:first-child, .fp-card-flush .fp-table td:first-child { padding-left: 20px; }
.fp-card-flush .fp-table thead th { border-radius: 0 !important; }
.fp-table-hover tbody tr:hover td { background: var(--fp-accent-soft); }
.fp-searchbar { justify-content: flex-start; }
.fp-searchbar input[type="search"] { flex: 1; min-width: 220px; max-width: 420px; }
.fp-app input[type="search"], .fp-app input[type="month"] { padding: 9px 12px; border: 1px solid var(--fp-input-border); border-radius: var(--fp-radius-sm); font: inherit; font-size: 15px; background: var(--fp-card); }
.fp-checks-col { flex-direction: column; gap: 6px; }
.fp-cols-wide { grid-template-columns: 2fr 3fr; }
.fp-row-postal { grid-template-columns: 180px 1fr; }
.fp-doclist { list-style: none; margin: 0 0 14px; padding: 0; }
.fp-doclist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--fp-line); }
.fp-doclist li:last-child { border-bottom: 0; }
.fp-doc-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; background: var(--fp-accent-soft); color: var(--fp-accent) !important; font-size: 12px; font-weight: 800; text-decoration: none; }
.fp-doc-body { min-width: 0; flex: 1; }
.fp-doc-body .fp-btns form { margin: 0; }
.fp-todo { list-style: none; margin: 0; padding: 0; }
.fp-todo li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--fp-line); }
.fp-todo li:last-child { border-bottom: 0; }
.fp-todo li.is-warn strong { color: var(--fp-amber); }
.fp-todo li strong { font-variant-numeric: tabular-nums; }
.fp-stat-num small { font-size: 14px; margin-left: 2px; }

/* ---------- 契約書・マイページのカード ---------- */
.fp-keycard { border-top: 4px solid var(--fp-line); }
.fp-keycard.is-ok { border-top-color: var(--fp-green); }
.fp-keycard.is-warn { border-top-color: var(--fp-amber); }
.fp-keyline { margin: 0 0 8px; }
.fp-keycard .fp-btns form { margin: 0; }
.fp-copyrow { display: flex; gap: 6px; align-items: center; }
.fp-app .fp-copyrow input { flex: 1; min-width: 0; font-size: 13px; padding: 7px 9px; background: var(--fp-gray-bg); }
.fp-docmini { list-style: none; margin: 0 0 6px; padding: 0; }
.fp-docmini li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px dashed var(--fp-line); font-size: 14px; }
.fp-docmini li:last-child { border-bottom: 0; }
.fp-docmini .fp-btn { margin-left: auto; }
.fp-waiting { background: var(--fp-amber-bg); border-radius: var(--fp-radius-sm); padding: 8px 12px; margin-top: 8px; }
.fp-waiting p { margin: 0 0 2px; }
.fp-waiting .fp-docmini li { border-bottom-color: rgba(0, 0, 0, .08); }
.fp-invite { background: color-mix(in srgb, var(--fp-green) 10%, #fff); border: 1px solid color-mix(in srgb, var(--fp-green) 35%, transparent); border-radius: var(--fp-radius-sm); padding: 10px 12px; margin-bottom: 12px; }
.fp-invite p { margin: 0 0 6px; }

/* ---------- 精算 ---------- */
.fp-monthbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.fp-monthbar form { margin: 0; }
.fp-details-card > summary { cursor: pointer; list-style: none; }
.fp-details-card > summary::-webkit-details-marker { display: none; }
.fp-details-card > summary::before { content: "＋ "; color: var(--fp-accent); font-weight: 700; }
.fp-details-card[open] > summary::before { content: "－ "; }
.fp-inline-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.fp-inline-form input[type="file"] { width: auto; flex: 1; min-width: 220px; }
.fp-dlbox { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.fp-dlbox .fp-inline-form { margin: 0; }
.fp-settle-group { padding: 0; overflow: hidden; }
.fp-settle-group.is-locked { opacity: .75; }
.fp-settle-group.has-sales { border-color: color-mix(in srgb, var(--fp-accent) 35%, var(--fp-line)); }
.fp-settle-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; background: var(--fp-gray-bg); flex-wrap: wrap; }
.fp-settle-head .fp-btns { align-items: center; }
.fp-settle-table td, .fp-settle-table th { vertical-align: middle; }
.fp-settle-table td:first-child, .fp-settle-table th:first-child { padding-left: 20px; }
.fp-settle-table tfoot td { background: none; border-bottom: 0; padding-top: 6px; padding-bottom: 6px; font-size: 13px; color: var(--fp-sub); }
.fp-settle-table .fp-settle-total td { font-size: 15px; font-weight: 700; color: var(--fp-ink); border-top: 2px solid var(--fp-ink); padding-bottom: 14px; }
.fp-app input.fp-in-money { width: 130px; text-align: right; padding: 7px 10px; font-size: 15px; font-variant-numeric: tabular-nums; }
.fp-app .fp-settle-table input.fp-in-num { width: 70px; text-align: right; }
.fp-settle-table [data-fee], .fp-settle-table [data-amount] { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fp-settle-bar { position: sticky; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: flex-end; gap: 16px; flex-wrap: wrap; padding: 14px 20px; margin: 0 -20px; background: color-mix(in srgb, var(--fp-card) 94%, transparent); backdrop-filter: blur(6px); border-top: 1px solid var(--fp-line); }
.fp-settle-bar > div:first-child { margin-right: auto; font-size: 14px; }
.fp-settle-bar strong { font-variant-numeric: tabular-nums; margin-right: 6px; }

/* ---------- 支払明細書（A4） ---------- */
.fp-sheet { background: #fff; color: #111; width: 100%; max-width: 820px; margin: 0 auto 28px; padding: 46px 52px; border: 1px solid var(--fp-line); box-shadow: 0 6px 24px rgba(15, 35, 60, .08); font-size: 13px; line-height: 1.6; }
.fp-sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; border-bottom: 3px solid #0b1729; padding-bottom: 14px; margin-bottom: 20px; }
.fp-sheet-logo { height: 30px; width: auto; margin-top: 6px; }
.fp-sheet-title { text-align: right; }
.fp-sheet-title h2 { font-size: 26px; letter-spacing: .3em; margin: 0 0 6px !important; color: #0b1729; }
.fp-sheet-title dl, .fp-sheet-summary dl { display: grid; grid-template-columns: auto auto; gap: 2px 12px; margin: 0; font-size: 12px; justify-content: end; }
.fp-sheet-title dt, .fp-sheet-summary dt { color: #555; }
.fp-sheet-title dd, .fp-sheet-summary dd { margin: 0; font-variant-numeric: tabular-nums; }
.fp-sheet-parties { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.fp-sheet-to { flex: 1; }
.fp-sheet-addr { margin: 0 0 4px; font-size: 12px; }
.fp-sheet-name { font-size: 19px; font-weight: 700; margin: 0 0 4px; border-bottom: 1px solid #111; display: inline-block; padding-bottom: 2px; min-width: 300px; }
.fp-sheet-small { font-size: 11px; margin: 0; color: #444; }
.fp-sheet-lead { margin: 14px 0 0; }
.fp-sheet-from { text-align: right; font-size: 12px; }
.fp-sheet-from p { margin: 0; }
.fp-sheet-coname { font-size: 14px; font-weight: 700; margin-bottom: 4px !important; }
.fp-sheet-summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; border: 2px solid #0b1729; padding: 14px 20px; margin-bottom: 18px; }
.fp-sheet-total span { display: block; font-size: 12px; color: #555; }
.fp-sheet-total strong { font-size: 30px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.fp-sheet-total small { margin-left: 6px; font-size: 12px; color: #555; }
.fp-sheet-summary dl { justify-content: start; font-size: 13px; }
.fp-sheet-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.fp-sheet-table th, .fp-sheet-table td { border: 1px solid #bbb; padding: 7px 9px; text-align: left; font-weight: 400; }
.fp-sheet-table thead th { background: #0b1729; color: #fff; font-size: 12px; text-align: center; border-color: #0b1729; }
.fp-sheet-table .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fp-sheet-table tfoot th { text-align: right; background: #f4f6f9; }
.fp-sheet-table tfoot tr.total th, .fp-sheet-table tfoot tr.total td { font-size: 15px; font-weight: 700; background: #e8eef6; }
.fp-sheet-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fp-sheet-foot h3 { font-size: 12px; margin: 0 0 4px; color: #555; font-weight: 700; }
.fp-sheet-foot p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
	.fp-header-in { gap: 0; padding: 0 14px; }
	.fp-logo { padding: 10px 0; flex: 1; }
	.fp-user { font-size: 12px; gap: 10px; }
	.fp-user-name { display: none; }
	.fp-nav { order: 3; flex-basis: 100%; overflow-x: auto; margin: 0 -4px; }
	.fp-nav a { padding: 10px 10px 9px; white-space: nowrap; }
	.fp-theme-soft .fp-nav { padding-bottom: 8px; }
	.fp-theme-soft .fp-nav a { padding: 6px 13px; }
	.fp-main { padding: 18px 14px 56px; }
	.fp-h1 { font-size: 20px; }
	.fp-actions, .fp-actions-2, .fp-cols, .fp-row { grid-template-columns: 1fr; }
	.fp-actions { gap: 10px; }
	.fp-action { padding: 13px 15px; grid-template-columns: 40px 1fr; }
	.fp-action .fp-ico { width: 40px; height: 40px; padding: 9px; }
	.fp-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.fp-stat { padding: 12px 14px; }
	.fp-stat-num { font-size: 22px; }
	.fp-card { padding: 17px; }
	.fp-dl { grid-template-columns: 1fr; gap: 2px; }
	.fp-dl dd { margin-bottom: 8px; }
	.fp-lot-row { flex-direction: column; align-items: flex-start; }
	.fp-lot-counts { justify-content: flex-start; }
	.fp-spacepick { grid-template-columns: repeat(2, 1fr); }
	.fp-submit { justify-content: stretch; }
	.fp-submit .fp-btn { flex: 1; }
	.fp-pin { min-width: 27px; height: 27px; font-size: 11.5px; padding: 0 5px; }
	.fp-pin .fp-ico { width: 13px; height: 13px; }
	.fp-theme-sign .fp-pin { height: 29px; min-width: 29px; border-width: 2px; }
	.fp-maptools-hint { width: 100%; margin: 0; }
	.fp-logo-img { height: 20px; }
	.fp-cols-wide, .fp-row-postal { grid-template-columns: 1fr; }
	.fp-settle-bar { position: static; margin: 0 -14px; justify-content: stretch; }
	.fp-settle-bar .fp-btn { flex: 1; }
	.fp-sheet { padding: 22px 16px; font-size: 12px; }
	.fp-sheet-head, .fp-sheet-parties, .fp-sheet-summary { flex-direction: column; align-items: stretch; }
	.fp-sheet-title, .fp-sheet-from { text-align: left; }
	.fp-sheet-title dl { justify-content: start; }
	.fp-sheet-name { min-width: 0; }
	.fp-sheet-table { font-size: 11px; }
	.fp-sheet-table th, .fp-sheet-table td { padding: 5px 4px; }
	.fp-sheet-foot { grid-template-columns: 1fr; }
	.fp-sizegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fp-photos-grid { grid-template-columns: 1fr; gap: 10px; }
	.fp-photo { flex-direction: row; }
	.fp-photo-img { flex: 0 0 38%; aspect-ratio: auto; min-height: 150px; }
	.fp-photo-body { flex: 1; min-width: 0; padding: 8px 10px; }
	.fp-photo-row select { flex: 1 1 100%; }
	.fp-hide-sp { display: none; }
	/* 表はスマホではカード型に */
	.fp-table-stack thead { display: none; }
	.fp-table-stack, .fp-table-stack tbody, .fp-table-stack tr, .fp-table-stack td { display: block; width: 100%; }
	.fp-table-stack tr { border: 1px solid var(--fp-line); border-radius: var(--fp-radius-sm); padding: 8px 14px; margin-bottom: 10px; background: var(--fp-card); }
	.fp-table-stack td { position: relative; border: 0; padding: 5px 0 5px 96px; text-align: left !important; white-space: normal; min-height: 30px; }
	.fp-table-stack td[data-label]::before { content: attr(data-label); position: absolute; left: 0; top: 7px; width: 88px; font-size: 12px; font-weight: 700; color: var(--fp-sub); }
	.fp-table-stack td[data-label=""] { padding-left: 0; }
	.fp-table-stack td[data-label=""]::before { display: none; }
	.fp-table-stack:not(.fp-table-form) td:first-child { padding-left: 0; font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--fp-line); margin-bottom: 4px; padding-bottom: 8px; }
	.fp-table-stack:not(.fp-table-form) td:first-child::before { display: none; }
	.fp-table-stack.fp-table-form td input[type="text"] { max-width: none !important; min-width: 0 !important; width: 100%; }
	.fp-table-stack .fp-btn { width: 100%; }
	.fp-table-wrap { overflow: visible; }
}

@media print {
	@page { size: A4; margin: 12mm; }
	.fp-header, .fp-btns, .fp-crumb, #wpadminbar, .fp-noprint, .fp-viewas, .fp-alert { display: none !important; }
	html, body { margin-top: 0 !important; }
	.fp-main { padding: 0; max-width: none; }
	.fp-sheet { box-shadow: none; border: 0; padding: 0; margin: 0; max-width: none; page-break-after: always; break-after: page; }
	.fp-sheet:last-of-type { page-break-after: auto; break-after: auto; }
	.fp-sheet-table thead th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.fp-sheet-table tfoot th, .fp-sheet-table tfoot tr.total td { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.fp-card { border: 0; padding: 0; box-shadow: none; }
	body.fp-shell, .fp-shell .fp-app { background: #fff; }
}

/* 選択中の区画（全テーマで最優先・はっきり目立たせる） */
.fp-app .fp-map .fp-pin.is-selected { background: var(--fp-sel); color: #111; border-color: #fff; box-shadow: 0 0 0 3px #111, 0 3px 10px rgba(0, 0, 0, .35); transform: translate(-50%, -50%) scale(1.22); z-index: 3; }
.fp-app .fp-map .fp-pin.is-selected::after { content: "✓"; position: absolute; top: -9px; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: #111; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }

/* 分配を受けている駐車場 */
.fp-plain-list { list-style: none; margin: 0; padding: 0; }
.fp-plain-list li { padding: 8px 0; border-bottom: 1px solid var(--fp-line, #e5e7eb); }
.fp-plain-list li:last-child { border-bottom: 0; }

/* =========================================================
 * 料金（一覧・カレンダー）
 * ======================================================= */
.fp-app .fp-btn.is-on { background: var(--fp-accent-soft); border-color: var(--fp-accent); color: var(--fp-accent); }
.fp-price-legend { margin: 4px 0 14px; }
.fp-price-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--fp-line); }
.fp-pc-base { background: #fff; }
.fp-pc-week { background: #eaf1fe; }
.fp-pc-hol { background: #fdeee6; }
.fp-pc-day { background: #fff4c7; }
.fp-pc-closed { background: repeating-linear-gradient(135deg, #eef0f3 0 6px, #e2e6eb 6px 12px); color: var(--fp-sub); }
.fp-mark-res { display: inline-block; width: 14px; height: 3px; background: var(--fp-green); border-radius: 2px; }

.fp-pgrid-tools { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--fp-line); flex-wrap: wrap; }
.fp-pgrid-tools input[type=search] { max-width: 320px; }
.fp-app .fp-pgrid { font-size: 13px; }
.fp-app .fp-pgrid th, .fp-app .fp-pgrid td { padding: 8px 6px; }
.fp-pgrid .fp-pg-check { width: 34px; text-align: center; }
.fp-pgrid .fp-pg-name { min-width: 190px; }
.fp-pgrid .fp-pg-day { text-align: center; font-weight: 600; white-space: nowrap; min-width: 46px; }
.fp-pgrid .fp-pg-day small { display: block; font-weight: 400; color: var(--fp-sub); }
.fp-pgrid .is-sat, .fp-pgrid .is-sat small { color: #2563eb; }
.fp-pgrid .is-sun, .fp-pgrid .is-sun small { color: #d14343; }
.fp-pgrid .fp-pg-cell { text-align: center; font-variant-numeric: tabular-nums; border-left: 1px solid #fff; }
.fp-pgrid tbody tr:hover td { filter: brightness(.98); }
.fp-bulk .fp-range { display: flex; gap: 8px; align-items: center; }
.fp-bulk .fp-range input { max-width: 170px; }

.fp-price-layout { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 18px; align-items: start; }
@media (max-width: 960px) { .fp-price-layout { grid-template-columns: 1fr; } }
.fp-week-table th { width: 54px; }
.fp-app .fp-week-table td, .fp-app .fp-week-table th { padding: 5px 6px; }
.fp-week-table input { width: 100%; text-align: right; }
.fp-week-table .is-sat th { color: #2563eb; }
.fp-week-table .is-sun th { color: #d14343; }
.fp-week-base th, .fp-week-base td { background: var(--fp-accent-soft); }

.fp-pcal-card .fp-titlebar { margin-bottom: 6px; }
.fp-pcal-quick { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.fp-pcal { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 18px; }
.fp-pcal-month h3 { margin: 0 0 8px; font-size: 15px; }
.fp-pcal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.fp-pcal-wd { text-align: center; font-size: 12px; color: var(--fp-sub); padding: 2px 0; }
.fp-pcal-wd.is-sat { color: #2563eb; } .fp-pcal-wd.is-sun { color: #d14343; }
.fp-app .fp-pcal-day { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 1px; min-height: 66px; padding: 4px 5px 5px; border: 1px solid var(--fp-line); border-radius: 8px; font: inherit; text-align: left; cursor: pointer; color: var(--fp-ink); overflow: hidden; }
.fp-pcal-day:hover { border-color: var(--fp-accent); }
.fp-pcal-n { font-size: 12px; font-weight: 700; }
.fp-pcal-day.is-sat .fp-pcal-n { color: #2563eb; } .fp-pcal-day.is-sun .fp-pcal-n { color: #d14343; }
.fp-pcal-hol { font-size: 9px; color: #d14343; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-pcal-p { margin-top: auto; font-size: 14px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.fp-pcal-h { font-size: 10px; color: var(--fp-sub); text-align: right; }
.fp-pcal-note { font-size: 9px; color: #8a6d00; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-pcal-day.is-past { opacity: .35; cursor: default; }
.fp-pcal-day.is-out { opacity: .55; }
.fp-pcal-day.is-res::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--fp-green); }
.fp-pcal-day.is-today { box-shadow: inset 0 0 0 2px var(--fp-ink); }
.fp-app .fp-pcal-day.is-sel { border-color: var(--fp-accent); box-shadow: 0 0 0 2px var(--fp-accent); background-color: #dbe8ff; }
.fp-pcal-apply { margin-top: 16px; padding: 14px; border: 1px solid var(--fp-line); border-radius: var(--fp-radius-sm); background: var(--fp-gray-bg); }
.fp-pcal-apply-head { margin-bottom: 8px; }
@media (max-width: 600px) {
	.fp-pcal { grid-template-columns: 1fr; }
	.fp-app .fp-pcal-day { min-height: 54px; padding: 3px; }
	.fp-pcal-p { font-size: 12px; }
	.fp-pcal-hol, .fp-pcal-note, .fp-pcal-h { display: none; }
}

/* =========================================================
 * 電子同意
 * ======================================================= */
.fp-card-consent { border-left: 4px solid var(--fp-accent); }
.fp-consent-text { background: var(--fp-gray-bg); border-radius: var(--fp-radius-sm); padding: 14px 16px; font-size: 14px; line-height: 1.9; margin-bottom: 12px; }
.fp-consent-snap { margin: 0 0 12px; }
.fp-consent-check { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--fp-accent); border-radius: var(--fp-radius-sm); background: var(--fp-accent-soft); font-weight: 700; cursor: pointer; }
.fp-consent-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.fp-consent-sheet h3 { font-size: 14px; margin: 22px 0 8px; padding-left: 8px; border-left: 3px solid var(--fp-ink); }
.fp-consent-sheet .fp-consent-text { background: #f6f7f9; }
.fp-sheet-kv th { width: 150px; text-align: left; background: #f3f5f8; font-weight: 600; }
.fp-sheet-kv th, .fp-sheet-kv td { padding: 8px 10px; border: 1px solid #d9dee5; font-size: 13px; }
.fp-mono { font-family: ui-monospace, Menlo, Consolas, monospace; word-break: break-all; font-size: 12px; }
.fp-ok { color: var(--fp-green); font-weight: 700; } .fp-ng { color: #c0392b; font-weight: 700; }
.fp-h3 { font-size: 15px; margin: 20px 0 8px; }
@media print { .fp-sheet-kv th { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
.fp-renumber-row { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; }
.fp-renumber-row label { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; }
.fp-renumber-row input { width: 90px; }
.fp-note-warn { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: #fff4e5; color: #8a4b00; }
.fp-perspace input[type=date] { max-width: 190px; }
.fp-req { font-style: normal; font-size: 11px; color: #c0392b; margin-left: 4px; }
.fp-bulkdate { background: var(--fp-gray-bg); border-radius: var(--fp-radius-sm); padding: 10px 12px; margin-bottom: 10px; }
.fp-pssize td { vertical-align: top; }
.fp-pssize .fp-in-sm { width: 70px; }
.fp-vchips-sm { gap: 4px; }
.fp-vchips-sm .fp-vchip span { padding: 3px 8px; font-size: 12px; }
.fp-pssize th:first-child, .fp-pssize td:first-child { white-space: nowrap; }

/* 駐車場／空き地 */
.fp-sitetype { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.fp-sitecard { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--fp-line); border-radius: var(--fp-radius-sm); cursor: pointer; background: var(--fp-card); }
.fp-sitecard input { margin-top: 4px; }
.fp-sitecard span { display: flex; flex-direction: column; gap: 3px; }
.fp-sitecard small { color: var(--fp-sub); font-size: 12px; line-height: 1.6; }
.fp-sitecard:has(input:checked) { border-color: var(--fp-accent); box-shadow: 0 0 0 2px var(--fp-accent-soft); }
[data-site-show][hidden] { display: none !important; }
.fp-badge-land { background: #efe7da; color: #6b4e1f; }
.fp-form .fp-field > span.fp-unit { display: flex; font-weight: 400; margin-bottom: 0; }
.fp-timerow { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.fp-timerow select { max-width: 140px; }
.fp-thumbrow { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.fp-thumbrow a { width: 84px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid var(--fp-line); display: flex; align-items: center; justify-content: center; background: var(--fp-gray-bg); font-size: 12px; color: var(--fp-sub); }
.fp-thumbrow img { width: 100%; height: 100%; object-fit: cover; }
.fp-submit-split { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fp-timerow[hidden] { display: none !important; }
.fp-subbox[data-ps-wrap]:has([data-ps-table][hidden]) { display: none; }

/* ===== 写真の選択（追加式） ===== */
.fp-picker { display: flex; flex-direction: column; gap: 8px; }
.fp-picker-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fp-picker-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-picker-grid:empty { display: none; }
.fp-picker-cell { position: relative; width: 104px; height: 78px; border-radius: 8px; overflow: hidden; border: 1px solid var(--fp-line); background: var(--fp-gray-bg); display: flex; align-items: center; justify-content: center; }
.fp-picker-cell img { width: 100%; height: 100%; object-fit: cover; }
.fp-picker-cell span { font-size: 11px; padding: 4px; word-break: break-all; color: var(--fp-sub); }
.fp-app .fp-picker-x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(11, 23, 41, .78); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.fp-note-info { padding: 10px 12px; border-radius: 8px; background: var(--fp-accent-soft); color: var(--fp-ink); font-size: 13px; margin: 0 0 12px; }
.fp-subfield { margin-top: 10px; padding: 12px; border-radius: 10px; background: var(--fp-gray-bg); display: flex; flex-direction: column; gap: 8px; }
.fp-subfield[hidden] { display: none; }
.fp-subfield-label { font-size: 13px; font-weight: 700; }
.fp-spacesum { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.fp-spacesum > div { padding: 10px 14px; border-radius: 10px; background: var(--fp-gray-bg); font-size: 13px; }
.fp-spacesum strong { font-size: 20px; margin-right: 4px; }
.fp-spacesum .is-warn { background: #fff4e5; color: #8a4b00; }

/* ===== 区画図のピン：区画数に合わせた大きさ ===== */
.fp-map .fp-pin { height: var(--pin, 32px); min-width: var(--pin, 32px); padding: 0 calc(var(--pin, 32px) * .2); border-radius: calc(var(--pin, 32px) / 2); font-size: calc(var(--pin, 32px) * .42); border-width: max(1.5px, calc(var(--pin, 32px) * .06)); }

/* ===== 区画の登録・編集 ===== */
.fp-sm-howto { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 13px; color: var(--fp-sub); margin-bottom: 10px; }
.fp-sm-howto b { color: var(--fp-ink); }
.fp-sm-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.fp-seg { display: inline-flex; border: 1px solid var(--fp-line); border-radius: 10px; overflow: hidden; }
.fp-app .fp-seg button { border: 0; background: var(--fp-card); padding: 10px 16px; font: inherit; font-weight: 700; font-size: 14px; color: var(--fp-sub); cursor: pointer; min-height: 44px; }
.fp-app .fp-seg button + button { border-left: 1px solid var(--fp-line); }
.fp-app .fp-seg button.is-on { background: var(--fp-accent); color: #fff; }
[data-spacemap].is-add .fp-sm-map img { cursor: crosshair; }
.fp-sm-map { touch-action: pan-x pan-y; }
.fp-sm-layer { position: absolute; inset: 0; pointer-events: none; }
.fp-sm-layer .fp-pin { pointer-events: auto; touch-action: none; background: var(--fp-accent); }
.fp-sm-layer .fp-pin.is-miss { background: #c47a00; }
.fp-sm-layer .fp-pin.is-off { background: #8a94a3; opacity: .8; }
.fp-sm-lasso { position: absolute; border: 2px dashed var(--fp-accent); background: rgba(37, 99, 235, .08); pointer-events: none; }
.fp-sm-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.fp-sm-grid.is-list { grid-template-columns: 1fr; }
.fp-sm-grid > .fp-card { margin-bottom: 0; }
.fp-sm-panel { position: sticky; top: 16px; }
.fp-sm-panel-head { flex-direction: column; align-items: flex-start; }
@media (max-width: 1000px) { .fp-sm-grid { grid-template-columns: 1fr; } }
.fp-sm-panel-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.fp-sm-range { display: inline-flex; gap: 6px; align-items: center; }
.fp-sm-range input { width: 110px; }
.fp-sm-one, .fp-sm-sizes, .fp-sm-addlist { display: flex; gap: 10px 16px; flex-wrap: wrap; align-items: center; margin: 8px 0; font-size: 13px; }
.fp-sm-one[hidden], .fp-sm-edit[hidden] { display: none; }
.fp-sm-sizes label, .fp-sm-one label, .fp-sm-addlist label { display: inline-flex; gap: 6px; align-items: center; }
.fp-sm-sizes .fp-in-sm, .fp-sm-one .fp-in-sm { width: 80px; }
.fp-sm-addlist input { width: 160px; }
.fp-sm-table tbody tr { cursor: pointer; }
.fp-sm-table tbody tr.is-sel td { background: var(--fp-accent-soft); }
@media (max-width: 1000px) { .fp-sm-panel { position: static; } }
.fp-delegate { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 14px; border: 1px dashed var(--fp-accent); border-radius: var(--fp-radius-sm); background: var(--fp-accent-soft); cursor: pointer; }
.fp-delegate input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.fp-delegate span { display: flex; flex-direction: column; gap: 3px; }
.fp-delegate small { color: var(--fp-sub); font-size: 12px; }
.fp-app .fp-pg-edit { all: unset; display: block; width: 100%; min-height: 28px; line-height: 28px; text-align: inherit; cursor: pointer; border-radius: 6px; box-sizing: border-box; padding: 0 2px; }
.fp-app .fp-pg-edit:hover { outline: 2px solid var(--fp-accent); background: #fff; }
.fp-app .fp-pg-edit:focus-visible { outline: 2px solid var(--fp-accent); }
.fp-app .fp-pg-input { width: 64px; padding: 4px; font-size: 13px; text-align: right; }
.fp-pgrid .fp-pg-cell.is-saved { animation: fpSaved 1.2s ease-out; }
@keyframes fpSaved { from { box-shadow: inset 0 0 0 2px #1f8a5c; } to { box-shadow: none; } }
.fp-layout-preview { border: 1px solid var(--fp-line); border-radius: 10px; overflow: hidden; background: #fff; max-width: 640px; margin-bottom: 8px; }
.fp-layout-preview[hidden] { display: none; }
.fp-layout-preview img { display: block; width: 100%; height: auto; }
.fp-picker.is-single .fp-picker-cell { width: 100%; max-width: 640px; height: auto; min-height: 120px; }
.fp-picker.is-single .fp-picker-cell img { height: auto; object-fit: contain; }
.fp-layout-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 6px 0; }
.fp-layout-actions[hidden] { display: none; }
[data-scope-show][hidden] { display: none !important; }

/* ---------- 必須・任意の表示 ---------- */
.fp-form .fp-field em.is-opt, .fp-opt { font-style: normal; font-size: 11px; color: var(--fp-sub); background: var(--fp-gray-bg); padding: 1px 7px; border-radius: 4px; margin-left: 6px; vertical-align: 1px; font-weight: 700; }
.fp-card h2 .fp-req, .fp-card h2 .fp-opt { font-size: 11px; padding: 1px 7px; border-radius: 4px; margin-left: 8px; vertical-align: 3px; font-weight: 700; font-style: normal; }
.fp-card h2 .fp-req { color: #fff; background: var(--fp-red); }
.fp-missing { border: 1px solid var(--fp-red); background: var(--fp-red-bg); border-radius: var(--fp-radius-sm); padding: 10px 14px; margin: 0 0 12px; font-size: 14px; }
.fp-missing strong { color: var(--fp-red); }
.fp-missing ul { margin: 4px 0 0; padding-left: 1.2em; }
.fp-missing.is-ok { border-color: var(--fp-green); background: var(--fp-green-bg); }
.fp-missing.is-ok strong { color: var(--fp-green); }

/* ---------- 区画サイズを登録する ---------- */
.fp-sz-ref summary { cursor: pointer; display: flex; gap: 6px; align-items: baseline; }
.fp-sz-ref img { display: block; max-width: 100%; max-height: 420px; margin: 10px auto 4px; border: 1px solid var(--fp-line); border-radius: var(--fp-radius-sm); background: #fff; }
.fp-sz-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.fp-sz-chip { display: inline-flex; align-items: center; gap: 2px; padding: 3px 4px 3px 10px; border: 1px solid var(--fp-input-border); border-radius: 99px; background: var(--fp-card); font-weight: 700; font-size: 14px; }
.fp-sz-chip button { border: 0; background: none; color: var(--fp-sub); font-size: 15px; line-height: 1; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; }
.fp-sz-chip button:hover { background: var(--fp-red-bg); color: var(--fp-red); }
.fp-sz-addrow, .fp-sz-selrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; }
.fp-sz-addrow input, .fp-sz-selrow input { flex: 1 1 200px; min-width: 0; }
.fp-sz-selrow { margin-top: 10px; }
.fp-sz-checks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; }
[data-sz-applymsg] { display: block; margin-top: 6px; min-height: 1.4em; transition: color .3s; }
[data-sz-applymsg].is-flash { color: var(--fp-accent); font-weight: 700; }
.fp-sz-listhead { padding: 14px 18px; border-bottom: 1px solid var(--fp-line); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.fp-sz-warn { color: var(--fp-red); }
.fp-sz-ok { color: var(--fp-green); }
.fp-sz-list { list-style: none; margin: 0; padding: 0; }
.fp-sz-row { display: flex; align-items: stretch; border-bottom: 1px solid var(--fp-line); }
.fp-sz-row:last-child { border-bottom: 0; }
.fp-sz-row.is-sel { background: var(--fp-accent-soft); }
.fp-sz-row.is-miss .fp-sz-veh { color: var(--fp-red); }
.fp-sz-row.is-miss { box-shadow: inset 4px 0 0 var(--fp-red); }
.fp-sz-check { display: flex; align-items: center; padding: 0 6px 0 16px; cursor: pointer; }
.fp-sz-check input { width: 20px; height: 20px; }
.fp-sz-open { flex: 1; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 8px; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; min-width: 0; }
.fp-sz-no { flex: none; min-width: 44px; font-weight: 800; font-size: 16px; }
.fp-sz-info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.fp-sz-veh { font-weight: 700; font-size: 14px; }
.fp-sz-size { font-size: 12px; color: var(--fp-sub); }
.fp-sz-edit { flex: none; font-size: 13px; color: var(--fp-accent); font-weight: 700; }
.fp-bsheet { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; justify-content: flex-end; }
.fp-bsheet[hidden] { display: none !important; }
.fp-bsheet-bg { position: absolute; inset: 0; background: rgba(10, 20, 35, .45); }
.fp-bsheet-body { position: relative; background: var(--fp-card); border-radius: 16px 16px 0 0; padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); max-height: 88vh; overflow: auto; width: 100%; max-width: 640px; margin: 0 auto; box-shadow: 0 -8px 30px rgba(0, 0, 0, .2); animation: fp-up .18s ease-out; }
@keyframes fp-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.fp-bsheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 18px; }
.fp-bsheet-x { border: 0; background: var(--fp-gray-bg); width: 34px; height: 34px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.fp-bsheet-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
body.fp-bsheet-open { overflow: hidden; }
/* 図面の区画マークの大きさ（フルパーク用） */
.fp-sm-pinsize { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fp-sub); }
.fp-sm-pinsize input { width: 120px; }
.fp-sz-selrow[hidden], .fp-form small[hidden], .fp-missing[hidden] { display: none !important; }

/* ---------- 1.18.0 アカウント登録・利用規約・空き地の登録 ---------- */
.fp-lead { margin: -6px 0 18px; color: var(--fp-sub); line-height: 1.8; }
.fp-signup { max-width: 860px; margin: 0 auto; }
.fp-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; counter-reset: none; }
.fp-steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--fp-card); border: 1px solid var(--fp-card-border); border-radius: var(--fp-radius-sm); font-size: 13px; font-weight: 700; color: var(--fp-ink); }
.fp-steps b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--fp-accent); color: #fff; font-size: 13px; flex: none; }
.fp-terms-keys { margin: 0 0 14px; }
.fp-terms-keys dd { line-height: 1.7; }
.fp-terms-box { max-height: 380px; overflow: auto; border: 1px solid var(--fp-line); border-radius: var(--fp-radius-sm); background: var(--fp-gray-bg); padding: 16px 20px; margin: 0 0 8px; font-size: 13px; line-height: 1.85; }
.fp-terms-box:focus-visible { outline: 3px solid color-mix(in srgb, var(--fp-accent) 35%, transparent); }
.fp-terms-title { font-size: 16px; margin: 0 0 10px !important; text-align: center; }
.fp-terms-ch { font-size: 15px; margin: 22px 0 6px !important; padding: 4px 0 4px 10px; border-left: 4px solid var(--fp-accent); }
.fp-terms-art { font-size: 13.5px; margin: 14px 0 4px !important; }
.fp-terms-box p, .fp-terms-body p { margin: 0 0 6px; }
.fp-terms-ol { margin: 0 0 6px; padding-left: 1.7em; }
.fp-terms-ol > li { margin-bottom: 3px; }
.fp-terms-sub { margin: 4px 0 2px; padding-left: 0; list-style: none; counter-reset: fpsub; }
.fp-terms-sub > li { counter-increment: fpsub; padding-left: 2.4em; text-indent: -2.4em; margin-bottom: 2px; }
.fp-terms-sub > li::before { content: "（" counter(fpsub) "）"; display: inline-block; width: 2.4em; text-indent: 0; }
.fp-terms-table { border-collapse: collapse; margin: 6px 0 10px 1.7em; font-size: 12.5px; background: #fff; }
.fp-terms-table th, .fp-terms-table td { border: 1px solid var(--fp-line); padding: 5px 10px; text-align: left; }
.fp-terms-table th { background: var(--fp-accent-soft); }
.fp-terms-foot { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--fp-line); font-size: 12px; color: var(--fp-sub); }
.fp-terms-sheet { font-size: 13.5px; line-height: 1.9; }
.fp-terms-sheet .fp-sheet-title h2 { font-size: 20px; letter-spacing: .05em; }
.fp-terms-sheet .fp-terms-ch { border-left-color: #0b1729; }
.fp-terms-toc { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 16px; padding: 10px 14px; background: #f6f7f9; border-radius: 8px; font-size: 12.5px; }
.fp-main-public { max-width: 900px; }
.fp-consent-terms { max-height: none; font-size: 12px; line-height: 1.75; }
.fp-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; text-align: left; }
.fp-choose-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; padding: 18px; background: var(--fp-card); border: 2px solid var(--fp-accent); border-radius: var(--fp-radius); text-decoration: none; color: var(--fp-ink) !important; transition: box-shadow .15s, transform .15s; }
.fp-choose-card:hover { box-shadow: var(--fp-shadow-hover); transform: translateY(-1px); }
.fp-choose-card .fp-ico { grid-row: 1 / 3; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--fp-accent-soft); color: var(--fp-accent); }
.fp-choose-card strong { font-size: 17px; }
.fp-choose-card span { font-size: 12.5px; color: var(--fp-sub); line-height: 1.6; }
.fp-actions-4 { grid-template-columns: repeat(4, 1fr); }
.fp-setup-check { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; padding: 12px 14px; border: 1px dashed var(--fp-input-border); border-radius: var(--fp-radius-sm); font-weight: 700; }
.fp-setup-check input { margin-top: 4px; }
@media (max-width: 960px) { .fp-actions-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
	.fp-choose, .fp-actions-4 { grid-template-columns: 1fr; }
	.fp-steps li { flex-direction: column; text-align: center; font-size: 11.5px; padding: 8px 6px; gap: 4px; }
	.fp-terms-box { max-height: 300px; padding: 12px 14px; }
	.fp-terms-table { margin-left: 0; }
}
@media print {
	.fp-terms-sheet { box-shadow: none; border: 0; padding: 0; }
	.fp-terms-table th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.fp-terms-art { break-after: avoid; }
}
.fp-field-error { margin: 6px 0 0; color: var(--fp-red); font-size: 13px; font-weight: 700; }
.fp-field > span[hidden] { display: none !important; }
.fp-field[hidden], .fp-subfield[hidden] { display: none !important; }
