
@charset "utf-8";
/* CSS Document */
html {
	font-family: 'Roboto', sans-serif;
	font-size: 62.5%;/* 10px */
}
body {
	font-size: 1.5rem;
	background: url("../img/bg_main.png") left top repeat;
}
h1,h2,h3{
	color: #5286c5;
	margin-bottom: 0.5em;
}
img {
	max-width: 100%;
	vertical-align: bottom;
}
a {
	color: #333;
}
a:hover {
	color: #cc0000;
	text-decoration: none;
}
header {
	border-bottom: 0.5rem solid #5286c5;
	background-color: floralwhite;
}
header .header-content {
	height: 170px;
	width: 100%;
	text-align: center;
}
header .header-content-s {
	height: 140px;
	width: 100%;
	text-align: center;
}
header .logo_te_sapo {
	display: inline-block;
	text-align: left;
	line-height: 3.0rem;
}
header .logo {
	max-height: 120px;
}
header .logo-s {
	max-height: 90px;
}
header .icon_bunkei_gakuho {
	margin-bottom: 1rem;
	position: relative;
}
header .icon_bunkei_gakuho span {
	margin-left: 1rem;
	padding: 0.2rem 1.5rem;
	font-size: large;
	color: white;
	background-color: darkblue;
	border-radius: 6px;
}
header .icon {
	max-height: 36px;
    max-width: 260px;
}

article {
	padding: 2rem 5%;
	position: relative;
	z-index: 5;
	background-color: floralwhite;
}
.catch {
	margin-bottom:1em;
	font-size: 2rem;
}
.gallery {
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin-bottom: 2rem;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}
.gallery li {
	/*max-width: 20%;*/
	/*flex-basis: 19%;*/
	width: 20%;
	-webkit-box-flex: 0;
	    -ms-flex-positive: 0;
	        flex-grow: 0;
	padding: 0.5rem 0.5%;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.gallery li:last-child {
	/*flex-grow: 1.1;*/
	width: 22%;
}
.summary {
	border: 1px solid #333;
	background-color: #fff;
	border-radius: 6px;
	padding: 1rem 2%;
	margin: 0 0 3rem 0;
}
.summary sup {
	color: #990000;
}
.summary .notice {
	font-size: 90%;
	padding-top: 1em;
}
.error {
	background-color: #990000;
	color: #fff;
	text-align: center;
	padding: 0.5em;
}
.form {
	margin: 2rem 0;
}
.form .order {
	display: inline;
	font-size: 2rem;
	background-color: #5286c5;
	color: #fff;
	border-radius: 5rem;
	margin-right: 0.5rem;
	padding: 0.1em 0.5em 0.2em;
	vertical-align:text-bottom;
}
.form .box {
	margin-bottom: 2rem;
}
.form label {
	font-weight: bold;
	line-height: 2em;
	color: #5286c5;
}
.form label.pwdcheck {
	font-weight: normal;
	font-size: 1.3rem;
	color: #333;
}
.form .box-sbj .note{
	font-size: 1.1rem;
	padding: 1em 0.5em;
}
.form select {
	width: 100%;
	background-color: #fff;
	border: 1px solid #ccc;
}
.form option {
	font-size: 1.3rem;
	padding: 0.5rem;
}
.form option:nth-child(even){
	background-color: #E4EEF0;
}
.form #pwd {
	padding: 0.3rem;
	font-size: 1.3rem;
	border: 1px solid #ccc;
	margin-bottom: 0.5rem;
	background-color: #fff;
	width: 100%;
}
.form .box-submit {
	text-align: center;
}
.form .box-submit input {
	font-size: 2rem;
	color: #fff;
	background-color: #5286c5;
	border-radius: 4em;
	padding: 0.1em 1em;
}
.form .box-submit input:focus,.form .box-submit input:hover {
	background-color:#2D5586;
}
.accessibility {
	background-color: #eee;
	border-radius: 3px;
	padding: 1rem 3%;
}
.accessibility h4 {
	border-bottom: 1px solid #5286c5;
	margin-bottom: 1rem;
	padding-left: 0.5em;
	font-weight: bold;
	font-size: 1.5rem;
	line-height: normal;
}
.accessibility ul {
	margin:0 0 2rem 2rem;
	font-size: 1.3rem;
}
.accessibility ul:last-child {
	margin-bottom: 0;
}

.bgitems {
	position: absolute;
	z-index: -10;
	top:0; left: 0;
}
.bgitems img {
	opacity: 0.2;
}

footer {
	font-size: 1.3rem;
	border-top: 0.5rem solid #5286c5;
	background-color: #eee;
}
footer .company {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding: 2rem 5%;
}
footer .company .logo {
	-ms-flex-preferred-size: 30%;
	    flex-basis: 30%;
}
footer .company .logo img {
	max-width: 125px;
}
footer .company ul {
	-ms-flex-preferred-size: 70%;
	    flex-basis: 70%;
	list-style: none;
	padding-left: 10%;
}
footer .company ul li {
	padding-bottom: 0.5rem;
}
footer .copyright {
	text-align: center;
	padding: 1rem 0;
	background-color: #083A7B;
	color: #fff;
}

.contentspage article h1 {
	font-size: 5rem;
	text-align: center;
}
.contentslink {
	text-align: center;
	margin-bottom: 5rem;
}
.contentslink a {
	background-color: #5286c5;
	color: #fff;
	text-decoration: none;
	display: inline-block;
	border-radius: 3rem;
	padding: 0.5rem 3rem;
}
.contentslink a:hover {
	background-color: #2D5586;
}

.wrap_contentslink_list {
	margin-bottom: 60px;
}
.contentslink_list {
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
.contentslink_list li {
	-ms-flex-preferred-size: 25%;
	    flex-basis: 25%;
}
.contentslink_list a {
	background-color: #5286c5;
	color: #fff;
	text-decoration: none;
	display: inline-block;
	border-radius: 3rem;
	padding: 0.5rem 3rem;
}
.contentslink_list a:hover {
	background-color: #2D5586;
}
.audiolist {
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}
.audiolist li {
	-ms-flex-preferred-size: 45%;
	    flex-basis: 45%;
	margin-bottom: 1rem;
}
.ziplist li {
	padding: 0.5rem 0;
}

.wrap-etcsbj {
	padding: 1rem 0;
}
.list-etcsbj {
	list-style: none;
}
.list-etcsbj li {
	padding: 5px 0;
}
.list-etcsbj a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 3%;
	text-decoration: none;
	border-radius: 3px;
	background-color: #FFFCEA;
	border: 1px solid #FFF7C7;
}
.list-etcsbj a figure {
	flex-basis: 25%;
}
.list-etcsbj a .txt {
	flex-basis: 65%;
}
.list-etcsbj a img {
	max-width: 100%;
	border: 1px solid #ccc;
}

/* ********** ********** **********
   for tablet and pc
 ********** ********** ********** */
@media print, (min-width: 768px){
	.mobileonly {
		display: none;
	}

	a[href^="tel:"] {
    	pointer-events: none;
		text-decoration: none;
	}

    article {
		padding: 5rem 3%;
	}
	.gallery li {
		/*flex-basis: 11%;*/
		width: 11%;
		padding: 1rem 0.5%;
	}
	.gallery li:last-child {
		width: 12%;
	}

	.form {
		display: -ms-grid;
		display: grid;
		-ms-grid-columns:1fr 10% 1fr;
		-ms-grid-rows: min-content 1fr;
		grid-template-columns:1fr 1fr;
		grid-template-rows: -webkit-min-content 1fr;
		grid-template-rows: min-content 1fr;
		-webkit-column-gap: 10%;
		   -moz-column-gap: 10%;
		        column-gap: 10%;
		padding: 0 1%;
	}
	.form .box-sbj {
		-ms-grid-column: 1;
		-ms-grid-row: 1;
		-ms-grid-row-span:2;
		grid-column: 1/2;
		grid-row: 1/3;
	}
	.form .box-pwd {
		-ms-grid-column: 3;
		-ms-grid-row: 1;
		grid-column: 2/3;
		grid-row: 1/2;
	}
	.form .box-submit {
		-ms-grid-column: 3;
		-ms-grid-row: 2;
		grid-column: 2/3;
		grid-row: 2/3;
		text-align: left;
	}
	.form option:hover {
		background-color: #82B0C9;
	}
	
	.accessibility {
		display: -ms-grid;
		display: grid;
		-ms-grid-columns:1fr 6% 1fr;
		-ms-grid-rows: min-content 1fr;
		grid-template-columns:1fr 1fr;
		grid-template-rows: auto;
		-webkit-column-gap: 6%;
		   -moz-column-gap: 6%;
		        column-gap: 6%;
		padding-top: 3rem;
		padding-bottom: 3rem;
	}
	.accessibility h4:first-of-type {
		-ms-grid-column: 1;
		-ms-grid-row: 1;
		grid-column: 1/2;
		grid-row: 1/2;
	}
	.accessibility ul:first-of-type {
		-ms-grid-column: 1;
		-ms-grid-row: 2;
		grid-column: 1/2;
		grid-row: 2/3;
	}
	.accessibility h4:last-of-type {
		-ms-grid-column: 3;
		-ms-grid-row: 1;
		grid-column: 2/3;
		grid-row: 1/2;
	}
	.accessibility ul:last-of-type {
		-ms-grid-column: 3;
		-ms-grid-row: 2;
		grid-column: 2/3;
		grid-row: 2/3;
	}
	.accessibility ul {
		margin-bottom: 0;
	}
	footer .company {
		width: 50%;
		margin-left: auto;
		margin-right: auto;
	}
	footer .company .tel {
		pointer-events: none;
	}
	.list-etcsbj {
		display: flex;
		justify-content: space-between;
		padding: 0 2%;
	}
	.list-etcsbj li {
		flex-basis: 47.5%;
	}
}

/* ********** ********** **********
   width over 1024px
 ********** ********** ********** */
@media print, (min-width: 1024px){
	article {
		width: 1024px;
		margin-left: auto;
		margin-right: auto;
	}
	.catch {
		text-align: center;
	}
	.form {
		padding: 0 3%;
	}
}
article .login {
    margin: 1rem;
    padding: 1rem;
    background-color: white;
    margin-bottom: 3rem;
}
article .login .guide-imgs {
	display: flex;
	justify-content: center;
	align-items: center;
}
article .login img {
    margin-bottom: 0.5rem;
}
article .login .note {
    font-size: medium;
    padding: 2rem;
}
article .login-sample {
    margin: 0;
    padding: 1rem;
	text-align: center;
}
article .login-sample .note {
    font-size: larger;
    padding: 2rem;
}
#pincode {
	font-size: large;
}
form .btn-login {
	margin-top: 10px;
	margin-bottom: 10px;
	width: 160px;
    background-color: dodgerblue;
	padding: 4px 10px 4px 10px;
    color: white;
    font-size: x-large;
	border-radius: 29px;
	line-height: 50px;
}
form .btn-login:hover {
    background-color: lightskyblue;
    color: black;
}
form .btn-login-sample {
	padding: 4px;
	max-width: 300px;
    color: white;
    font-size: large;
	border-radius: 29px;
	line-height: 50px;
	white-space: nowrap;
	overflow: hidden;
}
form .btn-login-sample img {
    height: 50px;
}
form .btn-login-sample-kokugo {
    background-color: rgb(255, 64, 0);
	margin-bottom: 1em;
}
@media (pointer: fine) {
    form .btn-login-sample-kokugo:hover {
        background-color: rgb(255, 128, 0);
        color: black;
    }
}
form .btn-login-sample-shakai {
    background-color: rgb(49, 144, 65);
	margin-bottom: 1em;
}
@media (pointer: fine) {
    form .btn-login-sample-shakai:hover {
        background-color: rgb(147, 209, 158);
        color: black;
    }
}
form .btn-login-sample-math {
    background-color: rgb(125, 70, 152);
	margin-bottom: 1em;
}
@media (pointer: fine) {
    form .btn-login-sample-math:hover {
        background-color:rgb(175, 135, 196);
        color: black;
    }
}
form .btn-login-sample-rika {
    background-color: rgb(0, 78, 162);
	margin-bottom: 1em;
}
@media (pointer: fine) {
    form .btn-login-sample-rika:hover {
        background-color: rgb(118, 166, 218);
        color: black;
    }
}
form .btn-login-sample-eng {
    background-color: rgba(216, 0, 90);
	margin-bottom: 1em;
}
@media (pointer: fine) {
    form .btn-login-sample-eng:hover {
        background-color: rgb(231, 99, 154);
        color: black;
    }
}
form .password-group {
    margin: 2px;
    padding: 0px;
}
form .password-label {
	height: 100%;
    background-color: rgb(136, 185, 248);
    border-radius: 4px;
    color:black;
    padding: 1px 4px 1px 4px;
	font-size: large;
	line-height: 36px;
	text-align: center;
}
.caution-message {
	color: black;
	font-size: 1.6rem;
	line-height: 2.5rem;
}
.caution-message.font-small {
	font-size: 1.4rem;
	line-height: 2.0rem;
}
.sub-section {
	border-top: 0.5rem solid #5286c5;
}

.sub-section-title {
	width: 100%;
	text-align: center;
	font-size: x-large;
	font-weight: bold;
	color: rgb(255, 100, 0);
}

.movie-area {
	width: 390px;
	margin: 1rem;
	padding: 0;
}

.movie-label {
	font-size: x-large;
	text-wrap: nowrap;
	width: 100%;
	text-align: center;
}
.movie-content {
	width: 100%;
	background-color: #eee;
}
