/* =========================================================
   山形市 市営住宅管理センター テーマ
   ========================================================= */

:root {
	--brand: #2A6FB0;
	--brand-dark: #1F5590;
	--accent: #B04A12;
	--accent-tint: #FBF1EA;
	--accent-line: #E8C7B0;
	--green: #4B6B2A;
	--ink: #1E2A2F;
	--ink-2: #33444A;
	--muted: #4A5A60;
	--line: #D3DADC;
	--line-soft: #E1E6E8;
	--tint: #EDF4FB;
	--ground: #F5F7F6;
	--white: #FFFFFF;
	--radius: 12px;
	--radius-sm: 8px;
	--container: 1200px;
	--gutter: 1.5rem;
	--font: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* ---------- 基本 ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
}

html.is-large-text {
	font-size: 115%;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

img,
svg,
iframe,
video {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--brand);
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--brand-dark);
}

:focus-visible {
	outline: 3px solid #F2A900;
	outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
	line-height: 1.45;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	padding: 12px 20px;
	background: var(--ink);
	color: var(--white);
	border-radius: var(--radius-sm);
}

/* ---------- ヘッダー ---------- */
.site-header {
	border-top: 6px solid var(--brand);
	border-bottom: 1px solid var(--line);
	background: var(--white);
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-block: 1.25rem;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	color: var(--ink);
	text-decoration: none;
}

.site-logo:hover {
	color: var(--ink);
}

.site-logo__mark {
	color: var(--brand);
	flex: none;
}

.site-logo__img {
	width: auto;
	max-height: 52px;
}

.site-logo__name {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.3;
}

.site-header__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
}

.header-tel {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.3;
}

.header-tel__label,
.header-tel__hours {
	font-size: 0.8125rem;
	color: var(--muted);
}

.header-tel__number {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;
}

.font-size {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8125rem;
}

.font-size__btn {
	min-width: 44px;
	min-height: 44px;
	padding: 0 8px;
	border: 1px solid #9AAAB0;
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.font-size__btn--large {
	font-size: 18px;
}

.font-size__btn[aria-pressed="true"] {
	border-color: var(--brand);
	background: var(--brand);
	color: var(--white);
}

.site-header__mobile {
	display: none;
	gap: 6px;
}

.font-size-mobile {
	display: none;
	padding-block: 0.75rem 1rem;
	color: var(--white);
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: var(--radius-sm);
	cursor: pointer;
	text-decoration: none;
}

.icon-btn--light {
	background: var(--tint);
	color: var(--brand);
}

.icon-btn--brand {
	background: var(--brand);
	color: var(--white);
}

.menu-toggle__close {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
	display: inline-flex;
}

/* グローバルナビ */
.global-nav {
	background: var(--brand);
}

.global-nav__list {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.global-nav__list a {
	display: block;
	padding: 1rem 1.375rem;
	color: var(--white);
	font-weight: 700;
	text-decoration: none;
}

.global-nav__list a:hover,
.global-nav__list .current-menu-item > a,
.global-nav__list .current-menu-ancestor > a,
.global-nav__list .current_page_parent > a,
.global-nav__list a[aria-current="page"] {
	background: rgba(0, 0, 0, 0.18);
	color: var(--white);
}

/* パンくず */
.breadcrumb {
	font-size: 0.875rem;
	color: var(--muted);
}

.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	margin-block: 0;
	padding-top: 1.25rem;
	list-style: none;
}

.breadcrumb__item + .breadcrumb__item::before {
	content: "›";
	margin-inline: 0.75em;
}

/* ---------- 共通部品 ---------- */
.site-main {
	padding-bottom: 4rem;
}

.page-title {
	margin: 1.5rem 0 1rem;
	font-size: 2rem;
}

.page-lead {
	margin: 0 0 1.75rem;
	color: var(--ink-2);
}

.section {
	padding-block: 3.5rem 1.5rem;
}

.section__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	border-bottom: 2px solid var(--ink);
	padding-bottom: 0.625rem;
	margin-bottom: 0.5rem;
}

.section__head .section__title--rule {
	border: 0;
	padding: 0;
	margin: 0;
}

.section__title {
	margin: 0 0 1.5rem;
	font-size: 1.625rem;
}

.section__title--rule {
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--ink);
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius-sm);
	border: 2px solid transparent;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.4;
	cursor: pointer;
}

.btn--brand {
	background: var(--brand);
	color: var(--white);
}

.btn--brand:hover {
	background: var(--brand-dark);
	color: var(--white);
}

.btn--outline {
	background: var(--white);
	color: var(--brand);
	border-color: var(--brand);
}

.btn--outline:hover {
	background: var(--tint);
	color: var(--brand-dark);
}

.btn--white {
	background: var(--white);
	color: var(--brand);
}

.btn--white:hover {
	background: var(--tint);
	color: var(--brand-dark);
}

.btn--outline-white {
	background: transparent;
	color: var(--white);
	border-color: var(--white);
}

.btn--outline-white:hover {
	background: rgba(255, 255, 255, 0.15);
	color: var(--white);
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.text-link {
	font-weight: 700;
}

.tag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}

.tag--accent {
	color: var(--accent);
	border: 1px solid var(--accent);
}

.tag--solid {
	background: var(--accent);
	color: var(--white);
	font-size: 0.875rem;
	padding: 4px 12px;
}

.tag--green {
	color: var(--green);
	border: 1px solid var(--green);
}

.tag--plain {
	background: var(--tint);
	color: var(--ink-2);
	font-weight: 400;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1rem 0;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 1.125rem;
	border: 1px solid #9AAAB0;
	border-radius: 22px;
	background: var(--white);
	color: var(--ink);
	font-size: 0.9375rem;
	text-decoration: none;
}

.chip:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.chip[aria-current="page"] {
	border-color: var(--brand);
	background: var(--brand);
	color: var(--white);
}

.empty {
	padding: 2.5rem 0.25rem;
	color: var(--muted);
	border-bottom: 1px solid var(--line-soft);
}

.small-note {
	margin: 0.5rem 0 0;
	font-size: 0.8125rem;
	color: var(--muted);
}

.map-embed {
	position: relative;
	height: 200px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: #DDE5E7;
}

.map-embed--tall {
	height: 320px;
}

.map-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---------- トップ：写真の見出し ---------- */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 560px;
	overflow: hidden;
	background: #7A878C;
}

.hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center var(--hero-position, 85%);
}

.hero__inner {
	position: relative;
	padding-block: 4rem 6rem;
}

.hero__panel {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 680px;
	padding: 2.25rem 2.5rem;
	border-radius: var(--radius);
	background: rgba(20, 34, 40, var(--hero-scrim, 0.78));
	color: var(--white);
}

.hero__title {
	margin: 0;
	font-size: 2.25rem;
	line-height: 1.45;
}

.hero__lead {
	margin: 0;
	font-size: 1.0625rem;
	color: #E8EEF0;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

/* 入居者募集カード */
.recruit {
	position: relative;
	margin-top: -3.5rem;
}

.recruit__card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	padding: 1.5rem 1.75rem;
	border: 2px solid var(--accent);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 6px 20px rgba(30, 42, 47, 0.12);
}

.recruit__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.recruit__schedule {
	font-size: 0.8125rem;
	color: var(--muted);
}

.recruit__body {
	flex: 1 1 420px;
	min-width: 0;
}

.recruit__headline {
	margin: 0;
	font-size: 1.1875rem;
	font-weight: 700;
}

.recruit__text {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--ink-2);
}

/* 目的から探す */
.guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.guide-card {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	height: 100%;
	min-height: 150px;
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--ink);
	text-decoration: none;
}

.guide-card:hover {
	border-color: var(--brand);
	color: var(--ink);
	box-shadow: 0 4px 14px rgba(30, 42, 47, 0.08);
}

.guide-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 16px;
	background: var(--tint);
	color: var(--brand);
}

.guide-card__title {
	font-size: 1.125rem;
	font-weight: 700;
}

.guide-card__text {
	font-size: 0.875rem;
	color: var(--muted);
}

/* トップ：お知らせ＋入居をお考えの方へ（配置案B） */
.front-main {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
	align-items: flex-start;
	padding-block: 3.5rem 4rem;
}

.front-news {
	flex: 999 1 560px;
	min-width: 0;
}

.front-news__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 1rem;
}

.front-news__title {
	margin: 0;
	font-size: 1.625rem;
}

.news-tabs {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 2px solid var(--brand);
}

.news-tabs__item {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 1.25rem;
	border-radius: var(--radius-sm) var(--radius-sm) 0 0;
	color: var(--ink);
	font-size: 0.9375rem;
	text-decoration: none;
}

.news-tabs__item:hover {
	background: var(--tint);
	color: var(--brand-dark);
}

.news-tabs__item.is-active {
	background: var(--brand);
	color: var(--white);
	font-weight: 700;
}

.news-rows {
	margin: 0;
	padding: 0;
	list-style: none;
}

.news-row {
	border-bottom: 1px solid var(--line-soft);
}

.news-row__link {
	display: grid;
	grid-template-columns: 7rem 1fr 24px;
	align-items: center;
	gap: 1rem;
	padding: 1.125rem 0.5rem;
	color: var(--ink);
	text-decoration: none;
}

.news-row__link:hover {
	background: var(--tint);
	color: var(--ink);
}

.news-row__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	font-size: 0.9375rem;
	color: var(--muted);
}

.news-row__title {
	font-size: 1.0625rem;
}

.news-row__title .tag {
	margin-left: 0.5rem;
	vertical-align: 0.1em;
}

.news-row__link:hover .news-row__title {
	color: var(--brand-dark);
	text-decoration: underline;
}

.news-row__arrow,
.guide-step__arrow {
	display: inline-flex;
	color: var(--brand);
}

.guide-panel {
	flex: 1 1 380px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	padding: 1.75rem;
	border-radius: 16px;
	background: var(--tint);
}

.guide-panel__title {
	margin: 0;
	font-size: 1.375rem;
}

.guide-panel__lead {
	margin: -0.5rem 0 0;
	font-size: 0.875rem;
	color: var(--ink-2);
}

.guide-steps {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.guide-step {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	min-height: 44px;
	padding: 0.875rem 1rem;
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	text-decoration: none;
	border: 1px solid transparent;
}

.guide-step:hover {
	border-color: var(--brand);
	color: var(--ink);
}

.guide-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--brand);
	color: var(--white);
	font-weight: 700;
	font-size: 0.9375rem;
}

.guide-step__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	line-height: 1.5;
}

.guide-step__title {
	font-weight: 700;
}

.guide-step__text {
	font-size: 0.8125rem;
	color: var(--muted);
}

.btn--block {
	width: 100%;
}

.btn--tel {
	font-size: 1.25rem;
}

/* トップ：窓口のご案内（全幅の帯） */
.counter-band {
	background: var(--tint);
}

.counter-band__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
	align-items: stretch;
	padding-block: 3.5rem;
}

.counter-band__info {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1.125rem;
}

.counter-band__title {
	margin: 0;
	font-size: 1.625rem;
}

.counter-band__lead,
.counter-band__note {
	margin: 0;
	color: var(--ink-2);
	font-size: 0.9375rem;
}

.counter-band__note {
	font-size: 0.8125rem;
	color: var(--muted);
}

.counter-band__list {
	display: grid;
	grid-template-columns: 6rem 1fr;
	margin: 0;
	border-top: 1px solid #C9D6E3;
}

.counter-band__list dt,
.counter-band__list dd {
	margin: 0;
	padding: 0.875rem 0;
	border-bottom: 1px solid #C9D6E3;
}

.counter-band__list dt {
	font-weight: 700;
}

.counter-band__map {
	flex: 1 1 480px;
	min-width: 0;
	min-height: 360px;
	height: auto;
	border-radius: 16px;
	background: #CFDCE6;
}

.site-main--front {
	padding-bottom: 0;
}

.site-main--front + .site-footer {
	margin-top: 0;
}

/* 2カラム（トップのお知らせ＋窓口） */
.two-col {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
}

.two-col__main {
	flex: 999 1 560px;
	min-width: 0;
}

.two-col__side {
	flex: 1 1 340px;
	min-width: 0;
}

/* 窓口案内 */
.counter-box {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.75rem;
	border-radius: var(--radius);
	background: var(--ground);
}

.counter-box__title {
	margin: 0;
	font-size: 1.375rem;
}

.counter-box__list {
	display: grid;
	grid-template-columns: 5.25rem 1fr;
	gap: 0.625rem 0.75rem;
	margin: 0;
	font-size: 0.9375rem;
}

.counter-box__list dt {
	font-weight: 700;
}

.counter-box__list dd {
	margin: 0;
}

.counter-box__note {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--muted);
}

/* お知らせ一覧 */
.news-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.news-list--full {
	border-top: 2px solid var(--ink);
}

.news-item {
	border-bottom: 1px solid var(--line-soft);
}

.news-item__link {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	padding: 1.125rem 0.25rem;
	color: var(--ink);
	text-decoration: none;
}

.news-list--full .news-item__link {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.375rem;
	padding-block: 1.375rem;
}

.news-item__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	min-width: 13rem;
}

.news-list:not(.news-list--full) .news-item__meta {
	width: 15rem;
	flex: none;
}

.news-item__date {
	font-size: 0.9375rem;
	color: var(--muted);
	min-width: 6rem;
}

.news-item__title {
	flex: 1 1 300px;
	font-size: 1.0625rem;
}

.news-list--full .news-item__title {
	flex: none; /* 縦並びでは flex-basis が高さになるため解除 */
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--brand);
}

.news-item__link:hover .news-item__title {
	color: var(--brand-dark);
	text-decoration: underline;
}

.news-item__excerpt {
	font-size: 0.9375rem;
	color: var(--ink-2);
}

/* ---------- レイアウト（サイドあり） ---------- */
.layout {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	align-items: flex-start;
	padding-top: 0.5rem;
}

.layout__main {
	flex: 999 1 640px;
	min-width: 0;
}

.layout--single .layout__main {
	max-width: 880px;
}

.layout__side {
	flex: 1 1 260px;
	min-width: 0;
	max-width: 340px;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.layout--side-left .layout__side {
	margin-top: 1.5rem;
	max-width: 280px;
}

.layout--side-right .layout__side {
	margin-top: 1.5rem;
}

/* サイドメニュー */
.section-nav {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.section-nav__title {
	display: block;
	padding: 0.875rem 1.125rem;
	background: var(--brand);
	color: var(--white);
	font-weight: 700;
	text-decoration: none;
}

.section-nav__title:hover {
	background: var(--brand-dark);
	color: var(--white);
}

.section-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.section-nav__list a {
	display: block;
	padding: 0.875rem 1.125rem;
	border-top: 1px solid var(--line-soft);
	color: var(--ink);
	text-decoration: none;
}

.section-nav__list a:hover {
	background: var(--tint);
}

.section-nav__list a[aria-current="page"] {
	background: var(--tint);
	color: var(--brand);
	font-weight: 700;
}

/* サイドの箱 */
.side-box {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.25rem 1.375rem;
}

.side-box p {
	margin: 0 0 0.5rem;
}

.side-box--tint {
	border: 0;
	background: var(--tint);
}

.side-box__title {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
	font-weight: 700;
}

.side-box__tel a {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;
}

.side-box__note {
	font-size: 0.875rem;
	color: var(--muted);
}

.side-box__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.side-box__list li {
	border-top: 1px solid var(--line-soft);
}

.side-box__list li:first-child {
	border-top: 0;
}

.side-box__list a {
	display: inline-block;
	padding: 0.625rem 0;
	color: var(--ink);
	text-decoration: none;
}

.side-box__list a:hover {
	color: var(--brand);
	text-decoration: underline;
}

.note-box {
	padding: 1.25rem;
	border-radius: var(--radius);
}

.note-box p {
	margin: 0;
}

.note-box--accent {
	border: 1px solid var(--accent-line);
	background: var(--accent-tint);
}

.note-box__title {
	font-weight: 700;
	margin-bottom: 0.5rem !important;
}

/* 問い合わせ案内 */
.cta-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-top: 3rem;
	padding: 1.75rem;
	border-radius: var(--radius);
	background: var(--tint);
}

.cta-box__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
}

.cta-box__sub {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--ink-2);
}

.cta-box__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* 前後の記事 */
.post-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	margin: 3rem 0 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.post-nav__next {
	margin-left: auto;
	text-align: right;
}

.entry__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin: 1.5rem 0 0;
	color: var(--muted);
}

.entry__header .page-title {
	margin-top: 0.5rem;
}

/* ページ送り */
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2rem;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.75rem;
	border: 1px solid #9AAAB0;
	border-radius: var(--radius-sm);
	color: var(--ink);
	text-decoration: none;
}

.pagination .page-numbers.current {
	border-color: var(--brand);
	background: var(--brand);
	color: var(--white);
	font-weight: 700;
}

/* ---------- 本文（エディターで作成した内容） ---------- */
.entry-content > * {
	margin-block: 0 1.25em;
}

.entry-content h2 {
	margin: 2.5rem 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--ink);
	font-size: 1.5rem;
}

.entry-content h3 {
	margin: 2rem 0 0.75rem;
	padding-left: 0.75rem;
	border-left: 5px solid var(--brand);
	font-size: 1.25rem;
}

.entry-content h4 {
	margin: 1.5rem 0 0.5rem;
	font-size: 1.0625rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content li + li {
	margin-top: 0.375em;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.entry-content th,
.entry-content td {
	padding: 0.75rem 0.875rem;
	border: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.entry-content thead th,
.entry-content th {
	background: var(--tint);
}

.entry-content .wp-block-table {
	overflow-x: auto;
}

.entry-content blockquote {
	margin-inline: 0;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--line);
	background: var(--ground);
}

.entry-content a[href$=".pdf"]::after {
	content: "（PDF）";
	font-size: 0.875em;
}

.entry-content .wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}

.entry-content .wp-block-file a[href$=".pdf"]::after,
.entry-content .wp-block-image a[href$=".pdf"]::after {
	content: none;
}

.entry-content .wp-block-image a[href$=".pdf"] {
	display: block;
}

.entry-content .wp-block-file .wp-block-file__button,
.entry-content .wp-element-button,
.entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.5rem 1.25rem;
	border-radius: var(--radius-sm);
	background: var(--brand);
	color: var(--white);
	font-weight: 700;
	text-decoration: none;
}

.entry-content details {
	padding: 0 1.25rem;
	border: 1px solid var(--line);
	border-radius: 10px;
}

.entry-content summary {
	padding: 1rem 0;
	font-weight: 700;
	cursor: pointer;
}

/* 注意枠：段落に「has-accent-tint」などを付けたときの見た目 */
.entry-content .is-style-notice,
.entry-content .notice {
	padding: 1rem 1.25rem;
	border: 1px solid var(--accent-line);
	border-radius: 10px;
	background: var(--accent-tint);
}

.has-brand-color { color: var(--brand); }
.has-accent-color { color: var(--accent); }
.has-ink-color { color: var(--ink); }
.has-white-color { color: var(--white); }
.has-brand-background-color { background-color: var(--brand); }
.has-accent-background-color { background-color: var(--accent); }
.has-tint-background-color { background-color: var(--tint); }
.has-white-background-color { background-color: var(--white); }
.has-alert-color { color: #B42318; }
.has-marker-color { color: #FFF1A8; }
.has-alert-background-color { background-color: #B42318; }
.has-marker-background-color { background-color: #FFF1A8; }
mark.has-inline-color.has-marker-background-color { padding: 0 0.15em; }

.alignwide {
	max-width: 100%;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

.wp-caption-text,
.wp-element-caption {
	font-size: 0.8125rem;
	color: var(--muted);
}

/* ---------- 市営住宅 ---------- */
.filter-box {
	margin-bottom: 1.75rem;
	padding: 1.25rem 1.5rem;
	border-radius: var(--radius);
	background: var(--ground);
}

.filter-box__title {
	margin: 0;
	font-weight: 700;
}

.filter-box .chips {
	margin: 0.75rem 0;
}

.filter-box__count {
	margin: 0;
	font-size: 0.875rem;
	color: var(--muted);
}

.housing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.housing-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	color: var(--ink);
	text-decoration: none;
}

.housing-card:hover {
	border-color: var(--brand);
	color: var(--ink);
	box-shadow: 0 4px 14px rgba(30, 42, 47, 0.08);
}

.housing-card__photo {
	display: block;
	aspect-ratio: 12 / 5;
	background: #DDE5E7;
}

.housing-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.housing-card__nophoto {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 140px;
	background: #DDE5E7;
	color: var(--muted);
	font-size: 0.875rem;
}

.housing-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	padding: 1.125rem 1.25rem 1.25rem;
}

.housing-card__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.5rem;
}

.housing-card__name {
	font-size: 1.3125rem;
	font-weight: 700;
}

.housing-card__addr {
	font-size: 0.875rem;
	color: var(--muted);
}

.housing-card__data {
	display: grid;
	grid-template-columns: 4.5rem 1fr;
	gap: 0.25rem 0.625rem;
	margin: 0;
	font-size: 0.875rem;
}

.housing-card__data dt {
	color: var(--muted);
}

.housing-card__data dd {
	margin: 0;
}

.housing-card__data dd:first-of-type {
	font-weight: 700;
}

.housing-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
}

.housing-detail__top {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin-bottom: 2.5rem;
}

.housing-detail__summary {
	flex: 999 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.housing-detail__summary .page-title {
	margin-bottom: 0;
	font-size: 2.25rem;
}

.housing-detail__place {
	margin: 0;
	font-size: 1.0625rem;
	color: var(--ink-2);
}

.housing-detail__photo {
	flex: 1 1 380px;
	min-width: 0;
	margin-top: 1.5rem;
}

.housing-detail__photo img {
	width: 100%;
	border-radius: 10px;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.housing-detail__photo .housing-card__nophoto {
	min-height: 240px;
	border-radius: 10px;
}

.stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0.75rem;
	margin: 0;
}

.stat {
	padding: 1rem;
	border-radius: 10px;
	background: var(--ground);
}

.stat dt {
	font-size: 0.8125rem;
	color: var(--muted);
}

.stat dd {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
}

.detail-section {
	margin-bottom: 2.5rem;
	min-width: 0;
}

.detail-cols {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.detail-cols > .detail-section {
	flex: 1 1 420px;
}

.table-scroll-hint {
	display: none;
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	color: var(--muted);
}

.table-scroll {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: 10px;
}

.data-table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.data-table th,
.data-table td {
	padding: 0.75rem 0.875rem;
	text-align: left;
}

.data-table thead tr {
	background: var(--tint);
}

.data-table tbody tr {
	border-top: 1px solid var(--line-soft);
}

.data-table .is-num {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.spec-list {
	display: grid;
	grid-template-columns: 8.75rem 1fr;
	margin: 0;
	font-size: 0.9375rem;
}

.spec-list dt,
.spec-list dd {
	margin: 0;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--line-soft);
}

.spec-list dt {
	font-weight: 700;
}

/* ---------- お問い合わせ（Contact Form 7） ---------- */
.form-steps {
	display: flex;
	gap: 0.5rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.form-steps__item {
	flex: 1;
	padding: 0.75rem;
	border-radius: var(--radius-sm);
	background: var(--tint);
	color: var(--ink-2);
	text-align: center;
	font-size: 0.9375rem;
}

.form-steps__item.is-current {
	background: var(--brand);
	color: var(--white);
	font-weight: 700;
}

.contact-form .wpcf7 form > p,
.contact-form .wpcf7 .form-row {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
}

.contact-form label {
	font-weight: 700;
}

.contact-form .form-row br {
	display: none;
}

.contact-form .form-row > p {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
}

.contact-form .req,
.contact-form .opt {
	display: inline-block;
	margin-left: 0.5rem;
	padding: 1px 8px;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	vertical-align: 0.15em;
}

.contact-form .req {
	background: var(--accent);
	color: var(--white);
}

.contact-form .opt {
	background: var(--line-soft);
	color: var(--ink-2);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form input[type="number"],
.contact-form select,
.contact-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 0.75rem 1rem;
	border: 1px solid #7E8E94;
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 1.0625rem;
	line-height: 1.6;
}

.contact-form input[type="tel"] {
	max-width: 22.5rem;
}

.contact-form textarea {
	min-height: 12rem;
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
	border-color: var(--brand);
	outline: 3px solid rgba(42, 111, 176, 0.3);
	outline-offset: 0;
}

.contact-form .wpcf7-form-control-wrap {
	display: block;
}

.contact-form .wpcf7-acceptance {
	display: block;
	padding: 1.125rem 1.25rem;
	border-radius: 10px;
	background: var(--ground);
}

.contact-form .wpcf7-acceptance label {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 44px;
	cursor: pointer;
}

.contact-form input[type="checkbox"],
.contact-form input[type="radio"] {
	width: 24px;
	height: 24px;
	margin: 0;
	accent-color: var(--brand);
}

.contact-form .wpcf7-submit,
.contact-form input[type="submit"] {
	display: block;
	min-width: 280px;
	min-height: 56px;
	margin-inline: auto;
	padding: 0.75rem 2rem;
	border: 0;
	border-radius: 10px;
	background: var(--brand);
	color: var(--white);
	font: inherit;
	font-size: 1.125rem;
	font-weight: 700;
	cursor: pointer;
}

.contact-form .wpcf7-submit:hover {
	background: var(--brand-dark);
}

.contact-form .wpcf7-submit:disabled {
	background: #9AAAB0;
	cursor: not-allowed;
}

.contact-form .wpcf7-not-valid-tip {
	margin-top: 0.375rem;
	color: #A23B3B;
	font-size: 0.9375rem;
	font-weight: 700;
}

.contact-form .wpcf7 form .wpcf7-response-output {
	margin: 1.5rem 0 0;
	padding: 1rem 1.25rem;
	border-radius: var(--radius-sm);
}

.contact-form .wpcf7-spinner {
	display: block;
	margin: 0.75rem auto 0;
}

.contact-form .form-help {
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--muted);
}

/* reCAPTCHA のバッジを隠す場合は、フォーム近くに案内文を表示すること */
.recaptcha-note {
	font-size: 0.8125rem;
	color: var(--muted);
}

/* 検索フォーム */
.search-form {
	display: flex;
	gap: 0.5rem;
	margin: 1rem 0 2rem;
}

.search-form label {
	flex: 1;
}

.search-form .search-field {
	width: 100%;
	min-height: 48px;
	padding: 0.5rem 1rem;
	border: 1px solid #7E8E94;
	border-radius: var(--radius-sm);
	font: inherit;
}

.search-form .search-submit {
	min-height: 48px;
	padding: 0 1.25rem;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--brand);
	color: var(--white);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.link-list {
	padding-left: 1.4em;
}

/* ---------- フッター ---------- */
.site-footer {
	margin-top: 2rem;
	background: var(--brand);
	color: var(--white);
}

.site-footer a {
	color: var(--white);
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 2.5rem;
	font-size: 0.875rem;
}

.site-footer__info p {
	margin: 0 0 0.25rem;
}

.site-footer__name {
	font-size: 1.125rem;
	font-weight: 700;
}

.footer-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__copy {
	margin: 0;
	padding: 0.75rem var(--gutter);
	background: var(--brand-dark);
	text-align: center;
	font-size: 0.75rem;
}

/* ---------- スマートフォン・タブレット ---------- */
@media (max-width: 900px) {
	.site-header__tools {
		display: none;
	}

	.site-header__mobile {
		display: flex;
	}

	.site-header__inner {
		padding-block: 0.75rem;
		flex-wrap: nowrap;
	}

	.site-logo__mark {
		width: 40px;
		height: 40px;
	}

	.site-logo__name {
		font-size: 1.1875rem;
	}

	.global-nav {
		display: none;
	}

	.global-nav.is-open {
		display: block;
	}

	.global-nav__list {
		flex-direction: column;
		padding-block: 0.5rem;
	}

	.global-nav__list a {
		padding: 0.875rem 0.25rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}

	.global-nav .font-size-mobile {
		display: flex;
	}

	.layout__side,
	.layout--side-left .layout__side {
		max-width: none;
		flex-basis: 100%;
	}

	.layout--side-left .layout__side {
		order: 2;
	}
}

@media (max-width: 600px) {
	.table-scroll-hint {
		display: block;
	}

	.data-table th,
	.data-table td {
		white-space: nowrap;
	}

	:root {
		--gutter: 1rem;
	}

	.page-title {
		font-size: 1.625rem;
	}

	.hero {
		min-height: 0;
		display: block;
	}

	.hero__image {
		position: relative;
		inset: auto;
		height: 300px;
		object-position: 50% var(--hero-position, 85%);
		transform: scale(1.7);
		transform-origin: 50% 88%;
	}

	.hero__inner {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		padding: 0;
	}

	.hero__panel {
		max-width: none;
		border-radius: 0;
		padding: 1.125rem 1rem;
	}

	.hero__title {
		font-size: 1.3125rem;
	}

	.hero__title br {
		display: none;
	}

	.hero__lead,
	.hero__actions {
		display: none;
	}

	.recruit {
		margin-top: 1.25rem;
	}

	.recruit__card {
		padding: 1rem;
		box-shadow: none;
	}

	.section {
		padding-top: 2.25rem;
	}

	.guide-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.625rem;
	}

	.guide-card {
		min-height: 0;
		padding: 1rem 0.75rem;
	}

	.guide-card__icon {
		width: 52px;
		height: 52px;
		border-radius: 12px;
	}

	.guide-card__icon svg {
		width: 32px;
		height: 32px;
	}

	.guide-card__text {
		display: none;
	}

	.news-item__link {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}

	.news-item__title {
		flex: none;
	}

	.news-list .news-item__meta {
		width: auto;
	}

	.housing-grid {
		grid-template-columns: 1fr;
	}

	.front-main {
		padding-block: 2.25rem 2.5rem;
		gap: 2rem;
	}

	.news-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.news-tabs__item {
		flex: none;
		padding: 0 0.875rem;
	}

	.news-row__link {
		grid-template-columns: 1fr 20px;
		gap: 0.25rem 0.5rem;
		padding-inline: 0.25rem;
	}

	.news-row__meta {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		gap: 0.75rem;
	}

	.guide-panel {
		padding: 1.25rem 1rem;
	}

	.counter-band__inner {
		padding-block: 2.25rem;
		gap: 1.5rem;
	}

	.counter-band__map {
		flex-basis: 100%;
		min-height: 260px;
	}

	.btn--tel {
		width: 100%;
	}

	.spec-list {
		grid-template-columns: 6.5rem 1fr;
	}

	.form-steps__item {
		font-size: 0.8125rem;
		padding: 0.625rem 0.25rem;
	}

	.contact-form .wpcf7-submit {
		width: 100%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

@media print {
	.site-header__tools,
	.site-header__mobile,
	.global-nav,
	.breadcrumb,
	.cta-box,
	.map-embed,
	.site-footer__copy {
		display: none !important;
	}

	.site-footer {
		background: none;
		color: var(--ink);
	}
}
