@charset "UTF-8";

.inbox__full.inbox__full_ctm {
  max-width: calc(100vw - 10px * 2);
}
.block__ctm {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 20px;
}
.block__ctm_kaigo {
  border: solid 2px #00BBC9;
}
.block__ctm_syukatu {
  border: solid 2px #EC5050;
}
.block__ctm_care {
  border: solid 2px #FF7E29;
}
.block__ctm_tax {
  border: solid 2px #0098D8;
}
.block__ctm .inner__ctm_header {
  padding: 25px 10px 10px;
}
.block__ctm_kaigo .inner__ctm_header {
  background-color: #E5F8FA;
}
.block__ctm_syukatu .inner__ctm_header {
  background-color: #FDEDED;
}
.block__ctm_care .inner__ctm_header {
  background-color: #FFF2E9;
}
.block__ctm_tax .inner__ctm_header {
  background-color: #E5F5FB;
}
.inner__ctm_header .box__loud_voice {
  max-width: 100%;
  width: 310px;
  margin: 0 auto 5px;
  padding: 0 27px;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5;
}
.inner__ctm_header .box__loud_voice:before {
  width: 26px;
  transform: translateY(-17px);
  -webkit-transform: translateY(-17px);
  -ms-transform: translateY(-17px);
}
.inner__ctm_header .box__loud_voice:after {
  width: 26px;
  right: -26px;
  transform: translateY(-17px) scale(-1,1);
  -webkit-transform: translateY(-17px) scale(-1,1);
  -ms-transform: translateY(-17px) scale(-1,1);
}
.block__ctm_care .inner__ctm_header .box__loud_voice:before,
.block__ctm_care .inner__ctm_header .box__loud_voice:after {
  background-image: url(/resource/img/ctm/img_line_orange.svg);
}
.block__ctm_tax .inner__ctm_header .box__loud_voice:before,
.block__ctm_tax .inner__ctm_header .box__loud_voice:after {
  background-image: url(/resource/img/ctm/img_line_blue.svg);
}
.block__ctm_kaigo .inner__ctm_header .box__loud_voice:before,
.block__ctm_kaigo .inner__ctm_header .box__loud_voice:after {
  background-image: url(/resource/img/ctm/img_line_skyblue.svg);
}
.block__ctm_syukatu .inner__ctm_header .box__loud_voice:before,
.block__ctm_syukatu .inner__ctm_header .box__loud_voice:after {
  background-image: url(/resource/img/ctm/img_line_red.svg);
}

.block__ctm .inner__ctm_header h2 {
  margin: 0 0 5px 0;
  font-size: 1.375rem;
  text-align: center;
  line-height: 1.5;
}
.block__ctm_care .inner__ctm_header h2 {
  color: #FF6500;
}
.block__ctm_tax .inner__ctm_header h2 {
  color: #0098D8;
}

.block__ctm_kaigo .inner__ctm_header h2 img {
  width: 247px;
}
.block__ctm_syukatu .inner__ctm_header h2 img {
  max-width: 310px;
}

.block__ctm .inner__ctm_contents {
  padding: 20px 15px;
}
.block__ctm .inner__ctm_contents .block__case_list {
  margin-bottom: 15px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  list-style: none;
  border-bottom: dashed 1px #CCC;
}
.block__ctm .inner__ctm_contents .block__case_list li {
  width: 100%;
  margin-bottom: 0;
}
.block__ctm .inner__ctm_contents .block__case_list li img {
  display: block;
  margin:0 auto 15px;
}
.block__ctm .inner__ctm_contents .block__case_list li p {
  margin-bottom: 0;
}
.block__ctm .inner__ctm_contents .btn__ctm_phone {
  max-width: 450px;
  margin: 0 auto 15px;
}
.block__ctm .inner__ctm_contents .btn__ctm_phone a {
  padding: 10px;
}
.block__ctm .inner__ctm_contents .btn__ctm_phone a::before {
  content: unset!important;
}
.block__ctm .inner__ctm_contents .btn__ctm_phone a::after {
    content: "\f00e";
    font-family: FontAwesome;
    color: #006abc;
    font-size: 20px;
    font-weight: normal;
    height: auto;
    width: auto;
    transform-origin: unset;
    top: unset;
    transform: unset;
    background-color: unset;
    border-radius: unset;
}

.block__ctm .inner__ctm_contents .txt_open__time {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.block__ctm .inner__ctm_contents .btn__ctm_detail {
  max-width: 450px;
  width: 100%;
  min-height: 50px;
  height: auto;
  margin: auto auto 0;
  padding: 10px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-weight: bold;
  color: #FFF;
  background-color: #00BBC9;
  border-radius: 10px;
}
.block__ctm .inner__ctm_contents .btn__color_red {
  background-color: #EC5050!important;
}
.block__ctm .inner__ctm_contents .btn__ctm_detail::after {
  content: '';
  height: 18px;
  width: 18px;
  position: absolute;
  top: unset;
  right: 16px;
  transform-origin: unset;
  transform: unset;
  background-color: unset;
  background-image: url(/resource/img/ctm/icon_new_tab_white.svg);
  background-repeat: no-repeat;
  background-size: 18px auto;
  border-radius: unset;
}

@media screen and (min-width: 768px) {
  .inner__ctm_header .box__loud_voice {
    max-width: unset;
    width: auto;
    padding: 0 22px;
  }
  .inner__ctm_header .box__loud_voice:before {
    width: 15px;
    transform: translateY(-9px);
    -webkit-transform: translateY(-9px);
    -ms-transform: translateY(-9px);
  }
  .inner__ctm_header .box__loud_voice:after {
    width: 15px;
    right: -15px;
    transform: translateY(-9px) scale(-1,1);
    -webkit-transform: translateY(-9px) scale(-1,1);
    -ms-transform: translateY(-9px) scale(-1,1);
  }


  .block__ctm .inner__ctm_contents {
    padding: 25px;
  }
  .block__ctm .inner__ctm_contents .block__case_list {
    margin-bottom: 20px;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
  .block__ctm .inner__ctm_contents .block__case_list li {
    max-width: 260px;
  }
  .block__ctm .inner__ctm_contents .block__case_list li img {
    margin:0 auto 20px;
  }
  .block__ctm .inner__ctm_contents .txt_open__time {
    justify-content: center;
  }
  .block__ctm .inner__ctm_contents .box__open_time_fit {
    width: fit-content;
    margin: 0 auto;
  }
  .block__ctm .inner__ctm_contents .box__open_time_fit .txt_open__time {
    justify-content: flex-start;
  }
}


/* modal */
.btn__ctm_tel {
  width: 305px;
  min-height: 50px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  background-color: #fff;
  background-image: url(/commons/img/icon_free_dial.svg)!important;
  background-repeat: no-repeat;
  background-size: 33px auto;
  background-position: 16px center;
  font-size: 1.25rem;
  line-height: 1.5;
  border: solid 2px #006ABC;
  border-radius: 10px;
}
.list__btn_ctm_tel {
  margin: 0;
  list-style: none;
}
@media screen and (min-width: 768px) {
  .btn__ctm_tel {
    width: 355px;
  }
  .list__btn_ctm_tel {
    display: flex;
    justify-content: center;
    gap: 50px;
  }
}