@charset "utf-8";

#comprehensive_list .checkup_list {
  display: flex;
  flex-wrap: wrap;
}

#comprehensive_list .checkup_list li {
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  line-height: 1.5;
  padding: 5px 5px 5px 70px;
  width: calc(50% - 7px);
  background: white;
  border-radius: 7px;
}

#comprehensive_list .checkup_list li::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  height: 60px;
  width: 60px;
  background-color: #a4deed;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 3px;
}

#comprehensive_list .checkup_list li.type_gastric::before {
  background-image: url(/assets/img/contents/thumb_gastric.png);
}

#comprehensive_list .checkup_list li.type_colorectal::before {
  background-image: url(/assets/img/contents/thumb_colorectal.png);
}

#comprehensive_list .checkup_list li.type_uterine::before {
  background-image: url(/assets/img/contents/thumb_uterine.png);
}

#comprehensive_list .checkup_list li.type_breast::before {
  background-image: url(/assets/img/contents/thumb_breast.png);
}

#comprehensive_list .checkup_list li.type_hepatitis::before {
  background-image: url(/assets/img/contents/thumb_hepatitis.png);
}

#comprehensive_list .checkup_list li.type_abdomen_echo::before {
  background-image: url(/assets/img/contents/thumb_abdomen_echo.png);
}

#comprehensive_list .checkup_list li.type_breast_echo::before {
  background-image: url(/assets/img/contents/thumb_breast_echo.png);
}

#comprehensive_list .checkup_list li.type_prostate::before {
  background-image: url(/assets/img/contents/thumb_prostate.png);
}

#comprehensive_list .checkup_recommend {
  position: relative;
  box-sizing: border-box;
  border-radius: 7px;
  padding: 20px 20px 35px;
  background: url(/assets/img/contents/bg_stripe_yel.png) repeat center top;
}

#comprehensive_list .checkup_recommend::after {
  content: '';
  display: block;
  width: 77px;
  height: 60px;
  background: url(../img/comprehensive_list_chara.png) no-repeat center top;
}


@media (max-width: 640px) {
  #comprehensive_list .checkup_list {
    margin-bottom: 15px;
  }

  #comprehensive_list .checkup_list li {
    font-size: 0.857rem;
    height: 70px;
  }

  #comprehensive_list .checkup_list li:nth-child(odd) {
    margin-right: 14px;
  }

  #comprehensive_list .checkup_list li:nth-child(n+3) {
    margin-top: 15px;
  }

  #comprehensive_list .checkup_recommend {
    background-size: 17px 17px;
  }

  #comprehensive_list .checkup_recommend::after {
    position: absolute;
    right: 20px;
    bottom: -20px;
    background-size: 77px auto;
  }
}

@media (min-width: 641px) {
  #comprehensive_list {
    display: flex;
    justify-content: space-between;
  }

  #comprehensive_list .checkup_list {
    display: flex;
    width: 740px;
    flex-wrap: wrap;
  }

  #comprehensive_list .checkup_list li {
    padding: 165px 10px 10px 10px;
    width: 170px;
    border-radius: 14px;
  }

  #comprehensive_list .checkup_list li::before {
    top: 10px;
    left: 10px;
    height: 150px;
    width: 150px;
    border-radius: 6px;
  }

  #comprehensive_list .checkup_list li:not(:nth-child(4n)) {
    margin-right: 20px;
  }

  #comprehensive_list .checkup_list li:nth-child(n+5) {
    margin-top: 15px;
  }

  #comprehensive_list .checkup_recommend {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 300px;
    padding: 20px 40px;
    border-radius: 14px;
  }

  #comprehensive_list .checkup_recommend::after {
    width: 110px;
    height: 114px;
    margin-top: 1em;
    margin-left: auto;
    margin-right: 10px;
  }
}

.heading_place {
  margin: 0 auto 20px;
  position: relative;
  color: white;
  text-align: center;
  font-weight: bold;
  padding: 0.5em;
  height: 2em;
  letter-spacing: .1em;
  line-height: 2em;
  font-size: 125%;
  background: #E7517E;
  border-radius: 1.5em;
}

.heading_place::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -10px;
  width: 0;
  height: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  border-style: solid;
  border-color: transparent;
  border-width: 10px 10px 0 10px;
  border-top-color: #E7517E;
}

table.table_data th .target_ages {
  padding: 0 1em;
  display: inline-block;
  color: #333;
  font-size: 0.857rem;
  line-height: 1.4em;
  background: #FFF100;
  border-radius: 0.7em;
}

table.table_data tr.cell-place th {
  background: transparent;
  border: none!important;
  padding: 0 1em;
}

table.table_data tr.cell-place th strong {
  display: block;
  padding: 0.5em;
  font-size: 125%;
  border: none;
  color: white;
  background: #ef648e;
  border-radius: 14px 14px 0 0;
}

@media (max-width: 640px) {
}

@media (min-width: 641px) {
  .heading_place {
    width: 20em;
  }

  .heading_place::after {
    bottom: -15px;
    border-width: 15px 15px 0 15px;
  }
}
