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

@charset "utf-8";

a {transition: .2s;}
img {max-width: 100%;}
* {box-sizing: border-box;}
.hl	{background: linear-gradient(transparent 60%, #ffff66 60%);display: inline;}

#gMenu {
	background: #fff;
}
.menu-image-title-below.menu-image-title {color: #000 !important;}
#gMenu .menu li a:hover {background: none;opacity: .8;}
#gMenu .menu li.current_page_item > a {background: transparent !important;}

.grid {display: grid;align-items: center;}
.head_info {flex-wrap: wrap;justify-content: flex-end;margin-top: 20px;}
.head_info a.tel {width: 50%;display:grid;grid-template-columns: 30px 1fr;align-items: center;gap:10px;}
.head_info a img {margin: 0;padding: 0;}
.head_info a.course {background: #f4a95d;text-decoration: none;color: #fff;padding: 3px 40px;display: flex;align-items: center;letter-spacing: 1px;border-radius: 5px;margin: 15px 0 15px 15px;}
.head_info a.course i {line-height: 1;}
.head_info a.course img {height: 1.2em;margin-right: 5px;}
.head_info > p{width: 100%;text-align: right;font-weight: 700;line-height: 1.4;}
.innerBox,#site-description,.container {
	max-width: 1100px;
	width: 95%;
	margin: 0 auto;
}

#footMenu {
	background: #6abc6f;
	color: #fff;
	padding-top: 0;
	position: relative;
	font-size: 1em;
	line-height: 1.8;
}
#footMenu::before {
	content: 'aa';
	display: block;
	background: #aaa;
	left: 0;bottom: 100%;right: 0;
	height: 140px;
	z-index: 2;
	background: #fff url('../images/footer_line.png') 50% 100% repeat-x;
	background-size: contain;
}
#footMenu .menu li a,#footMenu a {color: #fff;}
#siteBottom {
	background: #227d28;
}
.footer-info .logo {width: 300px;margin-bottom: 20px;}
#footMenu .menu {
	margin-top: 20px;
	display: grid;grid-auto-flow: column;grid-template-rows: repeat(5, auto);grid-template-columns: 1fr 1fr;
	
}
#footMenu .menu li {border: none !important;}
#footMenu .menu li a {font-size: 16px;font-weight: 700;}

#pageTitBnr #pageTitInner #pageTit {
	text-align: center;
}

.entry-content section + section {margin-top: 60px;}

.ttl-obi {
	position: relative;
	text-align: center;
	font-size: 26px;
	letter-spacing: 3px;
	line-height: 1.5em;
	color: #fff;
	margin: 0 auto 40px;
	background: #82cac6;
	box-shadow:0 0 0 8px #82cac6;
	width: calc(100% - 16px);
	border: 1px solid #fff !important;
	padding: 12px;
	border-radius: 4px;
}

.ttl-bdb {
	text-align: center;
	font-size: 34px;
	line-height: 1.5em;
	color: #333;
	position: relative;
	margin: 0 auto 40px;
	padding: 10px 10px 20px;
	letter-spacing: 2px;
}
.ttl-bdb::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	background: #f4a95d;
	height: 5px;
	width: 180px;
}
* + .ttl-bdb,* + .ttl-left {margin-top: 2em;}
.ttl-left {
	position: relative;
	font-size: 30px;
	line-height: 1.7;
	color: #333;
	font-weight: 400;
	padding-left: 2em;
}
.ttl-left::before {
	content: '';
	display: block;
	width: 2em;
	background: #f4a95d;
	height: 2px;
	position: absolute;
	left: 0;
	top: 24px;
}

.list-flow li {
	display: grid;
	grid-template-columns: 4fr 5fr;
	gap:40px;
	align-items: center;
	padding: 40px;
	position: relative;
	counter-increment: num;
}
.list-flow li::before {
	content: counter(num, decimal-leading-zero);
	position: absolute;
	top: 40px;
	right: 20px;
	color: rgba(170, 170, 170, .2);
	font-weight: 700;
	font-size: 80px;
}
.list-flow li + li::after {
	content: '\f107';
	font: normal normal normal 14px/1 FontAwesome;
	color: #82cac6;
	font-size: 44px;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -55px;
}
.list-flow li + li {
	margin-top: 40px;
}
.list-flow .pic {
	box-shadow: -26px -26px #fedfeb;
}
.list-flow li:nth-of-type(2n) .pic {
	box-shadow: -26px -26px #d8f0f9;
}
.list-flow .ttl {
	font-size: 1.5em;
	color: #333;
	margin-bottom: .5em;
	line-height: 1.6;
}
.flow-food .ttl-obi {
	margin-top: 120px;
	background: #f3d42e;
	box-shadow:0 0 0 8px #f3d42e;
}
.flow-food .ttl-obi i img {
	position: absolute;
	bottom: calc(100% - 10px);
	width: 220px;
	right: 30px;
}
.program-detail .ttl-obi {
	margin-top: 120px;
}
.program-detail .ttl-obi i img {
	position: absolute;
	bottom: calc(100% - 20px);
	width: 220px;
	right: 30px;
}
.program-detail .ttl-obi::before {
	content: '';
	display: block;
	position: absolute;
	bottom: calc(100% + 5px);
	background: #fff url('../images/program_line.png') 0 100% no-repeat;
	background-size: contain;
	left: 0;right: 30%;
	height: 80px;
	z-index: -1;
}

.program-join {
	background: #fffae6;
	padding: 50px;
	margin: 80px auto;
	border: 4px dashed #fff;
	box-shadow:0 0 0 8px #fffae6;
	width: calc(100% - 20px);
}
.program-join .box {
	font-size: 1.2em;
	text-align: center;
	line-height: 1.8;
	padding-bottom: 15px;
}

.set-program {
	grid-template-columns: 1fr 1fr;
	gap:30px;
	align-items: flex-start;

	font-size: 1.1em;
	line-height: 1.6;
}
.set-program .box {
	display: grid;
	grid-template-rows: subgrid;
	grid-row:span 3;
	gap:1.5em;
	padding: 20px;
/*	border: 5px solid #ccc;*/
}
.set-program .box .ttl {
	font-size: 30px;
	line-height: 1.4;
	padding: 2px 15px;
	border-left: 8px solid  #ccc;
}
.set-program .box:nth-of-type(1) .ttl {border-left-color: #ebde94 !important;}
.set-program .box:nth-of-type(2) .ttl {border-left-color: #bcd387 !important;}
.set-program .box:nth-of-type(3) .ttl {border-left-color: #fab9d2 !important;}
.set-program .box:nth-of-type(4) .ttl {border-left-color: #ade4f8 !important;}

.set-food {
	grid-template-columns: 2fr 3fr;
	gap:30px;	
	padding: 30px 0;
	font-size: 1.2em;
	line-height: 1.7;
}

.set-three {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap:30px;
	padding-bottom: 50px;
}
.set-three .box{
	display: grid;
	grid-template-rows: subgrid;
	grid-row:span 3;
	gap:1.2em;
	padding: 20px;
	border: 3px solid #f3d42e;
}
.set-three .box .ttl {
	background: #f3d42e;
	margin: -20px -20px 0;
	padding: 15px;
	text-align: center;
	color: #fff;
	font-size: 1.2em;
}

.food-effect .ttl-bdb::after {
	background: #82cac6;
}

.wrap-dl dl {
	counter-increment: num;
	border: 3px solid  #b3cb40;
	margin-top: 2em;
	display: grid;
	grid-template-columns: 2fr 3fr;
	min-height: 100px;
}
.wrap-dl dt,.wrap-dl dd {
	display: flex;
	align-items: center;
	padding: 16px;
}
.wrap-dl dt {
	background: #b3cb40;
	color: #fff !important;
	font-size: 1.2em;
	letter-spacing: 2px;
}
.wrap-dl.num dt::before {
	content: counter(num, decimal-leading-zero)' ―';
	margin-right: .5em;
}

.text-center {
	text-align: center;
}
.fz-more {
	font-size: 1.3em;
	line-height: 1.8;
}
.text-red {
	color: #cd5454;
}

.facility-info {
	margin-top: 90px;
}
.facility-info .ttl-obi::before {
	content: '';
	display: block;
	position: absolute;
	bottom: calc(100% + 5px);
	background: #fff url('../images/facility_line.png') 100% 100% no-repeat;
	background-size: contain;
	left: 0;right: 0;
	height: 120px;
	z-index: -1;
}
.set-facility {
	grid-template-columns:3fr 2fr;
	gap:20px;
	font-size: 24px;
	line-height: 1.6;
	background: #fffae6;
	margin-top: 1em;
}
.set-facility .txt {
	padding: 20px;
}
.set-facility .fz-more + p {
	font-size: 1rem;
	margin-top: .5em;
}
.table-simple {
	margin: 40px auto;
	width: 100%;
}
.table-simple th,.table-simple td {
	padding:  15px;
	border: 1px solid  #c4b6b6;
}
.table-simple th {
	background: #d7efec;
	color: #000;
}
.list-schedule {
	list-style: none;
	margin: 40px auto 0;
	display: grid;
	grid-template-columns: repeat(3, auto);
	padding: 0;
	text-align: center;
	background: #fffae6;
}
.list-schedule li {
	background: rgba(255, 255, 255, 0.5);
	padding: 20px;
}
.list-schedule li:nth-of-type(2n) {
	background: rgb(255, 255, 255);
}
.list-schedule .pic img {
	max-width: 60%;
}
.box-yellow {
	background: #fffae6;
	padding: 50px;
	margin: 50px auto;
	border: 4px dashed #fff;
	box-shadow:0 0 0 8px #fffae6;
	width: calc(100% - 20px);
	text-align: center;
	font-size: 1.2em;
	line-height: 1.6;
}
.box-yellow .ttl-bdb {
	font-size: 28px;
}

.set-recruit {
	display: grid;
	grid-template-columns:2fr 3fr;
	gap:20px;
	line-height: 1.6;
	margin-top: 1em;
	margin-bottom: 3em;
}
.set-recruit .txt {
	padding: 20px;
}
.list-word {
margin: 1em -0px;
}
.list-word li {
	padding-left: 20px;
	position: relative;
}
.list-word li::before {
	content: '\f00c';
	font-size: .8em;
	position: absolute;left: 0;top: 3px; font: normal normal normal 14px / 1 FontAwesome;font-weight: bold;color: #4be245;
}
.wrap-staff {
	display: grid;
	grid-template-columns: repeat(3, auto);
	gap:40px;
	margin: 50px auto 80px;
}
.wrap-staff .pic {
	border-radius: 20px;
	overflow: hidden;
}
.wrap-staff .txt {
	background: #fffae6;
	padding: 20px;
	margin-top: 20px;
	line-height: 1.7;
}
.wrap-staff .txt > div + div {
	margin-top: .5em;
}
.wrap-staff .txt > div {padding: 5px;}
.wrap-staff .txt .name {
	text-align: center;
	font-size: 1.2em;
}
.wrap-staff .txt .ex {
	border-top: 1px dotted #f3d42e;
	border-bottom: 1px dotted #f3d42e;
}

/* PC↑ */
@media (min-width: 770px) {
	#header #site-title a img {max-height: 120px;margin-top: 10px;}
	#header {padding-top: 15px;}
	#gMenu #gMenuInner.innerBox,#footMenu .innerBox.flex {max-width: 1100px;width: 90%;}
	#footMenu .sns {position: absolute;left: calc(50% + 300px);font-size: 24px;bottom: 50px;}
	#pageTitBnr #pageTitInner #pageTit {font-size: 30px;}
}

/* ExtraLarge */
@media (min-width: 1200px) {
	#gMenu {padding-bottom: 20px;}
}

@media (min-width: 770px) and (max-width: 1020px) {
	#gMenu.itemClose .menu {display: flex;background: #fff;}
	#gMenu .menu li {background: #fff;}
	#gMenu .menu li a strong{display: flex;flex-direction: column;align-items: center;}
	#footMenu .sns {position: relative;left: auto;margin-top: 50px;}
}

/* mobile */
@media (max-width: 769px) {
	.grid {grid-template-columns: 1fr;}
	.pc {display: none;}
	#gMenu.itemOpen .menu {background: #fff;}
	#gMenu .menu li {background: #fff;}
	#gMenu .menu li a strong {display: grid;grid-template-columns: 40px 1fr; align-items: center;padding: 0 20px 0 10px;}
	.menu-item a img {height: 1.8em;width: auto !important;}
	.head_info > p{display: none;}
	#footMenu .menu {display:none;}
	#footMenu .sns {font-size: 2em;margin-top: -50px;margin-bottom: 20px;}
	.footer-info .logo {margin: 0 auto 20px;width: 200px;}
	.list-flow li {grid-template-columns:1fr;}
	.list-flow li::before {top:auto;bottom: 70px;}
	.flow-food .ttl-obi {margin-top: 200px;}
	.program-detail .ttl-obi i img {width: 150px;bottom: calc(100% - 10px);}
	.program-detail .ttl-obi::before{right: 50%;}
	.ttl-left {font-size: 20px;}
	.ttl-bdb {font-size: 24px;}
	.ttl-left::before {top: 15px;}
	.set-three,.wrap-dl dl {grid-template-columns: 1fr;}
	.program-join {padding: 20px;}
	.d-none {display: none;}
	.facility-info .ttl-obi::before {height: 80px;}
	.set-facility {font-size: 18px;}
	.list-schedule {grid-template-columns: 1fr;}
	.list-schedule .pic img {max-width: 180px;}
	.box-yellow {padding: 30px;}
	.box-yellow .ttl-bdb {font-size: 20px;padding: 0 0 30px;}
	.set-recruit {grid-template-columns:1fr;}
	.wrap-staff {grid-template-columns:1fr;}
}

