@charset "UTF-8";

/* *****************************************************
 *  container
 *	main_visual
 *	contents
 *	media queries
 * *****************************************************/

/* *****************************************************
 *  container
 * *****************************************************/
div.container figure {
	line-height: 0;
}

div.container figure img {
    max-width: 100%;
    height: auto;
}

/* *****************************************************
 *  main_visual
 * *****************************************************/
div.contents{
	padding: 0 30px;
}

div.contents h2 {
	position: relative;
	font-size: 2.4rem;
	font-weight: bold;
	font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
	margin: 0 -30px 35px;
	padding: 0 30px;
	letter-spacing: 0.1em;
	line-height: 60px;
	color: #fff;
	text-align: left;
	padding-left: 30px;
	background: #1083c6;
}

div.contents h2::before {
	content: "";
	position: absolute;
	width: 15px;
	height: 100%;
	background: #009be4;
	top: 0;
	left: 0;
}

div.main_visual {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: center;
    justify-content: center;
    margin-bottom: 75px;
    background: #0781c8;
}

div.main_visual figure {
	width: 550px;
}

div.main_visual > div {
	width: 550px;
	padding: 48px 0 0 140px;
	color: #fff;
	font-family: "游明朝","YuMincho","ヒラギノ明朝 ProN W6","Hiragino Mincho ProN","Hiragino Mincho Pro","ＭＳ 明朝",serif;
}

div.main_visual > div h2 {
	margin-bottom: 20px;
	font-size: 4.2rem;
	font-weight: bold;
	text-align: center;
	letter-spacing: 0.2em;
}

div.main_visual > div p {
	font-size: 1.7rem;
	font-weight: bold;
	line-height: 2;
	letter-spacing: 0.2em;
}

/* *****************************************************
 *  contents
 * *****************************************************/
div.contents form {
	display: block;
	width: 850px;
	margin: 0 auto;
}

div.contents h3 {
	margin-bottom: 25px;
	color: #0781c8;
	font-family: "游明朝","YuMincho","ヒラギノ明朝 ProN W6","Hiragino Mincho ProN","Hiragino Mincho Pro","ＭＳ 明朝",serif;
	font-size: 1.8rem;
	font-weight: bold;
	text-align: center;
}

div.contents input,
div.contents textarea,
div.contents select {
	-webkit-border-radius : 0;
	-webkit-appearance : none;
	-moz-appearance: none;
	-webkit-tap-highlight-color : rgba(0,0,0,0);
	background: #fff;
}

div.contents select {
	position: relative;
}

div.classroom label {
	position: relative;
	display: inline-block;
}

div.classroom label::after {
	display: block;
	content: "";
	position: absolute;
	top: 17px;
	right: 10px;
	pointer-events: none;
    border: 8px solid transparent;
    border-top: 12px #303030 solid;
}

div.classroom select::-ms-expand {
	display: none;
}

/* form_message
-------------------------------------------------------*/
div.form_message {
	width: 850px;
	margin: 0 auto 50px;
}

div.form_message p:first-child {
	margin-bottom: 15px;
	font-size: 1.7rem;
	font-weight: bold;
}

div.form_message p.red {
	color: #f00;
	font-size: 1.6rem;
	font-weight: bold;
}

/* form_info
-------------------------------------------------------*/
ul.form_info {
	margin-bottom: 40px;
	border-top: 1px solid #808080;
}

dl.required dt::after {
	content: "※";
	color: #f00;
	font-size: 1.4rem;
}

ul.form_info li {
	border-bottom: 1px solid #808080;
}

ul.form_info li dl {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	-webkit-align-items: center;
    align-items: center;
}

ul.form_info dt {
    width: 30%;
    padding: 20px 5px 20px 0;
    font-size: 1.6rem;
	font-weight: bold;
    line-height: 1.4em;
}

ul.form_info dd {
    width: 70%;
    padding: 15px 0 15px 10px;
    font-size: 1.6rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
}

ul.form_info input[type="text"],
ul.form_info input[type="tel"],
ul.form_info input[type="email"],
ul.form_info textarea {
	padding: 8px;
	border: 1px solid #cfcfcf;
}

ul.form_info select {
	width: 100%;
	border: 1px solid #cfcfcf;
	padding: 8px;
}

ul.input_sex {
	display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	width: 50%;
}

ul.input_sex li {
	width: 50%;
	background: #fff;
	border: 1px solid #cfcfcf;
}

ul.input_sex li:not(:first-child) {
	border-left: none;
}

ul.input_status,
ul.input_grade {
	display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	width: 100%;
}

ul.input_status li,
ul.input_grade li {
	width: 25%;
	background: #fff;
	border: 1px solid #cfcfcf;
}

ul.input_status li:not(:first-child),
ul.input_grade li:not(:first-child) {
	border-left: none;
}

ul.input_subject {
	display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	width: 100%;
}

ul.input_subject li {
	width: 19%;
	background: #fff;
	border: 1px solid #cfcfcf;
}

ul.input_subject li:nth-child(2) {
	width: 24%;
}

ul.input_subject li:not(:first-child) {
	border-left: none;
}

ul.form_info input[type="radio"],
ul.form_info input[type="checkbox"] {
	display: none;
	vertical-align: middle;
}

ul.form_info input[type="radio"] + label {
	position: relative;
	display: inline-block;
	width: 100%;
	padding: 9px 10px 9px 35px;
	vertical-align: middle;
	cursor: pointer;
}

ul.form_info input[type="radio"] + label::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 10px;
	width: 16px;
	height: 16px;
	margin-top: -10px;
	background: #fff;
	border: 1px #ccc solid;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	z-index: 2;
}

ul.form_info input[type="radio"]:checked + label::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 15px;
	width: 8px;
	height: 8px;
	margin-top: -5px;
	background: #0781c8;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	z-index: 3;
}

ul.form_info input[type="checkbox"] + label {
	position: relative;
	display: inline-block;
	width: 100%;
	padding: 13px 0 12px 35px;
	vertical-align: middle;
	cursor: pointer;
}

ul.form_info input[type="checkbox"] + label::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 10px;
	width: 14px;
	height: 14px;
	margin-top:-8px;
	background:#fff;
	border:1px #ccc solid;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	z-index:2;
}

ul.form_info input[type="checkbox"]:checked + label::after {
	content: "";
	position: absolute;
	top: 35%;
	left: 13px;
	display: block;
	width: 8px;
	height: 3px;
	margin-top: 4px;
	border-left: 2px solid #0781c8;
	border-bottom: 2px solid #0781c8;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	z-index:3;
}

ul.form_info textarea {
    height: 10em;
}

.half {
	width: 50%;
}

.full {
	width: 100%;
}

/* classroom
-------------------------------------------------------*/
div.classroom {
	position: relative;
	padding-bottom: 60px;
}

div.classroom::after {
	content: "";
	position: absolute;
	bottom: 42px;
	left: 50%;
	display: block;
	width: 816px;
	height: 8px;
	margin-left: -408px;
	background: url("../images/border01.png") left top repeat-x;
}

/* privacy_check
-------------------------------------------------------*/
div.privacy_check {
	margin-bottom: 50px;
	text-align: center;
}

div.privacy_check h3 {
	margin-bottom: 20px;
    line-height: 1.4em;
}

div.privacy_check p {
	margin-bottom: 10px;
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 1.5;
    letter-spacing: 0.1em;
	text-align: center;
}

div.privacy_check p:nth-of-type(2) {
	width: 130px;
	margin: 0 auto 10px;
	font-size: 1.6rem;
}

div.privacy_check p:nth-of-type(3) {
	color: #f00;
	font-size: 1.4rem;
	font-weight: normal;
}

div.privacy_check a {
	color: #303030;
	text-decoration: underline;
}

div.privacy_check input[type="checkbox"] {
	display: none;
	vertical-align: middle;
}

div.privacy_check input[type="checkbox"] + label {
	position: relative;
	display: inline-block;
	width: 100%;
	padding: 13px 0 12px;
	vertical-align: middle;
	cursor: pointer;
}

div.privacy_check input[type="checkbox"] + label span {
	position: relative;
	display: inline-block;
	padding-left: 30px;
}

div.privacy_check input[type="checkbox"] + label span::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 14px;
	height: 14px;
	margin-top:-8px;
	background:#fff;
	border:1px #ccc solid;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	z-index:2;
}

div.privacy_check input[type="checkbox"]:checked + label span::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 3px;
	display: block;
	width: 8px;
	height: 3px;
	margin-top:-4px;
	border-left: 2px solid #0781c8;
	border-bottom: 2px solid #0781c8;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	z-index:3;
}

/* form_btn
-------------------------------------------------------*/
ul.form_btn {
	display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	-webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: center;
    justify-content: center;
	width: 850px;
	margin: 0 auto;
}

ul.form_btn button {
	width: 300px;
	margin: 0 10px;
	font-size: 1.8rem;
	font-weight: bold;
	-webkit-transition: 0.7s ease;
    -moz-transition: 0.7s ease;
    -ms-transition: 0.7s ease;
    -o-transition: 0.7s ease;
    transition: 0.7s ease;
}

ul.form_btn > li:first-child button {
	padding: 20px 0;
	background: #0781c8;
	border: none;
	color: #fff;
}

ul.form_btn > li:last-child button {
	padding: 17px 0;
	background: #fff;
	border: 3px solid #0781c8;
	color: #0781c8;
}

ul.form_btn > li:first-child button:hover {
	background: #3dabea;
}

ul.form_btn > li:last-child button:hover {
	background: #e6f5fe;
}

/* form_input
-------------------------------------------------------*/
ul.form_input li dd p {
	width: 100%;
	margin-top: 10px;
	padding-left: 10px;
	color: #f00;
	font-size: 1.4rem;
}

/* form_confirm
-------------------------------------------------------*/
ul.form_confirm li dd p {
	padding-left: 10px;
}

form div:nth-of-type(2) ul.form_confirm {
	margin-bottom: 70px;
}

/* thanks_message
-------------------------------------------------------*/
div.thanks_message {
	width: 850px;
	margin: 0 auto;
}

div.thanks_message h3 {
	position: relative;
	margin-bottom: 30px;
    padding-bottom: 66px;
	font-family: "游明朝","YuMincho","ヒラギノ明朝 ProN W6","Hiragino Mincho ProN","Hiragino Mincho Pro","ＭＳ 明朝",serif;
	font-size: 2.5rem;
	font-weight: bold;
}

div.thanks_message h3::after {
	content: "";
    position: absolute;
    bottom: 29px;
    left: 50%;
    display: block;
    width: 750px;
    height: 8px;
    margin-left: -375px;
    background: url(../images/border01.png) left top repeat-x;
}

div.thanks_message p {
	margin-bottom: 30px;
	padding-left: 30px;
	font-size: 1.7rem;
}

div.thanks_message p:nth-of-type(2) {
	margin-bottom: 120px;
}

div.thanks_message p:last-child {
	margin-bottom: 0;
	padding-left: 0;
}

div.thanks_message p a {
	display: block;
	width: 300px;
	margin: 0 auto;
	padding: 20px 0;
	background: #0781c8;
	border: none;
	color: #fff;
	font-size: 1.8rem;
	font-weight: bold;
	text-align: center;
	-webkit-transition: 0.7s ease;
    -moz-transition: 0.7s ease;
    -ms-transition: 0.7s ease;
    -o-transition: 0.7s ease;
    transition: 0.7s ease;
}

div.thanks_message p a:hover {
	background: #3dabea;
}

/* *****************************************************
 *  media queries
 * *****************************************************/
@media screen and (max-width: 768px){
/* ------------------------------------------------------*/
/* main_visual
-------------------------------------------------------*/
div.main_visual {
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-bottom: 50px;
	padding-bottom: 20px;
}

div.main_visual > div {
	-ms-flex-order:2;
	-webkit-order:2;
	order:2;
	width: 100%;
	padding: 0;
}

div.main_visual > div h2 {
	margin-bottom: 0;
	font-size: 2.4rem;
}

div.main_visual figure {
	-ms-flex-order:1;
	-webkit-order:1;
	order:1;
	width: 100%;
	margin-bottom: 20px;
}

div.main_visual figure img {
	width: 100%;
}

/* contents
-------------------------------------------------------*/
div.contents form {
	width: auto;
}

.half {
	width: 100%;
}

div.privacy_check input[type="checkbox"] + label {
	width: 100%;
	padding: 13px 0 12px;
	background: #fff;
	border: 1px solid #cfcfcf;
}

/* form_message
-------------------------------------------------------*/
div.form_message {
	width: auto;
}

div.form_message p {
	line-height: 1.6;
}

div.form_message p:first-child {
	font-size: 1.6rem;
}

/* classroom
-------------------------------------------------------*/
div.classroom::after {
	left: 0;
	width: 100%;
	margin-left: 0;
}

/* form_info
-------------------------------------------------------*/
ul.form_info li dl {
	display: block;
	padding: 25px 0;
}

ul.form_info dt {
	width: 100%;
	margin-bottom: 20px;
	padding: 0;
}

ul.form_info dd {
	width: 100%;
	padding: 0;
}

/* input_sex
-------------------------------------------------------*/
ul.input_sex {
	width: 100%;
}

/* input_status input_grade
-------------------------------------------------------*/
ul.input_status,
ul.input_grade {
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	width: 100%;
}

ul.input_status li,
ul.input_grade li {
	width: 50%;
}

ul.input_status li:nth-child(3),
ul.input_grade li:nth-child(3) {
	border-left: 1px solid #cfcfcf;
}

ul.input_status li:nth-child(n+3),
ul.input_grade li:nth-child(n+3) {
	border-top: none;
}

/* input_status input_grade
-------------------------------------------------------*/
ul.input_subject {
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

ul.input_subject li {
	width: 50%;
}

ul.input_subject li:nth-child(2) {
	width: 50%;
}

ul.input_subject li:nth-child(n+3):nth-child(odd) {
	border-left: 1px solid #cfcfcf;
}

ul.input_subject li:nth-child(n + 3){
	border-top: none;
}

/* privacy_check
-------------------------------------------------------*/
div.privacy_check p {
	margin-bottom: 15px;
}

div.privacy_check p:nth-of-type(2) {
	width: 75%;
	margin: 0 auto 15px;
}

/* form_btn
-------------------------------------------------------*/
ul.form_btn {
	display: block;
	width: auto;
}

ul.form_btn > li button {
	width: 100%;
	margin: 0 0 20px 0;
	padding: 14px 0;
	font-size: 1.6rem;
}

ul.form_btn > li:first-child button {
	padding: 14px 0;
}

ul.form_btn > li:last-child button {
	padding: 11px 0;
}

/* confirm
-------------------------------------------------------*/
ul.form_confirm li dd p {
	padding-left: 0;
}

/* thanks_message
-------------------------------------------------------*/
div.thanks_message {
	width: auto;
	margin-bottom: 10px;
}

div.thanks_message h3 {
	margin-bottom: 0;
	font-size: 2.0rem;
}

div.thanks_message h3::after {
	left: 0;
    width: 100%;
    margin-left: 0;
}

div.thanks_message p {
	padding-left: 0;
	font-size: 1.6rem;
	line-height: 1.5;
}

div.thanks_message p:nth-of-type(2) {
	margin-bottom: 65px;
}

div.thanks_message p a {
	width: auto;
	padding: 10px 0;
	font-size: 1.6rem;
}

}
