﻿.nursery-page {
	padding-block: 0;
	background: #ffffff;
	overflow: hidden;
}

.js-fade-up {
	transition:
		opacity 0.7s ease,
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--fade-delay, 0s);
}

html.is-scroll-reveal-ready .js-fade-up {
	opacity: 0;
	transform: translateY(34px);
}

html.is-scroll-reveal-ready .js-fade-up.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.js-fade-up {
		transition: none;
	}

	html.is-scroll-reveal-ready .js-fade-up {
		opacity: 1;
		transform: none;
	}
}

.nursery-ttl-cont h2{
	color:var(--color-key);
}

.nursery-hero__slider {
	position: relative;
	overflow: hidden;
}

.nursery-hero__slides {
	position: relative;
	height: 70vh;
}

.nursery-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.7s ease;
}

.nursery-hero__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.nursery-hero__copy {
	position: absolute;
	z-index: 2;
	left: clamp(88px, 9vw, 168px);
	bottom: 20px;
	padding: 32px 38px 30px;
	background: rgba(255, 255, 255, 0.94);
	text-align: center;
}

.nursery-hero__title {
	margin: 0 0 16px;
	color: var(--color-key);
	font-size: 2.45rem;
	font-weight: 800;
	line-height: 1.25;
}

.nursery-hero__lead {
	margin: 0;
	color: var(--color-text);
	font-size: 1.16rem;
	font-weight: 700;
	line-height: 1.55;
}

.nursery-hero img,
.nursery-hero picture {
	width: 100%;
	height: 100%;
}

.nursery-hero img {
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.nursery-hero__pagination {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 24px;
	display: flex;
	align-items: center;
	gap: 28px;
	transform: translateX(-50%);
}

.nursery-hero__pagination button {
	width: 14px;
	height: 14px;
	padding: 0;
	border: 2px solid #ffffff;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.nursery-hero__pagination button.is-active {
	background: #ffffff;
}

.nursery-anchor {
	position: relative;
	z-index: 2;
	background: #ffffff;
	box-shadow: 0 8px 22px rgba(0, 45, 103, 0.08);
}

.nursery-anchor ul {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	width: min(880px, calc(100% - 40px));
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.nursery-anchor a {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: 18px 8px 16px;
	color: var(--color-text);
	font-size: var(--font-size--sm);
	font-weight: 700;
	text-decoration: none;
}

.nursery-anchor__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	line-height: 1;
}

.nursery-intro {
	position: relative;
	padding: 118px var(--space-page) 110px;
	overflow: hidden;
}

.nursery-intro__lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.nursery-intro__line {
	fill: none;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.nursery-intro__line--blue {
	stroke: rgba(98, 157, 238, 0.46);
	stroke-width: 138;
}

.nursery-intro__line--gray {
	stroke: rgba(235, 235, 235, 0.96);
	stroke-width: 132;
}

.nursery-intro__line--right {
	transition-delay: 0.16s;
}

.nursery-intro__line--center {
	transition-delay: 0.32s;
}

.nursery-intro.is-lines-visible .nursery-intro__line {
	stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
	.nursery-intro__line {
		transition: none;
		stroke-dashoffset: 0;
	}
}

.nursery-section-heading {
	text-align: center;
}
.nursery-intro h2{
	color:var(--color-key);
	font-size:var(--font-size--2xl);
}
.nursery-section-heading p {
	font-size: var(--font-size--lg);
}
.nursery-intro__panel {
	position: relative;
	z-index: 1;
    width: min(1120px, 100%);
    margin-inline: auto;
    padding: 70px 38px 56px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 30px rgba(0, 45, 103, 0.16);
    backdrop-filter: blur(16px);
}

.nursery-feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	margin-top: 45px;
}

.nursery-feature-grid article {
	position: relative;
	min-height: 244px;
	padding: 28px 22px 24px;
	border-radius: var(--radius-md);
	color: #ffffff;
}
.nursery-feature-grid article p{
	margin-bottom:0;
}
.nursery-feature__num {
	position: absolute;
	top: 12px;
	right: 18px;
	color: rgba(255, 255, 255, 0.55);
	font-size: var(--font-size--3xl);
	font-weight: 600;
	line-height: 1;
}

.nursery-feature__icon {
	position: relative;
	height: 95px;
	margin: 24px 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.nursery-feature-grid h3 {
	margin: 0 0 12px;

}

.nursery-wide-photo {
	width: 100%;
	object-fit: cover;
	overflow: hidden;
	height:338px;
	background:url(../images/nursery-wide_tsujido.png)no-repeat;
	background-attachment: fixed;
	background-size:100% auto;
}

.nursery-photo-slide {
	height: 220px;
	overflow: hidden;
	background: #ffffff;
}

.nursery-photo-slide__track {
	display: flex;
	width: max-content;
	height: 100%;
	animation: nursery-slide-scroll 60s linear infinite;
}

.nursery-photo-slide__item {
	flex: 0 0 auto;
	width: 360px;
	height: 100%;
	margin: 0;
}

.nursery-photo-slide__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@keyframes nursery-slide-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.nursery-flow {
	padding: 105px var(--space-page);
	background:url("../images/bg-flow.png") 100% 100%;
	background-size:cover;
	background-attachment: fixed;
	color: #ffffff;
}

.nursery-flow__lead h2 {
	color: #ffffff;
}

.nursery-timeline {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 36px;
	padding: 46px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.94);
	color: var(--color-text);
	box-shadow: 0 16px 28px rgba(0, 45, 103, 0.2);
}

.nursery-timeline__column {
	display: grid;
	align-content: start;
}

.nursery-time {
	position: relative;
	padding: 0 0 24px 64px;
}
.nursery-time:last-child{
	padding-bottom: 0px;
}
.nursery-time__icon {
	position: absolute;
	top: 2px;
	left: 0;
	width: 52px;
	height: 52px;
	object-fit: contain;
	z-index: 1;
}

.nursery-time::after {
	z-index: 0;
	content: "";
	position: absolute;
	top: 54px;
	left: 26px;
	width: 2px;
	height: 80px;
	background: var(--color-key);
}

.nursery-time.noline::after {
	display: none;
}

.nursery-timeline__column .nursery-time:last-child::after {
	display: none;
}

.nursery-time time {
	display: block;
	color: var(--color-key);
	font-size: var(--font-size--lg);
	font-weight: 800;
	line-height: 1.2;
}

.nursery-time strong {
	display: inline-block;
	line-height: 1.45;
	position:relative;
}
.nursery-time strong::after{
	content:'';
	position:absolute;
	border-bottom:1px solid var(--color-text);
	width: 100%;
	bottom:-2px;
	left:0;
}

.nursery-time span {
	display: block;
	margin-top: 3px;
	font-size: var(--font-size--sm);
	line-height: 1.5;
}

.nursery-events {
	padding: 105px var(--space-page) 112px;
}

.nursery-section-split {
	display: grid;
	grid-template-columns: 250px minmax(0, 100%);
	justify-content: center;
	gap: 80px;
	width: min(1120px, 100%);
	margin-inline: auto;
}

.nursery-event-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 42px;
}

.nursery-event-list h3 {
	margin: 0 0 16px;
}

.nursery-event-list p {
	font-weight: 600;
}

.nursery-event-list span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 50px;
    height: 24px;
	margin-right: 8px;
	border-radius: var(--radius-full);
	background: var(--color-key);
	color: #ffffff;
	font-size:var(--font-size--sm);
}

.nursery-event-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 34px;
	width: min(1120px, 100%);
	margin: 78px auto 0;
}

.nursery-event-cards figure {
	margin: 0;
	text-align: center;
}

.nursery-event-cards img {
	display: block;
	width: 100%;
	aspect-ratio: 190 / 112;
	object-fit: cover;
	background: #dfe4ea;
}

.nursery-event-cards figcaption {
	margin-top: 14px;
	font-size: 0.82rem;
}

.nursery-facility {
	padding: 92px var(--space-page);
	background:url("../images/bg-facility.png") center / cover;
	background-attachment: fixed;
}

.nursery-facility__text h2 {
	color: #ffffff;
}

.nursery-facility__text p {
	color: #ffffff;
}


.nursery-facility-gallery__main {
	position: relative;
	overflow: hidden;
}

.nursery-facility-gallery {
	min-width: 0;
}

.nursery-facility-gallery__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.45s ease;
}

.nursery-facility-gallery__slide.is-active {
	position: relative;
	opacity: 1;
	pointer-events: auto;
}

.nursery-facility-gallery__slide img {
	width: 100%;
	aspect-ratio: 866 / 520;
	object-fit: cover;
}

.nursery-facility-gallery__slide figcaption {
	position: absolute;
	right: 0;
	bottom: 2%;
	min-width: min(360px, 40%);
    padding: 8px 16px 14px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--color-text);
	border-top-left-radius:var(--radius-md);
	border-bottom-left-radius:var(--radius-md);
}

.nursery-facility-gallery__slide figcaption h3,
.nursery-facility-gallery__slide figcaption p {
	margin-bottom:0;
}



.nursery-facility-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	padding: 10px 0;
}

.nursery-facility-gallery__thumbs button {
	display: block;
	padding: 0;
	border: 3px solid transparent;
	background: transparent;
	cursor: pointer;
	opacity: 0.72;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.nursery-facility-gallery__thumbs button.is-active,
.nursery-facility-gallery__thumbs button:hover,
.nursery-facility-gallery__thumbs button:focus-visible {
	border-color: #ffffff;
	opacity: 1;
}

.nursery-facility-gallery__thumbs img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.nursery-overview {
	padding: 92px var(--space-page);
}

.nursery-overview__card {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 46px;
	width: min(1120px, 100%);
	margin-inline: auto;
	padding: 46px 48px;
	border: 1px solid #c9d0d7;
	background: #ffffff;
}


.nursery-overview dl {
	display: grid;
	gap: 16px;
	margin: 0;
}

.nursery-overview dl div {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 24px;
}

.nursery-overview dt {
	font-weight: 800;
}

.nursery-overview dd {
	margin: 0;
}

.nursery-overview img {
	width: 100%;
	align-self: center;
}


.nursery-faq {
	padding: 112px var(--space-page) 105px;
}

.nursery-faq__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.nursery-faq .nursery-faq-card {
	min-height: 240px;
}
.nursery-faq article.is-open {
	background: #ffffff;
	color: var(--color-text);
	box-shadow: 0 0 0 1px #d9e1ea inset;
}

.nursery-faq span {
	display: block;
	margin-bottom: 8px;
	font-weight: 800;
	font-size:var(--font-size--lg)
}

.nursery-faq p {
	margin: 0;
	font-weight: 700;
	line-height: 1.75;
}

.nursery-faq article.is-open p {
	font-weight: 500;
}

.nursery-faq .nursery-faq-card__face--answer span{
	color:var(--color-key)
}
.nursery-faq .nursery-faq-card__face {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	width: 100%;
	height: 100%;
	min-height: 240px;
	padding: 16px 20px 36px;
	border: 0;
	border-radius: 8px;
	color: #ffffff;
	text-align: left;
	cursor: pointer;
	backface-visibility: hidden;
}

.nursery-faq-card__inner {
	transform-style: preserve-3d;
	transition: transform 0.65s ease;
}

.nursery-faq-card.is-flipped .nursery-faq-card__inner {
	transform: rotateY(180deg);
}

.nursery-faq .nursery-faq-card__face--answer {
	background: #ffffff;
	color: var(--color-text);
	border: var(--color-key) 2px solid;
	transform: rotateY(180deg);
}

.nursery-faq-card__face i {
	position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-style: normal;
    font-size: var(--font-size--lg);
    line-height: 1;
}
.nursery-faq-card__face--answer i{
	border: 1px solid var(--color-key);
	color:var(--color-key);
}

.nursery-news {
	padding: 0 var(--space-page) 110px;
}

.nursery-news__panel {
	display: grid;
	grid-template-columns: 190px 1fr;
	gap: 70px;
	width: min(1120px, 100%);
	margin-inline: auto;
	padding: 42px 58px;
	background: #ffffff;
	box-shadow: 0 10px 26px rgba(0, 45, 103, 0.08);
	border-radius: var(--radius-lg);
}

.nursery-news a {
	display: grid;
	grid-template-columns: 90px minmax(64px, auto) 1fr;
	align-items: center;
	gap: 16px;
	min-height: 44px;
	border-bottom: 1px solid var(--color-line);
	color: var(--color-text);
	text-decoration: none;
	padding: 16px 0;
}

.nursery-news time {
	color: var(--color-key);
	font-weight: 800;
}

.nursery-news__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	min-width: 0;
}

.nursery-news__category {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 20px;
	border: 1px solid var(--color-key);
	color: var(--color-key);
	font-size: 0.68rem;
	font-weight: 700;
	padding: 0 8px;
}

.nursery-news__title {
	min-width: 0;
}

.nursery-access {
	line-height: 0;
}

.nursery-access iframe {
	display: block;
	width: 100%;
}

.nursery-access img {
	height: 332px;
	object-fit: cover;
}

.nursery-contact {
	display: none;
}

@media (max-width: 1024px) {
	.nursery-feature-grid,
	.nursery-event-cards,
	.nursery-faq__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.nursery-section-split,
	.nursery-overview__card,
	.nursery-news__panel {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}

@media (max-width: 767px) {
	.nursery-hero__slides {
		height: 60vh;
	}

	.nursery-hero img {
		object-position: center;
	}

	.nursery-hero__copy {
		left: 50%;
		width: min(337px, calc(100% - 48px));
		padding: 16px;
		transform: translateX(-50%);
		bottom:30px;
	}

	.nursery-hero__title {
		margin-bottom: 10px;
		font-size: 1.65rem;
	}

	.nursery-hero__lead {
		font-size: 0.9rem;
		line-height: 1.65;
	}

	.nursery-hero__pagination {
		display: none;
		bottom: 18px;
		left:50%;
		gap: 15px;
	}

	.nursery-hero__pagination button {
		width: 11px;
		height: 11px;
		border-width: 2px;
	}

	.nursery-anchor {
		box-shadow: none;
	}

	.nursery-anchor ul {
		grid-template-columns: repeat(3, 1fr);
		width: 100%;
		padding: 13px 20px 16px;
		row-gap: 12px;
	}

	.nursery-anchor a {
		padding: 0;
		font-size: 0.68rem;
	}

	.nursery-anchor__icon {
		width: 26px;
		height: 26px;
	}

	.nursery-intro {
		padding: 28px 20px 36px;
		background: #f5f8fc;
	}

	.nursery-intro__lines {
		width: 145%;
		left: -23%;
	}

	.nursery-intro__line {
		vector-effect: non-scaling-stroke;
	}

	.nursery-intro__line--blue {
		stroke-width: 86px;
	}

	.nursery-intro__line--gray {
		stroke-width: 96px;
	}

	.nursery-intro::before {
		display: none;
	}

	.nursery-intro__panel {
		padding: 24px 16px 20px;
		border-color: #dfe6ee;
		border-radius: 8px;
		box-shadow: 0 8px 18px rgba(0, 45, 103, 0.12);
	}
	.nursery-intro h2{
		font-size:var(--font-size--lg);
	}

	.nursery-section-heading p {
		font-size:var(--font-size--md);
		line-height: 1.7;
	}

	.nursery-feature-grid {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-top: 20px;
	}

	.nursery-feature-grid article {
		min-height: 128px;
        padding: 50px 18px 16px;
	}
	
	.nursery-feature__num {
        left: 18px;
        font-size: var(--font-size--xl);
	}

	.nursery-feature__icon {
		position: absolute;
        right: 16px;
        top: 8px;
        margin: 0;
	}
	.nursery-feature__icon img {
		height: 60px;
	}
	.nursery-feature__icon--meal img{
		height: 66px;
	}
	.nursery-feature-grid h3 {
		margin: 0;
	}

	.nursery-photo-slide{
		height: 100px;
	}	
	.nursery-photo-slide__item{
		width: 140px;
	}

	.nursery-flow,
	.nursery-facility {
		background-attachment: scroll;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
	}
	.nursery-flow {
		padding: 40px 20px 45px;
	}

	.nursery-flow__inner {
		gap: 24px;
	}

	.nursery-flow__lead p {
		font-size: 0.78rem;
		line-height: 1.85;
	}

	.nursery-timeline {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 26px 16px 20px;
		border-radius: 8px;
	}

	.nursery-time {
		min-height: 64px;
        padding: 0 0 16px 58px;
	}
	.nursery-time:last-child {
		padding-bottom: 16px;
	}
	.nursery-time__icon {
		width: 40px;
		height: 40px;
	}

	.nursery-time::after {
		top: 40px;
        left: 19px;
        height: 66px;
	}

	.nursery-timeline__column:not(:last-child) .nursery-time:last-child::after {
		display: block;
	}

	.nursery-events {
		padding: 40px 20px 45px;
	}

	.nursery-section-split {
		gap: 24px;
	}

	.nursery-section-split > * {
		min-width: 0;
	}

	.nursery-event-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px 24px;
	}

	.nursery-event-list h3 {
		margin-bottom: 8px;
	}

	.nursery-event-list p {
		margin: 5px 0;
	}
	.nursery-event-list span{
		font-size:var(--font-size--xs);
		min-width: 40px;
		margin-right:4px;
	}
	.nursery-event-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
		margin-top: 32px;
	}

	.nursery-event-cards figcaption {
		margin-top: 8px;
		font-size: 0.68rem;
	}

	.nursery-facility {
		padding: 40px 20px 46px;
	}
	.nursery-facility__inner {
		gap: 18px;
	}

	.nursery-facility-gallery__slide figcaption {
		min-width: 62%;
		padding: 8px 12px;
	}

	.nursery-facility-gallery__slide figcaption h3 {
		font-size: 0.82rem;
	}

	.nursery-facility-gallery__slide figcaption p {
		font-size: 0.62rem;
	}

	.nursery-facility-gallery__thumbs {
		display: flex;
		gap: 6px;
		overflow-x: auto;
		padding: 6px 0;
	}

	.nursery-facility-gallery__thumbs button {
		flex: 0 0 78px;
		border-width: 2px;
	}

	.nursery-overview {
		padding: 42px 20px;
	}

	.nursery-overview__card {
		gap: 22px;
		padding: 24px 20px;
		border-color: #d6dde5;
		border-radius: 6px;
	}

	.nursery-overview__text h2 {
		margin-bottom: 16px;
	}

	.nursery-overview dl {
		gap: 10px;
	}

	.nursery-overview dl div {
		grid-template-columns: 78px 1fr;
		gap: 12px;
	}

	.nursery-wide-photo {
		display: none;
	}

	.nursery-faq {
		padding: 38px 20px 44px;
	}

	.nursery-faq .nursery-section-split {
		display: block;
		width: 100%;
	}

	.nursery-faq__grid {
		display: flex;
		gap: 12px;
		margin-top: 18px;
		overflow-x: auto;
		padding-bottom: 6px;
		scroll-snap-type: x mandatory;
	}

	.nursery-faq article {
		flex: 0 0 154px;
		min-height: 150px;
		padding: 18px 16px 34px;
		scroll-snap-align: start;
	}

	.nursery-faq .nursery-faq-card {
		flex: 0 0 154px;
		min-height: 150px;
		padding: 0;
		scroll-snap-align: start;
	}

	.nursery-faq-card__inner,
	.nursery-faq .nursery-faq-card__face {
		min-height: 200px;
	}

	.nursery-faq .nursery-faq-card__face {
		padding: 18px 16px 34px;
	}

	.nursery-faq p {
		line-height: 1.5;
	}

	.nursery-faq article.is-open {
		display: none;
	}

	.nursery-news {
		padding: 38px 20px 44px;
	}

	.nursery-news__panel {
		gap: 0;
		padding: 28px 20px;
	}

	.nursery-news a {
		grid-template-columns: max-content max-content;
		gap: 0 10px;
		padding: 11px 0;
	}

	.nursery-news__title {
		grid-column: 1 / -1;
	}
	.nursery-access iframe {
		height: 200px;
	}
	.nursery-contact {
		display: grid;
		justify-items: center;
		padding: 42px 20px 44px;
		background: var(--color-key);
		color: #ffffff;
		text-align: center;
	}

	.nursery-contact h2 {
		color: #ffffff;
	}

	.nursery-contact p {
		margin: 0 0 18px;
		font-size: 0.75rem;
	}

	.nursery-contact__line,
	.nursery-contact__tel {
		width: min(270px, 100%);
		text-decoration: none;
	}

	.nursery-contact__line {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 34px;
		background: #00c853;
		color: #ffffff;
		font-weight: 800;
	}

	.nursery-contact__tel {
		margin-top: 16px;
		color: #ffffff;
		font-family: var(--font-en);
		font-size: 1.28rem;
		font-weight: 800;
	}
}

@media (max-width: 400px) {
	.nursery-event-list{
		grid-template-columns: repeat(1, 1fr);
	}
}