/* ---------- ヘッダー ---------- */

.fp-header {
	position: relative;
	z-index: 1000;
	width: 100%;
	background: rgba(255, 255, 255, .98);
	border-bottom: 1px solid #e8f2fa;
}

.fp-header-inner,
.fp-hero-inner {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.fp-header-inner {
	padding-left: 5%;
	padding-right: 5%;
}

.fp-hero-inner {
	padding-left: 5%;
	padding-right: 5%;
}

.fp-hero-copy {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.fp-search {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}


/* ロゴ */

.fp-logo {
	flex: 1;
	min-width: 0;
}

.fp-logo a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.fp-logo-icon {
	width: 42px;
	height: 42px;
	object-fit: contain;
	flex-shrink: 0;
}

.fp-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
	white-space: nowrap;
}

.fp-logo-text strong {
	color: var(--fp-navy);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -.04em;
}

.fp-logo-text small {
	color: #56718b;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: .02em;
}


/* ナビゲーション */

.fp-nav {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	max-height: 0;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 10px 20px rgba(15, 75, 120, .1);
	transition: max-height .35s ease;
}

.fp-nav.is-open {
	max-height: 420px;
}

.fp-nav-list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 10px 5%;
	list-style: none;
}

.fp-nav-list li {
	border-bottom: 1px solid #e8f2fa;
}

.fp-nav-list li:last-child {
	border-bottom: 0;
}

.fp-nav-list a {
	display: block;
	padding: 12px 8px;
	color: var(--fp-navy);
	font-size: 14px;
	font-weight: 700;
}

.fp-nav-list a:hover {
	color: var(--fp-blue);
	background: #f5fbff;
}

.fp-menu-toggle {
	display: flex;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	margin-left: auto;
	margin-right: 0;
}

/* お問い合わせ */

.fp-header-contact {
	display: none;
}

.fp-header-contact a {
	display: inline-flex;
	width: auto;
	min-width: 138px;
	max-width: max-content;
	min-height: 42px;
	padding: 0 18px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	white-space: nowrap;
	border-radius: 8px;
	color: #fff;
	background: linear-gradient(135deg, #1599df, #0067b6);
	font-size: 13px;
	font-weight: 700;
}

/* ハンバーガー */

.fp-menu-toggle {
	position: relative;
	width: 40px;
	height: 40px;
	padding: 9px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex-shrink: 0;
	border: 0;
	border-radius: 8px;
	background: var(--fp-blue);
}

.fp-menu-toggle span {
	display: block;
	width: 21px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: transform .3s ease, opacity .3s ease;
}

.fp-menu-toggle.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.fp-menu-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.fp-menu-toggle.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}


/* ---------- メインビジュアル ---------- */

.fp-hero {
	position: relative;
	min-height: 300px;
	overflow: hidden;
	background: #d9f0ff;
}

.fp-hero-bg {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(90deg,
			rgba(255, 255, 255, 0.548) 0%,
			rgba(255, 255, 255, 0.281) 58%,
			rgba(255, 255, 255, 0) 100%),
		url("../img/main-visual.webp");
	background-size: cover;
	background-position: 57% center;
}

.fp-hero-inner {
	position: relative;
	z-index: 1;
	min-height: 300px;
	padding: 35px 5% 25px;
	display: flex;
	flex-direction: column;
}


/* キャッチコピー */

.fp-hero-copy {
	max-width: 100%;
}

.fp-hero-sub {
	margin: 0 0 5px;
	color: var(--fp-navy);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .05em;
}

.fp-hero-copy h1 {
	margin: 0;
	color: #0868ad;
	font-size: clamp(30px, 8vw, 43px);
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: -.055em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}

.fp-hero-description {
	margin: 12px 0 0;
	color: #263d51;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.8;
}

.fp-hero-handwriting {
	margin: 16px 0 0 8px;
	color: #1684c8;
	font-size: 15px;
	font-weight: 600;
	font-style: italic;
	line-height: 1.6;
	letter-spacing: .06em;
	transform: rotate(-4deg);
}


/* 右上メッセージ */

.fp-hero-message {
	font-family:
		"Noto Sans JP",
		sans-serif;
	display: none;
}


/* ---------- 検索フォーム ---------- */

.fp-search {
	width: 100%;
	margin-top: auto;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, .8);
	border-radius: 13px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 5px 20px rgba(22, 94, 145, .13);
	backdrop-filter: blur(8px);
}

.fp-search form {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fp-search-item {
	min-width: 0;
	height: 46px;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 0 12px;
	border: 1px solid #e1edf7;
	border-radius: 7px;
	background: #fff;
}

.fp-search-icon {
	color: var(--fp-blue);
	font-size: 23px;
	font-weight: 700;
	line-height: 1;
}

.fp-search-item select {
	width: 100%;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: none;
	color: #354a5e;
	background: transparent;
	font-size: 13px;
	font-weight: 600;
}

.fp-search-button {
	width: 100%;
	min-height: 47px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 0;
	border-radius: 7px;
	color: #fff;
	background: linear-gradient(135deg, #168fdb, #0065b5);
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 3px 8px rgba(0, 99, 177, .18);
}

.fp-search-button span {
	font-size: 21px;
}

.fp-search-button:hover {
	opacity: .85;
}

/* ==================================================
   FOOTER
================================================== */

.fp-footer {
	position: relative;
	width: 100%;
	background: #dff2fc;
}


/* ==================================================
   フッターメイン
================================================== */

.fp-footer-main {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 30px 5% 25px;
}


/* ==================================================
   ロゴ
================================================== */

.fp-footer-logo {
	margin-bottom: 25px;
	text-align: center;
}

.fp-footer-logo a {
	display: inline-flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
	text-align: left;
}

.fp-footer-logo img {
	display: block;
	width: auto;
	height: 58px;
	margin-right: 10px;
}

.fp-footer-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	white-space: nowrap;
}

.fp-footer-logo-text strong {
	color: #07528a;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .04em;
}

.fp-footer-logo-text small {
	margin-top: 5px;
	color: #3c7192;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .05em;
}


/* ==================================================
   フッターナビ
================================================== */

.fp-footer-nav {
	position: relative;
	z-index: 3;
	width: 100%;
}

.fp-footer-nav-list {
	display: flex !important;
	flex-direction: column !important;

	width: 100%;
	margin: 0;
	padding: 0;

	list-style: none;
}

.fp-footer-nav-list li {
	display: block !important;
	width: 100% !important;

	margin: 0;
	padding: 0;

	border-top: 1px solid rgba(29, 115, 183, .18);
}

.fp-footer-nav-list li:last-child {
	border-bottom: 1px solid rgba(29, 115, 183, .18);
}

.fp-footer-nav-list a {
	display: block;
	width: 100%;
	padding: 12px 10px;

	color: #174d76;

	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;

	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.fp-footer-nav-list a:hover {
	color: #006eb8;
	background: rgba(255, 255, 255, .45);
}


/* ==================================================
   右側ビジュアル
   スマホでは非表示
================================================== */

.fp-footer-visual {
	display: none;
}


/* ==================================================
   コピーライト
================================================== */

.fp-footer-bottom {
	position: relative;
	z-index: 10;

	width: 100%;
	padding: 12px 5%;

	background: #c9e8f8;

	text-align: center;
}

.fp-footer-bottom p {
	margin: 0;

	color: #55758b;
	font-size: 10px;
	line-height: 1.6;
}

/* =========================================================
   ページタイトル
========================================================= */

.estate_h1 {
	position: relative;
	width: 92%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 55px 0 18px 18px;

	color: #173f5f;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.4;

	border-bottom: 1px solid #d8e7ef;
}

/* 左側のアクセントライン */
.estate_h1::before {
	content: "";
	position: absolute;
	left: 0;
	top: 57px;
	width: 5px;
	height: 32px;

	background: linear-gradient(180deg,
			#4aa9d8 0%,
			#8ccce8 100%);

	border-radius: 3px;
}

/* 下の短いブルーライン */
.estate_h1::after {
	content: "";
	position: absolute;
	left: 18px;
	bottom: -1px;
	width: 65px;
	height: 3px;

	background: #4aa9d8;
	border-radius: 2px;
}
/*wp-pagenavi base*/
.wp-pagenavi {
	clear: both;
	text-align:center;

}
.wp-pagenavi a, .wp-pagenavi span {
	color: #999;
	background-color: #FFF;
	border: solid 1px #e0e0d2;
	padding: 8px 15px;
	margin: 0 2px;
	white-space: nowrap;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	text-align: center;
	text-decoration:none;
}
.wp-pagenavi a:hover{
    color:#FFF; 
    background-color:#999; 
    border-color:#999;
    }
.wp-pagenavi span.current{
	color: #FFF;
	background-color: #66cccc;
	border-color: #66cccc;
	font-weight: bold;
    }
/* ==================================================
   03. タブレット
   768px ～ 1099px
================================================== */

@media screen and (min-width: 768px) {


	/* ---------- ヘッダー ---------- */

	.fp-header-inner {
		display: flex;
		align-items: center;
		width: 100%;
		max-width: 1200px;
		padding-left: 30px;
		padding-right: 30px;
	}

	.fp-hero-inner {
		width: 100%;
		max-width: 1200px;
		padding-left: 40px;
		padding-right: 40px;
	}

	.fp-hero-copy {
		width: 100%;
		max-width: 700px;
		margin-left: 0;
		margin-right: auto;
	}

	.fp-search {
		width: 100%;
		max-width: 1000px;
		margin-left: auto;
		margin-right: auto;
	}

	.fp-logo {
		flex: 0 0 auto;
	}

	.fp-logo-icon {
		width: 48px;
		height: 48px;
	}

	.fp-logo-text strong {
		font-size: 17px;
	}

	.fp-logo-text small {
		font-size: 10px;
	}


	/* ナビ */

	.fp-nav {
		position: static;
		flex: 1;
		width: auto;
		max-height: none;
		overflow: visible;
		background: transparent;
		box-shadow: none;
	}

	.fp-nav-list {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 13px;
		padding: 0;
	}

	.fp-nav-list li {
		border: 0;
	}

	.fp-nav-list a {
		padding: 8px 2px;
		font-size: 12px;
		white-space: nowrap;
	}


	/* お問い合わせ */

	.fp-header-contact {
		display: block;
		flex-shrink: 0;
	}

	.fp-header-contact a {
		min-height: 42px;
		padding: 0 13px;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 7px;
		border-radius: 8px;
		color: #fff;
		background: linear-gradient(135deg, #1599df, #0067b6);
		font-size: 12px;
		font-weight: 700;
		white-space: nowrap;
	}

	.fp-mail-icon {
		font-size: 16px;
	}

	.fp-menu-toggle {
		display: none;
	}


	/* ---------- メインビジュアル ---------- */

	.fp-hero {
		min-height: 300px;
	}

	.fp-hero-bg {
		background-position: center 53%;
	}

	.fp-hero-inner {
		min-height: 300px;
		padding: 40px 5% 22px;
	}

	.fp-hero-copy {
		max-width: 65%;
	}

	.fp-hero-sub {
		font-size: 17px;
	}

	.fp-hero-copy h1 {
		font-size: clamp(42px, 6vw, 61px);
	}

	.fp-hero-description {
		font-size: 14px;
	}

	.fp-hero-handwriting {
		font-size: 16px;
	}

	.fp-hero-message {
		position: absolute;
		top: 34px;
		right: 5%;
		display: block;
		color: #fff;
		font-size: 17px;
		font-weight: 700;
		line-height: 1.8;
		text-align: center;
		text-shadow: 0 1px 5px rgb(0, 64, 110);
		letter-spacing: .08em;
	}



	/* 検索フォーム */

	.fp-search {
		max-width: 850px;
		margin: auto auto 0;
		padding: 9px;
	}

	.fp-search form {
		flex-direction: row;
		align-items: stretch;
		gap: 9px;
	}

	.fp-search-item {
		flex: 1;
		height: 48px;
	}

	.fp-search-button {
		flex: 1;
		min-height: 48px;
		font-size: 13px;
	}

	/* -----------------------------
	   フッター
	----------------------------- */

	.fp-footer {
		position: relative;
		width: 100%;
		background: #dff2fc;
	}


	/* -----------------------------
	   メイン
	----------------------------- */

	.fp-footer-main {
		position: relative;

		display: flex;
		align-items: center;

		width: 100%;
		min-height: 130px;

		margin: 0;
		padding: 20px 30px;

		overflow: hidden;
	}


	/* -----------------------------
	   ロゴ
	----------------------------- */

	.fp-footer-logo {
		position: relative;
		z-index: 3;

		flex: 0 0 auto;

		margin-right: 30px;
		margin-bottom: 0;
	}

	.fp-footer-logo a {
		display: flex;
		align-items: center;
	}

	.fp-footer-logo img {
		height: 62px;
		margin-right: 10px;
	}

	.fp-footer-logo-text strong {
		font-size: 20px;
	}

	.fp-footer-logo-text small {
		font-size: 10px;
	}


	/* -----------------------------
	   ナビ
	----------------------------- */

	.fp-footer-nav {
		position: relative;
		z-index: 3;

		flex: 1;
		min-width: 0;
	}

	.fp-footer-nav-list {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;

		align-items: center;
		justify-content: center;

		width: auto;
	}

	.fp-footer-nav-list li {
		display: block !important;
		width: auto !important;
		border: 0;
	}

	.fp-footer-nav-list a {
		width: auto;
		padding: 10px;
		font-size: 13px;
	}


	/* -----------------------------
	   右側ビジュアル
	----------------------------- */

	.fp-footer-visual {
		display: block;

		position: absolute;

		right: 0;
		bottom: 0;

		width: 360px;
		height: 130px;

		z-index: 1;

		pointer-events: none;
	}

	.fp-footer-visual img {
		display: block;

		width: 100%;
		height: 100%;

		max-width: none;

		margin: 0;
		padding: 0;

		object-fit: cover;
		object-position: right center;

		opacity: .9;
	}


	/* -----------------------------
	   コピーライト
	----------------------------- */

	.fp-footer-bottom {
		position: relative;
		z-index: 10;

		width: 100%;
		padding: 12px 5%;

		background: #c9e8f8;
		text-align: center;
	}

	/* =========================================================
   ページタイトル
========================================================= */
	.estate_h1 {
		width: 90%;
		padding: 65px 0 20px 22px;
		font-size: 1.2rem;
	}

	.estate_h1::before {
		top: 67px;
		width: 5px;
		height: 36px;
	}

	.estate_h1::after {
		left: 22px;
		width: 75px;
	}

}


/* ==================================================
   04. PC
   960px以上
================================================== */

@media screen and (min-width: 960px) {


	/* ---------- 共通幅 ---------- */

	.fp-header-inner {
		width: 100%;
		max-width: 1400px;
		margin-left: auto;
		margin-right: auto;
		padding-left: 35px;
		padding-right: 35px;
	}

	.fp-hero-inner {
		width: 100%;
		max-width: 1400px;
		margin-left: auto;
		margin-right: auto;
		padding-left: 65px;
		padding-right: 65px;
	}

	.fp-hero-copy {
		max-width: 700px;
		margin-left: 0;
		margin-right: auto;
	}

	.fp-search {
		width: 100%;
		max-width: 1180px;
		margin-left: auto;
		margin-right: auto;
	}


	/* ---------- ヘッダー ---------- */

	.fp-logo-icon {
		width: 50px;
		height: 50px;
	}

	.fp-logo-text strong {
		font-size: 19px;
		letter-spacing: -.04em;
	}

	.fp-logo-text small {
		font-size: 10px;
	}

	.fp-nav-list {
		gap: clamp(20px, 2.3vw, 38px);
	}

	.fp-nav-list a {
		position: relative;
		padding: 10px 0;
		font-size: 13px;
		font-weight: 700;
	}

	.fp-nav-list a::after {
		content: "";
		position: absolute;
		right: 0;
		bottom: 3px;
		left: 0;
		height: 2px;
		background: var(--fp-blue);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .3s ease;
	}

	.fp-nav-list a:hover::after {
		transform: scaleX(1);
	}

	.fp-header-contact a {
		min-width: 138px;
		min-height: 42px;
		padding: 0 17px;
		font-size: 13px;
	}


	/* ---------- メインビジュアル ---------- */

	.fp-hero {
		min-height: 300px;
	}

	.fp-hero-bg {
		background-position: center 55%;
	}

	.fp-hero-inner {
		min-height: 300px;
		padding: 25px 7% 20px;
	}

	.fp-hero-copy {
		max-width: 650px;
	}

	.fp-hero-sub {
		margin-bottom: 3px;
		font-size: 19px;
		letter-spacing: .06em;
	}

	.fp-hero-copy h1 {
		font-size: clamp(54px, 5.2vw, 68px);
		letter-spacing: -.06em;
	}

	.fp-hero-description {
		margin-top: 5px;
		font-size: 15px;
		line-height: 1.65;
	}

	.fp-hero-handwriting {
		margin-top: 13px;
		margin-left: 10px;
		font-size: 17px;
	}

	.fp-hero-message {
		top: 25px;
		right: 8%;
		font-size: 17px;
		letter-spacing: .1em;
	}


	/* ---------- 物件検索 ---------- */

	.fp-search {
		width: 100%;
		max-width: 100%;
		margin-top: auto;
		padding: 9px;
		border-radius: 12px;
	}

	.fp-search form {
		gap: 10px;
	}

	.fp-search-item {
		height: 47px;
		padding: 0 13px;
	}

	.fp-search-item select {
		font-size: 13px;
	}

	.fp-search-button {
		flex: 1;
		min-height: 47px;
		font-size: 14px;
	}

	/* ---------- footer ---------- */
	/* -----------------------------
	   メイン
	----------------------------- */

	.fp-footer-main {
		min-height: 140px;

		padding: 20px 35px;

		/*
		 * ここが重要
		 * 画像をコピーライトの領域へ
		 * はみ出させない
		 */
		overflow: hidden;
	}


	/* -----------------------------
	   ロゴ
	----------------------------- */

	.fp-footer-logo {
		margin-right: 40px;
	}

	.fp-footer-logo img {
		height: 65px;
		margin-right: 11px;
	}

	.fp-footer-logo-text strong {
		font-size: 22px;
	}

	.fp-footer-logo-text small {
		font-size: 11px;
	}


	/* -----------------------------
	   ナビ
	----------------------------- */

	.fp-footer-nav-list {
		justify-content: flex-start;
	}

	.fp-footer-nav-list a {
		padding: 10px 17px;
		font-size: 14px;
	}


	/* -----------------------------
	   右側ビジュアル
	----------------------------- */

	.fp-footer-visual {
		display: block;

		position: absolute;

		/*
		 * .fp-footer-mainの右端に配置
		 */
		right: 0;
		bottom: 0;

		width: 520px;
		height: 140px;

		z-index: 1;

		pointer-events: none;
	}

	.fp-footer-visual img {
		display: block;

		width: 100%;
		height: 100%;

		max-width: none;

		margin: 0;
		padding: 0;

		object-fit: cover;
		object-position: right center;

		opacity: .9;
	}


	/* -----------------------------
	   コピーライト
	----------------------------- */

	.fp-footer-bottom {
		position: relative;
		z-index: 10;

		width: 100%;
		padding: 10px 5%;

		background: #c9e8f8;
		text-align: center;
	}

	.fp-footer-bottom p {
		font-size: 11px;
		line-height: 1.6;
	}

	/* =========================================================
   ページタイトル
========================================================= */

	.estate_h1 {
		width: 90%;
		max-width: 1180px;
		padding: 75px 0 22px 25px;
		font-size: 1.2rem;
		letter-spacing: .15em;
	}

	.estate_h1::before {
		top: 77px;
		width: 6px;
		height: 42px;
	}

	.estate_h1::after {
		left: 25px;
		width: 90px;
		height: 3px;
	}
}


/* ==================================================
   05. 大型PC
   1440px以上
================================================== */

@media screen and (min-width: 1440px) {

	.fp-hero {
		min-height: 390px;
	}

	.fp-hero-inner {
		min-height: 390px;
		padding-top: 32px;
	}

	.fp-hero-copy h1 {
		font-size: 72px;
	}

	.fp-hero-message {
		right: 10%;
		font-size: 19px;
	}

	.fp-search {
		max-width: 1180px;
	}

}


/* ==================================================
   06. アクセシビリティ
================================================== */

.fp-nav a:focus-visible,
.fp-header-contact a:focus-visible,
.fp-menu-toggle:focus-visible,
.fp-search-button:focus-visible,
.fp-search-item select:focus-visible {
	outline: 3px solid #f3b83d;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}

	.fp-footer-main {
		min-height: 150px;
	}

	.fp-footer-visual {
		width: 560px;
		height: 150px;
	}

}