#contactform * {
  box-sizing: border-box;
}

#contactform {
  max-width: 950px;
  margin: 0 auto;
}

#contactform table {
  width: 100%;
  background: #f7f0e8;
  margin-bottom: 30px;
  table-layout: fixed;
  border-collapse: collapse;
}

#contactform h1 {
  color: #666;
  font-size: 30px;
  font-weight: bold;
  padding-top: 26px;
  border-bottom: solid 1px #888;
  margin-bottom: 38px;
  line-height: 1.5;
}

#contactform .intro_txt {
  color: #333;
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.5;
}
#contactform h3{
color: #333;
font-size: 18px;
margin-bottom: 10px;
}
#contactform h3 a{color: #0099aa;}
#contactform form{margin-bottom: 22px;}
#contactform table{
width: 100%;
background: #f7f0e8;
margin-bottom: 30px;
}
#contactform table tr{
border-bottom: solid 1px #dadada;
}
#contactform table tr:last-of-type{border-bottom: none;}
#contactform table th,
#contactform table td{padding: 20px 0 20px 20px;}
#contactform table th{
width: 170px;
font-size: 13px;
text-align: left;
font-weight: bold;
vertical-align: top;
}
#contactform table th .required{
padding-left: .25em;
color: #fe0000;
font-size: 11px;
font-weight: bold;
}
#contactform table td{font-size: 14px;}
#contactform table td input,
#contactform table td select,
#contactform table td textarea{border: solid 2px #b6b3b0;}
#contactform table td input,
#contactform table td textarea{
width: 374px;
font-size: 14px;
padding: 10px 0 10px 8px;
}
#contactform table td input[name="zip"]{width: 101px;}
#contactform table td select{
box-sizing: content-box;
width: 126px;
font-size: 14px;
padding: 7px 34px 7px 8px;
background: #fff url(https://kkbgreen.itembox.design/item/form2/img/select_arrow.png) no-repeat right 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
/* IE10 以降 s */
#contactform table td select::-ms-expand{display: none;}
/* IE10 以降 e */
#contactform table .email td input{margin-bottom: 10px;}
#contactform table .email td input:last-of-type{
margin-bottom: 2px;
}
#contactform table .email td span{
color: #888;
font-size: 12px;
}
#contactform table .content td textarea{
height: 150px;
}
#contactform #submit{
width: 266px;
height: 56px;
margin: 0 auto;
}
#contactform #submit input{
width: 266px;
height: 56px;
background: url(https://kkbgreen.itembox.design/item/form2/img/submit_btn.png) no-repeat 0 0;
border: none;
}
#contactform #submit input:hover{
cursor: pointer;
opacity: 0.8;
}
#contactform .toindex{text-align: center;}
#contactform .toindex a{
color: #0099aa;
font-size: 15px;
}
#thanks #contactform p{
font-size: 14px;
text-align: left;
line-height: 1.5;
padding: 0 26px;
margin-bottom: 60px;
}

#contactform table .hp td input{
    width: 50px;
}
#contactform table .hp td span{
    font-size: 14px;
    font-weight: bold;
}
@media screen and (max-width:768px) {
#contactform table th, #contactform table td {
  padding: 10px;
}
#contactform table th {
  width: 30%;
}
#contactform table td {
  width: 70%;
} 
#contactform table td input, #contactform table td textarea {
  width: 100%;
}
}
