@charset "UTF-8";
/*
Theme Name: Area
Theme URI: https://example.com/
Author: 株式会社エリア
Description: 株式会社エリア（山形県酒田市）のオリジナルWordPressテーマ。庄内地域の不動産（土地・一戸建て・賃貸・月極駐車場）を扱う物件サイト向け。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: area
Tags: real-estate, custom-post-type, responsive
*/

/* =========================================================================
   目次
   1.  Design tokens
   2.  Reset / Base
   3.  Layout : container, page
   4.  Components : section title, buttons, tel/cta, slider, cards
   5.  Layout : header, drawer, footer
   6.  Pages : front page sections
   7.  Pages : lower pages (page header, Company, Contact / CF7, legal)
   8.  Utilities
   9.  Responsive
   ========================================================================= */

/* =========================================================================
   1. Design tokens
   ========================================================================= */
:root {
	/* Colors */
	--c-orange: #ea5721;
	--c-orange-dark: #a43d17;
	--c-navy: #11325f;                              /* ロゴの濃紺 */
	--c-ink: #1c1c1c;
	--c-ink-soft: #333;
	--c-gray: #909090;
	--c-line: #aeadab;
	--c-border: #dcdbd9;
	--c-bg: #f2f1ef;
	--c-bg-alt: #eeecea;
	--c-footer: #312b2a;
	--c-white: #fff;

	/* Fonts */
	--f-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	--f-en: "Poppins", var(--f-jp);

	/* Fluid type — tuned against the 1440px comp */
	--fz-hero: clamp(2rem, 4.44vw, 4rem);          /* 64px */
	--fz-sec: clamp(2.5rem, 5.56vw, 5rem);         /* 80px */
	--fz-tile: clamp(2.125rem, 4.44vw, 4rem);      /* 64px */
	--fz-catch: clamp(1.5rem, 2.22vw, 2rem);       /* 32px */
	--fz-lead: clamp(1rem, 1.25vw, 1.125rem);      /* 18px */
	--fz-label: clamp(1rem, 1.39vw, 1.25rem);      /* 20px */

	/* Body copy. Drops to 14px on phones (see the 768px breakpoint). */
	--fz-body: 1rem;

	/* Spacing */
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--sp-section: clamp(3rem, 6.94vw, 6.25rem);    /* 100px */
	--sp-block: clamp(2rem, 3.33vw, 3rem);         /* 48px */

	/* Misc */
	--radius: 8px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--header-h: 90px;
}

/* =========================================================================
   2. Reset / Base
   ========================================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--c-white);
	color: var(--c-ink);
	font-family: var(--f-jp);
	font-size: var(--fz-body);
	font-weight: 400;
	line-height: 1.6;
	font-feature-settings: "palt" 1;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: anywhere;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
	margin: 0;
}

ul, ol {
	margin: 0;
	padding: 0;
}

ul[class],
ol[class] {
	list-style: none;
}

img, svg, video {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: middle;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

address {
	font-style: normal;
}

em {
	font-style: normal;
}

:focus-visible {
	outline: 2px solid var(--c-orange);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* =========================================================================
   3. Layout : container / generic page
   ========================================================================= */
.l-container {
	--cw: 1120px;
	width: min(100% - var(--gutter) * 2, var(--cw));
	margin-inline: auto;
}

.l-container--narrow { --cw: 1080px; }
.l-container--wide   { --cw: 1280px; }
.l-container--tight  { --cw: 960px; }

.l-main {
	display: block;
}

.l-page {
	padding-block: clamp(3rem, 7vw, 6rem);
}

.l-page__head {
	margin-bottom: var(--sp-block);
}

.l-page__ttl {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1.4;
}

.l-page__thumb {
	margin-bottom: 2rem;
}

.l-page__thumb img {
	width: 100%;
	border-radius: var(--radius);
}

.l-page__empty {
	color: var(--c-gray);
}

.l-grid--cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: clamp(1.5rem, 3vw, 3rem);
}

.l-list__item + .l-list__item {
	border-top: 1px solid var(--c-border);
}

.l-list__link {
	display: flex;
	gap: 1.5rem;
	align-items: baseline;
	padding: 1.25rem 0;
	flex-wrap: wrap;
}

.l-list__date {
	font-family: var(--f-en);
	color: var(--c-gray);
	font-size: 0.875rem;
}

.l-list__link:hover .l-list__ttl {
	color: var(--c-orange);
}

/* Editor output, styled to the legal-document treatment in the comps. */
.c-wysiwyg > * + * {
	margin-top: 24px;
}

.c-wysiwyg p,
.c-wysiwyg li {
	font-size: var(--fz-body);
	font-weight: 500;
	line-height: 2;
	letter-spacing: 0.08em;
	text-align: justify;
}

.c-wysiwyg h2 {
	margin-top: 64px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--c-orange);
	color: var(--c-orange);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.6;
}

.c-wysiwyg > h2:first-child {
	margin-top: 0;
}

.c-wysiwyg h3 {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-top: 48px;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.6;
}

.c-wysiwyg h3::before {
	content: "";
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin-top: 0.55em;
	border-radius: 50%;
	background: var(--c-orange);
}

.c-wysiwyg ul,
.c-wysiwyg ol {
	padding-left: 1.5em;
}

.c-wysiwyg ul { list-style: disc; }
.c-wysiwyg ol { list-style: decimal; }

.c-wysiwyg a {
	color: var(--c-orange);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.c-wysiwyg img {
	border-radius: var(--radius);
}

.pagination {
	margin-top: var(--sp-block);
}

.pagination .nav-links {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: center;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 0.5rem;
	border: 1px solid var(--c-border);
	border-radius: 999px;
	font-family: var(--f-en);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--c-ink);
	border-color: var(--c-ink);
	color: var(--c-white);
}

/* =========================================================================
   4. Components
   ========================================================================= */

/* ---- Section title ---------------------------------------------------- */
.c-sec-ttl {
	display: block;
}

.c-sec-ttl__en {
	display: block;
	font-family: var(--f-en);
	font-weight: 500;
	font-size: var(--fz-sec);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--c-ink);
	/* Single English words — never let "Voice" or "Company" break. */
	white-space: nowrap;
}

.c-sec-ttl__ja {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 4px;
	padding-bottom: 3px;
	font-size: var(--fz-label);
	font-weight: 600;
	line-height: 1.2;
}

.c-sec-ttl__dot {
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--c-orange);
}

.c-sec-ttl--tile .c-sec-ttl__en,
.c-sec-ttl--tile .c-sec-ttl__ja {
	color: var(--c-white);
}

.c-sec-ttl--tile .c-sec-ttl__en {
	font-size: var(--fz-tile);
	letter-spacing: -0.02em;
}

/* ---- Pill button ------------------------------------------------------ */
.c-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(280px, 100%);
	padding: 12px 24px 12px 32px;
	border-radius: 1000px;
	background: var(--c-ink);
	color: var(--c-white);
	transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.c-btn:hover {
	background: var(--c-orange);
	transform: translateY(-2px);
}

.c-btn__label {
	font-family: var(--f-en);
	font-weight: 500;
	font-size: 1.125rem;
	line-height: 1.2;
}

.c-btn__arrow {
	display: grid;
	place-items: center;
	padding: 8px 0 8px 20px;
	border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.c-btn__arrow svg {
	width: 18px;
	height: 18px;
}

/* ---- Circle slider button --------------------------------------------- */
.c-circle-btn {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border: 2px solid var(--c-ink);
	border-radius: 50%;
	color: var(--c-ink);
	transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.c-circle-btn svg {
	width: 18px;
	height: 18px;
}

.c-circle-btn[data-slider-prev] svg {
	transform: rotate(180deg);
}

.c-circle-btn:hover:not(:disabled) {
	background: var(--c-ink);
	color: var(--c-white);
}

.c-circle-btn:disabled {
	border-color: var(--c-line);
	color: var(--c-line);
	cursor: default;
}

/* ---- Tel / CTA buttons ------------------------------------------------ */
.c-tel,
.c-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 6px 8px 8px;
	border-radius: 1000px;
	color: var(--c-white);
	line-height: 1;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.c-tel { background: var(--c-ink); }
.c-cta { background: var(--c-orange); }

/* Both settle on the logo's navy on hover. One rule covers the header, drawer,
   footer, Contact section and the property sidebar, since they all reuse these
   two classes. */
.c-tel:hover,
.c-cta:hover {
	background: var(--c-navy);
	transform: translateY(-1px);
}

/* The footer's white variant goes dark, so its text has to flip. */
.c-tel--light:hover {
	color: var(--c-white);
}

.c-tel--light:hover .c-tel__label {
	color: rgba(255, 255, 255, 0.8);
}

.c-tel__label,
.c-cta__label {
	font-family: var(--f-en);
	font-weight: 500;
	font-size: 0.625rem;
	letter-spacing: -0.04em;
	color: rgba(255, 255, 255, 0.8);
}

.c-tel__num {
	display: flex;
	align-items: center;
	gap: 2px;
	font-family: var(--f-en);
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: -0.04em;
}

.c-tel__num svg {
	width: 16px;
	height: 16px;
}

.c-cta__text {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 1rem;
}

.c-cta__text svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.c-tel--header,
.c-cta--header {
	width: 160px;
	flex: 0 0 auto;
}

/* Large variant used in the Contact section. */
.c-tel--lg,
.c-cta--lg {
	width: 240px;
	height: 64px;
	gap: 4px;
	border-radius: var(--radius);
}

.c-tel--lg .c-tel__label,
.c-cta--lg .c-cta__label { font-size: 0.875rem; }
.c-tel--lg .c-tel__num   { font-size: 1.375rem; gap: 6px; }
.c-tel--lg .c-tel__num svg { width: 20px; height: 20px; }
.c-cta--lg .c-cta__text  { font-size: 1.25rem; }

/* Footer / drawer variants. */
.c-tel--light,
.c-cta--footer,
.c-tel--block,
.c-cta--block {
	width: 100%;
	height: 64px;
	gap: 6px;
	border-radius: var(--radius);
}

.c-tel--light {
	background: var(--c-white);
	color: var(--c-ink);
}

.c-tel--light .c-tel__label { color: rgba(28, 28, 28, 0.8); }
.c-tel--light .c-tel__num   { font-size: 1.25rem; letter-spacing: -0.02em; }
.c-cta--footer .c-cta__text { font-size: 0.9375rem; }

/* ---- Slider ----------------------------------------------------------- */
.c-slider {
	position: relative;
}

.c-slider__track {
	--bleed: calc(50vw - 50%);
	display: flex;
	gap: 48px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-right: var(--bleed);
	margin-right: calc(-1 * var(--bleed));
}

.c-slider__track::-webkit-scrollbar {
	display: none;
}

.c-slider__slide {
	flex: 0 0 360px;
	display: flex;
	scroll-snap-align: start;
}

.c-slider__slide > * {
	flex: 1;
}

/* Property sliders need head-room for the badge that hangs off the card. */
.c-slider--props .c-slider__track {
	padding: 16px 0 4px 16px;
	padding-right: calc(var(--bleed) + 16px);
	margin: -16px 0 0 -16px;
	margin-right: calc(-1 * var(--bleed));
}

.c-slider__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: var(--sp-block);
	flex-wrap: wrap;
}

.c-slider__nav {
	display: flex;
	gap: 16px;
}

.c-slider--voice .c-slider__track {
	gap: 20px;
	align-items: stretch;
}

.c-slider--voice .c-slider__slide {
	flex-basis: 300px;
}

/* ---- Property card ---------------------------------------------------- */
.c-card {
	display: flex;
}

.c-card__link {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.c-card__link[aria-disabled="true"] {
	cursor: default;
}

/* The badge hangs outside the card, so the outer box stays unclipped and the
   image gets its own clipping frame. */
.c-card__media {
	position: relative;
	overflow: visible;
}

.c-card__frame {
	border-radius: var(--radius);
	overflow: hidden;
}

.c-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 360 / 203;
	object-fit: cover;
	border-radius: var(--radius);
	transition: transform 0.4s var(--ease);
	will-change: transform;
}

.c-card__link:hover .c-card__media img {
	transform: scale(1.03);
}

.c-card__badge {
	position: absolute;
	top: -16px;
	left: -16px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--c-orange);
	color: var(--c-white);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
}

.c-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.c-card__head {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--c-line);
}

.c-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.c-card__tag {
	padding: 4px 8px;
	border: 2px solid var(--c-orange);
	border-radius: 5px;
	color: var(--c-orange);
	font-weight: 700;
	font-size: 0.875rem;
	line-height: 1.2;
}

.c-card__ttl {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.5;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color 0.25s var(--ease);
}

.c-card__link:hover .c-card__ttl {
	color: var(--c-orange);
}

.c-card__detail {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.c-card__price {
	display: flex;
	align-items: flex-end;
	gap: 4px;
}

.c-card__price-value {
	font-family: var(--f-en);
	font-weight: 500;
	font-size: 2rem;
	line-height: 1.2;
	letter-spacing: -0.04em;
}

.c-card__price-unit {
	padding-bottom: 4px;
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.2;
}

.c-card__price--lg .c-card__price-value {
	font-size: clamp(2rem, 3.3vw, 2.75rem);
}

.c-card__specs {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	color: var(--c-gray);
	font-size: var(--fz-body);
	font-weight: 500;
	line-height: 1.2;
}

.c-card__spec {
	display: flex;
	align-items: center;
	gap: 8px;
}

.c-card__spec + .c-card__spec::before {
	content: "";
	width: 1px;
	height: 19px;
	margin-right: 4px;
	background: var(--c-line);
}

/* ---- Voice card ------------------------------------------------------- */
.c-voice {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	padding: 20px;
	border-radius: var(--radius);
	background: var(--c-white);
}

.c-voice__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.c-voice__avatar img {
	display: block;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}

.c-voice__meta {
	min-width: 0;
	color: var(--c-ink-soft);
}

.c-voice__attrs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 0.8125rem;
	line-height: 1.2;
	letter-spacing: 0.08em;
}

.c-voice__name {
	margin-top: 4px;
	font-weight: 600;
	font-size: var(--fz-body);
	line-height: 1.6;
}

.c-voice__text {
	color: var(--c-ink-soft);
	font-size: var(--fz-body);
	font-weight: 500;
	line-height: 1.6;
	text-align: justify;
}

/* =========================================================================
   5. Layout : header / drawer / footer
   ========================================================================= */
/* Transparent at rest on every breakpoint; once it sticks it picks up a 20%
   white wash plus a background blur. */
.l-header {
	position: relative;
	z-index: 100;
	width: 100%;
	background: transparent;
}

.l-header--overlay {
	position: absolute;
	top: 0;
	left: 0;
}

.l-header.is-fixed {
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(255, 255, 255, 0.2);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	animation: area-header-in 0.32s var(--ease);
}

@keyframes area-header-in {
	from { transform: translateY(-100%); }
	to   { transform: translateY(0); }
}

.l-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 24px clamp(1.25rem, 2.78vw, 2.5rem);
}

.l-header__logo img,
.l-header__brand .custom-logo {
	display: block;
	width: auto;
	height: 40px;
}

.l-header__right {
	display: flex;
	align-items: center;
	gap: 24px;
}

.l-gnav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.l-gnav > .menu-item {
	position: relative;
}

.l-gnav > .menu-item > a {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 8px;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.l-gnav > .menu-item > a:hover {
	color: var(--c-orange);
}

.l-gnav > .menu-item-has-children > a::after {
	content: "";
	width: 12px;
	height: 7px;
	background-color: currentColor;
	-webkit-mask: var(--icon-caret) no-repeat center / contain;
	mask: var(--icon-caret) no-repeat center / contain;
	transition: transform 0.25s var(--ease);
}

:root {
	--icon-caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7'%3E%3Cpath d='M6.581 6.529 11.19 1.92 10.038.768 6.005 4.801 1.971.768.819 1.92l4.61 4.609a.815.815 0 0 0 1.152 0Z'/%3E%3C/svg%3E");
	--icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 13'%3E%3Cpath d='M0 2.883 .884 2l4.816 4.814a.833.833 0 0 1 0 1.178L.884 12.808 0 11.925l4.521-4.521L0 2.883Z'/%3E%3C/svg%3E");
}

.l-gnav > .menu-item-has-children:hover > a::after,
.l-gnav > .menu-item-has-children:focus-within > a::after {
	transform: rotate(180deg);
}

.l-gnav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 8px;
	border-radius: var(--radius);
	background: var(--c-white);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.l-gnav > .menu-item:hover > .sub-menu,
.l-gnav > .menu-item:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.l-gnav .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 4px;
	font-size: 0.875rem;
	font-weight: 500;
}

.l-gnav .sub-menu a:hover {
	background: var(--c-bg);
	color: var(--c-orange);
}

.l-header__cta {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Hamburger */
.l-burger {
	display: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--c-ink);
	color: var(--c-white);
	place-items: center;
}

.l-burger__bars,
.l-burger__bars::before,
.l-burger__bars::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}

.l-burger__bars {
	position: relative;
}

.l-burger__bars::before,
.l-burger__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.l-burger__bars::before { top: -6px; }
.l-burger__bars::after  { top: 6px; }

.l-burger[aria-expanded="true"] .l-burger__bars {
	background: transparent;
}

.l-burger[aria-expanded="true"] .l-burger__bars::before {
	transform: translateY(6px) rotate(45deg);
}

.l-burger[aria-expanded="true"] .l-burger__bars::after {
	transform: translateY(-6px) rotate(-45deg);
}

/* Drawer */
.l-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	z-index: 120;
	width: min(88vw, 380px);
	background: var(--c-white);
	overflow-y: auto;
	transform: translateX(100%);
	visibility: hidden;
	/* Stay focusable-free while closed, but only after the slide-out finishes. */
	transition: transform 0.32s var(--ease), visibility 0s 0.32s;
}

/* The drawer animates, so `hidden` must not collapse it to display:none. */
.l-drawer[hidden] {
	display: block;
}

.l-drawer.is-open {
	visibility: visible;
	transform: translateX(0);
	transition: transform 0.32s var(--ease);
}

/* The nav sits at the top and the two buttons at the bottom, so the panel
   reads from both ends however many menu items there are. */
.l-drawer__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
	min-height: 100%;
	padding: calc(var(--header-h) + 1rem) 1.5rem 2.5rem;
}

/* Close button — same size and position as the burger underneath it. */
.l-drawer__close {
	position: absolute;
	top: 16px;
	right: 20px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--c-ink);
	color: var(--c-white);
	transition: background-color 0.25s var(--ease);
}

.l-drawer__close:hover {
	background: var(--c-orange);
}

.l-drawer__close-icon,
.l-drawer__close-icon::before,
.l-drawer__close-icon::after {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.l-drawer__close-icon {
	position: relative;
	background: transparent;
}

.l-drawer__close-icon::before,
.l-drawer__close-icon::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
}

.l-drawer__close-icon::before { transform: rotate(45deg); }
.l-drawer__close-icon::after  { transform: rotate(-45deg); }

.l-drawer__nav,
.l-drawer__navwrap .l-gnav {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.l-drawer .menu-item > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 4px;
	border-bottom: 1px solid var(--c-border);
	font-weight: 700;
	white-space: normal;
}

/* The caret belongs to the toggle button below, not the link. */
.l-drawer .menu-item-has-children > a::after {
	display: none;
}

.l-drawer .sub-menu {
	position: static;
	min-width: 0;
	padding: 0 0 8px 12px;
	background: none;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* ---- Drawer sub-menu accordion ---------------------------------------- */
/* `initDrawerAccordion()` adds the class, so with JS off every sub-menu is
   simply open and the toggle never appears. */
.l-drawer__nav.is-collapsible .menu-item-has-children > a {
	/* Room for the toggle, which is absolutely placed over the row's right end. */
	padding-right: 44px;
}

.l-drawer__nav.is-collapsible .menu-item-has-children {
	position: relative;
}

.l-drawer__toggle {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 44px;
	height: 48px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--c-ink);
	cursor: pointer;
}

.l-drawer__toggle::before,
.l-drawer__toggle::after {
	content: "";
	position: absolute;
	width: 12px;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
	transition: transform 0.25s var(--ease);
}

.l-drawer__toggle::after {
	transform: rotate(90deg);
}

.l-drawer__toggle[aria-expanded="true"]::after {
	transform: rotate(0deg);
}

.l-drawer__nav.is-collapsible .sub-menu {
	overflow: hidden;
	padding-bottom: 0;
}

.l-drawer__nav.is-collapsible .sub-menu[hidden] {
	display: none;
}

.l-drawer .sub-menu a {
	padding: 10px 4px;
	border-bottom: 0;
	font-weight: 500;
	color: var(--c-gray);
}

/* ---- Menu hover affordance -------------------------------------------- */
/* An orange dot slides in from the left. The gutter is always reserved so
   the label never shifts. */
.l-gnav .sub-menu a,
.l-drawer .menu-item > a {
	position: relative;
	padding-left: 22px;
}

.l-gnav .sub-menu a::before,
.l-drawer .menu-item > a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 8px;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-radius: 50%;
	background: var(--c-orange);
	opacity: 0;
	transform: translateX(-5px);
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.l-gnav .sub-menu a:hover::before,
.l-gnav .sub-menu a:focus-visible::before,
.l-gnav .sub-menu .current-menu-item > a::before,
.l-drawer .menu-item > a:hover::before,
.l-drawer .menu-item > a:focus-visible::before,
.l-drawer .current-menu-item > a::before {
	opacity: 1;
	transform: translateX(0);
}

.l-drawer__cta {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.l-drawer__overlay {
	position: fixed;
	inset: 0;
	z-index: 110;
	background: rgba(28, 28, 28, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s var(--ease), visibility 0s 0.3s;
}

.l-drawer__overlay[hidden] {
	display: block;
}

.l-drawer__overlay.is-open {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.3s var(--ease);
}

body.is-drawer-open {
	overflow: hidden;
}

/* Footer */
.l-footer {
	background: var(--c-footer);
	color: var(--c-white);
	padding: clamp(3rem, 5.56vw, 5rem) 0 2.5rem;
}

.l-footer__inner {
	width: min(100% - var(--gutter) * 2, 1280px);
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: clamp(2.5rem, 5.56vw, 5rem);
}

.l-footer__top {
	display: flex;
	justify-content: space-between;
	gap: clamp(2rem, 4vw, 3rem);
	padding-bottom: clamp(2.5rem, 5.56vw, 5rem);
	border-bottom: 1px solid rgba(255, 255, 255, 0.8);
	flex-wrap: wrap;
}

.l-footer__company {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2rem;
}

.l-footer__logo img {
	display: block;
	width: 284px;
	max-width: 100%;
	height: auto;
}

.l-footer__address {
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.6;
}

.l-footer__copy {
	font-size: 0.625rem;
	color: rgba(255, 255, 255, 0.85);
}

.l-footer__menu {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	flex-wrap: wrap;
}

.l-footer__col {
	width: 160px;
}

.l-footer__col--cta {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 240px;
}

.l-fnav {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.l-fnav a {
	display: block;
	padding: 8px;
	font-size: 0.875rem;
	font-weight: 500;
}

.l-fnav a:hover {
	color: var(--c-orange);
}

.l-fnav > .menu-item--head > a,
.l-fnav--flat > .menu-item > a,
.l-fnav > .menu-item:first-child > a {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1rem;
	font-weight: 700;
}

.l-fnav > .menu-item--head > a::before,
.l-fnav--flat > .menu-item > a::before,
.l-fnav > .menu-item:first-child > a::before {
	content: "";
	flex: 0 0 auto;
	width: 6px;
	height: 13px;
	background-color: var(--c-orange);
	-webkit-mask: var(--icon-chevron) no-repeat center / contain;
	mask: var(--icon-chevron) no-repeat center / contain;
}

.l-fnav--flat {
	gap: 16px;
}

.l-fsub a {
	display: block;
	padding: 8px 0;
	font-size: 0.75rem;
	font-weight: 500;
}

.l-fsub a:hover {
	color: var(--c-orange);
}

.l-footer__catch {
	display: flex;
	align-items: flex-end;
	gap: clamp(1rem, 2.78vw, 2.5rem);
	flex-wrap: wrap;
}

.l-footer__catch-ja {
	font-size: var(--fz-sec);
	font-weight: 700;
	line-height: 1.2;
}

.l-footer__catch-ja em {
	color: var(--c-orange);
}

.l-footer__catch-en {
	font-family: var(--f-en);
	font-weight: 500;
	font-size: clamp(1rem, 1.67vw, 1.5rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

/* =========================================================================
   6. Front page sections
   ========================================================================= */

/* ---- Hero ------------------------------------------------------------- */
.p-hero {
	background: var(--c-bg);
}

.p-hero__visual {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(28rem, 41.67vw, 37.5rem);
	padding-block: 40px;
	overflow: hidden;
	isolation: isolate;
}

.p-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 57%;
}

.p-hero__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 62.9%, #fff 72.4%);
}

.p-hero__photos {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.p-hero__photo {
	position: absolute;
	border-radius: var(--radius);
	object-fit: cover;
}

.p-hero__photo--a { left: -11.81%; top: 26.83%; width: 25%;    aspect-ratio: 3 / 2; }
.p-hero__photo--b { left: 17.64%;  top: 15%;    width: 11.11%; aspect-ratio: 1 / 1; }
.p-hero__photo--c { left: 45.56%;  top: 40%;    width: 33.33%; aspect-ratio: 3 / 2; }
.p-hero__photo--d { left: 83.33%;  top: 21.67%; width: 13.89%; aspect-ratio: 1 / 1; }

/* z-index stays `auto` on purpose: a stacking context here would cut the
   heading off from the hero backdrop and kill the blend below. It still paints
   above .p-hero__photos because it comes later in the DOM. */
.p-hero__body {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.p-hero__ttl {
	font-size: var(--fz-hero);
	font-weight: 700;
	line-height: 1.2;
}

/* White knocked back through the artwork with a difference blend. Direct
   children only — the per-character spans the title animation adds sit inside
   these and the <em>, and must inherit rather than match. */
.p-hero__ttl > span {
	color: #fff;
	mix-blend-mode: difference;
}

.p-hero__ttl em {
	color: var(--c-orange);
}

.p-hero__lead {
	font-size: var(--fz-lead);
	font-weight: 700;
	line-height: 1.6;
}

.p-hero__photo-sp {
	display: none;
	width: 100%;
	border-radius: var(--radius);
	object-fit: cover;
	aspect-ratio: 3 / 2;
}

/* ---- Category tiles --------------------------------------------------- */
.p-catnav {
	background: var(--c-white);
	padding-block: 40px;
}

.p-catnav__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.p-catnav__link {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 160px;
	height: 100%;
	padding: 24px 20px 20px 24px;
	border: 1px solid var(--c-border);
	border-radius: 40px 8px 8px 8px;
	background: var(--c-bg);
	transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.p-catnav__link:hover {
	border-color: var(--c-orange);
	transform: translateY(-3px);
}

.p-catnav__icon {
	width: 48px;
	height: 48px;
}

.p-catnav__body {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}

.p-catnav__en {
	display: block;
	margin-bottom: 4px;
	font-family: var(--f-en);
	font-weight: 500;
	font-size: 0.75rem;
	line-height: 1;
	color: var(--c-line);
}

.p-catnav__ja {
	display: block;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.04em;
}

.p-catnav__ja small {
	font-size: 1rem;
	font-weight: 700;
}

.p-catnav__arrow {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 2.4px;
	background: var(--c-white);
	color: var(--c-orange);
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.p-catnav__arrow svg {
	width: 14px;
	height: 14px;
}

.p-catnav__link:hover .p-catnav__arrow {
	background: var(--c-orange);
	color: var(--c-white);
}

/* ---- Property listings ------------------------------------------------ */
.p-listings {
	background: var(--c-white);
	padding-block: 80px;
	overflow-x: clip;
}

.p-props + .p-props {
	margin-top: var(--sp-section);
}

.p-props > .c-sec-ttl {
	margin-bottom: var(--sp-block);
}

/* ---- Townscape divider ------------------------------------------------ */
.p-townscape {
	background: var(--c-white);
	line-height: 0;
}

.p-townscape img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---- Voice ------------------------------------------------------------ */
.p-voice {
	background: var(--c-bg-alt);
	padding: 80px 0 100px;
	overflow-x: clip;
}

.p-voice__inner {
	display: grid;
	/* The aside is exactly as wide as the "Voice" wordmark, as in the comp. */
	grid-template-columns: max-content minmax(0, 1fr);
	gap: clamp(2rem, 4.44vw, 4rem);
	align-items: stretch;
}

.p-voice__aside {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
}

/* ---- Company ---------------------------------------------------------- */
.p-company {
	background: var(--c-white);
	padding: var(--sp-section) 0 clamp(2rem, 4.17vw, 3.75rem);
}

.p-company__inner {
	display: grid;
	grid-template-columns: minmax(0, 696fr) minmax(0, 664fr);
	gap: clamp(2rem, 5.56vw, 5rem);
	align-items: stretch;
	max-width: 1600px;
	margin-inline: auto;
}

.p-company__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 16px 16px 0;
}

.p-company__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--sp-block);
	max-width: 664px;
	padding: 40px clamp(1.25rem, 11.11vw, 10rem) 40px 0;
}

.p-company__text {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.p-company__catch {
	font-size: var(--fz-catch);
	font-weight: 700;
	line-height: 1.5;
}

.p-company__catch em {
	color: var(--c-orange);
}

.p-company__desc {
	font-size: var(--fz-body);
	font-weight: 500;
	line-height: 1.6;
}

/* ---- Guide ------------------------------------------------------------ */
.p-guide {
	/* Shared by the cards and by the orange band's height calculation. */
	--guide-card-h: clamp(12.5rem, 19.7vw, 17.75rem);
	--guide-gap: clamp(1.25rem, 3.33vw, 3rem);

	position: relative;
	background: var(--c-white);
	padding: clamp(2rem, 4.17vw, 3.75rem) 0 var(--sp-section);
}

.p-guide::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: clamp(8rem, 16.8vw, 15.125rem);
	background: linear-gradient(90deg, var(--c-orange), var(--c-orange-dark));
}

.p-guide__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: var(--sp-block);
}

.p-guide__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--guide-gap);
}

.p-guide__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: var(--guide-card-h);
	padding: 32px clamp(1.25rem, 2.78vw, 2.5rem) 40px;
	border-radius: 12px;
	overflow: hidden;
	isolation: isolate;
	color: var(--c-white);
}

.p-guide__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.p-guide__card:hover .p-guide__bg {
	transform: scale(1.05);
}

.p-guide__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(28, 28, 28, 0.64);
}

.p-guide__body {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: clamp(1.5rem, 3.33vw, 3rem);
}

.p-guide__body .c-sec-ttl--tile {
	width: 100%;
}

.p-guide__arrow {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--c-white);
	color: var(--c-orange);
	transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.p-guide__arrow svg {
	width: 20px;
	height: 20px;
}

/* Over a photo the circle inverts, so the arrow reads against the tile. */
.p-guide__card:hover .p-guide__arrow {
	transform: translateX(4px);
	background: var(--c-orange);
	color: var(--c-white);
}

/* ---- Contact ---------------------------------------------------------- */
.p-contact {
	position: relative;
	padding: var(--sp-section) 0;
	overflow: hidden;
	isolation: isolate;
	background: var(--c-white);
}

.p-contact__bg {
	position: absolute;
	inset: 0;
	z-index: -3;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 100%;
}

.p-contact__veil {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.32) 27%, rgba(255, 255, 255, 0) 73%);
}

.p-contact__glow {
	position: absolute;
	top: 0;
	left: 12px;
	z-index: -1;
	width: 640px;
	height: 640px;
	max-width: 120vw;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
}

.p-contact__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--sp-block);
}

.p-contact__lead {
	font-size: var(--fz-body);
	font-weight: 500;
	line-height: 1.6;
}

.p-contact__btns {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

/* ---- Floating banner (TOP only) ---------------------------------------- */
.p-banner {
	position: fixed;
	right: 32px;
	bottom: 32px;
	z-index: 90;
	width: 326px;
	max-width: calc(100vw - 40px);
	border-radius: 12px;
	background: var(--c-orange);
	animation: area-banner-in 0.4s var(--ease) both;
}

.p-banner[hidden] {
	display: none;
}

@keyframes area-banner-in {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}

.p-banner__link {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	color: var(--c-white);
}

.p-banner__media {
	flex: 0 0 100px;
	width: 100px;
	height: 100px;
	border-radius: var(--radius);
	overflow: hidden;
}

.p-banner__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 100%;
	transition: transform 0.4s var(--ease);
}

.p-banner__link:hover .p-banner__media img {
	transform: scale(1.06);
}

.p-banner__body {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	align-self: stretch;
}

.p-banner__copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	font-weight: 700;
	line-height: 1;
}

.p-banner__lead {
	font-size: 1rem;
	letter-spacing: 0.08em;
}

.p-banner__strong {
	font-size: 1.625rem;
	letter-spacing: 0.08em;
}

.p-banner__strong small {
	font-size: 1rem;
	font-weight: 700;
}

.p-banner__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 24px;
	border-radius: 100px;
	background: var(--c-white);
	color: var(--c-ink);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.06em;
}

.p-banner__chevron {
	position: absolute;
	top: 50%;
	right: 6px;
	width: 12px;
	height: 12px;
	margin-top: -6px;
	color: var(--c-line);
}

.p-banner__close {
	position: absolute;
	top: -6px;
	right: -6px;
	width: 32px;
	height: 32px;
	color: var(--c-ink);
	line-height: 0;
	border-radius: 50%;
	transition: transform 0.2s var(--ease);
}

.p-banner__close:hover {
	transform: scale(1.08);
}

.p-banner__close svg {
	width: 32px;
	height: 32px;
}

/* =========================================================================
   7. Lower pages
   ========================================================================= */

/* ---- Page header (下層FV) --------------------------------------------- */
.p-pagehead {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(17.5rem, 33.33vw, 30rem);
	padding-block: 50px;
	overflow: hidden;
	isolation: isolate;
	background: var(--c-bg);
}

.p-pagehead__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* The artwork is cut to the FV's own 3:1, so it lands 1:1 at 1440. */
	object-position: 50% 50%;
}

.p-pagehead__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 70%, #fff 100%);
}

.p-pagehead__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	width: min(100% - var(--gutter) * 2, var(--cw, 1120px));
}

.p-pagehead__ttl {
	display: flex;
	flex-direction: column;
	gap: 24px;
	flex: 1 1 auto;
}

/* Each line is one word-mark; only the authored line break may split it. */
.p-pagehead__en {
	font-family: var(--f-en);
	font-weight: 500;
	font-size: clamp(2.75rem, 8.33vw, 7.5rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--c-ink);
	white-space: nowrap;
}

/* Two-line wordmarks ("Policy on Customer Harassment") drop a size so the
   longest line still clears the breadcrumb. */
.p-pagehead--long .p-pagehead__en {
	font-size: clamp(1.5rem, 5vw, 4.5rem);
	line-height: 1.1;
}

.p-pagehead__ja {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: var(--fz-label);
	font-weight: 600;
	line-height: 1.2;
}

/* ---- Breadcrumb ------------------------------------------------------- */
.c-breadcrumb {
	flex: 0 1 auto;
	margin-left: auto;
}

.c-breadcrumb__list {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 1rem;
	font-weight: 500;
}

.c-breadcrumb__item {
	display: flex;
	align-items: center;
	gap: 16px;
	white-space: nowrap;
}

.c-breadcrumb__item + .c-breadcrumb__item::before {
	content: "";
	display: block;
	width: 16px;
	height: 1px;
	background: currentColor;
}

.c-breadcrumb a:hover {
	color: var(--c-orange);
}

/* Outside the FV — the property detail runs it small along the left edge. */
.c-breadcrumb--flat {
	margin-left: 0;
}

.c-breadcrumb--flat .c-breadcrumb__list {
	justify-content: flex-start;
	font-size: 0.75rem;
}

.c-breadcrumb--flat .c-breadcrumb__item[aria-current] {
	color: var(--c-line);
}

/* ---- Lower page shell ------------------------------------------------- */
.p-lower {
	background: var(--c-white);
	padding-block: clamp(2.5rem, 5.56vw, 5rem) var(--sp-section);
}

.p-lower > * + * {
	margin-top: var(--sp-section);
}

/* ---- In-page anchor links --------------------------------------------- */
.p-anchors {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	/* Rows sit close together: each link already carries its own rule. */
	gap: 8px clamp(1rem, 4.44vw, 4rem);
}

.p-anchors__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 320px;
	max-width: 100%;
	padding: 24px;
	border-bottom: 1px solid #9a9a9a;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.2;
	transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.p-anchors__item:hover {
	color: var(--c-orange);
	border-color: var(--c-orange);
}

.c-icon--down {
	width: 18px;
	height: 18px;
	transform: rotate(90deg);
}

/* ---- Centred orange section title -------------------------------------- */
.c-lead-ttl {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: var(--c-orange);
	text-align: center;
}

.c-lead-ttl--left {
	align-items: flex-start;
	text-align: left;
}

.c-lead-ttl__en {
	font-family: var(--f-en);
	font-weight: 500;
	font-size: var(--fz-tile);
	line-height: 1.2;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.c-lead-ttl__ja {
	font-size: var(--fz-label);
	font-weight: 600;
	line-height: 1.2;
}

/* ---- Company : message ------------------------------------------------- */
.p-message {
	display: flex;
	flex-direction: column;
	gap: var(--sp-block);
}

/* The greeting sets the height of the row and the photo follows it, so the two
   columns always end level however the copy reflows. */
.p-message__inner {
	display: grid;
	grid-template-columns: minmax(0, 696fr) minmax(0, 664fr);
	gap: clamp(2rem, 5.56vw, 5rem);
	align-items: stretch;
	max-width: 1600px;
	margin-inline: auto;
	width: 100%;
}

.p-message__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Favour the building over the empty forecourt below it. */
	object-position: 50% 40%;
	border-radius: 0 16px 16px 0;
}

/* Centred, so the copy stays level with the photo if anything ever makes the
   media column the taller of the two. */
.p-message__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 664px;
	padding-right: clamp(1.25rem, 11.11vw, 10rem);
}

/* Same accent as the hero, footer and TOP's Company catch: the editor marks a
   word with the italic button and it comes out orange, not italic. */
.p-message__body em {
	color: var(--c-orange);
}

/* The message column is prose, not the legal-document treatment. */
.p-message__body h2 {
	margin: 0 0 40px;
	padding: 0;
	border: 0;
	color: var(--c-ink);
	font-size: var(--fz-catch);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0;
}

.p-message__body p {
	font-size: var(--fz-body);
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0;
	text-align: justify;
}

.p-message__body > * + * {
	margin-top: 16px;
}

.p-message__body .p-signature {
	margin-top: 40px;
}

/* ---- Company : panorama ------------------------------------------------ */
.p-panorama img {
	display: block;
	width: 100%;
	height: clamp(13.75rem, 34.72vw, 31.25rem);
	object-fit: cover;
	/* The source is 4:3; anchor low so the town sits in frame, not just sky. */
	object-position: 50% 70%;
}

/* ---- Company : outline table ------------------------------------------ */
.p-outline__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 800px);
	gap: clamp(2rem, 2.78vw, 2.5rem);
	align-items: start;
}

.c-deflist__row {
	display: flex;
	align-items: stretch;
}

.c-deflist__key,
.c-deflist__val {
	display: flex;
	align-items: center;
	padding: 24px;
	font-size: var(--fz-body);
	font-weight: 500;
	line-height: 1.6;
}

.c-deflist__key {
	flex: 1;
	min-width: 0;
	border-bottom: 1px solid var(--c-orange);
	color: var(--c-orange);
}

.c-deflist__val {
	flex: 0 0 560px;
	max-width: 560px;
	gap: 10px;
	border-bottom: 1px solid #9a9a9a;
}

.c-deflist__row:first-child .c-deflist__key,
.c-deflist__row:first-child .c-deflist__val {
	padding-top: 0;
}

.c-deflist__text {
	flex: 1;
	min-width: 0;
}

/* `ul` needed on the selector to outrank the `ul[class]` list reset. */
ul.c-deflist__items {
	flex: 1;
	min-width: 0;
	padding-left: 1.5em;
	list-style: disc;
}

.c-deflist__link {
	flex: 0 0 auto;
	font-family: var(--f-en);
	color: var(--c-orange);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.c-deflist__link:hover {
	text-decoration: none;
}

/* ---- Small heading: orange dot + label --------------------------------- */
.c-dot-ttl {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
}

.c-dot-ttl__dot {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--c-orange);
}

.c-dot-ttl--sm {
	gap: 12px;
	font-size: 1.25rem;
}

.c-dot-ttl--sm .c-dot-ttl__dot {
	width: 12px;
	height: 12px;
}

.c-dot-ttl--xs {
	gap: 12px;
	font-size: 1rem;
}

.c-dot-ttl--xs .c-dot-ttl__dot {
	width: 10px;
	height: 10px;
}

/* ---- FAQ accordion ------------------------------------------------------ */
/* Native <details>, so every answer is readable (and printable) without JS.
   `initFaq()` only adds the "one open at a time" behaviour on top. */
.c-faq {
	display: flex;
	flex-direction: column;
}

/* Height and the gap above the card are both animated from `initFaq()`, so
   they stay on one clock. Only the tint is left to CSS. */
.c-faq__item {
	border-bottom: 2px solid #9a9a9a;
	transition: background-color 0.28s var(--ease);
}

/* The open card sits on a tint instead of a rule, as in the comp — and only
   then does it round off. */
.c-faq__item[open] {
	border-bottom-color: transparent;
	border-radius: 8px;
	background: var(--c-bg-alt);
}

/* An opened card lifts clear of the question above it. */
.c-faq__item:not(:first-child)[open] {
	margin-top: 24px;
}

.c-faq__q {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 24px;
	cursor: pointer;
	list-style: none;
}

/* Safari still paints its own triangle without this. */
.c-faq__q::-webkit-details-marker {
	display: none;
}

.c-faq__q:focus-visible {
	outline: 2px solid var(--c-orange);
	outline-offset: -4px;
	border-radius: 8px;
}

.c-faq__mark {
	flex: 0 0 auto;
	width: 40px;
	font-family: var(--f-en);
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-align: center;
}

.c-faq__mark--a {
	color: var(--c-orange);
}

.c-faq__ttl {
	flex: 1;
	min-width: 0;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.08em;
}

.c-faq__q:hover .c-faq__ttl,
.c-faq__q:hover .c-faq__mark {
	color: var(--c-orange);
}

.c-faq__q:hover .c-faq__toggle {
	background: var(--c-orange);
}

/* Plus that loses its upright bar to become a minus. */
.c-faq__toggle {
	position: relative;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--c-ink);
	transition: background-color 0.25s var(--ease);
}

.c-faq__toggle::before,
.c-faq__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	background: var(--c-white);
	transform: translate(-50%, -50%);
	transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.c-faq__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.c-faq__item[open] .c-faq__toggle {
	background: var(--c-orange);
}

.c-faq__item[open] .c-faq__toggle::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(0deg);
}

/* Clicking anywhere in the answer folds it away again (see initFaq()). */
.c-faq__a {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 0 24px 24px;
	cursor: pointer;
}

.c-faq__body {
	flex: 1;
	min-width: 0;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.6;
}

.c-faq__body > * + * {
	margin-top: 0.5em;
}

/* Opening slides the answer in; closing is instant (no CSS hook for it). */
.c-faq__item[open] .c-faq__a {
	animation: area-faq-open 0.25s var(--ease);
}

@keyframes area-faq-open {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: none; }
}

/* ---- FAQ page ----------------------------------------------------------- */
/* Only the space between categories — the gap up to the anchor links is the
   shared `.p-lower` section rhythm. */
.p-faq {
	display: flex;
	flex-direction: column;
	gap: clamp(3.5rem, 5.56vw, 5rem);
}

.p-faq__group {
	display: flex;
	flex-direction: column;
	gap: 32px;
	/* Clears the sticky header when an anchor link jumps here. */
	scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ---- Tabs --------------------------------------------------------------- */
.c-tabs__list {
	display: flex;
	justify-content: center;
	gap: 40px;
	border-bottom: 1px solid #9a9a9a;
}

.c-tabs__tab {
	flex: 0 1 360px;
	padding: 20px 16px;
	border: 0;
	border-radius: 12px 12px 0 0;
	background: var(--c-bg-alt);
	color: var(--c-ink);
	font-family: inherit;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

/* The label carries an authored break that only phones are narrow enough
   to need. */
.c-tabs__tab br {
	display: none;
}

.c-tabs__tab:hover {
	color: var(--c-orange);
}

.c-tabs__tab.is-active {
	background: var(--c-orange);
	color: var(--c-white);
}

.c-tabs__panel {
	display: none;
	padding-top: 48px;
}

.c-tabs__panel.is-active {
	display: block;
}

.c-tabs__panel:focus-visible {
	outline: 2px solid var(--c-orange);
	outline-offset: 4px;
}

/* Only ever seen through the <noscript> block, where the tabs are inert. */
.c-tabs__fallback-ttl {
	display: none;
	margin-bottom: 24px;
	font-size: 1.25rem;
	font-weight: 600;
}

/* ---- Flow steps --------------------------------------------------------- */
.p-steps {
	display: flex;
	flex-direction: column;
	gap: 36px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.p-steps__item {
	position: relative;
}

/* The chevron between two cards — flush against the card it points away from,
   with the breathing room all below it. */
.p-steps__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	width: 0;
	height: 0;
	border-top: 20px solid var(--c-ink);
	border-right: 20px solid transparent;
	border-left: 20px solid transparent;
	transform: translateX(-50%);
}

.p-steps__card {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3.33vw, 3rem);
	padding: 24px clamp(1.5rem, 3.33vw, 3rem);
	border: 1px solid #9a9a9a;
	border-radius: 16px;
}

.p-steps__num {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	width: 40px;
	font-family: var(--f-en);
	font-weight: 500;
	line-height: 1;
}

.p-steps__num-label {
	font-size: 1.125rem;
	letter-spacing: -0.02em;
}

.p-steps__num-value {
	font-size: 2.5rem;
	letter-spacing: -0.02em;
}

.p-steps__body {
	display: flex;
	align-items: center;
	gap: 24px;
	flex: 1;
	min-width: 0;
	padding: 16px 0 16px clamp(1.5rem, 3.33vw, 3rem);
	border-left: 1px solid #9a9a9a;
}

.p-steps__icon {
	flex: 0 0 auto;
	width: 120px;
	height: 120px;
	border-radius: 8px;
}

.p-steps__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
	min-width: 0;
}

/* Undo the global `overflow-wrap: anywhere` so the title wraps on phrase
   boundaries rather than mid-word. `auto-phrase` sharpens that where it is
   supported; elsewhere normal Japanese line-breaking applies. */
.p-steps__ttl {
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.08em;
	overflow-wrap: normal;
	word-break: auto-phrase;
}

.p-steps__desc {
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.6;
}

/* ---- Flow closing note -------------------------------------------------- */
.p-flow {
	display: flex;
	flex-direction: column;
}

.p-flow__note {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 64px;
	padding: 32px 40px;
	border-radius: 16px;
	background: var(--c-bg-alt);
}

.p-flow__note::before {
	content: "";
	position: absolute;
	top: -12px;
	right: 12px;
	width: 42px;
	height: 33px;
	background: url("assets/icon/quote.svg") no-repeat center / contain;
}

.p-flow__note-text {
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.8;
	text-align: justify;
}

/* ---- Property listing --------------------------------------------------- */
.p-listing {
	padding-block: 120px var(--sp-section);
}

/* Comp 2260-4066: a 280px filter column, 80px gutter, 760px of cards. */
.p-listing__inner {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 80px;
	align-items: start;
}

.p-listing__main {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.p-listing__head {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.p-listing__dates {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 24px;
	color: var(--c-gray);
}

.p-listing__date {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9375rem;
	font-family: var(--f-en);
	font-weight: 500;
	white-space: nowrap;
}

.p-listing__date .c-icon {
	width: 16px;
	height: 16px;
}

.p-listing__date-label {
	margin-right: -6px;
	margin-left: -6px;
	font-family: var(--f-jp);
	font-size: 0.8125rem;
}

/* The orange rule is the heading's own left border, as in the comp. */
.p-listing__ttl {
	display: flex;
	align-items: flex-end;
	gap: 16px;
	padding: 0 0 4px 32px;
	border-left: 4px solid var(--c-orange);
}

.p-listing__ttl-text {
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.2;
}

.p-listing__count {
	color: var(--c-orange);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.2;
}

.p-listing__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px 40px;
}

.p-listing__empty {
	padding: 48px 0;
	font-size: var(--fz-body);
	font-weight: 500;
	line-height: 1.8;
}

/* ---- Listing filter sidebar --------------------------------------------- */
.p-filter {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
	top: calc(var(--header-h) + 16px);
}

.p-filter__group {
	margin: 0;
	padding: 0;
	border: 1px solid var(--c-border);
	border-radius: 12px;
	overflow: hidden;
	background: var(--c-white);
}

/* `legend` cannot be a flex container in every browser, so it is floated out
   of the fieldset's own layout and drawn as the panel header. */
.p-filter__legend {
	float: left;
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 10px 20px;
	background: var(--c-bg);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.p-filter__legend + .p-filter__list {
	clear: both;
}

.p-filter__icon {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
}

.p-filter__list {
	padding: 4px 0;
}

.p-filter__item + .p-filter__item {
	border-top: 1px solid var(--c-bg);
}

.p-filter__check {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 20px 11px;
	cursor: pointer;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.3;
	transition: color 0.2s var(--ease);
}

.p-filter__check:hover {
	color: var(--c-orange);
}

.p-filter__check input {
	flex: 0 0 auto;
	appearance: none;
	width: 16px;
	height: 16px;
	margin: 0;
	border: 2px solid var(--c-line);
	border-radius: 4px;
	background: var(--c-white);
	cursor: pointer;
	transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.p-filter__check input:checked {
	border-color: var(--c-orange);
	background: var(--c-orange) center / 10px 8px no-repeat;
	/* A white tick, inlined so it needs no extra request. */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4.2 3.6 6.8 9 1.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.p-filter__check input:focus-visible {
	outline: 2px solid var(--c-orange);
	outline-offset: 2px;
}

.p-filter__actions {
	display: flex;
	flex-direction: column;
}

.p-filter__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px;
	border: 0;
	border-radius: 8px;
	background: var(--c-orange);
	color: var(--c-white);
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
	transition: background-color 0.25s var(--ease);
}

.p-filter__submit:hover {
	background: var(--c-orange-dark);
}

.p-filter__submit .c-icon {
	width: 16px;
	height: 16px;
}

.p-filter__reset {
	padding: 8px;
	color: var(--c-gray);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	transition: color 0.2s var(--ease);
}

.p-filter__reset:hover {
	color: var(--c-orange);
}

/* ---- Pager -------------------------------------------------------------- */
.c-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding-top: 16px;
}

.c-pager__page,
.c-pager__arrow {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	font-family: var(--f-en);
	font-weight: 500;
	font-size: 1rem;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.c-pager__page:hover,
.c-pager__arrow:hover {
	background: var(--c-bg);
	color: var(--c-orange);
}

.c-pager__page.is-current {
	background: var(--c-orange);
	color: var(--c-white);
}

.c-pager__arrow .c-icon {
	width: 16px;
	height: 16px;
}

.c-pager__arrow--prev .c-icon {
	transform: rotate(180deg);
}

.c-pager__arrow.is-disabled {
	color: var(--c-border);
	pointer-events: none;
}

/* ---- Contact / Complete page shells ------------------------------------ */
.p-formpage__body > p {
	text-align: center;
	font-size: var(--fz-body);
	font-weight: 500;
	line-height: 2;
	overflow-wrap: normal;
	word-break: auto-phrase;
}

.p-formpage__body > * + * {
	margin-top: var(--sp-block);
}

.p-complete {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-block);
	text-align: center;
	padding-block: clamp(2rem, 5.56vw, 5rem);
}

/* Overrides `.c-wysiwyg p`, which justifies. Phrase-aware wrapping keeps the
   lines from splitting mid-word once they wrap on a phone. */
.p-complete__body p {
	font-size: var(--fz-body);
	font-weight: 500;
	line-height: 2;
	text-align: center;
	overflow-wrap: normal;
	word-break: auto-phrase;
}

/* ---- Property detail ---------------------------------------------------- */
/* Comps 2274-13610 / 2271-11386 / 2286-5009 / 2286-4446 / 2275-14620. No 下層FV
   here: the breadcrumb sits straight under the header, and the header is in
   flow on a single post, so only the comp's own 80px is needed on top. */
.p-detail {
	padding-block: 80px var(--sp-section);
}

.p-detail__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 80px;
	align-items: start;
}

.p-detail__main {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.p-detail__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.p-detail__top {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--c-line);
}

.p-detail__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-detail__chip {
	padding: 4px 10px;
	border: 2px solid var(--c-orange);
	border-radius: 5px;
	color: var(--c-orange);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
}

.p-detail__ttl {
	margin: 0;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.5;
}

.p-detail__figures {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}

.p-detail__price {
	display: flex;
	align-items: flex-end;
	gap: 4px;
	margin: 0;
	color: var(--c-orange);
}

.p-detail__price .c-card__price-value {
	font-family: var(--f-en);
	font-size: 2.5rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.04em;
}

.p-detail__price .c-card__price-unit {
	padding-bottom: 4px;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}

.p-detail__specs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--c-gray);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
}

.p-detail__spec {
	display: flex;
	align-items: center;
	gap: 8px;
}

.p-detail__spec + .p-detail__spec::before {
	content: "";
	align-self: stretch;
	width: 1px;
	margin-right: 12px;
	background: var(--c-line);
}

.p-detail__photo {
	position: relative;
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
}

.p-detail__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 760 / 475;
	object-fit: cover;
}

/* Orange, as on the listing card — the same badge in both places. */
.p-detail__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 6px 16px;
	border-radius: 999px;
	background: var(--c-orange);
	color: var(--c-white);
	font-size: 0.8125rem;
	font-weight: 700;
}

.p-detail__anchors {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
}

.p-detail__anchor {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 17px 21px;
	border: 1px solid #9a9a9a;
	border-radius: var(--radius);
	background: var(--c-white);
	color: var(--c-ink);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.p-detail__anchor:hover {
	border-color: var(--c-orange);
	color: var(--c-orange);
}

.p-detail__anchor svg {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
}

.p-detail__panel {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 32px;
	border-radius: 16px;
	background: var(--c-bg);
	scroll-margin-top: calc(var(--header-h) + 16px);
}

.p-detail__panel-ttl {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
}

.p-detail__panel-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.p-detail__block {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.c-pill {
	padding: 8px 32px;
	border-radius: 999px;
	background: var(--c-orange);
	color: var(--c-white);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.c-pill:hover {
	background: var(--c-orange-dark);
}

/* Four fixed columns, so the two halves of a split row match the comp's
   160 + 186 either side rather than being sized by their content. */
.c-spec-table {
	width: 100%;
	border: 1px solid #e0e0e0;
	border-radius: var(--radius);
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
	background: var(--c-white);
	overflow: hidden;
	font-size: 0.875rem;
	line-height: 1.2;
	text-align: left;
}

.c-spec-table__col-th {
	width: 160px;
}

.c-spec-table th,
.c-spec-table td {
	padding: 20px;
	border-bottom: 1px solid #e0e0e0;
	vertical-align: middle;
	overflow-wrap: anywhere;
}

.c-spec-table th {
	background: #f7f7f7;
	color: #555;
	font-weight: 500;
}

.c-spec-table tr:last-child th,
.c-spec-table tr:last-child td {
	border-bottom: 0;
}

.p-detail__drawing {
	margin: 0;
}

.p-detail__drawing img {
	display: block;
	width: 100%;
	height: auto;
	background: var(--c-white);
}

.p-detail__map {
	aspect-ratio: 174 / 100;
}

.p-detail__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---- Property detail : sidebar ------------------------------------------ */
.p-detail__side {
	display: flex;
	flex-direction: column;
	gap: 32px;
	position: sticky;
	top: calc(var(--header-h) + 16px);
}

.p-detail__links {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.c-side-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 17px 21px;
	border: 1px solid var(--c-border);
	border-radius: 12px;
	background: var(--c-white);
	color: var(--c-ink);
	text-decoration: none;
	transition: border-color 0.2s var(--ease);
}

.c-side-link:hover {
	border-color: var(--c-orange);
}

.c-side-link__icon {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--c-bg);
}

.c-side-link__icon svg {
	width: 16px;
	height: 16px;
}

/* The icons carry the brand pair: mail in orange, the document in the logo's navy. */
.c-side-link__icon--orange { color: var(--c-orange); }
.c-side-link__icon--navy   { color: var(--c-navy); }

.c-side-link__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.c-side-link__label {
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.2;
}

.c-side-link__note {
	color: var(--c-gray);
	font-size: 0.6875rem;
	font-weight: 500;
	line-height: 1.2;
}

.c-side-link__arrow {
	display: flex;
	margin-left: auto;
	color: var(--c-gray);
}

.c-side-link__arrow svg {
	width: 16px;
	height: 16px;
}

.c-side-card {
	border: 1px solid var(--c-border);
	border-radius: 12px;
	background: var(--c-white);
	overflow: hidden;
}

.c-side-card__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 20px;
	background: var(--c-bg);
	font-size: 1rem;
	font-weight: 700;
}

.c-side-card__icon {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--c-white);
}

.c-side-card__icon svg {
	width: 16px;
	height: 16px;
}

.c-side-card__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
}

.c-side-card__lead {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.6;
}

.c-side-card__btns {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* The shared block buttons are 64px tall; the sidebar's pair sit tighter. */
.c-side-card__btns .c-tel--block,
.c-side-card__btns .c-cta--block {
	height: 54px;
	gap: 4px;
}

.c-side-card__btns .c-tel__label,
.c-side-card__btns .c-cta__label { font-size: 0.625rem; }
.c-side-card__btns .c-tel__num   { font-size: 1rem; }
.c-side-card__btns .c-cta__text  { font-size: 0.8125rem; }

.c-side-card__btns svg {
	width: 14px;
	height: 14px;
}

.c-side-card__note {
	margin: 0;
	color: var(--c-gray);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
}

/* ---- Legal / generic article ------------------------------------------- */
.p-article__body {
	width: min(100%, 800px);
	margin-inline: auto;
}

/* ---- Contact Form 7 ---------------------------------------------------- */
/* Markup classes come from the CF7 form template; the .wpcf7-* selectors are
   the wrappers the plugin injects on its own. */
.c-form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-block);
	width: min(100%, 800px);
	margin-inline: auto;
}

.c-form__rows {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.c-form__row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.c-form__label {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 320px;
	max-width: 320px;
	padding-top: 12px;
}

.c-form__name {
	font-size: var(--fz-body);
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0.04em;
}

.c-form__badge {
	flex: 0 0 auto;
	padding: 0 10px;
	border: 1px solid transparent;
	border-radius: 3px;
	font-size: 0.75rem;
	line-height: 1.8;
	letter-spacing: 0.04em;
}

.c-form__badge--req {
	background: var(--c-orange);
	border-color: var(--c-orange);
	color: var(--c-white);
	font-weight: 500;
}

.c-form__badge--opt {
	background: var(--c-white);
	border-color: #9a9a9a;
	color: #9a9a9a;
	font-weight: 400;
}

.c-form__field {
	flex: 1;
	min-width: 0;
}

/* CF7 wraps every control in an inline span. */
.c-form__field .wpcf7-form-control-wrap {
	display: block;
}

.c-form__field input[type="text"],
.c-form__field input[type="email"],
.c-form__field input[type="tel"],
.c-form__field select,
.c-form__field textarea {
	display: block;
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #9a9a9a;
	border-radius: 4px;
	background: var(--c-white);
	color: var(--c-ink);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.8;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.c-form__field ::placeholder {
	color: #9a9a9a;
	opacity: 1;
}

.c-form__field select {
	appearance: none;
	padding-right: 44px;
	color: var(--c-ink);
	background-image: var(--icon-caret);
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 14px 9px;
	cursor: pointer;
}

.c-form__field textarea {
	height: 240px;
	resize: vertical;
}

.c-form__field :is(input, select, textarea):focus {
	border-color: var(--c-orange);
	outline: none;
	box-shadow: 0 0 0 3px rgba(234, 87, 33, 0.15);
}

/* Consent block */
.c-form__agree {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

p.c-form__agree-note {
	font-size: var(--fz-body);
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0.08em;
	text-align: center;
}

.c-form__agree .wpcf7-list-item {
	margin: 0;
}

.c-form__agree label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	font-size: var(--fz-body);
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0.08em;
}

.c-form__agree input[type="checkbox"] {
	appearance: none;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 0;
	border: 1px solid #bcbcbc;
	border-radius: 2px;
	background: var(--c-white);
	cursor: pointer;
	transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.c-form__agree input[type="checkbox"]:checked {
	background: var(--c-orange);
	border-color: var(--c-orange);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.2 3.2L11 1.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px 8px;
}

/* Shown in place of the hidden reCAPTCHA v3 badge, as Google requires.
   `p` on the selector so it outranks `.c-wysiwyg p` (the form sits inside the
   page content). */
p.c-form__recaptcha {
	margin: 0;
	color: var(--c-gray);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.8;
	text-align: center;
}

.c-form__recaptcha a {
	color: var(--c-gray);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.c-form__recaptcha a:hover {
	color: var(--c-orange);
}

/* Submit — the pill is the wrapper; the real input sits invisibly on top. */
.c-form__submit {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(280px, 100%);
	padding: 12px 24px 12px 32px;
	border-radius: 1000px;
	background: var(--c-ink);
	color: var(--c-white);
	transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.c-form__submit:hover {
	background: var(--c-orange);
	transform: translateY(-2px);
}

.c-form__submit-label {
	font-weight: 500;
	font-size: 1.125rem;
	line-height: 1.2;
}

.c-form__submit-arrow {
	display: grid;
	place-items: center;
	padding: 8px 0 8px 20px;
	border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.c-form__submit-arrow svg {
	width: 18px;
	height: 18px;
}

.c-form__submit input[type="submit"] {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 1000px;
	background: transparent;
	color: transparent;
	font-size: 0;
	cursor: pointer;
}

.c-form__submit input[type="submit"]:focus-visible {
	outline: 2px solid var(--c-orange);
	outline-offset: 3px;
}

.c-form__submit .wpcf7-spinner {
	position: absolute;
	right: -32px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
}

/* Validation + response messages */
.wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: #d63301;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.6;
}

.c-form__field :is(input, select, textarea).wpcf7-not-valid {
	border-color: #d63301;
}

.wpcf7-response-output {
	width: min(100%, 800px);
	margin: 0 auto !important;
	padding: 16px 20px !important;
	border-width: 1px !important;
	border-radius: var(--radius);
	font-size: 0.9375rem;
	line-height: 1.8;
	text-align: center;
}

/* =========================================================================
   7.5 Title reveal
   ========================================================================= */
/* Section titles, the FV catch copy and the 下層FV wordmark rise a character at
   a time out of their own mask. `initTitleReveal()` adds `.is-split` only once
   it has split the text and confirmed it can animate, so nothing is ever hidden
   by CSS alone — with JS off, or with reduced motion asked for, the headings
   render as plain text. */
.c-split__mask {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
	/* Room for descenders (Property, Policy) without moving the baseline. */
	padding-bottom: 0.16em;
	margin-bottom: -0.16em;
}

.is-split .c-split__chr {
	display: inline-block;
	/* Starts far enough down to clear the padding above. */
	transform: translateY(130%) scaleY(0.6);
	transform-origin: 50% 100%;
	opacity: 0;
	transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}

.is-split.is-revealed .c-split__chr {
	transform: none;
	opacity: 1;
}

/* Everything that is not a heading drifts up as it arrives. Short distance and
   a quick curve on purpose — a long travel makes the page feel held back. */
.is-fade {
	opacity: 0;
}

.is-fade.is-revealed {
	animation: area-fade-up 0.6s var(--ease) 0.2s forwards;
}

@keyframes area-fade-up {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.is-split .c-split__chr {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.is-fade {
		opacity: 1;
		animation: none;
	}
}

/* =========================================================================
   8. Utilities
   ========================================================================= */
.u-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.u-skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 999;
	padding: 0.75rem 1.25rem;
	border-radius: 0 0 var(--radius) var(--radius);
	background: var(--c-ink);
	color: var(--c-white);
	transition: top 0.2s var(--ease);
}

.u-skip-link:focus {
	top: 0;
}

/* An authored break that only phones are narrow enough to need. */
.u-br-sp {
	display: none;
}

/* =========================================================================
   9. Responsive
   ========================================================================= */

/* Company and Message run their photo off the left edge of the screen, so its
   left corners are square. Past the 1600px cap on `.p-company__inner` /
   `.p-message__inner` the block starts centring and that edge lifts off the
   screen — at which point the photo reads as a card and needs all four
   corners. Keep the width in step with those two `max-width` values. */
@media (min-width: 1601px) {
	.p-company__media img,
	.p-message__media img {
		border-radius: 16px;
	}
}

/* Header collapses into the drawer before the nav starts to crowd. */
@media (max-width: 1180px) {
	.l-header__nav,
	.l-header__cta {
		display: none;
	}

	.l-burger {
		display: grid;
	}

	.l-header__inner {
		padding-block: 16px;
	}

	:root {
		--header-h: 72px;
	}
}

@media (max-width: 1024px) {
	.p-voice__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}

	.p-voice__aside {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}

}

/* The company copy column needs ~500px to hold its line breaks, so it stacks
   earlier than the other two-column sections. */
@media (max-width: 1180px) {
	.p-company__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}

	.p-company__body {
		width: min(100% - var(--gutter) * 2, 1120px);
		max-width: none;
		margin-inline: auto;
		padding: 0;
	}

	.p-message__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}

	/* Stacked from here down. The photo keeps the desktop treatment — flush to
	   the left edge, rounded on the right — with its right edge landing on the
	   same grid line as the text block beside it. */
	.p-company__media,
	.p-message__media {
		margin-right: var(--gutter);
	}

	.p-company__media img,
	.p-message__media img {
		height: auto;
		aspect-ratio: 16 / 10;
		border-radius: 0 16px 16px 0;
	}

	.p-message__body {
		width: min(100% - var(--gutter) * 2, 1120px);
		max-width: none;
		margin-inline: auto;
		padding-right: 0;
	}

	/* The filter column drops out of the grid; the cards take the full width. */
	.p-listing__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 64px;
	}

	/*
	 * Once stacked, the cards come first and the filter follows them — on a
	 * tablet too. Left above the cards it pushed the listing itself below the
	 * fold, so the page opened on a filter nobody had asked for yet.
	 */
	.p-listing__main {
		order: -1;
	}

	.p-filter {
		position: static;
	}

	/* Below the comp's 1120 measure the two columns no longer both fit. */
	.p-detail__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.p-detail__side {
		position: static;
	}

	.p-detail__links {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.p-detail__links .c-side-link {
		flex: 1 1 260px;
	}

	/* The value column is a fixed 560px, so below this the title column is
	   squeezed to a few pixels — stack instead. */
	.p-outline__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}

	/* With the table below it there is no left column left to align against,
	   so the heading centres over the row like Message's does. */
	.p-outline .c-lead-ttl--left {
		align-items: center;
		text-align: center;
	}
}

@media (max-width: 900px) {
	.p-catnav__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.c-slider__track {
		gap: 24px;
	}

	/* The gutter is only 20px here, so the badge tucks inside the image
	   instead of hanging off the card and colliding with the screen edge. */
	.c-slider--props .c-slider__track {
		padding: 0 0 4px;
		padding-right: var(--bleed);
		margin: 0;
		margin-right: calc(-1 * var(--bleed));
	}

	.c-slider__slide {
		flex-basis: min(76vw, 320px);
	}

	.c-slider--voice .c-slider__slide {
		flex-basis: min(76vw, 300px);
	}

	.c-card__ttl {
		font-size: 1.25rem;
	}

	.c-card__price-value {
		font-size: 1.75rem;
	}

	.c-card__badge {
		top: 8px;
		left: 8px;
		width: 60px;
		height: 60px;
		font-size: 0.8125rem;
	}

	.p-guide__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.p-listing__grid {
		gap: 40px 24px;
	}

	.p-steps__card {
		gap: 24px;
		padding: 20px 24px;
	}

	.p-steps__body {
		gap: 16px;
		padding-left: 24px;
	}

	.p-steps__icon {
		width: 88px;
		height: 88px;
	}

	.p-steps__ttl {
		font-size: 1.25rem;
	}

}

@media (max-width: 768px) {
	/* Body copy drops to 14px on phones. Form controls deliberately stay at
	   16px — iOS Safari zooms the viewport when a focused field is smaller. */
	:root {
		--fz-body: 0.875rem;
	}

	/* ---- FV (390x600 のカンプに合わせる) ---- */
	.p-hero__visual {
		min-height: 37.5rem;
		padding-block: 40px;
	}

	/* ---- 物件詳細（Mobile版のカンプは無いため、同系ページに揃える） ---- */
	.p-detail {
		padding-block: 32px var(--sp-section);
	}

	.p-detail__main {
		gap: 32px;
	}

	.p-detail__ttl {
		font-size: 1.5rem;
	}

	.p-detail__chip {
		padding: 4px 8px;
		font-size: 0.75rem;
	}

	.c-card__tag {
		padding: 4px 8px;
		font-size: 0.75rem;
	}

	/* 価格と詳細情報が縦に並ぶので、その間隔。 */
	.p-detail__figures {
		gap: 8px;
	}

	.p-detail__price .c-card__price-value { font-size: 2rem; }
	.p-detail__price .c-card__price-unit  { font-size: 1.25rem; }

	.p-detail__specs {
		font-size: 0.875rem;
	}

	.p-detail__panel {
		gap: 24px;
		padding: 20px;
	}

	.p-detail__panel-ttl {
		font-size: 1.25rem;
	}

	.p-detail__anchor {
		padding: 14px 16px;
		font-size: 0.9375rem;
	}

	/* 見出しと値は横並びのまま。ただし 1 行に 2 項目は入らないので、
	   値が残り幅をすべて取り、次の見出しが折り返して 1 項目 1 行になる。 */
	.c-spec-table,
	.c-spec-table tbody {
		display: block;
	}

	.c-spec-table colgroup {
		display: none;
	}

	.c-spec-table tr {
		display: flex;
		flex-wrap: wrap;
	}

	/* 「仲介手数料（税込）」だけ 2 行に割って、見出し列を詰めている。
	   min-width なので、これより長い見出しが来ても折り返さずに伸びる。 */
	/* 118px は残る最長の見出し「決済サービス料」の実測値。 */
	.c-spec-table th {
		flex: 0 0 auto;
		min-width: 118px;
		white-space: nowrap;
	}

	/* 値が残り幅を全部取るので、次の見出しは必ず次の行に落ちる。 */
	.c-spec-table td {
		flex: 1 1 calc(100% - 118px);
		min-width: 0;
	}

	.c-spec-table th,
	.c-spec-table td {
		display: flex;
		align-items: center;
		padding: 12px;
	}

	/* 最終行が 2 項目に折り返すときは、上の組の区切り線だけ残す。 */
	.c-spec-table tr:last-child th,
	.c-spec-table tr:last-child td {
		border-bottom: 1px solid #e0e0e0;
	}

	.c-spec-table tr:last-child > *:nth-last-child(-n + 2) {
		border-bottom: 0;
	}

	.p-detail__map {
		aspect-ratio: 4 / 3;
	}

	/* Phones get their own crop of the artwork, so it just covers the box and
	   grows/shrinks from the centre. */
	.p-hero__bg {
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: 50% 50%;
	}

	.p-hero__photos {
		display: block;
	}

	.p-hero__photo-sp {
		display: none;
	}

	.p-hero__body {
		gap: 16px;
	}

	.p-hero__ttl {
		font-size: 3rem;
		line-height: 1.1;
	}

	.p-hero__lead {
		font-weight: 600;
	}

	.p-hero__photo--a { left: -35.9%;  top: 17.33%; width: 53.85%; aspect-ratio: 3 / 2; }
	.p-hero__photo--b { left: 84.62%;  top: 34%;    width: 30.77%; aspect-ratio: 1 / 1; }
	.p-hero__photo--c { left: 24.1%;   top: 29%;    width: 46.15%; aspect-ratio: 1 / 1; }
	.p-hero__photo--d { left: 60%;     top: 9.67%;  width: 25.64%; aspect-ratio: 1 / 1; }

	.p-catnav {
		padding-block: 24px 32px;
	}

	.p-catnav__link {
		min-height: 132px;
		padding: 16px 16px 16px 18px;
		border-radius: 28px 8px 8px 8px;
	}

	.p-catnav__icon {
		width: 36px;
		height: 36px;
	}

	.p-catnav__ja {
		font-size: 1rem;
	}

	.p-catnav__ja small {
		font-size: 0.8125rem;
	}

	.p-catnav__arrow {
		width: 26px;
		height: 26px;
	}

	.p-listings {
		padding-block: 56px;
	}

	.p-voice {
		padding: 56px 0 64px;
	}

	.c-slider__foot {
		gap: 16px;
	}

	.c-btn {
		width: 100%;
		max-width: 280px;
	}

	/* ---- Contact (カンプ 2302-4920) ---- */
	/* The photo becomes a band at the top; the copy sits on flat white below. */
	.p-contact {
		padding: 160px 0 56px;
	}

	/* Anchored to the top edge; the fade to white is part of the artwork. */
	.p-contact__bg {
		object-position: 50% 0;
	}

	.p-contact__veil,
	.p-contact__glow {
		display: none;
	}

	.p-contact__inner {
		gap: 32px;
	}

	.p-contact__btns {
		flex-direction: column;
		gap: 16px;
		width: 100%;
	}

	.p-contact__btns .c-tel,
	.p-contact__btns .c-cta {
		width: 100%;
		max-width: none;
	}

	/* ---- Land / Houses ---- */
	/* Arrows move up beside the section title (bottom row of the slider is
	   flattened onto the section grid so no markup change is needed). */
	.p-props {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
		row-gap: var(--sp-block);
	}

	.c-slider--props,
	.c-slider--props .c-slider__foot {
		display: contents;
	}

	/* Rows are explicit: auto-placement would push the nav below the track. */
	.p-props > .c-sec-ttl {
		grid-area: 1 / 1;
		margin-bottom: 0;
	}

	.c-slider--props .c-slider__nav {
		grid-area: 1 / 2;
		justify-self: end;
	}

	.c-slider--props .c-slider__track {
		grid-area: 2 / 1 / 3 / -1;
	}

	.c-slider--props .c-btn {
		grid-area: 3 / 1 / 4 / -1;
		justify-self: center;
	}

	/* ---- Company ---- */
	/* Order becomes: title → image → copy → button. */
	.p-company__inner {
		display: grid;
		grid-template-columns: 100%;
		row-gap: 32px;
	}

	.p-company__body {
		display: contents;
	}

	.p-company__inner > .p-company__media { order: 2; }
	.p-company__body > .c-sec-ttl        { order: 1; }
	.p-company__text                     { order: 3; }
	.p-company__body > .c-btn            { order: 4; justify-self: center; }

	/* The flush-left photo (margin and corners) is set at the 1180px stack. */
	.p-company__body > .c-sec-ttl,
	.p-company__text {
		width: min(100% - var(--gutter) * 2, 1120px);
		margin-inline: auto;
	}

	/* ---- Guide ---- */
	/* Band runs from the middle of the Flow card to the bottom of the section. */
	.p-guide::after {
		height: calc(var(--guide-card-h) * 1.5 + var(--guide-gap) + var(--sp-section));
	}

	/* ---- Footer (カンプ 2302-5662) ---- */
	.l-footer {
		padding: 48px 0 40px;
	}

	/* Flatten the wrappers so every block lands on one grid and the copyright
	   can move to the very bottom without touching the desktop markup. */
	.l-footer__inner {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 16px 8px;
		width: min(100% - var(--gutter) * 2, 350px);
	}

	.l-footer__top,
	.l-footer__company,
	.l-footer__menu,
	.l-footer__col--cta {
		display: contents;
	}

	.l-footer__logo    { order: 1; grid-column: 1 / -1; }
	.l-footer__address { order: 2; grid-column: 1 / -1; margin-top: 16px; }
	.l-footer__col     { order: 3; width: auto; }
	.l-footer__col:nth-of-type(1) { margin-top: 24px; }
	.l-footer__col:nth-of-type(2) { margin-top: 24px; }
	.l-fsub            { order: 6; }
	.c-tel--light      { order: 7; grid-column: 1 / -1; margin-top: 24px; }
	.c-cta--footer     { order: 8; grid-column: 1 / -1; }

	.l-footer__catch {
		order: 9;
		grid-column: 1 / -1;
		margin-top: 24px;
		padding-top: 40px;
		border-top: 1px solid rgba(255, 255, 255, 0.8);
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.l-footer__copy {
		order: 10;
		grid-column: 1 / -1;
		margin-top: 24px;
		text-align: center;
	}

	.l-footer__top {
		padding-bottom: 0;
		border-bottom: 0;
	}

	.l-footer__logo img {
		width: 213px;
	}

	.l-footer__address {
		font-size: 0.9375rem;
		line-height: 1.6;
	}

	.l-fnav {
		gap: 2px;
	}

	.l-fnav a {
		padding: 8px;
		font-size: 0.75rem;
	}

	.l-fnav > .menu-item--head > a,
	.l-fnav--flat > .menu-item > a,
	.l-fnav > .menu-item:first-child > a {
		padding: 12px 8px;
		font-size: 0.875rem;
	}

	.l-fnav--flat {
		gap: 2px;
	}

	.l-fsub a {
		padding: 7.5px 0;
		font-size: 0.75rem;
		line-height: 1.6;
	}

	.l-footer__catch-ja {
		font-size: 3rem;
	}

	.l-footer__catch-en {
		font-size: 1.25rem;
		letter-spacing: -0.016em;
	}

	/* The comp sets the tagline on a single line here. */
	.l-footer__catch-en br {
		display: none;
	}

	/* Footer CTA matches the Contact one on phones: no icon, shorter label. */
	.c-cta--footer .c-cta__text {
		gap: 0;
		font-size: 1.25rem;
	}

	.c-cta--footer .c-cta__text svg,
	.u-pc-only {
		display: none;
	}

	/* ---- Floating banner ---- */
	/* 60% of the viewport. `--u` is one design pixel at that width, so every
	   inner dimension shrinks with the box instead of the text reflowing into
	   a two-character column. Capped at 1px so it never exceeds the comp. */
	.p-banner {
		--u: min(0.184vw, 1px);

		right: 10px;
		bottom: 10px;
		width: 60%;
		max-width: calc(100vw - 20px);
		border-radius: calc(12 * var(--u));
	}

	.p-banner__link {
		gap: calc(16 * var(--u));
		padding: calc(16 * var(--u));
	}

	.p-banner__media {
		flex-basis: calc(100 * var(--u));
		width: calc(100 * var(--u));
		height: calc(100 * var(--u));
		border-radius: calc(8 * var(--u));
	}

	.p-banner__copy {
		gap: calc(6 * var(--u));
	}

	.p-banner__lead,
	.p-banner__strong small {
		font-size: calc(16 * var(--u));
	}

	.p-banner__strong {
		font-size: calc(26 * var(--u));
	}

	.p-banner__btn {
		padding: calc(8 * var(--u)) calc(24 * var(--u));
		font-size: calc(14 * var(--u));
	}

	.p-banner__chevron {
		right: calc(6 * var(--u));
		width: calc(12 * var(--u));
		height: calc(12 * var(--u));
		margin-top: calc(-6 * var(--u));
	}

	.p-banner__close {
		top: calc(-6 * var(--u));
		right: calc(-6 * var(--u));
		width: calc(32 * var(--u));
		height: calc(32 * var(--u));
	}

	.p-banner__close svg {
		width: 100%;
		height: 100%;
	}

	/* ---- Lower pages ---- */
	/* Every sub page shares one 下層FV on a phone — comp 2307-6035, a 390x320
	   frame with the wordmark and breadcrumb stacked against the bottom edge. */
	.p-pagehead {
		min-height: 320px;
		padding-block: 50px 32px;
	}

	/* The phone artwork is its own 390x320 crop, so plain `cover` is right —
	   no zoom or offset needed any more. */
	.p-pagehead__bg {
		object-position: 50% 50%;
	}

	/* The phone crop already fades to white in the artwork itself. */
	.p-pagehead__veil {
		background: none;
	}

	.p-pagehead__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
	}

	.p-pagehead__ttl {
		gap: 10px;
	}

	/* Both selectors, or the desktop `--long` size would outrank this. */
	.p-pagehead__en,
	.p-pagehead--long .p-pagehead__en {
		font-size: 3rem;
		line-height: 1.2;
		/* The wordmark may wrap freely once there is no room beside it. */
		white-space: normal;
	}

	/* Only an authored two-line title ("Policy on / Customer Harassment") is
	   too wide for 350px at 48px, so it alone steps down far enough to fit.
	   "Customer Harassment" measures 11.08em, and the gutter costs 40px, so
	   the viewport-relative term keeps it on one line below 390px too. */
	.p-pagehead--multiline .p-pagehead__en {
		font-size: min(1.875rem, calc(8.6vw - 3.5px));
	}

	.p-pagehead__ja {
		gap: 8px;
		font-size: 0.9375rem;
	}

	.p-pagehead__ja .c-sec-ttl__dot {
		width: 10px;
		height: 10px;
	}

	.c-breadcrumb {
		margin-left: 0;
	}

	.c-breadcrumb__list {
		justify-content: flex-end;
		font-size: 0.625rem;
		gap: 8px;
	}

	.c-breadcrumb__item {
		gap: 8px;
	}

	.c-breadcrumb__item + .c-breadcrumb__item::before {
		width: 12px;
	}

	/* Stacked full width, the rules alone separate them. */
	.p-anchors {
		row-gap: 0;
	}

	.p-anchors__item {
		width: 100%;
		padding: 16px 8px;
	}

	/* Comp 2307-6050: key above value, one grey rule closing each row, and a
	   120px orange segment marking its left end. The rules run the full width
	   of the row while the text keeps a 20px inset. */
	.c-deflist__row {
		position: relative;
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		padding-top: 20px;
	}

	.c-deflist__row:first-child {
		padding-top: 0;
	}

	.c-deflist__row::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 120px;
		height: 1px;
		background: var(--c-orange);
	}

	.c-deflist__key {
		padding: 0 20px;
		border-bottom: 0;
	}

	.c-deflist__val {
		flex: 1 1 auto;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		max-width: none;
		padding: 0 20px 24px;
	}

	/* The map link drops onto its own line, flush right under the address. */
	.c-deflist__link {
		font-size: 0.875rem;
		text-align: right;
		text-decoration: none;
	}

	.c-deflist__link:hover {
		text-decoration: underline;
	}

	/* Stretch, or each stacked field would shrink to its own content width
	   (which makes the select narrower than the text inputs). */
	.c-form__row {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.c-form__label {
		flex: 1 1 auto;
		max-width: none;
		padding-top: 0;
	}

	.c-form__field textarea {
		height: 180px;
	}

	.c-form__submit .wpcf7-spinner {
		right: 8px;
	}

	.u-br-sp {
		display: inline;
	}

	/* プライバシーポリシー／カスタマーハラスメント方針の本文見出し。 */
	.c-wysiwyg h2 {
		margin-top: 48px;
		font-size: 1.25rem;
	}

	.c-wysiwyg h3 {
		margin-top: 32px;
		font-size: 1.125rem;
	}

	/* ---- FAQ ---- */
	.c-dot-ttl {
		gap: 12px;
		font-size: 1.25rem;
	}

	.c-dot-ttl__dot {
		width: 12px;
		height: 12px;
	}

	.c-dot-ttl--sm {
		font-size: 1.125rem;
	}

	/* 物件概要の小見出しはスマホでも 16px のまま。 */
	.c-dot-ttl--xs {
		font-size: 1rem;
	}

	.p-faq__group {
		gap: 20px;
	}

	.c-faq__q {
		gap: 8px;
		padding: 16px 12px;
	}

	.c-faq__mark {
		width: 28px;
		font-size: 1.25rem;
	}

	.c-faq__ttl {
		font-size: 1rem;
		letter-spacing: 0.04em;
	}

	.c-faq__toggle {
		width: 26px;
		height: 26px;
	}

	.c-faq__toggle::before,
	.c-faq__toggle::after {
		width: 12px;
	}

	.c-faq__a {
		gap: 8px;
		padding: 0 12px 16px;
	}

	.c-faq__item:not(:first-child)[open] {
		margin-top: 16px;
	}

	/* ---- Flow ---- */
	/* Two tabs have to share a phone's width, so they shrink and may wrap. The
	   inline padding keeps the rule running past them, as it does on desktop. */
	.c-tabs__list {
		gap: 8px;
		padding-inline: 20px;
	}

	.c-tabs__tab {
		flex: 1 1 0;
		padding: 12px 8px;
		border-radius: 8px 8px 0 0;
		font-size: 0.8125rem;
		line-height: 1.4;
	}

	.c-tabs__tab br {
		display: inline;
	}

	.c-tabs__panel {
		padding-top: 32px;
	}

	.p-steps {
		gap: 30px;
	}

	.p-steps__item:not(:last-child)::after {
		border-top-width: 16px;
		border-right-width: 16px;
		border-left-width: 16px;
	}

	/* "Step 1" tucks in above the title, and the description runs full width
	   under both. `display: contents` on the two wrappers lets the icon, the
	   label, the title and the text share one grid without extra markup. */
	.p-steps__card {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-areas:
			"icon num"
			"icon ttl"
			"desc desc";
		gap: 2px 16px;
		align-items: center;
		padding: 20px;
	}

	.p-steps__body,
	.p-steps__text {
		display: contents;
	}

	.p-steps__num {
		grid-area: num;
		align-self: end;
		flex-direction: row;
		align-items: baseline;
		gap: 6px;
		width: auto;
	}

	.p-steps__num-label,
	.p-steps__num-value {
		font-size: 0.875rem;
	}

	.p-steps__icon {
		grid-area: icon;
		align-self: center;
		width: 72px;
		height: 72px;
	}

	.p-steps__ttl {
		grid-area: ttl;
		align-self: start;
		font-size: 1.125rem;
	}

	.p-steps__desc {
		grid-area: desc;
		margin-top: 12px;
	}

	/* ---- Property listing ---- */
	.p-listing {
		padding-block: 20px var(--sp-section);
	}

	.p-listing__head {
		gap: 32px;
	}

	.p-listing__inner {
		gap: 48px;
	}

	/* One card per row: at 350px two columns would crop the address. */
	.p-listing__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.p-listing__main {
		gap: 24px;
	}

	.p-listing__dates {
		justify-content: flex-start;
		gap: 4px 16px;
	}

	.p-listing__ttl {
		padding-left: 20px;
		gap: 12px;
	}

	.p-listing__ttl-text {
		font-size: 1.5rem;
	}

	/* The badge would hang off the screen at the card's own left edge. */
	.c-card__badge {
		top: 8px;
		left: 8px;
		width: 64px;
		height: 64px;
		font-size: 0.875rem;
	}

	.c-pager__page,
	.c-pager__arrow {
		width: 36px;
		height: 36px;
	}

	.p-flow__note {
		margin-top: 48px;
		padding: 24px 20px;
	}

	.p-flow__note::before {
		width: 32px;
		height: 25px;
		top: -10px;
		right: 10px;
	}
}

@media (max-width: 560px) {
	/* Two tiles per row leave too little room for "月極駐車場を探す" beside the
	   arrow, so the arrow moves to the corner and the label takes the width. */
	.p-catnav__link {
		position: relative;
	}

	.p-catnav__body {
		display: block;
	}

	.p-catnav__arrow {
		position: absolute;
		top: 14px;
		right: 14px;
	}

	.c-circle-btn {
		width: 48px;
		height: 48px;
	}

	.c-card__specs {
		font-size: 0.875rem;
	}

	.l-footer__catch {
		gap: 0.75rem;
	}

	.l-footer__col {
		width: 100%;
	}
}
