/*
Theme Name: キッズプライム稲敷
*/

@charset "utf-8";
section {
	padding: 80px 0;
	position: relative;
	text-align: left;
	line-height: 2;
}
section p + p {
	margin-top: 1.8em;
}
.ttl-img {
	margin-bottom: 40px;
}
.ttl-img img {
	height: 80px;
}
.p-0 {padding: 0;}

.main-visual img {width: 100%;}

.front-hero {
	background: #eff0f4 url('../images/front_hero.jpg') 0 0 no-repeat;
	background-size: contain;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding-left: 30vw;
	padding-right: 3vw;
	text-align: left;
	height: 16vw;
}
.front-about .container {
	background: #fff url('../images/front_about_pic.jpg') 100% 100% no-repeat;
	background-size: contain;
	margin: -30px auto;
	padding: 30px 0;
}

.text-red {
	color: #cd5454;
	font-size: 1.1em;
}

.front-appeal {
	background: #faf8f6 url('../images/bg_food.jpg') 50% 50% no-repeat;
	background-size: cover;
}

.front-appeal .txt {
	text-align: center;
}
.front-appeal .txt p {
	text-align: left;
	line-height: 2;
}
.front-appeal .grid {
	gap:40px;
	grid-template-columns: 40% 1fr;
}
.front-appeal .sub {text-align: left;width: 80%;
margin: 20px 0;}



.set-program {
	color: #000;
}
.set-program li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 80px;
}
.set-program li:nth-of-type(2n) {
	flex-direction: row-reverse;
}
.set-program .pic {
	width: 45%;
	position: relative;
}
.set-program .pic img {position: relative;}
.set-program .pic::before {
	content: '';
	position: absolute;
	z-index: 0;
	width: 40vw;
}
.set-program li:nth-of-type(2n - 1) .pic::before {
	right: 30%;
	top: 20%;
	bottom: -30px;
}
.set-program li:nth-of-type(2n) .pic::before {
	left: 30%;
	bottom: 20%;
	top: -30px;
	background: #aaa;
}
.set-program li:nth-of-type(1) .pic::before {background: #f9f2d8;}
.set-program li:nth-of-type(2) .pic::before {background: #dbe6c2;}
.set-program li:nth-of-type(3) .pic::before {background: #fedfeb;}
.set-program li:nth-of-type(4) .pic::before {background: #d8f0f9;}

.set-program .txt {
	width: 50%;
}
.set-program .ttl {
	display: flex;
	align-items: flex-end;
	font-size: 40px;
	letter-spacing: .4em;
}
.set-program .ttl.narrow span {letter-spacing: 2px;}
.set-program .ttl img {transform: scale(.7);transform-origin: 50% 100%;margin-top: -50px;}
.set-program .sub {
	font-size: 28px;
	margin-bottom: .5em;
}

.btn.fill {
	display: grid;
	place-content: center;
	max-width: 400px;
	width: 100%;
	min-height: 50px;
	background: #f4a95d;
	color: #fff;
	text-align: center;
	padding: 10px 20px;
	border-radius: 15px;
	margin: 40px auto 0;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 2px;
	border: 2px solid  #f4a95d;
}
.btn.fill small {
	display: block;
	font-size: .7em;
}
.btn.fill:hover {
	background: #fff;
	color: #f4a95d !important;
}

.set-link {
	gap:20px;
	grid-template-columns: repeat(3, 1fr);
}
.set-link a {
	position: relative;
	display: block;
	padding: 50px 30px 20px;
	margin-top: 30px;
	text-align: center;
	border: 2px solid  #f4a95d;
	overflow: visible;
	text-decoration: none;
	color: #000;
}
.set-link i {
	position: relative;
	position: absolute;
	top: -35px;
	left: 50%;
	background: #f4a95d;
	display: grid;
	place-content: center;
	border-radius: 50%;
	aspect-ratio:1;
	height: 70px;
	padding: 10px;
	transform: translateX(-50%);
}
.set-link span {
	display: block;
}
.set-link .ttl img {
	height: 70px;
	width: auto;
	margin-bottom: 1em;}

.front-news {
	padding-bottom: 0;
}
.front-news .container {
	padding-bottom: 40px;
	background: #fff url('../images/front_news_pic.jpg') 100% 100% no-repeat;
	background-size: contain;
}
.list-news {
	max-width: 700px;
	letter-spacing: 1px;
}
.list-news li {
	border-bottom: 1px solid  #000;
	padding: 1em 5px;
}
.list-news li .time {
	color: #f4a95d;
	font-weight: 700;
	display: inline-block;
	width: 12em;
}
.list-news li a {
	color: #000;
	text-decoration: none;
}
.front-news .wrap {
	max-width: 900px;
}

.front-contact {
	color: #000;
	background: #fffae6;
	position: relative;
	font-size: 18px;
}
.front-contact::before {
	content: '';
	display: block;
	position: absolute;
	width: 50%;
	left: 0;top: 0;bottom: 0;
	background: transparent url('../images/front_kengaku.jpg') 100% 100% no-repeat;
	background-size: contain;
}
.front-contact .container {
	text-align: center;
	padding-left: 40%;
	position: relative;
}
.front-contact .ttl {
	font-size: 26px;
	line-height: 1.7;
	letter-spacing: 2px;
	margin-bottom: 1em;
}
.front-contact .ttl .text-red {
	display: block;
	font-size: 2em;
	text-shadow: 0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff;
}

.grid {display: grid;align-items: center;}
/* PC↑ */
@media (min-width: 770px) {
	
}

/* ExtraLarge */
@media (min-width: 1200px) {
	.front-hero {height: 400px;}
	.front-about .ttl-img {margin-bottom: 80px;}
	.front-about p {line-height: 2.2Tit;}
	.set-program p {line-height: 2.2;}
	.front-contact .ttl,.front-contact .ttl .text-red,.front-contact .ttl + p {min-width: 440px;}
}

@media (min-width: 770px) and (max-width: 1020px) {
	.front-about .container{background-size: auto 80%;}
	.set-program .sub {line-height: 1.4;}
	.set-program .ttl img {transform: scale(.6);margin-left: -20px;}
	.set-link .ttl img {height: 55px;}
}

/* mobile */
@media (max-width: 769px) {
	section {padding: 40px 10px;}
	.grid {grid-template-columns: 1fr !important;}
	#site-description {display: none;}
	.front-about .container{background-size: auto 400px;padding-bottom: 400px;}
	.front-appeal .pic img {max-width: 500px;margin: 0 auto;display: block;width: 70%;margin-top: -50px;}
	.set-program {margin-top: -40px;}
	.set-program li {flex-wrap: wrap;}
	.set-program .pic {width: 90%;}
	.set-program .txt {width: 100%;margin-top: 50px;padding: 0 30px;}
	.set-program li .pic::before {width: 100vw;}
	.set-program li:nth-of-type(2n - 1) .pic {margin-left: auto;}
	.set-program li:nth-of-type(2n) .pic {margin-right: auto;}
	.ttl-img img {height: 50px;}
	.set-program .ttl {font-size: 30px;justify-content: center;}
	.set-program .sub {font-size: 20px;text-align: center;}
	.set-program .ttl img {transform: scale(1);margin-top: -100px;height: 90px;}
	.set-program li:nth-of-type(2n) .ttl {margin-top: -30px;}
	.btn.fill {font-size: 20px;}
	.set-link .ttl img {height: 60px;}
	.front-news .container {background-size: 300px auto;padding-bottom: 120px;}
	.list-news li .time {display: block;}
	.front-news .btn.fill {width: calc(100% - 160px);margin-left: 0;font-size: 16px;margin-bottom: -40px;margin-top: 80px;}
	.front-contact .container {padding: 0;padding-bottom: 240px;}
	.front-contact .ttl {font-size: 20px;}
	.front-contact {font-size: 14px;}
	.front-contact::before {width: 100%;height: 300px;top:auto;background-position: 55% 100%;}
}

