@charset "UTF-8";

/*--------------------------------------------
  about
---------------------------------------------*/
.about {
  background-color: #F2F2F2;
  padding: 92px 0 150px;
  margin-top: 5%;
  position: relative;

  @media (768px <= width <= 1024px) {
    padding: 9% 0 15%;
  }
  @media (width <= 767px) {
    padding: 15% 0 32%;
    margin-top: 12%;
  }

  .flex_b {
    justify-content: center;
    align-items: center;
    @media (width <= 1024px) {
      display: flex !important;
    }
    @media (width <= 767px) {
      display: block !important;
    }

    img {
      width: 100%;
    }

    .figure_01 {
      max-width: 471px;

      @media (width <= 1200px) {
        max-width: 30vw;
      }
      @media (width <= 767px) {
        display: block;
        max-width: 70%;
        margin: 0 auto;
      }
    }
    .figure_02 {
      max-width: 420px;

      @media (width <= 1200px) {
        max-width: 30vw;
      }
      @media (width <= 767px) {
        display: block;
        max-width: 80%;
        margin: 0 auto;
      }
    }
    .txt {
      font-size: 1.8rem;
      font-weight: bold;
      text-align: center;
      line-height: 1.8;
      margin: 0 2.5%;
      min-width: 240px;

      @media (width <= 767px) {
        margin: 8% 0 0;
      }

      &::before {
        display: block;
        content: "";
        width: 100%;
        max-width: 240px;
        height: 33px;
        background: linear-gradient(90deg, #47b1ce 0%, #88be44 100%);
        clip-path: polygon(0 32.1%, 85.7% 32.1%, 85.7% 0, 100% 50%, 85.7% 100%, 85.7% 67.9%, 0 67.9%);
        margin: 55px 0 10px;

        @media (width <= 767px) {
          display: none;
        }
      }
      &::after {
        @media (width <= 767px) {
          display: block;
          content: "";
          width: 33px;
          height: 90px;
          background: linear-gradient(0deg, #47b1ce 0%, #88be44 100%);
          clip-path: polygon(0% 50%, 50% 20%, 100% 50%, 70% 50%, 70% 100%, 30% 100%, 30% 50%);
          transform: rotate(180deg);
          margin: 5% auto;
        }
      }
    }
  }

  .wrap {
    padding: 37px 0 40px;
    background-color: #FFF;
    border: solid #0F5CA8 3px;
    position: absolute;
    bottom: -52%;
    left: 0;
    right: 0;
    margin: 0 auto;

    @media (768px <= width <= 1024px) {
      padding: 4% 0;
      bottom: -24.5vw;
    }

    @media (width <= 767px) {
      padding: 5%;
      bottom: -23%;
    }

    .txt {
      font-size: 2.6rem;
      font-weight: bold;
      line-height: 1.8;
      color: #0F5CA8;
      text-align: center;

      @media (width <= 767px) {
        font-size: 2rem;
        line-height: 1.4;
      }
    }
  }
}

/*--------------------------------------------
  works
---------------------------------------------*/
.works {
  background: url("/assets/img/solution/solution_bg.jpg"),#ECF8FA;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center;
  padding: 233px 0 120px;

  @media (768px <= width <= 1024px) {
    padding: 25% 0 10%;
  }
  @media (width <= 767px) {
    padding: 47% 0 20%;
  }

  .title {
    font-size: 5.4rem;
    font-weight: bold;
    position: relative;
    margin-bottom: 4.5%;

    @media (width <= 767px) {
      font-size: 4rem;
      margin: 10% 0 15%;
    }

    &::before {
      position: absolute;
      display: block;
      color: #8CB3C6;
      font-size: 8rem;
      font-weight: 500;
      line-height: 0.9;
      z-index: -1;
      content: "WORKS";
      top: -92%;
      left: 2%;

      @media (width <= 767px) {
        font-size: 6rem;
      }
    }
  }

  .wrap {
    position: relative;

    @media (width <= 767px) {
      position: static;
    }
    
    .img_area {
      img {
        width: 55vw;
        max-width: 890px;

        @media (width <= 767px) {
          width: 100%;
        }
      }
    }
    .txt_area {
      background-color: #FFF;
      padding: 3.5% 4% 4%;
      max-width: 780px;
      min-width: 580px;
      width: 44vw;
      min-height: 460px;
      position: absolute;
      bottom: -26%;
      right: 0;

      @media (width <= 1024px) {
        min-width: auto;
        min-height: auto;
        bottom: auto;
      }
      @media (920px <= width <= 1024px) {
        width: 73vw;
        top: 48%;
      }
      @media (678px <= width <= 919px) {
        width: 76vw;
        top: 20%;
      }
      @media (width <= 767px) {
        width: 100%;
        position: static;
        padding: 8% 5% 12%;
      }

      .sub_ttl {
        font-size: 2.6rem;
        font-weight: bold;
        line-height: 1.6;
        margin-bottom: 5%;

        @media (width <= 767px) {
          font-size: 2.2rem;
        }
      }
    }
  }

  .point_list {
    margin-top: 13.5%;
    align-items: flex-start;

    @media (820px <= width <= 1024px) {
      margin-top: 33%;
    }
    @media (768px <= width <= 819px) {
      margin-top: 40%;
    }

    .balloon_right {
      position: relative;
      display: block;
      padding: 28px 0 32px;
      min-width: 248px;
      max-width: 100%;
      height: 84px;
      font-size: 2.6rem;
      font-weight: bold;
      color: #FFF;
      background-color: #0F5CA8;
      text-align: center;

      @media (width <= 1024px) {
        padding: 2.5% 0;
        min-width: 150px;
        height: auto;
      }
      @media (width <= 767px) {
        padding: 5% 0;
        margin: 0 auto;
        font-size: 2rem;
      }
  
      &::before {
        content: "";
        position: absolute;
        top: 50%;
        right: -36px;
        margin-top: -12px;
        border: 12px solid transparent;
        border-left: 24px solid #0F5CA8;
        z-index: 2;

        @media (width <= 1024px) {
          display: none;
        }
      }
      &::after {
        @media (width <= 1024px) {
          bottom: -40px;
          left: 50%;
          border: 14px solid transparent;
          border-top: 24px solid #0F5CA8;
        }
      }
    }

    .wrap {
      width: 100%;
      background-color: #FFF;
      border: 3px solid #0F5CA8;
      padding: 3%;
      margin-left: 6%;

      @media (768px <= width <= 1024px) {
        margin: 5% 0 0 0;
      }
      @media (width <= 767px) {
        margin: 10% 0 0 0;
        padding: 8% 5%;
      }

      .point_txt {
        line-height: 1.4;
        color: #0F5CA8;
        font-size: 2rem;
        font-weight: bold;

        @media (width <= 767px) {
          font-size: 1.8rem;
        }
      }
      .point_txt:not(:first-child){
        margin-top: 2%;
      }
    }
  }
}

/*--------------------------------------------
  flow
---------------------------------------------*/
.flow {
  background-color: #FFF;
  padding: 91px 0 250px;

  @media (768px <= width <= 1024px) {
    padding: 10% 0 15%;
  }
  @media (width <= 767px) {
    padding: 20% 0 30%;
  }

  .title {
    font-size: 3.4rem;
    font-weight: bold;
    margin-bottom: 4.5%;

    @media (width <= 767px) {
      font-size: 3rem;
      text-align: center;
      margin-bottom: 10%;
    }
  }

  .flow_list {
    .step {
      font-size: 2.6rem;
      font-weight: bold;
      padding-bottom: 2%;
      margin-bottom: 1.5%;
      border-bottom: 3px solid #0F5CA8;

      @media (width <= 767px) {
        font-size: 2rem;
        line-height: 1.4;
        padding-bottom: 4%;
        margin-bottom: 5%;
      }

      span {
        margin-right: 2%;
        color: #0F5CA8;
        font-size: 2.8rem;
        font-family: 'Roboto';
        letter-spacing: 0.05em;

        @media (width <= 767px) {
          font-size: 2rem;
          display: block;
          line-height: 1.8;
        }
      }
    }
    dd:not(:last-child) {
      margin-bottom: 4.5%;

      @media (768px <= width <= 1024px) {
        margin-bottom: 7%;
      }

      @media (width <= 767px) {
        margin-bottom: 12%;
      }
    }
  }
}