.tab {
  width: 100%;
  margin: 0 auto 60px auto;
}
.tab_btn{
  display:flex;
  justify-content: space-between;
}
/*タブのスタイル*/
.tab_menu1,.tab_menu2,.tab_menu3,.tab_menu4 {
  width: 24.6%;
  height: 60px;
  line-height: 60px;
  font-size: 16px;
  text-align: center;
  background:#fff;
  border-radius:5px;
  display: block;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  margin:0 0 20px 0;
  border:1px solid #cdcdcd;
}
.tab_menu1{
  float:left;
}
.tab_menu2{
  float:left;
  margin: 0 0 0 0.5%;
}
.tab_menu3{
  float:left;
  margin: 0 0 0 0.5%;
}
.tab_menu4{
  float:right;
}
.tab_menu1:hover,.tab_menu2:hover,.tab_menu3:hover,.tab_menu4:hover {
  opacity: 0.75;
}
/*ラジオボタンを全て消す*/
input[name="tab_menu"] {
  display: none;
}
/*選択されているタブのスタイル*/
.tab input:checked + .tab_menu1 {
  background-color: #000;
  color: #fff;
}
.tab input:checked + .tab_menu2 {
  background-color: #000;
  color: #fff;
}
.tab input:checked + .tab_menu3 {
  background-color: #000;
  color: #fff;
}
.tab input:checked + .tab_menu4 {
  background-color: #000;
  color: #fff;
}
/*タブ切り替えの中身のスタイル*/
.tab_contents {
  display: none;
  clear: both;
  overflow: hidden;
  transition: .5s opacity;
}
/*選択されているタブを表示*/
#menu01:checked ~ #menu01,
#menu02:checked ~ #menu02,
#menu03:checked ~ #menu03,
#menu04:checked ~ #menu04 {
  display: block;
}


.tab_contents{
  border:1px solid #ddd;
  padding:40px;
  background:#fff;
  border-radius:5px;
}

.tab_contents h3{
  font-size:20px;
  padding:40px 0 5px 0;
}
#menu01 h3{
  color:#ba000b;
}
#menu02 h3{
  color:#02b190;
}
#menu03 h3{
  color:#ba000b;
}
#menu04 h3{
  color:#1b437e;
}

.tab_contents ul{
  margin:0 0 0 0;
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.tab_contents ul li{
  width:100%;
  display:flex;
  align-items:center;
  align-items: center;
  margin:2px 0 2px 0;
  padding:0 0 0 20px;
  background:#f4f4f4;
}

@media (max-width: 768px) {
  .tab_contents h3{
    text-align:center;
    padding:50px 0 15px 0;
  }
  #menu01 p{
    color:#ba000b;
    text-align:center;
  }
  #menu02 p{
    color:#02b190;
    text-align:center;
  }
  #menu03 p{
    color:#1b437e;
    text-align:center;
  }
  .tab_contents{
    border:none;
    padding:40px 0 0 0;
    background:none;
    border-radius:5px;
  }
  .tab_contents ul li{
    width:100%;
    display:flex;
    align-items:center;
    align-items: center;
    margin:2px 0 2px 0;
    padding:0 20px 0 20px;
    background:#f4f4f4;
  }
}
.tab_contents ul li label{
  width: 100%;
  font-size:18px;
  padding: 15px 0 15px 10px;
  margin:0 0 0 0;
  line-height:1.2em;
  font-weight:600;
}
.tab_contents ul li span{
  display:block;
  font-size:15px;
  font-weight:400;
}
#menu01 > span{
  background:#f4f4f4;
  padding:20px;
  font-size:14px;
  display:block;
  margin:5px 0 15px 0;
  color:#000;
}
#menu01 > span a{
  color:#ba000b;
  padding: 0 0 5px 0;
  border-bottom:1px dotted #ba000b;
  margin: 0 5px 0 5px;
}
#menu01 > span a:hover{
  color:#999;
  border-bottom:1px dotted #f4f4f4;
}

#menu02 > span{
  background:#f4f4f4;
  padding:20px;
  font-size:14px;
  display:block;
  margin:5px 0 15px 0;
  color:#000;
}
#menu02 > span a{
  color:#02b190;
  padding: 0 0 5px 0;
  border-bottom:1px dotted #02b190;
  margin: 0 5px 0 5px;
}
#menu02 > span a:hover{
  color:#999;
  border-bottom:1px dotted #f4f4f4;
}

@media (max-width: 768px) {
  .tab_contents ul li label{
    font-size:20px;
    padding: 0 0 1px 10px;
    margin:10px 0 10px 0;
  }
}








#contact-form > p{
  width:94vw;
  max-width:1080px;
  margin:0 auto;
  font-size:18px;
}
#contact-form > p a{
  color:#000;
  font-weight:600;
  border-bottom:1px dotted;
  padding: 0 0 5pxc 0;
}
#contact-form > p a:hover{
  color:#999;
  font-weight:600;
  border-bottom:1px dotted #fff;
  padding: 0 0 5pxc 0;
}
#contact-form > div{
  width:94vw;
  max-width:1080px;
  margin:0 auto;
  padding:40px 0 0 0;
}

#contact-form > div p{
  font-size:21px;
  font-weight: 600;
}

#contact-form > div p span{
  font-size:15px;
  font-weight:400;
  padding: 0 0 0 5px;
  vertical-align:1px;
}
.form-category{
  padding:20px 0 0 0;
}
.form-category > div{
  display:flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background:#fff;
  padding:20px;
  border-top:1px solid #f0f0f0;
  border-bottom: 1px solid #eee;
}
.form-category > div > div:nth-child(1){
  width:15%;
}
.form-category > div > div:nth-child(1) img{
  width:80%;
  margin:0 auto;
}
.form-category > div > div:nth-child(2){
  width:80%;
}
.form-category > div > div:nth-child(2) ul li{
  display:flex;
  align-items:center;
}
.form-category > div > div:nth-child(2) ul li label{
  font-size:16px;
  padding: 0 0 0 10px;
}
@media (max-width: 768px) {
  .form-category > div > div:nth-child(1){
    width:100%;
  }
  .form-category > div > div:nth-child(1) img{
    width:20%;
    margin:0 auto;
  }
  .form-category > div > div:nth-child(2){
    width:100%;
  }
  .form-category > div > div:nth-child(2) ul li label{
    font-size:20px;
    padding: 0 0 1px 10px;
    margin:10px 0 10px 0;
  }
}
.form-checkbox{
  padding:40px 0 0 0;
}
.form-checkbox ul{
  background:#fff;
  border-top:1px solid #f0f0f0;
  border-bottom: 1px solid #eee;
  padding:20px;
  margin:20px 0 0 0;
}
.form-checkbox ul li{
  display:flex;
  align-items:center;
}
.form-checkbox ul li input{
  magin:-2px 0 0 0;
}
.form-checkbox ul li label{
  font-size:16px;
  padding: 0 0 0 10px;
  margin:2px 0 0 0;
}
@media (max-width: 768px) {
  .form-checkbox ul li label{
    font-size:20px;
    padding: 0 0 1px 10px;
    margin:10px 0 10px 0;
  }
}
.form-textarea{
  padding:40px 0 0 0;
}

.form-textarea > div:nth-child(2){
  background:#fff;
  border-top:1px solid #f0f0f0;
  border-bottom: 1px solid #eee;
  padding:20px;
  margin:20px 0 0 0;
}
.form-textarea > div:nth-child(2) textarea{
  width:100%;
  height:180px;
  border:1px solid #ddd;
  padding:10px;
}
.form-customer{
  padding:40px 0 0 0;
}
.form-customer table{
  width:100%;
  margin:20px 0 0 0;
}
.form-customer table th{
  width:30%;
  background:#f0f0f0;
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
  padding:20px;
  font-size:15px;
  text-align:left;
}
.form-customer table th span{
  position:relative;
  display:inline-block;
  padding:0 50px 0 0;
}
.form-customer table th span:before{
  content:"必須";
  font-size:12px;
  line-height:1.5em;
  background:#ff0000;
  border-radius:3px;
  padding:0 10px 0 10px;
  color:#fff;
  position:absolute;
  right:0;
  top:50%;
  margin:-8px 0 0 0;
}


.form-customer table td{
  background:#fff;
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
  padding:20px;
}
.form-customer table td input{
  width:100%;
  padding:10px;
  border:1px solid #ddd;
  border-radius:3px;
  box-shadow: none;
}
.form-customer table td span{
  font-size:13px;
  padding: 0 0 0 10px;
}
.form-customer table td input.form-s{
  width:100px;
}
.form-customer table td input.form-m{
  width:200px;
}
.form-customer table td span br{
    display:none;
  }
.form-customer table td ul li input{
  width:20px;
}
@media (max-width: 768px) {
  .form-customer table th{
    width:100%;
    background:#f0f0f0;
    border-top:none;
    border-bottom:none;
    padding:20px;
    font-size:15px;
    text-align:center;
    display:block;
  }
  .form-customer table td{
    display:block;
  }
  .form-customer table td input.form-s{
    width:100%;
  }
  .form-customer table td input.form-m{
    width:100%;
  }
  .form-customer table td span{
    font-size:12px;
    padding: 10px 0 0 0;
    text-align:center;
    display:block;
    line-height:1em;
  }
  .form-customer table td span br{
    display:block;
  }
}

.g-recaptcha-wrap{
  display:flex;
  justify-content: center;
  padding:40px 0 20px 0;
}
.checkbox-container-wrap{
  display:flex;
  justify-content: center;
}

.checkbox-container {
    margin: 15px 0;
}
.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}
.checkbox-container label {
    font-size: 14px;
}
.submit-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}
.submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.submit-container{
  text-align:center;
  padding:20px 0 0 0;
}

.btn-submit{
  margin:0 auto;
  color:#fff;
  background:#191919;
  border:none;
  padding:20px 80px 20px 80px;
  font-size:18px;
  border-radius: 5px;
  transition: .3s;
  display:inline-block;
  filter: drop-shadow(0px 4px -1px rgba(140,140,140,0));
}
.btn-submit:hover{
  color:#fff;
  background:#b2b2b2;
  filter: drop-shadow(0px 4px 2px rgba(140,140,140,0.2));
}
p.error{
  font-size:12px!important;
  color:#ff0000;
  padding:5px 0 0 0;
}
.checkbox-container a{
  font-weight:600;
  border-bottom: 1px dotted;
  color:#000!important;
  padding: 0 0 5px 0;
}
.checkbox-container a:hover{
  border-bottom: 1px dotted #fff;
}
input::placeholder{
  color: #999;
}
