@charset "utf-8";

.contact-section {
  margin-top: -60px;
  background-color: transparent;
}


/*============================
#solution
============================*/

#solution .flex {
  align-items: flex-end;
  margin-bottom: 100px;
}

#solution .text {
  padding: 40px;
  border-radius: 5px;
  background-color: #f5f5f5;
}

#solution .text h2 {
  font-size: 24px;
  padding: 0;
  margin-bottom: 30px;
}

#solution .text h2::before {
  display: none;
}

#solution .text ul {
  padding-left: 30px;
}

#solution .text ul li {
  margin-top: 20px;
  position: relative;
  line-height: 1;
}

#solution .text ul li:first-of-type {
  margin-top: 0;
}

#solution .text ul li::before {
  display: block;
  content: ' \f4ad';
  position: absolute;
  top: 0;
  left: -30px;
  color: #019ff9;
  font-size: 16px;
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
}

#solution img.illust {
  width: 115px;
  margin-right: 60px;
  animation: yurayura 2.5s linear infinite alternate;
}

@keyframes yurayura {

  0%,
  100% {
    transform: rotate(5deg);
  }

  50% {
    transform: rotate(0deg);
  }
}

#solution .lead {
  text-align: right;
  padding: 110px 60px 150px 0;
  position: relative;
}

#solution .lead::before {
  display: block;
  content: '';
  position: absolute;
  background: url(../images/logo.png)no-repeat center center;
  background-size: 100%;
  width: 378px;
  height: 324px;
  left: 25px;
  top: 0;
  z-index: -1;
}

#solution .lead .eng {
  color: #ff7607;
  font-size: 54px;
}

@media only screen and (max-width: 768px) {
  #solution .flex {
    align-items: flex-end;
    margin-bottom: 0;
    position: relative;
  }

  #solution .text {
    margin-top: 130px;
    padding: 30px 7%;
  }

  #solution .text h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  #solution .text ul li {
    margin-top: 15px;
    line-height: 1.7;
  }

  #solution img.illust {
    width: 65px;
    margin-right: 0;
    position: absolute;
    right: 0;
    top: 0;
  }

  #solution .lead {
    margin: 0 auto;
    text-align: center;
    padding: 80px 0 20px 70px;
    position: relative;
  }

  #solution .lead::before {
    width: 168px;
    height: 154px;
    left: 20px;
    top: 55px;
  }

  #solution .lead .eng {
    font-size: 34px;
  }
}


/*============================
#reason
============================*/

#reason {
  padding-top: 0;
  counter-reset: number;
}

#reason dl {
  padding: 40px 50px 40px 200px;
  background-color: #f5f5f5;
  border-radius: 5px;
  height: 195px;
  position: relative;
  counter-increment: number;
}

#reason dl::before {
  display: block;
  content: counter(number, decimal-leading-zero) ' /';
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  font-family: "Barlow Condensed", sans-serif;
  color: #ff7607;
}

#reason dl::after {
  display: block;
  content: '';
  position: absolute;
  width: 71px;
  height: 115px;
  background: url(../images/02.png)no-repeat center center;
  background-size: 100%;
  top: 40px;
  left: 80px;
}

#reason dl:nth-of-type(n+2)::after {
  background-image: url(../images/03.png);
}

#reason dl:nth-of-type(n+3)::after {
  background-image: url(../images/04.png);
}

#reason dl:nth-of-type(n+2) {
  margin-top: 20px;
}

#reason dl dt {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

@media only screen and (max-width: 768px) {

  #reason dl {
    padding: 170px 20px 20px 20px;
    height: auto;
    position: relative;
    counter-increment: number;
  }

  #reason dl::before {
    top: 20px;
    left: 20px;
  }

  #reason dl::after {
    width: 100px;
    height: 105px;
    left: 38%;
  }

  #reason dl:nth-of-type(n+2) {
    margin-top: 15px;
  }

  #reason dl dt {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
  }
}


/*============================
#merit
============================*/

#merit {
  padding-top: 0;
  background: url(../images/bg.jpg)no-repeat right bottom;
  background-size: cover;
  counter-reset: number;
}

#merit dl {
  padding-bottom: 30px;
  margin-bottom: 30px;
  width: 540px;
  border-bottom: 1px solid #e7e7e7;
  counter-increment: number;
}

#merit dl:last-of-type {
  border: none;
}

#merit dl dt {
  padding: 15px 0 15px 70px;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  position: relative;
}

#merit dl dt::before {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ff7607;
  width: 50px;
  height: 50px;
  border-radius: 50px;
}

#merit dl dt::after {
  display: block;
  content: counter(number, decimal-leading-zero);
  top: 13px;
  left: 15px;
  position: absolute;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  font-family: "Barlow Condensed", sans-serif;
  color: #fff;
}

@media only screen and (max-width: 768px) {

  #merit {
    padding-bottom: 170px;
    background: url(../images/bg_sp.png)no-repeat right bottom;
    background-size: 100%;
  }

  #merit dl {
    padding-bottom: 20px;
    margin-bottom: 20px;
    width: 100%;
  }

  #merit dl dt {
    padding: 10px 0 10px 50px;
    margin-bottom: 10px;
    font-size: 16px;
  }

  #merit dl dt::before {
    width: 35px;
    height: 35px;
  }

  #merit dl dt::after {
    top: 24%;
    left: 9px;
    font-size: 18px;
  }
}
