img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
}
@media screen and (min-width: 768px), print {
	.main::before {
		top: 800px;
	}
}
.p-firstview {
	position: relative;
	z-index: 2;
	margin: 30px 0 0;
}
.p-firstview__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
}
.p-firstview__heading span {
	white-space: nowrap;
}
.p-firstview__heading span > * {
	display: inline-block;
	opacity: 0;
	transform: skew(50deg, 30deg) rotate(-40deg) translate(20px, 40px) scale(0.8, 0.8);
	transition: 0.5s 0.15s ease-in;
}
.p-firstview.active .p-firstview__heading span span {
	opacity: 1;
	transform: none;
}
.p-firstview__text {
	margin: 40px 0 0;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.9;
	opacity: 0;
	transition: opacity 0.6s ease-in;
}
.p-firstview.active .p-firstview__text {
	opacity: 1;
}
@media (max-width: 767px) {
	.p-firstview__block {
		flex: 0 0 100%;
		width: 100%;
		padding: 0 20px;
	}
	.p-firstview__heading span {
		font-size: 28px;
		font-weight: 500;
		letter-spacing: 0;
		line-height: 1.4;
	}
	.p-firstview.active .p-firstview__heading,
	.p-firstview.active .p-firstview__text {
		opacity: 1;
		transform: none;
	}
	.p-firstview__image {
		flex: 0 0 100%;
		width: 100%;
	}
	.p-firstview__image picture {
		display: block;
		width: 0;
		overflow: hidden;
		transition: width 1s ease-out;
	}
	.p-firstview__image img {
		width: 100vw;
		max-width: none;
	}
	.p-firstview.active .p-firstview__image picture {
		width: 100%;
	}
}
@media screen and (min-width: 768px), print {
	.p-firstview {
		margin: 40px 0 0;
	}
	.p-firstview__block {
		order: 2;
		flex: 1 1 567px;
		width: 567px;
	}
	.p-firstview__image {
		order: 1;
		position: relative;
		flex: 1 1 712px;
		width: 100vw;
		min-width: 100%;
		height: 345px;
	}
	.p-firstview__image picture {
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		width: 0;
		overflow: hidden;
		transition: width 0.6s ease-in;
	}
	.p-firstview__image img {
		width: max(100%, 100vw);
		max-width: none;
	}
	.p-firstview.active .p-firstview__image picture {
		width: max(1033px, 100%);
	}
	.p-firstview__heading {
		width: 188px;
		margin: -50px auto;
		writing-mode: vertical-rl;
		-webkit-text-orientation: upright;
		text-orientation: upright;
	}
	.p-firstview__heading span {
		position: relative;
		font-size: 60px;
	}
	.p-firstview.active .p-firstview__heading {
		opacity: 1;
		transform: none;
	}
	.p-firstview__text {
		margin: 120px 0 0;
		text-align: center;
		font-size: 20px;
		white-space: nowrap;
	}
}
.p-message {
	margin: 50px 0 0;
}
.p-message__heading {
	margin: 30px 0px 20px 0px;
	text-align: center;
	font-size: 18px;
	font-weight: normal;
	line-height: 1.4;
}
.p-message__text {
	margin: 20px 0 0;
	font-size: 12px;
	line-height: 2;
}
@media screen and (min-width: 768px), print {
	.p-message {
		margin: 100px 0 0;
	}
	.p-message__inner {
		width: 1000px;
	}
	.p-message__heading {
		margin: 50px 0px 0px;
		font-size: 28px;
		font-weight: normal;
	}
	.p-message__text {
		margin: 40px 0 0;
		text-align: center;
		font-size: 14px;
		line-height: 2;
	}
}
.p-request {
	margin: 100px 0 0;
}
.p-request__heading {
	text-align: center;
}
.p-request__heading small {
	display: block;
	color: #002972;
	/* font-family: var(--wf-notosans); */
	font-size: 16px;
	font-weight: 400;
}
.p-request__heading span {
	position: relative;
	display: inline-block;
	margin: 10px 0 0;
	font-size: 21px;
	font-weight: 400;
}
.p-request__heading span::before,
.p-request__heading span::after {
	content: '';
	position: absolute;
	top: 10px;
	width: 40px;
	border-top: 1px #ebebeb solid;
}
.p-request__heading span::before {
	left: -70px;
}
.p-request__heading span::after {
	right: -70px;
}
.p-request__block {
	margin: 70px 0 0;
}
.p-request__title {
	position: relative;
	width: 100%;
	padding: 0 0 10px;
	border-bottom: 2px #ebebeb solid;
	font-size: 18px;
	font-weight: 700;
}
.p-request__title::before {
	content: '';
	position: absolute;
	left: 0px;
	bottom: -2px;
	width: 125px;
	border-top: 2px #002972 solid;
}
.p-request__list {
	padding: 0px 0px 0px 15px;
	margin: 20px 0 0;
	border-left: 10px #ebebeb solid;
	font-size: 12px;
	line-height: 24px;
}
.p-request__text {
	margin: 20px 0 0;
	font-size: 12px;
}
.p-request__text--blue {
	color: #002972;
	/* font-family: var(--wf-notosans); */
	font-size: 12px;
	line-height: 24px;
}
.p-request__text--red {
	color: #ee98bf;
	/* font-family: var(--wf-notosans); */
	font-size: 26px;
	font-weight: 700;
	line-height: 24px;
}
.p-request__message {
	margin: 30px 0 0;
	font-size: 15px;
	line-height: 1.6;
}
@media screen and (min-width: 768px), print {
	.p-request__inner {
		width: 1000px;
		margin: 0 auto;
	}
	.p-request__block {
		margin: 70px 0 0;
	}
	.p-request__title {
		line-height: 28px;
	}
	.p-request__title::before {
		content: '';
		position: absolute;
		left: 0px;
		bottom: -2px;
		width: 125px;
		border-top: 2px #002972 solid;
	}
	.p-request__list {
		font-size: 14px;
		line-height: 28px;
	}
	.p-request__text {
		font-size: 14px;
	}
	.p-request__text--blue {
		font-size: 14px;
	}
	.p-request__message {
		font-size: 20px;
	}
}
.p-tabs__list {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
}
.p-tabs__item {
	flex: 0 0 50%;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #002972;
	transition: background-color 0.6s ease-out;
}
.p-tabs__item span {
	color: #002972;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1;
}
.p-tabs__item.current {
	background-color: #002972;
}
.p-tabs__item.current span {
	color: #fff;
}
@media (max-width: 767px) {
	.p-tabs {
		padding: 0 20px;
	}
}
@media screen and (min-width: 768px), print {
	.p-tabs__list {
		width: 100%;
		max-width: 1000px;
		margin: 0 auto;
	}
	.p-tabs__item {
		cursor: pointer;
	}
}
.p-contact {
	padding: 0;
	margin: 0;
}
.p-contact input,
.p-contact textarea {
	outline: 0;
	background-color: #ebebeb;
}
.p-contact .p-contact__item input[type='checkbox'] {
	-webkit-appearance: auto;
	-moz-appearance: auto;
	appearance: auto;
}
@media screen and (min-width: 768px), print {
	.p-contact__inner {
		width: 100%;
		max-width: 1000px;
		padding: 0;
	}
	.p-contact__block {
		display: flex;
		align-items: flex-start;
		justify-content: flex-start;
	}
	.p-contact__block .error {
		flex: 0 0 100%;
		padding: 0 0 0 250px;
	}
	.p-contact__block--center {
		display: block;
	}
	.p-contact__block--center .error {
		padding: 0;
	}
	.p-contact__title {
		flex: 0 0 250px;
		padding: 5px 0 0;
	}
	.p-contact__item {
		flex: 1 1 100%;
		margin: 0;
	}
}
.p-line {
	margin: 60px 0 0;
}
.p-line__heading {
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.6;
}
.p-line__text {
	margin: 40px 0 0;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
}
.p-line__text span {
	display: inline-block;
	padding: 16px 24px;
	border: 2px solid #002972;
	border-radius: 30px;
	color: #002972;
}
.p-line__list {
	width: 100%;
	max-width: 400px;
	margin: 40px auto 0;
}
.p-line__list-item {
	padding: 12px 20px;
	background-color: #f0f3f8;
	text-align: center;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1;
}
.p-line__flow {
	padding: 60px 15px 40px;
	margin: 40px -15px 0;
	background-color: #f0f3f8;
}
.p-line__flow-item {
	position: relative;
	max-width: 300px;
	padding: 30px 10px 20px;
	margin: 0 auto;
	background-color: #fff;
	text-align: center;
}
.p-line__flow-item img {
	width: 200px;
	margin: 0 auto 30px;
}
.p-line__flow-item a {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #15b500;
	max-width: 200px;
	height: 50px;
	margin: 0 auto 20px;
	border-radius: 10px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
}
.p-line__flow-step {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 6px 12px;
	background-color: #002972;
	border-radius: 10px;
	color: #fff;
	/* font-family: var(--wf-notosans); */
	font-size: 15px;
	font-weight: 500;
}
.p-line__flow-title {
	margin: 20px 0 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
}
.p-line__flow-text {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
}
.p-line__notice {
	padding: 15px;
	margin: 30px 0 0;
	border: 1px solid #000;
}
.p-line__notice-title {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
}
.p-line__notice-list {
	margin: 10px 0 0;
}
.p-line__notice-item {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	font-size: 14px;
	line-height: 1.6;
}
.p-line__notice-item::before {
	content: '・';
}
@media (max-width: 767px) {
	.p-line__list-item br {
		display: none;
	}
	.p-line__list-item + .p-line__list-item {
		margin: 10px auto 0;
	}
	.p-line__flow-item + .p-line__flow-item {
		margin: 40px auto 0;
	}
}
@media screen and (min-width: 768px), print {
	.p-line {
		margin: 80px 0 0;
	}
	.p-line__heading {
		font-size: 26px;
	}
	.p-line__text {
		margin: 60px 0 0;
	}
	.p-line__list {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		justify-content: center;
		gap: 30px 30px;
		width: 800px;
		max-width: 800px;
	}
	.p-line__list-item {
		flex: 0 0 200px;
		height: 120px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 12px 20px;
		background-color: #f0f3f8;
		text-align: center;
		font-size: 16px;
		font-weight: 500;
		letter-spacing: 0;
		line-height: 1.6;
	}
	.p-line__flow {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		justify-content: center;
		padding: 60px 15px 40px;
		margin: 40px -15px 0;
		background-color: #f0f3f8;
	}
	.p-line__flow-item {
		position: relative;
		flex: 0 0 300px;
		max-width: 300px;
		padding: 50px 10px 20px;
		margin: 0 auto;
		background-color: #fff;
		text-align: center;
	}
	.p-line__flow-item img {
		width: 150px;
		margin: 0 auto 30px;
	}
	.p-line__flow-item a {
		display: flex;
		align-items: center;
		justify-content: center;
		background-color: #15b500;
		max-width: 200px;
		height: 80px;
		margin: 0 auto 20px;
		border-radius: 10px;
		color: #fff;
		font-size: 20px;
		font-weight: 700;
		letter-spacing: 0;
		line-height: 1;
	}
	.p-line__flow-step {
		position: absolute;
		z-index: 1;
		top: 0;
		left: 50%;
		transform: translate(-50%, -50%);
		padding: 6px 12px;
		background-color: #002972;
		border-radius: 10px;
		color: #fff;
		/* font-family: var(--wf-notosans); */
		font-size: 15px;
		font-weight: 500;
	}
	.p-line__flow-title {
		font-size: 15px;
		font-weight: 700;
		line-height: 1.6;
	}
	.p-line__flow-text {
		margin: 20px 0 0;
		font-size: 13px;
		font-weight: 500;
		line-height: 1.6;
	}
	.p-line__notice {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		width: 800px;
		padding: 15px;
		margin: 30px auto 0;
		border: 1px solid #000;
	}
	.p-line__notice-title {
		font-size: 16px;
		font-weight: 700;
		letter-spacing: 0;
		line-height: 1;
	}
	.p-line__notice-list {
		margin: 0 0 0 40px;
	}
	.p-line__notice-item {
		display: flex;
		align-items: flex-start;
		justify-content: flex-start;
		font-size: 14px;
		line-height: 1.6;
	}
	.p-line__notice-item::before {
		content: '・';
	}
}
.p-tel .p-modelhouse {
	padding-top: 0;
}
.p-tel .p-modelhouse__wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 40px 0;
}
.p-tel .p-modelhouse__list {
	padding: 0;
}
.p-tel .p-modelhouse__item {
	flex: 0 0 50%;
	opacity: 1;
}
.p-tel .p-modelhouse__item .c-modelhouse-item__image {
	height: auto;
}
@media screen and (min-width: 768px), print {
	.p-tel__inner {
		width: 100%;
		max-width: 1000px;
	}
	.p-tel .p-modelhouse {
		padding-top: 0;
	}
	.p-tel .p-modelhouse__inner {
		width: 100%;
		max-width: 1000px;
	}
	.p-tel .p-modelhouse__wrapper {
		flex-wrap: nowrap;
	}
	.p-tel .p-modelhouse__container {
		width: 100%;
		max-width: 1000px;
	}
	.p-tel .p-modelhouse__item {
		flex: 1 1 25%;
	}
	.p-tel .p-modelhouse__item .c-modelhouse-item__image {
		height: 180px;
	}
	.p-tel .p-modelhouse__item .c-modelhouse-item__heading span {
		font-size: 18px;
	}
}
