/*
CONTACT
*/

/*フォーム*/

#contactBox {
	max-width: 880px;
	margin: 0 auto;
	padding: 0 0 3em 0;
	text-align: left;
}
#contactBox h3 {
	color: #333;
	border-bottom: 1px solid #333;
	padding: 0.3em;
	margin-bottom: 2em;
}
#contactBox dl {
	margin-bottom: 2em;
}
#contactBox dl dt {
	font-weight: normal;
	color: #333 !important;
	font-size: 0.82rem;
	margin-bottom: 1em;
}
#contactBox dl dd {
	
}
#contactBox span.must {
	background: #f33;
	color: #fff;
	font-size: 0.68rem;
	padding: 2px 5px;
	margin: 0 1em;
}
#contactBox span.any {
	background: #999;
	color: #fff;
	font-size: 0.68rem;
	padding: 2px 5px;
	margin: 0 1em;
}

.form_sec {
	margin-bottom: 3em;
}

.privacy_txt {
}
.privacy_txt h4 {
	text-align: center;
}
.scroll-box {
	font-size: 0.72rem;
	border: 1px solid #ebeae6;
	padding: 1em;
	line-height: 180%;
}
#contactBox .privacy_chk {
	text-align: center;
	margin-top: 1em;
	color: #333 !important;
}
#contactBox .privacy_chk label {
	color: #333 !important;
}
#contactBox .checkbox {
	border: 1px solid #333;
	width: 18px; height: 18px;
}
#contactBox .submit {
	text-align: center;
	margin: 3em 0;
}


#contactBox table {
	margin-bottom: 3em;
	font-size: 0.88rem;
	width: 100%;
}
#contactBox table tr {
	border-bottom: 1px solid #ddd;
}
#contactBox table th {
	padding: 1em;
	width: 25%;
}
#contactBox table td {
	padding: 1em;
	color: #333 !important;
}

#contactBox .thx_box {
	border: 1px solid #333;
	padding: 2em;
	text-align: center;
	margin-bottom: 4em;
}
#contactBox .thx_box p {
	color: #000 !important;
	line-height: 200%;
}
#contactBox .back_home {
	text-align: center;
}
#contactBox .back_home a {
	text-decoration: underline;
}
#contactBox .back_home a:hover {
	text-decoration: none;
}

/* 元々のチェックボックス（非表示） */
.mycheckbox input[type="checkbox"]{
    display: none;
}
/* チェックボックスの代わりを成すラベル */
.mycheckbox input[type="checkbox"]+label{
    display: none;
    cursor: pointer;
    display: inline-block;
    position: relative;
    padding-left: 25px;
    padding-right: 10px;
    font-size: 0.82rem;
}
/* ラベルの左に表示させる正方形のボックス□ */
.mycheckbox input[type="checkbox"]+label::before{
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    left: 0;
    top: 50%;
    border: 1px solid;
    border-color:  #585753; /* 枠の色変更 お好きな色を */
    background-color: #FFF; /* 背景の色変更 お好きな色を */
}
/* チェックが入った時のレ点 */
.mycheckbox input[type="checkbox"]:checked+label::after{
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 18px;
    height: 9px;
    margin-top: -9px;
    top: 50%;
    left: 3px;
    transform: rotate(-45deg);
    border-bottom: 3px solid;
    border-left: 3px solid;
    border-color:  #585753; /* チェックの色変更 お好きな色を */
}

/* エラー表示 */
#errBox {
	color: #f30 !important;
	border: 1px solid #f30;
	background: rgba(255,30,30, 0.03);
	padding: 1em;
	margin-bottom: 3em;
}
p.err {
	color: #f30 !important;
	margin-bottom: 0.5em;
}
p.err {
	color: #f30 !important;
	margin-bottom: 0.5em;
}
p.err + input,
p.err + textarea {
	border: 1px solid #f30;
}

