.point_mi {
  position: relative;
  border-top: solid 2px #c60000;
  border-bottom: solid 2px #c60000;
  background: #f4f4f4;
  line-height: 1.4;
  padding: 0.4em 0.5em;
  margin: 2em 0 0.5em;
  font-size: 1.8em;
  font-weight: bold;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.point_mi:after {
  /*タブ*/
  position: absolute;
  font-family: "Font Awesome 5 Free", "Quicksand", "Avenir", "Arial", sans-serif;
  content: "POINT";
  background: #c60000;
  color: #fff;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 5px 7px 3px;
  font-size: 0.7em;
  line-height: 1;
  letter-spacing: 0.05em;
}
.ken_point_moji {
  padding: 10px;
  text-align: left;
}
.text-content .title_ken {
  padding: 15px;
  margin: 0 0 0px 0;
  color: #fff;
  background-color: #c60000;
  font-weight: bold;
  position: relative;
  line-height: 1.2;
  display: inline-block;
  top: 0;
  font-size: 2em !important;
  font-weight: 900;
  width:100%;
}
@media only screen and (max-width: 750px) {
  .ken_point_moji {
    padding: 20px !important;
  }
  .flow_panel{
    width: 95% !important;
    margin: 0 auto;
  }

}
/*フロー*/
.flow_panel {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  vertical-align: middle;
}
.flow_box {
  display: flex;
  background-color: #c60000;
  align-items: center;
}
.step_mi {
  width: 20%;
  padding: 20px;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  border-right: dotted 1px #fff;
}
.step_moji {
  width: 55%;
  padding: 20px;
  text-align: left;
  vertical-align: middle;
  color: #fff;
}
.step_photo {
  width: 30%;

    display: grid;
    justify-items: center;
    align-items: center;

}
.maru_box {
  text-align: center;
  vertical-align: middle;
  width: 90%;
  display: flex;
  align-items: center;
}
.big_midashi {
  font-size: clamp(18px, 4vw, 24px);
  font-weight: bold;
  vertical-align: middle;
  margin-left: 10px;
  padding-bottom: 10px;
}
.maru {
  height: 75px;
  width: 75px;
  border-radius: 50%;
  line-height: 75px;
  text-align: center;
  background: #fff;
  font-size: 24px;
  margin-left: 20px;
}

.triangle3 {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 30px solid #c60000;
  margin: 0 auto;
}
.maru span {
  color: #c60000;
  font-size: 1.4em;
  font-weight: 900;
}
.flow_box{
  align-items: center;
}
@media only screen and (max-width: 750px) {
  .flow_box {
    display: flex !important;
    background-color: #c60000;
    align-items: center;
    flex-direction: column;

  }
  .step_mi {
    width: 40% !important;
    padding: 40px;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    border-right: none;
  }
  .step_moji {
    width: 100% !important;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
    vertical-align: middle;
    color: #fff;
  }
  .maru {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    line-height: 50px;
    text-align: center;
    background: #fff;
    font-size: 18px;
    margin-left: 10px;
  }
  .step_photo {
    width: 100% !important;
  }
}
/*フローここまで*/
.ken-price {
  font-size: 1.4em;
  font-weight: bold;
  color: #c60000;
}
.wari_panel {
  font-size: 1.8em !important;
  text-align: center;
}
/*事業内容*/
@media only screen and (max-width: 750px) {
  .jigyo_panel {
    width: 95%;
    display: block !important;
    margin: 0 auto;
  }
  .jigyo_box {
    display: block !important;
    width: 100% !important;
  }
}
.jigyo_panel {
  width: 95%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 auto;
  justify-content: space-between;
}
.jigyo_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 auto;
  justify-content: space-between;

  width: 45%;
}
img.img_res {
  width: 48% !important;
}

.moji {
  vertical-align: middle;
  text-align: center;
}
p.waribiki {
  font-size: 2rem !important;
  line-height: 1.6em !important;
  text-align: center;
  padding: 10px;
}
.waribiki_p {
  font-size: 1.2em;
  font-weight: bold;
  padding-bottom: 15px;
  color: #c60000;
}
p.waribiki2 {
  font-size: 0.7em !important;
  line-height: 1em;
  padding: 15px;
}
.waribiki_ul {
  line-height: 1.4em;
  font-size: 0.8em;
}

.kyo_mi {
  color: #c60000; /*文字色*/
  border: solid 3px #c60000; /*線色*/
  padding: 0.5em; /*文字周りの余白*/
  border-radius: 0.5em; /*角丸*/
  width: 100px;
  text-align: center;
  padding: 10px;
  margin: 10px;
}
.kyo_m {
  margin: 10px;
  text-align: left;
  font-size: 1.2em;
}
h3.kyou {
  font-size: 1.2em;
  padding-top: 15px;
}
.kyou_chu {
  color: #000; /*文字色*/
  border: solid 1px #c60000; /*線色*/
  padding: 0.5em; /*文字周りの余白*/
  border-radius: 0.5em; /*角丸*/
  text-align: center;
  padding: 10px;
  margin: 10px;
}
.card_table {
  display: table;
  width: 100%;
  height: 150px;
}
.card_e {
  display: table-cell;
  text-align: center;
  padding: 10px;
}
.waribiki_po {
  font-size: 1.6em;
  font-weight: bold;
  padding-bottom: 15px;
  color: #c60000;
}
.ken-card-full{
  width: 100%;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px #ccc;
  margin-top: 10px;
}
.ken-card {
  width: 48%;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px #ccc;
  margin-top: 10px;
}
.ken-card-img {
  border-radius: 5px 5px 0 0;
  max-width: 100%;
  height: auto;
}
.ken-card-content {
  padding: 20px;
}
.ken-card-title {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}
.ken-card-text {
  color: #777;
  font-size: 14px;
  line-height: 1.5;
}
.ken-card-link {
  text-align: center;
  border-top: 1px solid #eee;
  padding: 20px;
}
.ken-card-link a {
  text-decoration: none;
  color: #0bd;
  margin: 0 10px;
}
.ken-card-link a:hover {
  color: #0090aa;
}
.kenmi_bk{
 
  background-color: #c60000;
  vertical-align: middle;
  text-align: center;
}
h3.kenmi{
  font-size: 3rem;
  color: #fff !important;
  font-weight: bold;
  padding-top: 1.5rem;
}
ul.waribiki_ul li{
  text-align: center;
  font-size: 2rem;
  line-height: 3.5rem;
}
ul.waribiki_ul{
  padding-inline-start: 0px !important;
  border: 1px solid rgba(189,8,28,0.8);
  border-radius: 6px;
  margin:10px !important;
}
h2.waribiki{
  position: relative;
  padding: 0.2em 0.75em;
  background-color: #fff;
  border: 1px solid rgba(189,8,28,0.8);
  border-radius: 6px;
  display: inline-block;
  font-size: 3.6rem;
  margin-bottom: 30px;
  color: rgba(189,8,28,0.8);
  
}
.waribiki2{
  text-align: center;
}
.tokuten{
  font-weight: bold;
  font-size: 1.4em;
  vertical-align: bottom;
  display: flex;
  align-items: center;
  margin: 3rem;
}.tokuten:before, .tokuten:after {
  border-top: 1px solid #c60000;
  content: "";
  flex-grow: 1;
}.tokuten:after {
  margin-left: 1rem;
}
.tokuten_k{
  position: relative;
  padding: 0.2em 0.75em;
  background-color: #fff;
  border: 1px solid rgba(189,8,28,0.8);
  border-radius: 6px;
  display: inline-block;
  font-size: 2.4rem;
  margin-bottom: 30px;
  color: rgba(189,8,28,0.8);
  width: 80%;
  margin: 20px auto;
}
.ken-card{
  width: 48%;
  margin: 10px auto !important;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px #ccc;
  display: flex;
  flex-direction: column;
}
.title_top{
  text-align: center;
}
.card-img{
  width: 80%;
  margin: 0 auto;
}
.thumbnail-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction:column;
}
.text-content{
  display:flex;
  flex-direction: column;
  margin-top: auto;
}
.title_ken{
  margin-top: auto;
}
.title_top{
  border-bottom: 1px solid #c60000;
}
@media screen and (max-width: 650px){
  .ken-card,.ken-card2{
    width: 100% !important;
  }
  .card-subtitele,.smidashi{
    padding-left: 1rem;
  }
  .ken-card3{
    width: 100% !important;
  }
  .title_course{
    font-size: 3rem !important;
  }
}

.ken-card2 {
  width: 48%;
  margin: 10px auto !important;
  background: #fff;
  border-radius: 5px;
 
  display: flex;
  flex-direction: column;
}
.ken-card3 {
  width:23%;
  margin: 10px auto !important;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px #ccc;
  display: flex;
  flex-direction: column;
}
.title_course {
  text-align: center;
  padding: 20px;
  background-color: #c60000;
  color: #fff;
  padding: 15px;
  font-weight: bold;
  position: relative;
  line-height: 1.2;
  display: inline-block;
  top: 0;
  font-size: clamp(15px, 2vw, 25px) ;

  font-weight: 900;
  margin-bottom: 30px;
}