/* 入居時室内チェックフォーム（MW WP Form 105387）専用。.clif-room-check 配下のみに適用 */
.clif-room-check { max-width: 760px; margin: 0 auto; color: #222; font-size: 16px; line-height: 1.75; }
.clif-room-check * { box-sizing: border-box; }

.clif-room-check .clif-intro { background: #f7f7f7; border-radius: 10px; padding: 1.25em; margin: 0 0 1.75em; font-size: 15px; line-height: 1.8; }

.clif-room-check .clif-property-table { border: 1px solid #d9d9d9; border-radius: 10px; overflow: hidden; margin: 0 0 2.5em; }
.clif-room-check .clif-property-table .clif-property-row { display: flex; border-bottom: 1px solid #d9d9d9; }
.clif-room-check .clif-property-table .clif-property-row:last-child { border-bottom: 0; }
.clif-room-check .clif-property-table .clif-property-row .clif-property-label { flex-shrink: 0; width: 10em; background: #f7f7f7; padding: 1em; font-size: 16px; font-weight: 700; border-right: 1px solid #d9d9d9; }
.clif-room-check .clif-property-table .clif-property-row .clif-property-input { flex-grow: 1; min-width: 0; padding: 0.75em 1em; font-size: 16px; }

.clif-room-check .clif-section { margin: 0 0 2.5em; }
.clif-room-check .clif-section .clif-section-title { font-size: 20px; line-height: 1.5; font-weight: 700; color: #1d4b33; border-bottom: 2px solid #1d4b33; padding: 0 0 0.5em; margin: 0 0 1.25em; }

.clif-room-check .clif-field { margin: 0 0 1.25em; }
.clif-room-check .clif-field .clif-label { display: block; font-size: 16px; font-weight: 700; margin: 0 0 0.5em; }
.clif-room-check .clif-required { display: inline-block; background: #dd3737; color: #fff; border-radius: 4px; padding: 0 0.5em; margin-left: 0.5em; font-size: 12px; font-weight: 400; line-height: 1.7; vertical-align: 0.1em; }

.clif-room-check input[type="text"],
.clif-room-check input[type="email"],
.clif-room-check textarea,
.clif-room-check select { display: block; width: 100%; max-width: none; min-height: 52px; border: 1px solid #c9ced3; border-radius: 8px; background: #fff; padding: 0.75em 0.9em; font-size: 16px; line-height: 1.5; color: #222; }
.clif-room-check textarea { min-height: 9em; }
.clif-room-check input[type="text"]:focus,
.clif-room-check input[type="email"]:focus,
.clif-room-check textarea:focus,
.clif-room-check select:focus { outline: 2px solid #1d4b33; outline-offset: 0; border-color: #1d4b33; }

.clif-room-check .clif-mail-note { margin: 0.5em 0 0; font-size: 13px; color: #dd3737; }
.clif-room-check .clif-help { margin: 0 0 0.75em; font-size: 13px; color: #666; line-height: 1.6; }
.clif-room-check .clif-center { text-align: center; }

/* お部屋の状況（ラジオ） */
.clif-room-check .clif-condition-field .mwform-radio-field { display: block; margin: 0 0 0.75em; }
.clif-room-check .clif-condition-field .mwform-radio-field label { display: flex; align-items: center; gap: 0.75em; min-height: 56px; border: 1px solid #c9ced3; border-radius: 8px; padding: 0.5em 1em; font-size: 16px; cursor: pointer; background: #fff; }
.clif-room-check .clif-condition-field .mwform-radio-field input[type="radio"] { width: 22px; height: 22px; margin: 0; flex-shrink: 0; }

/* 不具合カード */
.clif-room-check .clif-issues-list { margin: 0 0 1.25em; }
.clif-room-check .clif-issues-list .clif-issue-card { background: #f7f7f7; border: 1px solid #e3e3e3; border-radius: 12px; padding: 1.25em 1em; margin: 0 0 1.25em; }
.clif-room-check .clif-issues-list .clif-issue-card .clif-issue-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin: 0 0 1em; }
.clif-room-check .clif-issues-list .clif-issue-card .clif-issue-head .clif-issue-title { margin: 0; padding: 0; border: 0; font-size: 18px; font-weight: 700; color: #1d4b33; }
.clif-room-check .clif-issues-list .clif-issue-card .clif-issue-head .clif-remove-issue { flex-shrink: 0; min-height: 44px; border: 0; background: none; padding: 0 0.5em; font-size: 14px; color: #777; text-decoration: underline; cursor: pointer; }

/* 写真 */
.clif-room-check .clif-photo-counter { margin: 0 0 1.25em; padding: 0.6em 1em; border-radius: 8px; background: #fdfdfd; border: 1px solid #d9d9d9; font-size: 14px; font-weight: 700; }
.clif-room-check .clif-photo-counter.is-full { border-color: #dd3737; background: #ffebeb; color: #dd3737; }
.clif-room-check .clif-photo-field .clif-photo-grid { display: flex; gap: 0.75em; }
.clif-room-check .clif-photo-field .clif-photo-grid .clif-photo-slot { flex-grow: 1; flex-basis: 0; min-width: 0; background: #fff; border: 1px dashed #aaa; border-radius: 8px; padding: 0.75em; }
.clif-room-check .clif-photo-field .clif-photo-grid .clif-photo-slot.is-locked { opacity: 0.45; }
.clif-room-check .clif-photo-field .clif-photo-grid .clif-photo-slot input[type="file"] { width: 100%; font-size: 14px; }
.clif-room-check .clif-photo-field .clif-photo-grid .clif-photo-slot input[type="file"]::file-selector-button { display: block; width: 100%; min-height: 48px; margin: 0 0 0.5em; border: 0; border-radius: 8px; background: #1d4b33; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.clif-room-check .clif-photo-field .clif-photo-grid .clif-photo-slot .mwform-file-delete { display: inline-block; width: 44px; height: 44px; margin: 0.5em 0; border: 1px solid #c9ced3; border-radius: 8px; background: #fff; color: #555; font-size: 20px; line-height: 42px; text-align: center; cursor: pointer; }
.clif-room-check .clif-photo-field .clif-photo-grid .clif-photo-slot img { display: block; width: 100%; height: auto; border-radius: 6px; }

/* ボタン */
.clif-room-check .clif-add-issue { display: block; width: 100%; min-height: 56px; border: 2px solid #1d4b33; border-radius: 8px; background: #fff; color: #1d4b33; font-size: 16px; font-weight: 700; cursor: pointer; }
.clif-room-check .clif-submit-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75em; margin: 2.5em 0; }
.clif-room-check .clif-submit-wrap input[type="submit"],
.clif-room-check .clif-submit-wrap input[type="button"],
.clif-room-check .clif-submit-wrap button { display: block; width: 100%; max-width: 360px; min-height: 56px; border: 0; border-radius: 8px; background: #1d4b33; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }
.clif-room-check .clif-submit-wrap input[name="submitBack"] { background: #fff; color: #1d4b33; border: 2px solid #1d4b33; }

/* 確認画面 */
.clif-room-check.is-confirm .clif-required,
.clif-room-check.is-confirm .clif-help,
.clif-room-check.is-confirm .clif-mail-note,
.clif-room-check.is-confirm .clif-photo-counter { display: none; }
.clif-room-check.is-confirm .clif-field { padding: 0.75em 0; border-bottom: 1px solid #e3e3e3; }

/* MW WP Form のエラー表示 */
.clif-room-check .error { display: block; margin: 0.4em 0 0; font-size: 14px; color: #dd3737; }

@media (max-width: 750px) {
	.clif-room-check .clif-property-table .clif-property-row { flex-direction: column; }
	.clif-room-check .clif-property-table .clif-property-row .clif-property-label { width: 100%; border-right: 0; border-bottom: 1px solid #d9d9d9; padding: 0.75em 1em; }
	.clif-room-check .clif-section .clif-section-title { font-size: 4.8vw; }
	.clif-room-check .clif-photo-field .clif-photo-grid { flex-direction: column; }
	.clif-room-check .clif-submit-wrap input[type="submit"],
	.clif-room-check .clif-submit-wrap input[type="button"],
	.clif-room-check .clif-submit-wrap button { max-width: none; }
}
