.inquiry{
  border: solid 1.5px #44D951!important;
  max-width:1200px;
  margin:0px auto;
}

.inquiry th{
  border:none!important; 
  text-align:left;
  padding:1rem 1rem 0.5rem;
}

.inquiry td{
  border:none!important;  
  padding:0.5rem 1rem;
} 

#th-first{
  padding-top:2rem;
}

#td-last{
  padding-bottom: 2rem;
}

/*必須の調整*/
.haveto{
 font-size:7px;
 padding:5px;
 background:#FF610D;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
}

/*任意の調整*/
.any{
 font-size:7px;
 padding:5px;
 background:#09A2FF;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
}

/*送信ボタンのデザイン変更*/
#formbtn{
 display: block;
 padding:1em 0;
 margin:30px auto;
 width:50%;
 background:#3b9910;
 color:#fff;
 font-size:18px;
 font-weight:bold;	 
 border-radius:2px;
 border: none;
}
/*送信ボタンマウスホバー時*/
#formbtn:hover{
 background:#fff;
 border:solid 3px #3b9910;
 color:#3b9910;
}

/*スマホContact Form 7カスタマイズ*/
@media(max-width:500px){
  .inquiry{
  max-width:350px;  
  margin:0px auto;
  }
.inquiry th,.inquiry td {
 display:block!important;
 width:100%!important;
 border-top:none!important;
 -webkit-box-sizing:border-box!important;
 -moz-box-sizing:border-box!important;
 box-sizing:border-box!important;
}

.inquiry tr:first-child th{
 border-top:1px solid #d7d7d7!important;
}

.td-right{
  padding-top:0!important;
}

/* 必須・任意のサイズ調整 */	
.inquiry .haveto,.inquiry .any {	
font-size:10px;
}
}