@media screen and (max-width: 767px) {
  .sub_top .sub_top_mv {
    background-image: url(../img/service/service_mv.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
  }
  .sub_top.menu .sub_top_mv {
    background-image: url(../img/menu/menu_mv.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
  }

  .sub_top .sub_top_mv img {
    display: none;
  }
}

.service_main {
  overflow: hidden;
  padding-bottom: 100px;
}

.service_main_content {
  background: rgb(255,0,0);
  background: linear-gradient(90deg, rgba(255,0,0,1) 0%, rgba(190,0,0,1) 100%);
  padding-bottom: 11.285714vw;
  padding-top: 11.285714vw;
  position: relative;
  z-index: 0;
}

@media screen and (max-width: 1240px) {
  .service_main_content {
    padding-bottom: 139px;
    padding-top: 139px;
  }
}

@media screen and (max-width: 767px) {
  .service_main_content {
    padding-bottom: 11.285714vw;
    padding-top: 11.285714vw;
  }
}

.service_main_content::before {
  border-color: #e1e1e1 transparent transparent transparent;
  border-style: solid;
  border-width: 14.2857142857143vw 100vw 0 0;
  content: '';
  height: 0;
  left: 0;
  position: absolute;
  top: 0;
  width: 0;
  z-index: 0;
}

@media screen and (max-width: 1240px) {
  .service_main_content::before {
    border-width: 177px 1240px 0 0;
  }
}

@media screen and (max-width: 767px) {
  .service_main_content::before {
    border-width: 14.2857142857143vw 100vw 0 0;
  }
}

.service_main_content::after {
  border-color: transparent transparent #e1e1e1 transparent;
  border-style: solid;
  border-width: 0 0 14.2857142857143vw 100vw;
  bottom: 0;
  content: '';
  height: 0;
  left: 0;
  position: absolute;
  width: 0;
  z-index: -1;
}

@media screen and (max-width: 1240px) {
  .service_main_content::after {
    border-width: 0 0 177px 1240px;
  }
}

@media screen and (max-width: 767px) {
  .service_main_content::after {
    border-width: 0 0 14.2857142857143vw 100vw;
  }
}

@media screen and (max-width: 767px) {
  .service_main {
    padding-bottom: 60px;
  }

  .service_main_content {
    padding-bottom: 14.2857142857143vw;
    padding-top: 14.2857142857143vw;
  }

  .service_main {
    overflow: hidden;
    padding-bottom: 100px;
  }
}

.service_top_title {
  color: #333;
  font-family: 'M PLUS 1', sans-serif;
  font-size: 4.2rem;
  line-height: 1.142857142857143;
  text-align: center;
}

.service_top_box {
  align-items: flex-end;
  display: flex;
  margin-top: 30px;
}

.service_top_box.menu {
  align-items: flex-start;
}

.service_top_box_title {
  color: #333;
  font-size: 4.2rem;
  line-height: 1.142857142857143;
  margin-right: 60px;
  width: calc(100% - 660px);
}

.service_top_box_desc {
  color: #333;
  font-size: 1.5rem;
  line-height: 1.666666666666667;
  width: 600px;
}

.service_top_box_text {
  margin-left: 50px;
  margin-top: 0;
  width: calc(100% - 550px);
}

.service_top_box_text_title {
  color: #333;
  font-family: 'M PLUS 1', sans-serif;
  font-size: 4.2rem;
  line-height: 1.142857142857143;
}

.service_top_box_text_desc {
  color: #333;
  font-size: 1.5rem;
  line-height: 1.666666666666667;
  margin-top: 20px;
}

.service_top_box_img {
  width: 500px;
}

.service_top_box_img img {
  width: 100%;
}

.sub_contact.service {
  background: rgb(77,77,77);
  background: linear-gradient(90deg, rgba(77,77,77,1) 0%, rgba(26,26,26,1) 100%);
}

@media screen and (max-width: 767px) {
  .service_top {
    margin-top: 0;
  }

  .service_top_title {
    font-size: 2.6rem;
  }

  .service_top_box {
    display: block;
    margin-top: 20px;
  }

  .service_top_box_title {
    font-size: 2.6rem;
    margin-right: 0;
    width: 100%;
  }

  .service_top_box_desc {
    font-size: 1.3rem;
    margin-top: 10px;
    width: 100%;
  }

  .service_top_box_text {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }

  .service_top_box_text_title {
    font-size: 2.6rem;
  }

  .service_top_box_text_desc {
    font-size: 1.3rem;
    margin-top: 10px;
  }

  .service_top_box_img {
    width: 100%;
  }
}

/* ------------------------------------------
  service_clinic
------------------------------------------ */
.service_clinic_main {
  background: rgb(255,0,0);
  background: linear-gradient(90deg, rgba(255,0,0,1) 0%, rgba(190,0,0,1) 100%);
  padding-bottom: 11.285714vw;
  padding-top: 11.285714vw;
  position: relative;
  z-index: 0;
}

.service_clinic.menu .service_clinic_main {
  background: rgb(77,77,77);
  background: linear-gradient(90deg, rgba(77,77,77,1) 0%, rgba(26,26,26,1) 100%);
}

@media screen and (max-width: 1240px) {
  .service_clinic_main {
    padding-bottom: 139px;
    padding-top: 139px;
  }
}

@media screen and (max-width: 767px) {
  .service_clinic_main {
    padding-bottom: 11.285714vw;
    padding-top: 11.285714vw;
  }
}

.service_clinic_main::before {
  border-color: #e1e1e1 transparent transparent transparent;
  border-style: solid;
  border-width: 14.2857142857143vw 100vw 0 0;
  content: '';
  height: 0;
  left: 0;
  position: absolute;
  top: -1px;
  width: 0;
  z-index: 0;
}

@media screen and (max-width: 1240px) {
  .service_clinic_main::before {
    border-width: 177px 1240px 0 0;
  }
}

@media screen and (max-width: 767px) {
  .service_clinic_main::before {
    border-width: 14.2857142857143vw 100vw 0 0;
  }
}

.service_clinic_main::after {
  border-color: transparent transparent #e1e1e1 transparent;
  border-style: solid;
  border-width: 0 0 14.2857142857143vw 100vw;
  bottom: -1px;
  content: '';
  height: 0;
  left: 0;
  position: absolute;
  width: 0;
  z-index: -1;
}

@media screen and (max-width: 1240px) {
  .service_clinic_main::after {
    border-width: 0 0 177px 1240px;
  }
}

@media screen and (max-width: 767px) {
  .service_clinic_main::after {
    border-width: 0 0 14.2857142857143vw 100vw;
  }
}

.service_clinic_main_inner {
  padding-top: 40px;
  width: 500px;
}

.service_clinic_title {
  color: #fff;
  font-size: 4.2rem;
  line-height: 1.142857142857143;
}

.service_clinic_desc {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.666666666666667;
  margin-top: 20px;
}

.service_clinic .sub_contact {
  margin-top: 40px;
}

.service_clinic_main_img {
  max-width: 700px;
  min-width: 615px;
  position: absolute;
  right: 0;
  top: -1px;
  width: 43.8571428571429vw;
  z-index: -1;
}

.service_clinic .container.service_clinic_eng_box {
  position: relative;
  z-index: -1;
}

.service_clinic .container .service_clinic_eng {
  bottom: -60px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 15rem;
  font-weight: 700;
  left: 0;
  line-height: 1;
  opacity: .2;
  position: absolute;
  z-index: -2;
}

@media screen and (max-width: 1240px) {
  .service_clinic_main_img {
    width: 615px;
  }
}

@media screen and (max-width: 767px) {
  .service_clinic {
    margin-top: 60px;
  }

  .service_clinic_main .container2 {
    padding-bottom: 40px;
  }

  .service_clinic_main_inner {
    padding-top: 40px;
    width: 100%;
  }

  .service_clinic_title {
    font-size: 2.6rem;
  }

  .service_clinic_desc {
    font-size: 1.3rem;
    margin-top: 10px;
  }

  .service_clinic .sub_contact {
    margin-top: 20px;
  }

  .service_clinic_main_img {
    margin-top: 20px;
    max-width: auto;
    min-width: auto;
    position: static;
    width: 100%;
  }

  .service_clinic .container .service_clinic_eng {
    bottom: 0;
    font-size: 7rem;
  }
}

/* ------------------------------------------
  service_yf
------------------------------------------ */
.service_yf {
  overflow: hidden;
  padding-bottom: 100px;
}

.service_yf_inner {
  background: rgb(255,0,0);
  background: linear-gradient(90deg, rgba(255,0,0,1) 0%, rgba(190,0,0,1) 100%);
  padding-bottom: 11.285714vw;
  padding-top: 21.285714vw;
  position: relative;
  z-index: 0;
}

@media screen and (max-width: 1240px) {
  .service_yf_inner {
    padding-bottom: 139px;
    padding-top: 263px;
  }
}

@media screen and (max-width: 767px) {
  .service_yf_inner {
    padding-bottom: 11.285714vw;
    padding-top: 21.285714vw;
  }
}

.service_yf_inner::before {
  border-color: #e1e1e1 transparent transparent transparent;
  border-style: solid;
  border-width: 14.2857142857143vw 100vw 0 0;
  content: '';
  height: 0;
  left: 0;
  position: absolute;
  top: 0;
  width: 0;
  z-index: 0;
}

@media screen and (max-width: 1240px) {
  .service_yf_inner::before {
    border-width: 177px 1240px 0 0;
  }
}

@media screen and (max-width: 767px) {
  .service_yf_inner::before {
    border-width: 14.2857142857143vw 100vw 0 0;
  }
}

.service_yf_inner::after {
  border-color: transparent transparent #e1e1e1 transparent;
  border-style: solid;
  border-width: 0 0 14.2857142857143vw 100vw;
  bottom: 0;
  content: '';
  height: 0;
  left: 0;
  position: absolute;
  width: 0;
  z-index: -1;
}

@media screen and (max-width: 1240px) {
  .service_yf_inner::after {
    border-width: 0 0 177px 1240px;
  }
}

@media screen and (max-width: 767px) {
  .service_yf_inner::after {
    border-width: 0 0 14.2857142857143vw 100vw;
  }
}

.service_yf_title {
  position: absolute;
  right: 0;
  top: 0;
  width: 1000px;
}

.service_yf_title img {
  width: 100%;
}

.service_yf_main_item {
  display: flex;
  position: relative;
}

.service_yf_main_item_img {
  width: 500px;
}

.service_yf_main_item_img img {
  width: 100%;
}

.service_yf_main_item_text {
  margin-left: 70px;
  width: calc(100% - 570px);
}

.service_yf_main_item_text_title {
  color: #fff;
  font-size: 4.2rem;
  line-height: 1.142857142857143;
}

.service_yf_main_item_text_desc {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.666666666666667;
  margin-top: 20px;
}

.service_yf_main_item + .service_yf_main_item {
  flex-direction: row-reverse;
  margin-top: 100px;
}

.service_yf_main_item + .service_yf_main_item .service_yf_main_item_text {
  margin-left: 0;
  margin-right: 70px;
}

.service_yf .sub_contact {
  margin-top: 40px;
}

.service_yf_main_item_eng {
  bottom: -90px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 15rem;
  font-weight: 700;
  line-height: 1;
  opacity: .2;
  position: absolute;
  right: -80px;
  z-index: -2;
}

@media screen and (max-width: 767px) {
  .service_yf {
    margin-top: 60px;
    padding-bottom: 60px;
  }

  .service_yf .container2 {
    padding-bottom: 40px;
  }

  .service_yf_inner {
    padding-bottom: 11.285714vw;
    padding-top: 21.285714vw;
  }

  .service_yf_title {
    position: absolute;
    right: 0;
    top: 0;
    width: calc(100% - 40px);
  }

  .service_yf_main_item {
    display: flex;
    flex-direction: column-reverse;
  }

  .service_yf_main_item_img {
    margin-top: 20px;
    width: 100%;
  }

  .service_yf_main_item_text {
    margin-left: 0;
    width: 100%;
  }

  .service_yf_main_item_text_title {
    font-size: 2.6rem;
  }

  .service_yf_main_item_text_desc {
    font-size: 1.3rem;
    margin-top: 10px;
  }

  .service_yf_main_item + .service_yf_main_item {
    flex-direction: column-reverse;
    margin-top: 60px;
  }

  .service_yf_main_item + .service_yf_main_item .service_yf_main_item_text {
    margin-left: 0;
    margin-right: 0;
  }

  .service_yf .sub_contact.normal {
    margin-top: 40px;
  }

  .service_yf_main_item_eng {
    bottom: -40px;
    font-size: 7rem;
    left: 0;
    right: auto;
  }
}
