@charset "utf-8";
/* iphoneCSSリセット */
input[type="button"],input[type="text"],input[type="submit"],input[type="image"],textarea{
	-webkit-appearance: none;
	border-radius: 0;
}
.file-area td{
	overflow-wrap: break-word;
}
.complete-ttl,
.complete-txt{
	text-align: center;
}
/* ここからpc */
@media screen and (min-width: 768px) {
	.contact-box{
		width: 90%;
		max-width: 900px;
		margin: 40px auto 0;
	}
	.form-bg{
		background: #fbfaf8;
		padding: 50px 5%;
	}
	.must-ttl{
		color: #f00;
		text-align: right;
		margin-bottom: 20px;
	}
	.contact-form input,
	.contact-form textarea{
		background: #fff;
		display: block;
		width: 100%;
		border: 1px solid #bab9a1;
		padding: 10px;
		font-size: 16px;
	}
	.contact-form input[type="date"]{
		width: auto;
	}
	.contact-form textarea{
		height: 180px;
	}
	.contact-form div{
		margin-bottom: 25px;
	}
	.contact-form .bold{
		font-weight: bold;
	}
	.contact-form .must{
		position: relative;
	}
	.contact-form .must::after{
		content: "*";
		font-size: 15px;
		color: #f00;
		position: absolute;
		top: -7px;
		right: -10px;
	}
	.post input{
		display: inline-block;
	}
	.post input:nth-of-type(1){
		width: 65px;
	}
	.post input:nth-of-type(2){
		width: 80px;
	}
	.kinds-area li{
		display: flex;
		align-items: center;
		margin-top: 10px;
	}
	.kinds-area input[type="radio"]{
		display: inline-block;
		width: 18px;
		height: 18px;
		margin-right: 10px;
		cursor: pointer;
	}
	.kinds-area label{
		flex: 1;
	}
	.sendbutton{
		width: 250px;
		margin: 0 auto;
		border-radius: 2px;
		padding-top: 30px;
	}
	.sendbutton input{
		cursor: pointer;
		font-size: 17px;
		text-align: center;
		background: #85d2d7 !important;
		border: 1px solid #85d2d7;
		padding: 14px 0;
		color: #fff;
		transition: all .5s;
		display: block;
		width: 100%;
	}
	.sendbutton input:hover{
		opacity: 0.7;
	}
	.confirmtable{
		width: 100%;
		border-collapse: collapse;
		border: 1px solid #bab9a1;
	}
	.confirmtable tr{
		display: flex;
	}
	.confirmtable tr:not(:last-child){
		border-bottom: 1px solid #bab9a1;
	}
	.confirmtable th{
		display: inline-block;
		width: 25%;
		text-align: center;
		background: #fbfaf8;
		border-right: 1px solid #bab9a1;
		padding: 20px 0;
	}
	.confirmtable td{
		display: inline-block;
		width: 75%;
		padding: 20px;
	}
	.bac{
		width: 250px;
		margin: 0 auto;
		padding-top: 40px;
	}
	.bac a{
		border: 1px solid #bab9a1;
		background: #fff;
		display: block;
		text-align: center;
		padding: 14px 0;
		transition: all .5s;
	}
	.bac a:hover{
		background: #4d4d4d;
		color: #fff;
	}
	.file-area .mini{
		display: block;
		margin-bottom: 10px;
	}
	.file-area input{
		background: none;
		border: none;
	}
}


/* ここからsp */
@media screen and (max-width: 767px) {
	.contact-box{
		width: 100%;
		margin-top: 40px;
	}
	.form-bg{
	 padding: 5% 7% 10%;
	}
	.must-ttl{
	 color: #f00;
	 text-align: right;
	 margin-bottom: 10px;
	}
	.contact-form input,
	.contact-form textarea{
	 background: #fff;
	 display: block;
	 width: 100%;
	 border: 1px solid #bab9a1;
	 padding: 10px;
	 font-size: 16px;
	}
	.contact-form input[type="date"]{
		width: auto;
	}
	.contact-form textarea{
	 height: 180px;
	}
	.contact-form div{
	 margin-bottom: 25px;
	}
	.contact-form .bold{
	 font-weight: bold;
	}
	.contact-form .must{
	 position: relative;
	}
	.contact-form .must::after{
	 content: "*";
	 font-size: 15px;
	 color: #f00;
	 position: absolute;
	 top: -7px;
	 right: -10px;
	}
	.post input{
	 display: inline-block;
	}
	.post input:nth-of-type(1){
	 width: 65px;
	}
	.post input:nth-of-type(2){
	 width: 80px;
	}
	.kinds-area li{
	 display: flex;
	 align-items: center;
	 margin-top: 10px;
	}
	.kinds-area input[type="radio"]{
	 display: inline-block;
	 width: 18px;
	 height: 18px;
	 margin-right: 10px;
	 cursor: pointer;
	}
	.kinds-area label{
	 flex: 1;
	}
	.sendbutton{
	 width: 70%;
	 margin: 0 auto;
	 border-radius: 2px;
	}
	.sendbutton input{
	 font-size: 14px;
	 text-align: center;
	 background: #85d2d7 !important;
	 border: 1px solid #85d2d7;
	 padding: 12px 0;
	 color: #fff;
	 transition: all .5s;
	 display: block;
	 width: 100%;
	}
	.confirmtable{
	 width: 93%;
	 margin: 0 auto;
	 border-collapse: collapse;
	 border: 1px solid #bab9a1;
	}
	.confirmtable tr{
	 display: flex;
	 align-items: stretch;
	}
	.confirmtable tr:not(:last-child){
	 border-bottom: 1px solid #bab9a1;
	}
	.confirmtable th{
	 display: inline-block;
	 width:30%;
	 text-align: center;
	 background: #fbfaf8;
	 border-right: 1px solid #bab9a1;
	 font-size: 12px;
	 padding: 15px 0;
	}
	.confirmtable td{
	 display: inline-block;
	 width: 70%;
	 padding: 15px;
	 font-size: 12px;
	}
	.file-area .mini{
		display: block;
		margin-bottom: 10px;
	}
	.file-area input{
	 border: none;
	 padding-top: 10px;
	}
	.bac{
	 width: 70%;
	 margin: 0 auto;
	 padding: 20px 0;
	}
	.bac a{
	 border: 1px solid #bab9a1;
	 background: #fff;
	 display: block;
	 text-align: center;
	 padding: 12px 0;
	 transition: all .5s;
	}
	.bac a:hover{
	 background: #4d4d4d;
	 color: #fff;
	}
}
.file-area li{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 10px;
}
.file-area div {
	background: #eee;
	color: #000;
	border: 1px solid #000;
	cursor: pointer;
	padding: 5px 10px;
	display: inline-block;
}
.file-area input{
	width: auto;
	display: inline-block;
	padding: 0;
}
.file-area input[type="text"]{
	flex: 1;
	pointer-events: none;
}
@media screen and (min-width: 768px) {
	.file-area input{
		width: auto;
	}
	.file-area div {
		margin: 0 7px 0 0;
	}
}
@media screen and (max-width: 767px) {
	.file-area div {
		margin: 0 7px 7px 0;
	}
}

.photo_view{
	display: none;
	background: #eee;
	border: 1px solid #000;
	padding: 10px 15px;
	margin: 0 7px;
}
@media screen and (max-width: 767px) {
	.photo_view{
		margin-bottom: 7px;
	}
}
