@charset "UTF-8";

.wrap.lower {
	padding: 137px 0 164px;
}

.lower .lead {
	margin: 0 auto;
	width: 90%;
	max-width: 706px;
}

.lower .lead img {
	position: absolute;
}

.lower .lead .lead-l {
	left: -177px;
	bottom: -46px;
}

.lower .lead .lead-r img {
	position: absolute;
	right: -186px;
	bottom: -110px;
}

@media screen and (max-width: 1230px) {
	.lower .lead .lead-l {
		display: none;
	}

	.lower .lead .lead-r img {
		display: block;
		position: relative;
		right: auto;
		bottom: auto;
		margin: 80px auto 0;
		max-width: max-content;
	}
}

/* タブ */

.fade-tab-container {
	max-width: 900px;
	margin: 158px auto 0;
	overflow: hidden;
}

.fade-tab-container>h2 {
	color: #EA6861;
	display: block;
	font-family: "Zen Maru Gothic", sans-serif;
	font-size: 25px;
	letter-spacing: .05em;
	line-height: 1.32;
	position: relative;
	margin: 0 auto;
	max-width: max-content;
}

.fade-tab-container>h2::before {
	content: "";
	position: absolute;
	bottom: 0;
	background: #EA6861;
	border-radius: 2px;
	width: 100%;
	height: 2px;
}

/* ラジオボタンを隠す */
.fade-tab-container input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

/* タブボタンエリア */
.fade-tab-buttons {
	display: flex;
	gap: 16px;
	margin: 56px auto 0;
	width: 100%;
	max-width: 690px;
}

.fade-tab-buttons label {
	flex: 1;
	padding: 10px 22px;
	text-align: center;
	border: 2px solid transparent;
	border-radius: 30px;
	cursor: pointer;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 25px;
	font-weight: bold;
	transition: all 0.3s ease;
	position: relative;
}

.fade-tab-buttons label::before {
	content: "";
	background: url(../img/arrow-w.svg) no-repeat;
	background-size: contain;
	position: absolute;
	right: 19px;
	width: 22px;
	height: 22px;
}

.fade-tab-buttons label[for="asobi"] {
	background: #EA6861;
}

.fade-tab-buttons label[for="syokuiku"] {
	background: #FFB108;
	gap: 37px;
}

.fade-tab-buttons label[for="wadaiko"] {
	background: #4F9F89;
}

/* アクティブなタブ */
.fade-tab-buttons label[for="asobi"]:hover,
#asobi:checked~.fade-tab-buttons label[for="asobi"] {
	background: #fff;
	border: 2px solid #EA6861;
	color: #EA6861;
}

.fade-tab-buttons label[for="asobi"]:hover::before,
#asobi:checked~.fade-tab-buttons label[for="asobi"]::before {
	background: url(../img/education/arrow-asobi.svg) no-repeat;
	background-size: contain;
}

.fade-tab-buttons label[for="asobi"]:hover svg path,
#asobi:checked~.fade-tab-buttons label[for="asobi"] svg path {
	stroke: #EA6861;
}

.fade-tab-buttons label[for="syokuiku"]:hover,
#syokuiku:checked~.fade-tab-buttons label[for="syokuiku"] {
	background: #fff;
	border: 2px solid #FFB108;
	color: #FFB108;
}

.fade-tab-buttons label[for="syokuiku"]:hover::before,
#syokuiku:checked~.fade-tab-buttons label[for="syokuiku"]::before {
	background: url(../img/education/arrow-syokuiku.svg) no-repeat;
	background-size: contain;
}

.fade-tab-buttons label[for="syokuiku"]:hover svg path,
#syokuiku:checked~.fade-tab-buttons label[for="syokuiku"] svg path {
	stroke: #FFB108;
}

.fade-tab-buttons label[for="wadaiko"]:hover,
#wadaiko:checked~.fade-tab-buttons label[for="wadaiko"] {
	background: #fff;
	border: 2px solid #4F9F89;
	color: #4F9F89;
}

.fade-tab-buttons label[for="wadaiko"]:hover::before,
#wadaiko:checked~.fade-tab-buttons label[for="wadaiko"]::before {
	background: url(../img/education/arrow-wadaiko.svg) no-repeat;
	background-size: contain;
}

.fade-tab-buttons label[for="wadaiko"]:hover svg path,
#wadaiko:checked~.fade-tab-buttons label[for="wadaiko"] svg path {
	stroke: #4F9F89;
}

/* コンテンツエリア */
.tab-contents {
	position: relative;
}

.tab-content {
	display: none;
	text-align: center;
	margin-top: 130px;
	animation: fadeInContent 0.6s ease;
}

/* フェードインアニメーション */
@keyframes fadeInContent {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

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

/* アクティブなコンテンツを表示 */
#asobi:checked~.tab-contents #asobi,
#syokuiku:checked~.tab-contents #syokuiku,
#wadaiko:checked~.tab-contents #wadaiko {
	display: block;
}

/* 保育内容 */

.tab-content h2 {
	color: #fff;
	font-size: 30px;
	letter-spacing: .05em;
	line-height: 1.86;
	position: relative;
	z-index: 1;
}

.tab-content h2::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -45%);
	width: 172px;
	height: 138px;
	z-index: -1;
}

#asobi h2 {
	margin-bottom: 25px;
}

#asobi h2::before {
	background: url(../img/education/asobi-heart.svg) no-repeat;
	background-size: contain;
}

#syokuiku h2 {
	margin: 0;
}

#syokuiku h2::before {
	background: url(../img/education/syokuiku-heart.svg) no-repeat;
	background-size: contain;
}

#wadaiko h2 {
	margin-bottom: 9px;
}

#wadaiko h2::before {
	background: url(../img/education/wadaiko-heart.svg) no-repeat;
	background-size: contain;
}

.img-wrap {
	position: relative;
}

.img-wrap span {
	background: #5EAC97;
	border-radius: 8px;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 1.11;
	text-align: center;
	padding: 10px 26px;
	position: absolute;
	left: -24px;
	bottom: 0;
}

.img-wrap img {
	border-radius: 30px;
	width: 384px;
	height: 209px;
	object-fit: cover;
}

.education-wrap {
	border: 3px solid #EE7D76;
	border-radius: 45px;
	box-sizing: border-box;
	padding: 16px;
	position: relative;
	margin: 0 auto;
	width: 848px;
}

.education-wrap.one {
	display: flex;
	align-items: center;
}

#wadaiko .education-wrap.one {
	padding: 24px 40px;
	text-align: left;
	margin-top: 15px;
}

#wadaiko .education-wrap.one>span {
	background: #5EAC97;
	border-radius: 8px;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 1.11;
	text-align: center;
	padding: 10px 26px;
	margin-right: 39px;
}

#wadaiko .education-wrap.one p {
	text-align: left;
	max-width: 342px;
	margin-left: auto;
}

#wadaiko .education-wrap.one:first-of-type {
	gap: 62px;
	margin-top: 0;
	padding-left: 48px;
}

#wadaiko .education-wrap.one:first-of-type p {
	margin-top: 7px;
}

#asobi .education-wrap.one p {
	margin-top: 11px;
	margin-left: 32px;
	max-width: none;
}

.tab-content .col {
	display: flex;
	gap: 16px;
	margin: 14px auto 0;
	width: 848px;
}

.education-wrap.side-r::before {
	content: "";
	position: absolute;
	right: 10px;
	bottom: -75px;
	background: url(../img/education/side.webp) no-repeat;
	background-size: contain;
	width: 23px;
	height: 103px;
	z-index: 1;
}

.education-wrap.side-l::before {
	content: "";
	position: absolute;
	left: 21px;
	bottom: -61px;
	transform: rotate(-180deg);
	background: url(../img/education/side.webp) no-repeat;
	background-size: contain;
	width: 23px;
	height: 103px;
	z-index: 1;
}

.education-wrap.center::after {
	content: "";
	position: absolute;
	right: -70px;
	bottom: 10px;
	background: url(../img/education/center.webp) no-repeat;
	background-size: contain;
	width: 103px;
	height: 23px;
	z-index: 1;
}

.education-wrap h3 {
	color: #EA6861;
	font-size: 25px;
	letter-spacing: .05em;
	line-height: 1.32;
}

.tab-content .col h3 {
	margin-top: 14px;
}

.tab-content .col p {
	margin-top: 8px;
	min-height: calc(1em * 1.375 * 3)
}

@media screen and (max-width: 1230px) {
	.fade-tab-container {
		margin-top: 90px;
	}
}

@media screen and (max-width: 1040px) {

	.tab-content .col {
		display: block;
		width: 100%;
		margin-top: 0;
	}

	.education-wrap {
		display: flex;
		align-items: flex-start;
		gap: 32px;
		margin-top: 6px;
		width: 90%;
	}

	.img-wrap,
	.img-wrap img {
		flex-shrink: 0;
		width: 100%;
		max-width: 312px;
	}

	.education-wrap.side-l::before,
	.education-wrap.side-r::before,
	.education-wrap.center::after {
		content: none;
	}

	.tab-contents .education-wrap::after {
		content: "";
		position: absolute;
		right: 9px;
		bottom: -50px;
		background: url(../img/education/side_sp.svg) no-repeat;
		background-size: contain;
		width: 30px;
		height: 81px;
		z-index: 1;
	}

	.tab-contents .education-wrap.end::after {
		content: none;
	}

	.education-wrap h3,
	.education-wrap p {
		text-align: left;
	}

	#asobi .education-wrap.one p {
		margin-left: 0;
	}

	.education-wrap p {
		margin-top: 9px;
	}

	.tab-content h2 {
		margin-bottom: 25px !important;
	}

	#wadaiko .education-wrap.one {
		padding-left: 0;
	}

	#wadaiko .education-wrap.one>span {
		margin-left: -11px;
		margin-right: 29px;
	}

	#wadaiko .education-wrap.one p {
		max-width: 40%;
	}

	#wadaiko .education-wrap.one:first-of-type {
		flex-flow: row-reverse;
		padding: 16px;
	}

	#wadaiko .education-wrap.one:first-of-type p {
		max-width: none;
	}
}

/* イベント */

.event {
	margin: 155px auto 0;
	width: 90%;
	max-width: 1008px;
}

.event .col {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 52px 48px;
	margin-top: 78px;
}

.event .col div {
	position: relative;
	width: 480px;
	height: 436px;
}

.event .col span {
	border-radius: 50%;
	color: #fff;
	font-size: 35px;
	font-weight: bold;
	width: 81px;
	height: 81px;
	line-height: 81px;
	text-align: center;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -23px;
}

.event .col img {
	display: block;
	margin: 23px auto 0;
	width: 430px;
}

.event .col p {
	background: #fff;
	border-radius: 20px;
	box-sizing: border-box;
	text-align: left;
	padding: 17px 23px;
	margin: 21px auto 27px;
	width: 430px;
	height: 158px;
}

.event .spring {
	background: url(../img/education/spring-back_pc.png) no-repeat;
}

.event .spring span {
	background: #EA6861;
}

.event .summer {
	background: url(../img/education/summer-back_pc.png) no-repeat;
}

.event .summer span {
	background: #4F9F89;
}

.event .autumn {
	background: url(../img/education/autumn-back_pc.png) no-repeat;
}

.event .autumn span {
	background: #FFB108;
}

.event .winter {
	background: url(../img/education/winter-back_pc.png) no-repeat;
}

.event .winter span {
	background: #3CB1CC;
}

.monthly {
	background: #F5F5F5;
	border: 2px solid #747474;
	border-radius: 30px;
	position: relative;
	margin-top: 76px;
}

.monthly h3 {
	background: #747474;
	border-radius: 30px;
	color: #fff;
	display: block;
	font-size: 35px;
	letter-spacing: .1em;
	line-height: 1.17;
	text-align: center;
	padding: 12px 76px;
	margin: -32px auto 0;
	max-width: max-content;
}

.monthly p {
	text-align: left;
	margin: 35px auto 50px;
	max-width: 830px;
	width: 90%;
}

@media screen and (max-width: 1250px) {

	.event {
		max-width: 688px;
	}

	/* イベント sp */

	.event .col p {
		height: auto;
	}

	.event .col span {
		z-index: 2;
	}

	.event .col img {
		position: relative;
		z-index: 1;
	}

	.event .spring {
		background: #FFEDEB;
		border: 2px solid #EA6861;
	}

	.event .spring::before {
		background-image: url(../img/education/spring-back_sp.svg);
		background-repeat: no-repeat;
		background-color: #fff;
		background-size: contain;
		background-position: center bottom -2px;
	}

	.event .summer {
		background: #ECF9F6;
		border: 2px solid #4F9F89;
	}

	.event .summer::before {
		background-image: url(../img/education/summer-back_sp.svg);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center bottom -2px;
	}

	.event .autumn {
		background: #FFF4EB;
		border: 2px solid #FFB108;
	}

	.event .autumn::before {
		background-image: url(../img/education/autumn-back_sp.svg);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center bottom -2px;
	}

	.event .winter {
		background: #ECF7F9;
		border: 2px solid #3CB1CC;
	}

	.event .winter::before {
		background-image: url(../img/education/winter-back_sp.svg);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center bottom -2px;
	}

	.event .spring,
	.event .summer,
	.event .autumn,
	.event .winter {
		border-top: none;
		border-radius: 0 0 30px 30px;
		box-sizing: border-box;
		padding: 0 16px 16px;
		position: relative;
	}

	.event .spring::before,
	.event .summer::before,
	.event .autumn::before,
	.event .winter::before {
		content: "";
		background-color: #fff;
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		width: calc(100% + 4px);
		height: 82px;
		z-index: 1;
	}

	.event .col {
		gap: 75px 28px;
	}

	.event .col div {
		width: 330px;
		height: auto;
		margin: 0 auto;
	}

	.event .col img {
		width: 100%;
		max-width: 296px;
	}

	.event .col p {
		margin: 21px auto 0;
		width: 90%;
		padding: 7px 15px;
		min-height: calc(1em * 1.375 * 6);
	}
}

@media screen and (max-width: 860px) {
	.event .col {
		grid-template-columns: repeat(1, 1fr);
		gap: 64px;
	}

	.event .col div {
		width: 100%;
		max-width: 330px;
	}

	.event .col p {
		margin: 14px auto 0;
	}
}

/* スライダー */

.loopslide {
	margin-top: 152px;
}

.loopslide .splide {
	width: 1720px;
}

.loopslide .splide__track {
	overflow: visible;
}

@media screen and (max-width: 1250px) {

	.loopslide {
		margin-top: 176px;
		width: 100%;
		overflow: hidden;
	}

	.loopslide .splide,
	.loopslide .splide__slide img {
		width: 1260px;
	}
}

/* 1日の流れ */

.flow {
	margin: 128px auto 0;
	width: 90%;
	max-width: 943px;
}

.flow h3 {
	color: #5EAC97;
	font-size: 21px;
	letter-spacing: .05em;
	text-align: center;
	margin-left: 74px;
}

.flow h3 span {
	font-size: 30px;
}

.flow h4 {
	color: #4F9F89;
	display: block;
    flex-shrink: 0;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 1;
	text-align: center;
	position: relative;
	width: 72px;
	z-index: 1;
}

.flow h4::before {
	content: "";
	background: #fff;
	border: 2px solid #4F9F89;
	border-radius: 50%;
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 72px;
	height: 72px;
	z-index: -1;
}

.flow h4::after {
	content: "";
	background: #4F9F89;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -72px;
	width: 2px;
	height: 72px;
	z-index: -2;
}

.flow li:last-child h4::after {
	content: none;
}

.flow h4 span {
	color: #3D3D3D;
	display: block;
	font-size: 16px;
}

.flow .col {
	display: flex;
	justify-content: space-between;
	gap: 46px;
	margin-top: 50px;
}

.flow .col ul {
	margin-top: 13px;
}

.flow .col li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}

.flow .col li:first-child {
	margin-top: 0;
}

.flow .col li p {
	background: #FFEDEB;
	border-radius: 10px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	padding: 20px 29px;
	text-align: left;
	width: 100%;
	max-width: 368px;
	height: 100px;
}

.flow .col li:nth-child(even) p {
	background: #ECF9F6;
}

@media screen and (max-width: 1000px) {
	.flow .col {
		display: block;
	}

	.flow .col ul {
		margin-top: 24px;
	}

	.flow h3 {
		margin-left: 0;
	}

	.flow .col li p {
		max-width: none;
		height: auto;
		min-height: 72px;
	}

	.flow .col>div:last-child {
		margin-top: 64px;
	}
}

/* sp */

@media screen and (max-width: 767px) {

	.wrap.lower {
		padding: 86px 0 67px;
		max-width: 100%;
	}

	/* リード sp */
	.lower .lead .lead-r img {
		width: 89px;
		height: 148px;
		margin-top: 26px;
	}

	/* タブ sp */
	.fade-tab-container {
		margin-top: 40px;
	}

	.fade-tab-buttons {
		flex-flow: column;
		margin-top: 38px;
		max-width: 216px;
	}

	.fade-tab-buttons label svg {
		width: 22px;
		height: 20px;
	}

	.tab-content h2::before {
		width: 155px;
		height: 124px;
	}

	.education-wrap.one,
	.education-wrap {
		flex-flow: column;
		gap: 13px;
	}

	#wadaiko .education-wrap.one:first-of-type {
		flex-flow: column-reverse;
		gap: 13px;
	}

	#wadaiko .education-wrap.one {
		padding: 16px;
	}

	.education-wrap {
		border-radius: 15px;
		margin-top: 10px;
		padding: 8px;
	}

	.img-wrap,
	.img-wrap img {
		border-radius: 10px;
		max-width: none;
		height: 148px;
	}

	.education-wrap h3 {
		text-align: center;
	}

	#asobi .education-wrap.one p,
	.education-wrap p {
		margin-top: 9px;
	}

	#wadaiko .education-wrap.one .col {
		gap: 0;
	}

	#wadaiko .education-wrap.one>span {
		position: absolute;
		left: 0;
		top: 20px;
	}

	#wadaiko .education-wrap.one h3 {
		margin-top: 46px;
	}

	#wadaiko .education-wrap.one:first-of-type h3 {
		margin-top: 0;
	}

	#wadaiko .education-wrap.one p {
		max-width: none;
	}

	.tab-content .col h3 {
		margin-top: 0;
	}

	/* イベント sp */

	.event {
		margin-top: 85px;
	}

	.event .col p {
		width: 100%;
	}

	.monthly {
		border-radius: 20px;
	}

	.monthly h3 {
		font-size: 25px;
		line-height: 1.2;
		padding: 8px 43px;
	}

	.monthly p {
		margin: 22px auto 42px;
	}

	/* スライダー */
	.loopslide {
		margin-top: 72px;
	}

	.loopslide .splide,
	.loopslide .splide__slide img {
		width: 961px;
	}

	/* 流れ sp */
	.flow {
		margin-top: 64px;
	}

	.flow .col,
	.flow .col>div:last-child {
		margin-top: 30px;
	}

	.flow .col li {
		gap: 12px;
	}
}