@charset "UTF-8";

/*------------------こんな業者を選んでいませんか？レイアウト修正_260721------------------*/
#choose1 + .composite_box01 .heading.block_header_1,
#choose3 + .composite_box01 .heading.block_header_1 {
    flex-direction: column;
    gap: 25px;
}
#choose1 + .composite_box01 .heading.block_header_1 .h,
#choose3 + .composite_box01 .heading.block_header_1 .h {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    letter-spacing: .075em;
    background: #fff;
    border: solid 1px var(--i_main_color);
    position: relative;
    border-radius: 50px;
    width: 200px;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
}
#choose1 + .composite_box01 .heading.block_header_1 .h::before,
#choose3 + .composite_box01 .heading.block_header_1 .h::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 11px solid var(--i_main_color);
}
#choose1 + .composite_box01 .heading.block_header_1 .h::after,
#choose3 + .composite_box01 .heading.block_header_1 .h::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 10px solid #fff;
}
#choose1 + .composite_box01 .heading.block_header_1 p,
#choose3 + .composite_box01 .heading.block_header_1 p {
  color: var(--i_main_color);
}
#choose1 + .composite_box01 .heading.block_header_1 p::before,
#choose3 + .composite_box01 .heading.block_header_1 p::before {
  display: none;
}
#choose1 + .composite_box01 .heading.block_header_4 .h {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--i_main_color);
}
@media screen and (max-width: 900px) {
  #choose1 + .composite_box01 .heading.block_header_4 .h {
    font-size: min(2.1rem, 4.5vw) !important;
  }
  #choose1 + .composite_box01 .content_wrapper .wrapper_item .inner_item {
    margin-bottom: 0;
  }
}

#choose2 + .contents_box01.block_fukidashi_1 .inner_item_img,
#choose2 + .contents_box01.block_fukidashi_2 .inner_item_img {
    padding-top: 224px;
    width: 167px !important;
    flex-shrink: 0;
}
#choose2 + .contents_box01.block_fukidashi_1 .inner_item_img img,
#choose2 + .contents_box01.block_fukidashi_2 .inner_item_img img {
    height: 224px !important;
    flex-shrink: 0;
    object-fit: contain;	
    border-radius: 0;
}
@media screen and (max-width: 900px) {
  #choose2 + .contents_box01 .wrapper_item {
        flex-direction: column-reverse;
  }
  #choose2 + .contents_box01.block_fukidashi_2 .inner_item_txt {
        width: 100% !important;
  }
  #choose2 + .contents_box01.block_fukidashi_2 .inner_item_txt:before {
    right: 70px;
    top: initial;
    bottom: -10px;
    transform: rotate(-135deg);
  }
  #choose2 + .contents_box01.block_fukidashi_2 .inner_item_img {
    margin: 10px 20px 0 auto;
  }
  #choose2 + .contents_box01.block_fukidashi_1 .inner_item_img img,
  #choose2 + .contents_box01.block_fukidashi_2 .inner_item_img img {
    height: 150px !important;
  }
  #choose2 + .contents_box01.block_fukidashi_1 .inner_item_img,
  #choose2 + .contents_box01.block_fukidashi_2 .inner_item_img {
    padding-top: 150px;
    width: 108px !important;
  }
}

#choose3 + .composite_box01 .content_wrapper {
  position: relative;
  width: calc(100% - 80px);
  background: #e3f6ff;
  border-radius: 20px;
  padding: 30px 30px 50px;
  border: 2px dashed var(--i_main_color);
  box-shadow: 0 0 0 16px #e3f6ff;
}
#choose3 + .composite_box01 .content_wrapper::before {
  content: "";
  position: absolute;
  background-image: url("/common/upload_data/cofalcjp/image/20260721191346_1.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: min(148px, 16vw);
  height: min(210px, 16vw);
  left: 0;
  top: -80px;
}
#choose3 + .composite_box01 .wrapper_item {
  overflow: initial;
}
#choose3 + .composite_box01 .inner_item {
  background: var(--i_main_color);
  border-radius: 20px;
  display: flex;
  align-items: center;

  position: relative;
  padding: 2rem;
}
#choose3 + .composite_box01 .inner_item::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 30px solid var(--i_main_color);
}
#choose3 + .composite_box01 .heading.block_header_4 .h {
    color: #fff799;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, #fff799, #fff799) no-repeat center bottom / 3em 2px;
}
#choose3 + .composite_box01 .heading.block_header_4 p {
  color: #fff;
  font-weight: bold;
  margin-top: 20px;
  line-height: 1.5;
}
@media screen and (max-width: 900px) {
  #choose3 + .composite_box01 .content_wrapper {
      width: 100%;
      border: initial;
      border-radius: 0;
  }
  #choose3 + .composite_box01 .content_wrapper::before {
    width: 68px;
    height: 100px;
    left: 20px;
    top: -70px;
  }
  #choose3 + .composite_box01 .inner_item {
      align-items: baseline;
  }
  #choose3 + .composite_box01 .inner_item::before {
      bottom: -20px;
  }
  #choose3 +.composite_box01 .inner_item_txt .heading:last-child {
    display: flex;
    gap: 15px;
    align-items: center;
  }
  #choose3 + .composite_box01 .heading.block_header_4 p {
    margin-top: 0;
  }
}

/* MV調整(2026/07/28) */
#mv,
#mv .mv_mp4,
#mv .mv_mp4 video{
	height: auto;
	max-height: initial !important;
}
#mv .mv_textimg {
    left: 0;
    width: 100%;
    height: 100%;
}
#mv .mv_textimg > div {
    width: 35%;
    left: 2%;
    bottom: 2%;
}
#mv .mv_textimg img {
    width: 100%;
    max-width: initial;
}
#mv .mv_textimg a {
    left: 21%;
}
@media only screen and (max-width: 768px) {
    #mv .mv_mp4 video {
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
    #mv .mv_textimg > div {
        width: 50%;
    }
}
@media screen and (max-width: 125vh){
	#mv.mv_mp4_cover {
		height: auto !important;
		min-height: 0 !important;
	}
}