@charset "utf-8";

.contact{
	max-width: 990px;
	margin: 0 auto;
}
.contact p{
	font-size: 1.6rem;
	line-height: 1.8;
	text-align: left;
}
.contact .btn {
	text-align: center;
	margin: 20px 0 100px 0;
}
.contact .btn input{
	background-color: #5087BE;
	letter-spacing: .125em;
	margin: 0 auto;
	border: none;
	color: #FFFFFF;
	font-size: 2.2rem;
	padding: 10px 30px;
	cursor: pointer;
	-webkit-appearance: none;
}
.contact .btn input:hover {
	background-color: #447399;
	transition: .3s;
}
.contact .must {
	color: #FF0004;
	font-weight: bold;
	
}
.titleBg {
    background: url("../img/policy/main_img.jpg") no-repeat top center/cover;
}
.pageTitle {
	max-width: 1180px;
	margin: 0 auto 15px;
	justify-content: flex-start;
}
.personalInfo{
	margin: 40px 0 100px 0;
}
.personalInfo a{
	text-decoration: underline;
}
.personalInfo a:hover{
	opacity: .7;
}
/*現行サイト引用*/
.contact #error_message {
    text-align: center;
    padding: 10px;
    color: red;
    border: 2px solid red;
    margin: 0 0 40px 0;
}
.contact .sooc {
  display: none;
}
.contact .mw_wp_form_preview p.sooc {
  display: block;
}
.contact .mw_wp_form_preview span.sooc {
  display: inline;
}
.contact .input {
  display: inline;
}
.contact .mw_wp_form_preview .input {
  display: none;
}
/*テーブル*/
.contact table{
	width: 100%;
	font-size: 1.6rem;
	border-collapse: collapse;
}
.contact tr{
	border-top: 1px #CCCCCC solid;
}
.contact tr:last-child{
	border-top: 1px #CCCCCC solid;
	border-bottom: 1px #CCCCCC solid;
}
.contact th{
	font-weight: normal;
	vertical-align: top;
	background-color: #EFEFEF;
	position: relative;
}
.contact th.col2{
	background-color: #DDDDDD;
}
.contact th::before{
	display: block;
	content: '';
	height: 2px;
	width: 100%;
	background-color: #FFFFFF;
	position: absolute;
	top: 0;
}
.contact th::after{
	display: block;
	content: '';
	height: 2px;
	width: 100%;
	background-color: #FFFFFF;
	position: absolute;
	bottom: 0;
}
.contact td{
	padding: 20px 40px;
}
.contact .name .hoc{
	padding-left: 16px;
}
.contact td textarea{
    width: calc(100% - 10px);
	height: 200px;
	resize: none;
}
.contact td input{
    width: calc(100% - 10px);
}
.contact td .check{
    display: inline-block;
}
.contact td .small{
	width: 142px;	
}
.contact td .smaller{
	width: calc(25% - 20px);	
}
.item_title{
	padding: 20px 110px 20px 20px;
}
.item_title.col2{
	padding: 20px 0 20px 20px;
}
.check_area input {
    display: none;
}
.check_area label > span {
  position: relative;
  display: flex;
  align-items: center;
}
.check_area label input[type="checkbox"] + span::before {
  content: '';
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid silver;
  margin-right: 10px !important;
  cursor: pointer;
  z-index: 2;
  transition-property: border;
  transition-duration: 0.05s;
}
.check_area label input[type="checkbox"] + span::after {
  content: '✔';
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  top: 0;
  left: 0;
  font-size: 0;
  color: #4694d1;
  transition-property: font-size;
  transition-duration: 0.05s;
}
.check_area label input[type="checkbox"]:checked + span::before {
  border: 1px solid darkblue;
}
.check_area label input[type="checkbox"]:checked + span::after {
  font-size: 18px;
  color: #4694d1;
}
@media all and (max-width: 750px) {
	.pageTitle {
		padding: 0 25px;
	}
	.contact .btn input{
		font-size: 1.7rem;
	}
	.contact tr{
		display: flex;
		flex-wrap: wrap;
		margin-bottom: 40px;
	}
	.contact tr, .contact tr:last-child{
		border-top: 0px;
		border-bottom: 0px;
	}
	.contact th,.contact td{
		flex-basis: 100%;
	}
	.contact tr .item_title{
		padding: 15px 20px;
	}
	.contact tr .col2 .item_title{
		padding: 7px 20px;
	}
	.contact td {
    	padding: 20px;
	}
	.contact td .small {
 	   margin-bottom: 20px;
	}
	.contact td .small:last-child {
 	   margin-bottom: 0;
	}
	.contact td .smaller{
		width: 25%;	
	}
	.check_area.check1 label input[type="checkbox"] + span::after {
   		top: 12px;
	}

}