@charset "utf-8";

.cont_img {
  background-image: url(../images/cont_img.jpg);
}


/*============================
h2
============================*/

.cont h2 {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  padding: 20px 0;
  margin-bottom: 50px;
  line-height: 1;
  color: #0f2664;
}

.cont h2 .eng {
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  left: 0;
  color: #f7f7f7;
  font-size: 72px;
  z-index: -1;
}

@media only screen and (max-width: 1040px) {
  .cont h2 {
    font-size: 16px;
    padding: 10px 0;
    margin-bottom: 30px;
  }

  .cont h2 .eng {
    top: 0;
    font-size: 36px;
  }
}


/*============================
#problem
============================*/

#problem {
  padding-bottom: 0;
}

/*.problem-inner*/

#problem .problem-inner {
  padding-bottom: 100px;
  position: relative;
}

#problem .problem-inner::after {
  content: "";
  position: absolute;
  display: block;
  height: 80px;
  width: 100%;
  background-color: #fff;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  bottom: -79px;
  top: auto;
  z-index: 10;
}

#problem .problem-inner ul li {
  padding: 20px;
  width: 510px;
  background-color: #f7f7f7;
  font-weight: 600;
  text-align: center;
  border-radius: 5px;
}

#problem .problem-inner ul li:first-of-type {
  width: 100%;
  font-size: 20px;
  line-height: 30px;
  position: relative;
}

#problem .problem-inner ul li:first-of-type::before {
  position: absolute;
  display: block;
  content: '';
  width: 172px;
  height: 160px;
  background: url(../images/01.png)no-repeat right top;
  background-size: 100%;
  top: -102px;
  left: 0;
  z-index: 2;
  animation: yurayura2 2s linear infinite alternate;
}

#problem .problem-inner ul li:nth-of-type(n+2) {
  margin-top: 20px;
}

/*.solution*/

#problem .solution {
  padding: 180px 0 110px;
  background-color: #0f2664;
  color: #fff;
  text-align: center;
}

#problem .solution .inner {
  z-index: 1;
  position: relative;
}

#problem .solution .inner::after {
  position: absolute;
  display: block;
  content: '';
  width: 394px;
  height: 267px;
  background: url(../images/02.png)no-repeat center center;
  background-size: 100%;
  bottom: 0;
  right: 0;
  z-index: -1;
}

/*.cta*/

.cta {
  background-color: #efca08;
  padding: 50px 0 20px;
}

.cta .box {
  background: #fff;
  border-radius: 5px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.cta .box .cta-left {
  display: flex;
  align-items: center;
  padding-right: 30px;
  margin-right: 30px;
  border-right: 1px solid #eee;
}

.cta .box .cta-left img {
  width: 33px;
  margin-right: 30px;
}

.cta .box .cta-left p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: #032582;
}

.cta .box .cta-left p .bold {
  font-size: 24px;
}

.cta .box .cta-left p .number {
  font-size: 36px;
}

.cta .link {
  margin-top: 15px;
}

.cta .link a::before {
  background-color: #0f2664;
}

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

  /*.problem-inner*/

  #problem .problem-inner {
    padding-bottom: 30px;
  }

  #problem .problem-inner::after {
    height: 40px;
    bottom: -39px;
  }

  #problem .problem-inner ul li {
    padding: 15px;
    width: 100%;
  }

  #problem .problem-inner ul li:first-of-type {
    width: 100%;
    font-size: 16px;
    line-height: 1.7;
  }

  #problem .problem-inner ul li:first-of-type::before {
    width: 92px;
    height: 90px;
    top: -52px;
    left: -15px;
  }

  #problem .problem-inner ul li:nth-of-type(n+2) {
    margin-top: 10px;
  }

  /*.solution*/

  #problem .solution {
    padding: 100px 0 50px;
    text-align: left;
  }

  #problem .solution .inner::after {
    width: 100%;
    bottom: 25%;
  }

  /*.cta*/

  .cta .box {
    padding: 30px 15px 15px 15px;
    display: block;
    align-items: center;
  }

  .cta .box .cta-left {
    width: 100%;
    padding: 0 0 20px 0;
    margin: 0 auto 20px;
    border-right: none;
    border-bottom: 1px solid #eee;
    justify-content: center;
  }

  .cta .box .cta-left p {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: #032582;
  }

  .cta .link {
    margin-top: 10px;
  }
}


/*============================
#rakumaru-kichou
============================*/

#rakumaru-kichou {
  padding: 50px 0 0;
  margin: 0;
}

/*.flow*/

#rakumaru-kichou .flow {
  margin-top: 100px;
  padding: 100px 0;
  counter-reset: number;
  background-color: #0f2664;
}

#rakumaru-kichou .flow h2 {
  margin: 0 0 40px 0;
  padding: 0;
  text-align: center;
  color: #fff;
  font-size: 24px;
  border: none;
}

#rakumaru-kichou .flow dl {
  padding: 40px 50px;
  background-color: #fff;
  border-radius: 5px;
  line-height: 1;
  position: relative;
  counter-increment: number;
  box-shadow: -1px 2px 10px 0 rgba(11, 33, 92, 0.8);
}

#rakumaru-kichou .flow dl::before {
  counter-increment: no;
  content: 'STEP 'counter(number, decimal-leading-zero);
  display: block;
  width: 100px;
  padding: 9px 0;
  background-color: #d00000;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  line-height: 1;
  font-size: 14px;
  font-weight: 600;
  font-family: "Zalando Sans SemiExpanded", sans-serif;
  position: absolute;
  top: -15px;
  left: -15px;
}

#rakumaru-kichou .flow dl:not(:last-of-type)::after {
  display: block;
  position: absolute;
  content: '\f0d7';
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  font-family: "Font Awesome 6 Free";
  bottom: -26px;
  left: 50%;
  color: #efca08;
}

#rakumaru-kichou .flow dl:nth-of-type(n+2) {
  margin-top: 40px;
}

#rakumaru-kichou .flow dl dt {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #032582;
}

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

  #rakumaru-kichou {
    padding-top: 60px;
  }

  #rakumaru-kichou .inner > .flex {
    flex-direction: column-reverse;
  }

  #rakumaru-kichou.about-service .flex > img {
    margin: 10px 0 0 auto;
    transform: scaleX(-1);
  }

  #rakumaru-kichou .flow {
    margin-top: 60px;
    padding: 60px 0;
  }

  #rakumaru-kichou .flow h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }

  #rakumaru-kichou .flow dl {
    padding: 30px 7% 20px;
  }

  #rakumaru-kichou .flow dl::before {
    width: 90px;
    font-size: 13px;
    padding: 7px 0;
    top: -10px;
    left: -10px;
  }

  #rakumaru-kichou .flow dl dt {
    margin-bottom: 10px;
    font-size: 18px;
  }

  #rakumaru-kichou .flow dl dd {
    line-height: 1.7;
    font-size: 15px;
  }
}


/*============================
#other
============================*/

#other {
  background: url(../images/05.jpg)no-repeat center top;
  background-size: cover;
}

#other .text {
  width: 435px;
  margin-left: auto;
}

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

  #other {
    background: url(../images/05_sp.jpg)no-repeat center bottom;
    background-size: cover;
    padding-bottom: 180px;
  }

  #other .text {
    top: 60px;
    width: 100%;
    margin-left: 0;
  }
}
