@charset "UTF-8";

/*============================
common
============================*/

.container {
  padding-bottom: 0;
}

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

.primary article {
  padding: 80px 0;
}

h2 {
  font-weight: bold;
  padding-bottom: 40px;
  text-align: center;
  font-size: 25px;
}

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

  h2 {
    font-weight: bold;
    padding-bottom: 20px;
    text-align: center;
    font-size: 20px;
  }
}

/*============================
FV
============================*/
.top_img {
  overflow: hidden;
  width: 100%;
  height: 560px;
  background-color: #fff;
  position: relative;
}

#slider {
  width: 100%;
  height: 560px;
}

#catch {
  margin: auto;
  width: 980px;
  padding-top: 560px;
  height: 0;
  overflow: hidden;
  background: url(../images/home/catch.png) no-repeat left bottom;
  background-size: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

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

  .top_img {
    margin-top: 51px;
    height: 300px;
  }

  #slider {
    height: 300px;
  }

  #catch {
    width: 100%;
    padding-top: 57.1428%;
    bottom: 0;
  }
}

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

#recruit {
  background-color: #e6f1ff;
}

#service img,
#recruit img {
  width: 480px;
}

#service .text,
#recruit .text {
  width: 480px;
}

#service .text p:first-child,
#recruit .text p:first-child {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.04em;
}

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

  #recruit .flex {
    flex-direction: column-reverse;
  }

  #service img,
  #recruit img {
    width: 100%;
  }

  #service .text,
  #recruit .text {
    width: 100%;
    margin-top: 20px;
  }

  #service .text p:first-child,
  #recruit .text p:first-child {
    font-size: 18px;
  }
}

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

#company .info {
  width: 480px;
}

#company #map {
  height: 585px;
  width: 480px;
}

#company #map iframe {
  width: 100%;
  height: 100%;
}

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

  #company #map {
    margin-top: 20px;
    height: 280px;
    width: 100%;
  }
}
