@charset "UTF-8";

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

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

.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 #ccc;
  border-right: 5px solid #ccc;
  border-bottom: 5px solid #ccc;
  border-left: 5px solid #fff;
  -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);
  }
}

/*============================
top_img
============================*/

.top_img {
  width: 100%;
  background: url(../images/home/top_img.jpg) no-repeat center center;
  background-size: cover;
}

.top_img h1 {
  width: 980px;
  padding-top: 650px;
  height: 0;
  overflow: hidden;
  background: url(../images/home/top_catch.png) no-repeat left top;
  background-size: 100%;
  margin: auto;
}

@media only screen and (max-width: 768px) {
  .top_img h1 {
    width: 100%;
    padding-top: 96%;
    background-image: url(../images/home/top_img_sp.jpg);
  }
}

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

.container {
  position: relative;
}

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

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

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

.link li a,
.link li input {
  background-color: #111;
}

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

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

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

h2 {
  margin-bottom: 40px;
  line-height: 1.4;
  letter-spacing: 0;
  position: relative;
  font-weight: 600;
  font-size: 32px;
  text-align: center;
}

h2::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background-color: #111;
  position: absolute;
  top: 24px;
}

h2 span.parts {
  display: inline-block;
  position: relative;
  z-index: 10;
  background-color: #fff;
  padding: 0 30px;
}

h2 span.eng {
  display: block;
  font-size: 18px;
}

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

  h2::after {
    height: 1px;
    top: 24px;
  }

  h2 span.parts {
    padding: 0 20px;
  }

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

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

h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

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

/*============================
#lead-section
============================*/

#lead-section {
  padding: 60px;
  text-align: center;
  line-height: 1;
  font-weight: 600;
}

#lead-section p {
  font-size: 20px;
}

#lead-section p.eng {
  font-size: 36px;
}

@media only screen and (max-width: 768px) {
  #lead-section {
    padding: 40px;
    text-align: center;
    line-height: 1;
    font-weight: 600;
  }

  #lead-section p {
    font-size: 20px;
  }

  #lead-section p.eng {
    font-size: 26px;
    margin-top: 0;
  }
}

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

#news {
  background: #eee;
}

#news h2 span.parts {
  background-color: #eee;
}

#news .inner-bg {
  background-color: #fff;
  padding: 20px 35px;
}

#news .inner .box a {
  display: block;
  padding: 10px 0;
}

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

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

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

@media only screen and (max-width: 768px) {
  #news .inner-bg {
    border-radius: 3px;
    padding: 10px 15px;
  }

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

/*============================
#about
============================*/

#about .each {
  width: 490px;
}

#about .each img {
  width: 100%;
}

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

  #about .each:nth-child(n+2) {
    margin-top: 40px;
  }
}


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

#service {
  background-color: #eee;
  padding: 100px 0;
}

#service .each {
  width: 490px;
}

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

#service h2 {
  margin-bottom: 0;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 18px;
  background-color: #111;
  color: #fff;
  padding: 20px 0;
}

#service h2::before {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 18px;
  margin: auto;
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  z-index: 10;
}

#service h2::after {
  display: none;
}

@media only screen and (max-width: 768px) {
  #service {
    padding: 30px 0;
  }

  #service .each {
    width: 100%;
  }

  #service .each:last-child {
    margin-top: 30px;
  }

  #service h2 {
    font-size: 16px;
  }
}


/*============================
#recruit
============================*/

#recruit {
  text-align: center;
}

#recruit img {
  width: 100%;
}

#recruit .lead {
  margin-top: 60px;
  font-size: 24px;
}


@media only screen and (max-width: 768px) {
  #recruit {
    text-align: left;
  }

  #recruit img {
    background: url(../images/home/recruit/recruit_sp.jpg) no-repeat center;
    height: 0;
    padding-top: 69.7368%;
    overflow: hidden;
    -webkit-background-size: 100%;
    background-size: 100%;
  }

  #recruit .lead {
    margin-top: 20px;
    font-size: 18px;
  }
}
