@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');
.font {
	font-family: 'Montserrat', sans-serif;
}
/*@font-face { 
			font-family: 'NotoSansCJKjp-Black';
			src: local("NotoSansCJKjp-Black.otf"),
			url(../noto-fonts/NotoSansCJKjp-Black.woff) format('woff');
   		}*/
/* CSS Document */
body {
	margin: 0;
}
#formWrap {
	font-size: 14px;
	font-weight: normal;
	color:#555;
	line-height:2;
	height: 100vh;
	padding: 20px;
	background: url(../img/php_bg.jpg) no-repeat;
	background-size: cover;
	background-position: center center;
}
#formWrap .bg_inner {
	background-color: rgba(0,0,0,0.5);
	padding: 20px;
	height: 95vh;
}
#formWrap h3 {
	background-color: #333;
	width: 100%;
	color: #fff;
	text-align: center;
	font-size: 25px;
	height: 60px;
	line-height: 60px;
	margin-top: 0px;
	letter-spacing: 2px;
}
#formWrap p {
	color: #fff;
	font-size: 14px;
}
#formWrap .form_inner {
	max-width: 1080px;
	margin: 0 auto;
}
#formWrap table {
	width: 700px;
	height: 400px;
	margin: 0 auto 30px auto;
}
#formWrap tr {
	margin-bottom: 30px;
	padding: 30px;
}
#formWrap td{
	background: #fff;
	padding-left: 20px;
	font-size: 14px;
}
#formWrap th{
	background:#333;
	text-align:center;
	color: #fff;
	font-size: 14px;
	width: 300px;
	letter-spacing: 3px;
	padding: 15px 0;
}
/*-----------ーーボタンのcss---------------*/

#formWrap .submitbtnback,
#formWrap .submitbtn {
	text-align: center;
    display: inline-block;
    background: rgba(255,255,255,0.8);
    width: 215px;
    height: 50px;
    line-height: 40px;
    margin: 25px;
    font-size: 16px;
    -webkit-appearance: none;
    border-radius: 5px;
	cursor: pointer;
	transition: .3s;
}
#formWrap .submitbtnback {
	border: 2px solid #333;
	color: #333;
}
#formWrap .submitbtnback:hover {
    background: #A30002;
	color: #fff;
}
#formWrap .submitbtn {
	color: #A30002;
    border: 2px solid #A30002;
}
#formWrap .submitbtn:hover {
    background: #A30002;
	color: #fff;
}
/*-------------------ERROR PAGE-------------------*/

#formWrap .entryfinishDesc{
    color: #000;
    font-weight: normal;
    font-size: 18px;
	margin: 30px 0;
	text-align: center;
}
#formWrap .formWrapper .entryfinishDesc a{
    color: #ca1e1c;
}
#formWrap .formWrapper h4{
    margin: 60px 0;
}
#formWrap .formWrapper .error_messe{
    color: #ca1e1c;
	font-weight: normal;
    font-size: 18px;
	margin: 30px 0;
}
#formWrap .formWrapper .formTable td.age input[type="text"]{
    width: 20%;
}
#formWrap .error_inner {
	height: 93vh;
	position: relative;
}
#formWrap .error {
	position: absolute;
	bottom: 50%;
	left: 50%;
	transform: translate(-50%,50%);
	width: 100%;
}
#formWrap .error h4{
	color: #fff;
	margin: 0;
	font-size: 16px;
}
#formWrap p.error_messe{
	font-size: 16px;
	margin:10px 0;
	color:red;
}
/*----------ERRORが起きた場合のボタン-----------*/

#formWrap .error input[type="button"] {
	font-size: 18px;
	color: red;
	border: 2px solid red;
	background-color: #fff;
	width: 400px;
	padding: 20px;
	-webkit-appearance: none;
	transition: .3s;
	cursor: pointer;
	letter-spacing: 3px;
}
#formWrap .error input[type="button"]:hover {
	font-size: 18px;
	color: #fff;
	border: 2px solid red;
	background-color: red;
}
.br_sp {
	display: none;
}
/*　------------------------------------------------------------------------------------------------------------------------------
	画面サイズが768px以下はここを読み込む
	------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:768px) {
	#formWrap {
		height: auto;
		padding: 20px;
	}
	#formWrap .bg_inner {
		height: auto;
	}
	#formWrap table {
		width: 100%;
		height: 400px;
		margin: 0 auto 30px auto;
	}
	#formWrap tr {
		display: block;
		margin-bottom: 30px;
		padding: 0;
	}
	#formWrap th{
		display: block;
		width: auto;
		padding: 10px 0;
	}
	#formWrap td{
		display: block;
		padding: 30px 0 30px 20px;
	}
	#formWrap p.error_messe{
		margin:10px 0;
		color:red;
	}
}
/*　------------------------------------------------------------------------------------------------------------------------------
	画面サイズが480px以下はここを読み込む
	------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px) {
	.br_sp {
		display: block;
	}
	#formWrap .submitbtnback,
	#formWrap .submitbtn {
		width: 100%;
		margin: 10px 0;
	}
	#formWrap .error h4,
	#formWrap p.error_messe {
		font-size: 14px;
	}
	/*----------ERRORが起きた場合のボタン-----------*/

	#formWrap .error input[type="button"] {
		font-size: 15px;
		color: red;
		border: 2px solid red;
		background-color: #fff;
		width: 80%;
		padding: 10px;
		margin-bottom: 60px;
	}
	#formWrap .error input[type="button"]:hover {
		font-size: 15px;
		color: #fff;
		border: 2px solid red;
		background-color: red;
	}
}

