
.tab1 {
  margin-top: 60px;
}
.tab_contect_inner {
  width: 100%;
  max-width: 920px;
  padding: 50px 30px;
  margin: auto;
  background: #fee1e1;
}
.tab1_title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tab1_title h3 {
  margin-right: 40px;
  font-size: 20px;
  left: 0.12em;
  color: #666;
  letter-spacing: 1.8px;
}

.tab1_title p {
  margin-left: 20px;
  font-size: 32px;
  left: 0.12em;
}

.tab1_main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
}

.tab1_main_box {
  margin-top: 30px;
  width: 80%;
  padding: 40px;
  background: #fff;
  margin: 0 auto;
}
.tab1_main_box p:nth-of-type(1) {
  font-size: 18px;
  color: #666;
  text-align: center;
}
.tab1_main_box p:nth-of-type(2) {
  font-size: 16px;
  line-height: 27px;
  color: #666;
  text-align: justify;
}
.tab1_main_box hr {
  margin: 25px 0 25px 0;
  border: 0;
  border-top: 2px solid #fee1e1;
}

.tab_photo {
  width: 18%;
}

.tab_photo img {
  width: 100%;
}

/* tab default parts */
.tab-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.tab-label {
    color: #fff;
    background: #c52424;
    margin-right: 5px;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 15px 15px 0 0;
    cursor: pointer;
    order: -1;
}
.tab-content {
    width: 100%;
    height: 0;
    overflow: hidden;
    opacity: 0;
}
/* アクティブなタブ */
.tab-switch:checked+.tab-label {
    background: #8c0202;
}
.tab-switch:checked+.tab-label+.tab-content {
     height: auto;
     opacity: 1;
     transition: .5s opacity;
}
/* ラジオボタン非表示 */
.tab-switch {
    display: none;
}

@media screen and (max-width:750px) {


  .tab_contect_inner {
    width: calc(100% - 20px);
    padding: 20px 10px;
  }
  .tab1_title {
    flex-direction: column;
  }

  .tab1_title h3 {
    margin: 0 0 20px 0 ;
    font-size: 20px;
    left: 0;
    text-align: center;

  }
  .tab1_title p {
    margin: 10px 0 0;
    font-size: 20px;
  }
  .tab1_main {
    margin-top: 0;
  }
  .tab1_main_box {
    margin-top: 20px;
    width: 100%;
    padding: 20px;
    background: #fff;
  }

  .tab-label {
    margin-right: 5px;
    padding: 8px 15px;
    font-size: 14px;
  }

  .tab1 {
    margin-top: 30px;
  }

  .tab_photo {
    width: 46%;
  }

  .tab_photo img {
    width: 100%;
  }
}

@media screen and (max-width:470px) {

  .tab1 {
    margin-top: 30px;
  }

}
