/* 物件詳細ページ（gtj-bukken） */
body.single-bukken,
body.single-bukken .site,
body.single-bukken #page,
body.single-bukken .site-content { background: #fff !important; }
body.single-bukken .site-content > .ast-container { display: block; max-width: none; padding: 0; }

.gtjd { --ac: #41A8A0; --ink: #222; --sub: #8A8A8A; --line: #E6E4E0; font-family: "Noto Sans JP", sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; width: 100%; max-width: 1120px; margin: 0 auto; padding: 40px 64px 120px; box-sizing: border-box; }
.gtjd * { box-sizing: border-box; margin: 0; padding: 0; }
.gtjd img { display: block; max-width: 100%; }
.gtjd-main__img, .gtjd-gallery div { position: relative; }
.gtjd .gtjd-main__img img, .gtjd .gtjd-gallery img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.gtjd .gtjd-flyer img { width: 100% !important; height: auto !important; }
.gtjd .serif { font-family: "Shippori Mincho", serif !important; font-weight: 500 !important; }
.gtjd a { text-decoration: none !important; }

.gtjd-back { display: inline-block; font-size: 13px; letter-spacing: .1em; color: var(--sub) !important; margin-bottom: 28px; transition: color .25s; }
.gtjd-back:hover { color: var(--ac) !important; }

/* 1+2. メイン画像と物件情報 */
.gtjd-main { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: stretch; }
.gtjd-main.no-img { grid-template-columns: 1fr; max-width: 680px; }
.gtjd-main > * { min-width: 0; }
.gtjd-main__img { overflow: hidden; background: #F2F1EE; min-height: 460px; }
.gtjd-info { display: flex; flex-direction: column; padding: 4px 0; }
.gtjd-tags { display: flex; gap: 6px; }
.gtjd-tags span { font-size: 11px; letter-spacing: .12em; padding: 4px 10px; border: 1px solid var(--ac); color: var(--ac); font-weight: 500; line-height: 1.4; }
.gtjd-tags span:first-child { background: var(--ac); color: #fff; }
.gtjd-tags span.is-sold { background: #222; border-color: #222; color: #fff; }
.gtjd-en { font-family: "Cormorant Garamond", serif !important; font-style: italic; font-size: 17px; letter-spacing: .12em; color: var(--sub); margin: 22px 0 2px; font-variant-numeric: lining-nums; }
.gtjd .gtjd-title { font-size: clamp(24px, 2vw, 28px) !important; letter-spacing: .06em; line-height: 1.45; margin: 0 !important; color: var(--ink) !important; }
.gtjd-tags + .gtjd-title { margin-top: 20px !important; }
.gtjd-room { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 0; }
.gtjd-room::before { content: ""; width: 28px; height: 1px; background: var(--ink); align-self: center; margin-right: 8px; }
.gtjd-room b { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: .04em; font-variant-numeric: lining-nums; }
.gtjd-room span { font-family: "Shippori Mincho", serif; font-size: 16px; }
.gtjd-copy { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.gtjd .gtjd-copy__ttl { font-size: 19px !important; line-height: 1.75; letter-spacing: .08em; color: var(--ink) !important; margin-bottom: 16px !important; }
.gtjd-copy p { font-size: 14px; line-height: 2; letter-spacing: .04em; color: #555; }
.gtjd-copy p + p { margin-top: 12px; }

/* 3. 物件資料 */
.gtjd-label { font-size: 13px; letter-spacing: .2em; color: var(--sub); margin: 88px 0 20px; display: flex; justify-content: space-between; align-items: baseline; }
.gtjd-label a { font-size: 12px; letter-spacing: .1em; color: var(--sub) !important; transition: color .25s; }
.gtjd-label a:hover { color: var(--ac) !important; }
.gtjd-flyer { display: block; border: 1px solid var(--line); cursor: zoom-in; }
.gtjd-flyer--pdf { width: 100%; height: min(80vh, 760px); cursor: default; }
.gtjd-flyer--pdf a { display: block; padding: 40px; text-align: center; color: var(--ac) !important; }

/* 4. 写真 */
.gtjd-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.gtjd-gallery.no-flyer { margin-top: 88px; }
.gtjd-gallery.is-single { grid-template-columns: 1fr; }
.gtjd-gallery div { aspect-ratio: 4 / 3; overflow: hidden; background: #F2F1EE; }
.gtjd-gallery.is-single div { aspect-ratio: 16 / 9; }

@media (max-width: 900px) {
	.gtjd { padding: 32px 32px 96px; }
	.gtjd-main { grid-template-columns: 1fr; gap: 32px; }
	.gtjd-main__img { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
	.gtjd { padding: 24px 20px 80px; }
	.gtjd-gallery { grid-template-columns: 1fr; gap: 12px; }
	.gtjd-label, .gtjd-gallery.no-flyer { margin-top: 64px; }
	.gtjd-flyer--pdf { height: 70vh; }
}
