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

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* メールフォーム　　　　　　　                                           */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* -- form#mail_form, dl, dt, dd -------------------------------------------------------------------------------- */
form#mail_form * {
	margin: 0;
	padding: 0;
}
form#mail_form {
	margin-bottom: 50px;
	line-height: 1.8;
}
form#mail_form dl {
	width: 100%;
	margin: 0 auto;
	border-bottom: 1px solid #CCCCCC;
}
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: 30%;
	float: left;
	padding-top: 35px;
	padding-right: 0;
	padding-left: 10px;
	padding-bottom: 25px;
	font-weight: 700;
}
form#mail_form dl dd {
	width: 70%;
	float: right;
	padding-top: 30px;
	padding-right: 0;
	padding-left: 20px;
	padding-bottom: 25px;
}
form#mail_form dl dt i {
	float: right;
	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;
	padding-bottom: 2px;
	border-radius: 3px;
	margin-right: 10px;
}
form#mail_form dl dt span.required {
	background-color: #f10908;
	border: 1px solid #f10908;
}
form#mail_form dl dt span.optional {
	background-color: #A6A6A6;
	border: 1px solid #A6A6A6;
}

/* -- 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: #f10908;
	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[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"] {
	width: 100%;
	padding-top: 5px;
	padding-right: 8px;
	padding-left: 8px;
	padding-bottom: 7px;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
}
form#mail_form input[type="text"]:focus,
form#mail_form input[type="email"]:focus,
form#mail_form input[type="tel"]:focus,
form#mail_form select: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-top: 0;
	margin-right: 5px;
	margin-left: 0;
	margin-bottom: 0;
	transform:scale(1.2);
}
form#mail_form ul li input[type="radio"] {
  accent-color: #184ba2;
}
form#mail_form div.select-wrapper {
	position: relative;
}
form#mail_form div.select-wrapper:after {
	content: "";
	position: absolute;
	top: calc( 50% - 7px );
	right: 16px;
	width: 8px;
	height: 8px;
	border-right: 2px solid #666666;
	border-bottom: 2px solid #666666;
	transform: rotate( 45deg );
}
form#mail_form select {
	width: 100%;
	padding: 7px 2%;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #f0f0f0;
	-webkit-appearance: none;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
	color: inherit;
}
form#mail_form select:hover {
	cursor: pointer;
}
form#mail_form textarea {
	display: block;
	width: 100%;
	height: 200px;
	padding-top: 5px;
	padding-right: 8px;
	padding-left: 8px;
	padding-bottom: 7px;
	resize: vertical;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
}

/* -- ul, li -------------------------------------------------------------------------------- */
form#mail_form ul {
	list-style-type: none;
	margin-top: 5px;
}
form#mail_form ul li {

}

form#mail_form ul li label {
	border-radius: 3px;
	font-family: inherit;
	line-height: normal;
	font-weight: 500;
}
form#mail_form ul li:first-child label {
	margin-top: 0px;
}
form#mail_form ul li label:hover {
	cursor: pointer;
}

/* -- input design ( advanced ) -------------------------------------------------------------------------------- */
form#mail_form input[name="mail_address"],
form#mail_form input[name="address"],
form#mail_form input[name="current_team"],
form#mail_form input[name="school"] {
	width: 100%;
}
form#mail_form input[name="name"],
form#mail_form input[name="read"],
form#mail_form input[name="hogosha"] {
	width: 50%;
}
form#mail_form input[name="phone"],
form#mail_form input[name="birthday"],
form#mail_form input[name="schedule"] {
	width: 30%;
}
form#mail_form input[name="school_year"] {
	width: 60px;
}
/* -- button -------------------------------------------------------------------------------- */
form#mail_form p#form_submit {
	width: 400px;
	margin-top: 50px;
	margin-bottom: 50px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
form#mail_form input[type="button"] {
	padding-top: 18px;
	padding-bottom: 18px;
	border: 1px solid #000000;
	border-radius: 10px;
	background-color: #000000;
	font-size: 16px;
	line-height: normal;
	color: #ffffff;
	font-family: inherit;
	-webkit-appearance: none;
	width: 100%;
	font-weight: 700;
	webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all  0.3s ease;
	background-image: url(../images/common/arrow_01.png);
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 26px auto;
}
form#mail_form input[type="button"]:hover {
	cursor: pointer;
	background-color: #191919;
	border: 1px solid #191919;
}
form#mail_form input[type="button"] {

}
form#mail_form input[type="button"]:disabled {
	background: #999999;
	border: 1px solid #999999;
}
form#mail_form input[type="button"]:disabled:hover {
	cursor: not-allowed;
}

/* -- 備考 ----------------------------------------------- */
form#mail_form input[name="current_team"] {
	margin-bottom: 8px;
}
.memo {
	font-size: 14px;
	line-height: 1.4em;
	color: #515151;
}
/* -- PDFボタン ----------------------------------------------- */
.pdf_bt {
	margin-top: 8px !important;
	display: flex;
	align-items: center;
}
.pdf_bt a {
	text-decoration: none;
	color: #FFFFFF;
	text-align: center;
	background-color: #2150A4;
	border-radius: 3px;
	font-size: 14px !important;
	line-height: 1.2em;
	display: block;
	padding-top: 5px !important;
	padding-bottom: 5px !important;
	webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all  0.3s ease;
	width: 100px;
	margin-right: 10px !important;
}
.pdf_bt a:hover {
	background-color: #000000;
}
.pdf_bt a img {
	margin-right: 5px !important;
	width: 14px;
}

/* -- チェックボックスを選択不可にする ----------------------------------------------- */
.no_check {
	color: #868686;
}
.no_check span {
	font-size: 14px;
	font-weight: 500;
}
.no_check label:hover {
	cursor: auto !important;
}

/* -- カレンダーアイコン付き ----------------------------------------------- */
form#mail_form input[name="schedule"],
form#mail_form input[name="birthday"] {
	background-image: url(../images/common/icon_schedule.png);
	background-repeat: no-repeat;
	background-position: right 5px center;
	background-size: 20px auto;
}
form#mail_form input[name="schedule"]:focus,
form#mail_form input[name="birthday"]:focus {
	background-image: url(../images/common/icon_schedule.png);
	background-repeat: no-repeat;
	background-position: right 5px center;
	background-size: 20px auto;
}

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

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* サンクスページ　　　　　　　                                           */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.thanks_kv h2::after {
	content: "COMPLETED";
}
#thanks_bt {
	width: 500px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 50px;
}
#thanks_bt a {
	text-align: center;
	display: block;
	background-color: #000000;
	color: #FFFFFF;
	font-weight: 600;
	text-decoration: none;
	padding-top: 18px;
	padding-bottom: 18px;
	border-radius: 10px;
}
#thanks_data p {
	margin-bottom: 8px;
}








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


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

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* メールフォーム　　　　　　　                                           */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* -- form#mail_form, dl, dt, dd -------------------------------------------------------------------------------- */
form#mail_form {
	font-size: 100%;
	border-top: 1px solid #CCCCCC;
}
form#mail_form dl dt {
	width: auto;
	float: none;
	padding-top: 5px;
	padding-right: 0;
	padding-left: 10px;
	padding-bottom: 5px;
	text-align: left;
	font-weight: 700;
	background-color: #E9E9E9;
	margin-bottom: 5px;
}
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;
}
	
/* -- ul, li -------------------------------------------------------------------------------- */
form#mail_form ul {
	margin-top: 0px;
	margin-left: 5px;
	margin-right: 5px;
}

/* -- span.required, span.optional -------------------------------------------------------------------------------- */
form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
	margin-top: 0;
	margin-left: 0;
	margin-bottom: 0;
	position: absolute;
	right: 20px;
}

/* -- input design ( advanced ) -------------------------------------------------------------------------------- */
form#mail_form input[name="name"],
form#mail_form input[name="read"],
form#mail_form input[name="hogosha"],
form#mail_form input[name="phone"],
form#mail_form input[name="birthday"],
form#mail_form input[name="schedule"] {
	width: 100%;
}
form#mail_form input[name="postal"] {
	width: 50%;
}

/* -- button -------------------------------------------------------------------------------- */
form#mail_form p#form_submit {
	width: 100%;
	margin-top: 30px;
	margin-bottom: 30px;
}
	
/* -- 備考 ----------------------------------------------- */
.memo {
	font-size: 12px;
	line-height: 1.4em;
}
	
/* -- PDFボタン ----------------------------------------------- */
.pdf_bt a {
	font-size: 12px !important;
	line-height: 1.2em;
}
	
/* -- チェックボックスを選択不可にする ----------------------------------------------- */
.no_check span {
	font-size: 12px;
	display: block;
	margin-left: 20px !important;
	line-height: 1.2em;
}


/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* サンクスページ　　　　　　　                                           */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.h3_box h3 {
	font-size: 24px;
	line-height: 1.2em;
}
#thanks_bt {
	width: 100%;
	margin-top: 40px;
}
#thanks_bt a {
	padding-top: 15px;
	padding-bottom: 15px;
}
#thanks_data p {
	margin-bottom: 6px;
}

}
