@charset "UTF-8";

.babyskincare-container {

  .babyskincare-contents {

    .page-head {
      .page-head_inner {
        padding: 0 24px 78px;
        @media (min-width: 768px) {
          padding: 80px 0 0;
        }
        &::before {
          position: absolute;
          top: -34px;
          right: 24px;
          content: "";
          display: block;
          width: 43px;
          height: 42px;
          background: url(../img/page-head_decoration1.svg) 0 0 no-repeat;
          background-size: contain;
          @media (min-width: 768px) {
            top: 0;
            left: 60px;
            right: auto;
          }
        }
        &::after {
          position: absolute;
          bottom: 0;
          left: 24px;
          content: "";
          display: block;
          width: 65px;
          height: 60px;
          background: url(../img/page-head_decoration2.svg) 0 0 no-repeat;
          background-size: contain;
          @media (min-width: 768px) {
            bottom: 70px;
            left: auto;
            right: 90px;
          }
        }

        .page-head_title {
          @media (min-width: 768px) {
            display: inline-block;
          }
          .page-head_title_sub {
            position: relative;
            font-family: var(--text-family-zenmaru);
            font-size: 20px;
            line-height: 1.5;
            color: #46A3B0;
            text-align: center;
            @media (min-width: 768px) {
              font-size: 30px;
            }
            &::after {
              display: block;
              content: "";
              width: 34px;
              height: 4px;
              margin: 8px auto 0;
              background: url(../img/page-head_subtitle.svg) 50% 0 no-repeat;
            }
          }
          .page-head_title_h1 {
            margin-top: 8px;
            font-family: var(--text-family-zenmaru);
            font-size: 27px;
            line-height: 1.5;
            color:#595555;
            font-weight: 600;
            text-align: center;
            @media (min-width: 768px) {
              font-size: 42px;
            }
          }
        }

      }
    }

    .page-lead {
      @media (min-width: 768px) {
        max-width: 840px;
        margin: 48px auto 0;
      }
      p { margin-top: 36px; }
      p + p {
        margin-top: 24px;
        @media (min-width: 768px) {
          margin-top: 16px;
        }
      }
    }

    .professional {
      margin-top: 48px;
      @media (min-width: 768px) {
        background: url(../img/professional_bg.webp) 50% 68px no-repeat;
        background-size: 1440px auto;
      }
      @media (min-width: 1440px) {
        background-size: 1440px auto;
      }

      .professional_title {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 133px;
        padding: 0 30px;
        background-position: 0 50%, 100% 50%;
        background-repeat: no-repeat;
        background-image: url(../img/professional_title_left.svg), url(../img/professional_title_right.svg);
        background-size: 26px auto;
        color: #46A3B0;
        font-family: var(--text-family-zenmaru);
        font-size: 20px;
        line-height: 1.5;
        text-align: center;
        @media (min-width: 768px) {
          max-width: 420px;
          margin: 0 auto;
        }
      }

      .professional_list {
        margin: 32px -24px 0;
        @media (min-width: 768px) {
          display: flex;
          gap: 74px;
          max-width: 748px;
          margin: 32px auto 0;
        }

        li + li {
          margin-top: 40px;
          @media (min-width: 768px) {
            margin-top: 0;
          }
        }
        li {
          min-height: 252px;
          padding-bottom: 38px;
          background-repeat: no-repeat;
          background-size: 284px auto;
          @media (min-width: 768px) {
            width: calc(33.3% - 49px);
            padding: 290px 0 0 !important;
            background: none !important;
          }
          &:nth-child(1) {
            padding-left: 171px;
            padding-right: 18px;
            background-image: url(../img/professional_01.webp);
            background-position: 0 100%;
          }
          &:nth-child(2) {
            padding-left: 32px;
            padding-right: 157px;
            background-image: url(../img/professional_02.webp);
            background-position: 100% 100%;
          }
          &:nth-child(3) {
            padding-left: 171px;
            padding-right: 18px;
            background-image: url(../img/professional_03.webp);
            background-position: 0 100%;
          }

          p + p { margin-top: 8px; }
          .professional_list_title {
            font-size: 11px;
            @media (min-width: 768px) {
              margin-top: 24px;
              font-size: 12px;
            }
          }
          .professional_list_name { font-size: 14px; font-weight: 600; }
          .professional_list_text { font-size: 12px; }
          .professional_list_image { width: 100%; }
        }
      }

    }

    .page-anchor {
      ul {
        li {
          a {
            > img {
              position: absolute;
              top: -13px;
              right: 30px;
              z-index: 1;
            }

            .page-anchor_box {
              dl {
                display: table;
                dt, dd {
                  display: table-cell;
                  vertical-align: top;
                }
                dt { font-weight: 600; }
              }
              dl + dl { width: 100%; margin-top: 8px; padding-top: 8px; border-top: 1px solid #CCC8C8; }
              .q-a_q dt { color: #A66C9C; }
              .q-a_a dt { color: #46A3B0; }
            }
          }
        }
      }
    }

    .interview {
      position: relative;
      margin-top: 152px;
      padding: 48px 24px 168px;
      background: #EBFDFF;
      box-shadow: 0 0 32px rgba(0, 157, 255, 0.3);
      border-radius: 48px 48px 0 0;
      @media (min-width: 768px) {
        padding: 0 0 400px;
        border-radius: 80px 80px 0 0;
      }
      & + .interview { margin-top: -48px; }
      &.inversion {
        background: #fff;
      }
      &.is-interludeTop {
        border-radius: 0 0 48px 48px;
        @media (min-width: 768px) {
          border-radius: 0 0 80px 80px;
        }
      }

      .interview_head {
        @media (min-width: 768px) {
          display: grid;
          grid-template-columns: 40% 60%;
          grid-template-rows: 40% 60%;
        }
      }

      .interview_number {
        position: absolute;
        top: -30px;
        right: 33px;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        @media (min-width: 768px) {
          position: relative;
          top: auto;
          right: auto;
          display: block;
          justify-content: flex-start;
          align-items: stretch;
          grid-row: 1 / 2;
          grid-column: 1 / 2;
          padding: 75px 0 0 100px;
          img {
            position: absolute;
            top: 145px;
            left: 130px;
            width: 80px;
          }
        }
        &::before {
          display: block;
          content: "";
          width: 44px;
          height: 44px;
          margin-bottom: 3px;
          background: url(../img/interview_number_icon.svg) 0 0 no-repeat;
          background-size: contain;
          @media (min-width: 768px) {
            position: absolute;
            top: 75px;
            left: 100px;
          }
        }
      }

      .interview_title {
        @media (min-width: 1025px) {
          grid-row: 2 / 3;
          grid-column: 1 / 2;
          padding-left: 80px;
          padding-right: 30px;
        }
        h2, p {
          display: table;
          span {
            display: table-cell;
            vertical-align: top;
            font-size: 18px;
            font-weight: 600;
            @media (min-width: 768px) {
              font-size: 20px;
            }
          }
        }
        .interview_title_q {
          width: 88%;
          padding: 32px 32px 40px;
          background: linear-gradient(to right, #E9E5F8 0%, #D6D4EF 100%);
          border-radius: 100px;
          span:nth-child(1) { color: #A66C9C; }
        }
        .interview_title_a {
          width: 88%;
          margin: -20px 0 0 auto;
          padding: 40px 32px 32px;
          background: linear-gradient( to right, rgb(189 240 247 / 60%) 0%, rgb(123 222 237 / 60%) 100%);
          border-radius: 100px;
          span:nth-child(1) { color: #46A3B0; }
          em {
            background: linear-gradient(transparent calc(100% - 8px), #fff 0);
            padding: 0 2px 2px;
          }
        }
      }

      .interview_head_image {
        display: block;
        width: calc(100% + 48px);
        margin: 48px -24px 0;
        @media (min-width: 768px) {
          grid-row: 1 / 3;
          grid-column: 2 / 3;
          width: 100%;
          margin: -60px 0 0;
          border-radius: 32px 0 0 32px;
        }
      }

      .interview_title2 {
        position: relative;
        margin-top: 80px;
        padding: 24px;
        background: #fff;
        border-radius: 40px;
        font-size: 18px;
        font-weight: 600;
        @media (min-width: 768px) {
          max-width: 680px;
          margin: 112px auto 0;
          padding: 40px;
          font-size: 20px;
        }
        &::before {
          position: absolute;
          top: -22px;
          left: 20px;
          content: "";
          display: block;
          width: 30px;
          height: 31px;
          background: url(../img/interview_title2_decoration1.svg) 0 0 no-repeat;
          background-size: contain;
        }
        &::after {
          position: absolute;
          bottom: -17px;
          right: 27px;
          content: "";
          display: block;
          width: 25px;
          height: 27px;
          background: url(../img/interview_title2_decoration2.svg) 0 0 no-repeat;
          background-size: contain;
        }
      }
      &.inversion {
        background: #fff;
        .interview_title2 {
          background: #EBFDFF;
        }
      }

      .interview_talk {
        margin-top: 48px;
        display: table;
        margin-top: 48px;
        @media (min-width: 768px) {
          max-width: 680px;
          margin: 48px auto 0;
        }
        dt, dd {
          display: table-cell;
          vertical-align: top;
        }
        dt { width: 3em; font-weight: 600; }
        dd p + p { margin-top: 24px; }
        & + .interview_talk { margin-top: 32px; }
      }

      .interview_talk_image {
        display: block;
        width: 100%;
        margin-top: 32px;
        @media (min-width: 768px) {
          max-width: 680px;
          margin: 48px auto 0;
          padding-left: 3em;
          &.interview_talk_image2 {
            padding-left: 0;
          }
        }
        img {
          width: 100%;
          border-radius: 8px;
        }
      }

      .interview_talk_image_caption {
        margin: 32px auto 0;
        color: #595555;
        font-size: 13px;
        @media (min-width: 768px) {
          max-width: 680px;
        }
      }

      .interview_box {
        position: relative;
        margin-top: 32px;
        padding: 23px 0 44px;
        background: #F4FEFF;
        border-radius: 40px;
        overflow: hidden;
        @media (min-width: 768px) {
          max-width: 680px;
          margin: 64px auto 0;
          padding: 23px 14px 44px 60px;
          &.interview_box2 {
            padding: 23px 100px 44px;
          }
        }
        &::before {
          content: "";
          position: absolute;
          inset: 0;
          box-shadow: inset 0 0 24px 8px #96F5FF;
          pointer-events: none;
        }

        .interview_box_title {
          text-align: center;
          @media (min-width: 768px) {
            padding-right: 46px;
          }
          h4 {
            position: relative;
            overflow: hidden;
            display: inline-block;
            font-size: 18px;
            line-height: 2.0;
            font-family: var(--text-family-zenmaru);
            font-weight: 700;
            text-align: center;
            text-decoration-line: underline;
            text-decoration-color: #46A3B0;
            text-decoration-thickness: 1px;
            text-underline-offset: 10px;
          }
        }

        .interview_box_title2 {
          text-align: center;
          h4 {
            display: inline-block;
            font-size: 18px;
            line-height: 1.5;
            font-family: var(--text-family-zenmaru);
            font-weight: 700;
            text-align: center;
            span { 
              font-size: 16px;
              display: block;
              border-bottom: 1px solid #46A3B0;
              padding-bottom: 5px;
            }
          }
        }

        .interview_box_process {
          display: flex;
          flex-direction: column;
          @media (min-width: 768px) {
            flex-direction: row;
            flex-wrap: wrap;
          }
          li {
            position: relative;
            display: flex;
            flex-direction: column;
            width: 50%;
            text-align: center;
            @media (min-width: 768px) {
              width: 32%;
            }
            &:not(:last-child)::after {
              content: "";
              position: absolute;
              width: 26px;
              height: 26px;
              background: url(../img/process_arrow.svg) no-repeat 50% / contain;
              @media (min-width: 768px) {
                top: 20%;
                width: 40px;
                height: 23px;
                background-image: url(../img/process_arrow_lg.svg);
              }
            }
            &:nth-child(odd) {
              align-self: flex-start;
              &::after {
                right: 0;
                top: 50%;
                transform: translate(50%, 50%);
                @media (min-width: 768px) {
                  right: 10px;
                  top: 20%;
                }
              }
            }
            &:nth-child(even) {
              align-self: flex-end;
              &::after {
                left: 0;
                top: 50%;
                transform: translate(-50%, 50%) rotate(90deg);
                @media (min-width: 768px) {
                  left: auto;
                  right: 0;
                  top: 20%;
                  transform: translate(50%, 50%);
                }
              }
            }
            &:nth-child(n + 2) {
              margin-top: -90px;
              @media (min-width: 768px) {
                margin-top: 0;
              }
            }
            &:nth-child(3) {
              &::after {
                @media (min-width: 768px) {
                  top: 31%;
                  width: 55px;
                  height: 3px;
                  background-image: url(../img/process_arrow2_lg.svg);
                }
              }
            }
            &:nth-child(4) {
              @media (min-width: 768px) {
                width: 37%;
                padding-left: 60px;
                &::before {
                  content: "";
                  position: absolute;
                  width: 40px;
                  height: 23px;
                  left: 0;
                  right: auto;
                  top: 25%;
                  width: 70px;
                  height: 23px;
                  background-image: url(../img/process_arrow3_lg.svg);
                }
                &::after {
                  right: -16px;
                  top: 20%;
                  background-image: url(../img/process_arrow_lg.svg);
                }
                img {
                  width: 100%;
                }
              }
            }
            &:nth-child(5) {
              @media (min-width: 768px) {
                width: 56%;
                margin-left: 24px;
                .interview_box_process_number,
                p { width: 164px; }
                img {
                  margin-top: -2px;
                  width: 95%;
                }
              }
            }
          }

          .interview_box_process_number {
            display: block;
            font-size: 26px;
            line-height: 1.2;
            font-weight: 700;
            color: #fff;
            -webkit-text-stroke: 1.5px #A66C9C;
            font-family: var(--text-family-zenmaru);
          }
          p {
            margin-top: 3px;
            font-size: 14px;
            line-height: 1.5;
            font-weight: 600;
            text-align: center;
          }
          img {
            display: block;
            width: 100%;
            height: auto;
            margin-top: 7px;
            margin-inline: auto;
            @media (min-width: 768px) {
              width: 85%;
            }
          }
        }
        .interview_box_process_image {
          display: block;
          width: 100%;
          margin-top: 24px;
        }

        .interview_box_feature {
          display: flex;
          gap: 16px;
          margin-top: 8px;
          padding: 0 14px;
          @media (min-width: 768px) {
            gap: 32px;
            padding: 0;
          }
          .interview_box_feature_item {
            width: 50%;
            h5 {
              position: relative;
              display: flex;
              flex-direction: column;
              justify-content: center;
              align-items: center;
              min-height: 102px;
              padding: 0 18px;
              background-position: 0 50%, 100% 50%;
              background-repeat: no-repeat;
              background-image: url(../img/interview_box_feature_left.svg), url(../img/interview_box_feature_right.svg);
              background-size: 18px auto;
              text-align: center;
              font-size: 16px;
              font-weight: 700;
              line-height: 1.5;
              @media (min-width: 768px) {
                width: 76%;
                margin: 0 auto;
                background-position: 0 70%, 100% 70%;
                min-height: 106px;
                background-image: url(../img/interview_box_feature_left_lg.svg), url(../img/interview_box_feature_right_lg.svg);
                background-size: 21px auto , 18px auto;
              }
              span {
                display: block;
                font-size: 14px;
                em {
                  display: inline-block;
                  margin-left: 3px;
                  margin-bottom: -2px;
                  font-size: 26px;
                  line-height: 1.0;
                  font-weight: 700;
                  color: #fff;
                  -webkit-text-stroke: 1.5px #A66C9C;
                  font-family: var(--text-family-zenmaru);
                  @media (min-width: 768px) {
                    font-size: 24px;
                  }
                }
              }
            }
            p {
              margin-top: 8px;
              padding-left: 8px;
              font-size: 13px;
            }
          }
        }

        .interview_box_arrow {
          height: 66px;
          margin-top: 16px;
          padding-left: 11px;
          background: url(../img/interview_box_arrow.svg) no-repeat 50% / contain;
          font-size: 13px;
          font-weight: 600;
          text-align: center;
        }

        .interview_box_lead {
          margin-top: 20px;
          padding: 0 18px;
          font-size: 20px;
          font-weight: 600;
          text-align: center;
          em {
            background: linear-gradient(transparent calc(100% - 5px), #FACD3C 0);
            padding: 0 2px 4px;
          }
        }
        .interview_box_text {
          margin: 12px auto 0;
          padding: 0 18px;
          font-size: 13px;
          @media (min-width: 768px) {
            width: 90%;
          }
        }
      }

    }

    .interlude {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100vh;
      object-fit: cover;
      z-index: -1;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      &.is-visible {
        opacity: 1;
        visibility: visible;
      }
      & + .interview { margin-top: 100vh; }
    }

  }
}