@charset "utf-8";

/* ------------------------------
  あなたにぴったりの健診はどれ？
------------------------------ */

#type_index #type_lead {
  box-sizing: border-box;
  position: relative;
  line-height: 1.6;
  min-height: 135px;
  padding: 87px 0 0 80px;
  margin-bottom: 35px;
}

#type_index #type_lead::before {
  display: block;
  content: '';
  position: absolute;
  width: 58px;
  height: 77px;
  left: 0;
  bottom: 0;
  background: url(../img/type_lead_figure.png) no-repeat center center;
  background-size: contain;
}

#type_index #type_lead h3 {
  position: absolute;
  width: 149px;
  height: 82px;
  top: 0;
  left: 46px;
}

#type_index .type_ages {
  margin-bottom: 12px;
}

#type_index .type_heading {
  position: relative;
  display: block;
  text-align: center;
  font-size: 1.178rem;
  height: 40px;
  width: 190px;
  line-height: 40px;
  margin: 0 auto 15px;
  background: #ffd0d2;
  border-radius: 20px;
}

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

#type_index .type_heading strong {
  font-size: 1.27em;
}

#type_index #type_11_14 .type_heading {
  width: 260px;
}

#type_index .type_btns .button_wrap {
  margin-bottom: 8px;
  width: 100%;
}

#type_index .type_btns .button_wrap .button {
  height: 100px;
  overflow: hidden;
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
}

#type_index .type_btns .button_wrap .button::before {
  content: '';
  display: block;
  flex-shrink: 0;
  margin: 0 5px;
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

#type_index .type_btns .button_wrap#type_citizen11_14 .button::before {
  background-image: url(../img/type_thumb_citizen11_14_sp.png)
}

#type_index .type_btns .button_wrap#type_citizen16_39 .button::before {
  background-image: url(../img/type_thumb_citizen16_39_sp.png)
}

#type_index .type_btns .button_wrap#type_citizen40_74 .button::before {
  background-image: url(../img/type_thumb_citizen40_74_sp.png)
}

#type_index .type_btns .button_wrap#type_kenpo40_74 .button::before {
  background-image: url(../img/type_thumb_kenpo40_74_sp.png)
}

#type_index .type_btns .button_wrap#type_other40_74 .button::before {
  background-image: url(../img/type_thumb_other40_74_sp.png)
}

#type_index .type_btns .button_wrap#type_senior75 .button::before {
  background-image: url(../img/type_thumb_senior75_sp.png)
}

#type_index .type_btns .button_wrap#type_protection .button::before {
  background-image: url(../img/type_thumb_protection_sp.png);
}

#type_index .type_btns .button_wrap .button .type_icon_reserve {
  box-sizing: border-box;
  position: absolute;
  right: 0;
  top: 0;
  color: #fff585;
  font-size: 1.071rem;
  font-weight: bold;
  text-align: center;
  line-height: 27px;
  white-space: nowrap;
  height: 27px;
  padding: 0 10px;
  background: url(/assets/img/contents/bg_stripe_blu.png) repeat center top;
  background-size: 17px auto;
  border-radius: 0 0 0 7px;
}

#type_index .type_btns .button_wrap .button .type_button_content {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#type_index .type_btns .button_wrap .button .type_button_content .type_name {
  font-size: 1.285rem;
  font-weight: bold;
  line-height: 1.4;
  width: 100%;
}

#type_index .type_btns .button_wrap .button .type_button_content .type_name small {
  display: block;
  font-size: 0.78em;
}

#type_index .type_btns .button_wrap .button .type_button_content .type_tags {
  margin-top: 0.5em;
  letter-spacing: -.4em;
}

#type_index .type_btns .button_wrap .button .type_button_content .type_tags li {
  display: inline-block;
  letter-spacing: normal;
}

#type_index .type_btns .button_wrap .button .type_button_content .type_tags li:not(:last-child) {
  margin-right: 4px;
}

@media (max-width: 640px) {
  #type_index #type_lead {
    font-size: 1.071rem;
    padding-right: 20px;
  }
}

@media (min-width: 641px) {
  #type_index {
    display: flex;
    flex-wrap: wrap;
  }

  #type_index #type_lead {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 290px;
    height: 283px;
    margin: -13px 69px 0 47px;
    padding: 130px 15px 50px 85px;
    background: url(../img/type_lead_bg.png) no-repeat center center;
  }

  #type_index #type_lead::before {
    width: 97px;
    height: 129px;
    left: -25px;
    bottom: 17px;
  }

  #type_index #type_lead h3 {
    position: absolute;
    width: 248px;
    height: 136px;
    top: 0;
    left: 20px;
  }

  #type_index .type_ages {
    margin-bottom: 40px;
  }

  #type_index #type_11_14 {
    margin-right: 21px;
  }

  #type_index #type_75 {
    margin-right: 22px;
  }

  #type_index .type_heading {
    width: 270px;
    height: 48px;
    font-size: 1rem;
    line-height: 48px;
    margin: 0 auto 24px;
    border-radius: 24px;
  }

  #type_index .type_heading strong {
    font-size: 1.5em;
  }

  #type_index #type_11_14 .type_heading {
    width: 290px;
  }

  #type_index #type_40_74 .type_heading {
    width: 1080px;
  }

  #type_index #type_11_14 .type_heading,
  #type_index #type_protection .type_heading {
    font-size: 1.25rem;
  }

  #type_index .type_btns .button_wrap {
    margin-bottom: 5px;
    width: 384px;
  }

  #type_index .type_btns .button_wrap:not(:first-child) {
    margin-left: 16px;
  }

  #type_index .type_btns .button_wrap .button {
    height: 170px;
  }

  #type_index .type_btns .button_wrap .button::before {
    content: '';
    display: block;
    margin: 0 5px 0 0;
    width: 140px;
    height: 170px;
  }

  #type_index .type_btns .button_wrap#type_citizen11_14 .button::before {
    background-image: url(../img/type_thumb_citizen11_14.png)
  }

  #type_index .type_btns .button_wrap#type_citizen16_39 .button::before {
    background-image: url(../img/type_thumb_citizen16_39.png)
  }

  #type_index .type_btns .button_wrap#type_citizen40_74 .button::before {
    background-image: url(../img/type_thumb_citizen40_74.png)
  }

  #type_index .type_btns .button_wrap#type_kenpo40_74 .button::before {
    background-image: url(../img/type_thumb_kenpo40_74.png)
  }

  #type_index .type_btns .button_wrap#type_other40_74 .button::before {
    background-image: url(../img/type_thumb_other40_74.png)
  }

  #type_index .type_btns .button_wrap#type_senior75 .button::before {
    background-image: url(../img/type_thumb_senior75.png)
  }

  #type_index .type_btns .button_wrap#type_protection .button::before {
    background-image: url(../img/type_thumb_protection.png);
  }

  #type_index .type_btns .button_wrap .button .type_icon_reserve {
    right: -30px;
    top: 15px;
    font-size: 14px;
    line-height: 30px;
    height: 30px;
    width: 120px;
    padding: 0;
    background-size: inherit;
    border-radius: 0;
    transform: rotate(45deg);
  }

  #type_index .type_btns .button_wrap .button .type_button_content .type_name {
    font-size: 1.4rem;
  }

  #type_index .type_btns .button_wrap .button .type_button_content .type_tags li img {
    height: 30px;
    width: auto;
  }
}



/* ------------------------------
  健診の流れ・意義
------------------------------ */
.sougou_btn {
  text-align: center;
  margin: 0 20px;
}

.sougou_btn .button_wrap .button {
  font-weight: bold;
  flex-direction: column;
  padding-left: 78px;
  padding-right: 65px;
  height: 135px;
  text-align: center;
}

.sougou_btn .button_wrap .button h4 {
  position: relative;
  font-size: 1.428rem;
}

.sougou_btn .button_wrap .button h4::before {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  margin-right: -108px;
  width: 163px;
  height: 79px;
  background: url(../img/sougou_btn_balloon.png) no-repeat center center;
  background-size: contain;
}

.sougou_btn .button_wrap .button small {
  display: block;
  font-size: 1.071rem;
}

.sougou_btn .button_wrap .button::before {
  content: '';
  display: block;
  position: absolute;
  width: 60px;
  height: 120px;
  bottom: 0;
  left: 9px;
  background: url(../img/sougou_btn_thumb_sp.png) no-repeat center bottom;
  background-size: contain;
}

@media (max-width: 640px) {
  .sougou_btn .button_wrap {
    width: 100%;
  }

  .sougou_btn .button_wrap .button h4::before {
    top: 0;
    right: 10px;
    margin-top: -68px;
  }
}

@media (min-width: 641px) {
  .sougou_btn .button_wrap .button {
    padding-left: 220px;
    padding-right: 220px;
    height: 140px;
    line-height: 1.5;
  }

  .sougou_btn .button_wrap .button h4 {
    font-size: 1.562rem;
  }

  .sougou_btn .button_wrap .button h4::before {
    bottom: -0.5em;
    margin-right: -230px;
    width: 217px;
    height: 108px;
  }

  .sougou_btn .button_wrap .button small {
    font-size: 1.1875rem;
  }

  .sougou_btn .button_wrap .button::before {
    width: 180px;
    height: 180px;
    left: 27px;
    background: url(../img/sougou_btn_thumb.png) no-repeat center bottom;
    background-size: contain;
  }
}

.checkup_flow_index ul {
  margin: 0 20px;
}

.checkup_flow_index ul li.button_wrap {
  width: 100%;
}

.checkup_flow_index ul li.button_wrap .button {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.checkup_flow_index ul li.button_wrap .button h4 {
  font-size: 1.142rem;
  width: 100%;
}

.checkup_flow_index ul li.button_wrap .button p {
  width: 100%;
}

@media (max-width: 640px) {
  .checkup_flow_index ul li.button_wrap:not(:last-child) {
    margin-bottom: 12px;
  }
}

@media (min-width: 641px) {
  .checkup_flow_index ul {
    margin: 0 -10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .checkup_flow_index ul li.button_wrap {
    margin: 0 10px;
    width: 385px;
  }

  .checkup_flow_index ul li.button_wrap:nth-child(n+4) {
    margin-top: 20px;
  }

  .checkup_flow_index ul li.button_wrap .button {
    height: 100%;
    line-height: 1.6;
  }

  .checkup_flow_index ul li.button_wrap .button h4 {
    font-size: 1.25rem;
  }
}