@charset "UTF-8";

/* ===================================================================== */
/* Main Visual * /
/* ===================================================================== */
#main-visual {
  width: 100%;
  height: 90vh;
  position: relative;
  top: 0;
  left: 0;
  padding-top: 75px;
}

#main-visual::before,
#main-visual::after {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#main-visual::before {
  background: url("../images/hero-image_02.jpg") no-repeat right top;
  background-size: cover;
  position: fixed;
  z-index: -1;
  animation: fade-in 3s ease-in-out;
  -webkit-animation: fade-in 3s ease-in-out;
  -moz-animation: fade-in 3s ease-in-out;
}

#main-visual::after {
  background: -moz-linear-gradient(right left, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  background: -webkit-linear-gradient(right left, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  position: absolute;
}

#main-visual .container {
  position: relative;
  z-index: 1;
}

.top-cta {
  width: 100%;
  max-width: 503px; /* 570px */
  height: 100%;
  display: flex;
  justify-content: center;
  flex-flow: column nowrap;
  text-align-last: justify;
}

.top-catch h1 {
  color: #fff;
  font-size: 5.6rem;
  font-weight: 600;

  /*  line-height: 1.2; */

  /* letter-spacing: 1.4rem; */
  margin-bottom: 2.4rem;
}

.top-catch h1 span {
  white-space: nowrap;
}

.top-catch p {
  color: #fff;
  font-weight: 400;
  line-height: 1.5;
}

.top-cta .cv-btn {
  margin: 2rem 0 0;
  width: 60%;
}

.top-cta .cv-btn:hover::before,
.top-cta .cv-btn:hover::after {
  background: #1c4c6f;
}

@media only screen and (max-width: 960px) {
  #main-visual::after {
    background: rgba(0, 0, 0, 0.3);
  }

  .top-cta {
    width: auto;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 660px) {
  .top-cta {
    max-width: 100%;
  }

  /*  .top-catch {
    text-align: center;
  } */

  .top-catch h1 {
    font-size: 9.2vw;
    letter-spacing: 0.24rem;
  }

  /*  .top-catch p {
    display: inline-block;
  } */

  .top-cta .cv-btn {
    margin: 3.2rem auto;
  }
}

@media only screen and (max-width: 560px) {
  .top-cta .cv-btn {
    width: 100%;
  }

  .top-catch p {
    -moz-text-align-last: center;
    text-align-last: center;
  }
}

/* ===================================================================== */
/* Trouble * /
/* ===================================================================== */
#trouble {
  background: transparent;
  position: relative;
}

#trouble::before {
  content: "";
  width: 100%;
  height: 100%;
  background: url("../images/onayami-sm.svg") no-repeat center center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
}

#trouble .container {
  position: relative;
}

#trouble .title-1 h2 {
  color: #fff;
}

.trouble-list {
  list-style-type: none;
  margin-bottom: 7.5rem;

  /* margin-top: -4.8rem; */
}

.trouble-list li {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column nowrap;
  width: 100%;
  color: #fff;
  font-size: 1.8rem;
  text-align: center;
  padding: 9.6rem 3.2rem;
  background: #20213c;
  margin-right: 3%;
}

.trouble-list li:last-child {
  margin-right: 0;
}

.trouble-list li span {
  text-align: left;
}

@media only screen and (max-width: 960px) {
  .trouble-list {
    -webkit-justify-content: center;
    -webkit-flex-flow: row wrap;
    justify-content: center;
    flex-flow: row wrap;
    margin-top: 0;
  }

  .trouble-list li {
    width: 48.5%;
    margin-bottom: 3.2rem;
  }

  .trouble-list li:nth-child(2) {
    margin-top: 0;
    margin-right: 0;
  }
}

@media only screen and (max-width: 560px) {
  #trouble .title-1 h2 {
    font-size: 5.6vw;
  }
}

@media only screen and (max-width: 480px) {
  .trouble-list li {
    width: 100%;
    margin-right: 0;
    padding: 8.6rem 2.4rem;
  }

  .trouble-list li p {
    padding: 4.8rem 3.2rem;
    font-size: 1.4rem;
  }
}

/* ===================================================================== */
/* Service * /
/* ===================================================================== */
#service {
  background: url("../images/service_bg-01.jpg") no-repeat bottom center;
  background-size: cover;
  background-attachment: fixed;
}

.client #service .title-3 {
  width: 80%;
  margin: 0 auto;
}

.service-list {
  padding: 9.6rem 0 4.8rem;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.8);
  margin-top: -3.2rem;
  list-style-type: none;
}

.service-list li {
  -webkit-align-items: center;
  -webkit-justify-content: space-between;
  align-items: center;
  width: 80%;
  margin: 0 auto 9.6rem;
  counter-increment: num;
}

.service-list li:last-child {
  margin-bottom: 4.6rem;
}

.service-list li .text-box {
  width: auto;
  margin-top: -5%;
  margin-right: 5%;
}

.service-list li:nth-child(1) .text-box {
  margin-right: 0;
}

.service-list li:nth-child(2) .text-box {
  margin-left: 5%;
  margin-right: 0;
}

.service-list li .img-box img {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.service-list li:nth-child(1) .img-box img {
  box-shadow: none;
}

.service-list li:nth-child(1) .img-box {
  width: 55%;
  margin-right: -5%;
}

.service-list li:nth-child(2) .img-box {
  width: 42%;
}

.service-list li:nth-child(3) .img-box {
  width: 42%;
}

.service-list li h3 {
  color: #2e72bd;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 2.4rem;
  padding-left: 4rem;
  position: relative;
}

.service-list li h3::before {
  content: counter(num);
  font-family: 'Montserrat', sans-serif;
  font-size: 4.8rem;
  font-weight: 400;
  vertical-align: -0.4rem;
  position: absolute;
  top: 45%;
  left: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.scrum-box,
.agile-box {
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.8);
  margin-top: -3.2rem;
}

p sup {
  font-size: 1rem;
}

.text_indent {
  padding-left: 1.8em;
  text-indent: -1.8em;
}

.scrum-contents li {
  counter-increment: num2;
}

.scrum-contents h4 {
  color: #2e72bd;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 1rem;
  margin-top: 6.2rem;
  padding-left: 4rem;
  position: relative;
}

.scrum-contents h4::before {
  content: counter(num2);
  font-family: 'Montserrat', sans-serif;
  font-size: 4.8rem;
  font-weight: 400;
  vertical-align: -0.4rem;
  position: absolute;
  top: 45%;
  left: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.agile-contents,
.scrum-contents {
  justify-content: space-around;
  list-style-type: none;
  padding: 4.6rem 0;
  width: 80%;
  margin: 0 auto;
}

.scrum-contents img {
  margin-top: 2.4rem;
}

.scrum-list {
  display: flex;
}

.scrum-list .flex-2 {
  display: flex;
  flex-direction: column;
  width: calc(100% / 2);
  list-style: none;
}

.flex-2 img {
  margin: 20px 0;
  align-items: center;
}

.scrum-list .flex-2 .text-box {
  /*  margin-top: auto; */
  padding: 0 2.4rem;
}

.agile-list {
  margin-top: 6.2rem;
}

.agile-list li {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  list-style: none;
}

.agile-list li:first-child {
  margin-bottom: 4rem;
}

.agile-list li .column-left {
  width: 30%;
}

.agile-list li .column-right {
  width: 65%;
}

.agile-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  margin-bottom: 0.6rem;
  line-height: 1;
  color: #2e72bd;
}

.fs-large {
  font-size: 3.6rem;
}

@media only screen and (max-width: 1240px) {
  .fs-large {
    font-size: 2.4rem;
    margin: auto;
  }
}

@media only screen and (max-width: 860px) {
  #service .service-list li .text-box {
    width: 50%;
  }

  .scrum-list .flex-2 .agile-name {
    width: 100%;
  }

  .agile-list li {
    flex-direction: column;
  }

  .agile-list li .column-left {
    width: 100%;
    margin-bottom: 0.8rem;
    text-align: center;
  }

  .agile-list li .column-right {
    width: 100%;
  }

  .agile-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    text-align: center;
    margin: auto;
    font-size: 1rem;
  }

  .fs-large {
    font-size: 2rem;
    margin: auto;
  }
}

@media only screen and (max-width: 560px) {
  .service-list li {
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
  }

  #service .service-list li .text-box {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2.4rem;
  }

  .service-list li:nth-child(3) .text-box {
    width: 100%;
    margin-right: 0;
  }

  .service-list li:nth-child(3) .svg-box {
    width: 80%;
    margin: 0 10%;
  }

  #service .service-list li .img-box {
    width: 80%;
    margin: 0 10%;
  }

  #service .service-list li:nth-child(1) .img-box {
    width: 96%;
    margin: 0 2%;
  }

  .scrum-list {
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
  }

  .scrum-list .flex-2 {
    width: 100%;
  }

  .fs-large {
    display: block;
    font-size: 3rem;
  }
}

/* ===================================================================== */
/* Thanks * /
/* ===================================================================== */
.client.thanks #sub-header::before {
  background: url("../images/thanks_bg-01.jpg") no-repeat bottom center;
  background-size: cover;
}

.client.thanks #intro .text-box {
  margin-bottom: 3.2rem;
}

.client.thanks #intro ul.list-unstyled {
  margin: 3rem auto;
}
