/**
 * 物件情報のフロントエンドスタイル。
 *
 * 既存サイトのデザイン変数（--ecomall-*）を利用し、未定義の場合でも
 * 同じ色になるようフォールバック値を指定している。
 */

.ecomall-main {
	--pim-primary: var( --ecomall-primary, #d9711f );
	--pim-primary-dark: var( --ecomall-primary-dark, #b85c14 );
	--pim-text: var( --ecomall-text, #333333 );
	--pim-text-light: var( --ecomall-text-light, #666666 );
	--pim-border: var( --ecomall-border, #e5e5e5 );
	--pim-bg-section: var( --ecomall-bg-section, #faf8f5 );
	--pim-radius: 10px;
	--pim-shadow: 0 2px 12px rgba( 0, 0, 0, 0.06 );
	--pim-shadow-hover: 0 8px 24px rgba( 0, 0, 0, 0.12 );
}

.ecomall-container {
	max-width: 1120px;
	margin-inline: auto;
	padding-inline: 20px;
}

/* ------------------------------------------------------------------ 見出し */

.ecomall-page-header {
	text-align: center;
	padding: 48px 0 32px;
}

.ecomall-page-title {
	font-size: clamp( 1.6rem, 4vw, 2.25rem );
	font-weight: 700;
	color: var( --pim-text );
	margin: 0 0 12px;
	line-height: 1.4;
}

.ecomall-page-description {
	font-size: 0.95rem;
	line-height: 1.9;
	color: var( --pim-text-light );
	max-width: 720px;
	margin: 0 auto;
}

.ecomall-section-heading {
	font-size: clamp( 1.25rem, 3vw, 1.5rem );
	font-weight: 700;
	color: var( --pim-text );
	margin: 48px 0 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var( --pim-primary );
}

/* ------------------------------------------------ カテゴリー絞り込みボタン */

.ecomall-kind-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 0 0 24px;
}

.ecomall-kind-filter__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 10px 22px;
	border: 1.5px solid var( --pim-border );
	border-radius: 999px;
	background: #ffffff;
	color: var( --pim-text );
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ecomall-kind-filter__btn:hover,
.ecomall-kind-filter__btn:focus-visible {
	border-color: var( --pim-primary );
	color: var( --pim-primary );
}

.ecomall-kind-filter__btn.is-active {
	background: var( --pim-primary );
	border-color: var( --pim-primary );
	color: #ffffff;
}

.ecomall-kind-filter__count {
	display: inline-block;
	min-width: 24px;
	padding: 2px 7px;
	border-radius: 999px;
	background: var( --pim-bg-section );
	color: var( --pim-text-light );
	font-size: 0.78rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.5;
}

.ecomall-kind-filter__btn.is-active .ecomall-kind-filter__count {
	background: rgba( 255, 255, 255, 0.28 );
	color: #ffffff;
}

/* -------------------------------------------------------------- 詳細検索 */

.ecomall-property-search {
	background: var( --pim-bg-section );
	border: 1px solid var( --pim-border );
	border-radius: var( --pim-radius );
	margin-bottom: 28px;
}

.ecomall-property-search__summary {
	padding: 16px 20px;
	font-size: 0.95rem;
	font-weight: 600;
	color: var( --pim-text );
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
}

.ecomall-property-search__summary::-webkit-details-marker {
	display: none;
}

.ecomall-property-search__summary::before {
	content: "＋";
	color: var( --pim-primary );
	font-weight: 700;
}

.ecomall-property-search[open] .ecomall-property-search__summary::before {
	content: "−";
}

.ecomall-property-search__form {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 200px, 1fr ) );
	gap: 16px;
	padding: 0 20px 20px;
}

.ecomall-property-search__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ecomall-property-search__field label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var( --pim-text-light );
}

.ecomall-property-search__field select {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid var( --pim-border );
	border-radius: 6px;
	background: #ffffff;
	font-size: 0.95rem;
	color: var( --pim-text );
}

.ecomall-property-search__field--submit {
	justify-content: flex-end;
	gap: 10px;
}

.ecomall-property-search__submit {
	min-height: 48px;
	padding: 12px 24px;
	border: none;
	border-radius: 6px;
	background: var( --pim-primary );
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ecomall-property-search__submit:hover,
.ecomall-property-search__submit:focus-visible {
	background: var( --pim-primary-dark );
}

.ecomall-property-search__reset {
	font-size: 0.85rem;
	color: var( --pim-text-light );
	text-align: center;
	text-decoration: underline;
}

/* ---------------------------------------------------------------- 件数 */

.ecomall-property-result-count {
	font-size: 0.9rem;
	color: var( --pim-text-light );
	margin: 0 0 16px;
}

/* ------------------------------------------------------------ 物件カード */

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

.ecomall-property-card {
	background: #ffffff;
	border: 1px solid var( --pim-border );
	border-radius: var( --pim-radius );
	overflow: hidden;
	box-shadow: var( --pim-shadow );
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ecomall-property-card:hover {
	transform: translateY( -3px );
	box-shadow: var( --pim-shadow-hover );
}

.ecomall-property-card.is-sold {
	opacity: 0.78;
}

.ecomall-property-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.ecomall-property-card__image {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var( --pim-bg-section );
}

.ecomall-property-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ecomall-property-noimage {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient( 135deg, #faf3ea 0%, #f2e4d2 100% );
	color: #c39a6d;
}

.ecomall-property-noimage__text {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.ecomall-property-card__badges {
	position: absolute;
	top: 10px;
	left: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: calc( 100% - 20px );
}

.ecomall-property-card__badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	background: rgba( 0, 0, 0, 0.62 );
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.5;
}

.ecomall-property-card__badge--kind {
	background: var( --pim-primary );
}

.ecomall-property-card__badge--investment {
	background: #1f6f8b;
}

.ecomall-property-card__badge--rental {
	background: #4a7c59;
}

.ecomall-property-card__badge--status {
	background: #8d8d8d;
}

.ecomall-property-card__body {
	flex: 1;
	padding: 18px 18px 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ecomall-property-card__price {
	font-size: 1.3rem;
	font-weight: 700;
	color: var( --pim-primary );
	line-height: 1.3;
}

.ecomall-property-card__title {
	font-size: 1.02rem;
	font-weight: 700;
	color: var( --pim-text );
	margin: 0;
	line-height: 1.6;
}

.ecomall-property-card__meta {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 0.85rem;
	color: var( --pim-text-light );
	line-height: 1.7;
}

.ecomall-property-card__meta-item {
	display: flex;
	gap: 8px;
}

.ecomall-property-card__meta-label {
	flex: 0 0 3.8em;
	color: #999999;
	font-size: 0.78rem;
}

.ecomall-property-card__flags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ecomall-property-card__flag {
	display: inline-block;
	padding: 3px 9px;
	border: 1px solid var( --pim-primary );
	border-radius: 4px;
	color: var( --pim-primary );
	font-size: 0.73rem;
	font-weight: 600;
	line-height: 1.6;
}

.ecomall-property-card__flag--foreign {
	border-color: #1f6f8b;
	color: #1f6f8b;
}

.ecomall-property-card__cta {
	display: block;
	padding: 12px 18px;
	border-top: 1px solid var( --pim-border );
	color: var( --pim-primary );
	font-size: 0.9rem;
	font-weight: 700;
	text-align: right;
}

.ecomall-property-card__cta::after {
	content: " →";
}

/* -------------------------------------------------------------- 0件表示 */

.ecomall-no-results {
	text-align: center;
	padding: 56px 20px;
	background: var( --pim-bg-section );
	border-radius: var( --pim-radius );
}

.ecomall-no-results p {
	margin: 0 0 12px;
	color: var( --pim-text-light );
	line-height: 1.9;
}

.ecomall-btn-primary,
.ecomall-btn-primary-lg,
.ecomall-btn-secondary-lg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 32px;
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ecomall-btn-primary,
.ecomall-btn-primary-lg {
	background: var( --pim-primary );
	color: #ffffff;
}

.ecomall-btn-primary:hover,
.ecomall-btn-primary-lg:hover,
.ecomall-btn-primary:focus-visible,
.ecomall-btn-primary-lg:focus-visible {
	background: var( --pim-primary-dark );
	color: #ffffff;
}

.ecomall-btn-primary-lg {
	font-size: 1.05rem;
	width: 100%;
	max-width: 380px;
}

.ecomall-btn-secondary-lg {
	background: #ffffff;
	border: 1.5px solid var( --pim-primary );
	color: var( --pim-primary );
	font-size: 1.05rem;
	width: 100%;
	max-width: 380px;
}

.ecomall-btn-secondary-lg:hover,
.ecomall-btn-secondary-lg:focus-visible {
	background: var( --pim-bg-section );
	color: var( --pim-primary-dark );
}

/* ------------------------------------------------------- 一覧下部のCTA */

.ecomall-archive-cta {
	margin: 56px 0 24px;
	padding: 36px 24px;
	background: var( --pim-bg-section );
	border-radius: var( --pim-radius );
	text-align: center;
}

.ecomall-archive-cta__title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var( --pim-text );
	margin: 0 0 12px;
}

.ecomall-archive-cta__text {
	font-size: 0.92rem;
	line-height: 1.9;
	color: var( --pim-text-light );
	max-width: 640px;
	margin: 0 auto 24px;
}

.ecomall-archive-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

/* -------------------------------------------------------------- 詳細 */

.ecomall-property-detail {
	max-width: 1000px;
	margin-inline: auto;
	padding: 24px 20px 64px;
}

.ecomall-breadcrumb {
	font-size: 0.82rem;
	color: var( --pim-text-light );
	margin-bottom: 20px;
	line-height: 1.8;
}

.ecomall-breadcrumb a {
	color: var( --pim-text-light );
	text-decoration: none;
}

.ecomall-breadcrumb a:hover {
	color: var( --pim-primary );
	text-decoration: underline;
}

.ecomall-breadcrumb__sep {
	margin: 0 6px;
	color: #bbbbbb;
}

.ecomall-property-sold-banner {
	background: #f5f5f5;
	border: 1px solid #d8d8d8;
	border-left: 4px solid #8d8d8d;
	border-radius: 6px;
	padding: 16px 20px;
	margin-bottom: 24px;
}

.ecomall-property-sold-banner__title {
	font-size: 1rem;
	font-weight: 700;
	color: #555555;
	margin: 0 0 6px;
}

.ecomall-property-sold-banner__text {
	font-size: 0.88rem;
	color: var( --pim-text-light );
	margin: 0;
	line-height: 1.8;
}

.ecomall-property-detail__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.ecomall-tag {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 4px;
	background: var( --pim-bg-section );
	color: var( --pim-text-light );
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.5;
}

.ecomall-tag--kind {
	background: var( --pim-primary );
	color: #ffffff;
}

.ecomall-tag--investment {
	background: #1f6f8b;
	color: #ffffff;
}

.ecomall-tag--rental {
	background: #4a7c59;
	color: #ffffff;
}

.ecomall-tag--foreign {
	background: #eaf3f6;
	color: #1f6f8b;
}

.ecomall-tag--status {
	background: #ededed;
	color: #666666;
}

.ecomall-property-detail__title {
	font-size: clamp( 1.5rem, 4vw, 2.1rem );
	font-weight: 700;
	color: var( --pim-text );
	margin: 0 0 12px;
	line-height: 1.45;
}

.ecomall-property-detail__catchcopy {
	font-size: 1rem;
	color: var( --pim-text-light );
	margin: 0 0 18px;
	line-height: 1.8;
}

.ecomall-property-detail__price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: clamp( 1.7rem, 5vw, 2.4rem );
	font-weight: 700;
	color: var( --pim-primary );
	margin-bottom: 24px;
	line-height: 1.2;
}

.ecomall-property-detail__price-label {
	font-size: 0.95rem;
	font-weight: 600;
	color: var( --pim-text-light );
}

.ecomall-property-detail__keyspecs {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 240px, 1fr ) );
	gap: 0;
	margin: 0 0 28px;
	border-top: 1px solid var( --pim-border );
}

.ecomall-keyspec {
	display: flex;
	gap: 12px;
	padding: 12px 4px;
	border-bottom: 1px solid var( --pim-border );
}

.ecomall-keyspec dt {
	flex: 0 0 6.5em;
	font-size: 0.85rem;
	font-weight: 600;
	color: var( --pim-text-light );
}

.ecomall-keyspec dd {
	margin: 0;
	font-size: 0.92rem;
	color: var( --pim-text );
	line-height: 1.7;
}

.ecomall-property-detail__firstview-cta {
	margin-bottom: 8px;
}

/* ---------------------------------------------------------- ギャラリー */

.ecomall-gallery__main {
	border-radius: var( --pim-radius );
	overflow: hidden;
	background: var( --pim-bg-section );
	margin-bottom: 12px;
}

.ecomall-gallery__main img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	cursor: zoom-in;
}

.ecomall-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 96px, 1fr ) );
	gap: 8px;
}

.ecomall-gallery__thumb {
	display: block;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.ecomall-gallery__thumb.is-active {
	border-color: var( --pim-primary );
}

.ecomall-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* --------------------------------------------------- おすすめポイント */

.ecomall-property-detail__points ul {
	margin: 0;
	padding: 20px 24px;
	background: var( --pim-bg-section );
	border-radius: var( --pim-radius );
	list-style: none;
}

.ecomall-property-detail__points li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 10px;
	font-size: 0.95rem;
	line-height: 1.8;
	color: var( --pim-text );
}

.ecomall-property-detail__points li:last-child {
	margin-bottom: 0;
}

.ecomall-property-detail__points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var( --pim-primary );
	font-weight: 700;
}

/* ------------------------------------------------------------ 概要表 */

.ecomall-property-detail__table-wrap {
	border: 1px solid var( --pim-border );
	border-radius: var( --pim-radius );
	overflow: hidden;
}

.ecomall-property-detail__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
}

.ecomall-property-detail__table th,
.ecomall-property-detail__table td {
	padding: 13px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var( --pim-border );
	line-height: 1.8;
}

.ecomall-property-detail__table tr:last-child th,
.ecomall-property-detail__table tr:last-child td {
	border-bottom: none;
}

.ecomall-property-detail__table th {
	width: 32%;
	background: var( --pim-bg-section );
	font-weight: 600;
	color: var( --pim-text-light );
	white-space: nowrap;
}

.ecomall-property-detail__table td {
	color: var( --pim-text );
	word-break: break-word;
}

.ecomall-property-detail__table strong {
	color: var( --pim-primary );
	font-size: 1.05rem;
}

/* ---------------------------------------------------------- 間取り図 */

.ecomall-property-detail__floorplan-img {
	text-align: center;
	padding: 20px;
	background: var( --pim-bg-section );
	border-radius: var( --pim-radius );
}

.ecomall-floorplan-image {
	max-width: 100%;
	height: auto;
	cursor: zoom-in;
}

/* -------------------------------------------------------- 物件資料 */

.ecomall-property-documents__lead {
	font-size: 0.92rem;
	color: var( --pim-text-light );
	margin: 0 0 18px;
	line-height: 1.8;
}

.ecomall-property-documents__list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ecomall-property-documents__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid var( --pim-border );
	border-radius: 8px;
	background: #ffffff;
}

.ecomall-property-documents__icon {
	flex: 0 0 auto;
	color: #c0392b;
	display: flex;
	align-items: center;
}

.ecomall-property-documents__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ecomall-property-documents__name {
	font-size: 0.95rem;
	font-weight: 600;
	color: var( --pim-text );
	word-break: break-word;
	line-height: 1.6;
}

.ecomall-property-documents__meta {
	font-size: 0.78rem;
	color: var( --pim-text-light );
}

.ecomall-property-documents__link {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 20px;
	border-radius: 6px;
	background: var( --pim-primary );
	color: #ffffff;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.ecomall-property-documents__link:hover,
.ecomall-property-documents__link:focus-visible {
	background: var( --pim-primary-dark );
	color: #ffffff;
}

.ecomall-property-documents__images {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 200px, 1fr ) );
	gap: 16px;
}

.ecomall-property-documents__image {
	margin: 0;
}

.ecomall-property-documents__image img {
	width: 100%;
	height: auto;
	border: 1px solid var( --pim-border );
	border-radius: 8px;
	display: block;
	cursor: zoom-in;
}

.ecomall-property-documents__image figcaption {
	font-size: 0.8rem;
	color: var( --pim-text-light );
	margin-top: 8px;
	line-height: 1.6;
}

/* ------------------------------------------------------------ CTA */

.ecomall-property-detail__cta {
	margin: 48px 0;
	padding: 36px 24px;
	background: var( --pim-bg-section );
	border-radius: var( --pim-radius );
	text-align: center;
}

.ecomall-property-detail__cta-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var( --pim-text );
	margin: 0 0 12px;
}

.ecomall-property-detail__cta-text {
	font-size: 0.92rem;
	color: var( --pim-text-light );
	margin: 0 auto 24px;
	max-width: 560px;
	line-height: 1.9;
}

.ecomall-property-detail__cta-tel {
	font-size: 0.88rem;
	color: var( --pim-text-light );
	margin: 18px 0 0;
	line-height: 1.8;
}

.ecomall-property-detail__cta-tel a {
	color: var( --pim-primary );
	font-weight: 700;
	text-decoration: none;
}

.ecomall-property-detail__related-more {
	text-align: center;
	margin: 24px 0 0;
}

.ecomall-property-detail__related-more a {
	color: var( --pim-primary );
	font-weight: 600;
	text-decoration: none;
	font-size: 0.95rem;
}

.ecomall-property-detail__related-more a:hover {
	text-decoration: underline;
}

/* ------------------------------------------------------ ライトボックス */

.ecomall-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ecomall-lightbox[hidden] {
	display: none;
}

.ecomall-lightbox__overlay {
	position: absolute;
	inset: 0;
	background: rgba( 0, 0, 0, 0.9 );
}

.ecomall-lightbox__content {
	position: relative;
	max-width: 92vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ecomall-lightbox__img {
	max-width: 92vw;
	max-height: 84vh;
	object-fit: contain;
	display: block;
}

.ecomall-lightbox__close,
.ecomall-lightbox__prev,
.ecomall-lightbox__next {
	position: absolute;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.16 );
	color: #ffffff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ecomall-lightbox__close {
	top: -56px;
	right: 0;
	font-size: 30px;
}

.ecomall-lightbox__prev {
	left: -60px;
}

.ecomall-lightbox__next {
	right: -60px;
}

.ecomall-lightbox__counter {
	position: absolute;
	bottom: -40px;
	left: 50%;
	transform: translateX( -50% );
	color: #ffffff;
	font-size: 0.85rem;
}

/* -------------------------------------------------------- レスポンシブ */

@media ( max-width: 900px ) {
	.ecomall-property-detail__table th {
		width: 38%;
	}
}

@media ( max-width: 767px ) {
	.ecomall-page-header {
		padding: 32px 0 24px;
	}

	.ecomall-kind-filter {
		gap: 8px;
	}

	.ecomall-kind-filter__btn {
		flex: 1 1 calc( 50% - 4px );
		justify-content: center;
		padding: 10px 12px;
		font-size: 0.88rem;
	}

	.ecomall-property-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.ecomall-property-detail {
		padding: 16px 16px 48px;
	}

	.ecomall-property-detail__keyspecs {
		grid-template-columns: 1fr;
	}

	.ecomall-property-detail__table {
		font-size: 0.88rem;
	}

	.ecomall-property-detail__table th,
	.ecomall-property-detail__table td {
		display: block;
		width: 100%;
		white-space: normal;
	}

	.ecomall-property-detail__table th {
		border-bottom: none;
		padding-bottom: 4px;
		font-size: 0.8rem;
	}

	.ecomall-property-detail__table td {
		padding-top: 0;
		padding-bottom: 14px;
	}

	.ecomall-property-documents__item {
		flex-wrap: wrap;
	}

	.ecomall-property-documents__link {
		width: 100%;
	}

	.ecomall-lightbox__prev {
		left: 4px;
	}

	.ecomall-lightbox__next {
		right: 4px;
	}

	.ecomall-lightbox__close {
		top: -52px;
		right: 4px;
	}

	.ecomall-archive-cta__actions .ecomall-btn-primary-lg,
	.ecomall-archive-cta__actions .ecomall-btn-secondary-lg {
		max-width: 100%;
	}

	/* 検索条件の選択肢を縦並びにしてタップしやすくする。 */
	.ecomall-property-search__form {
		grid-template-columns: 1fr;
	}

	.ecomall-gallery__thumbs {
		grid-template-columns: repeat( auto-fill, minmax( 72px, 1fr ) );
	}
}

/*
 * 横方向のはみ出し防止。
 *
 * 物件名や所在地に長い英数字やURLが入力されても
 * スマートフォンで横スクロールが発生しないようにする。
 */
.ecomall-property-card__title,
.ecomall-property-card__meta,
.ecomall-property-card__meta-item,
.ecomall-page-title,
.ecomall-property-detail__catchcopy,
.ecomall-property-detail__table td,
.ecomall-property-documents__name {
	overflow-wrap: anywhere;
	word-break: normal;
}

.ecomall-property-grid,
.ecomall-property-detail,
.ecomall-kind-filter,
.ecomall-property-search {
	max-width: 100%;
}
