@charset "UTF-8";

/*============================
loading
============================*/

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20000;
  background-color: #0c194a;
}

.loader,
.loader:after {
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin-left: -25px;
  margin-top: -30px;
}

.loader {
  position: relative;
  text-indent: -9999em;
  border-top: 5px solid #fff;
  border-right: 5px solid #fff;
  border-bottom: 5px solid #fff;
  border-left: 5px solid #ff7607;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/*============================
トップ共通
============================*/

.eng {
  display: block;
}


/*============================
.top_img
============================*/
.top_img {
  width: 100%;
  height: 770px;
  position: relative;
}

.top_img::after {
  content: '';
  position: absolute;
  top: 80px;
  right: -225px;
  display: block;
  width: 804px;
  height: 690px;
  background: url(../images/home/top_img_logo.png)no-repeat center center;
  background-size: auto;
}

.top_img h1 {
  width: 600px;
  font-size: 55px;
  font-weight: 700;
  color: #00013e;
  position: absolute;
  bottom: 0;
  left: 46%;
  text-align: right;
  z-index: 10;
}

.top_img h1 span {
  font-size: 65px;
  font-family: "Barlow Condensed", sans-serif;
  color: #ff730d;
}

#slider {
  overflow: hidden;
  width: calc(100vw - 35vw);
  height: 730px;
  background-color: #fff;
  border-bottom-right-radius: 100px;
  position: relative;
}

@media only screen and (max-width: 980px) {
  .top_img h1 {
    width: 450px;
    font-size: 45px;
    left: 42%;
  }
}


@media only screen and (max-width: 767px) {
  .top_img {
    height: 450px;
  }

  .top_img::after {
    top: 150px;
    right: -40px;
    width: 284px;
    height: 400px;
    background-size: 100%;
  }

  .top_img h1 {
    font-size: 28px;
    line-height: 40px;
    left: auto;
    right: 10px;
  }

  .top_img h1 span {
    font-size: 40px;
  }

  #slider {
    width: calc(100vw - 10vw);
    height: 350px;
    border-bottom-right-radius: 80px;
  }
}


/*============================
container
============================*/

.container {
  position: relative;
}

.primary {
  width: 100%;
  float: none;
}

.primary > article {
  padding: 80px 0 80px;
}

.primary .inner {
  width: 1040px;
  margin: auto;
}

@media only screen and (max-width: 768px) {
  .primary > article {
    padding: 50px 0;
  }

  .primary .inner {
    width: 90.625%;
  }
}


/*============================
見出し
============================*/

h2 {
  margin-bottom: 60px;
  font-size: 20px;
  line-height: 1;
  color: #ff7607;
  display: flex;
  align-items: center;

}

h2 span.eng {
  display: inline-block;
  padding-right: 20px;
  font-size: 90px;
  color: #0c194a;
}

h3 {
  font-size: 18px;
  font-weight: bold;
}


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

  h2 {
    margin-bottom: 30px;
    font-size: 13px;
  }

  h2 span.eng {
    padding-right: 10px;
    font-size: 40px;
  }

  h3 {
    font-size: 16px;
  }
}


/*============================
.link
============================*/

.link {
  margin-top: 30px;
}

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

  .link {
    margin-top: 20px;
  }
}


/*============================
company
============================*/

#company .box {
  padding: 70px 60px;
  background-color: #fafafb;
  border-radius: 5px;
}

#company .text p:last-of-type {
  font-size: 18px;
}

#company ul {
  width: 440px;
}

#company ul li {
  padding: 10px;
  height: 110px;
  border-radius: 55px;
  background-color: #019ff9;
  justify-content: flex-start;
}

#company ul li:nth-of-type(2) {
  background-color: #00da61;
}

#company ul li:nth-of-type(3) {
  background-color: #ff7607;
}

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

#company ul li img {
  width: 90px;
  margin-right: 30px;
}

#company ul li > p {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 34px;
}

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

  #company .box {
    padding: 30px 5%;
  }

  #company .text p.lead {
    text-align: center;
  }

  #company .text p:last-of-type {
    font-size: 16px;
  }

  #company ul {
    width: 100%;
    margin-top: 20px;
  }

  #company ul li {
    height: auto;
  }

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

  #company ul li img {
    width: 60px;
    margin-right: 15px;
  }

  #company ul li > p {
    color: #fff;
    font-size: 16px;
    line-height: 28px;
  }
}


/*============================
#service
============================*/

#service {
  padding-top: 0;
  counter-reset: number;
  position: relative;
}

#service::before {
  position: absolute;
  display: block;
  content: '';
  background: url(../images/common/circle.png)no-repeat center center;
  background-size: 100%;
  width: 700px;
  height: 700px;
  top: -350px;
  left: -320px;
  z-index: -1;
  animation: rotateAnimation 10s linear infinite;
  z-index: -1;
}

#service .flex {
  align-items: flex-start;
}

#service img {
  width: 500px;
}

#service .service-list {
  width: 500px;
}

#service .service-list li {
  padding: 20px 0 20px 80px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  background-color: #fafafb;
  border-radius: 5px;
  position: relative;
  counter-increment: number;
}

#service .service-list li::before {
  display: block;
  content: counter(number, decimal-leading-zero);
  position: absolute;
  top: 25%;
  left: 30px;
  font-size: 30px;
  font-weight: 700;
  font-family: "Barlow Condensed", sans-serif;
  color: #ff7607;
}

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

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

  #service::before {
    width: 350px;
    height: 350px;
    top: -110px;
    left: -180px;
  }

  #service .flex {
    align-items: flex-start;
  }

  #service img {
    padding-top: 59.7014%;
    display: block;
    overflow: hidden;
    height: 0;
    width: 100%;
    background: url(../images/home/service/01_sp.jpg) no-repeat center center;
    -webkit-background-size: 100%;
    background-size: 100%;
  }

  #service .service-list {
    width: 100%;
    margin-top: 20px;
  }

  #service .service-list li {
    padding: 15px 0 15px 55px;
    font-size: 18px;
  }

  #service .service-list li::before {
    top: 25%;
    left: 20px;
    font-size: 20px;
  }

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


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

#reason {
  background-color: #0c194a;
  overflow: hidden;
  counter-reset: number;
  position: relative;
  z-index: 2;
}

#reason::before {
  position: absolute;
  display: block;
  content: '';
  background: url(../images/home/reason/circle.png)no-repeat center center;
  background-size: 100%;
  width: 800px;
  height: 800px;
  top: -370px;
  right: -400px;
  z-index: -1;
  animation: rotateAnimation 10s linear infinite;
}

#reason .link a:hover {
  color: #ff7607;
  border-bottom: 1px solid #ff7607;
}

#reason .link a:hover::before {
  background-color: #ff7607;
}

#reason h2 .eng {
  color: #fff;
}

#reason .flex {
  align-items: stretch;
}

#reason .box {
  width: 330px;
  padding: 50px 0 45px;
  background-color: #fff;
  border-radius: 5px;
  text-align: center;
  position: relative;
  counter-increment: number;
  z-index: 10;
}

#reason .box::before {
  display: block;
  content: counter(number, decimal-leading-zero);
  position: absolute;
  top: 30px;
  left: 40px;
  font-size: 24px;
  font-weight: 700;
  font-family: "Barlow Condensed", sans-serif;
  color: #ff7607;
}

#reason .box img {
  width: 100%;
}

#reason .box p {
  margin-top: 40px;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}

#reason .box:nth-of-type(n+2) p {
  margin-top: 55px;
}

#reason .link a {
  color: #fff;
  border-color: #fff;
}

#reason .link a::before {
  background-color: #fff;
}

#reason .link a::after {
  color: #0c194a;
}

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

  #reason::before {
    width: 450px;
    height: 450px;
    top: -190px;
    right: -170px;
  }

  #reason .flex {
    align-items: stretch;
  }

  #reason .box {
    width: 100%;
    padding: 40px 0 35px;
  }

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

  #reason .box::before {
    top: 20px;
    left: 30px;
    font-size: 20px;
  }

  #reason .box img {
    width: 60%;
    margin: 0 auto;
  }

  #reason .box p {
    margin-top: 30px;
    font-size: 18px;
    line-height: 26px;
  }

  #reason .box:nth-of-type(n+2) p {
    margin-top: 30px;
  }
}


/*============================
#case-study（wp）
============================*/

#case-study .flex {
  margin-top: 60px;
}

#case-study .box {
  display: block;
  width: 500px;
  position: relative;
}

#case-study .box .cat {
  position: absolute;
  padding: 6px 17px;
  background-color: #ff7607;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.04em;
  border-radius: 50px;
  top: 15px;
  right: 15px;
  z-index: 10;
}

#case-study .box .photo {
  width: 500px;
  height: 300px;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
}

#case-study .box .photo .img,
#case-study .box .photo img {
  border-radius: 5px 5px 0 0;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  -webkit-background-size: cover;
  background-size: cover;
  transition: .5s ease;
}

#case-study .box:hover {
  opacity: 0.7;
}

#case-study .box:hover .photo .img,
#case-study .box:hover .photo img {
  transform: scale(1.1, 1.1);
}

#case-study .box h3 {
  padding: 20px;
  background-color: #0c194a;
  color: #fff;
  font-weight: 500;
  line-height: 1;
  border-radius: 0 0 5px 5px;
}

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

  #case-study .lead {
    font-size: 18px;
    line-height: 1.7;
  }

  #case-study .flex {
    margin-top: 20px;
  }

  #case-study .box {
    display: block;
    width: 100%;
  }

  #case-study .box:nth-of-type(n+2) {
    margin-top: 20px;
  }

  #case-study .box .photo {
    width: 100%;
    height: auto;
  }
}


/*============================
news(wp)
============================*/

#news {
  background-color: #f9f8fb;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

#news::before {
  position: absolute;
  display: block;
  content: '';
  background: url(../images/common/circle.png)no-repeat center center;
  background-size: 100%;
  width: 700px;
  height: 700px;
  bottom: -320px;
  left: -320px;
  z-index: -1;
  animation: rotateAnimation 10s linear infinite;
}

#news .flex {
  align-items: flex-start;
}

#news .detail h2 {
  margin-bottom: 0;
}

#news .detail .link {
  margin-top: 40px;
  text-align: left;
}

#news .box {
  width: 670px;
  background-color: #fff;
  border-radius: 5px;
}

#news .box a {
  display: block;
  padding: 30px;
}

#news .box a:hover {
  opacity: 0.8;
}

#news .box a p:last-of-type {
  transition: .5s;
}

#news .box a:hover p:last-of-type {
  color: #ff7607;
}

#news .inner .box a p span {
  font-size: 15px;
  font-weight: 700;
  margin-right: 20px;
}

#news .inner .box a p span.date {
  display: inline-block;
  font-size: 18px;
}

#news .inner .box a p span.cat {
  padding: 6px 15px;
  display: inline-block;
  background-color: #ff7607;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border-radius: 50px;
}

#news .inner .box a:not(:last-child) {
  border-bottom: 1px solid #ff7607;
}

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

  #news::before {
    width: 350px;
    height: 350px;
    bottom: -120px;
    left: -120px;
  }

  #news .detail {
    width: 100%;
  }

  #news .detail .link {
    margin-top: 0;
  }

  #news .box {
    width: 100%;
    margin-top: 20px;
  }

  #news .box a {
    display: block;
    padding: 20px 5%;
  }

  #news .inner .box a p span {
    font-size: 15px;
    font-weight: 700;
    margin-right: 20px;
  }

  #news .inner .box a p span.date {
    font-size: 16px;
  }

  #news .inner .box a p span.cat {
    font-size: 13px;
  }

  #news .inner .box a p {
    margin-top: 10px;
  }
}


/*============================
.contact-section
============================*/
.contact-section {
  background-color: #f9f8fb;
}
