@charset "UTF-8";

/* 物件詳細：16.pngを基準にした新デザイン。 */
.property-detail-page {
	--pd-navy: #063596;
	--pd-deep: #03266f;
	--pd-blue: #174ec8;
	--pd-line: #cfdaea;
	--pd-pale: #f7f9fd;
	min-height: 70vh;
	padding-bottom: 0;
	color: #082663;
	background: #fff;
}

.property-detail-page *,
.property-detail-page *::before,
.property-detail-page *::after { box-sizing: border-box; }

.property-detail-shell {
	width: min(1440px, calc(100% - 48px));
	margin-inline: auto;
}

.property-detail-heading { padding: 28px 0 18px; background: #fff; }
.property-detail-heading__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.property-detail-heading__title { margin: 0; color: var(--pd-deep); font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(24px, 2.3vw, 34px); font-weight: 700; letter-spacing: .05em; }
.property-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 9px; color: #163b83; font-size: 12px; font-weight: 700; }
.property-breadcrumb a { color: inherit; }
.property-breadcrumb span[aria-hidden] { color: #5070a9; font-size: 18px; line-height: 1; }
.property-detail-heading__actions { display: flex; gap: 14px; padding-top: 1px; }
.property-action { display: inline-flex; min-width: 150px; min-height: 48px; padding: 0 20px; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--pd-blue); border-radius: 7px; color: var(--pd-navy); background: #fff; font-size: 14px; font-weight: 800; }
.property-action span { font-size: 24px; font-weight: 400; }
.property-detail-page .property-action--contact { min-width: 185px; color: #fff; background: linear-gradient(135deg, #0838a1, #002277); }

.property-detail-card { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr); gap: 26px; padding: 20px; border: 1px solid var(--pd-line); border-radius: 10px; background: #fff; }
.property-gallery { min-width: 0; }
.property-gallery__main { position: relative; aspect-ratio: 2.18 / 1; margin: 0; overflow: hidden; border-radius: 6px; background: #e5ebf4; }
.property-gallery__main > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.property-type-badge { display: inline-flex; min-height: 28px; padding: 4px 15px; align-items: center; border-radius: 5px; color: #fff; font-size: 12px; font-weight: 800; line-height: 1; }
.property-gallery__main .property-type-badge { position: absolute; z-index: 2; top: 11px; left: 12px; box-shadow: 0 4px 10px rgba(1, 28, 83, .18); }
.property-gallery__arrow { position: absolute; z-index: 3; top: 50%; display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: var(--pd-blue); background: rgba(255,255,255,.96); box-shadow: 0 3px 12px rgba(1, 27, 75, .2); font-size: 34px; line-height: 1; cursor: pointer; transform: translateY(-50%); }
.property-gallery__arrow--prev { left: 7px; }
.property-gallery__arrow--next { right: 7px; }
.property-gallery__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.property-gallery__thumbs .detail-gallery__thumb { display: block; width: 100%; aspect-ratio: 1.55; min-width: 0; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 5px; background: #e6edf6; cursor: pointer; }
.property-gallery__thumbs .detail-gallery__thumb.is-active { border-color: var(--pd-blue); box-shadow: 0 0 0 1px #fff inset; }
.property-gallery__thumbs .detail-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.property-gallery__special { display: flex !important; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: var(--pd-deep) !important; font-size: 10px; font-weight: 700; text-align: center; }
.property-gallery__special span { font-size: 16px; }
.property-gallery__map iframe { width: 100%; height: 100%; border: 0; pointer-events: none; }
.property-gallery__thumbs .property-gallery__location-link { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; padding:4px; color:var(--pd-deep); background:#edf4fc; border:1px solid var(--pd-line); font-size:10px; line-height:1.3; font-weight:700; text-align:center; text-decoration:none; }
.property-gallery__location-link span { font-size:14px; }
.property-locations { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr)); gap:24px; margin-bottom:28px; }
.property-location { min-width:0; margin-top:24px; scroll-margin-top:100px; }
.property-location h2 { margin:0 0 10px; font-size:20px; }
.property-location iframe { display:block; width:100%; height:400px; min-width:200px; border:1px solid var(--pd-line); border-radius:6px; background:#edf4fc; }
.property-location p { margin:8px 0 0; font-size:13px; line-height:1.7; }
@media(max-width:600px){.property-location iframe{height:320px}}

.property-summary { position: relative; min-width: 0; padding: 0 14px 0 0; }
.property-summary__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-right: 38px; }
.property-feature-badge { display: inline-flex; min-height: 28px; padding: 4px 14px; align-items: center; border-radius: 5px; color: #153b81; background: #f0f3f9; font-size: 12px; font-weight: 800; }
.property-feature-badge--medical-mall { color: #fff; background: #169447; }
.property-feature-badge--new-build { color: #173c84; background: #f0f3f8; }
.property-summary__favorite { position: absolute; top: -4px; right: 0; color: #8eaef0; font-size: 38px; line-height: 1; }
.property-summary__area { margin: 11px 0 1px; color: #174b9c; font-size: 14px; font-weight: 800; }
.property-summary h1 { margin: 0; color: var(--pd-deep); font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(25px, 2.1vw, 34px); font-weight: 700; line-height: 1.45; letter-spacing: .02em; }
.property-summary__lead { margin: 13px 0 16px; color: #173a7c; font-size: 13px; font-weight: 600; line-height: 1.75; }
.property-key-facts { margin: 0; overflow: hidden; border: 1px solid var(--pd-line); border-radius: 7px; }
.property-key-facts > div { display: grid; grid-template-columns: minmax(150px, .68fr) 1fr; min-height: 48px; align-items: center; border-bottom: 1px solid var(--pd-line); }
.property-key-facts > div:last-child { border-bottom: 0; }
.property-key-facts dt, .property-key-facts dd { margin: 0; padding: 9px 14px; font-size: 13px; font-weight: 800; }
.property-key-facts dt { display: flex; align-items: center; gap: 12px; }
.property-key-facts dd { color: #143c85; }
.property-primary-cta { display: flex; min-height: 62px; margin-top: 15px; padding: 0 26px; align-items: center; justify-content: center; gap: 17px; border-radius: 5px; color: #fff !important; background: linear-gradient(100deg, #083cae, #00257e); box-shadow: 0 7px 16px rgba(5, 48, 146, .18); font-size: 17px; font-weight: 800; }
.property-primary-cta span:last-child { margin-left: 8px; font-size: 28px; font-weight: 400; }

.property-icon { position: relative; display: inline-grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border: 2px solid var(--pd-blue); border-radius: 4px; color: var(--pd-blue); font-size: 10px; font-weight: 900; line-height: 1; }
.property-icon--pin { border-radius: 50% 50% 50% 0; transform: rotate(-45deg) scale(.78); }
.property-icon--pin::after { width: 6px; height: 6px; border: 2px solid var(--pd-blue); border-radius: 50%; content: ""; transform: rotate(45deg); }
.property-icon--train::before { content: "▥"; font-size: 15px; }
.property-icon--area::before, .property-icon--land::before { content: "／"; font-size: 18px; }
.property-icon--price { border-radius: 50%; }
.property-icon--price::before { content: "¥"; }
.property-icon--building::before { content: "▥"; }
.property-icon--status::before { content: "▣"; }
.property-icon--calendar::before { content: "□"; }
.property-icon--parking { border-radius: 50%; }
.property-icon--parking::before { content: "P"; }
.property-icon--department::before { content: "+"; font-size: 16px; }
.property-icon--contract::before { content: "✓"; }
.property-icon--note::before { content: "i"; font-family: Georgia, serif; }

.property-detail-lower { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(470px, 1fr); align-items: start; margin-top: 8px; }
.property-overview, .property-staff-modern, .property-contact-card { border: 1px solid var(--pd-line); border-radius: 10px; background: #fff; }
.property-overview { padding: 12px 16px 15px; }
.property-overview h2, .property-staff-modern h2, .property-contact-card h2 { margin: 0; color: var(--pd-deep); font-size: 18px; font-weight: 800; }
.property-overview > h2 { padding: 0 7px 7px; border-bottom: 2px solid #4c78d3; }
.property-overview__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.property-overview__column { margin: 0; overflow: hidden; border: 1px solid var(--pd-line); border-radius: 5px; }
.property-overview__column > div { display: grid; grid-template-columns: 155px 1fr; min-height: 51px; border-bottom: 1px solid var(--pd-line); }
.property-overview__column > div:last-child { border-bottom: 0; }
.property-overview__column dt, .property-overview__column dd { display: flex; margin: 0; padding: 10px 13px; align-items: center; font-size: 12px; line-height: 1.55; }
.property-overview__column dt { gap: 10px; color: #143a80; background: #fbfcff; font-weight: 800; }
.property-overview__column dd { border-left: 1px solid var(--pd-line); color: #173b7d; font-weight: 700; }
.property-description { margin-top: 14px; padding: 13px 15px; border-left: 3px solid var(--pd-blue); background: var(--pd-pale); color: #304c7a; font-size: 12px; }
.property-description h3 { margin: 0 0 5px; color: var(--pd-deep); font-size: 14px; }
.property-description > :last-child { margin-bottom: 0; }
.property-information-date { margin: 16px 4px 0; color: #214984; font-size: 11px; font-weight: 600; }

.property-detail-side { display: grid; gap: 8px; }
.property-staff-modern, .property-contact-card { padding: 12px 16px; }
.property-staff-modern__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.property-staff-modern__card { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; padding: 10px; border: 1px solid var(--pd-line); border-radius: 7px; }
.property-staff-modern__card > img { width: 90px; height: 118px; object-fit: cover; border-radius: 6px; background: #eef2f7; }
.property-staff-modern__card h3 { margin: 3px 0 0; color: var(--pd-deep); font-size: 17px; }
.property-staff-modern__card p { margin: 5px 0 0; color: #38578b; font-size: 10px; line-height: 1.55; }
.property-staff-modern__card .property-staff-modern__kana { margin-top: 1px; }
.property-staff-modern__card strong { display: block; margin-top: 10px; color: #315c9c; font-size: 10px; }
.property-contact-card > p { margin: 5px 0 7px; color: #244778; font-size: 11px; }
.property-contact-card > strong { display: block; color: var(--pd-deep); font-size: 14px; }
.property-contact-card__actions { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px; margin-top: 5px; }
.property-contact-card__phone { display: block; color: var(--pd-blue); font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: .03em; white-space: nowrap; }
.property-contact-card__phone span { margin-right: 8px; font-size: 16px; }
.property-contact-card__actions small { display: block; margin-left: 35px; color: #2551a0; font-size: 10px; }
.property-contact-card__mail { display: flex; min-height: 44px; padding: 0 16px; align-items: center; justify-content: center; border: 1px solid var(--pd-blue); border-radius: 5px; color: var(--pd-navy); font-size: 11px; font-weight: 800; white-space: nowrap; }

.property-detail-page > .contact-section { margin-top: 46px; }

@media (max-width: 1180px) {
	.property-detail-card { grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); }
	.property-detail-lower { grid-template-columns: 1fr; gap: 10px; }
	.property-staff-modern__card { grid-template-columns: 90px minmax(0, 1fr); }
}

@media (max-width: 880px) {
	.property-detail-shell { width: min(100% - 32px, 720px); }
	.property-detail-heading__inner { flex-direction: column; }
	.property-detail-heading__actions { width: 100%; }
	.property-action { flex: 1; }
	.property-detail-card { grid-template-columns: 1fr; padding: 14px; }
	.property-summary { padding: 3px 0 0; }
	.property-gallery__main { aspect-ratio: 16 / 9; }
	.property-overview__columns { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.property-detail-shell { width: min(100% - 22px, 460px); }
	.property-detail-heading { padding: 21px 0 15px; }
	.property-detail-heading__title { font-size: 23px; }
	.property-breadcrumb { font-size: 10px; }
	.property-breadcrumb span[aria-current] { overflow: hidden; max-width: 170px; text-overflow: ellipsis; white-space: nowrap; }
	.property-detail-heading__actions { gap: 7px; }
	.property-action { min-width: 0; min-height: 43px; padding: 0 10px; font-size: 12px; }
	.property-gallery__main { aspect-ratio: 4 / 3; }
	.property-gallery__thumbs { grid-template-columns: repeat(3, 1fr); gap: 7px; }
	.property-summary__favorite { font-size: 32px; }
	.property-summary h1 { font-size: 25px; }
	.property-key-facts > div { grid-template-columns: 125px 1fr; }
	.property-key-facts dt, .property-key-facts dd { padding: 9px 10px; font-size: 11px; }
	.property-primary-cta { min-height: 55px; padding: 0 13px; font-size: 14px; }
	.property-overview { padding: 12px 10px; }
	.property-overview__column > div { grid-template-columns: 120px 1fr; }
	.property-overview__column dt, .property-overview__column dd { padding: 9px; font-size: 10px; }
	.property-staff-modern__grid { grid-template-columns: 1fr; }
	.property-contact-card__actions { grid-template-columns: 1fr; }
	.property-contact-card__mail { width: 100%; }
}
