@charset "UTF-8";

.wrap {
	padding: 124px 0 170px;
}

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

.lower .lead img {
	position: absolute;
	bottom: 0;
}

.lower .lead img:nth-of-type(1) {
	left: -100px;
}

.lower .lead img:nth-of-type(2) {
	right: -223px;
}

@media screen and (max-width: 1200px) {
	.lower .lead img:nth-of-type(1) {
		display: none;
	}

	.lower .lead img:nth-of-type(2) {
		display: block;
		position: relative;
		right: auto;
		margin: 24px auto 0;
		max-width: max-content;
	}
}

/* 保育方針 */

.policy {
	margin: 178px auto 0;
	width: 90%;
	max-width: 965px;
}

.policy .col:first-child {
	margin-top: 50px;
}

.policy .col {
	display: flex;
	align-items: center;
	justify-content: left;
}

.policy .col:nth-child(odd) {
	flex-flow: row-reverse;
}

.policy .col ol {
	counter-reset: counter;
}

.policy .col li {
	counter-increment: counter;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 1.11;
	padding-left: 50px;
	position: relative;
}

.policy .col li::before {
	content: counter(counter);
	color: #fff;
	font-family: "Zen Maru Gothic", sans-serif;
	position: absolute;
	top: -8px;
	left: 0;
	width: 35px;
	height: 35px;
	text-align: center;
	line-height: 30px;
}

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

.policy .col:nth-of-type(1) {
	gap: 56px;
}

.policy .col:nth-of-type(1) li {
	margin-top: 33px;
}

.policy .col:nth-of-type(1) li::before {
	background: url(../img/about/abou-list_1.webp) no-repeat;
	background-size: contain;
}

.policy .col:nth-of-type(2) {
	gap: 15px;
	justify-content: space-between;
}

.policy .col:nth-of-type(2) li {
	margin-top: 21px;
}

.policy .col:nth-of-type(2) li::before {
	background: url(../img/about/abou-list_2.webp) no-repeat;
	background-size: contain;
}

.policy .col:nth-of-type(3) {
	gap: 32px;
}

.policy .col:nth-of-type(3) li {
	margin-top: 17px;
}

.policy .col:nth-of-type(3) li::before {
	background: url(../img/about/abou-list_3.webp) no-repeat;
	background-size: contain;
}

/* 施設案内 モーダル */

.modal-back {
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, .4);
	position: fixed;
	top: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	z-index: -1;
	transition: .3s;
}

.modal {
	position: relative;
	opacity: 0;
	visibility: hidden;
	height: 0;
	transition: opacity .3s;
	display: none;
}

.close {
	display: none;
	width: 32px;
	height: 32px;
	position: absolute;
	top: 35px;
	right: 36px;
	cursor: pointer;
}

/* モーダル ボタン */

.facility {
	margin-top: 186px;
}

.map {
	position: relative;
}

.facility .col:has(.map-1) {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 70px;
	margin-top: 38px;
}

.map-1-img {
	width: 479px;
}

.map-1f {
	background: url(../img/about/about-1f.svg) no-repeat;
	background-size: contain;
	display: block;
	margin: 0 auto 75px;
	width: 40px;
	height: 45px;
}

.map-2-img {
	width: 453px;
}

.map-2f {
	background: url(../img/about/about-2f.svg) no-repeat;
	background-size: contain;
	display: block;
	margin: 0 auto 77px;
	width: 51px;
	height: 45px;
}

.map-3 {
	border-top: 4px dashed #EA6861;
	border-left: 4px dashed #EA6861;
	border-radius: 30px 0 0;
	box-sizing: border-box;
	padding: 38px 0 0 28px;
}

.map-3 img {
	width: 480px;
}

.facility .col:has(.map-3) {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 36px;
	margin-top: -115px;
}

.btn__link {
	cursor: pointer;
	position: absolute;
	width: 40px;
	height: 58px;
	transition: .2s;
	z-index: 1;
	animation: bounce 3s infinite;
}

@keyframes bounce {
	0% {
		transform: translateY(0) scale(1.1, .8);
	}

	5% {
		transform: translateY(-7px) scale(1);
	}

	10% {
		transform: translateY(0) scale(1);
	}
}

.btn__link .off,
.btn__link .on {
	position: absolute;
}

.btn__link .off {
	opacity: 1;
	background: url(../img/about/about-map-icon.svg) no-repeat;
	background-size: contain;
	width: 40px;
	height: 58px;
	animation: zoom-btn-off1 .2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.btn__link:hover .off {
	opacity: 0;
	animation: zoom-btn-off2 .2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

@keyframes zoom-btn-off1 {
	0% {
		transform: scale(1.2);
	}

	100% {
		transform: scale(1);
	}
}

@keyframes zoom-btn-off2 {
	0% {
		transform: scale(1);
	}

	20% {
		transform: scale(0.8);
	}

	100% {
		transform: scale(0.8);
	}
}

.btn__link .on {
	opacity: 0;
	background: url(../img/about/about-map-icon_hover.svg) no-repeat;
	background-size: contain;
	width: 56px;
	height: 82px;
	top: -8px;
	left: -8px;
	animation: zoom-btn-on1 .2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.btn__link:hover .on {
	opacity: 1;
	animation: zoom-btn-on2 .2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

@keyframes zoom-btn-on1 {
	0% {
		opacity: 1;
		transform: scale(1);
	}

	40% {
		opacity: 0;
		transform: scale(0.8);
	}

	100% {
		opacity: 0;
		transform: scale(0.8);
	}
}

@keyframes zoom-btn-on2 {
	0% {
		opacity: 0;
		transform: scale(0.8);
	}

	20% {
		opacity: 0;
		transform: scale(0.8);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.map .kitchen {
	top: -33px;
	left: 211px;
}

.map .tampopo {
	top: -33px;
	left: 324px;
}

.tulip {
	top: 66px;
	left: 356px;
}

.terrace {
	top: 56px;
	left: 420px;
}

.hall {
	top: 152px;
	left: 124px;
}

.sumire {
	top: 160px;
	left: 356px;
}

.entrance {
	top: 330px;
	left: 60px;
}

.toilet {
	top: 284px;
	left: 167px;
}

.sakura {
	top: 294px;
	left: 304px;
}

.ohisama {
	top: 11px;
	left: 45px;
}

.pool {
	top: 32px;
	left: 373px;
}

.parking {
	top: 170px;
	left: 12px;
}

.garden {
	top: 316px;
	left: 284px;
}

/* モーダル オープン */

.modal-wrap {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 1345px;
	width: 90%;
	height: 90%;
	overflow-y: scroll;
	background: #FFEDEB;
	border-radius: 50px;
}

.modal.open {
	display: block;
	opacity: 1;
	visibility: inherit;
	box-sizing: border-box;
	padding: 88px 0 62px;
	width: 100%;
	height: auto;
	top: 0;
	left: 0;
}

.modal-back.open {
	opacity: 1;
	visibility: inherit;
	z-index: 9999;
}

.modal-back.open .close {
	display: block;
}

.modal.open::before,
.modal.open::after {
	content: "";
	position: absolute;
	z-index: 1;
}

.open.kitchen::before {
	background: url(../img/about/modal/kitchen-back_1.webp) no-repeat;
	background-size: contain;
	top: 28px;
	left: 26px;
	width: min(142px, 10.67vw);
	height: 188px;
}

.open.kitchen::after {
	background: url(../img/about/modal/kitchen-back_2.webp) no-repeat;
	background-size: contain;
	bottom: 57px;
	right: 56px;
	width: min(170px, 12.78vw);
	height: 218px;
}

.open.tampopo::before {
	background: url(../img/about/modal/tampopo-back_1.webp) no-repeat;
	background-size: contain;
	top: 32px;
	left: 25px;
	width: min(227px, 17.06vw);
	height: 185px;
}

.open.tampopo::after {
	background: url(../img/about/modal/tampopo-back_2.webp) no-repeat;
	background-size: contain;
	bottom: 30px;
	right: 30px;
	width: min(216px, 16.24vw);
	height: 217px;
}

.open.tulip::before {
	background: url(../img/about/modal/tulip-back_1.webp) no-repeat;
	background-size: contain;
	top: 39px;
	left: 28px;
	width: min(229px, 17.21vw);
	height: 167px;
}

.open.tulip::after {
	background: url(../img/about/modal/tulip-back_2.webp) no-repeat;
	background-size: contain;
	bottom: 31px;
	right: 30px;
	width: min(237px, 17.81vw);
	height: 183px;
}

.open.terrace::before {
	background: url(../img/about/modal/terrace-back_1.webp) no-repeat;
	background-size: contain;
	top: 61px;
	left: 36px;
	width: min(201px, 15.11vw);
	height: 141px;
}

.open.terrace::after {
	background: url(../img/about/modal/terrace-back_2.webp) no-repeat;
	background-size: contain;
	bottom: 50px;
	right: 44px;
	width: min(177px, 13.30vw);
	height: 207px;
}

.open.hall::before {
	background: url(../img/about/modal/hall-back_1.webp) no-repeat;
	background-size: contain;
	top: 36px;
	left: 21px;
	width: min(180px, 13.53vw);
	height: 170px;
}

.open.hall::after {
	background: url(../img/about/modal/hall-back_2.webp) no-repeat;
	background-size: contain;
	bottom: 23px;
	right: 10px;
	width: min(216px, 16.24vw);
	height: 175px;
}

.open.sumire::before {
	background: url(../img/about/modal/sumire-back_1.webp) no-repeat;
	background-size: contain;
	top: 35px;
	left: 29px;
	width: min(135px, 10.15vw);
	height: 223px;
}

.open.sumire::after {
	background: url(../img/about/modal/sumire-back_2.webp) no-repeat;
	background-size: contain;
	bottom: 32px;
	right: 37px;
	width: min(119px, 8.94vw);
	height: 214px;
}

.open.entrance::before {
	background: url(../img/about/modal/entrance-back_1.webp) no-repeat;
	background-size: contain;
	top: 59px;
	left: 33px;
	width: min(235px, 17.66vw);
	height: 131px;
}

.open.entrance::after {
	background: url(../img/about/modal/entrance-back_2.webp) no-repeat;
	background-size: contain;
	bottom: 32px;
	right: 34px;
	width: min(153px, 11.50vw);
	height: 214px;
}

.open.toilet::before {
	background: url(../img/about/modal/toilet-back_1.webp) no-repeat;
	background-size: contain;
	top: 33px;
	left: 40px;
	width: min(161px, 12.10vw);
	height: 206px;
}

.open.toilet::after {
	background: url(../img/about/modal/toilet-back_2.webp) no-repeat;
	background-size: contain;
	bottom: 45px;
	right: 41px;
	width: min(195px, 14.66vw);
	height: 131px;
}

.open.sakura::before {
	background: url(../img/about/modal/sakura-back_1.webp) no-repeat;
	background-size: contain;
	top: 34px;
	left: 25px;
	width: min(225px, 16.91vw);
	height: 133px;
}

.open.sakura::after {
	background: url(../img/about/modal/sakura-back_2.webp) no-repeat;
	background-size: contain;
	bottom: 54px;
	right: 54px;
	width: min(173px, 13.00vw);
	height: 145px;
}

.open.ohisama::before {
	background: url(../img/about/modal/ohisama-back_1.webp) no-repeat;
	background-size: contain;
	top: 39px;
	left: 30px;
	width: min(222px, 16.69vw);
	height: 145px;
}

.open.ohisama::after {
	background: url(../img/about/modal/ohisama-back_2.webp) no-repeat;
	background-size: contain;
	bottom: 22px;
	right: 27px;
	width: min(150px, 11.27vw);
	height: 209px;
}

.open.pool::before {
	background: url(../img/about/modal/pool-back_1.webp) no-repeat;
	background-size: contain;
	top: 37px;
	left: 37px;
	width: min(210px, 15.78vw);
	height: 179px;
}

.open.pool::after {
	background: url(../img/about/modal/pool-back_2.webp) no-repeat;
	background-size: contain;
	bottom: 42px;
	right: 36px;
	width: min(185px, 13.90vw);
	height: 228px;
}

.open.parking::before {
	background: url(../img/about/modal/parking-back_1.webp) no-repeat;
	background-size: contain;
	top: 48px;
	left: 41px;
	width: min(219px, 16.46vw);
	height: 126px;
}

.open.parking::after {
	background: url(../img/about/modal/parking-back_2.webp) no-repeat;
	background-size: contain;
	bottom: 35px;
	right: 56px;
	width: min(111px, 8.34vw);
	height: 264px;
}

.open.garden::before {
	background: url(../img/about/modal/garden-back_1.webp) no-repeat;
	background-size: contain;
	top: 48px;
	left: 41px;
	width: min(219px, 16.46vw);
	height: 126px;
}

.open.garden::after {
	background: url(../img/about/modal/garden-back_2.webp) no-repeat;
	background-size: contain;
	bottom: 35px;
	right: 56px;
	width: min(111px, 8.34vw);
	height: 264px;
}

/* モーダル内 */

.modal .splide:not(.is-overflow) .splide__pagination {
	display: flex !important;
}

.modal .splide {
	margin: 0 auto;
	max-width: 968px;
	width: 90%;
}

.modal .splide img {
	width: 100%;
}

.modal .splide__pagination {
	bottom: auto;
	top: -37px;
	gap: 26px;
}

.modal .splide__pagination__page {
	background: #B8B8B8;
}

.modal .splide__pagination__page.is-active {
	background: #E7574E;
	transform: none;
}

.modal .splide__arrow svg {
	display: none;
}

.modal .splide__arrow {
	background: url(../img/about/slide-arrow.svg) no-repeat;
    background-size: contain;
	border-radius: 0;
	width: 78px;
	height: 78px;
	opacity: 1;
}

.modal .splide__arrow:hover {
	opacity: 1;
}

.modal .splide__arrow--next {
	right: -40px;
}

.modal .splide__arrow--prev {
	left: -40px;
	transform: translateY(-50%) rotate(180deg);
}

.modal img {
	border: 3px solid #EA6861;
	border-radius: 30px;
	box-sizing: border-box;
	display: none;
	margin: 0 auto;
	max-width: 968px;
	width: 90%;
}

.modal.open img {
	display: block;
}

.modal.open h3 {
	color: #E7574E;
	font-size: 30px;
	line-height: 1.86;
	letter-spacing: .05em;
	margin: 48px auto 0;
	max-width: 968px;
	width: 90%;
}

.modal.open p {
	color: #E7574E;
	font-size: 25px;
	font-weight: bold;
	line-height: 1.32;
	letter-spacing: .05em;
	text-align: left;
	margin: 16px auto 0;
	max-width: 968px;
	width: 90%;
}

.close {
	display: none;
	width: 32px;
	height: 32px;
	position: absolute;
	top: 59px;
	right: 56px;
	cursor: pointer;
}

.close__line {
	width: 4px;
	height: 40px;
	background-color: #E7574E;
}

.close__line001 {
	display: inline-block;
	transform: rotate(45deg);
}

.close__line002 {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-block;
	transform: rotate(-45deg);
}

@media screen and (max-width: 1400px) {
	.open::after {
		content: none !important;
	}
}

/* tab size */
@media screen and (max-width: 1200px) {

	.facility .map {
		margin: 0 auto;
		width: 100%;
		max-width: max-content;
	}

	.facility .col:has(.map-1),
	.facility .col:has(.map-3) {
		display: block;
	}

	.facility .col:has(.map-3) {
		margin-top: 0;
	}

	.facility>.col>img {
		display: none;
	}

	.map-2,
	.map-3 {
		margin: 54px auto 0;
	}

	.map-3 {
		max-width: max-content;
	}

	.close {
		top: 34px;
		right: 34px;
	}

	.close__line {
		width: 3px;
		height: 28px;
	}

	.modal.open h3 {
		font-size: 21px;
		line-height: 1.42;
		margin-top: 11px;
	}

	.modal.open p {
		font-size: 16px;
		line-height: 1.875;
		margin-top: 5px;
	}

	.modal.open h3,
	.modal.open p,
	.modal .splide,
	.modal img {
		max-width: 600px;
	}

	.modal .splide__pagination {
		gap: 17px;
	}

	.modal .splide__pagination__page {
		width: 5px;
		height: 5px;
	}

	.modal .splide__arrow {
		width: 37px;
		height: 37px;
	}

	.modal .splide__arrow--prev {
		left: -18px;
	}

	.modal .splide__arrow--next {
		right: -18px;
	}

	.modal-wrap {
		width: 70%;
		max-height: max-content;
	}

	.modal.open {
		padding: 117px 0 39px;
	}

	.open.kitchen::before {
		top: 15px;
		left: 34px;
		width: 71px;
		height: 94px;
	}
	.open.tampopo::before {
		top: 12px;
		left: 20px;
		width: 122px;
		height: 99px;
	}
	.open.tulip::before {
		top: 23px;
		left: 20px;
		width: 106px;
		height: 77px;
	}
	.open.terrace::before {
		top: 30px;
		left: 31px;
		width: 93px;
		height: 64px;
	}
	.open.hall::before {
		top: 15px;
		left: 20px;
		width: 101px;
		height: 94px;
	}
	.open.sumire::before {
		top: 10px;
		left: 32px;
		width: 60px;
		height: 101px;
	}
	.open.entrance::before {
		top: 27px;
		left: 14px;
		width: 125px;
		height: 70px;
	}
	.open.toilet::before {
		top: 19px;
		left: 26px;
		width: 66px;
		height: 86px;
	}
	.open.sakura::before {
		top: 23px;
		left: 16px;
		width: 113px;
		height: 66px;
	}
	.open.ohisama::before {
		top: 23px;
		left: 31px;
		width: 107px;
		height: 71px;
	}
	.open.pool::before {
		top: 21px;
		left: 20px;
		width: 97px;
		height: 82px;
	}
	.open.parking::before {
		top: 35px;
		left: 15px;
		width: 109px;
		height: 62px;
	}
	.open.garden::before {
		top: 12px;
		left: 8px;
		width: 136px;
		height: 72px;
	}
}

/* テーブル */

.overview {
	margin: 176px auto 0;
	width: 90%;
	max-width: 848px;
}

table {
	border: 2px solid #4F9F89;
	border-radius: 20px;
	border-spacing: 0;
	margin-top: 60px;
	border-collapse: separate;
	table-layout: fixed;
	overflow: hidden;
	width: 100%;
}

tr:first-child th,
tr:first-child td {
	border-top: none;
}

tr.center {
	text-align: center;
}

th {
	border-top: 2px solid #4F9F89;
	background: #79C3AF;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .05em;
	text-align: center;
	width: clamp(114px, 24vw, 207px);
}

td {
	border-top: 2px solid #4F9F89;
	border-left: 2px solid #4F9F89;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .05em;
	padding: 3px 19px 8px;
}

td.capacity {
	background: #DDF1EC;
}

td.age {
	background: #ECF9F6;
}

/* 沿革 */

.history {
	margin: 194px auto 0;
	width: 90%;
	max-width: 600px;
}

.history ul {
	margin-top: 60px;
}

.history li {
	display: flex;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 1.875;
	margin-top: 14px;
	padding-left: 30px;
	position: relative;
}

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

.history li h3 {
	box-sizing: border-box;
	color: #1F1F1F;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 1.875;
	position: relative;
	margin-right: 50px;
	min-width: 140px;
}

.history li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	background: url(../img/about/about-history.webp) no-repeat;
	background-size: contain;
	width: 12px;
	height: 12px;
	z-index: 1;
}

.history li::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 12px;
	background: #5EAC97;
	width: 2px;
	height: 140%;
}

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

.history li p {
	text-align: left;
}

/* sp size */
@media screen and (max-width: 767px) {

	.wrap {
		padding: 84px 0 69px;
	}

	.lower .lead img:nth-of-type(2) {
		width: 166px;
	}

	/* 保育方針 sp */

	.policy {
		margin-top: 64px;
	}

	.policy .col {
		display: block;
		margin-top: 27px;
	}

	.policy img {
		width: 100%;
	}

	.policy .col li {
		font-size: 16px;
		line-height: 1.875;
		margin-top: 10px !important;
	}

	.policy .col li:first-child {
		margin-top: 16px !important;
	}

	.policy .col li::before {
		top: -3px;
	}

	/* 施設案内 sp */
	.facility {
		margin-top: 81px;
	}

	.facility .map {
		margin: 0 0 0 auto;
		width: 95%;
		overflow-x: scroll;
	}

	.modal-wrap {
		width: 90%;
	}

	.map-1f {
		margin-bottom: 40px;
	}

	.map-2f {
		margin-bottom: 38px;
	}

	.map-2 {
		margin-top: 54px;
	}

	.map-3 {
		border: none;
		padding: 0;
		position: relative;
		margin-top: 138px;
	}

	.map-3::before {
		content: "";
		border-top: 4px dashed #EA6861;
		position: absolute;
		top: -70px;
		left: 50%;
		transform: translateX(-50%);
		height: 4px;
		width: 90%;
	}

	.map-1-img,
	.map-2-img,
	.map-3-img {
		display: block;
		margin: 0 auto;
	}

	.map-1-img {
		padding-top: 40px;
	}

	.btn__link .on {
		width: 45px;
		height: 68px;
	}

	.map .kitchen,
	.map .tampopo {
		top: 20px;
	}

	.tulip {
		top: 106px;
	}

	.terrace {
		top: 96px;
	}

	.hall {
		top: 192px;
	}

	.sumire {
		top: 200px;
	}

	.entrance {
		top: 370px;
	}

	.toilet {
		top: 334px;
	}

	.sakura {
		top: 334px;
	}

	/* 概要 sp */
	.overview {
		margin-top: 110px;
	}

	td {
		font-size: 14px;
		line-height: 1.85;
	}

	/* 沿革 sp */
	.history {
		margin-top: 76px;
	}

	.history li {
		display: block;
		margin-top: 19px;
	}
}