@charset "UTF-8";

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

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

.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 #267cb6;
  border-right: 5px solid #267cb6;
  border-bottom: 5px solid #267cb6;
  border-left: 5px solid #f1c012;
  -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 {
  -js-display: flex;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: 650px;
  width: 100%;
  background: url(../images/home/top_img.jpg) no-repeat center center;
  background-size: cover;
  text-align: center;
  margin-top: 80px;
}

.top_img h1::before {
  content: '';
  display: block;
  position: absolute;
  background: url(../images/common/logo.png)no-repeat center center;
  -webkit-background-size: 100%;
  background-size: 100%;
  width: 220px;
  height: 180px;
  top: -220px;
  left: 0;
  right: 0;
  margin: auto;

}

.top_img h1 {
  font-size: 36px;
  color: #fff;
  line-height: 1;
  position: relative;
  top: 115px;
  display: block;
}

.top_img h1 .big {
  display: block;
  padding-top: 20px;
  font-size: 80px;
}

.top_img h1 p.eng {
  font-size: 20px;
  color: #085ab2;
  padding: 0;
}


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

  .top_img {
    height: 50vh;
    background: url(../images/home/top_img_sp.jpg) no-repeat center center;
    background-size: cover;
    margin-top: 55px;
  }

  .top_img h1::before {
    width: 150px;
    height: 140px;
    top: -150px;
  }

  .top_img h1 {
    font-size: 18px;
    top: 65px;
  }

  .top_img h1 .big {
    font-size: 24px;
  }

  .top_img h1 p.eng {
    font-size: 11px;
  }

}


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

.container {
  position: relative;
}

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

.primary > article {
  padding: 100px 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
============================*/

h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 50px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #2972c0;
  font-family: "Lora", serif;
  font-weight: 500;
}

@media only screen and (max-width: 768px) {
  h2 {
    margin-bottom: 20px;
    font-size: 30px;
  }

}


/*============================
#about
============================*/
#about p {
  text-align: center;
  padding-top: 0;
  margin-bottom: 50px;
}

#about h3 {
  background-color: transparent;
  border-left: none;
  color: #2972c0;
  padding: 0 0 30px 0;
  margin-bottom: 0;
  font-size: 26px;
  text-align: center;
  letter-spacing: 0.06em;
  line-height: 1;
  position: relative;
}

#about h3::before,
#about h3::after {
  content: '';
  display: block;
  width: 368px;
  height: 1px;
  background-color: #2972c0;
  position: absolute;
  top: 40%;
}

#about h3::before {
  left: 0;
}

#about h3::after {
  right: 0;
}

#about h3 .big {
  font-size: 40px;
}

#about .strengths ol li {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 168px;
  counter-increment: item;
}

#about .strengths ol li span {
  display: block;
  width: 100%;
  position: relative;
}

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

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

#about .strengths ol li img {
  width: 100%;
  margin: 40px 0 20px;
}

#about .strengths ol li p {
  margin-bottom: 0;
  color: #2972c0;
  font-size: 18px;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
}


@media only screen and (max-width: 768px) {
  #about p {
    margin-bottom: 30px;
  }

  #about h3 {
    font-size: 20px;
  }

  #about h3::before,
  #about h3::after {
    width: 60px;
  }

  #about h3 .big {
    font-size: 34px;
  }

  #about .strengths ol li span::before {
    font-size: 15px;
  }

  #about .strengths ol li span::after {
    top: 25px;
    left: 20px;
    width: 20px;
  }

  #about .strengths ol li img {
    margin: 20px 0;
  }

  #about .strengths ol li p {
    margin-bottom: 0;
    color: #2972c0;
    font-size: 15px;
    margin-bottom: 30px;
  }

  #about .strengths ol li:last-of-type p {
    margin-bottom: 0;
  }

}


/*============================
#service
============================*/
#service {
  background: #dff5fe;
}

#service .box {
  width: 330px;
  position: relative;
}

#service .box .service-info {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.85);
  width: 250px;
  height: 110px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#service .box h3 {
  text-align: center;
  color: #2972c0;
}

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


@media only screen and (max-width: 768px) {
  #service .box {
    width: 100%;
    margin-bottom: 30px;
  }

  #service .box:last-of-type {
    margin-bottom: 0;
  }

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

}


/*============================
#works
============================*/
#works {
  background: #267cb6;
}

#works h2 {
  color: #fff;
}

#works h3 {
  margin-bottom: 10px;
  line-height: 1;
  font-family: 'Noto Sans JP', 'Open Sans', '游ゴシック', 'YuGothic', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", 'Meiryo', "ＭＳ Ｐゴシック", "MS PGothic", sans-serif, "Font Awesome 5 Free";
}

#works .box {
  width: 500px;
  display: block;
}

#works .inner a.box .photo {
  width: 100%;
  height: 300px;
  margin: 0;
}

#works .inner a.box .img {
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  -webkit-background-size: cover;
  background-size: cover;
}

#works .box .text {
  background: #fff;
  padding: 20px 25px;
}

#works .box .text p {
  padding-top: 0;
  line-height: 1;
}


@media only screen and (max-width: 768px) {
  #works .box {
    width: 100%;
  }

  #works .box:not(:first-child) {
    margin-top: 20px;
  }

  #works .box figure {
    height: 250px;
  }
}


/*============================
#partner
============================*/

#partner {
  padding-bottom: 100px;
}

#partner .box {
  background: url(../images/home/partner/bg.jpg) no-repeat center center;
  background-size: cover;
  height: 303px;
  padding: 40px;
}

#partner .box:hover {
  opacity: 0.7;
}

#partner h2 {
  text-align: left;
  margin-bottom: 30px;
  line-height: 1;
  color: #fff;
}

#partner p {
  padding-top: 0;
  color: #fff;
}

#partner .link {
  width: 100%;
  margin: auto;
  padding-top: 20px;
  display: block;
}

#partner .link li {
  width: 330px;
  margin: 0;
}

#partner .link li a:first-child {
  display: none;
}

#partner .link li a:last-child {
  background-color: #f1c012;
}


@media only screen and (max-width: 768px) {
  #partner {
    padding-bottom: 50px;
  }

  #partner .box {
    background: url(../images/home/partner/bg_sp.jpg) no-repeat center center;
    background-size: cover;
    height: 337px;
    padding: 30px 20px;
  }

  #partner .link li {
    width: 100%;
    margin: auto;
  }

  #partner .link li a {
    margin-bottom: 20px;
  }

}


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

#company {
  background: url(../images/home/company/bg.jpg) no-repeat center center;
  background-size: cover;
  padding-bottom: 100px;
}

#company .box {
  background-color: #fff;
  padding: 80px 100px;
  border-radius: 10px;
}

#company table.info {
  width: 420px;
}

#company table.info td ul {
  padding-left: 0;
}

#company table.info td ul li {
  padding-left: 15px;
}

#company table.info td ul li::before {
  top: 12px;
}

#company table.info td ul li:nth-of-type(n+2)::before {
  margin-top: 8px;
}

#company a.google {
  color: #5a5a5a;
}


@media only screen and (max-width: 768px) {
  #company {
    padding-bottom: 50px;
  }

  #company .box {
    padding: 30px 20px;
  }

  #company table.info {
    width: 100%;
  }

  #company table:nth-of-type(2) {
    padding-top: 10px;
  }

  #company .link li {
    width: 100%;
  }

}
