@charset "utf-8";
/* CSS Document */

main {
	background: linear-gradient(#EEEEEF,#D2D8CD);
}

#tel_wrap > h4,
#mail_wrap > h4 {
	font-weight: normal;
	font-size: 18px;
	padding-bottom: 15px;
	text-align: center;
}
#tel_wrap > div,
#mail_wrap > div {
	background-color: #f6f5f5;
	padding: 40px;
	box-sizing: border-box;
}
#tel_wrap {
	padding-bottom: 50px;
}
#tel_wrap > div > p {
	text-align: center;
}
#tel_wrap > div > p:first-child a {
	font-size: 25px;
	font-family: 'PT Serif', serif;
	padding-bottom: 20px;
}

#mail_wrap {
	padding-bottom: 70px;
}
#mail_wrap > div {
	display: flex;
	justify-content: space-between;
	flex-flow: wrap;
}
#mail_wrap > div > form {
	display: flex;
	justify-content: space-between;
	flex-flow: wrap;
}
#mail_wrap > div p {
	padding-bottom: 20px;
}
#mail_wrap > div p:nth-child(odd) {
	/*float: left;*/
	width: 30%;
	position: relative;
	padding-right: 50px;
	box-sizing: border-box;
}
#mail_wrap > div p:nth-child(odd) > span {
	position: absolute;
	top: 0px;
	right: 0px;
	color: #F00;
	border: 1px solid #F00;
	padding: 0 5px;
	box-sizing: border-box;
	font-size: 11px;
}
#mail_wrap > div p:nth-child(even) {
	/*float: right;*/
	width: 60%;
}
#mail_wrap > div p#submit_btn{
    width: 100%;
    text-align: center;
}
input[type="text"],
input[type="email"],
input[type="tel"] {
	width: 100%;
	padding: 10px;	
	border: 1px solid #CCC;
	box-sizing: border-box;
}
input[type="checkbox"] {
	border: 1px solid #CCC;
}
select {
	width: 100%;
	padding: 10px;
	border: 1px solid #CCC;
	box-sizing: border-box;
}
textarea {
	width: 100%;
	padding: 10px;	
	border: 1px solid #CCC;
	box-sizing: border-box;	
}
input[type="submit"] {
	border-radius: 0;
	-webkit-box-sizing: content-box;
	-webkit-appearance: button;
	appearance: button;
	border: none;
	box-sizing: border-box;
	cursor: pointer;
	padding: 10px;
	margin: 30px auto auto;
	width: 300px;
    display: block;
    border: 1px solid #CCC;
    background-color: #FFF !important;
	-o-transition: all 200ms linear;
	-ms-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-webkit-transition: all 200ms linear;
	transition: all 200ms linear;
}
input[type="submit"]:hover {
	background-color: #222 !important;
	color: #FFF;
}

#check_wrap {
	display: flex;
	justify-content: space-between;
	flex-flow: wrap;
}
#check_wrap > label {
	width: 45%;
	padding-bottom: 5px;
}
#check_wrap > label:nth-child(9),
#check_wrap > label:nth-child(10) {
	width: 100%;
}
#check_wrap > textarea {
	width: 100%;
	margin-top: 10px;
}
#mail_wrap > div #finished {
    width: 100%;
}
#mail_wrap > div #finished p{
	padding: 0;
    width: 90%;
    margin: 1em auto;
}

@media screen and (max-width: 800px) {
	
#mail_wrap > div > form > p:nth-child(odd) {
	width: 100%;
	padding-bottom: 5px;
}
#mail_wrap > div > form > p:nth-child(even) {
	width: 100%;
}
input[type="submit"] {
	margin-top: 0px;
	width: 100%;
}

#check_wrap {
	padding-top: 15px;
}
	
}

@media screen and (max-width: 650px) {
	
	
#check_wrap > label {
	width: 100%;
}
	
}