/* ==========================================================================
   物件検索フォーム
   ========================================================================== */
.property-search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding: 20px;
	background: #f7f7f7;
	border-radius: 8px;
	margin-bottom: 30px;
}

.property-search-row {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.property-search-row label {
	font-size: 0.85em;
	font-weight: bold;
}

.property-search-row input,
.property-search-row select {
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.property-search-row--price {
	flex-direction: row;
	align-items: flex-end;
	gap: 8px;
}

.property-search-row--submit {
	justify-content: flex-end;
}

.property-search-row--submit button {
	padding: 10px 24px;
	background: #e6553a;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
}

.property-search-row--submit button:hover {
	opacity: 0.85;
}

/* ==========================================================================
   物件一覧(アーカイブ)
   ========================================================================== */
.property-archive-title {
	margin-bottom: 20px;
}

.property-count {
	font-size: 0.7em;
	color: #888;
}

.property-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.property-card {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s ease;
}

.property-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.property-card-link {
	color: inherit;
	text-decoration: none;
	display: block;
}

.property-card-thumb {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #eee;
	overflow: hidden;
}

.property-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.property-card-thumb-noimage {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: #aaa;
}

.property-status-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: #e6553a;
	color: #fff;
	font-size: 0.75em;
	padding: 4px 10px;
	border-radius: 4px;
}

.property-card-body {
	padding: 14px;
}

.property-card-title {
	font-size: 1em;
	margin: 0 0 6px;
}

.property-card-price {
	font-size: 1.3em;
	font-weight: bold;
	color: #e6553a;
	margin: 0 0 8px;
}

.property-card-meta {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.85em;
	color: #666;
}

.property-card-meta li {
	margin-bottom: 2px;
}

.property-pagination {
	margin-top: 30px;
	text-align: center;
}

.property-not-found {
	padding: 40px 0;
	text-align: center;
	color: #888;
}

/* ==========================================================================
   物件詳細
   ========================================================================== */
.property-single-price {
	font-size: 1.8em;
	font-weight: bold;
	color: #e6553a;
	margin: 10px 0;
}

.property-detail-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.property-detail-table th,
.property-detail-table td {
	padding: 10px;
	border-bottom: 1px solid #e0e0e0;
	text-align: left;
}

.property-detail-table th {
	width: 30%;
	background: #f7f7f7;
}

.property-single-contact {
	margin-top: 30px;
	padding: 20px;
	background: #f7f7f7;
	border-radius: 8px;
	text-align: center;
}

.property-contact-button {
	display: inline-block;
	margin-top: 10px;
	padding: 12px 32px;
	background: #e6553a;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: bold;
}

/* ==========================================================================
   物件写真ギャラリー(詳細ページ)
   ========================================================================== */
.property-gallery-front {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
	margin: 16px 0;
}

.property-gallery-front-item img {
	width: 100%;
	height: 110px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

/* ==========================================================================
   Googleマップ
   ========================================================================== */
.property-section-title {
	margin: 30px 0 10px;
}

.property-map-iframe {
	border-radius: 8px;
}

/* ==========================================================================
   トップページ
   ========================================================================== */
.front-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	background-color: #333;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 30px;
}

.front-hero-overlay {
	background: rgba(0, 0, 0, 0.4);
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 60px 20px;
	color: #fff;
}

.front-hero-title {
	font-size: 2.2em;
	color: #fff;
	margin: 0 0 12px;
}

.front-hero-subtitle {
	font-size: 1.1em;
	margin: 0;
}

.front-search {
	margin-bottom: 40px;
}

.front-section-title {
	margin-bottom: 20px;
}

.front-more-link {
	text-align: center;
	margin-top: 24px;
}

.front-more-link a {
	display: inline-block;
	padding: 10px 28px;
	border: 2px solid #e6553a;
	color: #e6553a;
	text-decoration: none;
	border-radius: 4px;
	font-weight: bold;
}

.front-more-link a:hover {
	background: #e6553a;
	color: #fff;
}

/* ==========================================================================
   賃貸・売買 種別フィルター
   ========================================================================== */
.property-type-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}

.property-type-filter a {
	padding: 8px 20px;
	border: 1px solid #ccc;
	border-radius: 20px;
	text-decoration: none;
	color: #333;
	font-size: 0.9em;
}

.property-type-filter a.is-active,
.property-type-filter a:hover {
	background: #e6553a;
	border-color: #e6553a;
	color: #fff;
}

/* ==========================================================================
   会社概要ページ
   ========================================================================== */
.company-info-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

.company-info-table th,
.company-info-table td {
	padding: 14px;
	border-bottom: 1px solid #e0e0e0;
	text-align: left;
	vertical-align: top;
}

.company-info-table th {
	width: 25%;
	background: #f7f7f7;
	white-space: nowrap;
}

/* ==========================================================================
   お問い合わせページ
   ========================================================================== */
.contact-form-message {
	padding: 14px 18px;
	border-radius: 4px;
	margin-bottom: 20px;
}

.contact-form-message--success {
	background: #eaf6ec;
	color: #2e7d32;
	border: 1px solid #a5d6a7;
}

.contact-form-message--error {
	background: #fdecea;
	color: #c62828;
	border: 1px solid #ef9a9a;
}

.contact-form-row {
	margin-bottom: 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.contact-form-row label {
	font-weight: bold;
}

.contact-form-row .required {
	color: #e6553a;
	font-size: 0.8em;
	font-weight: normal;
}

.contact-form-row input,
.contact-form-row textarea {
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1em;
}

.contact-form-row--submit button {
	align-self: flex-start;
	padding: 12px 40px;
	background: #e6553a;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-weight: bold;
	cursor: pointer;
}

.contact-form-row--submit button:hover {
	opacity: 0.85;
}
