.cf-finder { --cf-navy: #1f3a5f; --cf-line: #d6dde6; --cf-bg: #f5f7fa; font-size: 15px; }
.cf-filters { background: var(--cf-bg); border: 1px solid var(--cf-line); border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
.cf-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; margin-bottom: 8px; }
.cf-row label { display: flex; flex-direction: column; font-weight: 600; font-size: 13px; color: var(--cf-navy); gap: 4px; }
.cf-row label.cf-check { flex-direction: row; align-items: center; gap: 6px; font-size: 14px; }
.cf-row select, .cf-row input[type="number"], .cf-row input[type="text"] { padding: 6px 8px; border: 1px solid var(--cf-line); border-radius: 6px; font-size: 15px; background: #fff; }
.cf-row input[type="number"] { width: 6em; }
.cf-inline { display: inline-flex; align-items: center; gap: 6px; font-weight: normal; }
.cf-place { flex: 1 1 260px; }
.cf-place input { flex: 1; min-width: 0; }
.cf-btn { display: inline-block; padding: 8px 14px; border: 1px solid var(--cf-navy); border-radius: 6px; background: #fff; color: var(--cf-navy); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.3; }
.cf-btn-primary { background: var(--cf-navy); color: #fff; }
.cf-btn:hover { opacity: .85; }
.cf-msg { margin: 4px 0 0; font-size: 13px; color: #b32d2e; min-height: 1em; }
.cf-map { height: 380px; border-radius: 8px; border: 1px solid var(--cf-line); margin-bottom: 14px; z-index: 0; }
.cf-count { font-weight: 600; color: var(--cf-navy); }
.cf-card { border: 1px solid var(--cf-line); border-radius: 8px; padding: 14px; margin-bottom: 12px; background: #fff; }
.cf-name { margin: 0 0 4px; font-size: 18px; color: var(--cf-navy); display: flex; justify-content: space-between; gap: 8px; border: 0; padding: 0; }
.cf-name::before, .cf-name::after { display: none; }
.cf-dist { font-size: 14px; color: #555; white-space: nowrap; }
.cf-addr, .cf-area, .cf-note { margin: 0 0 4px; font-size: 14px; color: #444; }
.cf-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.cf-machines { list-style: none; margin: 8px 0 0; padding: 0; }
.cf-machine { display: flex; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--cf-line); align-items: flex-start; }
.cf-status { flex: 0 0 auto; min-width: 7em; text-align: center; padding: 3px 6px; border-radius: 4px; font-size: 13px; font-weight: 700; }
.cf-status-available { background: #e3f4e8; color: #1a7f37; }
.cf-status-working { background: #fdecea; color: #b32d2e; }
.cf-status-ask { background: #eef1f5; color: #555; }
.cf-mbody { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.cf-spec { color: #444; }
.cf-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.cf-chip { font-size: 12px; padding: 1px 6px; border: 1px solid var(--cf-line); border-radius: 10px; color: var(--cf-navy); }
.cf-updated, .cf-mnote { font-size: 12px; color: #666; }
.cf-notice { margin-top: 16px; padding: 10px 14px; background: var(--cf-bg); border-radius: 8px; font-size: 12px; color: #555; }
.cf-notice p { margin: 0 0 4px; }
@media (max-width: 600px) {
  .cf-map { height: 300px; }
  .cf-row label { flex: 1 1 45%; }
  .cf-place { flex-basis: 100%; }
}

/* 業者の掲載申込・マイページ */
.cf-vendor { --cf-navy: #1f3a5f; --cf-line: #d6dde6; --cf-bg: #f5f7fa; max-width: 640px; font-size: 15px; }
.cf-vendor h2 { margin: 0; font-size: 20px; color: var(--cf-navy); }
.cf-vendor h3 { margin: 24px 0 8px; font-size: 17px; color: var(--cf-navy); }
.cf-vhead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cf-form-vendor { display: flex; flex-direction: column; gap: 12px; background: var(--cf-bg); border: 1px solid var(--cf-line); border-radius: 8px; padding: 14px; }
.cf-form-vendor label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; color: var(--cf-navy); }
.cf-form-vendor label.cf-check { flex-direction: row; align-items: center; gap: 6px; font-weight: normal; color: inherit; }
.cf-form-vendor input[type="text"], .cf-form-vendor input[type="email"], .cf-form-vendor input[type="tel"], .cf-form-vendor input[type="url"], .cf-form-vendor input[type="number"], .cf-form-vendor select, .cf-form-vendor textarea { padding: 8px; border: 1px solid var(--cf-line); border-radius: 6px; font-size: 16px; background: #fff; font-weight: normal; }
.cf-form-vendor small { font-weight: normal; color: #666; }
.cf-form-vendor fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.cf-form-vendor legend { font-weight: 600; font-size: 14px; color: var(--cf-navy); margin-bottom: 4px; }
.cf-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-req { align-self: flex-start; display: inline-block; font-size: 11px; color: #fff; background: #b32d2e; border-radius: 3px; padding: 0 4px; margin-left: 4px; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-small { font-size: 12px; color: #666; margin: 0; }
.cf-flash { background: #e3f4e8; border: 1px solid #b7dfc3; color: #1a5f2c; border-radius: 6px; padding: 10px 12px; }
.cf-vmachine { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px dashed var(--cf-line); }
.cf-vminfo { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cf-vbtns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cf-vendor .cf-btn { background: #fff !important; color: var(--cf-navy) !important; border: 1px solid var(--cf-navy) !important; border-radius: 6px; font-size: 14px; font-weight: 600; }
.cf-vendor .cf-btn-primary { background: var(--cf-navy) !important; color: #fff !important; }
.cf-vendor .cf-btn-avail { background: #1a7f37 !important; border-color: #1a7f37 !important; color: #fff !important; padding: 10px 18px; }
.cf-vendor .cf-btn-work { background: #b32d2e !important; border-color: #b32d2e !important; color: #fff !important; padding: 10px 18px; }
.cf-vendor .cf-btn-del { background: #fff !important; border-color: #b32d2e !important; color: #b32d2e !important; margin-left: auto; }
@media (max-width: 600px) { .cf-2col { grid-template-columns: 1fr; } }

.cf-quick { display: flex; flex-direction: column; gap: 8px; }
.cf-quick input[type="text"] { width: 100%; box-sizing: border-box; padding: 8px; border: 1px solid #d6dde6; border-radius: 6px; font-size: 13px; font-family: ui-monospace, monospace; background: #fff; }

/* 0.4.0: 申込フォームの案内・ピン・完了画面 */
.cf-intro { background: #eef3f9; border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; }
.cf-intro p { margin: 0 0 6px; }
.cf-pinbox { display: flex; flex-direction: column; gap: 6px; }
.cf-pinlabel { font-weight: 600; font-size: 14px; color: var(--cf-navy); display: flex; align-items: center; }
.cf-pinbox small { font-weight: normal; color: #666; }
.cf-pin-map { height: 300px; border: 1px solid var(--cf-line); border-radius: 6px; z-index: 0; }
.cf-done { background: #fff; border: 2px solid #1a7f37; border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.cf-done h3 { margin: 0; }
.cf-done p { margin: 0; }

/* 0.4.2: 掲載のご案内 */
.cf-finder .cf-join { display: flex; flex-direction: column; gap: 2px; margin: 0 0 12px; padding: 12px 16px; border: 2px solid #1f3a5f; border-radius: 8px; background: #eef3f9; color: #1f3a5f !important; text-decoration: none !important; }
.cf-finder .cf-join:hover { background: #dfe8f3; }
.cf-join-main { font-weight: 700; font-size: 16px; }
.cf-join-main::after { content: " →"; }
.cf-join-sub { font-size: 13px; color: #44566c; }

/* 0.5.0: 業者だけを表示しているときの帯 */
.cf-finder .cf-focus { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; padding: 10px 14px; background: #fff8e1; border-radius: 8px; font-weight: 600; }
.cf-finder .cf-focus[hidden] { display: none; }
.cf-finder .cf-join[hidden] { display: none; }
