@charset "UTF-8";
/* =====================================================================
   top-sp.css：TOPページ SP（1023px以下・画面のみ）
   ===================================================================== */

/* ===== ページ共通 ===== */
.page-top .header {
	background: var(--color-white); /* ★PNGに合わせて白 */
}
.page-top .main {
	padding-top: 4rem;
}

/* ===== ヒーロー =====
   SP：文字の無い部分を切り出した写真（hero-sp / hero-tb）＋写真の下にHTMLの文字（A案） */
.hero {
	position: relative;
}
.hero__pic,
.hero__img {
	display: block;
	width: 100%;
	height: auto;
}
/* メイン画像：ふわっとゆっくり表示 */
.hero__pic {
	animation: heroFadeIn 2.4s ease 0.2s both;
}
@keyframes heroFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
.hero__body {
	padding: 2rem 6% 2.5rem;
	background: var(--color-bg);
	color: var(--color-text);
}
.hero__catch {
	font-size: clamp(1.5rem, 7vw, 2.25rem);
	line-height: 1.6;
}
.hero__lead {
	margin-top: 1.25rem;
	font-size: clamp(0.8125rem, 3.6vw, 1rem);
	line-height: 1.875;
	letter-spacing: 0.025em;
}
.hero__lead p + p {
	margin-top: 0.75rem;
}
.hero__logo {
	width: 45%;
	max-width: 205px;
	margin-top: 1.75rem;
}
.hero__logo img {
	display: block;
	width: 100%;
	height: auto;
}
.hero__type {
	margin-top: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--color-text); /* ★水色背景のため罫線は黒（PCは #c8d3d4） */
	font-size: clamp(0.875rem, 3.8vw, 1.125rem);
	letter-spacing: 0.047em;
}

/* ===== 交通 ===== */
.station {
	padding: 0 4% 3rem;
	background: var(--color-bg);
}
/* スマホ・タブレットは駅分数をSVG（支給データ）で表示し、文字の一覧は隠す */
.station__img {
	display: block;
	width: 97.8261%; /* 画面幅の90%（親の内側幅92%に対する割合） */
	margin: 0 auto;
}
/* 下段（3段目）の上に罫線。線の上下の隙間は支給SVGの比率（線まで20.18／線から15.95 ※SVG幅638.6基準）を、画像幅97.8261%に換算 */
.station__img--lower {
	margin-top: calc(3.0913% - 0.5px);
	padding-top: calc(2.4433% - 0.5px);
	border-top: 1px solid var(--color-text); /* 「CFS工法の新築分譲テラスハウス」上の線（.hero__type）と同じ */
}
.station__list {
	display: none;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem 4%;
}
.station__item {
	text-align: center;
}
/* 奇数個のとき、最後の1つは中央に */
.station__item:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}
.station__line {
	display: block;
	font-size: clamp(0.625rem, 2.8vw, 0.8125rem);
	letter-spacing: 0.1em;
}
.station__name {
	display: block;
	font-size: clamp(0.875rem, 3.9vw, 1.125rem);
	line-height: 1.4;
	letter-spacing: 0.06em;
}
.station__walk {
	display: block;
}
.station__close {
	font-feature-settings: "palt";
}
.station__exit {
	font-size: 0.55em;
	letter-spacing: 0;
}
.station__num {
	margin: 0 0.05em;
	font-family: var(--font-num);
	font-size: 1.9em;
	line-height: 1;
	letter-spacing: -0.06em;
}

/* ===== 特徴（帯） ===== */
.tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 0;
	padding: 0.75rem 4%;
	background: var(--color-band);
	font-size: clamp(0.8125rem, 3.6vw, 1rem);
	letter-spacing: 0.1em;
	font-feature-settings: "palt";
}
.tags__item::before {
	margin-right: 0.4em;
	font-feature-settings: normal;
	content: "｜";
}
.tags__item + .tags__item::before {
	margin-left: 0.4em;
}
.tags__item:last-child::after {
	margin-left: 0.4em;
	font-feature-settings: normal;
	content: "｜";
}
.tags__item sup {
	font-size: 0.6em;
	letter-spacing: 0;
	vertical-align: 0.6em;
	line-height: 0;
}

/* ===== コンセプト =====
   SP：HTMLの文字で表示（A案）。背景にPCの画像を下揃えで敷き、上側は背景色へグラデーション */
.concept {
	position: relative;
	overflow: hidden;
	background: var(--color-band);
}
.concept__img {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: auto;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 45%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 45%);
}
.concept__body {
	position: relative;
	z-index: 1;
	padding: 3rem 6%;
	text-align: center;
}
.concept__lead {
	font-size: clamp(0.9375rem, 4vw, 1.125rem);
}
.concept__title {
	margin-top: 0.75rem;
	font-family: var(--font-en);
	font-size: clamp(1.375rem, 6vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.08em;
}
.concept__cross {
	margin: 0 0.3em;
	font-family: var(--font-sans-jp);
	font-weight: 400;
	letter-spacing: 0;
}
.concept__sub {
	margin-top: 0.25rem;
	font-size: clamp(0.9375rem, 4vw, 1.125rem);
}
.concept__text {
	max-width: 30em;
	margin: 1.5rem auto 0;
	text-align: left;
	font-size: clamp(0.8125rem, 3.6vw, 1rem);
	line-height: 2;
	letter-spacing: 0.025em;
}
.concept__text p + p {
	margin-top: 1rem;
}
.concept__text br {
	display: none; /* スマホは自動改行 */
}

/* ===== コンテンツ紹介 ===== */
.feature {
	padding: 2.5rem 0 0;
}
.feature__list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
	width: 70%;
	margin: 0 auto;
}
.feature__item {
	width: 100%;
	text-align: center;
}
.feature__img {
	max-width: 558px;
	margin: 0 auto;
}
.feature__img img {
	display: block;
	width: 100%;
	height: auto;
}
.feature__title {
	margin-top: 1rem;
	font-family: var(--font-mincho);
	font-size: clamp(1.25rem, 5.4vw, 1.5rem);
	font-weight: 400;
	letter-spacing: 0.19em;
	font-feature-settings: "palt";
}
.feature__text {
	margin-top: 0.25rem;
	font-size: clamp(0.75rem, 3.2vw, 0.9375rem);
	line-height: 1.64;
	letter-spacing: 0.05em;
	font-feature-settings: "palt";
}
.feature__more {
	display: flex;
	justify-content: center;
	margin-top: 0.75rem;
}
.feature__more span {
	display: inline-block;
	padding-bottom: 0.125rem;
	border-bottom: 1px solid var(--color-text);
	font-family: var(--font-en);
	font-size: clamp(0.8125rem, 3.6vw, 1rem);
	font-weight: 700;
	letter-spacing: 0.119em;
}

/* ===== 注釈 ===== */
.top-notes {
	width: 70%;
	margin: 0 auto;
	padding: 2.5rem 0 3rem;
	font-size: clamp(0.6875rem, 2.9vw, 0.8125rem);
	line-height: 1.6;
	letter-spacing: 0.03em;
	text-align: justify;
}

/* ===== タブレット（768〜1023px）：崩れる箇所のみ ===== */
@media (min-width: 768px) {
	.feature__list {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: flex-start;
		gap: 2.5rem 4%;
	}
	.feature__item {
		width: 46%;
	}
	.concept__text br {
		display: inline;
	}
}
