/*
Theme Name: Landsky
Description: ランドスカイ不動産 オリジナルテーマ
Version: 1.0.0
Requires PHP: 8.0
Text Domain: landsky
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #13294b;
	--navy-deep: #0b1a31;
	--gold: #b08d57;
	--gold-dark: #93733f;
	--ink: #1f2933;
	--muted: #5b6572;
	--line: #e4e0d7;
	--tint: #f6f4ef;
	--white: #fff;
	--sale: #1f7a5a;
	--nego: #c07a1a;
	--sold: #8a8f98;

	--font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--font-serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
	--font-en: "Cormorant Garamond", Georgia, serif;

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 80px;
	--radius: 6px;
	--shadow: 0 10px 30px rgba(11, 26, 49, 0.08);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: .04em;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s, opacity .2s, background .2s, border-color .2s; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { line-height: 1.5; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1.2em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--white); padding: 8px 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.pc-only { display: none; }
@media (min-width: 900px) { .pc-only { display: inline; } }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .75em 1.6em; border-radius: 999px; border: 1px solid transparent;
	font-weight: 700; font-size: .95rem; line-height: 1.4; letter-spacing: .08em; cursor: pointer;
	/* hover: --btn-fill sweeps in from the left, inverting the colours */
	background-image: linear-gradient(var(--btn-fill, var(--white)), var(--btn-fill, var(--white)));
	background-repeat: no-repeat; background-position: left center; background-size: 0% 100%;
	transition: background-size .45s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background-size: 100% 100%; }
.btn--lg { padding: 1em 2.2em; font-size: 1rem; }
.btn--accent { --btn-fill: var(--white); background-color: var(--gold); border-color: var(--gold); color: var(--white); }
.btn--accent:hover { color: var(--gold-dark); }
.btn--ghost { --btn-fill: var(--white); border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--navy); }
.btn--outline { --btn-fill: var(--navy); border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { color: var(--white); }

.link-arrow { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; font-size: .95rem; }
.link-arrow::after {
	content: ""; width: 28px; height: 1px; background: currentColor;
	transition: width .25s var(--ease);
}
.link-arrow:hover::after { width: 40px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.96);
	border-bottom: 1px solid var(--line);
	transition: background .3s, border-color .3s, box-shadow .3s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile drawer inside it. */
.site-header::before {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none;
	-webkit-backdrop-filter: saturate(160%) blur(8px);
	backdrop-filter: saturate(160%) blur(8px);
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	height: var(--header-h); padding: 0 var(--gutter); max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; color: var(--navy); margin-right: auto; }
.brand:hover { color: var(--navy); }
.brand__en { font-family: var(--font-en); font-weight: 600; font-size: 1.7rem; letter-spacing: .18em; }
.brand__ja { font-size: .72rem; font-weight: 500; letter-spacing: .3em; margin-top: 4px; }
.brand--light, .brand--light:hover { color: var(--white); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__list a { font-size: .92rem; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav__list a::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
	background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__list a:hover::after, .nav__list .current-menu-item a::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__tel { display: flex; flex-direction: column; line-height: 1.3; color: var(--navy); text-align: right; }
.nav__tel-num { font-family: var(--font-sans); font-size: 1.25rem; font-weight: 700; letter-spacing: .04em; font-variant-numeric: lining-nums tabular-nums; }
.nav__tel-note { font-size: .68rem; color: var(--muted); }

/* Overlay header on the front page hero */
.site-header.is-overlay:not(.is-scrolled) { background: transparent; border-color: transparent; }
.site-header.is-overlay:not(.is-scrolled)::before { -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-overlay:not(.is-scrolled) .brand,
.site-header.is-overlay:not(.is-scrolled) .nav__list a,
.site-header.is-overlay:not(.is-scrolled) .nav__tel { color: var(--white); }
.site-header.is-overlay:not(.is-scrolled) .nav__tel-note { color: rgba(255,255,255,.75); }
.site-header.is-overlay { position: fixed; left: 0; right: 0; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(11,26,49,.06); }
.admin-bar .site-header { top: 32px; }

.nav-toggle { display: none; }

/* Language dropdown: globe + current code at the right end of the header */
.lang { position: relative; flex: none; }
.lang__toggle {
	display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: 999px; background: none; cursor: pointer;
	font: 600 .78rem/1 var(--font-sans); letter-spacing: .08em; color: var(--navy); transition: border-color .2s, color .2s, background .2s;
}
.lang__toggle::after {
	content: ""; width: 5px; height: 5px; margin: -3px 0 0 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg); transition: transform .25s var(--ease);
}
.lang__toggle[aria-expanded="true"]::after { transform: translateY(3px) rotate(-135deg); }
.lang__toggle:hover, .lang__toggle[aria-expanded="true"] { border-color: var(--gold); color: var(--gold-dark); }
.site-header.is-overlay:not(.is-scrolled) .lang__toggle { color: var(--white); border-color: rgba(255,255,255,.4); }
.site-header.is-overlay:not(.is-scrolled) .lang__toggle:hover,
.site-header.is-overlay:not(.is-scrolled) .lang__toggle[aria-expanded="true"] { border-color: var(--white); color: var(--white); }
.lang__menu {
	position: absolute; top: calc(100% + 10px); right: 0; z-index: 130; min-width: 150px; margin: 0; padding: 6px; list-style: none;
	background: var(--white); border-radius: var(--radius); box-shadow: 0 14px 36px rgba(11,26,49,.18);
	animation: ls-fade-up .25s var(--ease) both;
}
.lang__menu[hidden] { display: none; }
.lang-switch__btn {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 12px;
	border: 0; border-radius: 4px; background: none; cursor: pointer; text-align: left;
	font: 500 .88rem/1.2 var(--font-sans); color: var(--ink); transition: background .2s, color .2s;
}
.lang-switch__btn:hover { background: var(--tint); color: var(--navy); }
.lang-switch__btn[aria-pressed="true"] { color: var(--navy); font-weight: 700; }
.lang-switch__btn[aria-pressed="true"]::after {
	content: ""; width: 5px; height: 9px; margin-top: -3px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg);
}
@media (max-width: 900px) {
	.site-header__inner { gap: 6px; }
	.lang__toggle { height: 34px; padding: 0 10px; }
	/* hidden behind the open drawer; the drawer has its own close button */
	.nav-open .lang { visibility: hidden; }
}
.nav__eyebrow, .nav__tel-label, .nav__address, .nav__cover { display: none; }

@media (max-width: 1080px) {
	.nav__tel { display: none; }
}
@media (max-width: 900px) {
	:root { --header-h: 64px; }
	.brand__en { font-size: 1.4rem; }
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; z-index: 120;
	}
	.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
		content: ""; display: block; width: 24px; height: 2px; background: var(--navy);
		transition: transform .3s var(--ease), background .3s;
	}
	.nav-toggle__bar { position: relative; }
	.nav-toggle__bar::before { position: absolute; top: -7px; }
	.nav-toggle__bar::after { position: absolute; top: 7px; }
	.site-header.is-overlay:not(.is-scrolled) .nav-toggle__bar,
	.site-header.is-overlay:not(.is-scrolled) .nav-toggle__bar::before,
	.site-header.is-overlay:not(.is-scrolled) .nav-toggle__bar::after { background: var(--white); }
	.nav-open .nav-toggle__bar { background: transparent !important; }
	.nav-open .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); background: var(--white) !important; }
	.nav-open .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); background: var(--white) !important; }

	/* ---- Mobile drawer: curtain drops from the top, rows follow in sequence ---- */
	.nav {
		position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 110;
		width: 100%; height: 100vh; height: 100dvh; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
		padding: 0 clamp(24px, 7vw, 48px) 40px;
		background:
			radial-gradient(120% 60% at 100% 0%, rgba(176,141,87,.16), transparent 60%),
			linear-gradient(180deg, #0d1f3b 0%, var(--navy-deep) 55%, #07121f 100%);
		visibility: hidden; clip-path: inset(0 0 100% 0);
		transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), visibility 0s .6s;
	}
	/* oversized vertical wordmark in the background */
	.nav::before {
		content: "LANDSKY"; position: absolute; right: -.18em; bottom: 40px; z-index: -1;
		font-family: var(--font-en); font-weight: 600; font-size: 7.5rem; line-height: 1; letter-spacing: .12em;
		writing-mode: vertical-rl; color: rgba(255,255,255,.035); pointer-events: none;
	}
	/* Header row of the drawer stays put: a sticky cover (same background as the drawer)
	   hides menu rows scrolling underneath the logo / close button on short screens. */
	.nav__cover {
		display: block; flex: none; position: sticky; top: 0; z-index: 2;
		height: var(--header-h); margin: 0 calc(-1 * clamp(24px, 7vw, 48px)) 28px;
		background:
			radial-gradient(120% 60% at 100% 0%, rgba(176,141,87,.16), transparent 60%),
			linear-gradient(180deg, #0d1f3b 0%, var(--navy-deep) 55%, #07121f 100%);
		background-size: 100% 100vh; background-size: 100% 100dvh; background-position: top;
	}
	/* thin gold rule under the header row */
	.nav__cover::after {
		content: ""; position: absolute; bottom: 0; left: clamp(24px, 7vw, 48px); right: clamp(24px, 7vw, 48px);
		height: 1px; background: linear-gradient(90deg, var(--gold), rgba(176,141,87,0));
		transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .35s;
	}
	.nav-open .nav { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .6s cubic-bezier(.7, 0, .2, 1); }
	.nav-open .nav__cover::after { transform: scaleX(1); }
	.nav-open { overflow: hidden; }
	.nav-open .site-header::before { display: none; }
	/* keep the logo readable on top of the drawer */
	.nav-open .brand { position: relative; z-index: 120; color: var(--white); }

	.nav__eyebrow {
		display: flex; align-items: center; gap: 12px; margin: 0 0 12px;
		font-family: var(--font-en); font-weight: 600; font-size: .85rem; letter-spacing: .4em; color: var(--gold);
	}
	.nav__eyebrow::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.1); }

	.nav__list { flex-direction: column; align-items: stretch; gap: 0; counter-reset: navnum; }
	.nav__list li { counter-increment: navnum; border-bottom: 1px solid rgba(255,255,255,.1); }
	.nav__list a, .site-header .nav__list a {
		display: grid; grid-template-columns: 2.4em 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
		padding: 18px 4px; color: var(--white) !important;
		font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; letter-spacing: .12em; line-height: 1.3;
	}
	.nav__list a::before {
		content: counter(navnum, decimal-leading-zero); grid-row: 1 / 3;
		font-family: var(--font-en); font-size: 1rem; font-weight: 600; letter-spacing: .08em; color: var(--gold);
		font-variant-numeric: lining-nums;
	}
	/* English sub-label under the Japanese one (fallback: nothing when no data-en) */
	.nav__list a[data-en]::after {
		content: attr(data-en); position: static; grid-column: 2; grid-row: 2;
		width: auto; height: auto; background: none; transform: none;
		font-family: var(--font-en); font-size: .72rem; font-weight: 600; letter-spacing: .3em; color: rgba(255,255,255,.45);
	}
	/* arrow on the right, drawn with borders */
	.nav__list li { position: relative; }
	.nav__list li::after {
		content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -5px;
		border-top: 1px solid rgba(255,255,255,.5); border-right: 1px solid rgba(255,255,255,.5);
		transform: rotate(45deg); transition: transform .3s var(--ease), border-color .3s; pointer-events: none;
	}
	.nav__list li:hover::after, .nav__list li:focus-within::after { transform: translateX(4px) rotate(45deg); border-color: var(--gold); }
	.nav__list .current-menu-item a { color: #e3cfa9 !important; }
	.nav__list .current-menu-item::after { border-color: var(--gold); }

	.nav__actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 32px; }
	.nav__tel {
		display: flex; align-items: center; text-align: center; gap: 2px; color: var(--white) !important;
		padding: 16px 20px; border: 1px solid rgba(176,141,87,.5); border-radius: var(--radius, 8px);
		background: rgba(255,255,255,.03);
	}
	.nav__tel-label { display: block; font-size: .75rem; letter-spacing: .12em; color: #e3cfa9; }
	.nav__tel-num { font-size: 1.75rem; }
	.nav__tel-note { color: rgba(255,255,255,.65) !important; }
	.nav__actions .btn { padding: 1em 1.6em; font-size: 1rem; }
	.nav__address { display: block; margin: 24px 0 0; font-size: .75rem; line-height: 1.7; color: rgba(255,255,255,.5); }

	/* staggered entrance */
	.nav__eyebrow, .nav__list li, .nav__actions > *, .nav__address {
		opacity: 0; transform: translateY(16px);
		transition: opacity .5s var(--ease), transform .6s var(--ease);
	}
	.nav-open .nav__eyebrow, .nav-open .nav__list li, .nav-open .nav__actions > *, .nav-open .nav__address { opacity: 1; transform: none; }
	.nav-open .nav__eyebrow { transition-delay: .25s; }
	.nav-open .nav__list li:nth-child(1) { transition-delay: .32s; }
	.nav-open .nav__list li:nth-child(2) { transition-delay: .39s; }
	.nav-open .nav__list li:nth-child(3) { transition-delay: .46s; }
	.nav-open .nav__list li:nth-child(4) { transition-delay: .53s; }
	.nav-open .nav__list li:nth-child(5) { transition-delay: .60s; }
	.nav-open .nav__list li:nth-child(6) { transition-delay: .67s; }
	.nav-open .nav__actions > :nth-child(1) { transition-delay: .62s; }
	.nav-open .nav__actions > :nth-child(2) { transition-delay: .69s; }
	.nav-open .nav__address { transition-delay: .76s; }
	/* menus assigned in wp-admin have no data-en: drop the desktop underline there */
	.nav__list a:not([data-en])::after { display: none; }
	.admin-bar .site-header { top: 46px; }
	/* drawer is fixed to the viewport, so push its content below the admin bar too */
	.admin-bar .nav__cover { height: calc(var(--header-h) + 46px); }
}

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: min(100svh, 860px); display: flex; flex-direction: column;
	color: var(--white);
	background:
		linear-gradient(100deg, rgba(11,26,49,.88) 0%, rgba(11,26,49,.55) 55%, rgba(11,26,49,.25) 100%),
		var(--hero-img) center / cover no-repeat, var(--navy-deep);
}
.hero__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
.hero__en { font-family: var(--font-en); letter-spacing: .3em; font-size: .95rem; color: #d9c29a; margin-bottom: 1.2em; }
.hero__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.1rem, 5.4vw, 3.9rem); line-height: 1.45; letter-spacing: .08em; margin-bottom: .7em; }
.hero__lead { max-width: 640px; color: rgba(255,255,255,.88); font-size: clamp(.95rem, 1.6vw, 1.05rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.4em; }
.hero__stats { background: rgba(11,26,49,.72); border-top: 1px solid rgba(255,255,255,.12); }
.hero__stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { margin: 0; padding: 22px 12px; text-align: center; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; }
.stat dt { font-size: .78rem; color: rgba(255,255,255,.7); letter-spacing: .15em; }
.stat dd { margin: 0; font-size: .9rem; }
.stat strong { font-family: var(--font-en); font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 600; color: #e3cfa9; margin-right: .15em; letter-spacing: .04em; }
@media (max-width: 600px) {
	.hero__actions .btn { width: 100%; }
	.stat { padding: 16px 4px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--compact { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 110px); }
.section--tint { background: var(--tint); }

.section-heading { margin-bottom: 28px; }
.section-heading__en {
	display: block; font-family: var(--font-en); font-weight: 600; color: var(--gold);
	font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: .12em;
}
.section-heading__ja { font-size: .95rem; font-weight: 500; letter-spacing: .2em; margin: 8px 0 0; color: var(--navy); }
.section-lead { color: var(--muted); max-width: 720px; margin-bottom: 48px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 36px; }
.section-head-row .section-heading { margin-bottom: 0; }
.section-lead--left { margin-top: -12px; }

/* ---------- Service ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.service-card__media { aspect-ratio: 3 / 2; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body { padding: 28px 28px 32px; position: relative; }
.service-card__num { font-family: var(--font-en); font-size: 2.6rem; font-weight: 600; color: var(--gold); line-height: 1; position: absolute; top: -26px; right: 24px; background: var(--white); padding: 4px 12px; border-radius: 4px; }
.service-card__title { font-family: var(--font-serif); font-size: 1.25rem; color: var(--navy); }
.service-card p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Property cards ---------- */
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1000px) { .prop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .prop-grid { grid-template-columns: 1fr; } }
.prop-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.prop-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11,26,49,.12); }
.prop-card__link { display: block; color: inherit; height: 100%; }
.prop-card__link:hover { color: inherit; }
.prop-card__media { position: relative; aspect-ratio: 3 / 2; background: #e9e6df; overflow: hidden; }
.prop-card__media img { width: 100%; height: 100%; object-fit: cover; }
.prop-card__noimg { display: grid; place-items: center; width: 100%; height: 100%; min-height: 200px; font-family: var(--font-en); letter-spacing: .2em; color: #a9a397; background: #ece9e2; }
.badge { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; color: var(--white); letter-spacing: .1em; line-height: 1.6; }
.badge.is-sale { background: var(--sale); }
.badge.is-nego { background: var(--nego); }
.badge.is-sold { background: var(--sold); }
.prop-card__body { padding: 20px 22px 24px; }
.prop-card__type { font-size: .75rem; color: var(--gold-dark); font-weight: 700; letter-spacing: .12em; margin: 0 0 4px; }
.prop-card__title { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.prop-card__price { margin: 0 0 6px; color: var(--ink); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.prop-card__price strong { font-family: var(--font-en); font-size: 2rem; font-weight: 600; color: #b3372b; letter-spacing: .02em; margin-right: 2px; }
.prop-card__yield { font-size: .8rem; font-weight: 700; color: var(--gold-dark); border: 1px solid var(--gold); padding: 0 8px; border-radius: 4px; }
.prop-card__specs { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.prop-card__meta { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: .83rem; color: var(--muted); line-height: 1.7; }
.prop-card__meta li { display: flex; gap: 8px; }
.prop-card__meta li + li { margin-top: 4px; }

.icon { flex: none; width: 14px; height: 14px; margin-top: .3em; background: var(--gold); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.icon--pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.icon--train { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8 2 4 2.5 4 6v9.5A3.5 3.5 0 0 0 7.5 19L6 20.5v.5h12v-.5L16.5 19a3.5 3.5 0 0 0 3.5-3.5V6c0-3.5-4-4-8-4zM7.5 17a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm3.5-7H6V6h5v4zm2 0V6h5v4h-5zm3.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E"); }

/* ---------- Managed ---------- */
.managed-rail {
	display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding: 4px 0 20px; scrollbar-width: thin;
	padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
	scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
}
.managed-rail__item { flex: 0 0 clamp(220px, 26vw, 300px); margin: 0; scroll-snap-align: start; }
.managed-rail__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.managed-rail__item figcaption { margin-top: 10px; font-size: .9rem; font-weight: 500; color: var(--navy); }

.managed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1000px) { .managed-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .managed-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.managed-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.managed-card__media { aspect-ratio: 3 / 2; background: #ece9e2; }
.managed-card__media img { width: 100%; height: 100%; object-fit: cover; }
.managed-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.managed-card__title { font-size: .98rem; color: var(--navy); margin: 0; }
.managed-card__link { margin-top: auto; font-size: .8rem; font-weight: 700; color: var(--gold-dark); }
.managed-card__link::after { content: " →"; }

/* ---------- Portals ---------- */
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .portal-grid { grid-template-columns: 1fr; } }
.portal-card {
	display: flex; flex-direction: column; gap: 4px; padding: 28px 28px 26px; background: var(--white);
	border: 1px solid var(--line); border-radius: var(--radius); position: relative; color: var(--ink);
}
.portal-card::after { content: "↗"; position: absolute; top: 22px; right: 24px; color: var(--gold); font-size: 1.1rem; }
.portal-card:hover { border-color: var(--gold); color: var(--ink); box-shadow: var(--shadow); }
.portal-card__name { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.portal-card__desc { font-size: .85rem; color: var(--muted); }

/* ---------- About (front) ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about__body > p { color: var(--muted); }
.about__list { margin: 28px 0 32px; border-top: 1px solid var(--line); }
.about__list > div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.about__list dt { color: var(--navy); font-weight: 700; }
.about__list dd { margin: 0; }
@media (max-width: 860px) {
	.about { grid-template-columns: 1fr; }
	.about__media img { aspect-ratio: 16 / 9; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--white); padding: clamp(56px, 8vw, 88px) 0; }
.cta-band__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.cta-band__en { font-family: var(--font-en); color: #d9c29a; letter-spacing: .3em; margin-bottom: .6em; }
.cta-band__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.cta-band__text p:last-child { color: rgba(255,255,255,.8); margin: 0; }
.cta-band__actions { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.cta-band__tel { display: flex; flex-direction: column; align-items: center; padding: 18px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); color: var(--white); line-height: 1.4; }
.cta-band__tel:hover { color: var(--white); background: rgba(255,255,255,.06); }
.cta-band__tel-label { font-size: .8rem; color: rgba(255,255,255,.75); }
.cta-band__tel-num { font-family: var(--font-sans); font-size: 2.1rem; font-weight: 700; letter-spacing: .04em; font-variant-numeric: lining-nums tabular-nums; }
.cta-band__tel-note { font-size: .75rem; color: rgba(255,255,255,.7); }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.78); font-size: .88rem; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer__name { margin: 20px 0 6px; color: var(--white); font-weight: 700; }
.site-footer__license { margin-top: 10px; font-size: .78rem; color: rgba(255,255,255,.55); }
.site-footer__heading { font-family: var(--font-en); letter-spacing: .2em; color: #d9c29a; margin-bottom: 12px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li + li { margin-top: 6px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #e3cfa9; }
.site-footer .nav__list { flex-direction: column; gap: 6px; }
.site-footer .nav__list a { color: rgba(255,255,255,.85); font-size: .88rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .75rem; color: rgba(255,255,255,.5); }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__company { grid-column: 1 / -1; } }

/* ---------- Page hero / breadcrumb ---------- */
.page-hero {
	background:
		linear-gradient(100deg, rgba(11,26,49,.92), rgba(19,41,75,.8)),
		url("assets/img/page-hero.jpg") center 60% / cover no-repeat, var(--navy);
	color: var(--white); padding: clamp(56px, 9vw, 96px) 0 clamp(48px, 7vw, 80px);
}
.page-hero--slim { padding: 36px 0 32px; }
.page-hero__en { font-family: var(--font-en); letter-spacing: .25em; color: #d9c29a; margin: 0 0 .3em; font-size: clamp(1rem, 2vw, 1.2rem); }
.page-hero__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: .12em; margin: 0; }
.page-hero--slim .page-hero__title { font-size: 1.3rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: var(--muted); padding-top: 16px; padding-bottom: 8px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-dark); }

/* ---------- Property detail ---------- */
.prop-detail { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 48px; }
.prop-detail__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.prop-detail__summary { position: relative; align-self: start; }
.prop-detail__summary .badge { position: static; display: inline-block; margin-bottom: 12px; }
.prop-detail__title { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.8vw, 1.9rem); color: var(--navy); }
.prop-detail__price { font-size: 1.05rem; margin-bottom: 24px; }
.prop-detail__price strong { font-family: var(--font-en); font-size: 3rem; font-weight: 600; color: #b3372b; margin-right: 4px; }
.prop-detail__actions { display: flex; flex-direction: column; gap: 12px; }
.prop-detail__body { grid-column: 1 / -1; max-width: 880px; }
@media (max-width: 860px) { .prop-detail { grid-template-columns: 1fr; } }

.sub-heading { font-size: 1.2rem; color: var(--navy); padding-left: 14px; border-left: 3px solid var(--gold); margin: 48px 0 20px; }
.spec-table, .entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td, .entry-content th, .entry-content td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th, .entry-content th { width: 28%; background: var(--tint); color: var(--navy); font-weight: 700; white-space: nowrap; }
.spec-table tr:first-child th, .spec-table tr:first-child td, .entry-content tr:first-child th, .entry-content tr:first-child td { border-top: 1px solid var(--line); }
@media (max-width: 600px) {
	.entry-content table th, .entry-content table td, .spec-table th, .spec-table td { display: block; width: 100%; }
	.entry-content table th, .spec-table th { border-bottom: 0; padding-bottom: 6px; }
	.entry-content table td, .spec-table td { padding-top: 8px; }
	.entry-content tr:first-child td, .spec-table tr:first-child td { border-top: 0; }
}
.note { font-size: .8rem; color: var(--muted); margin-top: 32px; }

/* ---------- Generic content ---------- */
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { font-family: var(--font-serif); font-size: clamp(1.35rem, 2.6vw, 1.7rem); color: var(--navy); margin: 64px 0 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; }
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 2px; background: var(--gold); }
.entry-content > h2:first-child { margin-top: 0; }
.entry-content h3 { font-size: 1.1rem; color: var(--navy); margin: 36px 0 12px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.entry-content li + li { margin-top: .3em; }
.entry-content figure { margin: 0 0 1.6em; }
.entry-content .wp-block-table td ul { margin: 0; padding-left: 1.2em; }
.entry-content iframe { width: 100%; border: 0; border-radius: var(--radius); }
.map-embed { aspect-ratio: 16 / 9; }
.map-embed iframe { height: 100%; }
.empty { padding: 48px 0; text-align: center; color: var(--muted); }
.result-count { color: var(--muted); font-size: .9rem; }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { display: flex; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.post-list time { color: var(--muted); font-size: .9rem; flex: none; }

.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }


/* ---------- Contact ---------- */
.contact-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.contact-intro__box { background: var(--tint); border-radius: var(--radius); padding: 24px; text-align: center; }
.contact-intro__box p { margin: 0; }
.contact-intro__label { font-size: .85rem; color: var(--muted); }
.contact-intro__tel { font-family: var(--font-sans); font-size: 1.9rem; font-weight: 700; letter-spacing: .04em; line-height: 1.3; font-variant-numeric: lining-nums tabular-nums; }
.contact-intro__tel a { color: var(--navy); }
@media (max-width: 700px) { .contact-intro { grid-template-columns: 1fr; } }

/* Snow Monkey Forms */
.snow-monkey-form { margin-top: 32px; }
.smf-progress-tracker { margin-bottom: 32px; }
.entry-content .smf-progress-tracker__item + .smf-progress-tracker__item { margin-top: 0; }
.smf-progress-tracker__item--current .smf-progress-tracker__item__number,
.smf-progress-tracker__item--done .smf-progress-tracker__item__number { background-color: var(--navy) !important; }
.smf-form .smf-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.smf-form .smf-item:first-child { border-top: 1px solid var(--line); }
@media (min-width: 768px) {
	.smf-form .smf-item { display: grid; grid-template-columns: 15em 1fr; gap: 24px; }
	.smf-form .smf-item__col--label { padding-top: 10px; }
}
.smf-item__label { font-weight: 700; color: var(--navy); }
.smf-item__label__text::after {
	display: inline-block; margin-left: 10px; padding: 0 8px; border-radius: 3px;
	font-size: .7rem; font-weight: 700; line-height: 1.8; color: var(--white); vertical-align: 2px;
}
.smf-item.is-required .smf-item__label__text::after { content: "必須"; background: #b3372b; }
.smf-item.is-optional .smf-item__label__text::after { content: "任意"; background: var(--sold); }
.smf-item__description { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.smf-form .smf-text-control__control,
.smf-form .smf-textarea-control__control,
.smf-form .smf-select-control__control {
	width: 100%; max-width: none; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
	border: 1px solid #cfcac0; border-radius: 4px; background: var(--white); box-shadow: none;
}
.smf-form .smf-text-control__control:focus,
.smf-form .smf-textarea-control__control:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.smf-form .smf-radio-buttons-control__control,
.smf-form .smf-checkboxes-control__control { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.smf-form .smf-label { cursor: pointer; }
.smf-error-messages { color: #b3372b; font-size: .85rem; margin-top: 6px; }
.smf-action { text-align: center; margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.smf-action .smf-button-control__control {
	appearance: none; border: 1px solid var(--gold); cursor: pointer; font: inherit; font-weight: 700; letter-spacing: .1em;
	background-color: var(--gold); color: var(--white); padding: 1em 3.5em; border-radius: 999px;
	--btn-fill: var(--white);
	background-image: linear-gradient(var(--btn-fill), var(--btn-fill));
	background-repeat: no-repeat; background-position: left center; background-size: 0% 100%;
	transition: background-size .45s var(--ease), color .35s var(--ease);
}
.smf-action .smf-button-control__control:hover { background-size: 100% 100%; color: var(--gold-dark); }
.smf-action .smf-button-control__control[data-action="back"] { --btn-fill: var(--navy); background-color: var(--white); color: var(--navy); border-color: var(--navy); }
.smf-action .smf-button-control__control[data-action="back"]:hover { color: var(--white); }
.smf-complete-content { background: var(--tint); padding: 32px; border-radius: var(--radius); text-align: center; }

/* ---------- Coming soon (販売物件 準備中) ---------- */
.coming-soon {
	position: relative; overflow: hidden; text-align: center;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: clamp(40px, 7vw, 72px) clamp(20px, 5vw, 64px);
}
.coming-soon::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 6px;
	background: repeating-linear-gradient(-45deg, var(--gold) 0 14px, var(--navy) 14px 28px);
}
.coming-soon__en { font-family: var(--font-en); font-weight: 600; letter-spacing: .3em; color: var(--gold); font-size: 1.1rem; margin-bottom: .4em; }
.coming-soon__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.3rem, 2.8vw, 1.8rem); color: var(--navy); }
.coming-soon__text { color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.coming-soon__links { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.coming-soon__links a { display: inline-block; padding: .5em 1.4em; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .9rem; }
.coming-soon__links a::after { content: " ↗"; color: var(--gold); }
.coming-soon__links a:hover { border-color: var(--gold); }
.coming-soon__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.section--tint .coming-soon { border-color: transparent; box-shadow: var(--shadow); }

/* ---------- Tweaks ---------- */
.cta-band__title, .hero__title, .coming-soon__title { text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
.entry-content .wp-block-table th, .entry-content .wp-block-table td { border-left: 0; border-right: 0; }
.entry-content .wp-block-table { overflow-x: visible; }
@media (max-width: 600px) {
	.hero__title { font-size: clamp(1.6rem, 6.8vw, 2.1rem); letter-spacing: .04em; }
	.stat dt { font-size: .7rem; letter-spacing: .05em; }
	.stat dd { font-size: .72rem; }
	.stat strong { font-size: 1.45rem; }
}
.entry-content .wp-block-table th, .entry-content .wp-block-table td { border-color: var(--line); }
.entry-content .wp-block-table thead, .entry-content .wp-block-table tfoot { border-color: var(--line); }

/* =========================================================
   Motion
   ========================================================= */
@keyframes ls-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ls-hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes ls-marquee { to { transform: translateX(calc(-50% - 10px)); } }
@keyframes ls-scroll-cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Hero: slow zoom on the photo, staggered entrance for the copy */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); }
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, rgba(11,26,49,.88) 0%, rgba(11,26,49,.55) 55%, rgba(11,26,49,.25) 100%);
}
.hero__en, .hero__title, .hero__lead, .hero__actions, .hero__stats { animation: ls-fade-up 1s var(--ease) both; }
.hero__en { animation-delay: .15s; }
.hero__title { animation-delay: .3s; }
.hero__lead { animation-delay: .55s; }
.hero__actions { animation-delay: .75s; }
.hero__stats { animation-delay: 1s; }
.hero__inner { position: relative; }
.hero__inner::after {
	content: ""; position: absolute; left: var(--gutter); bottom: 0; width: 1px; height: 48px;
	background: rgba(255,255,255,.6); animation: ls-scroll-cue 2.4s ease-in-out 1.6s infinite;
}
@media (max-width: 600px) { .hero__inner::after { display: none; } }

/* Scroll reveal (classes added by main.js; content stays visible without JS) */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .about__media.reveal { transform: translateX(-32px); }
.js-reveal .about__media.reveal.is-in { transform: none; }

/* Gold rule that draws in under section headings */
.section-heading__ja::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 12px; background: var(--gold); transform-origin: left; transition: transform .9s var(--ease) .3s; }
.js-reveal .section-heading.reveal .section-heading__ja::after { transform: scaleX(0); }
.js-reveal .section-heading.reveal.is-in .section-heading__ja::after { transform: scaleX(1); }
.coming-soon .section-heading__ja::after { display: none; }

/* Image hover zoom */
.managed-rail__item, .managed-card__media, .prop-card__media, .about__media { overflow: hidden; }
.managed-rail__item img, .managed-card__media img, .prop-card__media img, .about__media img { transition: transform .8s var(--ease); }
.managed-rail__item:hover img, .managed-card:hover .managed-card__media img, .prop-card:hover .prop-card__media img { transform: scale(1.06); }
.managed-rail__item { border-radius: var(--radius); }
.managed-rail__item figcaption { padding-top: 0; }

/* Managed properties: auto-scrolling marquee (pauses on hover/focus) */
.managed-rail {
	display: block; overflow: hidden; padding: 4px 0 8px; max-width: none;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.managed-rail__track { display: flex; gap: 20px; width: max-content; animation: ls-marquee 70s linear infinite; }
.managed-rail:hover .managed-rail__track, .managed-rail:focus-within .managed-rail__track, .managed-rail:focus .managed-rail__track { animation-play-state: paused; }
.managed-rail__item { flex: 0 0 clamp(220px, 24vw, 300px); }
.managed-rail__item img { border-radius: var(--radius); }

/* Cards lift slightly on hover */
.portal-card, .managed-card { transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.portal-card:hover, .managed-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* Back to top */
.to-top {
	position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 90;
	width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
	background: var(--navy); color: #e3cfa9; cursor: pointer;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
	box-shadow: 0 8px 24px rgba(11,26,49,.25);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--white); }
.to-top:hover svg { transform: translateY(-3px); }
.to-top svg { transition: transform .25s var(--ease); }
.to-top__label { font-family: var(--font-en); font-size: .7rem; font-weight: 600; letter-spacing: .15em; line-height: 1; margin-top: 1px; }
.nav-open .to-top { display: none; }
/* reCAPTCHA badge (bottom-right, ~60px tall at bottom:14px) — keep the button above it */
body:has(.grecaptcha-badge) .to-top { bottom: 90px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.managed-rail { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.managed-rail__item.is-copy { display: none; }
	.hero::before { transform: none; }
}

/* Hero slideshow: cross-fading photos with a slow zoom (driven by main.js) */
.hero__slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__slide {
	position: absolute; inset: 0; background: center / cover no-repeat;
	opacity: 0; transform: scale(1.1);
	/* hidden state applies instantly: a slide released from .is-leaving must not fade out on top of the new one (4 → 1 wrap) */
	transition: opacity 0s, transform 0s;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); transition: opacity 1.8s ease-in-out, transform 9s cubic-bezier(.2, .6, .2, 1); }
/* Keep the outgoing photo underneath while the next one fades in */
.hero__slide.is-leaving { opacity: 1; transform: scale(1); z-index: -1; transition: transform 9s cubic-bezier(.2, .6, .2, 1); }

.hero__dots { position: absolute; right: var(--gutter); bottom: 28px; z-index: 2; display: flex; gap: 10px; }
.hero__dot {
	position: relative; width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
}
.hero__dot::before, .hero__dot::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.hero__dot::before { background: rgba(255,255,255,.35); }
.hero__dot::after { background: #e3cfa9; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active::after { animation: ls-dot-progress var(--slide-interval, 6s) linear forwards; }
.hero.is-paused .hero__dot.is-active::after { animation-play-state: paused; }
.hero__dot:hover::before { background: rgba(255,255,255,.7); }
@keyframes ls-dot-progress { to { transform: scaleX(1); } }
@media (max-width: 600px) { .hero__dots { bottom: 20px; } .hero__dot { width: 32px; } }

/* News ticker card floating on the bottom-right of the hero photo */
.hero-news {
	position: absolute; right: var(--gutter); bottom: 28px; z-index: 3;
	display: flex; align-items: center; width: min(620px, calc(100% - var(--gutter) * 2)); min-height: 68px;
	background: rgba(255,255,255,.96); color: var(--ink); border-radius: var(--radius);
	box-shadow: 0 18px 40px rgba(6,14,28,.35);
	animation: ls-fade-up 1s var(--ease) .95s both;
}
/* card and buttons share the bottom row only when wide enough; below that, reserve room */
@media (min-width: 901px) and (max-width: 1200px) { .hero:has(.hero-news) .hero__inner { padding-bottom: 140px; } }
.hero:has(.hero-news) .hero__dots { bottom: 110px; }
.hero-news__label {
	flex: none; align-self: stretch; display: grid; place-items: center; margin: 0; padding: 0 22px;
	font-family: var(--font-en); font-weight: 600; font-size: 1.05rem; letter-spacing: .22em;
	color: var(--white); background: var(--navy); border-radius: var(--radius) 0 0 var(--radius);
}
.hero-news__track { position: relative; flex: 1; min-width: 0; height: 68px; margin: 0; padding: 0; list-style: none; overflow: hidden; }
.hero-news__item {
	position: absolute; inset: 0; display: flex; align-items: center;
	/* horizontal slide; main.js sets the start/end side per direction */
	opacity: 0; transform: translateX(100%); visibility: hidden;
	transition: transform .7s var(--ease), opacity .5s var(--ease), visibility 0s .7s;
}
.hero-news__item.is-active { opacity: 1; transform: none; visibility: visible; transition: transform .7s var(--ease), opacity .5s var(--ease) .1s; }
.hero-news__item.is-leaving { opacity: 0; visibility: visible; }
.hero-news__item a { display: flex; align-items: center; gap: 18px; width: 100%; min-width: 0; padding: 0 20px; color: var(--ink); }
.hero-news__item a:hover .hero-news__title { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.hero-news__item time { flex: none; font-size: .82rem; font-weight: 500; letter-spacing: .06em; color: var(--gold-dark); font-variant-numeric: tabular-nums; }
.hero-news__title { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .92rem; font-weight: 500; transition: color .2s; }
.hero-news__nav { flex: none; display: flex; border-left: 1px solid var(--line); align-self: stretch; }
.hero-news__btn {
	width: 40px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; color: var(--navy);
	transition: background .2s, color .2s;
}
.hero-news__btn + .hero-news__btn { border-left: 1px solid var(--line); }
/* chevrons: prev points left, next points right */
.hero-news__btn::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -2px;
	border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; transform: rotate(-45deg);
}
.hero-news__btn--next::before { margin-left: -5px; transform: rotate(135deg); }
.hero-news__btn:hover { background: var(--tint, #f5f3ee); color: var(--gold-dark); }
.hero-news__more {
	flex: none; align-self: stretch; display: flex; align-items: center; gap: 8px; padding: 0 20px;
	border-left: 1px solid var(--line); font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--navy);
}
.hero-news__more::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.hero-news__more:hover::after { width: 26px; }

@media (max-width: 900px) {
	/* in flow under the buttons; dots sit in the padding below */
	.hero-news { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 36px; min-height: 60px; }
	.hero:has(.hero-news) .hero__inner { padding-bottom: 60px; }
	.hero:has(.hero-news) .hero__dots { bottom: 20px; }
	.hero-news__track { height: 60px; }
}
@media (max-width: 600px) {
	.hero-news__label { padding: 0 12px; font-size: .85rem; letter-spacing: .14em; }
	.hero-news__item a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 0 12px; }
	.hero-news__item time { font-size: .72rem; }
	.hero-news__title { width: 100%; font-size: .85rem; }
	.hero-news__more { padding: 0 12px; font-size: .72rem; }
	.hero-news__more::after { display: none; }
	.hero-news__btn { width: 34px; }
}

@media (prefers-reduced-motion: reduce) {
	.hero__slide { transform: none; }
	.hero__dot.is-active::after { transform: scaleX(1); }
}

/* Placeholder for buildings without a photo yet */
.photo-placeholder {
	width: 100%; height: 100%; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	background: linear-gradient(135deg, #eef1f5, #e2e7ee); color: #8a93a0; font-size: .8rem; letter-spacing: .12em;
}
.photo-placeholder span { font-family: var(--font-en); font-size: 1.1rem; letter-spacing: .3em; color: #a3acb8; }

/* ---------- お知らせ archive: card grid ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11,26,49,.12); }
.news-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.news-card__link:hover { color: inherit; }
.news-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #e9e6df; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__noimg {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 100%;
	background: radial-gradient(120% 90% at 100% 0%, rgba(176,141,87,.22), transparent 60%), var(--navy);
	font-family: var(--font-en); font-weight: 600; color: var(--white);
}
.news-card__noimg span { font-size: 1.5rem; letter-spacing: .22em; }
.news-card__noimg small { font-size: .75rem; letter-spacing: .4em; color: #d9c29a; }
.news-card__body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 24px; }
.news-card__date { font-size: .82rem; font-weight: 500; letter-spacing: .06em; color: var(--gold-dark); font-variant-numeric: tabular-nums; }
.news-card__title { margin: 6px 0 10px; font-size: 1.05rem; line-height: 1.6; color: var(--navy); }
.news-card__excerpt { margin: 0 0 16px; font-size: .88rem; line-height: 1.8; color: var(--muted); }
.news-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; color: var(--navy); }
.news-card__more::after { content: ""; width: 20px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.news-card:hover .news-card__more::after { width: 32px; }

/* ---------- Google website translator: keep its UI out of sight ---------- */
body { top: 0 !important; }
iframe.skiptranslate, .skiptranslate > iframe, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
.goog-text-highlight, .VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q { background: none !important; box-shadow: none !important; }
/* Translated pages (Google adds .translated-ltr to <html>): longer labels need a tighter header */
@media (min-width: 901px) {
	html.translated-ltr .nav__list { gap: 20px; }
	html.translated-ltr .nav__list a { white-space: nowrap; }
	html.translated-ltr .nav__tel-note { display: none; }
}


/* =========================================================
   TOP page design 案5′（フォト・ランダム） — 2026-09-24 採用
   design-review の v5.css + v6.css を .home（トップページ）に限定して適用
   ========================================================= */
/* 案5 フォトストーリー
   写真を主役に。事業内容を左右交互の大きな写真＋文章に、会社概要と問い合わせ帯にも写真を敷く。 */
/* 見出しは中央揃え */
.home .section-heading { text-align: center; }
.home .section-heading__ja::after { margin-left: auto; margin-right: auto; }
.home .section-lead { margin-left: auto; margin-right: auto; text-align: center; }
.home .section-head-row { flex-direction: column; align-items: center; }
.home .section-lead--left { text-align: center; }
/* 事業内容: 左右交互のジグザグ */
.home .service-grid { grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); }
.home .service-card {
	display: grid; grid-template-columns: 7fr 5fr; align-items: center;
	background: none; box-shadow: none; overflow: visible;
}
.home .service-card:nth-child(even) { grid-template-columns: 5fr 7fr; }
.home .service-card:nth-child(even) .service-card__media { order: 2; }
.home .service-card__media { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.home .service-card__body {
	position: relative; z-index: 1; padding: clamp(28px, 4vw, 48px);
	background: var(--white); box-shadow: 0 24px 60px rgba(11,26,49,.12); border-radius: var(--radius);
	margin-left: -80px;
}
.home .service-card:nth-child(even) .service-card__body { margin-left: 0; margin-right: -80px; }
.home .service-card__num {
	position: static; display: block; padding: 0; margin-bottom: 8px; background: none;
	font-size: clamp(3rem, 6vw, 4.5rem); color: rgba(176,141,87,.35); font-variant-numeric: lining-nums;
}
.home .service-card__title { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: 14px; }
.home .service-card p { line-height: 2; }
@media (max-width: 900px) {
.home .service-grid { max-width: none; }
.home .service-card,
.home .service-card:nth-child(even) { grid-template-columns: 1fr; }
.home .service-card:nth-child(even) .service-card__media { order: 0; }
.home .service-card__body,
.home .service-card:nth-child(even) .service-card__body { margin: -40px 16px 0; }
}
/* 管理物件: 写真を大きく */
.home .managed-rail__item { flex-basis: clamp(260px, 32vw, 420px); }
.home .managed-rail__item img { aspect-ratio: 4 / 3; }
/* 会社概要: 写真を背景いっぱいに、文章は白いパネルで重ねる */
.home #company {
	position: relative; isolation: isolate;
	background: url("https://trend-line.co.jp/new_public/wp-content/themes/landsky/assets/img/about.jpg") center / cover no-repeat;
}
.home #company::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,26,49,.15), rgba(11,26,49,.55)); }
.home #company .about { grid-template-columns: 1fr minmax(0, 620px); }
.home #company .about__media { visibility: hidden; }
.home #company .about__body { background: rgba(255,255,255,.96); padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(6,14,28,.3); }
.home #company .section-heading { text-align: left; }
.home #company .section-heading__ja::after { margin-left: 0; }
@media (max-width: 900px) {
.home #company .about { grid-template-columns: 1fr; }
.home #company .about__media { display: none; } }
/* 問い合わせ帯: 夜景写真を敷く */
.home .cta-band {
	position: relative; isolation: isolate; padding: clamp(80px, 11vw, 130px) 0;
	background: url("https://trend-line.co.jp/new_public/wp-content/themes/landsky/assets/img/hero-2.jpg") center / cover no-repeat;
}
.home .cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,26,49,.92), rgba(11,26,49,.65)); }
.home .cta-band__tel { backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }


/* 案5′ フォト・ランダム（v5.css の上に重ねる）
   位置・大きさ・重なりをセクションごとに不揃いにして、コラージュのような動きを出す。 */
/* ---- 見出し: セクションごとに寄せる位置を変える ---- */
.home #service .section-heading,
.home #service .section-lead { text-align: left; margin-left: 0; }
.home #service .section-heading__ja::after { margin-left: 0; }
.home #properties .section-heading { text-align: right; }
.home #properties .section-heading__ja::after { margin-left: auto; margin-right: 0; }
.home #management .section-head-row { align-items: flex-start; padding-left: 8%; }
.home #management .section-heading { text-align: left; }
.home #management .section-heading__ja::after { margin-left: 0; }
.home #management .section-lead--left { text-align: left; margin-left: 8%; }
/* ---- 事業内容: 1ブロックの雑誌風コラージュ ----
   左に縦長の大きな写真（文章パネルを右下に重ねる）、右に大きさ・形・位置の違う2枚を段違いに。 */
.home .service-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); row-gap: 0; align-items: start; }
.home .service-card,
.home .service-card:nth-child(even) { display: block; grid-template-columns: none; background: none; box-shadow: none; overflow: visible; }
.home .service-card .service-card__media,
.home .service-card .service-card__body,
.home .service-card:nth-child(even) .service-card__media,
.home .service-card:nth-child(even) .service-card__body { grid-column: auto; grid-row: auto; order: 0; margin: 0; }
.home .service-card__body,
.home .service-card:nth-child(even) .service-card__body { background: none; box-shadow: none; padding: 22px 4px 0; }
.home .service-card__num { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-bottom: 4px; }
.home .service-card__title { font-size: clamp(1.15rem, 1.8vw, 1.4rem); margin-bottom: 10px; }
/* 1: 左上・横長の写真＋右下に重なる白いパネル */
.home .service-card:nth-child(1) { grid-column: 1 / 8; grid-row: 1; }
.home .service-card:nth-child(1) .service-card__media { aspect-ratio: 3 / 2; }
.home .service-card:nth-child(1) .service-card__body {
	position: relative; z-index: 1; width: 72%; margin: -120px -32px 0 auto; padding: clamp(24px, 3vw, 40px);
	background: var(--white); box-shadow: 0 24px 60px rgba(11,26,49,.14); border-radius: var(--radius);
}
/* 2: 右・縦長の写真を下げて置き、奥に金の細枠をずらす（会社概要と同じ手法） */
.home .service-card:nth-child(2) { grid-column: 9 / 13; grid-row: 1; margin-top: clamp(48px, 7vw, 100px); }
.home .service-card:nth-child(2) .service-card__media { position: relative; overflow: visible; aspect-ratio: 3 / 4; }
.home .service-card:nth-child(2) .service-card__media img { position: relative; z-index: 1; border-radius: var(--radius); }
.home .service-card:nth-child(2) .service-card__media::before {
	content: ""; position: absolute; right: -22px; top: -22px; width: 70%; height: 60%; border: 1px solid var(--gold);
}
/* 3: 下段・左寄りの横長写真（1のパネルの下へ食い込ませる）、文章は右に並べる */
.home .service-card:nth-child(3) {
	grid-column: 1 / 9; grid-row: 2; margin-top: clamp(-120px, -7vw, -40px);
	display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: end;
}
.home .service-card:nth-child(3) .service-card__media { aspect-ratio: 16 / 10; }
.home .service-card:nth-child(3) .service-card__body { padding: 0 0 8px; }
/* ---- 販売物件: 告知を右へ寄せ、左奥に写真を1枚ずらして敷く ---- */
.home #properties .container { position: relative; }
.home #properties .container::before {
	content: ""; position: absolute; left: var(--gutter); top: 120px; width: 40%; aspect-ratio: 4 / 5; z-index: 0;
	background: url("https://trend-line.co.jp/new_public/wp-content/themes/landsky/assets/img/hero-3.jpg") center / cover no-repeat;
	border-radius: var(--radius); box-shadow: 0 24px 60px rgba(11,26,49,.18);
}
.home #properties .coming-soon { position: relative; z-index: 1; max-width: 700px; margin: 80px 0 0 auto; }
/* ---- 会社概要: 写真2枚をずらして重ねたコラージュ＋文章は一段下げて始める ---- */
.home #company { background: var(--white); }
.home #company::before { display: none; }
.home #company .about { grid-template-columns: 6fr 5fr; align-items: start; gap: clamp(40px, 7vw, 100px); }
.home #company .about__media {
	visibility: visible; position: relative; isolation: isolate; overflow: visible;
	padding: 0 24% 22% 0;
}
.home #company .about__media img { aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(11,26,49,.14); }
/* 右下に重ねる2枚目の写真（夕暮れの街） */
.home #company .about__media::after {
	content: ""; position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; z-index: 1;
	background: url("https://trend-line.co.jp/new_public/wp-content/themes/landsky/assets/img/hero.jpg") center 65% / cover no-repeat;
	border: 8px solid var(--white); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(11,26,49,.22);
}
/* 奥にずらした金の細枠 */
.home #company .about__media::before {
	content: ""; position: absolute; left: -28px; top: -28px; width: 48%; height: 58%; z-index: -1;
	border: 1px solid var(--gold);
}
.home #company .about__body {
	position: relative; background: none; box-shadow: none; border-radius: 0; transform: none;
	padding: clamp(40px, 9vw, 140px) 0 0;
}
.home #company .about__body::before {
	content: "SINCE 2000"; position: absolute; top: clamp(0px, 3vw, 40px); right: -.05em; z-index: -1; white-space: nowrap;
	font-family: var(--font-en); font-weight: 600; font-size: clamp(3rem, 7vw, 6rem); line-height: 1; letter-spacing: .04em;
	color: rgba(176,141,87,.13); font-variant-numeric: lining-nums; pointer-events: none;
}
.home #company .about__body { isolation: isolate; }
@media (max-width: 900px) {
.home #management .section-head-row,
.home #management .section-lead--left { padding-left: 0; margin-left: 0; }
.home .service-grid { grid-template-columns: 1fr; row-gap: 56px; }
.home .service-card:nth-child(n) { grid-column: 1; grid-row: auto; margin-top: 0; }
.home .service-card:nth-child(1) .service-card__body { width: 88%; margin: -64px 0 0 auto; }
.home .service-card:nth-child(2) { margin-left: 14%; }
.home .service-card:nth-child(3) { margin-right: 0; margin-top: 0; display: block; }
.home .service-card:nth-child(3) .service-card__body { padding-top: 22px; }
.home .service-card:nth-child(2) .service-card__media::before { right: -10px; top: -10px; }
.home #properties .container::before { width: 55%; top: 90px; }
.home #properties .coming-soon { margin-top: 140px; }
.home #company .about { grid-template-columns: 1fr; gap: 24px; }
.home #company .about__media { display: block; padding: 0 18% 20% 0; }
.home #company .about__media::before { left: -12px; top: -12px; }
.home #company .about__body { padding-top: 24px; }
}
/* 管理物件の写真は現行と同じ大きさ（案5の拡大を打ち消す） */
.home .managed-rail__item { flex-basis: clamp(220px, 24vw, 300px); }
.home .managed-rail__item img { aspect-ratio: 3 / 2; }
.home .service-card__title { word-break: keep-all; overflow-wrap: anywhere; }



/* =========================================================
   Inner pages: TOP（案5′）と同じテイスト — 2026-09-24 採用（design-review/pages.html）
   写真の重なり・白縁・金の細枠のずらし
   ========================================================= */

/* ---- ページ上部: 右下に写真を1枚はみ出させ、奥に金の細枠 ---- */
body { --page-photo: url("assets/img/hero.jpg"); }
.page-id-7 { --page-photo: url("assets/img/service-trade.jpg"); }
.post-type-archive-managed, .single-managed { --page-photo: url("assets/img/service-management.jpg"); }
.post-type-archive-property, .single-property { --page-photo: url("assets/img/hero-4.jpg"); }
.page-id-9 { --page-photo: url("assets/img/service-consulting.jpg"); }
.category-news, .single-post { --page-photo: url("assets/img/hero-2.jpg"); }

.page-hero { position: relative; }
.page-hero .container { position: relative; }
.page-hero:not(.page-hero--slim) .container::after,
.page-hero:not(.page-hero--slim) .container::before {
	content: ""; position: absolute; right: var(--gutter); bottom: calc(-1 * clamp(64px, 7vw, 104px));
	width: clamp(150px, 22vw, 300px); aspect-ratio: 4 / 3; pointer-events: none;
}
.page-hero:not(.page-hero--slim) .container::after {
	z-index: 3; background: var(--page-photo) center / cover no-repeat;
	border: 6px solid var(--white); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(6,14,28,.3);
}
.page-hero:not(.page-hero--slim) .container::before {
	z-index: 2; border: 1px solid var(--gold); transform: translate(20px, -20px);
}
/* 写真がはみ出す分、パンくずは写真の左で止める */
.page-hero + .breadcrumb { padding-right: calc(clamp(150px, 22vw, 300px) + var(--gutter)); }
@media (max-width: 700px) {
	.page-hero:not(.page-hero--slim) .container::after,
	.page-hero:not(.page-hero--slim) .container::before { width: 120px; bottom: -40px; }
	.page-hero:not(.page-hero--slim) .container::before { transform: translate(10px, -10px); }
	.page-hero__title { padding-right: 130px; }
}

/* ---- 問い合わせ帯: トップと同じ夜景写真 ---- */
.cta-band {
	position: relative; isolation: isolate; padding: clamp(80px, 11vw, 130px) 0;
	background: url("assets/img/hero-2.jpg") center / cover no-repeat;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,26,49,.92), rgba(11,26,49,.65)); }
.cta-band__tel { backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }

/* ---- 表組み: トップの会社概要と同じ、罫線中心 ---- */
.entry-content table { border-top: 1px solid var(--navy); }
.entry-content th { background: none; color: var(--navy); width: 9em; padding-left: 4px; }
.entry-content td { color: var(--ink); }

/* ---- 会社概要ページ: 冒頭のコラージュ（トップの会社概要と同じ構成） ---- */
.company-intro { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(24px, 4vw, 48px); }
.company-intro .about { grid-template-columns: 6fr 5fr; align-items: start; gap: clamp(40px, 7vw, 100px); }
.company-intro .about__media { position: relative; isolation: isolate; overflow: visible; padding: 0 24% 22% 0; }
.company-intro .about__media img { aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(11,26,49,.14); }
.company-intro .about__media::after {
	content: ""; position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; z-index: 1;
	background: url("assets/img/hero.jpg") center 65% / cover no-repeat;
	border: 8px solid var(--white); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(11,26,49,.22);
}
.company-intro .about__media::before {
	content: ""; position: absolute; left: -28px; top: -28px; width: 48%; height: 58%; z-index: -1; border: 1px solid var(--gold);
}
.company-intro .about__body { position: relative; isolation: isolate; padding-top: clamp(40px, 9vw, 140px); }
.company-intro .about__body::before {
	content: "SINCE 2000"; position: absolute; top: clamp(0px, 3vw, 40px); right: -.05em; z-index: -1; white-space: nowrap;
	font-family: var(--font-en); font-weight: 600; font-size: clamp(3rem, 7vw, 6rem); line-height: 1; letter-spacing: .04em;
	color: rgba(176,141,87,.13); font-variant-numeric: lining-nums; pointer-events: none;
}
.company-intro .about__body > p { line-height: 2.1; }
@media (max-width: 900px) {
	.company-intro .about { grid-template-columns: 1fr; gap: 24px; }
	.company-intro .about__media { padding: 0 18% 20% 0; }
	.company-intro .about__media::before { left: -12px; top: -12px; }
	.company-intro .about__body { padding-top: 24px; }
}
/* 地図: 奥に金の細枠をずらす */
.map-embed { position: relative; isolation: isolate; margin: 8px 20px 20px 0; }
.map-embed::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; z-index: -1; border: 1px solid var(--gold); }
.map-embed iframe { border-radius: var(--radius); box-shadow: 0 16px 40px rgba(11,26,49,.12); }

/* ---- 管理物件一覧: 大きさは揃えたまま、写真を主役に ---- */
.managed-grid { gap: 40px 28px; }
.managed-card { border: 0; background: none; overflow: visible; }
.managed-card:hover { box-shadow: none; }
.managed-card__media { border-radius: var(--radius); box-shadow: 0 12px 30px rgba(11,26,49,.10); }
.managed-card__body { padding: 16px 2px 0; }
.managed-card__title { font-family: var(--font-serif); font-size: 1.05rem; letter-spacing: .06em; }
.managed-card__link { display: inline-flex; align-items: center; gap: 8px; }
.managed-card__link::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.managed-card:hover .managed-card__link::after { width: 28px; }

/* ---- 販売物件（準備中）: 告知を右へ寄せ、左奥に写真をずらして敷く ---- */
.post-type-archive-property .section .container { position: relative; }
.post-type-archive-property .section .container::before {
	content: ""; position: absolute; left: var(--gutter); top: 40px; width: 40%; aspect-ratio: 4 / 5; z-index: 0;
	background: url("assets/img/hero-3.jpg") center / cover no-repeat;
	border-radius: var(--radius); box-shadow: 0 24px 60px rgba(11,26,49,.18);
}
.post-type-archive-property .coming-soon { position: relative; z-index: 1; max-width: 700px; margin: 100px 0 40px auto; box-shadow: 0 24px 60px rgba(11,26,49,.10); }
@media (max-width: 900px) {
	.post-type-archive-property .section .container::before { width: 55%; top: 20px; }
	.post-type-archive-property .coming-soon { margin-top: 140px; }
}

/* ---- お問い合わせ: 白地の枠、電話の枠に金の細枠 ---- */
.contact-intro { gap: 32px; margin: 12px 20px 48px 0; isolation: isolate; }
.contact-intro__box { background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(11,26,49,.08); position: relative; }
.contact-intro__box:first-child::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; z-index: -1; border: 1px solid var(--gold); }
