@charset "UTF-8";

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

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

.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 #004ea2;
  border-right: 5px solid #004ea2;
  border-bottom: 5px solid #004ea2;
  border-left: 5px solid #c0e155;
  -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 {
  position: relative !important;
  display: block;
  width: 100%;
  background: url(../images/home/top_img.jpg) no-repeat center center;
  height: 650px;
  -webkit-background-size: cover;
  background-size: cover;
}

.top_img h1,
.top_img p {
  display: block;
  background: url(../images/home/top_catch.png) no-repeat center;
  width: 1040px;
  height: 0;
  padding-top: 650px;
  margin: auto;
  overflow: hidden;
  -webkit-background-size: 100%;
  background-size: 100%;
}

@media only screen and (max-width: 768px) {
  .top_img {
    position: relative !important;
    display: block;
    width: 100%;
    background: url(../images/home/top_img_sp.jpg) no-repeat center center;
    height: 86.6666%;
    -webkit-background-size: cover;
    background-size: cover;
  }

  .top_img h1,
  .top_img p {
    display: block;
    background: url(../images/home/top_catch_sp.png) no-repeat center;
    width: 100%;
    height: 0;
    padding-top: 86.6666%;
    margin: auto;
    overflow: hidden;
    -webkit-background-size: 100%;
    background-size: 100%;
  }
}

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

.container {
  position: relative;
}

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

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

.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 {
  margin-bottom: 43px;
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: #004ea2;
}

h2 span.eng {
  font-size: 16px;
  font-weight: 400;
  color: #2f3134;
  position: relative;
  padding-left: 25px;
}

h2 span.eng::before {
  position: absolute;
  content: '';
  width: 15px;
  height: 5px;
  top: 0;
  bottom: 0;
  left: 3px;
  margin: auto;
  background-color: #004ea2;
  border-radius: 2px;
}

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

  h2 span.eng {
    font-size: 14px;
  }
}

/*============================
h3
============================*/

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

@media only screen and (max-width: 768px) {
  h3 {
    font-size: 16px;
  }
}

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

#news {
  background: #e9f6fd;
}

#news .inner-bg {
  background-color: #fff;
  border-radius: 25px;
  padding: 30px 40px;
  position: relative;
}

#news .inner-bg::before {
  position: absolute;
  content: '';
  display: block;
  background: url(../images/home/news/illust.svg) no-repeat center;
  width: 660px;
  height: 105px;
  background-size: 100%;
  top: -103px;
  right: 20px;
}

#news .inner .box a {
  display: block;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

#news .inner .box a:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

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

#news .inner .box a p span {
  font-weight: 700;
  margin-right: 20px;
  display: inline;
  font-family: "Plus Jakarta Sans";
}

#news .small_link {
  text-align: right;
  font-weight: 500;
  margin-top: 15px;
}

#news .small_link i {
  color: #004ea2;
}

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

  #news h2 {
    margin-bottom: 70px;
  }

  #news .inner-bg {
    border-radius: 15px;
    padding: 20px;
  }

  #news .inner-bg::before {
    width: 100%;
    top: -75px;
    right: 0px;
  }

  #news .inner .box a p span {
    display: block;
  }
}


/*============================
service
============================*/
#service .inner {
  position: relative;
}

#service .lead {
  width: 520px;
}

#service p {
  margin: 20px 0;
}

#service ul.detail {
  justify-content: flex-start;
}

#service ul.detail li {
  border: 1px solid #287dc0;
  border-radius: 5px;
  padding: 7px 15px;
  font-size: 18px;
  font-weight: 500;
  color: #287dc0;
  margin-right: 20px;
}

#service .photo {
  width: 480px;
  position: absolute;
  top: 0;
  right: 0;
}

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

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

  #service p {
    margin: 15px 0 0 0;
  }

  #service ul.flex {
    display: block;
  }

  #service ul.detail li {
    padding: 5px 15px;
    font-size: 16px;
    margin-top: 15px;
    text-align: center;
    margin-right: 0;
  }

  #service .photo {
    position: relative;
    width: 100%;
    padding-top: 65.6716%;
    height: 0;
    overflow: hidden;
    background: url(../images/home/service/01_sp.jpg) no-repeat left top;
    background-size: 100%;
    margin: 0 0 20px;
    border-radius: 15px;
  }
}

/*============================
company
============================*/
#company {
  background: url(../images/home/company/company_bg.jpg) no-repeat center;
  background-size: cover;
}

#company .lead {
  width: 520px;
}

#company .lead img {
  width: 432px;
  margin-top: 30px;
}

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

@media only screen and (max-width: 768px) {
  #company {
    background: url(../images/home/company/company_bg_sp.jpg) no-repeat center;
    background-size: cover;
  }

  #company .lead {
    width: 100%;
  }

  #company .lead img {
    width: 100%;
    margin-top: 10px;
  }

  #company table.info {
    width: 100%;
    margin-top: 30px;
  }
}

/*============================
recruit
============================*/
#recruit img {
  width: 480px;
}

#recruit .lead {
  width: 520px;
  margin-top: 10px;
}

#recruit p {
  margin-top: 20px;
}

@media only screen and (max-width: 768px) {
  #recruit img {
    width: 100%;
    padding-top: 59.7014%;
    height: 0;
    overflow: hidden;
    background: url(../images/home/recruit/01_sp.jpg) no-repeat left top;
    background-size: 100%;
    margin-bottom: 30px;
    border-radius: 15px;
  }

  #recruit .lead {
    width: 100%;
    margin-top: 0;
  }

  #recruit p {
    margin-top: 15px;
  }

  #recruit .lead img {
    width: 100%;
    padding-top: 59.7014%;
    height: 0;
    overflow: hidden;
    background: url(../images/home/recruit/01_sp.jpg) no-repeat left top;
    background-size: 100%;
    margin-bottom: 20px;
  }
}

/*============================
works（wp）
============================*/

#works {
  background: #e9f6fd;
  border-bottom: 1px solid #004ea2;
}

#works .inner::after {
  display: block;
  content: "";
  width: 330px;
}

#works .inner a.box {
  display: block;
  width: 330px;
}

#works .inner a.box .photo {
  width: 100%;
  height: 280px;
  margin: 0;
  background-color: #fff;
}

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

#works .box .text {
  background: #FFF;
  padding: 10px 15px;
  border-top: 1px solid #eee;
}

#works .box .text h3 {
  font-size: 16px;
  font-weight: 500;
}

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

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

  #works .inner a.box .photo {
    height: 320px;
  }
}
