/************************************************************
	formHeader
*************************************************************/
#formHeader {
    border-bottom: 1px solid #CCC;
    margin-bottom: 40px;
    padding: 10px 0;
}
	#formHeader a img {
		border: 0;
		margin: 0 auto 2rem;
		display: block;
	}
	#formHeader h3 {
		color: #333;
		font-size: 26px;
		font-weight: normal;
		text-align: center;
	}
	#formHeader > h3 > span {
		display:inline-block;
	}
	@media only screen and (max-width: 1075px) {
	}
	@media only screen and (max-width: 767px){
		#formHeader {
			border-bottom: none;
			margin-bottom: 2rem;
			padding: 1rem 0 0;
		}
		#formHeader a img {
			width: 60%;
			max-width: 221px;
		}	
		#formHeader > h3 {
			font-size: 2rem;
			background: #74c53d;
			color: #FFF;
			font-weight: bold;
			line-height: 1.2;
			padding: 1rem;
		}
		#formHeader > h3 > span {
			display:block;
		}
		#formHeader + p {
			box-sizing: border-box;
			padding: 0 10px;
			text-align: left;
		}
	}
	
/************************************************************
	formWrap
*************************************************************/
#formWrap {
    margin: -7rem auto 60px;
    max-width: 850px;
    padding-top: 10rem;
}
#formWrap > h4 {
    color: #74c53d;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
    letter-spacing: .1em;
}
#formWrap > p {
	margin:5rem auto;
    text-align: center;
}
#formWrap > p.error_messe {
	margin:1rem auto;
	color:#C00;
}
	@media only screen and (max-width: 1075px) {
		#formWrap {
			width: 90%;
			margin: -7rem auto 0;
		}
		#formWrap > p {
			margin:5rem auto;
		}
	}
	@media only screen and (max-width: 767px){
		#formWrap > h4 {
			margin-bottom: 1rem;
			font-size: 2rem;
		}
		#formWrap > p {
			text-align:left;
			margin:2rem auto;
		}
		#formWrap > p.contact {
			background:#EFEFEF;
			padding:1rem;
			box-sizing: border-box;
		}
	}


/************************************************************
	formWrap-top
*************************************************************/
#formWrap-top {
    margin: 335px 30px 0;
    max-width: 100%;
	background-color: #f1f1f1;
}

@media (max-width: 750px) {
	#formWrap-top {
		margin: 44.667vw 4vw 0;
		max-width: 100%;
	}
}

#formWrap-top iframe {
	height: 1000px;
}

@media (max-width: 750px) {
	#formWrap-top iframe {
		height: 133.333vw;
	}
}


#formWrap-top > h4 {
    color: #74c53d;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
    letter-spacing: .1em;
}
#formWrap-top > p {
	margin:5rem auto;
    text-align: center;
}
#formWrap-top > p.error_messe {
	margin:1rem auto;
	color:#C00;
}
	@media only screen and (max-width: 1075px) {
		#formWrap-top > p {
			margin:5rem auto;
		}
	}
	@media only screen and (max-width: 767px){
		#formWrap-top > h4 {
			margin-bottom: 1rem;
			font-size: 2rem;
		}
		#formWrap-top > p {
			text-align:left;
			margin:2rem auto;
		}
		#formWrap-top > p.contact {
			background:#EFEFEF;
			padding:1rem;
			box-sizing: border-box;
		}
	}


/************************************************************
	formArea
*************************************************************/
/* 基本項目 */
#formArea {
    width: 100%;
}
#formArea > table {
	width: 100%;
	border-collapse: collapse;
	line-height: 1.4;
	margin-bottom:40px;
}
#formArea > table th {
	width: 35%;
	font-weight:bold;
	font-size:1.4rem;
	border: 1px solid #CCC;
	background: #f0f0f0 none repeat scroll 0 0;
	text-align: left;
	line-height: 16px;
	vertical-align: middle;
	line-height: 16px;
	padding: 0.7rem 2rem 0.7rem 1rem;
	box-sizing: border-box;
}
#formArea > table th.must:before {
    content: "必須";
    font-size: 1.2rem;
    float: right;
    background: #C00;
    padding: 0.3rem 1rem;
    border-radius: 0.3rem;
    color: #FFF;
}
#formArea > table td {
	width: 65%;
	border: 1px solid #CCC;
	background: #FFF;
	text-align: left;
	vertical-align: middle;
	line-height: 16px;
	padding: 1rem 0.7rem;
	box-sizing: border-box;
	font-size:13px;
}
#formArea > table td p.comment {
	font-size:12px;
	margin-bottom:0.2rem;	
}
#formArea > table td ul {
	display: inline-block;
}
#formArea > table td label {
	display:inline-block;
	margin: 0 1rem 0 0;
    font-size: 1.4rem;
    line-height: 1.6;
}
	@media only screen and (max-width: 1075px) {
		#formArea > table {
			width: 100%;
			margin: 0 auto 40px;
		}
	}
	@media only screen and (max-width: 767px){
		#formArea > table td label {
			font-size: 1.6rem;
			line-height: 1.5;
		}
		#formArea > table th {
			padding: 1rem;
			width: 100%;
			border-bottom: none;
			float: left;
			line-height: 1;
		}
		#formArea > table td {
			padding: 1rem;
			width: 100%;
			border-bottom: none;
			float: left;
			vertical-align: center;
		}
		#formArea > table tr:last-of-type td {
			border-bottom: 1px solid #999;
		}
		#formArea > table tr td.radio label input {
			width: auto;
		}
	}


/*お名前*/
#formArea > table tr.name td label {
	width: 45%;
}
#formArea > table tr.name td label span {
	width: 4rem;
	text-align: right;
	display: inline-block;
	margin-right: 0.5rem;
}
#formArea > table tr.name td label input {
	width: 75%;
}
	@media only screen and (max-width: 767px){
		#formArea > table tr.name td label {
			margin: 0 1% 1% 0;
			width: 48%;
		}
		#formArea > table tr.name td label span {
			width: 100%;
			display: block;
			text-align: left;
			margin: 0;
		}
		#formArea > table tr.name td label input {
			width: 90%;
		}
	}


/*居住地*/
#formArea > table tr.address td label {
	display:block;
    margin-bottom: 1rem;
}
#formArea > table tr.address td label span {
	width: 70px;
	text-align: right;
	display: inline-block;
	margin-right: 0.5rem;
}
#formArea > table tr.address td .form_text-small {
    width: 15%;
    margin: 0 0 1rem 0;
    padding: 0.1rem 1rem;
}
#formArea > table tr.address td .form_text {
	width: 100%;
    margin: 0 0 1rem 0;
    padding: 0.1rem 1rem;
	box-sizing: border-box;
}
#formArea > table tr td label.city {
	display:block;
	margin:1rem 0 0 0;
}
#formArea > table tr td label.city > input {
    width: 100%;
    display: block;
}
	@media only screen and (max-width: 767px){
		#formArea > table tr.address td .form_text-small {
			width: 30%;
			margin: 0 0 1rem 0;
			padding: 1rem 0.5rem;
		}
		#formArea > table tr.address td .form_text {
			padding: 1rem 0.5rem;
		}
	}


/*生年月日*/
#formArea > table tr.birthday td span {
    display: inline-block;
    margin: 0 0.5rem 0 0.2rem;
    font-size: 1.2rem;
}
/*メールアドレス*/
#formArea > table tr td input.email {
    width: 100%;
    display: block;
}

/*応募のきっかけ*/
#formArea > table tr.trigger td span {
	display:block;
}

/* 個人情報保護方針 */
#formArea .agree {
    font-size: 1.4rem;
    text-align: center;
    margin: 4rem 0 2rem;
}
#formArea .privacy {
    margin: 0 auto 5rem;
    max-width: 800px;
    width: 90%;
    height: 168px;
    overflow: scroll;
    padding: 2rem 3rem;
    border: 1px solid #BDBDBD;
    font-size: 1.4rem;
}
#formArea .privacy h3 {
    font-size: 1.6rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 1.5rem;
}
	@media only screen and (max-width: 767px){
		#formArea .privacy {
			padding: 1rem;
		}
	}


/************************************************************
	フォームパーツ
*************************************************************/
input,textarea,select,label {
    box-sizing: border-box;
    box-shadow: none;
}
input {
	margin: 0.5rem 0.5rem 0 0;
    width: auto;
    border: 2px solid #DDD;
	border-radius: 0.3rem;
}
input[type="radio"] ,
input[type='checkbox'] {
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    vertical-align: middle;
    margin: 0 0.5rem 0 0;
    border: none;
}
textarea {
	width: 95%;
    border: 2px solid #DDD;
	border-radius: 0.3rem;
}
select {
    border: 2px solid #DDD;
    padding: 0 0.5rem;
    font-size: 1.6rem;
    cursor: pointer;
}
label {
    cursor: pointer;
}
div.form_buttons {
    clear: both;
    padding: 10px 0;
    text-align: center;
}

div.form_buttons input {
    border: medium none;
    cursor: pointer;
}
input, button, select, textarea {
    font-size: 1.7rem;
	font-family: "游ゴシック","Yu Gothic","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Arial,Helvetica,sans-serif;
}
/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}
input[type="submit"]:hover ,
button[type="submit"]:hover {
	text-decoration:none;
}
input[type="submit"] ,
input[type="reset"] ,
input[type="button"] ,
button[type="submit"] ,
button[type="reset"] ,
button[type="button"] {
    border-radius: 5px;
    color: #fff;
    border: medium none;
    cursor: pointer;
    padding: 1rem;
    height: 6rem;
    font-weight: bold;
    font-size: 2rem;
}
input[type="submit"] ,
button[type="submit"] {
    background-color: #e4511e;
    width: 65%;
	float:right
}
input.oneButton[type="submit"] ,
input.oneButton[type="reset"] ,
input.oneButton[type="button"] ,
button.oneButton[type="submit"] ,
button.oneButton[type="reset"] ,
button.oneButton[type="button"] {
    width: 90%;
    float: none;
    margin: 0 auto 2rem;
    display: block;
}
input[type="reset"],
input[type="button"] ,
button[type="reset"],
button[type="button"] {
    background-color: #333;
    width: 30%;
	float:left
}
input[type="submit"] span:before ,
input[type="reset"] span:before ,
input[type="button"] span:before ,
button[type="submit"] span:before ,
button[type="reset"] span:before ,
button[type="button"] span:before {
	content:"\f054";
}
blockquote + p {
	display:none;
}
p.page-back {
	font-weight:bold;
	text-decoration:underline;
}

@media only screen and (max-width: 767px){
	input {
		width: 100%;
		padding: 0.2rem 0.5rem;
		border: 1px solid #CCC;
	}
	input[type="radio"] ,
	input[type='checkbox'] {
		border: 1px solid #CCC;
	}
	select {
		padding: 0;
		border: 1px solid #CCC;
	}
	textarea {
		width: 100%;
		border: 1px solid #CCC;
	}
	p > input {
		width: 100%;
	}
	input.w240 {
		width: 80%;
	}
	input[type="submit"] ,
	input[type="reset"] ,
	input[type="button"] ,
	button[type="submit"] ,
	button[type="reset"] ,
	button[type="button"] {
		font-size: 1.6rem;
	}
	input[type="submit"] ,
	button[type="submit"] {
		width: 100%;
		margin-bottom:2rem;
		float:none;
	}
	input[type="reset"],
	input[type="button"] ,
	button[type="reset"],
	button[type="button"] {
		width: 100%;
		margin-right:0;
		float:none;
	}
}
