* {
    margin: 0;
    padding: 0;
    max-height: 999999px;
}
input[type="radio"]{
  appearance: none;
  -moz-appearance: none; 
  -webkit-appearance: none;
}
body{
    font-family: "Hiragino Kaku Gothic ProN",Arial,sans-serif;
    line-height: 1.4;
    text-align: left;
    color: #000;
    -webkit-text-size-adjust: 100%;
    background: #fff;
    font-size: 100%;
}
section{
    max-width: 940px;
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.75);
}
#logo h1 {
    height: 120px;
    text-align: center;
    cursor: pointer;
}    
#footer{
    overflow: hidden;
    padding: 12px 0 0 0;
    /*background-color: #129954;*/
}
#footer p {
    text-align: center;
    font-size: 14px;
    line-height: 30px;
    color: #000;
}
.form-col{
    margin-bottom: 40px;
}
.form-col h2{
      font-size: 20px;
      text-align: center;
  }
.form-col h2 img{
      width: 100%;
    max-width: 640px;
  }
      
.form-col p{
    padding-bottom: 30px;
    line-height: 1.8;
}
/* #contact-form{
    padding: 0;
    margin: 0;
} */

/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
  width: 100%;
  margin: 0 auto;
}

/*タブのスタイル*/
.tab_item {
  width: 29.788%;
  height: 60px;
  background-color: #fff;
  line-height: 60px;
  font-size: 18px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  border: 1px solid #9A9A9A;
  border-radius: 5px;
  margin-bottom: 20px;
  margin-right: 4.9%;
  cursor: pointer;
}
.tab_item:hover {
  opacity: 0.75;
}
label.tab_item:last-of-type{
    margin-right:0;
}
/*ラジオボタンを全て消す*/
input[name="contact"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 0 0 0;
  clear: both;
  overflow: hidden;
  /*border: 1px solid #9A9A9A;*/
}

.tab_content>iframe{
  height: 0;
}

/*選択されているタブのコンテンツのみを表示*/
#bangumi:checked ~ #bangumi-form,
#caster:checked ~ #caster-form,
#etc:checked ~ #etc-form {
  display: block;
}

#bangumi:checked ~ #bangumi-form>iframe,
#caster:checked ~ #caster-form>iframe,
#etc:checked ~ #etc-form>iframe {
  height: 1244px;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #009A4E;
  border: 1px solid #009A4E;
  color: #fff;
}

.btn_sub{
  margin: 0 auto;
  padding: 0px 45px;
  line-height: 58px;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  color: #fff;
  background-color: #009A4E;
  border: 1px solid #009A4E;
  border-radius: 5px;
  display: block;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  #logo h1 {
      margin-bottom: 60px;
  }
  .tab_item {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 10px;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){
  #bangumi:checked ~ #bangumi-form>iframe,
  #caster:checked ~ #caster-form>iframe,
  #etc:checked ~ #etc-form>iframe {
    height: 1300px;
  }
}