@charset "utf-8";

/*-----------------------------
kv
-------------------------------*/
section.kv {
	padding-top: 80px;
}
@media (width < 767px) {
	section.kv {
		padding-top: 60px;
	}
}
.kv .contentWrap {
	padding: 0;
	max-width: 1400px;
}




/*-----------------------------
HOME
-------------------------------*/
section#lead .contentWrap {
	max-width: 1046px;
	h2 img {
		margin: 0;
	}
	p {
		font-size: 1.142857rem;
	}
	figure {
		position: relative;
		overflow: visible;
		&::after {
			content: "";
			display: block;
			width: 86%;
			aspect-ratio: 1 / 1;
			background-color: #ffffff;
			border-radius: 50%;
			position: absolute;
			margin: auto;
			top: -17%;
			right: 0; left: 0;
			z-index: -1;
		}
		@media (1150px <= width) {
			&::before {
				content: "";
				display: block;
				width: 319px;
				aspect-ratio: 1 / 1.0094043887147335;
				background: url("../images/line1.svg") no-repeat;
				position: absolute;
				top: 94%;
				right: 45px;
			}
		}
	}
}

section#overview .contentWrap {
	max-width: 1000px;
	@media (768px <= width) {
		h2 {
			margin-top: 160px;
		}
	}
	dl {
		max-width: 600px;
		margin: auto;
		border-top: #ffffff 1px solid;
		dt {
			float: left;
			clear: both;
			color: #666666;
			font-size: 12px;
			font-weight: 700;
			line-height: 50px;
		}
		dd {
			font-size: 1.142857rem;
			padding-left: 100px;
			border-bottom: #ffffff 1px solid;
			line-height: 50px;
		}
		@media (width < 767px) {
			dt {
				float: none;
			}
			dd {
				line-height: 1.4;
				padding-left: 0;
				padding-bottom: 1em;
			}
		}
	}
	figure {
		position: absolute;
		top: -20px;
		right: calc(50% + 170px);
		@media (width < 767px) {
			position: relative;
			width: 86%;
			top: 0; right: -20%;
			padding-top: 5%;
		}
	}
}

section#pickup .contentWrap {
	max-width: 800px;
	padding-bottom: 57px;
	& .block {
		background-color: #ffffff;
		border-radius: 20px;
		padding: 30px 20px 30px 32px;
		& .imgbox-txt-right {
			margin-top: 0;
			grid-template-columns: 1fr 240px;
			grid-column-gap: 0;
			figure {
				margin: -40px -20px 0;
			}
		}
		em {
			font-size: 1.428571rem;
		}
		@media (width < 767px) {
			padding: 5%;
			& .imgbox-txt-right {
				grid-template-columns: 1fr;
				grid-row-gap: 5%;
				& figure {
					margin: -14% 20% 0;
				}
			}
			& .txt {
				order: 2;
				padding-bottom: 5%;
			}
			& .photo {
				order: 1;
			}
			em {
				display: block;
			}
		}
	}
	@media (768px <= width) {
		& .imgbox figure {
			margin-right: -86px;
		}
	}
}

section#program .contentWrap {
	max-width: 980px;
	background-color: var(--bg);
	border-radius: 20px;
	padding: 60px 63px 40px;
	overflow: visible;
	h2 {
		margin-top: 0;
	}
	ul {
		width: 100%;
		max-width: 850px;
		margin-top: 30px;
		position: relative;
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		overflow: visible;
		z-index: 0;
		li {
			width: 43%;
			position: relative;
			&::before {
				content: "";
				display: block;
				background-color: #ffffff;
				width: 110%;
				height: 100%;
				border-radius: 10px;
				position: absolute;
				top: 20px; left: -5%;
				z-index: -1;
			}
		}
		h3 {
			margin: auto;
		}
		& .st-a h3 {
			background-color: #BEE8F2;
		}
		&::after {
			content: "";
			display: block;
			width: 100%;
			height: 100%;
			background: url("../images/timeline.svg") no-repeat top center;
			position: absolute;
			margin: auto;
			top: 50px;
			right: 0; left: 0;
			z-index: -1;
		}
	}
	@media (width < 767px) {
		padding: 8% 10% 12%;
		ul {
			display: block;
			li {
				width: 100%;
				&+ li {
					margin-top: 20%;
				}
			}
			&::after {
				display: none;
			}
		}
	}
}
section#program .tablewrap {
	a {
		display: block;
		text-decoration: none;
		padding: 12px 16px;
		margin-top: 9%;
		min-height: 145px;
	}
	& .inner {
		position: relative;
		line-height: 1;
		/*padding-right: 60px;*/
		h4 {
			font-size: 1.142857rem;
			span {
				font-size: 1rem;
			}
		}
		p {
			margin: 0;
			font-size: 0.85714rem;
			&.name {
				font-size: 1rem;
				small {
					font-size: 0.85714rem;
				}
			}
			&.time {
				margin-top: 1em;
			}
		}
		em {
			display: inline-block;
			font-size: 11px;
			font-weight: 700;
			line-height: 16px;
			padding: 0 0.5em;
			border-radius: 2em;
			background-color: #E64155;
			position: absolute;
			top: -6px; right: -10px;
		}
		figure {
			display: block;
			width: 80px;
			aspect-ratio: 1 / 1;
			border: #000 1px solid;
			border-radius: 50%;
			background: #fff;
			overflow: hidden;
			position: absolute;
			margin: auto;
			top: 30px; 
			right: -25px;
			img {
				width: 100%;
				height: 100%;
				object-fit: cover;
				object-position: center;
			}
		}
		&+ .inner {margin-top:8%;}
	}
	& .sk {
		background-color: #FFE6DC;
		&:hover {background-color: #FFCAB5;}
		em {background-color: #E64155;color:#ffffff;}
	}
	& .sa {
		background-color: #E1F4F9;
		&:hover {background-color: #B4EFFF;}
		em {background-color: #64C8E1;}
	}
	& .sb {
		background-color: #FFFFAA;
		&:hover {background-color: #FFF67B;}
		em {background-color: #FFD24C;}
	}
	& .sg {
		background-color: #DCF5E6;
		&:hover {background-color: #A9ECC4;}
		em {background-color: #64C882;}
	}
	& .nw {
		background-color: #E6DCF0;
		padding: 12px 16px;
	}
	& .pc figure img {
		margin: auto;
	}
	@media (768px <= width) {
		& .ico1 {
			padding: 150px 0 73px;
		}
		& .ico2 {
			padding: 120px 0 110px;
		}
		& .ico3 {
			padding: 60px 0 0;
		}
		& .sk {
			padding-bottom: 7em;
		}
		& .nw {
			margin-top: 2%;
			p.time {
				margin-top: 6.5em;
			}
		}
		& .sa {
			margin-top: 21%;
		}
		& .sb {
			margin-top: 22%;
		}
	}
}
/* ---------------------------------------- */
.ns .modaal-close::before, .ns .modaal-close::after {
  width: 2px;
}
.ns .modaal-close:focus::before, .ns .modaal-close:focus::after, .ns .modaal-close:hover::before, .ns .modaal-close:hover::after {
  background: var(--bg);
}
.ns .modaal-container {
	border-radius: 10px;
	border: #000 1px solid;
	h3 {
		position: absolute;
		margin: auto;
		top: 0; right: 0; left: 0;
		transform: translateY(-50%);
	}
	& .c-btn {
		content: "";
		display: block;
		text-align: center;
		width: 29px; height: 29px;
		border-radius: 50%;
		background-color: #DBDCDC;
		border: #000 1px solid;
		transform: rotate(45deg);
		position: absolute;
		margin: auto;
		left: 0; right: 0;
		bottom: -15px;
		&::after {
			content: "+";
			font-size: 29px;
			line-height: 0;
			color: #000;
			vertical-align: middle;
		}
		&:hover {
			cursor: pointer;
			background-color: #fff;
		}
	}
}
.ns .modaal-content-container {
  padding: 35px;
	@media (width < 767px) {
		padding: 3%;
	}
}
@media (width < 767px) {
	.ns .modaal-inner-wrapper {
		padding: 5% 2%;
	}
}


.mw {
	& .bg {
		& .inner {
			padding: 20px 170px 50px 20px;
			position: relative;
			h4 {
				font-size: 1.85714rem;
			}
			p {
				font-size: 1rem;
				&.name {
					font-size: 1.285714rem;
					margin-top: 0.5em;
				}
				&.txt {
					margin-top: 0.5em;
				}
				&.time {
					margin-top: 1em;
					position: absolute;
					left: 20px;
					bottom: 16px;
				}
			}
			em {
				display: inline-block;
				font-size: 1rem;
				font-weight: 700;
				font-style: normal;
				line-height: 25px;
				padding: 0 1.5em;
				border-radius: 2em;
				background-color: #E64155;
				position: absolute;
				bottom: 12px; right: 20px;
			}
			figure {
				display: block;
				width: 140px;
				aspect-ratio: 1 / 1;
				border: #000 1px solid;
				border-radius: 50%;
				background: #fff;
				overflow: hidden;
				position: absolute;
				margin: auto;
				top: 20px; 
				right: 20px;
				img {
					width: 100%;
					height: 100%;
					object-fit: cover;
					object-position: center;
				}
			}
			@media (width < 767px) {
				padding: 5% 5% 16%;
				h4 {
					font-size: 1.4rem;
					padding-right: 28%;
				}
				p.name {
					font-size: 1.2rem;
				}
				figure {
					width: 24%;
					height: auto;
					aspect-ratio: 1 / 1;
					top: 1%; 
					right: 1%;
					display: none;
				}
			}
		}
	}
	&.sk .bg {background-color: #FFE6DC;
		& .inner + .inner {
			padding-top: 0;
			h4 {
				border-top: #000 1px solid;
				padding-top: 0.5em;
			}
		}
		em {background-color: #E64155;color:#ffffff;}
	}
	&.sa .bg {background-color: #E1F4F9;em {background-color: #64C8E1;}}
	&.sb .bg {background-color: #FFFFAA;em {background-color: #FFD24C;}}
	&.sg .bg {background-color: #DCF5E6;em {background-color: #64C882;}}
}
/* ---------------------------------------- */

section#map .contentWrap {
	max-width: 900px;
}

section#access .contentWrap {
	max-width: 900px;
	& .map iframe {
		border: 1px var(--border) solid;
		width: 100%;
		height: auto;
		aspect-ratio: 2 / 1;
		max-width: 1000px;
		display: block;
		margin: auto;
		@media (width < 767px) {
			aspect-ratio: 1 / 1;
		}
	}
	p {
		max-width: 600px;
		margin: auto;
	}
	h4 {
		max-width: 600px;
		margin: auto;
	}
	dl {
		max-width: 600px;
		margin: 0.5em auto 0;
		dt {
			float: left;
			clear: both;
			padding-top: 0.5em;
		}
		dd {
			padding: 0.5em 0 0.5em 7em;
			border-top: #000 1px solid;
		}
	}
	& .r-ginza, & .r-nanboku, & .r-maru, & .r-tiyo {
		display: inline-block;
		margin-left: 0.5em;
		padding: 0 1em;
		border-radius: 2em;
		font-size: 0.7857rem;
		background-color: #FFA82E;
	}
	& .r-nanboku {
		background-color: #10CBC8;
	}
	& .r-maru {
		background-color: #FF622E;
	}
	& .r-tiyo {
		background-color: #10CB67;
	}
}








/* ----------------------------------------------------------------------------------------------------- */
/*
@media (1280px <= width <= 1439px) {}
@media (1024px <= width <= 1279px) {}
@media (768px <= width <= 1023px) {}
@media (width < 767px) {}
@media (768px <= width) {}
*/



