@charset "UTF-8";

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

html {
  scroll-behavior: auto;
  scroll-padding-top: 50px;
  @media (min-width: 768px){scroll-padding-top: 100px;}
}

.l-center {
  margin-left: auto;
  margin-right: auto;
}

.mt-2040 {
  margin-top: 20px;
  @media (min-width: 768px){margin-top: 40px;}
}


section.section {
  /* min-height: 300px; */
}
section.py-50100 {
  padding: 45px 0;
  @media (min-width: 768px){padding: 95px 0;}
}

.sectionTitle {
  color: #334399;
  font-size: 15px;
  font-weight: 400;
  @media (min-width: 768px){font-size: 16px;}

  &.mb-2550 {
    margin-bottom: 25px;
    @media (min-width: 768px){margin-bottom: 50px;}
  }

  &.mt-50100 {
    margin-top: 50px;
    @media (min-width: 768px){margin-top: 100px;}
  }


  &:before {
    display: block;
    padding-bottom: 0.35em;
    content: attr(data-en);

    color: #334399;
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;

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

.Rounded {
  display: block;
  border-radius: 10px;
  @media (min-width: 768px){
    border-radius: 15px;
  }
}


.boxRounded {
  border-radius: 20px;
  padding: 20px;
  @media (min-width: 768px){
    border-radius: 20px;
    padding: 40px;
  }
}
.gradient {
  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%);
}
.flex-md {
  @media (min-width: 768px){
    display: flex;
  }

  &.items-top {align-items: flex-start;}
  &.items-center {align-items: center;}
  &.gap-40 {gap: 40px;}
  &.justify-between {justify-content: space-between;}
}

.sectionIcon {
  display: block;
  aspect-ratio: 1 / 1;
  width: 40px;
  height: auto;

  margin-left: auto;
  margin-right: auto;

  @media (min-width: 768px){
    width: 80px;
  }
}
/* sectionIcon */

.sectionIconHeader {
  font-size: 20px;
  text-align: center;
  font-weight: 500;
  margin-top: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #334399;

  @media (min-width: 768px){
    font-size: 29px;
    margin-top: 25px;
    padding-bottom: 30px;
  }


}
/* sectionIconHeader */

.sectionInformationWrapper {
  margin-top: 20px;
  @media (min-width: 768px){margin-top: 30px;}

  .sentence {
    text-align: left;

    .sentenceHeader {
      color: #334399;
      font-size: 15px;
      font-weight: bold;
      line-height: 1.625;
      margin-top: 1em;

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

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

      @media (min-width: 768px){
        font-size: 16px;

        &.mt-0 {margin-top: 0;}
      }
    }
  }
  /* sentence */

  .txt-sky {color: #2ea7e0;}

  picture {
    aspect-ratio: 690 / 438;

    margin-left: auto;
    margin-right: auto;

    @media (min-width: 768px){
      min-width: 250px;
      max-width: 250px;
      margin-left: inherit;
      margin-right: inherit;
    }
  }

}

  .checkList {
    display: flex;
    flex-wrap: wrap;
    /* gap: 1.25em; */
    grid-row-gap: 1.25em;

    margin-top: 2em;
    @media (min-width: 768px){
      margin-top: 35px;
    }

    li {
      position: relative;
      padding-left: 1.75em;
      font-size: 15px;
      line-height: 1.625;

      width: 48%;
      @media (min-width: 768px){
        width: 31%;
        font-size: 16px;

        &:nth-of-type(1),
        &:nth-of-type(4) {
          min-width: 225px;
          max-width: 225px;
        }
        &:nth-of-type(2),
        &:nth-of-type(5) {
          min-width: 155px;
          max-width: 155px;
        }
      }



      &:before {
        content: "";
        display: block;

        position: absolute;
        left: 0;
        top: 0.15em;

        aspect-ratio: 1 / 1;
        width: 20px;
        height: 20px;

        background: url("../img/medicals/icon_checkboc.svg") no-repeat center center;
        background-size: contain;

        @media (min-width: 768px){
          top: 0.25em;
        }
      }
    }

    &.w205 li {
       @media (min-width: 768px){
        &:nth-of-type(1),
        &:nth-of-type(4) {
          min-width: 205px;
          max-width: 205px;
        }
        &:nth-of-type(2),
        &:nth-of-type(5) {
          min-width: 205px;
          max-width: 205px;
        }
      }
    }
  }
  /* checkList */
/* sectionInformationWrapper */

/*
 * END COMMON PARTS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 */

#contents.main {
  overflow-x: clip;

  .InsideSideContainer {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;

    max-width: 1200px;
    margin: 0 auto;

    @media (min-width: 768px)
    {
      flex-direction: row;
      width: calc(670% / 7.50);
      margin-left: auto;
      margin-right: auto;
      padding-top: 100px;
    }
  }
  /* InsideSideContainer */

  .section .section-inner {
    padding: 0;
    @media (min-width: 768px) {
      max-width: inherit;
      width: 100%;
    }
  }

  .categorySidebar {
    width: 250px;
    flex-shrink: 0;
    position: relative;
    z-index: 4;

    @media (min-width: 768px) {
      position: sticky;
      top: 22rem;
      height: fit-content;
    }

    @media (max-width: 767px) {display: none;}

    .contentTitle {
      font-size: 20px;
      font-weight: bold;
      color: #334399;

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

    .sidebar-sticky-content {
      position: sticky;
      top: 40px;
      height: auto;
    }

    .js-sidebar-links {
      font-size: 15px;


      li {
        padding-left: 0;
        transition: all .3s;
        position: relative;

        margin-top: 5px;
        @media (min-width: 768px) {
          margin-top: 15px;
        }
        &:first-child {
          margin-top: 10px;
          @media (min-width: 768px) {margin-top: 20px;}
        }

        a {
          padding-left: .75em;
          color: #334399;
        }

        &:before {
          content: "";
          position: absolute;
          width: .5em;
          height: 2px;
          top: 0;
          left: 0;
          bottom: 0;
          margin: auto;
          background-color: #334399;
        }

        &.current {
          font-weight: bold;
          a {color: #2ea7e0;}

          &:before {
            background-color: #2ea7e0;
          }
        }
      }

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


    }
    /* js-sidebar-links */
  }
  /* categorySidebar */






  .mainContent {
    flex: 1;
    /* margin-left: 40px; */
    width: calc(100% - 250px);

    .section-bg-stretch {
      position: relative;
      padding-top: 45px;
      padding-bottom: 50px;

      @media (min-width: 768px) {
        padding-top: 95px;
        padding-bottom: 95px;
      }

      &::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: calc(-100vw + 100% - 240px);
        right: 50%;
        margin-right: -50vw;

        /* ----------------------------------------- */
        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%);
        z-index: -1;
      }

      .section-inner {
        padding-left: 0;
        padding-right: 0;
      }
    }

    @media (max-width: 767px){
      margin-left: auto;
      margin-right: auto;
      width: calc(670% / 7.50);
    }
  }
  /* mainContent */





  /*
   * SECTION INFORMATION
   */
   .sectionInformation {
      padding-top: 10%;
      padding-bottom: 45px;
      @media (min-width: 768px){
        padding-top: 0;
        padding-bottom: 95px;
      }

     .boxRounded.information {

       @media (max-width: 767px){
         margin-top: 40px;
       }

       picture {
         display: block;
       }

       .sentence {
         .sentenceHeader {
          margin-top: 1em;
          font-size: 20px;
          line-height: 1;
          color: #334399;

          @media (min-width: 768px){
            margin-top: 0;
            font-size: 22px;
            text-align: left;
          }
        }
        .sentenceBody {
          margin-top: 1em;
          font-size: 15px;
          line-height: 1.625;
          text-align: left;

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


        }
       }
       /* sentence */


       .apply_web {

        .bgc-sky {
          background-color: #2ea7e0;
          border-color: #2ea7e0;

          &:hover {
            background-color: #fff;
            color: #2ea7e0;

            &:after {background-color: #2ea7e0;}
          }
        }


        margin-top: 20px;
        @media (min-width: 768px){
          display: flex;
          justify-content: flex-start;
          gap: 20px;
          margin-top: 35px;

          .btn {
            margin-left: 0;
            margin-right: 0;
          }
        }

        @media (max-width: 767px){
          a:nth-of-type(2){margin-top: 1em;}
        }
      }
      /* apply_web */
     }
     /* boxRounded */
   }
   /* sectionInformation */
  /* .boxRounded.information */



  .sectionSubHeader {
    font-size: 18px;
    line-height: 1;
    font-weight: bold;

    text-align: left;
    margin-top: 2em;

    @media (min-width: 768px){
      font-size: 24px;
    }
  }
  .sentenceSubHeader {
    font-size: 16px;
    color: #334399;
    text-align: left;
    font-weight: bold;

    margin-top: 1.5em;

    @media (min-width: 768px){
      font-size: 18px;
    }
  }

}
/* #contents.main */





/*
 * Comon banner
 * Medical以外で使用している場合はglobalなcommonへ移動
 */
.reserve-banner {
    position: relative;
    /* display: flex; */
    display: block;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    /* min-height: 180px; */
    /* padding: 40px 20px; */
    width: calc(690% / 7.50);
    aspect-ratio: 690 / 420;
    text-decoration: none;
    color: #fff;

    max-width: 1200px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;

    @media (min-width: 768px) {
      margin-top: 100px;
      aspect-ratio: 1200 / 216;
    }

    .reserve-banner__bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      width: 100%;
      height: 100%;

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

    .reserve-banner__content {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      margin: auto;
      text-align: center;
      height: fit-content;
      width: 100%;

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

    .reserve-banner__lead {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      margin-bottom: 14px;
      font-size: 18px;
      font-weight: 400;
      line-height: 1;

      @media (min-width: 768px) {
        font-size: 24px;
      }

      span {
        width: 48px;
        height: 1px;
        background: #fff;
        opacity: .9;

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

    .reserve-banner__title {
      margin-bottom: 18px;
      font-size: 25px;
      font-weight: 400;
      line-height: 1.35;
      letter-spacing: .08em;

      @media (min-width: 768px) {
        font-size: 38px;
      }
    }

    .reserve-banner__text {
      font-size: 15px;
      line-height: 1.7;

      @media (min-width: 768px) {
        font-size: 18px;
      }
    }

    .reserve-banner__icon {
      position: absolute;
      right: 20px;
      bottom: 20px;
      z-index: 2;

      display: flex;
      align-items: center;
      justify-content: center;

      width: 28px;
      height: 28px;

      svg {
        width: 100%;
        height: auto;
      }
    }
  }
