@charset "UTF-8";

/* ---------------------------------
  page_title
--------------------------------- */
.asameshimae .page_title {
  background-color: #febf8f;
}
.saisyokuzen .page_title {
  background-color: #b2d1a8;
}
.asameshimae .page_title span,
.asameshimae .page_title span::before,
.asameshimae .page_title span::after {
  background-color: #FDA665;
}
.saisyokuzen .page_title span,
.saisyokuzen .page_title span::before,
.saisyokuzen .page_title span::after {
  background-color: #94BF87;
}


/* ---------------------------------
  service_title
--------------------------------- */
.service_title {
  margin-bottom: 7.5rem;
}
.service_name {
  position: relative;
}
.asameshimae .service_name {
  background-color: #FFE9D3;
}
.saisyokuzen .service_name {
  background-color: #F8FCD3;
}
.asameshimae .service_name::before,
.saisyokuzen .service_name::before {
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
}
.asameshimae .service_name::before {
  width: 17.5rem;
  height: 12rem;
  left: 1rem;
  top: -2rem;
  background-image: url("/wp-content/themes/dhc_syokuji/assets/images/case/common/asameshimae_img.webp");
}
.saisyokuzen .service_name::before {
  width: 21.1rem;
  height: 12.8rem;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("/wp-content/themes/dhc_syokuji/assets/images/case/common/saisyokuzen_img.webp");
}
.service_name h2 {
  font-weight: 700;
  font-size: 4.3rem;
  display: flex;
  align-items: center;
  column-gap: 2.3rem;
}
.asameshimae .service_name h2 {
  padding-left: 21rem;
  color: #FF842B;
}
.saisyokuzen .service_name h2 {
  padding-left: 24rem;
  color: #6BA759;
  font-family: 'notoserifjp', serif;
}
.service_name h2 span {
  font-family: 'notosansjp', sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: #000;
  display: flex;
  column-gap:1rem;
  align-items: center;
}
.service_name h2 span::before,
.service_name h2 span::after {
  content: "";
  border: .2rem solid #000;
  width: .5rem;
  height: 1.8rem;
  margin-top: .3rem;
}
.service_name h2 span::before {
  border-right: 0;
}
.service_name h2 span::after {
  border-left: 0;
}

@media screen and (max-width: 768px) {
  .service_title {
    margin-bottom: 3rem;
    padding: 0 1.6rem;
  }
  .asameshimae .service_name {
    padding: 3.5rem 0 2.4rem;
  }
  .saisyokuzen .service_name {
    padding: 2.2rem 0 1.8rem;
  }
  .asameshimae .service_name::before {
    width: 17.7rem;
    height: 12.1rem;
    left: .7rem;
    top: 0;
  }
  .saisyokuzen .service_name::before {
    width: 18.8rem;
    height: 11.5rem;
    left: 1.2rem;
    top: .3rem;
    transform: translateY(0);
  }
  .service_name h2 {
    font-size: 2.7rem;
    flex-flow: column;
  }
  .asameshimae .service_name h2 {
    padding-left: 16.5rem;
  }
  .saisyokuzen .service_name h2 {
    padding-left: 18.3rem;
  }
  .service_name h2 span {
    font-size: 1.4rem;
    column-gap:.5rem;
    text-align: center;
  }
  .service_name h2 span::before,
  .service_name h2 span::after {
    content: "";
    border: .1rem solid #000;
    width: .3rem;
    margin-top: .3rem;
  }
  .service_name h2 span::before {
    border-right: 0;
  }
  .service_name h2 span::after {
    border-left: 0;
  }
  .asameshimae .service_name h2 span::before,
  .asameshimae .service_name h2 span::after {
    height: 1.1rem;
  }
  .saisyokuzen .service_name h2 span::before,
  .saisyokuzen .service_name h2 span::after {
    height: 3rem;
  }
}


/* ---------------------------------
  case_coontent
--------------------------------- */
@media screen and (max-width: 768px) {
  .case_content {
    padding: 0 1.6rem;
  }
}


/* ---------------------------------
  facility_info
--------------------------------- */
.facility_info {
  display: flex;
  column-gap: 2.5rem;
  margin-bottom: 3.2rem;
  line-height: 1.8;
}
.facility_detail {
  border-left: .3rem solid #0D8EB2;
  padding-left: 2.2rem;
}
.facility_detail .facility_plase,
.facility_detail .facility_name,
.facility_detail .facility_representative {
  color: #0D8EB2;
  font-weight: 500;
}
.facility_detail .facility_plase {
  font-size: 1.7rem;
}
.facility_detail .facility_name {
  font-size: 3.3rem;
  margin-bottom: .7rem;
}
.facility_detail .facility_representative {
  font-size: 2.3rem;
}
.facility_detail .facility_overview {
  margin-top: 2rem;
}
.facility_detail .facility_overview dt {
  background-color: #E7F2F5;
  color: #0D8EB2;
  font-size: 1.7rem;
  padding: .2rem .8rem;
  margin-bottom: .5rem;
}
.facility_detail .facility_overview dd {
  font-size: 1.7rem; 
}
.facility_info .facility_img {
  flex-shrink: 0;
}
.facility_representative_img {
  display: none;
}

@media screen and (max-width: 768px) {
  .facility_info {
    margin-bottom: 1.7rem;
    flex-flow: column-reverse;
    line-height: 1.5;
    padding: 0 1.6rem;
  }
  .facility_detail {
    border-left: 0;
    padding-left: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-end;
  }
  .facility_title  {
    width: calc(100% - 8.5rem);
  }
  .facility_detail .facility_plase {
    font-size: 1.3rem;
  }
  .facility_detail .facility_name {
    font-size: 2.1rem;
    margin-bottom: 0;
  }
  .facility_detail .facility_representative {
    font-size: 1.6rem;
  }
  .facility_detail .facility_overview {
    margin-top: 1rem;
  }
  .facility_detail .facility_overview dt {
    font-size: 1.3rem;
    padding: .5rem .7rem;
    margin-bottom: .9rem;
  }
  .facility_detail .facility_overview dd {
    font-size: 1.7rem; 
  }
  .facility_info .facility_img {
    margin-bottom: 1.5rem;
  }
  .facility_representative_img {
    display: block;
    width: 8.5rem;
  }
}


/* ---------------------------------
  case_detail
--------------------------------- */
.case_detail {
  margin-bottom: 3.6rem;
}
.case_detail h3 {
  font-size: 2.9rem;
  font-weight: 500;
  color: #0D8EB2;
  margin-bottom: 3rem;
}
.case_detail_content {
  display: flex;
  column-gap: 1.6rem;
  align-items: flex-start;
  line-height: 1.8;
}
.case_detail_content .case_detail_img {
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .case_detail {
    margin-bottom: 3rem;
    padding: 0 1.6rem;
  }
  .case_detail h3 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
  }
  .case_detail_content {
    flex-flow: column;
    line-height: 1.5;
  }
}


/* ---------------------------------
  dhc_message
--------------------------------- */
.dhc_message {
  background-color: #E7F2F5;
  padding: 2.8rem 5rem;
  display: flex;
  column-gap: 3rem;
  line-height: 1.8;
  align-items: center;
}
.dhc_message h3 {
  color: #0D8EB2;
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: .9rem;
  padding-left: 11.4rem;
}
.dhc_message .dhc_message_logo {
  flex-shrink: 0;
  width: 8.4rem;
}
@media screen and (max-width: 768px) {
  .dhc_message {
    padding: 2.5rem 1.6rem 2.4rem;
    line-height: 1.5;
    position: relative;
  }
  .dhc_message h3 {
    font-size: 2.1rem;
    text-align: left;
    margin-bottom: 1.9rem;
    padding-left: 0;
  }
  .dhc_message .dhc_message_logo {
    width: 4.8rem;
    position: absolute;
    top: 1.2rem;
    right: 1.6rem;
  }
  
}