.main {
	padding: 6.1rem 0 20rem;
	overflow: hidden;
}

/* 背景 */
.bg {
	background-image: url(../img/top,header,footer/top_bg.webp);
	background-repeat: no-repeat;
	background-size: cover;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: -1;
}

/* hero */
.keyvisual {
	background-image: url(../img/top,header,footer/top_keyvisual_pic.webp);
	background-size: cover;
	width: 100%;
	height: 65.3rem;
	margin: 0 0 16rem;
	padding-left: 10.5rem;
	position: relative;
}

.keyvisual h2 {
	width: 71.3rem;
	font-size: 5.4rem;
	font-weight: 400;
	font-family: "Shippori Mincho", sans-serif;
	padding-top: 8rem;
	line-height: calc(81 / 54);
	color: #E95295;
	margin-bottom: 16.8rem;
}

.keyvisual h2 span {
	display: inline-block;
	opacity: 0;
	transform: translateY(3rem);
	animation: slideUp 0.6s ease forwards;
	background-color: #FFFFFF;
}

@keyframes slideUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.keyvisual ul {
	display: flex;
	flex-wrap: wrap;
	width: 30rem;
	gap: 1.5rem;
	margin-left: -6.5rem;
}

.keyvisual li a {
	width: 14rem;
	height: 10rem;
	background-color: #FFFFFF;
	border-radius: 0 1.6rem 0 0;
	text-align: center;
	font-size: 1.6rem;
	font-weight: 400;
	font-family: "LINE Seed JP", sans-serif;
	padding-bottom: 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	justify-content: end;
	align-items: center;
}

.keyvisual li:nth-child(1) img {
	width: 2.8rem;
	height: 3rem;
	margin-inline: auto;
}

.keyvisual li:nth-child(2) img {
	width: 3rem;
	height: 2.5rem;
	margin-inline: auto;
}

.keyvisual li:nth-child(3) img {
	width: 4.8rem;
	height: 4.8rem;
	margin-inline: auto;
}

.keyvisual li:nth-child(4) img {
	width: 2.4rem;
	height: 2.4rem;
	margin-inline: auto;
}

.keyvisual__deco {
	width: 29.2rem;
	height: 21.9rem;
	position: absolute;
	right: 0;
	bottom: -3.2rem;
}

/* about */
.about {
	display: flex;
	gap: 8rem;
	justify-content: center;
	margin-bottom: 10rem;
}

.about__text {
	width: 40rem;
}

.about__text h2 {
	font-size: 2.7rem;
	font-weight: 400;
	font-family: "Shippori Mincho", sans-serif;
	color: #333333;
	line-height: calc(40 / 27);
	margin-bottom: 2rem;
}

.about__text p {
	margin-bottom: 3.6rem;
	font-size: 1.8rem;
	font-weight: 400;
	font-family: "LINE Seed JP", sans-serif;
	line-height: calc(36 / 18);
	color: #333333;
}

.about__text a {
	background-color: #ECAE50;
	border-radius: 0.8rem;
	color: #FFFFFF;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.8rem;
	font-weight: 400;
	line-height: calc(36 / 18);
	width: 15.2rem;
	height: 5rem;
}

.about__img {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	width: 47rem;
}

.about__img img {
	width: 22rem;
	height: 18rem;
	border-radius: 0.8rem;
}

.about__img img:last-child {
	width: 47rem;
}

.youtube{
	margin-inline: auto;
	display: block;
	width: 56rem;
	height: auto;
	aspect-ratio: 16 / 9;
	margin-bottom: 10rem;
}

/* facility */
.facility {
	margin-bottom: 18rem;
}

.facility h2 {
	font-size: 2.7rem;
	font-weight: 400;
	font-family: "Shippori Mincho", sans-serif;
	color: #333333;
	margin-left: 16.5rem;
	margin-bottom: 2rem;
}

.facility-container {
	display: flex;
	gap: 2.5rem;
	justify-content: center;
}

.facility-container a div {
	width: 30rem;
	height: 20rem;
	position: relative;
	margin-bottom: 1.3rem;
	border-radius: 0.8rem;
	overflow: hidden;
}

.facility-container img {
	width: 100%;
	height: 100%;
}

.facility-container p {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 12rem;
	height: 3rem;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.6rem;
	color: #FFFFFF;
	border-radius: 0 0.8rem 0 0.8rem;
}

.facility-container a:nth-child(1) p {
	background-color: #DC6B76;
}

.facility-container a:nth-child(2) p {
	background-color: #F394CD;
}

.facility-container a:nth-child(3) p {
	background-color: #44B1A8;
}

.facility-container h3 {
	font-size: 2.4rem;
	font-weight: 700;
	font-family: "Shippori Mincho", sans-serif;
	color: #333333;
}

.facility-container a{
	transition: all 0.3s ease;
}

.facility-container a:hover{
	transform: scale(1.1);
}

.facility-container a:nth-child(1):hover h3{
	color: #DC6B76;
}

.facility-container a:nth-child(2):hover h3{
	color: #F394CD;
}

.facility-container a:nth-child(3):hover h3{
	color: #44B1A8;
}

/* recruit */
.recruit {
	margin-bottom: 23.4rem;
	position: relative;
}

.recruit h2 {
	text-align: center;
	font-size: 2.7rem;
	font-weight: 400;
	color: #333333;
	font-family: "Shippori Mincho", sans-serif;
	margin-bottom: 2rem;
	line-height: calc(40 / 27);
}

.recruit p {
	font-size: 1.8rem;
	font-weight: 400;
	font-family: "LINE Seed JP", sans-serif;
	text-align: center;
	line-height: calc(36 / 18);
	margin-bottom: 7rem;
	color: #333333;
}

.recruit a {
	margin-inline: auto;
	width: 15.2rem;
	height: 5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.8rem;
	font-weight: 400;
	font-family: "LINE Seed JP", sans-serif;
	color: #FFFFFF;
	background-color: #ECAE50;
	border-radius: 0.8rem;
}

.recruit figure {
	position: absolute;
	width: 15rem;
	height: 15rem;
	border-radius: 50%;
	animation: floatY 2s ease-in-out infinite alternate;
}

/* 縦揺れのキーフレーム定義 */
@keyframes floatY {
	0% {
		transform: translateY(0);
	}

	100% {
		transform: translateY(2rem);
	}
}

.recruit figure:nth-of-type(1) {
	top: 0;
	left: 16.5rem;
}

.recruit figure:nth-of-type(2) {
	top: 22rem;
	left: 24rem;
}

.recruit figure:nth-of-type(3) {
	top: 0;
	right: 16.5rem;
}

.recruit figure:nth-of-type(4) {
	top: 17rem;
	right: 24rem;
}

/* news */
.news {
	margin-bottom: 19.3rem;
}

.news h2 {
	font-size: 2.7rem;
	font-weight: 400;
	color: #333333;
	font-family: "Shippori Mincho", sans-serif;
	margin-left: 16.5rem;
	margin-bottom: 2rem;
}

.news .news__item {
	display: flex;
	border-bottom: 0.1rem solid #CCCCCC;
	width: 95rem;
	padding: 2.7rem 0 2.7rem 2rem;
	margin-inline: auto;
	position: relative;
}

.news .news__item:first-of-type {
	border-top: 0.1rem solid #CCCCCC;
}

.news time {
	width: 15rem;
	font-size: 1.8rem;
	font-weight: 400;
	font-family: "LINE Seed JP", sans-serif;
	text-wrap: nowrap;
}

.news p {
	margin-left: 5.7rem;
	font-size: 1.8rem;
	font-weight: 400;
	font-family: "LINE Seed JP", sans-serif;
}

.news span {
	position: absolute;
	right: 0;
	background-color: #E95295;
	border-radius: 50%;
	width: 3rem;
	height: 3rem;
	color: #FFFFFF;
	font-size: 1.6rem;
	font-weight: 400;
	font-family: "LINE Seed JP", sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
}

.news__link {
	margin: 4rem auto 0;
	display: flex;
	width: 18.7rem;
	height: 5rem;
	align-items: center;
	justify-content: center;
	color: #FFFFFF;
	background-color: #ECAE50;
	border-radius: 0.8rem;
	font-size: 1.8rem;
	font-weight: 400;
	font-family: "LINE Seed JP", sans-serif;
}

/* contact */
.contact{
	scroll-margin-top: 10rem;
}

.contact h2 {
	text-align: center;
	font-size: 2.7rem;
	font-weight: 400;
	font-family: "Shippori Mincho", sans-serif;
	margin-bottom: 1.8rem;
}

.contact form {
	width: fit-content;
	margin: 0 auto;
}

.contact__form {
	display: flex;
	flex-direction: column;
	gap: 3.5rem;
	font-size: 1.8rem;
	font-weight: 400;
	font-family: "LINE Seed JP", sans-serif;
}

.contact__text {
	gap: 5.8rem;
	display: flex;
}

.contact__text input {
	background-color: #FFFFFF;
	border: 0.1rem solid #CCCCCC;
	width: 47.5rem;
	height: 5rem;
	align-items: center;
	padding-inline: 1.5rem;
}

.contact__label {
	width: 15rem;
	display: flex;
	align-items: start;
}

.contact__form input {
	appearance: auto;
}

.wpcf7-form-control.wpcf7-radio {
	display: flex;
	align-items: center;
	gap: 6.7rem;
}

.contact__radio-btns {
	display: flex;
	gap: 5.8rem;
}

.contact__radio-btns input {
	accent-color: #E95295;
	inline-size: 1.6rem;
	block-size: 1.6rem;
	border-color: #E95295;
}

.wpcf7-list-item {
	margin: 0;
}

.contact--textarea textarea {
	width: 47.5rem;
	height: 21.8rem;
	resize: none;
	overflow-x: auto;
	border: 0.1rem solid #CCCCCC;
	background-color: #FFFFFF;
	padding: 1.5rem;
}

.contact__submit {
	display: flex;
	justify-content: center;
	margin-top: 0.5rem;
}

.contact__submit input {
	background-color: #ECAE50;
	color: #FFFFFF;
	width: 15.1rem;
	height: 5rem;
	border-radius: 0.8rem;
}

.wpcf7-spinner {
	display: none;
}

@media screen and (max-width:699.98px) {
	.main {
		overflow: hidden;
		padding-top: 9rem;
	}

	.bg {
		background-size: cover;
	}

	.bg img{
		position: relative;
		object-position: -15rem 10rem;
	}

	/* keyvisual */
	.keyvisual {
		margin-left: 0;
		padding-left: 0;
		width: 100%;
		height: 44.5rem;
		background-position: -15rem 0;
		margin-bottom: 20rem;
	}

	.keyvisual h2 {
		width: 31rem;
		font-size: 2.2rem;
		padding-top: 4rem;
		padding-left: 1.5rem;
		margin-bottom: 21rem;
	}

	.keyvisual ul {
		width: 17rem;
		margin-left: 1.5rem;
		gap: 0.8rem;
	}

	.keyvisual li a {
		width: 8rem;
		height: 8rem;
		gap: 0.5rem;
		padding-bottom: 0.9rem;
		font-size: 1.2rem;
	}

	.keyvisual li:nth-child(3) img {
		width: 4rem;
		height: 4rem;
	}

	.keyvisual__deco {
		width: 15rem;
		height: 11.2rem;
		bottom: -5rem;
	}

	/* about */
	.about {
		flex-direction: column;
		align-items: center;
		gap: 2rem;
	}

	.about__text {
		width: 34.5rem;
	}

	.about__text h2 {
		font-size: 2.4rem;
		line-height: calc(36 / 24);
	}

	.about__text p {
		font-size: 1.6rem;
		line-height: calc(32 / 16);
	}

	.about__img {
		width: 34.5rem;
		gap: 1.5rem;
	}

	.about__img img {
		width: 16.5rem;
		height: 13rem;
	}

	.about__img img:last-child {
		width: 34.5rem;
	}

	.youtube{
		width: 34.5rem;
	}

	/* facility */
	.facility h2 {
		margin-left: 1.5rem;
		font-size: 2.4rem;
	}

	.facility-container {
		flex-direction: column;
		align-items: center;
		gap: 3.7rem;
	}

	.facility-container h3{
		font-size: 2rem;
	}

	/* recruit */
	.recruit {
		margin-bottom: 58.4rem;
	}

	.recruit h2{
		font-size: 2.4rem;
		line-height: calc(36 / 24);
	}

	.recruit p{
		font-size: 1.6rem;
		line-height: calc(32 / 16);
		margin-bottom: 3.7rem;
	}

	.recruit figure:nth-of-type(1) {
		top: auto;
		bottom: -20.4rem;
		left: 1.5rem;
	}

	.recruit figure:nth-of-type(2) {
		width: 13rem;
		height: 13rem;
		top: auto;
		left: 1.5rem;
		bottom: -40.4rem;
	}

	.recruit figure:nth-of-type(3) {
		top: auto;
		right: 1.5rem;
		width: 12rem;
		height: 12rem;
		bottom: -16rem;
	}

	.recruit figure:nth-of-type(4) {
		top: auto;
		right: 1.5rem;
		bottom: -36rem;
	}

	/* news */
	.news{
		margin-bottom: 18rem;
	}

	.news h2{
		font-size: 2.4rem;
		margin-left: 1.5rem;
	}

	.news .news__item{
		flex-direction: column;
		width: 34.5rem;
		padding: 2.3rem 1rem 3.7rem 1rem;
		gap: 1.3rem;
	}

	.news time{
		font-size: 1.4rem;
	}

	.news__item p{
		margin-left: 0;
		font-size: 1.6rem;
	}

	.news span{
		bottom: 1rem;
		right: 1rem;
	}
	/* contact */
	.contact h2{
		font-size: 2.4rem;
	}

	.contact__radio-btns{
		flex-direction: column;
		gap: 1.2rem;
	}

	.contact__text{
		flex-direction: column;
		gap: 1.2rem;
	}

	.contact__text input{
		width: 32.5rem;
	}

	.contact--textarea textarea{
		width: 32.5rem;
	}
}