@charset "utf-8";

/* =====================================================
--------------------------------------------------------
全般・共通
--------------------------------------------------------
===================================================== */

:root {
	--font-size-default: 14px;
	--line-height-default: 1.4;
	--color-black: #1c1b1a;
	--color-greige: #e7e1d7;
}


html {
	background: url("/img/ep/dk-select/highgrade/bg.jpg?20260106") repeat;
	overflow-x: hidden;
}

body {
	position: relative;
	color: var(--color-greige);
	font-family: "Lato", "Noto Sans", sans-serif;
	font-size: var(--font-size-default);
	font-weight: 300;
	line-height: 1;
	overflow-x: hidden;
}

a {
	display: inline-block;
	text-decoration: none;
}

.inner {
	margin: 0 auto;
	padding: 0 16px;
	width: 100%;
	max-width: 1024px;
}

.fade-up {
	opacity: 0;
	transform: translate(0, 50%);
	transition: 2s;
}

.fade-up.show {
	opacity: 1;
	transform: translate(0, 0);
}

@media screen and (min-width:768px) {
	.inner {
		padding: 0 68px;
	}
}

@media screen and (min-width:1024px) {
	:root {
		--font-size-default: 16px;
	}
	.inner {
		padding: 0;
	}
	a[href^="tel:"] {
		pointer-events: none;
	}
}





/* =====================================================
--------------------------------------------------------
メインビジュアル
--------------------------------------------------------
===================================================== */

/* SPでCVを外に出す仕様 */
.mainvisual {
	display: contents;
}

.mainvisual div:has(hgroup) {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding: 40px 24px 16px;
	width: 100%;
	height: 432px;
	background: url("/img/ep/dk-select/highgrade/mainvisual.jpg") no-repeat center bottom / cover;
}

.mainvisual hgroup {
	display: flex;
	flex-direction: column;
	width: 100%;
	font-family: "Shippori Mincho B1", serif;
	font-weight: 400;
	text-align: center;
}

.mainvisual h1 {
	margin-left: 0.4em;
	margin-bottom: 24px;
	font-size: 32px;
}

.mainvisual p {
	display: flex;
	flex-direction: column;
	align-items: center;
	opacity: 0;
}

.mainvisual p > span {
	display: inline-flex;
	flex-flow: row wrap;
	font-size: 16px;
	line-height: 1.6;
}

.mainvisual p > span span {
	opacity: 0;
	transition: 0.5s ease-in-out;
}

.mainvisual img {
	width: 158px;
}

@media screen and (min-width:768px) {
	.mainvisual {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		position: relative;
		padding: 160px 0 80px;
		width: 100%;
		height: 100dvh;
		max-height: 864px;
		background: url("/img/ep/dk-select/highgrade/mainvisual.jpg") no-repeat center bottom / cover;
	}
	.mainvisual div:has(hgroup) {
		display: contents;
	}
	.mainvisual hgroup {
		align-items: center;
		text-align: left;
	}
	.mainvisual h1 {
		margin-bottom: 32px;
		font-size: 48px;
	}
	.mainvisual p {
		display: block;
		min-width: 624px;
	}
	.mainvisual p > span {
		font-size: 24px;
	}
}

@media screen and (min-width:1024px) {
	.mainvisual {
		max-height: unset;
		background-image: url("/img/ep/dk-select/highgrade/mainvisual.png");
	}
}





/* =====================================================
--------------------------------------------------------
CVリンク
--------------------------------------------------------
===================================================== */

.cv {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 24px auto 0;
	width: 100%;
	max-width: 320px;
}

.cv a {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 8px 16px 8px 56px;
	min-height: 48px;
	border-radius: 32px;
	border: 2px solid rgba(72,58,79,1);
	color: var(--color-greige);
	font-size: 16px;
	text-align: center;
	transition: position 1s, padding 1s, background-image 1s, background-color 1s, color 1s;
}

.cv a:nth-of-type(1) {
	background: url("/img/ep/dk-select/highgrade/icon-mail02.png") rgba(72,58,79,0.8) no-repeat 16px center / 24px 16px;
}

.cv a:nth-of-type(2) {
	background: url("/img/ep/dk-select/highgrade/icon-search02.png") rgba(72,58,79,0.8) no-repeat 16px center / 24px 24px;
}

.cv a > span {
	display: block;
}

/* 追従 */
.cv.floating {
	position: fixed;
	top: 32px;
	right: 8px;
	bottom: unset;
	z-index: 2;
	margin: 0;
	max-width: 48px;
}

.cv.floating a {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	padding: 0;
}

.cv.floating a {
	background-position: center center;
}

.cv.floating a > span {
	display: none;
}

/* 非表示 */
.cv.none {
	display: none;
}

@media (any-hover:hover) {
	.cv a:hover {
		background-color: rgba(231, 225, 215, 0.8);
		color: var(--color-black);
	}
	.cv a:hover:nth-of-type(1) {
		background-image: url("/img/ep/dk-select/highgrade/icon-mail01.png");
	}
	.cv a:hover:nth-of-type(2) {
		background-image: url("/img/ep/dk-select/highgrade/icon-search01.png");
	}
}

@media screen and (min-width:768px) {
	.cv {
		position: absolute;
		bottom: 16px;
		right: 0;
		max-width: 216px;
	}
	.cv a {
		border-radius: 32px 0 0 32px;
		border-right: none;
	}
}





/* =====================================================
--------------------------------------------------------
建築様式
--------------------------------------------------------
===================================================== */

.style {
	position: relative;
	margin: 0 0 40px;
	padding: 40px 0;
	background: url("/img/ep/dk-select/highgrade/rc.png") no-repeat center top / cover;
}

.style .inner div {
	width: 100%;
}

.style h2 {
	margin-bottom: 32px;
	font-family: "Shippori Mincho B1", serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.5;
	word-break: keep-all;
	overflow-wrap: break-word;
}

.style p {
	line-height: 2;
}

.style p + p {
	margin-top: 24px;
}

.style div:has(img) {
	margin-top: 24px;
	opacity: 0;
	transform: translate(-50%, 0);
	transition: opacity 2s, transform 2s;
}

.style div:has(img).show {
	transform: translate(0, 0);
	opacity: 1;
}

@media screen and (min-width:768px) {
	.style h2 {
		margin-bottom: 56px;
		font-size: 32px;
		line-height: 2;
	}
	.style p {
		font-size: 18px;
		line-height: 2.5;
		word-break: keep-all;
		overflow-wrap: break-word;
	}
	.style p + p {
		margin-top: 40px;
	}
}

@media screen and (min-width:1024px) {
	.style {
		margin: 80px 0 40px;
		padding: 80px 0;
	}
	.style .inner div {
		margin-left: auto;
		max-width: 512px;
	}
	.style div:has(img) {
		position: absolute;
		top: 0;
		right: calc(50vw + 80px);
		margin: 0;
	}
	.style img {
		max-width: unset;
		object-fit: cover;
	}
}





/* =====================================================
--------------------------------------------------------
室内
--------------------------------------------------------
===================================================== */

.interior {
	margin-top: 40px;
}

.interior div:has(h2) {
	width: 100%;
}

.interior h2 {
	margin-bottom: 32px;
	font-family: "Shippori Mincho B1", serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.5;
	word-break: keep-all;
	overflow-wrap: break-word;
}

.interior p {
	line-height: 2;
}

.interior div:has(img) {
	margin-top: 24px;
	width: 100%;
	opacity: 0;
	transform: translate(-50%, 0);
	transition: opacity 2s, transform 2s;
}

.interior div:has(img).show {
	transform: translate(0, 0);
	opacity: 1;
}

.interior_living01 + div:has(img) {
	transform: translate(50%, 0);
}

.interior_kitchen + div:has(img) {
	transform: translate(-50%, 0);
}

.interior_living02 {
	margin-top: 40px;
	width: 100%;
}

@media screen and (min-width:768px) {
	.interior h2 {
		font-size: 32px;
		line-height: 2;
	}
	.interior p {
		font-size: 18px;
		line-height: 2.5;
		word-break: keep-all;
		overflow-wrap: break-word;
	}
}

@media screen and (min-width:1024px) {
	.style + div {
		height: 640px;
		background: url("/img/ep/dk-select/highgrade/dining.png?20260127") no-repeat center center;
	}
	.style + div img {
		display: none;
	}
	.interior {
		margin-top: 80px;
	}
	.interior div:has(h2) {
		max-width: 512px;
	}
	.interior_kitchen {
		margin-left: auto;
		padding-top: 120px;
	}
	.interior h2 {
		margin-bottom: 56px;
	}
	.interior div:has(img) {
		position: absolute;
		margin: 0;
		max-width: 480px;
	}
	.interior_living01 + div:has(img) {
		top: 184px;
		right: 0;
	}
	.interior_kitchen + div:has(img) {
		top: 0;
	}
	.interior_living02 {
		margin-top: 80px;
		width: 720px;
	}
}

@media screen and (min-width:1025px) {
	.interior_living01 + div:has(img) {
		left: calc(50% + 80px);
	}
	.interior_kitchen + div:has(img) {
		right: calc(50% + 80px);
	}
}





/* =====================================================
--------------------------------------------------------
ゴール
--------------------------------------------------------
===================================================== */

.goal {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 64px 0;
	width: 100%;
	height: 520px;
	background: url("/img/ep/dk-select/highgrade/footer-sp.png") no-repeat center top / contain;
}

.goal .inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.goal_catch {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.goal_catch p {
	font-family: "Shippori Mincho B1", serif;
	font-weight: 400;
	text-align: center;
	word-break: keep-all;
	overflow-wrap: break-word;
}

.goal_catch p:nth-of-type(1) {
	font-size: 24px;
	line-height: 1.6;
}

.goal_catch p:nth-of-type(2) {
	font-size: 16px;
	line-height: 1.6;
}

.goal_catch a {
	display: flex;
	justify-content: center;
	padding: 16px 16px 16px 56px;
	width: 100%;
	max-width: 480px;
	border-radius: 48px;
	border: 2px solid rgba(28, 27, 26, 0.8);
	background: url("/img/ep/dk-select/highgrade/icon-mail02.png") rgba(28, 27, 26, 0.8) no-repeat 40px center / 25px;
	color: var(--color-greige);
	font-size: 24px;
	letter-spacing: 0.05em;
	transition: background-image 1s, background-color 1s, color 1s;
}

.goal ul {
	margin-left: auto;
	font-size: 12px;
	line-height: 1.4;
}

@media (any-hover:hover) {
	.goal_catch a:hover {
		background-image: url("/img/ep/dk-select/highgrade/icon-mail01.png");
		background-color: rgba(231, 225, 215, 0.8);
		color: var(--color-black);
	}
}

@media screen and (min-width:425px) {
	.goal {
		background-image: url("/img/ep/dk-select/highgrade/footer-pc.png?20260106");
		background-size: cover;
	}
}

@media screen and (min-width:768px) {
	.goal {
		height: 585px;
		padding: 40px 0;
	}
	.goal_catch {
		gap: 0;
	}
	.goal_catch p:nth-of-type(1) {
		margin-bottom: 32px;
		font-size: 32px;
	}
	.goal_catch p:nth-of-type(2) {
		margin-bottom: 32px;
		font-size: 24px;
	}
}

@media screen and (min-width:1024px) {
	.goal {
		padding: 400px 0 208px;
		height: 1248px;
	}
	.goal_catch p:nth-of-type(1) {
		margin-bottom: 56px;
		font-size: 48px;
	}
	.goal_catch p:nth-of-type(1) wbr:nth-of-type(2) {
		display: none;
	}
	.goal_catch p:nth-of-type(2) {
		margin-bottom: 128px;
		font-size: 24px;
	}
	.goal_catch a {
		padding: 32px 32px 32px 96px;
		background-size: 50px;
		font-size: 32px;
	}
	.goal ul {
		font-size: 14px;
	}
}

/* フッター */
footer {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	padding: 16px;
	width: 100%;
	background: rgba(28, 27, 26, 0.8);
	font-size: 14px;
	text-align: center;
}

footer img {
	width: 144px;
}

@media screen and (min-width:1024px) {
	footer {
		position: absolute;
		left: 0;
		bottom: 0;
		padding: 40px 16px;
	}
	footer img {
		width: 200px;
	}
}