@charset "utf-8";
.sec_kifu .list_type{
  display: flex;
  flex-wrap: wrap;
  gap: 40px 5.5%;
  max-width: 1080px;
  margin: 50px auto 0;
}
.sec_kifu .list_type li{
  position: relative;
  display: flex;
  flex-direction: column;
}
.sec_kifu .list_type li>*{
  position: relative;
  z-index: 1;
}
.sec_kifu .list_type li::after,
.sec_kifu .list_type li::before{
  content: '';
  width: 100%;
  height: calc(100% - 7px);
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 160px 160px 24px 24px;
  background-color: var(--beige);
}
.sec_kifu .list_type li::after{
  display:none;
}
.sec_kifu .list_type li .ttl{
  margin-top: 10px;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
}
.sec_kifu .list_type li .txt{
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 1.8rem;
  line-height: 1.667;
}
.sec_kifu .list_type li .cmn_btn{
  margin-top: auto;
  font-size: 1.8rem;
}
.sec_kifu .list_type li .cmn_btn .link{
  width: 100%;
}
.sec_kifu .list_type li .cmn_btn .link+.link{
  margin-top: 16px;
}
@media screen and (max-width :834px) {
  .sec_kifu .list_type{
    gap: 20px 5.5%;
    margin: 15px auto 0;
  }
  .sec_kifu .list_type li{
    display: block;
  }
  .sec_kifu .list_type li::after,
  .sec_kifu .list_type li::before{
    height: calc(100% - 10px);
    border-radius: 165px 165px 12px 12px;
  }
  .sec_kifu .list_type li img{
    width: 94.6%;
    margin:  0 auto;
  }
  .sec_kifu .list_type li .ttl{
    margin-top: 7px;
  }
  .sec_kifu .list_type li .txt{
    margin-top: 7px;
    margin-bottom: 20px;
  }
  .sec_kifu .list_type li .cmn_btn{
    font-size: 1.4rem;
  }
  .sec_kifu .list_type li .cmn_btn .link+.link{
    margin-top: 20px;
  }    
}

/* large
--------------------------------------------*/
.sec_kifu.type_large .list_type li{
  width: calc(89% / 3);
  padding: 7px 30px 28px;
}
@media screen and (max-width :834px) {
  .sec_kifu.type_large .list_type li{
    width: calc(94.5% / 2);
    padding: 10px 30px 30px;
  }  
}
@media screen and (max-width :667px) {
  .sec_kifu.type_large .list_type{
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 15px auto 0;
  }  
  .sec_kifu.type_large .list_type li{
    width:100%;
  }  
}
/* small
--------------------------------------------*/
.sec_kifu.type_lower{
  position: relative;
  padding:70px 0 254px;
  background-color: var(--r_green);
  margin-top: 100px;
}
.sec_kifu.type_lower::before{
  content: '';
  position: absolute;
  top: -29px;
  left: 0;
  width: 100%;
  height: 30px;
  background: url(../img/bg_wave_blue.svg) repeat-x center bottom;
}
.sec_kifu.type_lower .sec_ttl>span::before{
  width: 61px;
  height: 43px;
  background: url(../../img/ico_kifu_ttl.svg)no-repeat left bottom;
  background-size: contain;
  transform: translate(-68.8%,23.2%);
}
.sec_kifu.type_lower .list_type{
  gap: 30px 2.8%;
  max-width: 1176px;
}
.sec_kifu.type_lower .list_type li{
  width: calc(88.8% / 5);
  padding: 7px 20px 36px;
}
.sec_kifu.type_lower .list_type li::after,
.sec_kifu.type_lower .list_type li::before{
  border-radius: 96px 96px 24px 24px;
  background-color: #fff;
  z-index: 1;
}
.sec_kifu.type_lower .list_type li::after{
  display: block;
  bottom: -4px;
  left: 4px;  
  background-color: var(--main-color);
  z-index: 0;
}
.sec_kifu.type_lower .list_type li a{
  color: var(--black);
}
.sec_kifu.type_lower .list_type li .ttl{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 5px;
  font-size: 1.8rem;
  line-height: 1.333;
  min-height: 3.333em;
}
.sec_kifu.type_lower .list_type li .cmn_btn{
  font-size: 1.3rem;
  margin-top: 15px;
}
.sec_kifu.type_lower .list_type li .cmn_btn .link{
  min-height: 36px;
  padding: 5px 25px;
  background-size: 20px auto;
  background-position: right 10px center;
  pointer-events: none;
}
@media (max-width :1024px) {
  .sec_kifu.type_lower .list_type li{
    width: calc(94.4% / 3);
  }  
}
@media screen and (max-width :834px) {
  .sec_kifu.type_lower{
    padding:35px 0 38.46vw;
    margin-top: 60px;
  }
  .sec_kifu.type_lower::before{
    top: -14px;
    height: 15px;
    background-size: 120px auto;
  }  
  .sec_kifu.type_lower .sec_ttl{
    font-size: 2.4rem;
  }
  .sec_kifu.type_lower .sec_ttl>span::before{
    width: 36px;
    height: 25px;
    transform: translate(-59%,20%);
  }
  .sec_kifu.type_lower .list_type{
    gap: 30px 5.5%;
    margin: 15px auto 0;
  }
  .sec_kifu.type_lower .list_type li{
    width: calc(94.5% / 2);
    padding: 10px 9px 24px;
  }
  .sec_kifu.type_lower .list_type li::after,
  .sec_kifu.type_lower .list_type li::before{
    height: calc(100% - 10px);
    border-radius: 165px 165px 12px 12px;
  }
  .sec_kifu.type_lower .list_type li::after{
    bottom: -3px;
    left: 3px;  
  }
  .sec_kifu.type_lower .list_type li .ttl{
    margin-top: 15px;
    font-size: 1.6rem;
    line-height: 1.313;
    min-height: inherit;
  }
  .sec_kifu.type_lower .list_type li .cmn_btn{
    width: 24px;
    height: 24px;
    margin: 15px auto 0;
  }
  .sec_kifu.type_lower .list_type li .cmn_btn .link{
    width: 100%;
    height: 100%;
    min-height: inherit;
    padding: 0;
    background-size: contain;
    background-position: center center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: none;
  }  
}