@charset "UTF-8";

/*---------------------------------------------

A Type Lower Page CSS

for pocket-kids.jp
coded by d-spica at 2019-02-11

---------------------------------------------*/


@import url("default.css");
@import url("base.css");
@import url("parts.css");


/* color */

.profile section h3 {
	background-image: url("../img/base/ln-be-A.png");
}

.profile section .info1 dt {
	color: #74B9DA;
}

.flow section h3 {
	background-image: url("../img/base/ln-pk-A.png");
}

.flow section section h4 {
	background-image: url("../img/base/ln-pk-B.png");
	color: #EA6DA4;
}

.flow section .info1 dt {
	color: #EA6DA4;
}

.flow section dl.attention dt {
	color: #EA6DA4;
}

.flow section dl.attention dd {
	background: #F9DAE8;
}

.program section h3 {
	background-image: url("../img/base/ln-gn-A.png");
}

.program section section h4 {
	background-image: url("../img/base/ln-gn-B.png");
	color: #99A917;
}

.briefing section h3 {
	background-image: url("../img/base/ln-be-A.png");
}

.briefing section section h4 {
	background-image: url("../img/base/ln-be-B.png");
	line-height: 1.6;
	color: #000;
}

.pricing section h3 {
	background-image: url("../img/base/ln-pk-A.png");
}

.pricing section section h4 {
	background-image: url("../img/base/ln-pk-B.png");
	color: #EA6DA4;
}

.class section h3 {
	background-image: url("../img/base/ln-gn-A.png");
}

.class section section h4 {
	background-image: url("../img/base/ln-gn-B.png");
	color: #99A917;
}

.class section .info1 dt {
	color: #99A917;
}

.staff section h3 {
	background-image: url("../img/base/ln-be-A.png");
}

.staff section section h4 {
	background-image: url("../img/base/ln-be-B.png");
	color: #74B9DA;
}

.staff section .info1 dt {
	color: #74B9DA;
}

.about section h3 {
	background-image: url("../img/base/ln-pk-A.png");
}

.access section h3 {
	background-image: url("../img/base/ln-gn-A.png");
}

.contact section h3 {
	background-image: url("../img/base/ln-be-A.png");
}

.privacy section h3 {
	background-image: url("../img/base/ln-pk-A.png");
}

.privacy section section h4 {
	background-image: none;
	padding-top: 0;
	color: #EA6DA4;
}

.privacy section dt {
	color: #EA6DA4;
}


section.outline .image-right {
	max-width: 35%;
}

section.policy .with-photo {
	display: grid;
	grid-template-rows: 1fr auto auto 1fr;
}

section.policy .with-photo dt {
	font-size: 1.2rem;
	font-weight: 700;
	color: #7DCEF4;
}

section.policy .with-photo:nth-of-type(2n+1) {
	grid-template-columns: 1fr auto 26rem;
}

section.policy .with-photo:nth-of-type(2n+1) dt {
	grid-row: 2;
	grid-column: 3;
}

section.policy .with-photo:nth-of-type(2n+1) dd:nth-of-type(1) {
	grid-row: 3;
	grid-column: 3;
}

section.policy .with-photo:nth-of-type(2n+1) dd:nth-of-type(2) {
	grid-row: 1 / 5;
	grid-column: 2;
	margin-right: 1.5rem;
}

section.policy .with-photo:nth-of-type(2n) {
	grid-template-columns: 26rem auto 1fr;
}

section.policy .with-photo:nth-of-type(2n) dt {
	grid-row: 2;
	grid-column: 1;
}

section.policy .with-photo:nth-of-type(2n) dd:nth-of-type(1) {
	grid-row: 3;
	grid-column: 1;
}

section.policy .with-photo:nth-of-type(2n) dd:nth-of-type(2) {
	grid-row: 1 / 5;
	grid-column: 2;
	margin-left: 1.5rem;
}

section.policy .with-photo li {
	position: relative;
	padding-left: 1em;
}

section.policy .with-photo li::before {
	content: '・';
	position: absolute;
	top: 0;
	left: 0;
}

section.history .info1 dd {
	margin: -2em 0 0.5em 7em;
}

section.flow section {
	display: grid;
	grid-template-rows: auto auto;
	grid-template-columns: 70% 30%;
}

section.flow section h4 {
	grid-row: 1;
	grid-column: 1 / 3;
}

section.flow section .info1 {
	grid-row: 2;
	grid-column: 1;
}

section.flow section .photos {
	grid-row: 2;
	grid-column: 2;
	display: flex;
	flex-wrap: wrap;
	align-content: space-around;
	margin-left: 1.5rem;
}

section.flow i {
	color: #EA6DA4;
}

section.flow .attention i {
	color: inherit;
}

section.program section {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

section.program section h4 {
	width: 100%;
}

section.program section dl {
	margin: 1rem 0;
	width: 47%;
	line-height: 1.5;
}

section.program section dt {
	width: 6.5rem;
}

section.program section dt img {
	width: 100%;
}

section.program section dd img {
	width: 100%;
}

section.plan dl {
	display: grid;
	grid-template-rows: 7.5rem 1fr;
	grid-template-columns: 7.5rem 1fr;
}

section.plan dt {
	grid-row: 1;
	grid-column: 1;
}

section.plan dd:nth-of-type(1) {
	grid-row: 1;
	grid-column: 2;
	align-self: center;
	font-weight: 700;
}

section.plan dd:nth-of-type(2) {
	grid-row: 2;
	grid-column: 1 / 3;
}

section.event dd:nth-of-type(1) {
	margin: 1rem 0;
	font-weight: 700;
}

section.class section > div {
	overflow: hidden;
}

section.class section > div:nth-of-type(n+2) {
	border-top: solid 1px #CCC;
	padding-top: 1.5rem;
}

section.class .image-right {
	width: 50%;
}

section.class .info2 li {
	position: relative;
	padding-left: 3em;
}

section.class .info2 li em {
	position: absolute;
	top: 0;
	left: 0;
}

section.class .info1 dd {
	margin-left: 16em;
}

section.class .map {
	height: 22.5rem;
}

section.class .map iframe {
	width: 100%;
	height: 100%;
}

section.staff .info1 dd {
	margin-left: 10em;
}

section.staff ol {
	padding-left: 1.5em;
}

section.about .photo {
	text-align: center;
}

section.access > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

section.access .info2 {
	width: 46%;
}

section.access dl.pk-U {
	order: 2;
}

section.access dl.pk-II {
	order: 3;
}

section.access dl.pk-U2 {
	order: 4;
}

section.access dl.pk-M {
	order: 5;
}

section.access dl.pk-O {
	order: 6;
}

section.access .info2 li {
	position: relative;
	padding-left: 3em;
}

section.access .info2 li em {
	position: absolute;
	top: 0;
	left: 0;
}

section.access .map {
	height: 22.5rem;
}

section.access .map iframe {
	width: 100%;
	height: 100%;
}

section.contact dl {
	display: table;
	width: 100%;
}

section.contact dt {
	display: table-cell;
	padding-top: 0.3em;
	width: 15em;
	vertical-align: top;
}

section.contact dt b {
	font-weight: 400;
	color: #F00;
}

section.contact dd {
	display: table-cell;
}

section.contact [type="text"],
section.contact [type="tel"],
section.contact [type="email"],
section.contact textarea {
	box-sizing: border-box;
	border: solid 1px #CCC;
	padding: 0.2em 0.4em;
	width: 100%;
}

section.contact form p {
	text-align: right;
}

section.contact [type="submit"] {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	box-sizing: border-box;
	border: none;
	border-radius: 0.3rem;
	background: #7DCEF4;
	padding: 0.4em;
	width: 8em;
	text-align: center;
	color: #000;
}

section.contact .warning {
	color: #F00;
}

section.contact .NG {
	background: #FFE5E5;
}

section.contact blockquote {
	margin-bottom: 1.5rem;
	border: solid 1px #CCC;
	padding: 1em 1.5em;
}

section.contact .nav-top {
	margin: 5em 0;
	text-align: center;
}

section.contact .nav-top a {
	display: inline-block;
	box-sizing: border-box;
	border-radius: 0.3rem;
	background: #7DCEF4;
	padding: 0.4em;
	width: 12em;
	text-decoration: none;
	color: #000;
}

section.contact .nav-top a:hover {
	opacity: 0.7;
}

section.contact .point {
	border: solid 1px #F00;
	padding: 3em 1.5em;
	font-size: 1rem;
	font-weight: 400;
	color: #F00;
}

section.privacy dd {
	margin-bottom: 0.5em;
}

section.privacy dd em {
	display: block;
}


@media all and (max-width:800px) {

	section.policy .with-photo:nth-of-type(2n+1) {
		grid-template-columns: 1fr auto 60%;
	}

	section.policy .with-photo:nth-of-type(2n+1) dd:nth-of-type(2) {
		margin-right: 1rem;
	}

	section.policy .with-photo:nth-of-type(2n) {
		grid-template-columns: 60% auto 1fr;
	}

	section.policy .with-photo:nth-of-type(2n) dd:nth-of-type(2) {
		margin-left: 1rem;
	}


}

@media all and (max-width:640px) {
	
	section.outline .image-right {
		max-width: none;
	}

	section.flow section {
		grid-template-columns: 60% 40%;
	}

	section.flow section .photos {
		margin-left: 1rem;
	}

	section.program section {
		display: block;
	}

	section.program section dl {
		margin: 2rem 0;
		width: auto;
	}

	section.class .image-right {
		width: auto;
	}

	section.access > div {
		display: block;
	}
	
	section.access .info2 {
		width: auto;
	}
	
	section.contact dl {
		display: block;
	}

	section.contact dt {
		display: block;
	}

	section.contact dd {
		display: block;
	}

}

