/* =========================================================
   Zero Eight Original Theme - Main Stylesheet
   ========================================================= */

:root {
	--color-teal: #7fada5;
	--color-teal-dark: #5c8f88;
	--color-teal-deep: #527d76;
	--color-pink: #c595c5;
	--color-blue-gray: #6e8bad;
	--color-pale-blue: #e8f6fd;
	--color-pale-blue-2: #dcf1fb;
	--color-cream: #fbfaf7;
	--color-text: #4a4a4a;
	--color-heading: #333333;
	--color-white: #ffffff;
	--font-jp: 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
	--font-script: 'Mrs Saint Delafield', cursive;
	--container-width: 1100px;
	--radius-md: 6px;
	--radius-lg: 40px;
	--transition: 0.25s ease;
}

/* ----- Reset & base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-jp);
	color: var(--color-text);
	background: var(--color-cream);
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	/* 日本語の改行を自然にする：行頭に「、。」や小さい「っ・ゃ」を置かない／文節で改行（対応ブラウザのみ） */
	line-break: strict;
	overflow-wrap: break-word;
	word-break: auto-phrase;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--color-heading); font-weight: 700; }
h2, h3 { color: #6f8bad; }
p { margin: 0 0 1em; font-size: 1rem; }
/* 見出しは行の長さをそろえ、文章は最後の行に1〜2文字だけ残らないようにする */
h1, h2, h3, h4, .section-heading, .page-title { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
/* 途中で改行させたくない言葉に使う */
.nw { display: inline-block; white-space: nowrap; }
button { font-family: inherit; cursor: pointer; }

.screen-reader-text {
	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.screen-reader-text {
	z-index: 100000;
}
.skip-link.screen-reader-text:focus {
	position: fixed !important;
	top: 0; left: 0;
	width: auto; height: auto;
	padding: 12px 20px;
	background: var(--color-teal-dark);
	color: #fff;
	clip: auto;
}

.script-label {
	display: block;
	font-family: 'Zapfino', 'Brush Script MT', var(--font-script), cursive;
	font-size: 2.6rem;
	line-height: 1;
	color: var(--color-white);
	font-weight: 400;
}

.section-heading {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	font-size: 1.5rem;
	letter-spacing: 0.05em;
}
.section-heading::after {
	content: "";
	display: inline-block;
	width: 60px;
	height: 1px;
	background: currentColor;
	opacity: 0.5;
}
.section-heading--on-photo {
	color: var(--color-heading);
}

/* ----- Buttons ----- */
.btn {
	display: inline-block;
	padding: 14px 60px;
	background: var(--color-teal);
	color: #fff;
	font-size: 0.9rem;
	letter-spacing: 0.1em;
	border-radius: 2px;
	transition: background var(--transition), transform var(--transition);
}
.btn:hover { background: var(--color-teal-dark); transform: translateY(-2px); }
/* スマホ幅では左右の余白を詰め、長めの文言でも1文字だけ折り返さないようにする */
@media (max-width: 599px) {
	.btn { padding: 14px 28px; max-width: 100%; text-align: center; line-height: 1.7; }
}
.btn--light { background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.7); }
.btn--light:hover { background: rgba(255,255,255,0.32); }
.btn--outline { background: transparent; border: 1px solid var(--color-teal); color: var(--color-teal-dark); }
.btn--outline:hover { background: var(--color-teal); color: #fff; }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	padding: 20px 5%;
	transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-header.is-scrolled,
body:not(.is-front-page) .site-header {
	background: var(--color-white);
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	padding: 12px 5%;
}
body:not(.is-front-page) { padding-top: 84px; }
.site-header.is-scrolled .site-branding,
.site-header.is-scrolled .primary-menu a,
.site-header.is-scrolled .menu-toggle__bar {
	color: var(--color-heading);
}
.site-header.is-scrolled .menu-toggle__bar { background: var(--color-heading); }
.site-header__inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.site-branding { color: var(--color-white); }
body:not(.is-front-page) .site-branding { color: var(--color-heading); }
.site-branding__logo {
	font-family: var(--font-script);
	font-size: 1.8rem;
	display: inline-block;
}
.site-branding__tagline {
	margin: 2px 0 0;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	text-align: center;
}
@media (max-width: 899px) {
	.site-branding {
		display: flex;
		align-items: center;
		gap: 10px;
	}
	.site-branding__tagline {
		margin: 0;
		font-size: 0.6rem;
		line-height: 1.4;
		text-align: left;
		white-space: nowrap;
	}
}
.custom-logo-link img { max-height: 60px; width: auto; }
/* 白抜きロゴ（仮ロゴ）：CSS maskで塗りつぶし色を差し替えられるようにする。
   通常時は白、スクロール後・下層ページの白背景ヘッダーでは指定色に切り替え。 */
.site-branding__logo-mask {
	display: inline-block;
	height: 60px;
	width: auto;
	aspect-ratio: 266 / 156;
	max-width: 100%;
	background-color: #fff;
	-webkit-mask-image: var(--logo-mask-image);
	mask-image: var(--logo-mask-image);
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: left center;
	mask-position: left center;
	transition: background-color var(--transition);
}
.site-header.is-scrolled .site-branding__logo-mask,
body:not(.is-front-page) .site-branding__logo-mask {
	background-color: #8bbcbb;
}

.menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 34px; height: 34px;
	background: transparent;
	border: 0;
	padding: 0;
	z-index: 60;
}
.menu-toggle__bar {
	display: block;
	height: 2px;
	background: var(--color-white);
	transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
body:not(.is-front-page) .menu-toggle__bar { background: var(--color-heading); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* メニュー項目が多いため、PC・モバイル共通で常にハンバーガーメニュー（全画面オーバーレイ）にする */
.main-navigation {
	position: fixed;
	inset: 0;
	background: var(--color-teal-dark);
	display: none;
	align-items: center;
	justify-content: center;
	transform: translateX(100%);
	transition: transform var(--transition);
	z-index: 55;
}
.main-navigation.is-open { display: flex; transform: translateX(0); }
.primary-menu {
	display: flex;
	flex-direction: column;
	text-align: center;
	gap: 24px;
}
.primary-menu a {
	color: var(--color-white);
	font-size: 0.9rem;
	letter-spacing: 0.05em;
}
body:not(.is-front-page) .primary-menu a { color: var(--color-heading); }
.main-navigation .primary-menu a { font-size: 1.2rem; }
.site-header .main-navigation.is-open .primary-menu a,
.site-header.is-scrolled .main-navigation.is-open .primary-menu a {
	color: #fff;
}
/* =========================================================
   ヒーロー（3枚スライド）
   ========================================================= */
.hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.hero__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding-bottom: 9%;
	opacity: 0;
	pointer-events: none;
	transition: opacity 2.2s ease-in-out;
	z-index: 0;
}
.hero__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}
.hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.hero__media img {
	width: 100%; height: 100%; object-fit: cover;
	animation: zeroeightKenBurns 16s ease-in-out infinite alternate;
}
@keyframes zeroeightKenBurns {
	from { transform: scale(1); }
	to   { transform: scale(1.1); }
}
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.1));
}
.hero__card {
	position: relative;
	z-index: 1;
	overflow: visible;
	margin-left: 7%;
	width: 100%;
	max-width: 480px;
	padding: 10px 40px 30px;
	background: rgba(127, 173, 165, 0.82);
	color: #fff;
	/* カードの背後に薄い白の板をずらして重ねる（box-shadowは常に本体の背面に描画されるので、
	   テキストの前に出てしまう心配がない） */
	box-shadow: 14px 14px 0 0 rgba(255, 255, 255, 0.25);
}
.hero__card--teal { background: rgba(127, 173, 165, 0.82); }
.hero__card--pink { background: rgba(197, 149, 197, 0.82); }
.hero__card--blue-gray { background: rgba(110, 139, 173, 0.82); }
.hero__card .script-label {
	position: absolute;
	top: 10px;
	left: 34px;
	padding: 10px 40px 30px;
	transform-origin: left bottom;
	transform: rotate(-9deg);
	font-family: 'Zapfino', 'Brush Script MT', var(--font-script), cursive;
	font-size: 2.5rem;
	line-height: 1;
	white-space: nowrap;
	text-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
	pointer-events: none;
}
.hero__title {
	font-size: 1.9rem;
	color: #fff;
	margin: 30px 0 8px;
	text-align: center;
}
.hero__text { font-size: 1rem; margin-bottom: 18px; opacity: 0.95; text-align: center; }
.hero__card .btn--light {
	display: block;
	width: 100%;
	text-align: center;
	background: rgba(255, 255, 255, 0.88);
	border: 0;
	color: var(--color-heading);
}
.hero__card .btn--light:hover { background: #fff; }

.hero__dots {
	position: absolute;
	left: 5%;
	bottom: 28px;
	z-index: 2;
	display: flex;
	gap: 10px;
}
.hero__dot {
	width: 9px; height: 9px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.8);
	background: transparent;
	padding: 0;
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
}
.hero__dot.is-active { background: #fff; transform: scale(1.15); }

/* スクロール／表示時にふわっと現れる演出 */
.js-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.9s ease, transform 0.9s ease;
}
.js-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js-reveal { opacity: 1; transform: none; transition: none; }
	.hero__slide { transition: none; }
	.hero__media img { animation: none; }
}

/* =========================================================
   About
   ========================================================= */
.about {
	max-width: var(--container-width);
	margin: 130px auto;
	padding: 0 5%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}
.about__subheading { font-size: 1.15rem; margin: 24px 0 16px; }
.about__body p { font-size: 1rem; }
.about__media {
	position: relative;
	/* 写真の背後に淡いブルーの板を左上にずらして重ねる（box-shadowは常に背面描画） */
	box-shadow: -110px -110px 0 -80px var(--color-pale-blue);
}
.about__media .script-label {
	position: absolute;
	top: -34px; left: -6px;
	color: #fff;
	font-size: 3.1rem;
	line-height: 1.7;
	text-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
	transform-origin: left bottom;
	transform: rotate(-9deg);
	z-index: 1;
}
.about__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 899px) {
	/* モバイルは画像の上に文字がはみ出すと上の「詳しくはこちら」ボタンと重なるため、画像内に収める */
	.about__media { margin-top: 26px; }
	.about__media .script-label { top: 16px; left: 16px; font-size: 2.4rem; }
}

@media (min-width: 900px) {
	.about { grid-template-columns: 1fr 1fr; gap: 80px; }
	/* 画像を右端の余白なしで画面端いっぱいまで広げる */
	.about__media { margin-right: calc(50% - 50vw); }
}

/* =========================================================
   購入・売却・リノベーション
   ========================================================= */
.services__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px;
}
.service-card {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: visible;
}
.service-card__media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__overlay {
	position: absolute;
	left: 50%; bottom: -20px;
	transform: translateX(-50%);
	width: 75%;
	z-index: 1;
	min-height: 21%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 15px 20px;
	color: #fff;
}
.service-card__overlay h3 { font-size: 1.9rem; margin: 6px 0 10px; color: #fff; }
.service-card__overlay p { font-size: 1rem; margin: 0; opacity: 0.95; }
.service-card.is-buy .service-card__overlay { background: var(--color-teal); }
.service-card.is-sell .service-card__overlay { background: var(--color-pink); }
.service-card.is-reno .service-card__overlay { background: var(--color-blue-gray); }
.service-card__overlay .script-label {
	position: absolute;
	top: -20px; left: 22px;
	font-size: 3.1rem;
	transform-origin: left bottom;
	transform: rotate(-9deg);
	text-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
	pointer-events: none;
}
.service-card__link { position: absolute; inset: 0; z-index: 2; }

@media (max-width: 899px) {
	.service-card__overlay .script-label { font-size: 2.4rem; }
}

@media (min-width: 900px) {
	.services__grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   スタッフ紹介
   ========================================================= */
.staff {
	max-width: 1300px;
	margin: 140px auto;
	padding: 0 5%;
}
.staff__card {
	position: relative;
	background: linear-gradient(to top, #e4fdf8 0%, #dafafc 50%, #d8f2fd 100%);
	border-radius: var(--radius-lg);
	padding: 60px 40px;
	overflow: visible;
}
.staff__card .script-label {
	display: inline-block;
	color: rgba(127,173,165,0.55);
	font-size: 2.4rem;
	margin-bottom: 6px;
	transform-origin: left bottom;
	transform: rotate(-9deg);
}
.staff__subheading { font-size: 1.1rem; margin: 20px 0 14px; }
.staff__body p { font-size: 1rem; max-width: 520px; }
.staff__photo-wrap {
	position: relative;
	margin: 32px auto 0;
	max-width: 360px;
}
.staff__photo-deco {
	position: absolute;
	z-index: 0;
	left: -14%;
	bottom: -10%;
	width: 68%;
	height: 68%;
	border-radius: 50%;
	background: rgba(127, 173, 165, 0.45);
}
.staff__photo {
	position: relative;
	z-index: 1;
	border-radius: 50%;
	overflow: hidden;
	aspect-ratio: 1/1;
}
.staff__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
	.staff__card {
		/* 背景を画面左端いっぱいまで伸ばす（右端は.staffのpaddingどおり） */
		margin-left: calc(50% - 50vw);
		padding: 70px 90px 70px calc(90px + (50vw - 50%));
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
	}
	.staff__photo-wrap { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); margin-top: 0; }
	.staff__body p { max-width: 460px; }
}

/* =========================================================
   サービスの流れ（フロントページ）
   ========================================================= */
.flow {
	position: relative;
	padding: 120px 5%;
	overflow: hidden;
}
.flow__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: var(--color-pale-blue-2);
	background-size: cover;
	background-position: center;
}
.flow__inner { position: relative; z-index: 1; }
.flow__media { position: relative; margin-bottom: 40px; box-shadow: 110px 110px 0 -80px rgba(121, 208, 247, 0.17); }
.flow__media img { border-radius: var(--radius-md); }
.flow__media .script-label {
	position: absolute;
	top: -34px; left: -6px;
	color: #fff;
	font-size: 3.1rem;
	line-height: 1.7;
	text-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
	transform-origin: left bottom;
	transform: rotate(-9deg);
	z-index: 1;
}
.flow__text { max-width: var(--container-width); margin: 0 auto; }
.flow__body p { font-size: 1rem; }

@media (max-width: 899px) {
	.flow__media .script-label { font-size: 2.4rem; }
}

@media (min-width: 900px) {
	/* 画像を画面の左端いっぱいまで表示するため、セクションの左右パディングを外してグリッドで組む */
	.flow { padding: 130px 0; }
	.flow__inner {
		display: grid;
		grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
		align-items: stretch;
		gap: 70px;
	}
	.flow__media { margin-bottom: 0; box-shadow: none; }
	.flow__media img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 0 var(--radius-md) var(--radius-md) 0;
	}
	.flow__media .script-label { left: 24px; }
	/* 画像は上下いっぱいに伸ばしつつ、テキストは画像の縦中央に来るように内部で中央寄せする */
	.flow__text { max-width: 560px; padding-right: 5%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
}

/* =========================================================
   サービスの流れページ（専用ページ／page-flow.php）
   ========================================================= */
.journey { position: relative; padding: 120px 5%; background: var(--color-cream); }

.journey-steps { max-width: 760px; margin: 0 auto; }
.journey-steps__list { position: relative; }
.journey-steps__list::before {
	content: "";
	position: absolute;
	left: 43px;
	top: 50px;
	bottom: 50px;
	width: 2px;
	background: var(--color-pink);
	opacity: 0.35;
}
.journey-step { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 24px; align-items: start; padding-bottom: 40px; }
.journey-step:last-child { padding-bottom: 0; }
.journey-step__badge {
	position: relative;
	z-index: 1;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: var(--color-pink);
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.journey-step__badge-label { font-family: var(--font-script); font-size: 1.05rem; line-height: 1; margin-bottom: 2px; }
.journey-step__badge-num { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.journey-step__card {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 26px 28px;
	margin-top: 6px;
	box-shadow: 8px 8px 0 0 rgba(197, 149, 197, 0.15);
}
.journey-step__title { font-size: 1.3rem; font-weight: 700; color: var(--color-heading); margin: 0 0 8px; }
.journey-step__text { font-size: 1rem; line-height: 1.9; color: var(--color-text); margin: 0; }

@media (max-width: 480px) {
	.journey-step { grid-template-columns: 64px 1fr; gap: 16px; }
	.journey-step__badge { width: 64px; height: 64px; }
	.journey-step__badge-label { font-size: 0.85rem; }
	.journey-step__badge-num { font-size: 1.25rem; }
	.journey-steps__list::before { left: 31px; }
	.journey-step__card { padding: 20px; }
}

/* =========================================================
   お知らせ・実績
   ========================================================= */
.news {
	position: relative;
	padding: 120px 5% 90px;
	text-align: center;
}
.news__bg {
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 420px;
	background-size: cover;
	background-position: center;
}
.news__intro { position: relative; z-index: 1; color: #fff; margin-bottom: 40px; padding-top: 40px; }
.news__intro .script-label {
	display: block;
	font-size: 3.1rem;
	margin-bottom: 28px;
	transform-origin: center bottom;
	transform: rotate(-9deg);
}
.news__intro .section-heading {
	color: #fff;
	font-size: 2rem;
	justify-content: center;
}
.news__intro .section-heading::after { content: none; }
@media (max-width: 899px) {
	.news__intro .script-label { font-size: 2.4rem; }
}
.news__grid {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto 40px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	text-align: left;
}
.news-card {
	background: #fff;
	box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}
.news-card__thumb { aspect-ratio: 4/3; overflow: hidden; }
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 18px 20px; }
.news-card__body h3 { font-size: 1rem; margin-bottom: 8px; }
.news-card__body p { font-size: 1rem; margin: 0; color: #777; }
.news-empty { position: relative; z-index: 1; background: #fff; padding: 30px; border-radius: var(--radius-md); }

@media (min-width: 700px) {
	.news__grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   お問い合わせ
   ========================================================= */
.contact {
	position: relative;
	padding: 130px 5%;
	text-align: center;
	overflow: hidden;
}
.contact__bg {
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center;
}
.contact__bg::after {
	content: "";
	position: absolute; inset: 0;
	background: rgba(105, 142, 150, 0.55);
}
.contact__inner { position: relative; z-index: 1; color: #fff; max-width: 900px; margin: 0 auto; }
.contact__inner .script-label {
	display: block;
	font-size: 3.1rem;
	margin-bottom: 28px;
	transform-origin: center bottom;
	transform: rotate(-9deg);
}
.contact__inner .section-heading {
	color: #fff;
	margin-bottom: 40px;
	font-size: 2rem;
	justify-content: center;
}
.contact__inner .section-heading::after { content: none; }
@media (max-width: 899px) {
	.contact__inner .script-label { font-size: 2.4rem; }
}
.contact__buttons {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	max-width: 640px;
	margin: 0 auto;
}
.contact-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 20px;
	font-size: 1rem;
	border-radius: 2px;
	transition: transform var(--transition);
}
.contact-btn:hover { transform: translateY(-2px); }
.contact-btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
}
.contact-btn--mail { background: rgba(127,173,165,0.9); color: #fff; }
.contact-btn--mail .contact-btn__icon { background: #fff; color: var(--color-teal); }
.contact-btn--tel { background: #fff; color: var(--color-blue-gray); flex-direction: column; gap: 2px; }
.contact-btn__number { font-size: 1.3rem; font-weight: 700; display: block; }
.contact-btn__hours { font-size: 0.75rem; color: #888; display: block; }
.contact-btn--tel .contact-btn__icon { background: var(--color-blue-gray); color: #fff; }

@media (min-width: 700px) {
	.contact__buttons { grid-template-columns: 1fr 1fr; }
	.contact-btn--tel { flex-direction: row; gap: 20px; padding: 20px 32px; }
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
	background: var(--color-teal);
	color: #fff;
	padding: 70px 5% 0;
}
.site-footer__inner {
	max-width: 1300px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	padding-bottom: 50px;
	border-bottom: 1px solid rgba(255,255,255,0.25);
}
.footer-brand__logo { display: inline-block; }
.footer-brand__logo--custom .custom-logo-link img { max-height: 48px; width: auto; }
.footer-brand__logo-mask {
	display: inline-block;
	height: 48px;
	width: auto;
	aspect-ratio: 266 / 156;
	max-width: 100%;
	background-color: #fff;
	-webkit-mask-image: var(--logo-mask-image);
	mask-image: var(--logo-mask-image);
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: left center;
	mask-position: left center;
}
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	transition: transform var(--transition), opacity var(--transition);
}
.footer-social__link:hover { transform: translateY(-2px); opacity: 0.85; }
.footer-social__link .zeroeight-social-svg { display: block; width: 36px; height: 36px; }
.footer-info p { font-size: 0.85rem; margin: 0 0 10px; }
.footer-info a { text-decoration: underline; }
.footer-nav__list { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 0.82rem; }
.site-footer__bottom { text-align: center; padding: 22px 0; font-size: 0.75rem; opacity: 0.9; }

/* モバイル用ボトムナビ（電話・LINE・Instagram） */
.mobile-bottom-nav { display: none; }
@media (max-width: 899px) {
	body { padding-bottom: 60px; }
	.mobile-bottom-nav {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 40;
		background: #fff;
		box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.12);
	}
	.mobile-bottom-nav__item {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		padding: 9px 4px 7px;
		font-size: 0.65rem;
		font-weight: 700;
		letter-spacing: 0.02em;
		color: var(--color-teal-deep);
		border-right: 1px solid #eee;
	}
	.mobile-bottom-nav__item:last-child { border-right: 0; }
	.mobile-bottom-nav__item .zeroeight-social-svg { display: block; width: 22px; height: 22px; }
}

@media (min-width: 900px) {
	.site-footer__inner { grid-template-columns: 1fr 1.6fr 1.6fr; }
}

/* =========================================================
   内部ページ（固定ページ・投稿・アーカイブ・404）共通
   ========================================================= */
.inner-page {
	max-width: 1000px;
	margin: 60px auto 120px;
	padding: 0 5%;
}
.page-title { font-size: 1.8rem; margin: 20px 0 30px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: 0.78rem; color: #888; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; }
.post-list__item { padding: 26px 0; border-bottom: 1px solid #eee; }
.post-list__link { display: flex; gap: 20px; align-items: flex-start; }
.post-list__thumb { flex: 0 0 160px; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-md); }
.post-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-list__title { font-size: 1.05rem; margin-bottom: 6px; }
.post-list__excerpt { font-size: 0.85rem; color: #777; margin-bottom: 6px; }
.post-list__date { font-size: 0.75rem; color: #999; }
.single-post__meta { color: #999; font-size: 0.8rem; }
.single-post__thumb { margin: 20px 0; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/9; }
.single-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.single-post__content { font-size: 1rem; line-height: 1.9; color: var(--color-text); }
.single-post__content img { border-radius: var(--radius-md); }
.single-post__content > *:first-child { margin-top: 0; }
.single-post__content p { margin: 0 0 1.6em; }
.single-post__content h2 {
	font-size: 1.4rem;
	color: var(--color-heading);
	margin: 48px 0 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--color-teal);
}
.single-post__content h3 {
	font-size: 1.15rem;
	color: var(--color-teal-dark);
	margin: 36px 0 16px;
}
.single-post__content h4 { font-size: 1rem; margin: 28px 0 12px; }
.single-post__content ul {
	list-style: disc;
	margin: 0 0 1.6em;
	padding-left: 1.3em;
}
.single-post__content ul li { margin-bottom: 10px; }
.single-post__content a:not(.btn) {
	color: var(--color-teal-dark);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color var(--transition);
}
.single-post__content a:not(.btn):hover { color: var(--color-teal); }
.single-post__content blockquote {
	margin: 28px 0;
	padding: 18px 24px;
	background: var(--color-cream);
	border-left: 4px solid var(--color-pink);
	color: #6a6a6a;
	font-style: italic;
}
.single-post__content blockquote p:last-child { margin-bottom: 0; }
.single-post__content figure { margin: 28px 0; }
.single-post__content figcaption { font-size: 0.78rem; color: #999; text-align: center; margin-top: 8px; }
.single-post__content hr { border: 0; border-top: 1px solid #eee; margin: 40px 0; }

/* ブロックエディターの「カラム」ブロック：サイトの余白のリズムに合わせる */
.single-post__content .wp-block-columns {
	gap: 40px;
	margin: 0 0 1.6em;
}
.single-post__content .wp-block-column > *:last-child { margin-bottom: 0; }
@media (max-width: 899px) {
	/* サイト全体のモバイル切り替え幅（899px）に合わせて、この幅より下では必ず縦積みにする */
	.single-post__content .wp-block-columns { flex-direction: column; }
	.single-post__content .wp-block-columns > .wp-block-column {
		width: 100% !important;
		flex-basis: 100% !important;
	}
}

.page-links {
	margin-top: 30px;
	font-size: 0.85rem;
	color: #888;
}
.page-links a {
	display: inline-block;
	margin-left: 6px;
	color: var(--color-teal-dark);
	text-decoration: underline;
}
.pagination { margin-top: 40px; }

/* お知らせ・実績ページ（index.php）：トップページの「お知らせ・実績」と同じカード見た目 */
.news-archive {
	max-width: 1200px;
	margin: 0 auto 120px;
	padding: 0 5%;
}
.news-archive__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
@media (min-width: 700px) {
	.news-archive__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
	.news-archive__grid { grid-template-columns: repeat(3, 1fr); }
}
.news-archive .pagination { margin-top: 40px; text-align: center; }
.news-card__date { display: block; font-size: 0.75rem; color: #999; margin-top: 8px; }

/* =========================================================
   お問い合わせページ（page-contact.php）
   ========================================================= */
.contact-quick {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 30px 0 40px;
}
.contact-quick .contact-btn--tel { border: 1px solid #e2e2e2; }
.contact-btn--line { background: #06C755; color: #fff; flex-direction: column; gap: 6px; text-align: center; }
.contact-btn--line .contact-btn__icon { background: #fff; width: 44px; height: 44px; }
.contact-btn--line .zeroeight-social-svg { width: 30px; height: 30px; display: block; }
.contact-btn__line-title { display: block; font-size: 1.1rem; font-weight: 700; }
.contact-btn__line-note { display: block; font-size: 0.78rem; opacity: 0.95; }
@media (min-width: 640px) {
	.contact-quick { grid-template-columns: 1fr 1fr; }
	.contact-quick .contact-btn--line,
	.contact__buttons .contact-btn--line { grid-column: 1 / -1; flex-direction: row; gap: 18px; text-align: left; padding: 22px 32px; }
}

.form-notice {
	padding: 16px 18px;
	border-radius: var(--radius-md);
	font-size: 0.88rem;
	margin-bottom: 24px;
}
.form-notice--success { background: #eaf5f2; color: var(--color-teal-deep); }
.form-notice--error { background: #fbeceb; color: #a4453d; }
.form-notice--error ul { margin: 0; padding-left: 1.2em; }

.contact-form { max-width: 560px; margin: 0 auto; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label { font-size: 0.85rem; font-weight: 500; }
.form-row .req { color: #b5493f; font-size: 0.7rem; margin-left: 4px; }
.form-row input,
.form-row select,
.form-row textarea {
	font-family: inherit;
	font-size: 0.9rem;
	padding: 12px 14px;
	border: 1px solid #ddd;
	border-radius: var(--radius-md);
	background: #fff;
	color: var(--color-text);
}
.form-row select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-text) 50%), linear-gradient(135deg, var(--color-text) 50%, transparent 50%); background-position: calc(100% - 20px) center, calc(100% - 15px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
	outline: none;
	border-color: var(--color-teal);
}
.form-submit { margin-top: 8px; }
.form-submit .btn { border: 0; font-size: 0.95rem; }
.form-checkboxes { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.form-checkboxes__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.88rem;
	font-weight: 400;
	color: var(--color-text);
	cursor: pointer;
}
.form-checkboxes__item input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--color-teal);
	cursor: pointer;
}

/* =========================================================
   内部ページ内の表・地図埋め込み（会社概要・アクセスページなど）
   ========================================================= */
.single-post__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0 30px;
	font-size: 0.88rem;
}
.single-post__content table th,
.single-post__content table td {
	text-align: left;
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
	vertical-align: top;
}
.single-post__content table th {
	width: 160px;
	color: var(--color-teal-deep);
	font-weight: 500;
	white-space: nowrap;
}
.single-post__content .map-embed {
	border-radius: var(--radius-md);
	overflow: hidden;
	margin: 20px 0;
}
.single-post__content .map-embed iframe { width: 100%; max-width: 100%; display: block; }
.single-post__content ol { padding-left: 1.3em; }
.single-post__content ol li { margin-bottom: 14px; }

/* =========================================================
   ゼロエイトについてページ（page-about.php）
   ========================================================= */
.about-intro {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}
.about-intro__media {
	position: relative;
	margin: 40px calc(50% - 50vw) 0;
}
.about-intro__media img {
	width: 100%;
	display: block;
}

.reasons {
	position: relative;
	margin: 90px calc(50% - 50vw) 0;
	padding: 120px 5%;
	background: var(--color-pale-blue);
}
.reasons__intro {
	max-width: var(--container-width);
	margin: 0 auto 50px;
	text-align: center;
}
.reasons__intro .script-label {
	color: var(--color-teal);
	font-size: 2.6rem;
	margin-bottom: 20px;
	transform-origin: center bottom;
	transform: rotate(-9deg);
}
.reasons__intro .section-heading {
	justify-content: center;
	font-size: 2rem;
}
.reasons__intro .section-heading::after { content: none; }

.reasons__grid {
	max-width: var(--container-width);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 100px;
}

.reason-card {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 40px 30px;
	box-shadow: 10px 10px 0 0 rgba(127, 173, 165, 0.25);
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: center;
}
@media (min-width: 700px) {
	.reason-card {
		grid-template-columns: 46% 1fr;
		gap: 50px;
		padding: 44px 60px;
	}
	.reason-card:nth-child(even) { grid-template-columns: 1fr 46%; }
	.reason-card:nth-child(even) .reason-card__media { order: 2; }
	.reason-card:nth-child(even) .reason-card__content { order: 1; }
}
.reason-card__media {
	width: 100%;
	aspect-ratio: 744 / 495;
	margin: 0 auto;
}
.reason-card__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.reason-card__title {
	font-size: 1.5rem;
	line-height: 1.5;
	margin-bottom: 12px;
	color: var(--color-teal-deep);
}
.reason-card.is-pink .reason-card__title { color: var(--color-pink); }
.reason-card.is-blue .reason-card__title { color: var(--color-blue-gray); }
.reason-card p { font-size: 1rem; line-height: 1.9; margin: 0; }

.about-cta { text-align: center; margin-top: 70px; }

/* =========================================================
   購入ページ（page-buy.php）物件タイプ：クイックジャンプボタン
   ========================================================= */
.buy-jumpnav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	max-width: 1000px;
	margin: 30px auto 0;
	padding: 0 5%;
}
.buy-jumpnav__link {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--color-teal-dark);
	background: #fff;
	border: 1.5px solid var(--color-teal);
	border-radius: 999px;
	padding: 10px 22px;
	text-decoration: none;
	transition: var(--transition);
}
.buy-jumpnav__link:hover {
	background: var(--color-teal);
	color: #fff;
}

/* =========================================================
   対応エリア（トップ・無料査定：template-parts/service-area.php）
   ========================================================= */
.service-area {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	max-width: 900px;
	margin: 30px auto 0;
	padding: 0 5%;
}
.service-area__item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	text-align: center;
	background: #fff;
	border: 1.5px solid var(--color-teal);
	border-radius: 14px;
	padding: 20px 16px;
}
.service-area__name {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--color-teal-dark);
}
.service-area__sub {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.8;
	color: #777;
}
@media (min-width: 700px) {
	.service-area { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   購入ページ（page-buy.php）物件タイプ一覧
   ========================================================= */
.buy-types {
	max-width: 1000px;
	margin: 60px auto 0;
	padding: 0 5%;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.buy-type {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	background: linear-gradient(to right, var(--buy-tint, #eef6f3), #fff 70%);
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	border-radius: var(--radius-md);
}
.buy-type--reverse { background: linear-gradient(to left, var(--buy-tint, #eef6f3), #fff 70%); }
.buy-type__content { order: -1; }
.buy-type__media { order: 1; }
@media (min-width: 900px) {
	.buy-type { grid-template-columns: 1fr 1fr; min-height: 400px; align-items: center; }
	.buy-type__media { order: 2; }
	.buy-type__content { order: 1; }
	.buy-type--reverse .buy-type__media { order: 0; }
	.buy-type--reverse .buy-type__content { order: 1; }
}
.buy-type__media { position: relative; height: 260px; overflow: hidden; }
@media (min-width: 900px) { .buy-type__media { height: 100%; } }
.buy-type__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.buy-type:hover .buy-type__media img { transform: scale(1.06); }
.buy-type:hover .buy-type__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.buy-type__content {
	position: relative;
	z-index: 1;
	padding: 50px 8%;
}
@media (min-width: 900px) {
	.buy-type__content { padding: 50px 7%; max-width: 500px; }
	.buy-type--reverse .buy-type__content { margin-left: auto; }
}
.buy-type__lead {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-heading);
	margin-bottom: 6px;
}
.buy-type__title {
	font-size: 2.2rem;
	font-weight: 700;
	color: #2c3e50;
	margin: 0 0 10px;
}
.buy-type__en {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 0.78rem;
	letter-spacing: 0.15em;
	color: var(--buy-accent, var(--color-teal-deep));
	margin-bottom: 22px;
}
.buy-type__en::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.7; }
.buy-type__body { font-size: 1rem; line-height: 1.9; color: var(--color-text); max-width: 380px; }
.buy-type__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	padding: 13px 30px;
	background: var(--buy-accent, var(--color-teal-deep));
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	border-radius: 30px;
	box-shadow: 0 6px 16px rgba(0,0,0,0.12);
	transition: transform var(--transition), box-shadow var(--transition);
}
.buy-type__more::after { content: "\2192"; transition: transform var(--transition); display: inline-block; }
.buy-type:hover .buy-type__more { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,0.2); }
.buy-type:hover .buy-type__more::after { transform: translateX(6px); }

.buy-type__caption {
	position: absolute;
	top: 24px;
	right: 6%;
	z-index: 1;
	text-align: right;
	font-family: 'Zapfino', 'Brush Script MT', var(--font-script), cursive;
	font-size: 1.5rem;
	line-height: 1.4;
	color: var(--buy-accent, var(--color-teal-deep));
	transform: rotate(-6deg);
	opacity: 0.85;
}
.buy-type__leaf {
	position: absolute;
	bottom: -10px;
	left: 4%;
	width: 90px;
	height: 150px;
	color: var(--buy-accent, var(--color-teal-deep));
	opacity: 0.55;
	z-index: 0;
}
.buy-type--reverse .buy-type__leaf { left: auto; right: 4%; transform: scaleX(-1); }

.buy-type.is-house-used   { --buy-tint: #eaf5f0; --buy-accent: #527d76; }
.buy-type.is-apartment-used { --buy-tint: #f1eefa; --buy-accent: #8b8fc7; }
.buy-type.is-house-new    { --buy-tint: #eaf4fb; --buy-accent: #6e8bad; }
.buy-type.is-apartment-new  { --buy-tint: #fdf1ee; --buy-accent: #c595c5; }
.buy-type.is-land         { --buy-tint: #eaf4fb; --buy-accent: #6e8bad; }

/* =========================================================
   売却ページ（page-sell.php）
   ========================================================= */

/* 01 ファーストビュー */
.page-hero {
	position: relative;
	overflow: hidden;
	margin: 30px calc(50% - 50vw) 0;
	min-height: 480px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: rgba(40, 52, 48, 0.42); }
.page-hero__content {
	position: relative;
	z-index: 1;
	max-width: 680px;
	margin: 0 auto;
	text-align: center;
	color: #fff;
	padding: 60px 6%;
}
.page-hero__content h2 { font-size: 2rem; line-height: 1.5; color: #fff; margin: 0 0 22px; }
.page-hero__content p { font-size: 1rem; line-height: 2; margin: 0 0 30px; }
@media (max-width: 899px) {
	/* スマホでも手動改行の1行が折り返されない大きさにする（約14文字×画面幅に合わせる） */
	.page-hero__content h2 { font-size: clamp(1.25rem, 5.8vw, 1.8rem); }
}

/* 02 / 06 写真＋文章（左右交互） */
.sell-split {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	align-items: center;
	max-width: 1220px;
	margin: 0 auto;
	padding: 120px 5%;
}
.sell-split__media img { width: 100%; border-radius: var(--radius-md); display: block; }
.sell-split h2 { font-size: 1.7rem; margin: 0 0 18px; }
.sell-split p { font-size: 1rem; line-height: 1.95; color: var(--color-text); }
.sell-split p + p { margin-top: 14px; }
.sell-split__cta { text-align: center; margin-top: 10px; }
@media (min-width: 900px) {
	.sell-split__cta { grid-column: 1 / -1; margin-top: 30px; }
	/* 画像を画面の外端いっぱいまで表示するため、セクションの左右パディングを外してグリッドで組む */
	.sell-split {
		grid-template-columns: minmax(0, 50%) minmax(0, 1fr);
		align-items: stretch;
		gap: 56px;
		max-width: none;
		margin: 0;
		padding: 120px 0;
	}
	.sell-split--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 50%); }
	.sell-split--reverse .sell-split__media { order: 2; }
	.sell-split__media img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 0 var(--radius-md) var(--radius-md) 0;
	}
	.sell-split--reverse .sell-split__media img { border-radius: var(--radius-md) 0 0 var(--radius-md); }
	/* 画像は上下いっぱいに伸ばしつつ、テキストは画像の縦中央に来るように内部で中央寄せする */
	.sell-split__content {
		max-width: 560px;
		padding-right: 5%;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	.sell-split--reverse .sell-split__content {
		padding-right: 0;
		padding-left: 5%;
		margin-left: auto;
	}
}

/* 03 ゼロエイトの一番大事な考え方 */
.sell-philosophy { background: var(--color-pale-blue); margin: 0 calc(50% - 50vw); padding: 130px 5%; }
.sell-philosophy__inner {
	max-width: 1220px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 50px;
	align-items: center;
}
@media (min-width: 900px) { .sell-philosophy__inner { grid-template-columns: 1.15fr 0.85fr; } }
.sell-philosophy__catch {
	font-size: 2.1rem;
	line-height: 1.6;
	font-weight: 700;
	color: #2c3e50;
	margin: 0 0 26px;
}
@media (max-width: 899px) {
	.sell-philosophy__catch { font-size: 1.7rem; }
}
.sell-philosophy__body { font-size: 1rem; line-height: 2.1; color: var(--color-text); max-width: 540px; }
.sell-philosophy__body p + p { margin-top: 16px; }
.sell-philosophy__media { position: relative; }
.sell-philosophy__media img { width: 100%; border-radius: var(--radius-lg); display: block; }
.sell-philosophy__media { box-shadow: -30px 30px 0 -18px var(--color-pale-blue-2); }

/* 04 こんなお悩みありませんか？ */
.sell-worries { max-width: 1100px; margin: 120px auto; padding: 0 5%; }
.sell-worries__intro { text-align: center; margin-bottom: 50px; }
.sell-worries__intro .script-label { color: var(--color-teal); margin-bottom: 18px; transform: rotate(-6deg); }
.sell-worries__intro .section-heading { justify-content: center; font-size: 1.9rem; }
.sell-worries__intro .section-heading::after { content: none; }
@media (max-width: 899px) {
	.sell-worries__intro .section-heading { font-size: 1.7rem; }
}
.sell-worries__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 700px) { .sell-worries__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .sell-worries__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.worry-card {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 34px 28px;
	box-shadow: 10px 10px 0 0 rgba(127, 173, 165, 0.2);
}
.worry-card__icon { width: 46px; height: 46px; color: var(--color-blue-gray); margin-bottom: 18px; }
.worry-card__title { font-size: 1.02rem; margin: 0 0 8px; color: var(--color-heading); }
.worry-card p { font-size: 1rem; line-height: 1.85; color: var(--color-text); margin: 0; }

/* 05 売却サポート5ステップ */
.sell-steps { max-width: 800px; margin: 120px auto; padding: 0 5%; }
.sell-steps__intro { text-align: center; margin-bottom: 50px; }
.sell-steps__intro .script-label { color: var(--color-teal); margin-bottom: 18px; transform: rotate(-6deg); }
.sell-steps__intro .section-heading { justify-content: center; font-size: 1.9rem; }
.sell-steps__intro .section-heading::after { content: none; }
@media (max-width: 899px) {
	.sell-steps__intro .section-heading { font-size: 1.7rem; }
}
.sell-steps__list { position: relative; }
.sell-steps__list::before {
	content: "";
	position: absolute;
	left: 43px;
	top: 50px;
	bottom: 50px;
	width: 2px;
	background: var(--color-pale-blue-2);
}
.step-item { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 24px; align-items: start; padding-bottom: 40px; }
.step-item:last-child { padding-bottom: 0; }
.step-item__num {
	position: relative;
	z-index: 1;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: var(--color-teal);
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.step-item__num-label { font-family: var(--font-script); font-size: 1.05rem; line-height: 1; margin-bottom: 2px; }
.step-item__num-value { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.step-item__card {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 26px 28px;
	margin-top: 6px;
	box-shadow: 8px 8px 0 0 rgba(127, 173, 165, 0.15);
}
.step-item .step-item__title { font-size: 1.3rem; font-weight: 700; margin: 0 0 8px; color: var(--color-heading); }
.step-item p { font-size: 1rem; line-height: 1.9; color: var(--color-text); margin: 0; }

@media (max-width: 480px) {
	.step-item { grid-template-columns: 64px 1fr; gap: 16px; }
	.step-item__num { width: 64px; height: 64px; }
	.step-item__num-label { font-size: 0.85rem; }
	.step-item__num-value { font-size: 1.25rem; }
	.sell-steps__list::before { left: 31px; }
	.step-item__card { padding: 20px; }
}

/* 07 カフェ感をもう一度（背景写真＋CTA） */
.sell-cafe { position: relative; margin: 0 calc(50% - 50vw); padding: 150px 5%; text-align: center; overflow: hidden; }
.sell-cafe__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.sell-cafe__bg::after { content: ""; position: absolute; inset: 0; background: rgba(45, 60, 55, 0.52); }
.sell-cafe__inner { position: relative; z-index: 1; color: #fff; max-width: 720px; margin: 0 auto; }
.sell-cafe__inner h2 { font-size: 1.8rem; line-height: 1.6; margin: 0 0 22px; color: #fff; }
.sell-cafe__inner p { font-size: 1rem; line-height: 2; margin: 0 0 30px; }

/* 08 最後のCTA */
.sell-final { text-align: center; padding: 130px 5%; max-width: 780px; margin: 0 auto; }
.sell-final h2 { font-size: 1.8rem; line-height: 1.6; margin: 0 0 22px; color: var(--color-heading); }
.sell-final p { font-size: 1rem; line-height: 2; margin: 0 0 30px; color: var(--color-text); }

/* リノベーションページ 03 ゼロエイトらしい部分：4つの選択肢 */
.reno-options { max-width: 1100px; margin: 120px auto; padding: 0 5%; }
.reno-options__intro { text-align: center; margin-bottom: 50px; }
.reno-options__intro .script-label { color: var(--color-teal); margin-bottom: 18px; transform: rotate(-6deg); }
.reno-options__intro .section-heading { justify-content: center; font-size: 1.9rem; }
.reno-options__intro .section-heading::after { content: none; }
.reno-options__lead { max-width: 640px; margin: 20px auto 0; font-size: 1rem; line-height: 1.9; color: var(--color-text); }
.reno-options__grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 50px; }
@media (min-width: 700px) { .reno-options__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.reno-option {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 34px 28px;
	box-shadow: 10px 10px 0 0 rgba(127, 173, 165, 0.2);
}
.reno-option__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--color-pale-blue-2);
	color: var(--color-teal-dark);
	font-family: 'Zapfino', 'Brush Script MT', var(--font-script), cursive;
	font-size: 1.35rem;
	font-weight: 400;
	margin-bottom: 16px;
}
.reno-option__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; color: var(--color-heading); }
.reno-option p { font-size: 1rem; line-height: 1.85; color: var(--color-text); margin: 0; }
.reno-option--flagship {
	background: var(--color-teal);
	box-shadow: 10px 10px 0 0 rgba(127, 173, 165, 0.35);
}
.reno-option--flagship .reno-option__num { background: rgba(255, 255, 255, 0.3); color: #fff; }
.reno-option--flagship .reno-option__title,
.reno-option--flagship p { color: #fff; }

/* リノベーションページ 04 中古＋リノベーションの流れ（6ステップ） */
.reno-flow { max-width: 1100px; margin: 120px auto; padding: 0 5%; }
.reno-flow__intro { text-align: center; margin-bottom: 56px; }
.reno-flow__intro .script-label { color: var(--color-teal); margin-bottom: 18px; transform: rotate(-6deg); }
.reno-flow__intro .section-heading { justify-content: center; font-size: 1.9rem; }
.reno-flow__intro .section-heading::after { content: none; }
.reno-flow__lead { max-width: 640px; margin: 24px auto 0; font-size: 1rem; line-height: 2; color: var(--color-text); }
.reno-flow__list { display: grid; grid-template-columns: 1fr; row-gap: 80px; justify-items: center; }
/* 各ステップを枠線で囲んだカードにする。丸い番号は枠の上辺にまたがり、その部分だけ線が途切れて見える */
.reno-flow__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
	max-width: 340px;
	box-sizing: border-box;
	border: 2px solid var(--color-teal);
	border-radius: 14px;
	padding: 72px 24px 30px;
}
.reno-flow__step-num {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: var(--color-teal);
	/* 枠線との間にすき間をあけるため、背景色と同じ色の縁取りをつける */
	box-shadow: 0 0 0 10px var(--color-cream);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	font-weight: 700;
}
.reno-flow__step-icon { width: 32px; height: 32px; color: rgba(255, 255, 255, 0.9); flex-shrink: 0; }
.reno-flow__step-label { font-size: 1.1rem; font-weight: 700; color: var(--color-heading); margin: 0; line-height: 1.5; }
.reno-flow__step-desc { font-size: 0.9rem; line-height: 1.9; color: var(--color-text); margin: 12px 0 0; }
/* モバイル：縦並び。最後のステップ以外の下に▼を出す */
.reno-flow__step:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -50px;
	transform: translateX(-50%);
	border-left: 14px solid transparent;
	border-right: 14px solid transparent;
	border-top: 20px solid var(--color-teal);
}
@media (min-width: 900px) {
	.reno-flow__list { grid-template-columns: repeat(3, 1fr); column-gap: 60px; row-gap: 90px; align-items: stretch; }
	.reno-flow__step { max-width: none; }
	/* デスクトップ：3列×2行。各行の右端（3番目・6番目）以外の右に▶を出す */
	/* モバイル用の▼（:not(:last-child)）と同じ詳細度で上書きするため、同じセレクターでリセットする */
	.reno-flow__step:not(:last-child)::after { content: none; }
	.reno-flow__step:not(:nth-child(3n))::after {
		content: "";
		position: absolute;
		top: 50%;
		bottom: auto;
		left: calc(100% + 18px);
		transform: translateY(-50%);
		border-top: 14px solid transparent;
		border-bottom: 14px solid transparent;
		border-left: 22px solid var(--color-teal);
		border-right: 0;
	}
}

/* =========================================================
   スタッフ紹介ページ
   ========================================================= */
.staff-list__lead { max-width: var(--container-width); margin: 20px auto 0; font-size: 1rem; line-height: 2; color: var(--color-text); }
.staff-list { max-width: 1100px; margin: 90px auto 130px; padding: 0 5%; }
.staff-list__grid { display: grid; grid-template-columns: 1fr; gap: 56px; max-width: 820px; margin: 0 auto; }
.staff-member {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #fff;
	border-radius: var(--radius-md);
	padding: 48px;
	gap: 20px;
	box-shadow: 14px 14px 0 0 rgba(127, 173, 165, 0.15);
}
.staff-member__photo { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 8px var(--color-pale-blue-2); flex-shrink: 0; }
.staff-member__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.staff-member__info { display: flex; flex-direction: column; gap: 8px; }
.staff-member__role {
	display: inline-block;
	align-self: center;
	font-size: 0.82rem;
	letter-spacing: 0.03em;
	color: var(--color-teal-dark);
	background: var(--color-pale-blue-2);
	border-radius: 999px;
	padding: 6px 18px;
}
.staff-member__name { font-size: 1.4rem; font-weight: 700; color: var(--color-heading); margin: 0; }
.staff-member__comment { font-size: 1rem; line-height: 2; color: var(--color-text); margin: 0; }

@media (min-width: 640px) {
	.staff-member {
		flex-direction: row;
		align-items: center;
		text-align: left;
		gap: 40px;
	}
	.staff-member__info { flex: 1; }
	.staff-member__role { align-self: flex-start; }
}

/* スマホ：カード内の余白を詰めて、文章の幅を広くとる */
@media (max-width: 639px) {
	.staff-list { margin: 50px auto 80px; padding: 0 16px; }
	.staff-list__grid { gap: 36px; }
	.staff-member { padding: 30px 20px 28px; gap: 16px; box-shadow: 8px 8px 0 0 rgba(127, 173, 165, 0.15); }
	.staff-member__photo { width: 150px; height: 150px; box-shadow: 0 0 0 6px var(--color-pale-blue-2); }
	.staff-member__info { gap: 6px; width: 100%; }
	.staff-member__name { font-size: 1.25rem; }
	.staff-member__comment { font-size: 0.93rem; line-height: 1.9; text-align: left; }
	.staff-member__areas { text-align: left; }
	.staff-member__more { text-align: right; }
}

/* カードに個人ページURLが設定されている場合（クリック可能） */
.staff-member { position: relative; }
.staff-member--linked { transition: transform var(--transition), box-shadow var(--transition); }
.staff-member--linked:hover { transform: translateY(-4px); box-shadow: 14px 20px 0 0 rgba(127, 173, 165, 0.2); }
.staff-member__stretched-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.staff-member__areas { font-size: 0.88rem; line-height: 1.7; color: var(--color-text); margin: 0; }
.staff-member__areas-label { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--color-teal-dark); background: var(--color-pale-blue-2); border-radius: 999px; padding: 2px 12px; margin-right: 10px; }
.staff-member__more { font-size: 0.85rem; font-weight: 700; color: var(--color-teal-dark); margin: 4px 0 0; }

/* =========================================================
   スタッフ紹介：個人ページ（single-zeroeight_staff.php）
   ========================================================= */
.staff-profile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 28px;
	max-width: 820px;
	margin: 10px auto 0;
}
.staff-profile__photo { width: 220px; height: 220px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px var(--color-pale-blue-2); flex-shrink: 0; }
.staff-profile__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.staff-profile__info { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.staff-profile__role {
	display: inline-block;
	font-size: 0.85rem;
	letter-spacing: 0.03em;
	color: var(--color-teal-dark);
	background: var(--color-pale-blue-2);
	border-radius: 999px;
	padding: 6px 20px;
}
.staff-profile__name { font-size: 1.8rem; font-weight: 700; color: var(--color-heading); margin: 0; }
.staff-profile__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.staff-profile__tag {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--color-teal-dark);
	background: #fff;
	border: 1.5px solid var(--color-teal);
	border-radius: 999px;
	padding: 6px 16px;
}
.staff-profile__group { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 8px; }
.staff-profile__group-title { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; color: var(--color-heading); margin: 0; }
.staff-profile__tags--area { margin-top: 0; }
.staff-profile__tags--area .staff-profile__tag { background: var(--color-pale-blue-2); border-color: transparent; }
.staff-profile__content { margin-top: 56px; }
.staff-profile__back { text-align: center; margin: 56px 0 0; }
.staff-profile__back a { color: var(--color-teal-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.staff-profile__back a:hover { color: var(--color-teal); }

@media (min-width: 700px) {
	.staff-profile {
		flex-direction: row;
		align-items: center;
		text-align: left;
		gap: 48px;
	}
	.staff-profile__info { align-items: flex-start; }
	.staff-profile__tags { justify-content: flex-start; }
	.staff-profile__group { align-items: flex-start; }
}

/* =========================================================
   アクセスページ：お車・電車・バスでお越しの方
   ========================================================= */
.access-company-name { font-size: 1.05rem; font-weight: 700; color: var(--color-heading); margin: 0 0 4px; }
.access-methods { margin: 40px 0 50px; }
.access-methods__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .access-methods__grid { grid-template-columns: repeat(3, 1fr); } }
.access-method {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 28px 24px;
	box-shadow: 8px 8px 0 0 rgba(127, 173, 165, 0.15);
}
.access-method__icon { width: 40px; height: 40px; color: var(--color-teal); margin-bottom: 14px; }
.access-method__title { font-size: 1rem; font-weight: 700; color: var(--color-heading); margin: 0 0 10px; }
.access-method p { font-size: 1rem; line-height: 1.85; color: var(--color-text); margin: 0; }

/* =========================================================
   アクセスページ：駐車場のご案内
   ========================================================= */
.parking-guide { margin: 10px 0 50px; }
.parking-guide__heading { font-size: 1.3rem; margin: 0 0 14px; }
.parking-guide__lead { font-size: 1rem; line-height: 1.9; color: var(--color-text); margin: 0 0 24px; }
.parking-guide__streetview { margin: 0 0 28px; }
.parking-guide__streetview iframe { display: block; width: 100%; height: 300px; border: 0; border-radius: var(--radius-md); }
.parking-guide__streetview-note { font-size: 0.8rem; color: #888; margin: 8px 0 0; text-align: right; }
@media (min-width: 700px) { .parking-guide__streetview iframe { height: 420px; } }
.parking-guide__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .parking-guide__grid { grid-template-columns: repeat(2, 1fr); } }
.parking-guide__card {
	background: #fff;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: 8px 8px 0 0 rgba(127, 173, 165, 0.15);
}
.parking-guide__thumb { aspect-ratio: 4/3; overflow: hidden; }
.parking-guide__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.parking-guide__body { padding: 20px 22px; }
.parking-guide__body h3 { font-size: 1rem; font-weight: 700; color: var(--color-heading); margin: 0 0 8px; }
.parking-guide__body p { font-size: 0.95rem; line-height: 1.8; color: var(--color-text); margin: 0; }

/* =========================================================
   スマホ：手動改行（<br>）の1行が折り返されないよう、見出しの大きさを画面幅に合わせて小さくする。
   min() を使っているので、PCや大きい画面では今まで通りの大きさのまま。
   ========================================================= */
@media (max-width: 899px) {
	.sell-split h2 { font-size: min(1.7rem, 5.4vw); }
	.sell-final h2 { font-size: min(1.8rem, 5.6vw); }
	.sell-cafe__inner h2 { font-size: min(1.8rem, 5.4vw); }
	.sell-philosophy__catch { font-size: min(1.7rem, 5.6vw); }
	.step-item .step-item__title,
	.journey-step__title { font-size: min(1.3rem, 4.8vw); }
}
