@charset "UTF-8";

/*======================================================
 *  お問い合わせ（contact）
======================================================*/


/*===============フォームページ（form.php）===============*/
#form_area {
	max-width: 1040px;
	padding: 0 50px;
	margin: 0 auto;
}

/*******仮入校用*******/

/*確認事項*/
#form_area .checklist_box h3 {
	font-size: 30px;
	font-weight: bold;
	line-height: 1.5;
	letter-spacing: 0.04em;
	text-align: center;
	margin-bottom: 1em;
}








/*一定の病気に関する申告*/
#form_area .byoki_box {
	border: 1px solid #c8c8c8;
	cursor: pointer;
	padding: 50px 40px;
	margin: 80px 0;
}
#form_area .byoki_box h3 {
	font-size: 24px;
	font-weight: bold;
	line-height: 40px;
	text-align: center;
	position: relative;
}
#form_area .byoki_box h3 > span {
	position: absolute;
	top: 0;
	right: 0;
	background-color: #c8c8c8;
	border-radius: 0.2em;
	font-size: 40px;
	width: 1em;
	height: 1em;
}
#form_area .byoki_box h3 > span::before,
#form_area .byoki_box h3 > span::after {
	position: absolute;
	content: '';
	top: 50%;
	left: 50%;
	width: 0.5em;
	height: 3px;
	background-color: #fff;
	transition: all 0.3s linear;
}
#form_area .byoki_box h3 > span::before {
	transform: translate(-50%,-50%);
}
#form_area .byoki_box h3 > span::after {
	transform: translate(-50%,-50%) rotate(90deg);
}
#form_area .byoki_box.open h3 span::after {
	transform: translate(-50%,-50%);
	opacity: 0;
}

#form_area .byoki_box .inr {
	display: none;
	padding-top: 1.5em;
}




/*******注意書き*******/
.page-confirm #form_area .notes,
.page-complete #form_area .notes {
	margin-bottom: 80px;
}

#form_area .notes .txt_hissu {
	margin-top: 60px;
}
#form_area .notes .txt_hissu .hissu {
	background-color: #a92224;
	color: #fff;
	display: inline-block;
	font-size: 80%;
	width: 3em;
	padding: 0.1em 0;
	text-align: center;
	margin: 0 0.2em;
	vertical-align: 0.1em;
}




/*******フォームテーブル*******/
#form_area table {
	margin: 30px 0 80px;
	font-size: 18px;
	line-height: 1.75;
	width: 100%;
}
.page-confirm #form_area table {
	margin-top: 80px;
}
#form_area table th {
	border-bottom: 1px solid;
	color: var(--color-main);
	letter-spacing: 0.06em;
	padding: 30px 20px 30px 0;
	width: 240px;
	text-align:left;
	position: relative;
	background-clip: padding-box;
}
#form_area table tbody:first-of-type tr:first-of-type th {
	border-top: 1px solid;
}

#form_area table th > span {
	display: block;
	position: relative;
}

#form_area table th > span::after {
	position: absolute;
	content: '必須';
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background-color: #a92224;
	color: #fff;
	display: block;
	font-size: 77.8%;
	width: 3em;
	padding: 0.4em 0;
	line-height: 1;
	text-align: center;
}

#form_area table td {
	border-bottom: 1px solid #c8c8c8;
	padding: 30px;
}
#form_area table tbody:first-of-type tr:first-of-type td {
	border-top: 1px solid #c8c8c8;
}

/*td内パーツ*/
body:not(.page-confirm) #form_area table #add div {
	margin-bottom: 15px;
}
body.page-confirm #form_area table #add span {
	display: inline-block;
	width: 4.6em;
}

#form_area table .name span {
	width: 2.1em;
	display: inline-block;
    text-align: right;
    margin-right: 10px;
}
#form_area table p:not(.sp) {
	display: inline-block;
	font-size: 16px;
	margin-left: 0.5em;
}
#form_area table .kome_list {
	font-size: 16px;
	margin-top: 1em;
}


#form_area table .modaal-ajax {
	display: inline-block;
	font-size: 111.111%;
	vertical-align: -0.1em;
	margin-left: 0.5em;
}
#form_area table td .modaal-ajax {
	line-height: 1;
	vertical-align: 0;
}
/*#form_area table td .modaal-ajax {
	font-size: 144.444%;
	vertical-align: -0.2em;
}
*/

/*フォームパーツ*/
#form_area table select {
	padding: 0 2em 0 0.5em;
	border-radius: 3px;
	border: 1px solid #9f9f9f;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background: #fffff0 url(../images/select_icon.svg) center right 0.6em no-repeat;
	height: 46px;
	line-height: normal;
}
#form_area table input[type=text],
#form_area table input[type=tel],
#form_area table input[type=email],
#form_area table input[type=number],
#form_area table input[type=url] ,
#form_area table input[type=date] {
	padding: 0 0.5em;
	background-color: #fffff0;
	border: 1px solid #9f9f9f;
	border-radius: 3px;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	line-height: normal;
	height: 46px;
	width: 480px;
	max-width: 100%;
}
#form_area table input[type=date] {
	color: #999;
}

input:placeholder {
	color: #999;
}
input::-webkit-input-placeholder {
	color: #999;
}
input:-ms-input-placeholder {
	color: #999;
}

#form_area table .name input + input,
#form_area table .company input + input{
	margin-top: 20px;
}
#form_area table .name input {
	display: block;
	width: 290px;
}
#form_area table #add .input_postal {
	width: 180px;
	margin-left: 10px;
}
#form_area table #add select {
	width: 240px;
}

#form_area table .tel input,
#form_area table .fax input {
	width: 240px;
}
#form_area table .mail div {
	margin-bottom: 20px;
}
#form_area table .mail input {
	width: 480px;
}

#form_area table .company input {
	display: block;
	width: 390px;
}

#form_area table textarea {
	background-color: #fffff0;
	border: 1px solid #9f9f9f;
	border-radius: 3px;
	width: 100%;
	height: 140px;
	padding: 0.3em 0.5em;
	vertical-align:bottom;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}



/*チェックボックス＋ラジオボタン*/
#form_area table .radio label,
#form_area table .check label {
	position: relative;
	cursor: pointer;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
}
#form_area table .radio label + label,
#form_area table .check label + label {
	margin-top: 1em;
}
#form_area table .radio label input:not([type=text]),
#form_area table .check label input:not([type=text]) {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#form_area table .radio label > span,
#form_area table .check label > span {
	position: relative;
	padding-left: 40px;
	/*display: block;*/
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	line-height: 30px;
}
#form_area table .radio label > span::before,
#form_area table .radio label > span::after,
#form_area table .check label > span::before,
#form_area table .check label > span::after {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	display: block;
}
#form_area table .radio label > span::before,
#form_area table .radio label > span::after {
	border-radius: 50%;
	width: 30px;
	height: 30px;
}
#form_area table .radio label > span::before,
#form_area table .check label > span::before {
	border: 1px solid #999;
	z-index: 1;
}
#form_area table .check label > span::before {
	width: 28px;
	height: 28px;
}
#form_area table .radio label input:checked + span::after {
	background-color: var(--color-main);
	border: 7px solid #fff;
	z-index: 0;
}
#form_area table .check label input:checked + span::after {
	top: 7px;
	left: 5px;
    width: 17px;
	height: 10px;
    border-bottom: 2px solid var(--color-main);
	border-left: 2px solid var(--color-main);
	z-index: 2;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}


/*年月日*/
#form_area table .ymd input {
	width: 80px;
	margin-right: 10px;
}
#form_area table .ymd select {
	margin: 0 10px;
}



/*******ボタン*******/
#form_area .button {
	font-size: 22px;
	width: 360px;
	margin: 0 auto;
}
.page-confirm #form_area .button {
	display: flex;
	align-items: center;
	flex-direction: column;
	flex-direction: column-reverse;
}
#form_area .button input[type=submit],
#form_area .button a {
	background-color: var(--color-main);
	border: 2px solid var(--color-main);
	border-radius: 100vh;
	cursor: pointer;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: bold;
	letter-spacing: 0.06em;
	height: 80px;
	width: 100%;
	transition: all 0.1s linear;
}
#form_area .button input[type=submit]:hover,
#form_area .button a:hover {
	background-color: #fff;
	color: var(--color-main);
	opacity: 1;
}


#form_area .button input.gray {
	border: none;
	border-bottom: 1px solid;
	background-color: transparent;
	cursor: pointer;
	color: #666;
	display: inline-block;
	font-size: 20px;
	padding: 0 0 0.5em;
	margin-top: 40px;
	-webkit-transition: all 0.1s linear;
    transition: all 0.1s linear;
}
#form_area .button input.gray:hover {
	color: var(--color-main);
	opacity: 1;
}


/*完了画面*/
#form_area .btn_arrow {
	font-size: 22px;
	width: 360px;
	height: 80px;
	margin: 0 auto;
	padding: 0 1.045em;
}




/*******reCAPTCHA*******/
.grecaptcha-badge {
	z-index: 100;
}
@media screen and (min-width: 800.1px) {
	.grecaptcha-badge {
		bottom: 130px!important;
	}
}



/*******普通車 仮入校申込（/entry/）ポップアップ用*******/
@media screen and (min-width: 800.1px) {
	#modal_ordinary_area {
		padding-left: 60px;
		padding-right: 60px;
	}
	#modal_ordinary_area [class*="table_common"] th {
		width: 160px;
	}
}


/*================================================
 *  スマートフォン向けデザイン
 ================================================*/
@media screen and (max-width: 800px) {





/*===============フォームページ（form.php）===============*/
#form_area {
	padding: 0;
	max-width: inherit;
}



/*******仮入校用*******/

/*確認事項*/
#form_area .checklist_box h3 {
	font-size: 5.6vw;
}












/*一定の病気に関する申告*/
#form_area .byoki_box {
	padding: 7vw 5vw;
	margin: 10vw 0;
}
#form_area .byoki_box h3 {
	font-size: 5vw;
	line-height: 7vw;
	text-align: left;
}
#form_area .byoki_box h3 > span {
	font-size: 7vw;
}
#form_area .byoki_box h3 > span::before,
#form_area .byoki_box h3 > span::after {
	height: 2px;
}


/*******注意書き*******/
.page-confirm #form_area .notes,
.page-complete #form_area .notes {
	margin-bottom: 10vw;
}
#form_area .notes .txt_hissu {
	margin-top: 8vw;
}



/*******送信完了ページ用 電話*******/
.page-complete #form_area .tel_box {
	max-width: inherit;
	margin: 8vw auto 10vw;
	padding: 8vw 0;
}
.page-complete #form_area .tel_box a .tel_num {
	font-size: 6.5vw;
}
.page-complete #form_area .tel_box a .tel_num > span {
	
	width: 1.333em;
}
.page-complete #form_area .tel_box a p {
	font-size: 4vw;
	padding-left: 0;
}



/*******フォームテーブル*******/
#form_area table {
	margin: 5vw 0 0;
	font-size: 4.27vw;
}
@media screen and (max-width:320px) {
	#form_area table {
		font-size: 5vw;
	}	
}
.page-confirm #form_area table {
	margin-top: 10vw;
}
#form_area table th,
#form_area table td {
	display: list-item;
	list-style-type:none;
}

#form_area table th {
	border-top: 1px solid;
	border-bottom: none;
	font-size: 107.142%;
	padding: 5vw 0 7vw;
	width: 100%;
}
#form_area table td {
	border: none!important;
	padding: 0 0 12vw;
}



/*td内パーツ*/
body:not(.page-confirm) #form_area table #add div {
	margin-bottom: 3vw;
}

#form_area table p,
#form_area table .kome_list {
	font-size: 4vw!important;
}
#form_area table p:not(.sp) {
	margin-right: -1em;
}
html:lang(en) #form_area table p:not(.sp) {
	margin: 0.5em 0 0;
	display: block;
	text-align: right;
}
#form_area table p.pc {
	display: none;
}

#form_area table .tel p,
#form_area table .fax p,
#form_area table .mail p {
	margin: 0.5em 0 0 -0.5em;
}


/*フォームパーツ*/
#form_area table input[type=text],
#form_area table input[type=tel],
#form_area table input[type=email],
#form_area table input[type=number],
#form_area table input[type=url],
#form_area table input[type=date] {
	height: 13vw;
	width: 100%;
}

#form_area table select{
    background-size: 3vw!important;
	height: 13vw;
}

#form_area table .name input,
#form_area table .commpany input {
	width: 100%;
}
#form_area table .name input + input,
#form_area table .commpany input + input {
	margin-top: 3vw;
}
#form_area table #add .input_postal {
	width: 40vw;
	margin: 0 1.5vw;
}
#form_area table #add select {
	width: 35vw;
}

#form_area table .mail input,
#form_area table .tel input,
#form_area table .fax input{
	width: 100%;
}

#form_area table textarea {
	height: 40vw;
}



/*チェックボックス＋ラジオボタン*/
#form_area table .radio label{
	display: block;
}
#form_area table .radio label + label,
#form_area table .check label + label {
	margin-top: 1em;
}
#form_area table .radio label > span,
#form_area table .check label > span {
	padding-left: 2.8em;
	line-height: 2;
}
#form_area table .radio label > span::before,
#form_area table .radio label > span::after,
#form_area table .check label > span::before,
#form_area table .check label > span::after {
	width: 2em;
	height: 2em;
}
#form_area table .radio label input:checked + span::after {
	border-width: 0.56em;
}
#form_area table .check label input:checked + span::after {
	top: 0.5em;
	left: 0.3em;
    width: 1.3em;
	height: 0.7em;
}



/*年月日*/
#form_area table .ymd input {
	width: 4em;
	padding: 0 0.5em;
	margin-right: 0.5em;
}
#form_area table .ymd select {
	background-position: center right 1.5vw;
	margin: 0 0.5em;
	padding: 0 1.5em 0 0.5em;
}




/*******ボタン*******/
#form_area .button {
	font-size: 5vw;
	width: 70vw;
}
#form_area .button input[type=submit],
#form_area .button a {
	height: 16vw;
}

#form_area .button input.gray {
	font-size: 4vw;
	margin-top: 8vw;
}


/*完了画面*/
#form_area .btn_arrow {
	font-size: 5vw;
	width: 70vw;
	height: 16vw;
}





	
}