.file_box {
	margin:30px 20px 0 20px;
	border-top:1px solid #eeeeee;
}

.file_box_in {
	padding:15px;
	border-bottom:1px solid #eeeeee;
}

.file_box_in_h {
	font-size:14px;
	font-weight:bold;
	margin-bottom:10px;
}

.main p {
	font-size:20px;
	margin:0 0 30px 0;
}

.radio_outer input[type=checkbox],
.radio_outer input[type=radio],
.radio_outer label::before,
.radio_outer label::after {
 display: none;
}

.radio_outer input[type=checkbox] + label,
.radio_outer input[type=radio] + label {
 position: relative;
 padding-left:30px;
}

.radio_outer input[type=checkbox] + label::after,
.radio_outer input[type=radio] + label::after {
  display: block;
  content: '';
  position: absolute;
top: 17px;
left: 12px;
  width: 8px;
  height: 3px;
  border-left: 2px solid #eeeeee;
  border-bottom: 2px solid #eeeeee;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.radio_outer input[type=checkbox] + label:before,
.radio_outer input[type=radio] + label:before {
 position: absolute;
 top: 50%;
 left: 0;
 width: 18px;
 height: 18px;
 margin-top: -9px;
 content: "";
 border-radius: 9px;
 background-color: #fff;
}

.radio_outer input[type=checkbox]:checked + label::after,
.radio_outer input[type=radio]:checked + label::after {
  display: block;
  content: '';
  position: absolute;
top: 17px;
left: 12px;
  width: 8px;
  height: 3px;
  border-left: 2px solid #b71c1c;
  border-bottom: 2px solid #b71c1c;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  margin-top:0;
  background:none;
}

.radio_outer .input.in {
    margin-top: 7px;
    width:100%;
}

.radio_outer {
 overflow: hidden;
 border: 1px solid #dddddd;
 margin-bottom:10px;
 width:410px;
}

.radio_outer.sex {
 width:auto;
}


.radio_outer label {
 font-size: 14px;
 display: block;
 padding: 10px 12px;
 text-align:left;
 background: #ffffff;
 color:#333333;
 border-top: 1px solid #dddddd;
}

.radio_outer.sex label {
 border:0;
}

.radio_outer label span {
 display: block;
 font-size: 10px;
 color:#999999;
}

.radio_outer.sex label {
 text-align: center;
 float: left;
 width:25%;
}

.radio_outer.sex label.free {
 width:50%;
 border-left: 1px solid #dddddd;
}

.radio_outer label.left {
 border-right: 1px solid #dddddd;
}

.radio_outer label.top {
 border-top:none;
}

.radio_outer input[type=checkbox]:checked + label,
.radio_outer input[type=radio]:checked + label {
 color:#ffffff;
 background:#282828;
}

.radio_outer input[type=checkbox]:checked + label span,
.radio_outer input[type=radio]:checked + label span {
 color:#ffffff;
}

/* ステップ */

.step {
	font-size: 16px;
	overflow: hidden;
	margin: 0 0 30px;
	color: #cccccc;
	text-align:left;
	border-radius:100px;
	-moz-border-radius:100px;
	-webkit-border-radius:100px;
	-khtml-border-radius:100px;
}

.step ul {
	height: 72px;
	display: table;
	width:100%;
	margin:0 auto;
	background:#eeeeee;
}

.step ul li {
	position: relative;
	width: 33.3%;
	display: table-cell;
	vertical-align: middle;
	line-height:1;
}

.step ul.ticket li {
	width:25%;
}

.step ul li:before,
.step ul li:after {
	position: absolute;
	z-index: 1;
	top: -1px;
	right: -20px;
	bottom: -1px;
	width: 0;
	height: 0;
	content: "";
	border-width: 38px 0 38px 20px;
	border-style: solid;
}

.step ul li:before {
	border-color: transparent transparent transparent #ffffff;
}

.step ul li:after {
	right: -19px;
	border-color: transparent transparent transparent #eeeeee;
}

.step ul li:last-child:before,
.step ul li:last-child:after {
	border:none;
}

.step ul li .step-inner {
	position: relative;
	box-sizing: border-box;
	padding-left:0;
}

.step ul li .num {
	margin: 0 0 8px;
	text-align:center;
	font-size:18px;
	font-weight: bold;
}

.step ul li .text {
	font-size:14px;
	text-align:center;
}

.step ul li:first-child .step-inner {
	padding-left: 17px;
}

.step ul li.active {
	color: #ffffff;
	background:#292828;
}

.step ul li.active:before,
.step ul li.active:after {
	border-color: transparent transparent transparent #292828;
}

/* ローディング */

.loading {
	position:fixed;
	z-index:100;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:url(../img/loading.gif) no-repeat center center rgba(0,0,0,0.75);
	background-size:100px auto;
	display:none;
}

.send .submit br {
	display:none;
}

.send .submit.normal {
	font-size: 20px;
	padding: 5px 0 5px 0;
	line-height:60px;
}

#but_more {
	background:#232323;
	border-radius:5px;
	color:#ffffff;
	font-size:12px;
	padding:5px 8px;
	display:inline-block;
	margin:15px 0 0 15px;
	cursor:pointer;
}

.form_fin_sub_text {
	text-align:center;
	font-size:14px;
	margin:10px 0 0 0;
}

.kiyaku_main_text {
	margin:40px 15px 20px 15px;
}

.kiyaku_main_text p {
	text-align:left;
	font-weight:700;
	font-size:18px;
}

@media screen and (max-width:725px) {

	.file_box {
		margin:30px 15px 0 15px;
	}

	.step ul li .num {
		font-size:16px;
	}

	.step ul li .text {
		font-size:12px;
	}

	.step ul li:nth-child(2) {
		width:30%;
	}

	.step ul li:nth-child(2) .step-inner {
		padding-left:20px;
	}

	.step ul li:last-child {
		width:36.6%;
	}

	.step ul li:last-child .step-inner {
		padding-left:10px;
		padding-right:10px;
	}

	.step ul.ticket li .num {
		font-size:14px;
	}

	.step ul.ticket li {
		width:calc(15% - 20px);
	}

	.step ul.ticket li:nth-child(3) {
		width:calc(22.5% - 25px);
	}

	.step ul.ticket li:nth-child(3) .step-inner {
		padding-left:20px;
	}

	.step ul.ticket li:last-child {
		width:calc(30% - 30px);
	}
	
	.step ul.ticket li:last-child .step-inner {
		padding-left:20px;
		padding-right:15px;
	}

	.main p {
		font-size:16px;
	}
	
	.main p.header_rmesg {
		margin: 0 15px 0 15px;
	}
	
	.send .submit {
		line-height:60px;
		padding:5px 0;
		font-size:20px;
	}

	.send .submit br {
		display:block;
	}

	.radio_outer {
	  width: calc(100% - 10px);
	}

	.form_fin_sub_text {
		font-size:12px;
	}

}

/* アップロード */

.input_file {
	background:#ededed;
	padding:30px 0 0 0;
	margin:0 15px 15px 15px;
	border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	-khtml-border-radius:10px;
}

.input_file .preview_box {
	width:300px;
	height:300px;
	margin:0 auto 30px auto;
	display:table;
	display:none;
	background:#cccccc
}

.input_file .preview {
	width:300px;
	height:300px;
	text-align:center;
	vertical-align: middle;
	display:table-cell;
}

.input_file .preview img {
	max-width:300px;
	max-height:300px;
}


.files {
  opacity:0;
}


/* ボタン */

.btn_upload_out {
	text-align:center;
	padding:0 100px;
}

.btn_upload {
	position: relative;
	font-size: 20px;
	font-weight: 700;
	line-height: 60px;
	width: 100%;
	display: inline-block;
	text-align: center;
	border: 1px solid;
	border-color: transparent;
	color: #ffffff;
	background:#232323;
	margin: 0 auto;
	padding:5px 0 5px 0;
	letter-spacing: 0.05em;
	border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	-khtml-border-radius:10px;
	text-decoration:none;
	vertical-align: middle;
}

.btn_upload span {
	font-size:16px;
}

.btn_upload::before,
.btn_upload::after{
	position: absolute;
	top: 0;
	bottom: 0;
	right:0;
	margin: auto;
	content: "";
	vertical-align: middle;
}

.btn_upload::before{
	right:25px;
	width:6px;
	height:6px;
	border-top: 3px solid #ffffff;
	border-right: 3px solid #ffffff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

@media screen and (max-width:725px) {

	.input_file {
		padding:6% 5% 0 5%;
		margin:0 5% 15px 5%;
	}

	.btn_upload_out {
		text-align:center;
		padding:0 5%;
		margin:0;
	}

	.input_file .preview_box,
	.input_file .preview {
		width:250px;
		height:250px;
	}

	.input_file .preview img {
	    max-width:250px;
	    max-height:250px;
	}

	.btn_upload {
		font-size:18px;
		line-height:50px;
	}

	.btn_upload span {
		font-size:14px;
	}

}