@charset "utf-8";
/* フォーム枠
------------------------------------------------------------*/
table.formTable {
	table-layout: fixed;
}
/* 必須 */
table.formTable th {
	position: relative;
}
table.formTable th.require::after {
	float: right;
	position: absolute;
	right: 5px;
	top: 50%;
    transform: translateY(-50%);
	content: "必須";
	padding: 0 0.5em;
	background: #ED2B01;
	border-radius: 5px;
	font-size: 12px;
	color: #FFF;
	text-align: center;
	line-height: normal;
}
/* 確認画面 */
.confirm #formWrap {
	text-align: center;
}
.confirm #formWrap p.input-confirm,
.confirm #formWrap p.input-error {
	margin-bottom: 16px;
}
.confirm #formWrap p.error_messe {
	margin-bottom: 10px;
	color: #ED2B01;
	text-align: left;
}
.confirm #formWrap p.error_messe + input[type="button"] {
	margin-top: 16px;
}
.confirm #formWrap input[type="submit"] + input[type="button"] {
	background: #999
}
@media only screen and (max-width: 600px){
	table.formTable td,
	table.formTable th {
		display: block;
		width: 100%;
		padding: 1em;
		border-bottom: none;
		box-sizing: border-box;
	}
	table.formTable tr:last-child {
		border-bottom: solid 1px #CCC;
	}
}
/* フォーム基本設定
------------------------------------------------------------*/
/* 独自スタイルを解除 */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="submit"], input[type="button"], input[type="reset"], textarea, select {
	-webkit-appearance: none;
	appearance: none;
}
/* カスタマイズ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
	max-width: 100%;
	/*padding: 5px;
	border: 1px solid #C5C5C5;*/
	box-sizing: border-box;
	/*border-radius: 0;*/
	font-size: 16px;
	vertical-align: middle;
	outline: 0;
}
textarea {
	height: auto;
	line-height: 1.5;
}
input[type="submit"],
input[type="button"] {
	margin: 0 0.5rem;
	padding: 0.5rem 2rem;
	border: none;
	background: var(--color_main);
	font-size: 16px;
	color: #FFF;
}
input[type="reset"] {
	margin: 0 0.5rem;
	padding: 0.5rem 2rem;
	border: none;
	background: #E7E7E7;
	font-size: 16px;
	color: #000;
}
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
	opacity: 0.75;
	transition: 0.5s ease-in-out;
	cursor: pointer;
}
/* radio */
input[type="radio"] { display: none; appearance: none;}
input[type=radio] + span {
	position: relative;
	display: inline-block;
	cursor: pointer;
}
input[type=radio] + span:before {
	margin-right: 0.5rem;
	display: inline-block;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font: var(--fa-font-solid);
	content: "\f111";
	font-size: 20px;
	color: #C5C5C5;
	vertical-align: middle;
}
input[type=radio]:checked + span {
	color: var(--color_main);
}
input[type=radio]:checked + span:before {
	content: "\f058";
	color: var(--color_main);
}
/* checkbox */
input[type="checkbox"] { display: none; appearance: none;}
input[type="checkbox"] + span:before {
	margin-right: 0.5rem;
	display: inline-block;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font: var(--fa-font-solid);
	content: "\f0c8";
	font-size: 24px;
	color: #C5C5C5;
	vertical-align: middle;
}
input[type="checkbox"]:checked + span {
	color: #3190C6;
}
input[type="checkbox"]:checked + span:before {
	/*font-weight: 900;*/
	content: "\f14a";
	color: #3190C6;
}
/* Focus */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
	box-shadow: 0 0 2px var(--color_main);
	border: 1px solid var(--color_main);
}
/* Placeholder */
::placeholder {
	color: #CCC;
}
/* Validation */
.formError {
	display: none;
}
input:invalid {
	background-color: #FFE6E6;
}
input:invalid + .formError {
	font-size: 0.9em;
	display: block;
	color: red;
}
/* Error */
p.input-error {
	margin-bottom: 1rem;
	font-weight: 500;
}
p.error_messe {
	margin-bottom: 1rem;
	color: #ED2B01;
}
/* 確認 */
main#content.form p.input-confirm {
	margin-bottom: 2rem;
	text-align: left;
}
/* ボタン */
table.formTable + p {
	margin-top: 1rem;
}
/* 個別
------------------------------------------------------------*/
td label {
	display: block;
}
td label:not(:last-of-type) {
	/*margin-right: 1rem;*/
	margin-bottom: 5px;
}
/* 確認画面 */
.confirm .formTable th,
.confirm .formTable td {
	text-align: left !important;
}
/* パンくず */ 
.p-breadcrumb__list > li.p-breadcrumb__item:nth-of-type(2) {
	/*display: none;*/
}
/* スクール検索
------------------------------------------------------------*/
/* 住所自動 */
.auto-address {
}
.auto-address button {
	margin-left: 5px;
	background: #3190C6;
	box-shadow: 0 2px 0 #b0cde5;
	border-radius: 5px;
	border: none;
	font-size: 14px;
	color: #FFF;
}
.auto-address button i {
	margin-right: 3px;
	font-size: 14px;
}
.auto-address #addr-box {
	margin: 0.5rem 0;
	font-size: 13px;
}
.auto-address #addr-box p.pref {
	margin-bottom: 5px;
}
.auto-address #addr-box p.pref select {
	width: 6em;
	border: none;
	background: #EFEFEF;
	font-size: 12px;
	color: #333;
	opacity: 1;
	pointer-events: none;
}
.auto-address #addr-box p.town {
}
.auto-address #addr-box p.town input {
	width: 18em;
	border: none;
	background: #EFEFEF;
	font-size: 12px;
	color: #333;
	pointer-events: none;
}
.auto-address #addr-box span {
	font-size: 12px;
	color: #3190C6;
}
span.howto {
	display: block;
	font-size: 12px;
	font-weight: bold;
	color: #ED2B01;
}
@media only screen and (max-width: 600px){
	th br { display: none;}
}
/* 希望曜日 */
span.sat { color: #2A8FC8; }
span.sun { color: #FF2626; }

