@charset "utf-8";


.wrap {
	max-width: 750px;
	margin: 0 auto;	
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="submit"],
button,
textarea {
   -webkit-appearance: none;
   border-radius: 0;
}

.clear {
	clear: both;	
}
table {
	border-collapse: collapse;
}
img {
	border: none;
	vertical-align: top;
}
td ul {
	padding: 0!important;	
}

input,
textarea {
    padding: 0;
    vertical-align: middle;
	box-sizing: border-box;
	font-size: 18px;
}

input::placeholder {
	font-size: 14px;
}
textarea {
    font-family: monospace;
    line-height: 1.4;
}



td input[type="checkbox"],
td input[type="radio"],
p.checkagree input[type="checkbox"],
p.checkagree input[type="radio"] {
    margin-right: 4px!important;
	margin-top: 0!important;
	box-sizing: border-box;	

}


select {
    padding: 0;
    margin-right: 2px;
    border:1px solid #CCC;
    border-radius: 2px;
}

p.contact_lead {
    margin-bottom: 40px;
}

.contact_form th span,
.contact_form td span {
    margin: 0 3px;
}
.contact_form td span {
    font-size: 12px;
    line-height: 1.2;
}
span.must {
    margin: 0px 5px;
    background: #FFF;
    color: #CC0000;
    border: 1px solid #CC0000;
    font-weight: normal;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 2px;
    letter-spacing:  1px;
    vertical-align: 1px;
}
.contact_form td p.notes {
    font-size: 12px;
}
.f-red {
    color: #CC0000;
}

td div {
    word-break: break-all;
    word-wrap: break-word;
}
td ul li {
    list-style: none;
    margin-bottom: 3px!important;
	padding: 0;
}
td input[type="text"],
td input[type="number"],
td input[type="email"] {
    padding: 10px;
    width: 100%;
    border: 1px solid #CCC;
    margin: 3px 0;
    border-radius: 4px;
}
td input.short {
	width: 100px!important;
	margin-right: 10px;	
}
td .short input {
	width: 100px!important;
	margin-right: 10px;	
}

p.notes,
.notes {
	font-size: 12px;	
}
td input[type="radio"],
td input[type="checkbox"] {
    padding: 0px;
    width: auto;
}

textarea {
    padding: 10px;
    width: 100%;
    height: 150px;
    border: 1px solid #CCC;
	box-sizing: border-box;
    border-radius: 2px;
}
select {
    padding: 10px;
    margin: 5px 0;
}

label {
    margin-right: 15px;
	font-weight: 300!important;
}

div.agree_box {
	margin: 0 0 30px;
}
div.agree_box h5 {
	margin: 0 0 15px;
	font-size: 15px;	
}
div.agree_box a {
	color: #333;
	text-decoration: underline;	
}

p.checkagree {
	text-align: center;
	margin: 10px 0 0;	
}


.sendbtn_flex input[type="submit"],
.sendbtn_flex input[type="button"] {
    padding: 8px 50px;
    font-size: 15px;
    margin: 0 5px;
    font-family: "ヒラギノ角ゴ W3 JIS2004","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

input#btn_send,
input#btn_send2 {
    background: #9C1014;
    border: none;
    border: 1px solid #9C1014;
    color: #FFF;
	width: 200px;
}

input#btn_send2 {
	cursor: pointer;	
}

input#btn_send:enabled {
	opacity: 1.0;
	filter: alpha(opacity=100);
	cursor: pointer;
}
input#btn_send:disabled {
	opacity: 0.2;
	filter: alpha(opacity=20);
	cursor: default;
	}

input#btn_back {
    background: #FFF;
    border: 1px solid #9C1014;
    color: #9C1014;
	width: 200px;
}

td input.formS {
    width: 100px;
}
td input.formXS {
    width: 80px;
}


span.sp_txt {
	display: none;	
}
table {
	border-collapse: collapse;
	border-top: 1px solid #9C1014;
	width: 100%;
	margin: 0 0 40px;
}
th,td {
	padding: 15px;
	vertical-align: top;
	text-align: left;
	border-bottom: 1px solid #9C1014;

}

th {
	width: 20%;
	font-weight: 500;
}
td a {
	color: #9C1014;
	text-decoration: underline;	
}



div.agree_box {
	margin: 30px 0 20px;
	height: 200px;
	border: 1px solid #CCC;
	box-sizing: border-box;
	border-radius: 6px;
}
div.agree_inner {
	padding: 20px;
	overflow: auto;
	height: 200px;
	box-sizing: border-box;
}
div.agree_inner ol {
	padding-left: 20px;	
}

div.agree_inner p,
div.agree_inner li {
	font-size: 13px;	
}
div.agree_inner ul {
	padding-left: 15px;	
}
div.agree_inner li {
	margin-bottom: 4px;	
}



.agree_check {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	margin: 20px 0;
}

.agree_check,
.agree_check:before,
.agree_check:after {
	box-sizing: border-box;
}
.agree_check input[type=checkbox] {
	display: none;
}

.agree_check input{
	opacity: 0;
}
.agree_check span.wpcf7-list-item-label {
	display: inline-block;
	position: relative;
	cursor: pointer;
	margin-left: 8px;
	padding: 0px 20px;
	border-radius: 2px;
	color: #000;
	text-align: center;
	line-height: 1;
}
.agree_check span.wpcf7-list-item-label:before{
	position: absolute;
	content: "";
	top: 50%;
	left: -6px;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	background: #EEE;
	border-radius: 50%;
}
.agree_check input[type="checkbox"]:checked + span.wpcf7-list-item-label:after {
	position: absolute;
	content: "";
	top: 50%;
	left: 0px;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-radius: 50%;
	background: #9C1014;
}


.aligncenter {
    text-align: center;
	margin-bottom: 25px;
}


.sendbtn_flex {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	margin-bottom: 50px;
}


@media(max-width: 767px) {
.wrap {
	padding-left: 20px;
	padding-right: 20px;	
}
th,
td {
	display: block;
	padding: 0;
	border: none;
	width: auto;
	white-space: inherit;
}
th {
	padding: 10px 0;
	font-weight: 600;	
}
td {
	padding: 0 0 15px;
	border-bottom: 1px solid #9C1014;
}

td input[type="text"],
td input[type="number"],
td input[type="email"],
textarea {
	width: 100%;
}
.sendbtn_flex {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
}

}
	
span.wpcf7-not-valid-tip {
	font-size: 85%!important;
	color: #CC0000!important;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
	border: 2px solid #CC0000!important;
	text-align: center;
	color: #CC0000;
}
.wpcf7c-conf {
	background: #F5F5F5!important;	
}
div.wpcf7-mail-sent-ok {
    border: 2px solid #398f14;
	color: #398f14!important;	
	text-align: center;
}