@charset "utf-8";
/* contact.css */

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* 電話エリア　　　　　　　　                                           */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#tel_area {
	margin-bottom: 50px;
}
#tel_area .inner {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #FFFFFF;
	border-radius: 20px;
	border: 3px solid #000000;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding-top: 20px;
	padding-bottom: 20px;
}

/* -- 左テキスト ----------------------------------------------- */
#tel_text {
	text-align: center;
	order: 0;
	width: 523px;
}
#tel_text h3 {
	font-weight: 900;
	font-size: 40px;
	line-height: 1.3em;
}
#tel_text h3 span {
	color: #796CAF;
}

#tel_text p {
	font-weight: 700;
}

/* -- アイコン ----------------------------------------------- */
#tel_icon {
	width: 54px;
	order: 1
}
#tel_icon img {
	width: 100%;
	height: auto;
}

/* -- 電話番号 ----------------------------------------------- */
#tel_number {
	text-align: center;
	order: 2;
	width: 523px;
}
#tel_number h3 {
	font-size: 54px;
	line-height: 1em;
	font-weight: 900;
	font-family: "Roboto", sans-serif;
}
#tel_number h3 a {
	color: #000000;
	text-decoration: none;
}

#tel_number p {
	font-weight: 700;
	line-height: 1.4em;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* メールフォーム　　　　　　　　                                           */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#form_area .inner {
	background-color: #FFFFFF;
	border: 3px solid #000000;
	border-radius: 20px;
	padding-top: 60px;
	padding-right: 48px;
	padding-bottom: 48px;
	padding-left: 48px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* -- タイトル ----------------------------------------------- */
#form_area h3 {
	font-size: 40px;
	font-weight: 900;
	line-height: 1.2em;
	text-align: center;
	padding-bottom: 50px;
	border-bottom: 1px solid #000000;
}
#form_area h3 img {
	display: block;
	width: 70px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 8px;
}
#form_area h3 span {
	font-size: 16px;
	display: block;
	line-height: 1.2em;
	margin-top: 10px;
	color: #999999;
}

/* -- form#mail_form, dl, dt, dd -------------------------------------------------------------------------------- */
form#mail_form dl {
	width: 100%;
	margin: 0 auto;
	border-bottom: 1px solid #000000;
}
form#mail_form dl:after,
form#mail_form dl dt:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
form#mail_form dl dt {
	width: 25%;
	float: left;
	padding: 35px 0 25px;
	text-align: right;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-weight: 600;
}
form#mail_form dl dd {
	width: 75%;
	float: right;
	padding: 30px 0 25px 5%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-weight: 600;
}
form#mail_form dl dt i {
	float: left;
	position: relative;
	top: -2px;
}

/* -- span.required, span.optional -------------------------------------------------------------------------------- */
form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
	display: inline-block;
	font-size: 12px;
	color: #ffffff;
	padding-right: 5px;
	padding-left: 5px;
	border-radius: 3px;
	font-weight: 600;
	line-height: 1.2em !important;
	padding-top: 3px;
	padding-bottom: 3px;
}
form#mail_form dl dt span.required {
	background-color: #e60012;
	border: 1px solid #e60012;
}
form#mail_form dl dt span.optional {
	background-color: #AFAFAF;
	border: 1px solid #AFAFAF;
}

/* -- error message -------------------------------------------------------------------------------- */

form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format,
form#mail_form dl dd span.error_match {
	display: block;
	color: #ff0000;
	margin-top: 5px;
}

/* -- loading -------------------------------------------------------------------------------- */
div.loading-layer {
	width: 100vw;
	height: 100vh;
	background: rgba( 0, 0, 0, 0.7 );
	position: fixed;
	left: 0px;
	top: 0px;
	z-index: 10000;
}
span.loading {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border-top: 5px solid rgba( 255, 255, 255, 0.2 );
	border-right: 5px solid rgba( 255, 255, 255, 0.2 );
	border-bottom: 5px solid rgba( 255, 255, 255, 0.2 );
	border-left: 5px solid #ffffff;
	-webkit-transform: translateZ( 0 );
	-ms-transform: translateZ( 0 );
	transform: translateZ( 0 );
	-webkit-animation: load-circle 1.0s linear infinite;
	animation: load-circle 1.0s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -30px;
	margin-left: -30px;
}

@-webkit-keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}

@keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}

/* -- input, select, textarea -------------------------------------------------------------------------------- */
form#mail_form input {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"] {
	width: calc( 100% - 4% - 2px );
	padding: 7px 2%;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
	font-weight: 600;
}
form#mail_form input[type="text"]:focus,
form#mail_form input[type="email"]:focus,
form#mail_form input[type="tel"]:focus,
form#mail_form textarea:focus {
	box-shadow: 0px 0px 5px #55ccff;
	border: 1px solid #55ccff;
	background: #ffffff;
}
form#mail_form ul li input[type="radio"],
form#mail_form ul li input[type="checkbox"] {
	margin: 0 10px 0 0;
}
form#mail_form select {
	padding: 7px 2%;
	border: 1px solid #cccccc;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
	font-weight: 600;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
form#mail_form textarea {
	display: block;
	width: calc( 100% - 4% - 2px );
	height: 200px;
	padding: 7px 2%;
	resize: vertical;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
	font-weight: 600;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* -- ul, li -------------------------------------------------------------------------------- */
form#mail_form ul {
	list-style-type: none;
	font-size: 0px;
}
form#mail_form li {
	width: 50%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
	font-size: 16px;
}
form#mail_form li:nth-child(odd) {
	padding-right: 5px;
}
form#mail_form li:nth-child(even) {
	padding-left: 5px;
}
form#mail_form ul li label {
	display: block;
	padding: 7px 2%;
	border-radius: 3px;
	background: #f0f0f0;
	font-weight: 600;
	margin-bottom: 10px;
}
form#mail_form ul li:first-child label {
	margin-top: 0px;
}
form#mail_form ul li label:hover {
	cursor: pointer;
	background: #e0e0e0;
}

/* -- input design -------------------------------------------------------------------------------- */
form#mail_form input[name="name"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;	
}
form#mail_form input[name="name"],
form#mail_form input[name="read"],
form#mail_form input[name="phone"],
form#mail_form input[name="mail_address"],
form#mail_form input[name="school"] {
	width: 50%;
}

/* -- button -------------------------------------------------------------------------------- */
form#mail_form p#form_submit {
	margin: 0 auto;
	padding-top: 30px;
	text-align: center;
}
form#mail_form input[type="button"] {
	padding-top: 15px;
	padding-bottom: 15px;
	border: 1px solid #000000;
	border-radius: 3px;
	background-color: #000000;
	font-size: 16px;
	color: #ffffff;
	font-family: inherit;
	-webkit-appearance: none;
	width: 360px;
	font-weight: 700;
}
form#mail_form input[type="button"]:hover {
	cursor: pointer;
	background-color: #333333;
	border: 1px solid #333333;
}
#kakunin {
	margin-top: 12px;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
}

/* -- 入力例 ----------------------------------------------- */
::-webkit-input-placeholder {
    color: #999999;
    font-size: 14px;
	font-weight: 400;
}
::-moz-placeholder {
    color: #999999; opacity: 1;
	font-size: 14px;
	font-weight: 400;
}
:-ms-input-placeholder {
    color: #999999;
	font-size: 14px;
	font-weight: 400;
}







/* ↓↓↓↓↓↓↓↓↓↓ ---以下スマホ--- ↓↓↓↓↓↓↓↓↓↓ */


@media screen and (max-width: 768px) {

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* 電話エリア　　　　　　　　                                           */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#tel_area .inner {
	display: inherit;
}

/* -- 左テキスト ----------------------------------------------- */
#tel_text {
	width: 100%;
	margin-bottom: 20px;
}
#tel_text h3 {
	font-size: 26px;
	line-height: 1.3em;
}

/* -- アイコン ----------------------------------------------- */
#tel_icon {
	width: 54px;
	order: 1;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
}

/* -- 電話番号 ----------------------------------------------- */
#tel_number {
	width: 100%;
}
#tel_number h3 {
	font-size: 40px;
	padding-top: 20px;
	border-top: 1px solid #000000;
	margin-left: 10px;
	margin-right: 10px;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* メールフォオーム　　　　　　　　                                           */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#form_area .inner {
	padding-top: 30px;
	padding-right: 15px;
	padding-bottom: 10px;
	padding-left: 15px;
}

/* -- タイトル ----------------------------------------------- */
#form_area h3 {
	font-size: 28px;
	line-height: 1.2em;
	padding-bottom: 30px;
}
#form_area h3 span {
	font-size: 12px;
}
	
/* -- form#mail_form, dl, dt, dd -------------------------------------------------------------------------------- */
form#mail_form dl dt {
	width: auto;
	float: none;
	padding: 25px 0 10px;
	text-align: left;
	font-weight: bold;
}
form#mail_form dl dd {
	width: auto;
	float: none;
	padding: 0px 0 20px 0px;
}
form#mail_form dl dt i {
	float: none;
	position: static;
	font-weight: normal;
}

/* -- span.required, span.optional -------------------------------------------------------------------------------- */
form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
	margin: 0 15px 0 0;
}

/* -- input, select, textarea -------------------------------------------------------------------------------- */
form#mail_form select {
	font-size: 14px;
}
form#mail_form textarea {
	font-size: 14px;
}
	
/* -- ul, li -------------------------------------------------------------------------------- */
form#mail_form li {
	width: 100%;
	display: inherit;
	font-size: 14px;
}
form#mail_form li:nth-child(odd) {
	padding-right: 0px;
}
form#mail_form li:nth-child(even) {
	padding-left: 0px;
}

/* -- input design -------------------------------------------------------------------------------- */
form#mail_form input[name="name"],
form#mail_form input[name="read"],
form#mail_form input[name="phone"],
form#mail_form input[name="mail_address"],
form#mail_form input[name="school"] {
	width: 100%;
}

/* -- button -------------------------------------------------------------------------------- */
form#mail_form input[type="button"] {
	padding-top: 12px;
	padding-bottom: 12px;
	font-size: 14px;
	width: 100%;
}
#kakunin {
	font-size: 13px;
}
	
/* -- 入力例 ----------------------------------------------- */
::-webkit-input-placeholder {
    font-size: 13px;
}
::-moz-placeholder {
	font-size: 13px;
}
:-ms-input-placeholder {
	font-size: 13px;
}

}
