
 
* {
  box-sizing: border-box;
}
 
*::before {
  box-sizing: border-box;
}
 
*::after {
  box-sizing: border-box;
}

#contact  h3 {margin: 30px 0 20px;}
#contact .formWrap{  max-width: 1000px; margin: auto;font-size: 16px;}
#contact .formWrap  table{width: 100%;}
#contact .formWrap th,#contact .formWrap td{padding: 10px; border: 1px solid #ccc}
#contact .formWrap th{width: 30%;  }
#contact .formWrap th sup{color: red;}
#contact .formWrap td{width: 70%;}
#contact .formWrap td span{display: block; margin: 10px 0; font-size: 12px;}
#contact .formWrap .btnBox{text-align: center;padding: 20px;}
#contact .formWrap .error th { color: #333; font-weight: bold;}
#contact .formWrap .error td { color: #f00; font-weight: bold;}

.mb10 { margin: 0 0 10px 0;}

input[type="submit"],
input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea,
button {
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  border: none;
}

input[type="submit"],
input[type="button"]{ cursor: pointer;}
input[type="submit"]:hover,
input[type="button"]:hover { opacity: 0.7; transition: opacity 0.5s linear 0s;}


input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  background: #f8f8f8;
  display: block;
  font-size: 16px;
  padding: 12px 15px;
  width: 100%;
  transition: 0.8s;
  border-radius: 0;
}

input[type="text"]:focus,
textarea:focus {
  background: #e9f5fb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

textarea[name="お問い合わせ内容"] {
  display: inline-block;
  width: 100%;
  height: 200px;
}

input::placeholder,
textarea::placeholder {
  color: #ccc;
}

::-webkit-input-placeholder {
  color: #ccc;
  opacity: 1;
}

::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #ccc;
  opacity: 1;
}
input[type=radio] {
    display: none;
}
.radio01 {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 30px;
    position: relative;
    width: auto;
}
.radio01::before {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    content: '';
    display: block;
    height: 16px;
    left: 5px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}
.radio01::after {
background: rgba(43,144,182,255);
border-radius: 50%;
content: '';
display: block;
height: 10px;
left: 8px;
margin-top: -5px;
opacity: 0;
position: absolute;
top: 50%;
width: 10px;
}
input[type=radio]:checked + .radio01::after {
    opacity: 1;
}
.cp_ipselect {
	overflow: hidden;
	width: 100%;
	text-align: center;
}
.cp_ipselect select {
	width: 100%;
	padding-right: 1em;
	cursor: pointer;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	border: none;
	outline: none;
	background: transparent;
	background-image: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.cp_ipselect select::-ms-expand {
    display: none;
}
.cp_ipselect.cp_sl01 {
	position: relative;
	border: 1px solid #bbbbbb;
	border-radius: 2px;
	background: #ffffff;
}
.cp_ipselect.cp_sl01::before {
position: absolute;
top: 50%;
right: 1.2em;
width: 0;
height: 0;
padding: 0;
content: '';
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid #666666;
pointer-events: none;
transform: translateY(-50%);
}
.cp_ipselect.cp_sl01 select {
	padding: 8px 38px 8px 8px;
	color: #666666;
	background-color: #f8f8f8;
	font-size: 16px;
	border-radius: 3px;
}
.btn{
  border-radius: 5px;
  background-color:  rgba(43,144,182,255);
  padding: 10px 20px;
  text-align: center;
  color: white;
  width: 150px;
	font-size: 14px;
}

.thanksMessage { text-align :center; }
.thanksMessage p { margin:0 auto 40px auto;}

@media screen and (max-width:768px) {
  .thanksMessage p { text-align: left;}
  .thanksMessage p br { display: none;}
}