@charset "UTF-8";

/*
 * Summary:
 * 診療内容他、サイドに追従メニューがあるレイアウト
 * 美容自由診療ページ
 */

.medical-beauty {
  background-image: url(../img/medical_beauty/mv_beauty.webp);
}

.page-hero__title--en-s {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.2rem, 3.191489vw, 1.6rem);
  line-height: 1.2;
  margin-top: 1em;
}

#contents.beauty {
  .categorySidebar .sidebar-sticky-content .js-sidebar-links {
    @media (min-width: 768px){
      li:before {transition: all .4s;}
      li:not(.current) {
        &:before {
          content: "";
          width: 0;
        }
        a {
          padding-left: 0;
        }
      }
    }
  }
  /* .categorySidebar .sidebar-sticky-content .js-sidebar-links */

  .sectionTitle {
    text-align: left;
  }
  /* sectionTitle */
}
/* #contents.beauty */

/* END COMMON */

.mgt_05 {
  margin-top: 0.5em;
}
.mgt_1 {
  margin-top: 1em;
}

.section.section_beauty {
  padding-top: 10%;
  padding-bottom: 45px;
  @media (min-width: 768px){
    padding-top: 0;
    padding-bottom: 95px;
  }
}


@media (min-width: 1080px) {
  .hide-pc {display: none;}

  .item_box_note_text {
    text-align: left;
  } /* item_box_note_text */
  .item_box_note.last {
    align-items: flex-start;
    .item_box_note_icon {margin-top: 0.5em;}
  } /* .item_box_note.last */
} /* media */



#contents.beauty {

  .mt2em {margin-top: 2em;}
  .mt1em {margin-top: 1em;}
  .mt05em {margin-top: 0.5em;}
  .mt3050 {
    margin-top: 30px;
    @media (min-width: 768px){
      margin-top: 50px;
    }
  }
  .sentenceBody .mt_05 {margin-top: 0.5em;}

  .section_about {
    text-align: left;
    line-height: 1.625;


    picture {
      aspect-ratio: 250 / 180;

      @media (min-width: 768px){
        min-width: 250px;
        width: 250px;
      }

      & img {
        border-radius: 15px;
      }
    }

    &.mt3050-1em {
      margin-top: 30px;
      @media (min-width: 768px){
        margin-top: calc(50px - 1em);
      }
    }

    .sentenceBody {
      font-size: 15px;
      line-height: 1.625;
      margin-top: 1em;

      @media (min-width: 768px){font-size: 16px;margin-top: 0;}
    }

    .sectionSubTitle {
      color: #334399;
      font-size: 18px;
      font-weight: 400;
      margin-top: 1em;

      @media (min-width: 768px){
        font-size: 20px;
        margin-top: inherit;
      }
    }

  }
  /* .section_about */
  .sentence_subbody {
    font-size: 15px;
    line-height: 1.625;
    text-align: left;
    margin-top: 1em;

    @media (min-width: 768px){
      font-size: 16px;
    }
  }
  /* sentence_subbody */

}


/* #about.section */
#about.section {}
/* #about.section */



/* #injectionDrip.section */
#injectionDrip.section {}

.vitamin_message {
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}
@media (max-width: 767px){
  .vitamin_message {
    font-size: 1.5rem;
  }
}

.vitamin_list_wrap {
  margin: 50px auto;
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;


  @media (max-width: 1000px){
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem 0;
  }

  .vitamin_list_content {
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;

    @media screen and (max-width: 1200px) {
      padding: 20px;
    }
  }

  .vitamin_item_title {
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #324298;
    font-size: 20px;

    h3 { font-weight: 400; }
  }
  @media screen and (max-width: 1400px) {
    .vitamin_item_title{
      font-size:  18px;
    }
  }
  @media screen and (max-width: 600px) {
    .vitamin_item_title{
      flex: 1;
      font-size: 20px;
    }
  }

  .vitamin_item_title.h60 {
    height: 60px;
    min-height: 60px;
    & + .vitamin_item_img {margin-top: 0;}
  }

  .vitamin_item_img {
    max-width: 240px;
    margin: 2rem auto;
    xflex: 1;

    & img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  .vitamin_item_text {
    text-align: left;
    line-height: 1.6;
    margin-bottom: 2em;
    font-size: 16px;
  }

  .vitamin_price {
    margin-top: auto;
    text-align: right;
    font-size: 16px;
    line-height: 1.6;
  }

  .label_blue {
    background-color: #324298;
    color: #FFF;
    text-align: center;
    font-size: 2.0rem;
    line-height: 1.3;
    border-radius: 6px;
    font-weight: 400;
    padding: 0.5em;
  }

}

.vitamin_list_wrap .vitamin_list_content.is_soldout {
  position: relative;

  &:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.5);

  } /* before */

  &:after {
    white-space: pre;
    content: "出荷調整のため\A受付停止中";
    text-align: center;
    color: #ffffff;

    font-size: 24px;

    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 90%;
    height: fit-content;
  }
} /* .vitamin_list_wrap .vitamin_list_content */


.item_box_text {
  line-height: 1.6;
}
.item_box_note.last {margin-bottom: 0;}



/* #injectionDrip.section */


/* #aga.section */
/* #aga.section */


/* #ed.section */
/* #ed.section */



/* #pylori.section */
.item_box_wrap{
  margin-top: 100px;
}
.item_box {
  margin: 10px auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-columns: 27% auto 21%;
  gap: 1rem;
}
.section .section-title.line.item_text{
  margin-bottom: 50px;
}
.item_title,
.item_text,
.item_price{
  padding: 0.5rem 1rem;
  background-color: #f7f7f7;
  line-height: 1.3;
  border-radius: 5px;
  display: flex;
  justify-content: center;
	align-items: center;
}
.item_box_text{
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}
.item_title {
  font-size: 2rem;
  font-size: clamp(1.5rem, 1.953125vw, 2.0rem);
  color: #334399;
  background: linear-gradient(90deg, rgba(219, 213, 234, 0.6) 0%, rgba(194, 222, 216, 0.6) 40%, rgba(203, 205, 231, 0.6) 100%);
}

.item_text {
  font-size: 2.0rem;
  font-size: clamp(1.5rem, 1.953125vw, 2.0rem);
  color: #334399;
}
@media screen and (max-width: 767px) {
  .item_text {
    font-size: 1.6rem;
  }
}
.item_price{
  font-size: 1.6rem;
  font-size: clamp(1.4rem, 1.8229vw, 1.6rem);
}
@media screen and (max-width: 767px) {
  .item_price{
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  .item_box {
    grid-template-columns: repeat(2, 1fr);
  } 
}
@media screen and (max-width: 767px) {
  .item_title {
    grid-area: 1 / 1 / 2 / 3;
    padding: 1.5rem 1rem;
  }
}


@media screen and (min-width: 768px) {
  .melasma__item_box.item_box {
    & .item_title {
      grid-area:1 / 1 / 3 / 2;
    }
  }
}

/* #pylori.section */



/* #melasma.section */
.beauty_package_box {

  border-radius: 10px;
  padding: 3rem;
  margin-top: 5rem;

  .package_header {
    font-size: 3.5rem;
    line-height: 1.2;
    text-align: center;
    font-weight: bold;
    color: #fff;
    background-color: #324298;
    border-radius: 5px;
    padding: 1.5rem;
  }
  @media screen and (max-width: 767px) {
    .package_header {
      font-size: clamp(2.0rem, 5.319148vw, 4.0rem);
    }
  }

  .list_package {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;

    @media screen and (max-width: 767px) {
      grid-template-columns: repeat(1, 1fr);
    }

    li {
      background-color: #fff;
      border-radius: 5px;
      padding: 3rem;

      .list_header {
        border-radius: 5px;
        color: #fff;
        background-color: #324298;
        padding: 0.5em;
        font-size: 2.0rem;
        font-weight: bold;
        text-align: center;
      }

      .percentage {
        display: flex;
        align-items: center;
        justify-content: center;

        color: #EA1F69;
        font-weight: bold;
        margin-top: 10px;

        .number {
          font-size: 100px;
          line-height: 1;
        } /* number */

        .percent {
          margin-left: 10px;
          span {
            display: block;
            line-height: 1;
          }
          span:nth-of-type(1) {
            font-size: 50px;
          }
          span:nth-of-type(2) {
            font-size: 25px;
          }
        } /* percent */
      } /* percentage */

      .menu_name {
        font-size: 1.8rem;
        line-height: 1;
        text-align: center;
        margin-top: 1em;
        font-weight: bold;
      } /* menu_name */

      .price_std {
        font-size: 1.6rem;
        line-height: 1;
        text-align: center;
        font-weight: bold;
        margin-top: 0.5em;

        text-decoration: line-through;
        text-decoration-thickness: 0.2rem;
      } /* price_std */

      .price_deal {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: baseline;
        font-weight: bold;
        color: #324298;

        line-height: 1;
        margin-top: 16px;

        .pricing {
          font-size: 3.0rem;
        }
        .yen {
          font-size: 1.8rem;
        }
      }
    }
  }
}


/* #tumorMarkers.section */



/* #gut_health.section */

#gut_health {

  .item_box_note{
    margin: 5rem auto;
    padding: 3rem;
    max-width: 1200px;
    width: 100%;
    border-radius: 15px;
  }

  .item_box_note_title {
    font-size: 2.0rem;
    font-weight: bold;
    line-height: 1.2;
    color: #334399;
    text-align: left;
    margin-bottom: 1em;
  }

  .item_box_note_text{
    font-size: 1.6rem;
    line-height: 1.7;
    text-align: left;

    @media screen and (max-width: 767px) {
      font-size: 1.5rem;
    }
  }

}

/* #gutHealth.section */
#gutHealth.section {}

.inspectionBox {
  margin: 50px auto;
  padding: 20px;
  @media (min-width: 768px) {
    padding: 30px;
  }

  .inspectionBoxTitle {
    color: #334399;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    @media (min-width: 768px) {
      font-size: 2.0rem;
    }
  }

  .inspectionBoxText {
    font-size: 15px;
    line-height: 1.625;
    margin-top: 1em;
    text-align: left;
    @media (min-width: 768px) {
      font-size: 16px;
      letter-spacing: 0.07em;
    }
  }

  .inspection_item {
    margin-top: 3rem;

    .inspection_item--title {
      color: #334399;
      font-size: 18px;
      font-weight: 500;
      line-height: 1.5;
      border-bottom: solid 1px #334399;
      padding-bottom: 1rem;
      text-align: left;
      @media (min-width: 768px) {
        font-size: 2.0rem;
      }
    }
    .inspection_item_content {
      margin-top: 2rem;
    }
    .inspection_item_content.flex-md {
      gap: 20px;
    }
    .inspection_item--text {
      font-size: 15px;
      line-height: 1.625;
      text-align: left;
      margin-top: 1rem;
      @media (min-width: 768px) {
        font-size: 16px;
        margin-top: 0;
      }
    }
    picture {
      aspect-ratio: 250 / 180;
      border-radius: 1rem;
      overflow: hidden;
      @media (min-width: 768px) {
        min-width: 250px;
        width: 250px;
      }
    }

    .mgt-1rem {margin-top: 1rem;}
    .mgt-2rem {margin-top: 2rem;}

    .inspection_price_item {
      display: grid;
      grid-template-columns: 30% auto;
      width: 100%;
      gap: 1rem;

      .inspection_price_item--title {
        font-size: 2rem;
        font-size: clamp(1.5rem, 1.953125vw, 2.0rem);
        font-weight : 500;
        padding: 0.5rem;
        color: #FFF;
        background: #334399;
        border-radius: 0.5rem;
        text-align: center;
      }
      .inspection_price_item--price {
        font-size: 1.6rem;
        font-size: clamp(1.4rem, 1.8229vw, 1.6rem);
        padding: 0.5rem 1rem;
        color: #231815;
        background: #FFF;
        border-radius: 0.5rem;
        text-align: center;
      }
    }
  }
}

@media screen and (min-width: 768px) {
  .flex-md.row-reverse {
    flex-direction: row-reverse;
  }
}

/* #gut_health.section */

/* #medicalWeightLoss.section */
.medicalWeightLossBox {
  margin: 50px auto;
  padding: 20px;
  @media (min-width: 768px) {
    padding: 30px;
  }

  .medicalWeightLossBoxTitle {
    color: #334399;
    font-size: 1.8rem;
    font-weight: 500;
    border-bottom: solid 1px #334399;
    padding-bottom: 1rem;
    line-height: 1.5;
    text-align: center;
    @media (min-width: 768px) {
      font-size: 2.0rem;
    }
  }

  .features_item {
    margin-top: 3rem;

    .features_item--title {
      color: #334399;
      font-size: 18px;
      font-weight: 500;
      line-height: 1.5;
      text-align: center;
      margin-bottom: 1rem;
      @media (min-width: 768px) {
        font-size: 2.0rem;
        text-align: left;
      }
    }
    .features_item_content {
      margin-top: 2rem;
    }
    .features_item_content.flex-md {
      gap: 20px;
      align-items: center;
    }
    .features_item--text {
      font-size: 15px;
      line-height: 1.625;
      text-align: left;
      margin-top: 1rem;
      @media (min-width: 768px) {
        font-size: 16px;
        margin-top: 0;
      }
    }
    picture {
      width: 65%;
      margin: 0 auto;
      @media (min-width: 768px) {
        min-width: 120px;
        width: 120px;
        margin: 0;
      }
    }

  }

}
/* #medicalWeightLoss.section */
