@charset "UTF-8";
@font-face {
  font-family: 'webfont';
  src: 
  url('/font/ZenKakuGothicNew-Black.ttf')  format('ttf'),
  url('/font/ZenKakuGothicNew-Light.ttf')  format('ttf'),
  url('/font/ZenKakuGothicNew-Medium.ttf')  format('ttf'),
  url('/font/ZenKakuGothicNew-Regular.ttf')  format('ttf'),
  url('/font/ZenKakuGothicNew-Bold.ttf')  format('ttf');
}

h1,h2,h3,h4,p,label {
  font-family: 'webfont', sans-serif;
  font-weight: 400;
  font-style: normal;
}
.tab_content img {
    height: auto;
}

.tab_wrap,.tab_wrap2,.tab_wrap3 {
  width: 90%;
  margin: 0 auto;
}

.tab_wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 30px auto;
    border-radius: 0;
    padding: 2%;
}

.tab_content {
    text-align: center;
    width: 100%;
    height: 0;
    overflow: hidden;
    opacity: 0;
    border-radius: 0 0 20px 20px;
    background-color: #0062b0;
    margin: 0 5px;
}
.bk_bd {
  background-color: #fff;
  border-radius: 0 0 17px 17px;
  margin: 3px;
}


/* ===========
タブの中のテキスト
============== */
/* こども型タブ（ベース） */
.tab_wrap h2 {
  font-weight: 500;
  font-size: 2rem;
  margin: 0 auto 20px;
  padding-top: 20px;
  display: inline-block;
  border-bottom: 4px solid #ff8296;
}
.tab_wrap h2 span {
  font-weight: 600;
  color: #ff8296;
}
.tab_wrap .color_box {
  text-align: left;
  width: 90%;
  max-width: 700px;
  background-color: #fce8f0;
  border-radius: 10px;
  padding: 2%;
  margin: 20px auto 10px;
}
.tab_wrap .color_box span {
  color: #ff97a7;
}
.tab_wrap .color_box p {
  max-width: 500px;
  margin: 0 auto;
}
.bk_bd .tb1 {
    margin-top: 12px;
}

/* 総合保障型・入院保障型タブ */
.tab_content.t2 h2 {
  border-bottom: 4px solid #4eaeb3;
}
.tab_content.t2 span {
  color: #4eaeb3;
}
.tab_content.t2 .color_box {
  background-color: #c3e3e5;
}
.tab_content.t2 .color_box span {
  color: #4eaeb3;
}
.tab_content.t2 .hasen {
  margin: auto;
  box-sizing: border-box;
  width: 90%;
  height: 20px;
  background : #ffffff;
  border-bottom : 4px dotted #4eaeb3;
  border-radius : 1px;
  box-shadow    : 0 0 0 12px #ffffff;
  margin-bottom: 20px;
}
.tab_content.t2 h3 {
  font-size: 2rem;
  color: #4eaeb3;
}

/* 熟年型・熟年入院型タブ */
.tab_content.t3 h2 {
  border-bottom: 4px solid #b164a3;
}
.tab_content.t3 span {
  color: #b164a3;
}
.tab_content.t3 .color_box {
  background-color: #eddae9;
}
.tab_content.t3 .color_box span {
  color: #b164a3;
}
.tab_content.t3 .hasen {
  margin: auto;
  box-sizing: border-box;
  width: 90%;
  height: 20px;
  background : #ffffff;
  border-bottom : 4px dotted #b164a3;
  margin-bottom: 20px;
}
.tab_content.t3 h3 {
  font-size: 2rem;
  color: #b164a3;
  margin: 2% auto;
}




/* タブの中のflex */
.tab_content .tab_flex {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.tab_flex img {
  max-width: 350px;
  margin: 20px;
}
/* タブの中の詳しくはこちらボタン */
.btn_kuwashiku img {
  width: 90%;
  max-width: 550px;
  margin: 2% auto 5%;
}





/*＝＝＝＝＝タブ2つめ＝＝＝＝＝＝*/
.tab_wrap2 {
  max-width: 850px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 30px auto;
  border-radius: 0;
  padding: 2%;
}
.tab_wrap2 .tab_label.t1 {
  color: #4eaeb3;
  padding: 20px 0.5em;
}
.tab_wrap2 .tab_label.t2 {
  color: #b164a3;
}
.tab_wrap2 img {
  max-width: 300px;
}

/* タブの中のアコーディオン */
.tab_wrap2 h3 img {
  max-width: 500px;
}
.tab_wrap2 .box {
  background-color: #fff;
}
.tab_wrap2 .accordion-area section {
  border-bottom: none;
}






/*＝＝＝＝＝タブ3つめ＝＝＝＝＝＝*/
.tab_wrap3 {
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 auto 30px;
  border-radius: 0;
  padding: 5% 2%;
}
.tab_wrap3 img {
  max-width: 600px;
}

.tab_wrap3 .tab_label.t1 {
  color: #0062b0;
  padding: 20px 0.5em;
}
.tab_wrap3 .tab_label.t2 {
  color: #0062b0;
  padding: 35px 0.5em 20px;
}
.tab_wrap3 .tab_label.t3 {
  color: #0062b0;
  padding: 35px 0.5em 20px;
}




/* タブの中のアコーディオン */
.tab_wrap3 h3 img {
  max-width: 500px;
}
.tab_wrap3 .box {
  background-color: #fff;
}
.tab_wrap3 .accordion-area section {
  border-bottom: none;
}



/* 共通 月掛金表記 */
.ex .txt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2%;
  align-items: last baseline;
}
.ex .txt h3 {
  font-size: 2rem;
  margin: 0 10px;
  color: #3c3c3c;
  font-weight: 500;
}
.ex .txt .marker {
  font-size: 2.2rem;
  color: #0062b0;
  background: linear-gradient(transparent 70%, #fff9b3 70%);
}
.ex .txt .marker span {
  color: #0062b0;
  font-size: 2.6rem;
  font-weight: 600;
}
.bk_bd .smallkome {
  text-align: left;
  max-width: 80%;
  font-size: .8rem;
  margin: 10px auto 0;
}



/* 共通 アクティブなタブ */
.tab_switch:checked+.tab_label {
  background: #0062b0;
    color: #fff;
}
.tab_switch:checked+.tab_label+.tab_content {
  height: auto;
  overflow: auto;
  opacity: 1;
}





/* ラジオボタン非表示 */
.tab_switch {
  display: none;
}


@media screen and (max-width:900px) {
  .tab_wrap3 img {
    max-width: 90%;
  }
}

@media screen and (max-width:560px){
	.tab_flex img {
    max-width: 310px;
    margin: 20px 0;
  }
  .tab_label {
    font-size: 1.0rem;
    letter-spacing: normal;
    line-height: 1.3;
  }
    .tab_wrap h2 {
        margin-bottom: 10px;
    }

  .tab_wrap2 .tab_flex img {
    max-width: 260px;
  }
    .tab_label.t1 {
        padding-top: 32px;
    }
  .tab_wrap3 .tab_label.t1 {
    font-size: .9rem;
  }
  .tab_wrap3 .tab_label.t2,.tab_wrap3 .tab_label.t3 {
    padding-top: 30px;
  }
  .bk_bd h2 {
    font-size: 1.5rem;
  }
  .bk_bd p {
    margin: 10px;
  }
  .bk_bd .txt h3,.bk_bd .txt .marker {
    font-size: 1.4rem;
  }
  .bk_bd .txt .marker span {
    font-size: 1.6rem;
  }
  .lineup .tab_content h3 {
    font-size: 1.7rem;
  }
}

@media screen and (max-width:450px) {
  .tab_wrap3 .tab_label {
    font-size: .9rem;
  }
  .tab_wrap .tab_flex img {
    max-width: 260px;
  }
  .tab_wrap .color_box {
    width: 80%;
    padding: 10px 15px;
  }
  .tab_wrap .color_box p {
    font-size: .8rem;
  }
}