/* component_f.css */

.cmf_headline_arw{
  font-weight: bold;
  font-size: 3.2rem;
  line-height: 1.;
  text-align: center;
  color: #fff;
  /*padding: 22px;*/
  position: relative;
  background: #f00;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
}
.cmf_headline_arw .tab{
  position: relative;
  opacity: 0.6;
  padding: 22px;
}
.cmf_headline_arw .tab.active{
  opacity: 1;
  cursor: pointer;
}
.cmf_headline_arw .tab.active::after{
  content: '';
  position: absolute;
  bottom: -22px;
  left: 50%;
  margin-left: -24px;
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 23px solid #f00;
}
@media screen and (max-width: 768px) {
  .cmf_headline_arw {
    font-size: 4.2vw;
    margin-bottom: 0px;
    gap: 10px;
  }
  .cmf_headline_arw .tab{
    padding: 10px;
  }
  .cmf_headline_arw .tab.active::after{
    bottom: -18px;
    margin-left: -20px;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #f00;
  }
}
.tab_content{
  display: none;
}
.tab_content.active{
  display: block;
}

.cmf_headline_l{
  position: relative;
  font-weight: bold;
  font-size: 2.2rem;
  line-height: 1.3;
  text-align: left;
  padding: 24px 24px 24px 40px;
  color: #464646;
  background: #EFEFEF;
  margin-bottom: 48px;
}

.cmf_headline_l::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width:15px;
  height: 100%;
  background: #f00;
}


@media screen and (max-width: 768px) {
  .cmf_headline_l{
    position: relative;
    font-weight: bold;
    font-size: 4.5vw;
    padding: 20px 20px 20px 30px;
    margin-bottom: 30px;
  }

}

/*セクション*/
.cmf_section{
  padding-bottom: 30px;
}

.cmf_check_box{
  position: relative;
  display: inline-block;
  font-size: 1.8rem;
  cursor: pointer;
  margin-right: 0;
  min-width: 150px;
  min-height: 69px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #a4a4a4;
}

.cmf_check_box span {
  padding-left: 28px;
  padding: 20px 20px 20px 70px;
  display: inline-block;
  font-weight: normal;
}

.cmf_check_box input {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  opacity: 0;
  padding: 0;
}

.cmf_check_box span::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 20px;
  margin-top: 5px;
  width: 22px;
  height: 22px;
  border: 1px solid #707070;
  background-color: #EBEBEB;
  border-radius: 3px;
}

.cmf_check_box input:checked+span::after {
  content: "";
  display: block;
  position: absolute;
  top: 29px;
  left: 27px;
  width: 16px;
  height: 9px;
  border-bottom: 3px solid #f00;
  border-left: 3px solid #f00;
  transform: rotate(-40deg);
}

.cmf_check_box input {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  opacity: 0;
  padding: 0;
}

.cmf_radio_box{
  position: relative;
  display: inline-block;
  font-size: 1.8rem;
  cursor: pointer;
  margin-right: 0;
  min-width: 150px;
  width: 100%;
  min-height: 69px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #a4a4a4;
}

.cmf_radio_box input {
  position: absolute;
  opacity: 0;
}

.cmf_radio_box input{
  display: none;
}

.cmf_radio_box input + span{
  padding-left: 28px;
  padding: 20px 20px 20px 70px;
  display: inline-block;
  font-weight: normal;
}

.cmf_radio_box input + span::before {
  content: "";
  display: block;
  position: absolute;
  top: 20px;
  left: 24px;
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #707070;
  border-radius: 50%;
}

.cmf_radio_box input:checked + span::after{
  content: "";
  display: block;
  position: absolute;
  top: 20px;
  left: 24px;
  width: 32px;
  height: 32px;
  background: #f00;
  border: 1px solid #707070;
  border-radius: 50%;
  transform: scale(0.5);
}


.cmf_check_list,
.cmf_radio_list{
  display: flex;
  gap:30px;
  flex-wrap:wrap;
  margin-bottom: 25px;
}
.cmf_check_list.column,
.cmf_radio_list.column{
  flex-direction: column;
}

.cmf_check_list>.cmf_check_box,
.cmf_radio_list>.cmf_radio_box{
  width: calc((100% - 60px) / 3);
}

.cmf_para1{
  font-weight: 500;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.cmf_textarea{
  max-width: 629px;
  width: 100%;
  height: 112px;
  border-radius: 6px;
  border: 0;
  font-size: 1.8rem;
  background: #efefef;
}

@media screen and (max-width: 1024px) {
  .cmf_check_list,
  .cmf_radio_list{
    gap:30px;
    margin-bottom: 25px;
  }

  .cmf_check_list>.cmf_check_box,
  .cmf_radio_list>.cmf_radio_box{
    width: calc((100% - 30px) / 2);
  }
}

@media screen and (max-width: 768px) {
  .cmf_check_list,
  .cmf_radio_list{
    gap:20px;
  }


  .cmf_check_list>.cmf_check_box,
  .cmf_radio_list>.cmf_radio_box{
    width: calc((100% - 20px) / 2);
  }
}

@media screen and (max-width: 768px) {
  .cmf_check_list,
  .cmf_radio_list{
    gap:15px;
  }


  .cmf_check_list>.cmf_check_box,
  .cmf_radio_list>.cmf_radio_box{
    width:100%;
  }
}

