@charset "UTF-8";
/*
 * MESSAGE
 */

.message {
  .page_mv {
    padding-top: 50px;
    @media screen and (min-width: 768px) {
      padding-top: 100px;
    }

    .mv_image {
      display: block;
      height: 200px;
      position: relative;

      @media screen and (min-width: 768px) {
        height: 400px;
      }

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

    .secTtl {
      text-align: left;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      padding-left: 0;
      &:after {content: none;}

      position: absolute;
      inset: 0;
      margin: auto;
      width: calc(670% / 7.50);
      height: fit-content;

      @media screen and (min-width: 768px) {
        max-width: 1200px;
      }
    }

  }
  /* page_mv */


  #message {
    
    .container {
      @media screen and (min-width: 768px) {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
      }
    }

    .sentence {
      @media screen and (min-width: 768px) {
        width: 515px;
      }
    }

    .section_title {
      @media screen and (max-width: 393px) {
        font-size: 1.9rem;
      }
      & .label_green {
        color: #fff;
        background-color: #a6c243;
        padding: 0 .15em;
      }
    }

    .icon_doctor {
      @media screen and (max-width: 767px) {
        display: none;
      }

      @media screen and (min-width: 768px) {
        display: block;
        position: absolute;
        aspect-ratio: 157 / 190;
        width: 157px;
        height: auto;

        position: absolute;
        top: -95px;
        right: 0;
      }
    }

    .md-right {
      width: 573px;
      position: relative;



      picture {
        display: block;
        width: 541px;
        margin-left: auto;
      }
    }


    picture {
      &.w96 {
        @media screen and (max-width: 767px) {
          width: 96%;
          display: block;
          margin-top: 25px;
        }
      }
      &.icon_person {
        display: block;
        position: absolute;
        bottom: -50px;
        left: -20px;
        width: 100px;
        height: 114px;
        z-index: 1;

        @media screen and (min-width: 768px) {
          width: 242px;
          height: 232px;
          left: 0;
          bottom: -100px;
        }
      }
    }

    .shadow {
      position: relative;
      z-index: 1;

      &:before {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        background-color: #33a947;

        position: absolute;
        bottom: -.85em;
        right: -.85em;
        z-index: -1;

        border-radius: 0 10px 0 10px;
        display: block;
        overflow: hidden;
        @media screen and (min-width: 768px) {
          border-radius: 0 18px 0 18px;
        }
      }
    }

  }

  #greeting {
    .greeting__body {
      border-radius: 2rem;
      padding: 100px;
    }
    @media (max-width: 767px) {
      .greeting__body {
        padding: 45px 15px 50px;
        border-radius: 1rem;
      }
    }

    .greeting__body_inner {
      max-width: 700px;
      width: 100%;
      margin: 0 auto;
    }

    .greeting__img {
      width: 100%;
    }

    .greeting__sentence {
      font-size: 18px;
      line-height: 1.6;
      margin-top: 2em;
      text-align: center;

      & .label_orange {
        display: inline-block;
        color: #fff;
        background-color: #ed4f09;
        padding: 0 .15em;
        font-size: 30px;
        font-weight: bold;
        margin: 0.5em 0;
        @media (max-width: 767px) {
          font-size: clamp(2rem, 5.333vw ,4rem);
        }
      }

      & .clr-green {
        color: #33a947;
      }
    }
    @media (max-width: 767px) {
      .greeting__sentence {
        font-size: clamp(1.5rem, 3.99vw, 1.8rem);
        line-height: 1.5;
      }
    }

    /*
    .greeting__image {
      position: relative;
    }
    @media (max-width: 767px) {
      .greeting__image {
        margin-top: 15px;
      }
    }
    .greeting__image picture {
      display: block;
      overflow: hidden;
      border-radius: 2rem;
    }
    @media (max-width: 767px) {
      .greeting__image picture {
        border-radius: 1.5rem;
        aspect-ratio: 30 / 29;
        background-color: #33a947;
      }
    }
    .greeting__image .sentence {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      margin: auto;
      font-size: 2rem;
      font-weight: bold;
      color: #fff;
      padding: 0 1em 1.0em;
    }
    @media (min-width: 1080px) {
      .greeting__image .sentence {
        font-size: 3.0rem;
        max-width: 750px;
        height: -moz-fit-content;
        height: fit-content;
        top: 0;
        right: inherit;
        padding-bottom: 0;
      }
    }

    .greeting__image .sentence .label_orange {
      color: #fff;
      background-color: #ed4f09;
      padding: 0 .15em;
    }

    .greeting__sentence {
      font-size: 1.8rem;
      line-height: 1.55;
      margin-top: 2em;
    }
    @media (max-width: 767px) {
      .greeting__sentence {
        font-size: 1.5rem;
        line-height: 1.5;
      }
    }

    .greeting__sentence .name {
      font-weight: bold;
      text-align: right;
    }
    */
  }


}
/* message */



#REQUIREMENTS {background-color: #d2f7d6;}
