@charset "utf-8";
/* モバイルファースト */
/* LP:parts01・03 */
.cpYamadahomes {
	margin: 0 2.667vw;
	border-radius: 8px;
	background-color: #fdeada;
}
.cpYamadahomes__heading {
	display: block;
	align-content: center;
	padding: 12px;
	text-align: center;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	background-color: #fcd7a1;
}
.cpYamadahomes__heading__img {
	display: inline-block;
	margin-right: 1em;
	max-width: 220px;
	height: auto;
}
.cpYamadahomes__heading > span {
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	color: #e95313;
}
.cpYamadahomes__body {
	display: flex;
	flex-direction: column;
	padding: 12px;
	padding-bottom: 0;
	text-align: center;
}
.cpYamadahomes__lead {
	margin-bottom: 16px;
	font-weight: bold;
}
.cpYamadahomes__lead__heading {
	font-size: 14px;
	text-align: center !important;
	color: #e95313;
}
.cpYamadahomes__lead__text {
	font-size: 20px;
	text-align: center !important;
	color: #97303a;
}
.cpYamadahomes__date {
	order: 3;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 12px;
	margin: 0 auto;
	max-width: 260px;
	font-size: 12px;
	font-weight: bold;
}
.cpYamadahomes__date > dt {
	padding: 2px 4px;
	background-color: #e95313;
	color: #fff;
}
.cpYamadahomes__date > dd {
	margin: 0;
	text-align: start;
	color: #000;
}
.cpYamadahomes__detail {
	position: relative;
	margin-bottom: 6px;
	padding: 12px;
	padding-top: 24px;
	text-align: center;
	border: 2px solid #97303a;
	border-radius: 8px;
	background-color: #fff;
}
.cpYamadahomes__detail__heading {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	display: inline-block;
	width: 160px;
	padding: 4px 16px;
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	text-align: center !important;
	color: #fff;
	border-radius: 11px;
	background-color: #97303a;
}
.cpYamadahomes__detail__text {
	font-size: 12px;
	font-weight: bold;
	text-align: center !important;
	color: #005fac;
}
.cpYamadahomes__detail__text > em.text_emp {
	font-style: normal;
	font-size: large;
	color: #005fac !important;
}
.cpYamadahomes__detail__kingaku {
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	text-align: center !important;
	color: #e84306;
}
.cpYamadahomes__detail__kingaku > em.kingaku_emp {
	font-style: normal;
	font-size: xx-large;
	color: #e84306;
}
.cpYamadahomes__detail__kingaku > img {
	display: inline-block;
	vertical-align: top;
	max-width: 92px;
	height: auto;
	margin-left: 6px;
}
img#cpYamadahomes__img {
	position: absolute;
	top: -24px;
	right: 12px;
	display: block;
	width: 42px;
	height: auto;
}
.cpYamadahomes__img {
	position: absolute;
	top: -24px;
	right: 12px;
	display: block;
	width: 42px;
	height: auto;
}
.cpYamadahomes__footer {
	width: 100%;
	height: auto;
	padding: 12px 24px;
	text-align: center;
}
.campaign_detail_btn {
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 6px;
	max-width: 240px;
	height: auto;
	margin: 0 auto;
	padding: 8px 24px;
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	color: #fff;
	border: 2px solid #e95313;
	border-radius: 20px;
	background-color: #e95313;
	box-shadow: 0 4px #bc3300;
	transform: translateY(-2px);
	transition: all 0.2s;
}
.campaign_detail_btn:hover {
	box-shadow: none;
	transform: translateY(2px);
	cursor: pointer;
}
/* ボタン内テキスト（アイコンと一緒に使う時） */
.btn__text {
	width: calc(100% - 14px);
}
.campaign_detail_btn > .icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background-color: #fff;
}
.icon__arrowRight::after {
	content: '';
	width: 6px;
	height: 6px;
	border-top: 2px solid #e95313;
	border-right: 2px solid #e95313;
	rotate: 45deg;
}
@media screen and (min-width: 960px) {
	.cpYamadahomes {
		margin: 0 auto;
		max-width: 1024px;
	}
	.cpYamadahomes__heading__img {
		max-width: 360px;
	}
	.cpYamadahomes__heading > span {
		font-size: 18px;
	}
	.cpYamadahomes__body {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-rows: repeat(2, auto);
		grid-template-areas:
			"lead detail"
			"date detail";
		column-gap: 24px;
		padding: 24px 56px;
		padding-bottom: 12px;
	}
	.cpYamadahomes__lead {
		grid-area: lead;
		text-align: start;
	}
	.cpYamadahomes__lead__heading {
		font-size: 18px;
		text-align: start !important;
	}
	.cpYamadahomes__lead__text {
		font-size: 32px;
		text-align: start !important;
	}
	.cpYamadahomes__date {
		grid-area: date;
		max-width: 100%;
		max-height: 18px;
		margin: 0;
		font-size: 14px;
		text-align: start;
	}
	.cpYamadahomes__detail {
		grid-area: detail;
	}
	.cpYamadahomes__detail__heading {
		font-size: 16px;
	}
	.cpYamadahomes__detail__text {
		font-size: 16px;
	}
	.cpYamadahomes__detail__text > em.text_emp {
		font-size: x-large;
	}
	.cpYamadahomes__detail__kingaku {
		font-size: 18px;
	}
	.cpYamadahomes__detail__kingaku > em.kingaku_emp {
		font-size: 48px;
	}
	.cpYamadahomes__detail__kingaku > img {
		max-width: 135px;
		padding-top: 6px;
	}
	img#cpYamadahomes__img {
		top: unset;
		right: 12px;
		bottom: -24px;
	}
	.cpYamadahomes__img {
		top: unset;
		right: 12px;
		bottom: -24px;
	}
	.campaign_detail_btn {
		width: 360px;
		max-width: 360px;
		padding: 16px 24px;
		font-size: 16px;
		border-radius: 28px;
	}
	.cpYamadahomes__footer {
		padding: 12px 72px;
		padding-bottom: 24px;
	}
}
/* LP:parts05 */
.cpYamadahomes_02 {
	margin: 0 2.667vw;
	border-radius: 8px;
	background-color: #fdeada;
}
.cpYamadahomes__heading_02 {
	display: block;
	align-content: center;
	padding: 12px;
	text-align: center;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	background-color: #fcd7a1;
}
.cpYamadahomes__heading__img_02 {
	display: inline-block;
	margin-right: 1em;
	max-width: 220px;
	height: auto;
	vertical-align: bottom;
}
.cpYamadahomes__heading_02 > span {
	font-size: 12px;
	font-weight: bold;
	line-height: 1;
	color: #e95313;
}
.cpYamadahomes__body_02 {
	display: flex;
	flex-direction: column;
	padding: 12px;
	padding-bottom: 0;
	text-align: center;
}
.cpYamadahomes__lead_02 {
	margin-bottom: 16px;
	font-weight: bold;
}
.cpYamadahomes__lead__heading_02 {
	margin-bottom: 6px !important;
	font-size: 14px;
	text-align: center !important;
	color: #e95313;
}
.cpYamadahomes__lead__text_02 {
	margin-bottom: 0 !important;
	font-size: 18px;
	text-align: center !important;
	color: #97303a;
}
.cpYamadahomes__date_02 {
	order: 3;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 8px 12px;
	max-width: 260px;
	margin: 0 auto;
	font-size: 10px;
	font-weight: bold;
}
.cpYamadahomes__date_02 > dt {
	padding: 2px 4px;
	background-color: #e95313;
	color: #fff;
}
.cpYamadahomes__date_02 > dd {
	margin: 0;
	text-align: start;
	color: #000;
}
.cpYamadahomes__detail_02 {
	position: relative;
	margin-bottom: 6px;
	padding: 12px;
	padding-top: 24px;
	text-align: center;
	border: 2px solid #97303a;
	border-radius: 8px;
	background-color: #fff;
}
.cpYamadahomes__detail__heading_02 {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	display: inline-block;
	width: 160px;
	padding: 4px 16px;
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	text-align: center !important;
	color: #fff;
	border-radius: 11px;
	background-color: #97303a;
}
.cpYamadahomes__detail__text_02 {
	margin-bottom: 6px !important;
	font-size: 12px;
	font-weight: bold;
	text-align: center !important;
	color: #005fac;
}
.cpYamadahomes__detail__text_02 > em.text_emp {
	font-style: normal;
	font-size: large;
	color: #005fac;
}
.cpYamadahomes__detail__kingaku_02 {
	margin-bottom: 0 !important;
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	text-align: center !important;
	color: #e84306;
}
.cpYamadahomes__detail__kingaku_02 > em.kingaku_emp {
	font-style: normal;
	font-size: xx-large;
	color: #e84306;
}
.cpYamadahomes__detail__kingaku_02 > img {
	display: inline-block;
	vertical-align: top;
	max-width: 92px;
	height: auto;
	margin-left: 6px;
}
img#cpYamadahomes__img_02 {
	position: absolute;
	top: -24px;
	right: 12px;
	display: block;
	width: 42px !important;
	height: auto;
}
.cpYamadahomes__img_02 {
	position: absolute;
	top: -24px;
	right: 12px;
	display: block;
	width: 42px;
	height: auto;
}
.cpYamadahomes__footer_02 {
	width: 100%;
	height: auto;
	padding: 12px 24px;
	text-align: center;
}
@media screen and (min-width: 960px) {
	.cpYamadahomes_02 {
		margin: 0 auto;
	}
	.cpYamadahomes__heading__img_02 {
		max-width: 360px;
	}
	.cpYamadahomes__heading_02 > span {
		font-size: 18px;
	}
	.cpYamadahomes__body_02 {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-rows: repeat(2, auto);
		grid-template-areas:
			"lead detail"
			"date detail";
		column-gap: 12px;
		padding: 24px;
		padding-bottom: 6px;
	}
	.cpYamadahomes__lead_02 {
		grid-area: lead;
		text-align: start;
	}
	.cpYamadahomes__lead__heading_02 {
		font-size: 16px;
		text-align: start !important;
	}
	.cpYamadahomes__lead__text_02 {
		font-size: 22px;
		text-align: start !important;
	}
	.cpYamadahomes__date_02 {
		grid-area: date;
		max-width: 100%;
		margin: 0;
		font-size: 12px;
		text-align: start;
	}
	.cpYamadahomes__detail_02 {
		grid-area: detail;
	}
}
/* LP:parts02・04・04_border（画像バナーボタン） */
.cpYamadahomes-bnr {
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0 16px;
}
.campaign_banner_btn {
	display: block;
	width: fit-content;
	height: auto;
	margin: 24px auto 0;
	padding: 0;
	border: none;
	border-radius: 8px;
	background-color: transparent;
	cursor: pointer;
}
@media screen and (min-width: 960px) {
	.cpYamadahomes-bnr {
		max-width: 590px;
		padding: 0;
	}
	/* .campaign_banner_btn {
		max-width: 590px;
	} */
}

/* モーダル */
.add_cp_yamadahomes {
	position: relative;
	width: 89.3vw;
	margin: 24px auto 16vw;
	padding: 2.5vw;
	padding-top: 48px;
	font-size: 12px;
	text-align: center;
	border: 2px solid #0B99DA;
	border-radius: 8px;
}
.add_cp_yamadahomes .cp_ttl {
	position: absolute;
	top: -24px;
	left: 0;
	right: 0;
	display: inline-block;
	margin: 0 auto;
	padding: 12px 48px 24px;
	font-size: 16px;
	font-weight: bold;
	line-height: 1;
	color: #fff;
	background-image: url(/img/campaign/cpYamadahomes/bg_ribbon.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.add_cp_yamadahomes .cpContainer {
	display: flex;
	flex-direction: column;
	row-gap: 12px;
}
.add_cp_yamadahomes .cpContainer .cp_bnr > img {
	width: 100%;
	height: auto;
	margin: 0 auto;
}
.add_cp_yamadahomes .cpContainer .cp_inner {
	margin-bottom: 12px;
	text-align: start;
}
.add_cp_yamadahomes .cpContainer .cp_inner .cp_dateList {
	margin-bottom: 12px;
}
.add_cp_yamadahomes .cpContainer .cp_inner .cp_dateList .cp_dateItem {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 12px;
	margin-bottom: 8px;
}
.add_cp_yamadahomes .cpContainer .cp_inner .cp_dateList .cp_dateItem > dt {
	max-height: 20px;
	padding: 4px 8px;
	text-align: center;
	line-height: 1;
	color: #fff;
	background-color: #0B99DA;
}
.add_cp_yamadahomes .cpContainer .cp_inner .cp_dateList .cp_dateItem > dd {
	margin: 0;
}
.add_cp_yamadahomes .cpContainer .cp_inner .cp_dateList .cp_dateItem > dd > em {
	font-style: normal;
	font-weight: bold;
	color: #e95313;
}
.add_cp_yamadahomes .cpContainer .cp_inner .cp_infoList > li {
	margin-bottom: 6px;
	padding-left: 1em;
	text-indent: -0.4em;
	line-height: 1.35;
}
.add_cp_yamadahomes .cpContainer .cp_inner .cp_infoList > li::before {
	display: inline-block;
	margin-right: 4px;
	content: "●";
	font-size: 50%;
	line-height: 1;
	color: #0B99DA;
}
@media screen and (min-width: 960px) {
	.add_cp_yamadahomes {
		width: 80vw;
		margin: 45px auto 6.8vw;
		padding: 3vw;
		padding-top: 60px;
	}
	.add_cp_yamadahomes .cp_ttl {
		font-size: 20px;
	}
	.add_cp_yamadahomes .cpContainer {
		flex-direction: row;
		row-gap: 0;
		column-gap: 24px;
		font-size: 0.875em;
	}
	.add_cp_yamadahomes .cpContainer .cp_inner .cp_dateList .cp_dateItem > dt {
		max-height: 24px;
	}
	.add_cp_yamadahomes .cpContainer .cp_inner .cp_infoList > li {
		font-size: 0.928em;
	}
}
/* モーダル */
dialog::backdrop {
	background-color: rgba(0, 0, 0, 0.6);
}
dialog#campaign_modal {
	margin: auto;
	padding: 0;
	border: none;
	border-radius: 8px;
	background-color: #fff;
}
.add_cp_yamadahomes--modal {
	width: 100%;
	margin: 0;
	padding: 12px;
	padding-top: 20px;
	border: none;
	border-radius: 8px;
}
@media screen and (min-width: 960px) {
	.add_cp_yamadahomes .cpContainer--modal {
		font-size: 16px;
	}
}
/* モーダル内閉じるボタン */
.close__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 6px;
	width: auto;
	max-width: 240px;
	height: auto;
	margin: 0 auto;
	padding: 4px 12px;
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	color: #fff;
	border: 2px solid #707070;
	border-radius: 12px;
	background-color: #707070;
}
.close__btn:hover {
	font-weight: bold;
	color: #707070;
	background-color: #fff;
	cursor: pointer;
}
@media screen and (min-width: 960px) {
	.close__btn {
		font-size: 16px;
	}
}