@charset "utf-8";

/*============================
#company-message
============================*/

#company-message img {
  width: 300px;
}

#company-message .text {
  width: 440px;
}

@media only screen and (max-width: 768px) {
  #company-message img {
    width: 100%;
    margin-bottom: 20px;
  }

}


/*============================
#strengths
============================*/

#strengths {
  background-color: #267cb6;
  margin-top: 80px;
  padding: 30px;
}

#strengths h2 {
  background-color: transparent;
  border-left: none;
  color: #fff;
  padding: 0 0 30px 0;
  margin-bottom: 0;
  font-size: 26px;
  text-align: center;
  letter-spacing: 0.06em;
  position: relative;
}

#strengths h2::before,
#strengths h2::after {
  content: '';
  display: block;
  width: 198px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  top: 40%;
}

#strengths h2::before {
  left: 0;
}

#strengths h2::after {
  right: 0;
}

#strengths h2 .big {
  font-size: 40px;
}

#strengths dl {
  background-color: #fff;
  padding: 30px;
  margin-top: 30px;
  counter-increment: item;
  position: relative;
}

#strengths dl::after {
  content: '';
  display: block;
  background: url(../images/01.png) no-repeat center center;
  background-size: 100%;
  width: 100px;
  height: 105px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  right: 20px;
  position: absolute;
  z-index: 1;
}

#strengths dl:nth-of-type(2)::after {
  background-image: url(../images/02.png);
}

#strengths dl:nth-of-type(3)::after {
  background-image: url(../images/03.png);
}

#strengths dl:nth-of-type(4)::after {
  background-image: url(../images/04.png);
}

#strengths dl:nth-of-type(5)::after {
  background-image: url(../images/05.png);
}

#strengths dl:first-of-type {
  margin-top: 0;
}

#strengths dl dt span {
  padding-left: 50px;
  font-size: 18px;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  color: #2972c0;
  position: relative;
}

#strengths dl dt span::before {
  content: '0'counter(item);
  display: block;
  position: absolute;
  top: -8px;
  left: 0;
  color: #e9c02d;
  font-size: 18px;
  font-weight: 500;
  font-family: "Lora", serif;
}

#strengths dl dt span::after {
  content: '';
  display: block;
  position: absolute;
  top: 25px;
  left: 25px;
  width: 30px;
  height: 1px;
  background: #e9c02d;
  transform: rotate(-55deg);
  transform-origin: left center;
}

#strengths dl dd {
  margin-top: 10px;
  width: 550px;
}


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

  #strengths {
    margin-top: 40px;
    padding: 20px 15px;
  }

  #strengths h2 {
    padding-bottom: 20px;
    font-size: 18px;
  }

  #strengths h2::before,
  #strengths h2::after {
    width: 50px;
    top: 35%;
  }

  #strengths h2 .big {
    font-size: 30px;
  }

  #strengths dl::after {
    width: 60px;
    height: 65px;
    top: 10px;
    right: 15px;
    margin: 0;
  }

  #strengths dl dt span {
    padding-left: 35px;
    font-size: 16px;
  }

  #strengths dl dt span::before {
    top: -8px;
    left: 0;
    font-size: 15px;
  }

  #strengths dl dt span::after {
    top: 15px;
    left: 20px;
    width: 20px;
  }

  #strengths dl dd {
    margin-top: 20px;
    width: 100%;
  }

}
