@charset "utf-8";

.pc-off {
  display: none;
  @media screen and (max-width: 767px) {
    display: block;
  }
}

/* .inner {
	width: 95%;
} */

.w1200 {
  max-width: 120rem;
  width: 95%;
}

.w1440 {
  max-width: 144rem;
  width: 95%;
}

#contents {
  position: relative;
  z-index: 0;
}

#first-block {
  padding-top: 12.2rem;
  background-color: #f4fafa;
  padding-bottom: 8rem;
  position: relative;
  z-index: -1;
  @media screen and (max-width: 767px) {
    padding-top: 8.2rem;
    padding-bottom: 6rem;
  }
  .centered-contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    .card {
      margin-bottom: 3rem;
      box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
      border-radius: 0.6rem;
      width: 100%;
      height: auto;
      background-color: #fff;
      position: relative;
      display: flex;
      justify-content: center;
      padding: 8.4rem 23.4rem 5.2rem;
      box-sizing: border-box;
      @media screen and (max-width: 1245px) {
        padding: 8.4rem 19% 5.2rem;
      }
      @media screen and (max-width: 767px) {
        padding: 6rem 2rem 50%;
        margin-bottom: 2rem;
      }
      .pill-header {
        background-color: #3e576b;
        border-radius: 5rem;
        padding: 1.2rem 7.7rem;
        box-sizing: border-box;
        font-family: "Noto Sans JP", sans-serif;
        font-style: normal;
        font-weight: 700;
        font-size: 3rem;
        line-height: 3.6rem;
        text-align: center;
        letter-spacing: 0.04em;
        color: #ffffff;
        position: absolute;
        top: -2.2rem;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        @media screen and (max-width: 1245px) {
          padding: 1rem 3rem;
          font-size: 2rem;
          line-height: 1;
        }
        @media screen and (max-width: 767px) {
          font-size: 1.6rem;
          line-height: 1.65;
          padding: 0.6rem 2.2rem;
          width: 90%;
        }
      }
      .avatar1 {
        width: 23.6rem;
        position: absolute;
        left: 1rem;
        bottom: 0;
        @media screen and (max-width: 1245px) {
          width: 18%;
        }
        @media screen and (max-width: 767px) {
          width: 36%;
          left: 48%;
        }
        & img {
          vertical-align: bottom;
          width: 100%;
        }
      }
      .avatar2 {
        width: 23.6rem;
        position: absolute;
        right: 0.5rem;
        bottom: -0.7rem;
        @media screen and (max-width: 1245px) {
          width: 18%;
        }
        @media screen and (max-width: 767px) {
          width: 36%;
          right: 48%;
        }
        & img {
          vertical-align: bottom;
          width: 100%;
        }
      }
      .paragraph-container {
        width: 100%;
        & p {
          font-style: normal;
          font-weight: 700;
          font-size: 2.2rem;
          line-height: 277%;
          text-align: center;
          letter-spacing: 0.1em;
          color: #2d2d2d;
          position: relative;
          @media screen and (max-width: 1245px) {
            font-size: 1.8rem;
          }
          @media screen and (max-width: 1120px) {
            line-height: 2;
            text-decoration-line: underline;
            text-decoration-style: dashed;
            text-decoration-color: #a2a2a2;
            text-decoration-thickness: 2px;
            text-underline-offset: 4px;
          }
          @media screen and (max-width: 767px) {
            font-size: 1.4rem;
          }
          &::after {
            content: "";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            height: 0.2rem;
            width: 100%;
            background: url("../../img/medical_md/dashed-border.png") no-repeat
              center / contain;
            @media screen and (max-width: 1120px) {
              display: none;
            }
          }
        }
      }
    }
    .green-arrow {
      width: 3.7rem;
      margin-bottom: 3rem;
      @media screen and (max-width: 767px) {
        width: 2.4rem;
        margin-bottom: 2rem;
      }
      & img {
        width: 100%;
      }
    }
    .ellipse-container {
      position: relative;
      padding-top: 2.2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      &::before {
        content: "";
        position: absolute;
        z-index: -1;
        width: 56.6rem;
        height: 56.6rem;
        border-radius: 56.6rem;
        background-color: #fff;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        @media screen and (max-width: 767px) {
          width: 40rem;
          height: 40rem;
          border-radius: 40rem;
        }
      }
      .green-heading {
        font-style: normal;
        font-weight: 700;
        font-size: 3rem;
        line-height: 133%;
        text-align: center;
        letter-spacing: 0.04em;
        color: #38a78a;
        margin-bottom: 1.9rem;
        @media screen and (max-width: 767px) {
          font-size: 1.8rem;
          margin-bottom: 1.4rem;
        }
      }
      .description {
        font-style: normal;
        font-weight: 500;
        font-size: 1.8rem;
        line-height: 200%;
        text-align: center;
        letter-spacing: 0.04em;
        color: #2d2d2d;
        margin-bottom: 2.7rem;
        @media screen and (max-width: 767px) {
          font-size: 1.4rem;
          line-height: 1.65;
          margin-bottom: 1.4rem;
          letter-spacing: 0.02em;
        }
      }
      .avatar3 {
        width: 27.237rem;
        @media screen and (max-width: 767px) {
          width: 40%;
        }
        & img {
          width: 100%;
        }
      }
    }
  }
}

#second-block {
  padding-top: 9rem;
  padding-bottom: 12.4rem;
  background: linear-gradient(to bottom, #e2e2e2 0%, #ffffff 100%);
  /* clip-path: polygon(0 0, 100% 0, 100% 94%, 70% 97%, 50% 100%, 25% 96%, 0 93%); */
  clip-path: polygon(0% 0%, 100% 0%, 100% 94%, 50% 100%, 0% 94%);
  position: relative;
  z-index: 2;
  @media screen and (max-width: 767px) {
    padding-top: 6rem;
    padding-bottom: 6rem;
    clip-path: polygon(0% 0%, 100% 0%, 100% 98%, 50% 100%, 0% 98%);
  }
  .header01 {
    margin-bottom: 4.6rem;
    font-style: normal;
    font-weight: 700;
    font-size: 3.6rem;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.04em;
    color: #2d2d2d;
    @media screen and (max-width: 767px) {
      margin-bottom: 3rem;
      font-size: 1.8rem;
    }
    & span {
      position: relative;
      &::after {
        position: absolute;
        content: "";
        width: 0.7rem;
        height: 0.7rem;
        border-radius: 0.7rem;
        background-color: #79b584;
        left: 50%;
        transform: translateX(-50%);
        top: -0.1rem;
        @media screen and (max-width: 767px) {
          width: 0.4rem;
          height: 0.4rem;
          border-radius: 0.4rem;
          top: -0.2rem;
        }
      }
    }
  }
  .card-list {
    display: flex;
    justify-content: center;
    gap: 2.7rem;
    margin-bottom: 8.9rem;
    @media screen and (max-width: 767px) {
      flex-direction: column;
      margin-bottom: 5rem;
    }
    .card {
      width: 100%;
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      background: #eef5f3;
      border-radius: 1rem;
      padding: 3.6rem 4.2rem 3.4rem;
      box-sizing: border-box;
      position: relative;
      @media screen and (max-width: 767px) {
        padding: 3rem 2rem;
      }
      /* &::before {
				content: "";
				position: absolute;
				width: 5.1rem;
				height: 5.1rem;
				left: 50%;
				transform: translateX(-50%);
				bottom: -2.5rem;
				background: url("../../img/medical_md/card-arrow.png") no-repeat center / contain;
				z-index: -1;
				@media screen and (max-width: 767px) {
					width: 3rem;
					height: 3rem;
					bottom: -1.5rem;
				}
			} */
      .header {
        font-style: normal;
        font-weight: 700;
        font-size: 2.8rem;
        line-height: 1;
        display: flex;
        align-items: flex-end;
        text-align: center;
        letter-spacing: 0.04em;
        color: #2d2d2d;
        @media screen and (max-width: 767px) {
          font-size: 1.6rem;
        }
      }
      .object {
        height: 21.4rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        @media screen and (max-width: 767px) {
          height: auto;
        }
        .object1 {
          width: 14.172rem;
          height: auto;
          @media screen and (max-width: 767px) {
            transform: scale(0.6);
          }
        }
        .object2 {
          width: 13.146rem;
          height: auto;
          @media screen and (max-width: 767px) {
            transform: scale(0.6);
          }
        }
        .object3 {
          width: 12.731rem;
          height: auto;
          @media screen and (max-width: 767px) {
            transform: scale(0.6);
          }
        }
      }
      .description {
        font-style: normal;
        font-weight: 500;
        font-size: 1.6rem;
        line-height: 162%;
        letter-spacing: 0.04em;
        color: #2d2d2d;
        @media screen and (max-width: 767px) {
          font-size: 1.4rem;
        }
      }
    }
  }
  .lg-green-text {
    font-style: normal;
    font-weight: 700;
    font-size: 3.6rem;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.04em;
    color: #38a78a;
    @media screen and (max-width: 767px) {
      font-size: 1.6rem;
      line-height: 1.6;
    }
  }
}

#third-block {
  background-color: #f4fafa;
  position: relative;
  margin-top: -12.4rem;
  padding-top: 18.6rem;
  padding-bottom: 12rem;
  @media screen and (max-width: 767px) {
    margin-top: -6rem;
    padding-top: 10rem;
    padding-bottom: 6rem;
  }
  .card-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7rem;
    @media screen and (max-width: 767px) {
      gap: 4rem;
    }
    .card {
      width: 100%;
      background-color: #fff;
      filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
      padding: 7rem 12rem;
      box-sizing: border-box;
      @media screen and (max-width: 767px) {
        padding: 4rem 2rem;
      }
      .pill {
        margin-bottom: 6rem;
        background-color: #f0f4f3;
        border-radius: 10.85rem;
        padding: 3.4rem 6.5rem 3.4rem 4.9rem;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        gap: 4rem;
        @media screen and (max-width: 767px) {
          margin-bottom: 4rem;
          gap: 1.4rem;
          padding: 2rem;
          border-radius: 2rem;
          align-items: center;
        }
        .profile {
          width: 14.922rem;
          @media screen and (max-width: 767px) {
            width: 8rem;
          }
          & img {
            width: 100%;
          }
        }
        .comment {
          flex: 1;
          font-style: normal;
          font-weight: 700;
          font-size: 2.2rem;
          line-height: 145%;
          letter-spacing: 0.02em;
          color: #38a78a;
          @media screen and (max-width: 767px) {
            font-size: 1.4rem;
            width: 100%;
            flex: 1;
          }
        }
      }
      .heading-set {
        padding-bottom: 2.4rem;
        margin-bottom: 3rem;
        position: relative;
        @media screen and (max-width: 767px) {
          padding-bottom: 2rem;
          margin-bottom: 2.6rem;
        }
        &::after {
          content: "";
          position: absolute;
          width: 100%;
          height: 2.4rem;
          left: 50%;
          transform: translateX(-50%);
          bottom: 0;
          background: url("../../img/medical_md/bar.png") no-repeat center /
            100% auto;
          @media screen and (max-width: 767px) {
            height: 2rem;
            background: url("../../img/medical_md/bar.png") no-repeat center /
              cover;
          }
        }
        .green-header {
          margin-bottom: 1.6rem;
          font-style: normal;
          font-weight: 700;
          font-size: 2rem;
          line-height: 1;
          text-align: center;
          letter-spacing: 0.04em;
          color: #38a78a;
          @media screen and (max-width: 767px) {
            font-size: 1.6rem;
            margin-bottom: 1rem;
          }
        }
        .black-header {
          font-style: normal;
          font-weight: 700;
          font-size: 32px;
          line-height: 32px;
          text-align: center;
          letter-spacing: 0.04em;
          color: #2d2d2d;
          padding-bottom: 2.4rem;
          @media screen and (max-width: 767px) {
            font-size: 2.1rem;
            line-height: 1.4;
            padding-bottom: 2rem;
          }
        }
      }
      .content-flex {
        display: flex;
        justify-content: space-between;
        gap: 3rem;
        /* margin-bottom: 3.5rem; */
        @media screen and (max-width: 767px) {
          flex-direction: column-reverse;
          gap: 2rem;
        }
        .text-container {
          width: 100%;
          flex: 1;
          .green-pill {
            font-style: normal;
            font-weight: 700;
            font-size: 2rem;
            line-height: 1;
            text-align: center;
            letter-spacing: 0.04em;
            color: #ffffff;
            background-color: #38a78a;
            padding: 0.5rem 2.1rem;
            box-sizing: border-box;
            border-radius: 1.65rem;
            margin-bottom: 1rem;
            display: inline-block;
            @media screen and (max-width: 767px) {
              font-size: 1.4rem;
              padding: 0.5rem 1.4rem;
            }
          }
          .bullet-list {
            margin-bottom: 2.2rem;
            margin-left: 3rem;
            @media screen and (max-width: 767px) {
              margin-left: 2rem;
            }
            & li {
              font-style: normal;
              font-weight: 500;
              font-size: 1.8rem;
              line-height: 2;
              letter-spacing: 0.04em;
              color: #2d2d2d;
              list-style-type: disc;
              @media screen and (max-width: 767px) {
                font-size: 1.4rem;
              }
            }
          }
          .orange-ellipse-flex {
            display: flex;
            gap: 2rem;
            @media screen and (max-width: 767px) {
              gap: 1.4rem;
              justify-content: center;
              width: 100%;
            }
            .orange-ellipse {
              background-color: #fa862e;
              width: 10.6rem;
              height: 10.6rem;
              border-radius: 10.6rem;
              display: flex;
              justify-content: center;
              align-items: center;
              flex-direction: column;
              font-style: normal;
              text-align: center;
              font-weight: 700;
              font-size: 1.8rem;
              line-height: 122%;
              letter-spacing: 0.04em;
              color: #ffffff;
              @media screen and (max-width: 767px) {
                font-size: 1.4rem;
                width: 8rem;
                height: 8rem;
                border-radius: 8rem;
              }
            }
          }
        }
        .img-container {
          width: 36.5rem;
          @media screen and (max-width: 767px) {
            width: 100%;
          }
          & img {
            width: 100%;
          }
        }
      }
      .green-box {
        width: 100%;
        background-color: #f4fafa;
        position: relative;
        padding: 5rem 1rem 4rem;
        box-sizing: border-box;
        display: flex;
        margin-top: 3.5rem;
        @media screen and (max-width: 767px) {
          padding: 5rem 2rem 4rem;
          flex-direction: column;
        }
        .pill-header {
          font-style: normal;
          font-weight: 700;
          font-size: 2.2rem;
          line-height: 1;
          letter-spacing: 0.04em;
          color: #ffffff;
          padding: 0.65rem 2rem;
          box-sizing: border-box;
          background-color: #38a78a;
          border-radius: 1.75rem;
          display: table;
          position: absolute;
          left: 50%;
          transform: translateX(-50%);
          top: -1.3rem;
          @media screen and (max-width: 767px) {
            font-size: 1.6rem;
            padding: 0.6rem 1.4rem;
          }
        }
        .box {
          width: 100%;
          flex: 1;
          padding: 0 3.8rem;
          box-sizing: border-box;
          border-right: #38a78a 2px solid;
          @media screen and (max-width: 767px) {
            padding: 0 0 2rem;
            border-right: none;
            border-bottom: #38a78a 2px solid;
            margin-bottom: 2rem;
          }
          .header {
            font-style: normal;
            font-weight: 700;
            font-size: 2.2rem;
            line-height: 1;
            letter-spacing: 0.04em;
            color: #38a78a;
            text-align: center;
            margin-bottom: 2rem;
            @media screen and (max-width: 767px) {
              font-size: 1.6rem;
              margin-bottom: 1.4rem;
            }
          }
          & p {
            font-style: normal;
            font-weight: 500;
            font-size: 1.5rem;
            line-height: 1.62;
            letter-spacing: 0em;
            color: #2d2d2d;
            @media screen and (max-width: 767px) {
              font-size: 1.4rem;
            }
          }
        }
        .box:last-child {
          border-right: none;
          @media screen and (max-width: 767px) {
            padding: 0;
            border-right: none;
            border-bottom: none;
            margin-bottom: 0;
          }
        }
      }
    }
  }
  .contact {
    @media screen and (max-width: 767px) {
      width: 100%;
    }
    .contact-text {
      font-style: normal;
      font-weight: 500;
      font-size: 2rem;
      line-height: 160%;
      text-align: center;
      letter-spacing: 0.04em;
      color: #2d2d2d;
      margin-bottom: 3.1rem;
      @media screen and (max-width: 767px) {
        font-size: 1.6rem;
      }
      & span {
        font-weight: 700;
        position: relative;
        &::before {
          content: "";
          position: absolute;
          width: 100%;
          height: 2.4rem;
          left: 49%;
          top: 52%;
          transform: translate(-50%, -50%);
          background: #fff5a8;
          z-index: -1;
        }
      }
    }
  }
}

.orange-btn {
  width: 74.8rem;
  height: 17.3rem;
  background: #fff5ea;
  border: 4px solid #ffa35d;
  border-radius: 8.65rem;
  position: relative;
  padding: 5.3rem 7rem;
  box-sizing: border-box;
  text-decoration: none;
  transition: all 0.3s ease-in;
  @media screen and (max-width: 767px) {
    padding: 3rem 2rem 21rem;
    width: 100%;
    display: block;
    height: 11.3rem;
    border-radius: 2rem;
  }
  &:hover {
    opacity: 0.75;
  }
  .btn-text {
    max-width: 31.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    @media screen and (max-width: 767px) {
      max-width: 100%;
      width: 100%;
    }
    .orange-text {
      font-style: normal;
      font-weight: 700;
      font-size: 1.8rem;
      line-height: 1;
      text-align: center;
      letter-spacing: 0.04em;
      color: #fa862e;
      display: inline-block;
      width: fit-content;
      margin: 0 auto 1.1rem;
      padding: 0 0.8rem;
      position: relative;
      @media screen and (max-width: 767px) {
        font-size: 1.4rem;
      }
      &::before,
      &::after {
        content: "";
        position: absolute;
        bottom: 0;
        width: 0.2rem;
        height: 1.4rem;
        background: #fa862e;
        border-radius: 0.2rem;
      }
      &::before {
        left: 0;
        transform: rotate(-20deg);
      }
      &::after {
        right: 0;
        transform: rotate(20deg);
      }
    }
    .black-text {
      font-style: normal;
      font-weight: 700;
      font-size: 3rem;
      line-height: 1;
      text-align: center;
      letter-spacing: 0.04em;
      color: #2d2d2d;
      @media screen and (max-width: 767px) {
        font-size: 2.2rem;
      }
    }
  }
  .btn-avatar {
    position: absolute;
    bottom: -0.1rem;
    right: 7.9rem;
    width: 22.7rem;
    @media screen and (max-width: 767px) {
      right: unset;
      left: 50%;
      transform: translateX(-50%);
      width: 18rem;
    }
    & img {
      width: 100%;
    }
  }
}

#process {
  width: 100%;
  background-color: #fff;
  padding-top: 10rem;
  padding-bottom: 11rem;
  @media screen and (max-width: 767px) {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .header01 {
    margin-bottom: 5rem;
    font-style: normal;
    font-weight: 700;
    font-size: 3.6rem;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.04em;
    color: #38a78a;
    @media screen and (max-width: 767px) {
      margin-bottom: 4rem;
      font-size: 1.8rem;
    }
  }
  .process-list {
    display: flex;
    gap: 7rem;
    margin-bottom: 3.4rem;
    justify-content: center;
    @media screen and (max-width: 767px) {
      gap: 12%;
      flex-wrap: wrap;
      margin-bottom: 1rem;
    }
    .container {
      width: 17.8rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      @media screen and (max-width: 767px) {
        width: 44%;
        margin-bottom: 2rem;
      }
      &::after {
        content: "";
        position: absolute;
        width: 2.4rem;
        height: 2.4rem;
        right: -5rem;
        bottom: 7.5rem;
        background: url("../../img/medical_md/process-arrow.png") no-repeat
          center / contain;
        @media screen and (max-width: 767px) {
          width: 1.4rem;
          height: 1.4rem;
          right: -3rem;
        }
      }
      .header {
        margin-bottom: 2rem;
        display: flex;
        @media screen and (max-width: 767px) {
          margin-bottom: 1rem;
        }
        .num {
          font-style: normal;
          font-weight: 700;
          font-size: 2rem;
          line-height: 1.5;
          text-align: center;
          letter-spacing: 0.04em;
          color: #38a78a;
          @media screen and (max-width: 767px) {
            font-size: 1.6rem;
          }
        }
        .text {
          font-style: normal;
          font-weight: 700;
          font-size: 2rem;
          line-height: 1.5;
          text-align: center;
          letter-spacing: 0.04em;
          color: #2d2d2d;
          @media screen and (max-width: 767px) {
            font-size: 1.6rem;
          }
        }
      }
      .ellipse {
        width: 100%;
        & img {
          width: 100%;
        }
      }
    }
    .container:nth-child(even) {
      @media screen and (max-width: 767px) {
        &::after {
          display: none;
        }
      }
    }
    .container:last-child {
      &::after {
        display: none;
      }
    }
  }
  .centered-text {
    margin-bottom: 7rem;
    font-style: normal;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 162%;
    text-align: center;
    letter-spacing: 0.04em;
    color: #2d2d2d;
    @media screen and (max-width: 767px) {
      margin-bottom: 3rem;
      font-size: 1.4rem;
    }
  }
  .orange-btn {
    display: flex;
    margin: 0 auto;
  }
}
