@charset "utf-8";
/* CSS Document */
p {
  margin: 0;
}
section {
  padding-top: 120px;
  padding-bottom: 120px;
}
section h2 {
  margin-bottom: 100px;
}
section h2 span {
  display: block;
  margin-top: 10px;
  font-size: 2rem;
  color: #999;
}

@media screen and (max-width: 767px) {
  section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  section h2 {
    margin-bottom: 40px;
  }
  section h2 span {
    font-size: 1.6rem;
    margin-top: 5px;
  }
}
/*****************************************************
*
* メインビジュアル
*
******************************************************/

header {
  height: 548px;
}
header .container {
  height: 100%;
}
header .container .row {
  height: 100%;
}
header .container .row h1 {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  line-height: 1.8;
  font-size: 5.4rem;
  padding-left: 40px;
}
header .container .row h1 span {
  display: block;
  font-size: 2.4rem;
  margin-top: 20px;
}
header .container .row .img {
  text-align: right;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media (max-width: 1199px) {
  header .container .row h1 {
    font-size: 4.8rem;
    padding-left: 15px;
  }
}

@media (max-width: 767px) {
  header {
    height: auto;
  }
  header .container .row h1 {
    top: auto;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    padding: 30px 30px 10px;
    line-height: 1.6;
    font-size: -webkit-calc(100vw / 9);
    font-size: calc(100vw / 9);
  }
  header .container .row h1 span {
    margin-top: 10px;
  }
  header .container .row .img {
    top: auto;
    padding-bottom: 15px;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    overflow: hidden;
  }
  header .container .row .img img {
    width: 60%;
    -webkit-transform: translate(15px, 0);
    -ms-transform: translate(15px, 0);
    transform: translate(15px, 0);
  }
}
/*****************************************************
*
*　バナーエリア
*
******************************************************/

.banner {
  padding: 60px 0 50px;
  background: #f2f2f2 url(../images/common/bnr_bg.png) center top no-repeat;
}
.banner .container {
  max-width: 970px;
}
.banner .container .row a li img {
  display: block;
  margin-bottom: 30px;
  -webkit-box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.banner .container .row a:hover li img {
  -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}
.banner .container .row a li h5 {
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .banner {
    padding: 40px 0 20px;
  }
  .banner .row {
    margin-right: -7.5px;
    margin-left: -7.5px;
  }
  .banner .container .row a li {
    float: none;
    max-width: 380px;
    margin: 0 auto 20px;
    padding-right: 7.5px;
    padding-left: 7.5px;
  }
  .banner .container .row a li * {
    text-align: center;
  }
  .banner .container .row a li img {
    max-width: 75%;
    margin: 0 auto 15px;
  }
  .banner .container .row a li h5 {
    margin-bottom: 0;
    font-size: 1.6rem;
  }
  .banner .container .row a li p {
    font-size: 1.4rem;
  }
}
/*****************************************************
*
* 事業紹介
*
******************************************************/
.service {
  background: url(../images/index/service_bg.jpg) top center no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}
.service .container .row {
  height: 400px;
}
.service .container .row a .inner {
  position: absolute;
  left: 0;
  top: 0;
  margin-left: 15px;
  margin-right: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.service .container .row a:hover .inner {
  -webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
  margin-left: 0;
  margin-right: 0;
  margin-top: -15px;
}
.service .container .row .inner .img {
  display: block;
  padding: 15% 15% 7%;
}
.service .container .row .inner .img img {
  border-radius: 50%;
}
.service .container .row .inner h3 {
  font-weight: bold;
  font-size: 1.8rem;
  text-align: center;
  padding: 0 10% 5%;
  margin-bottom: 0;
}
.service .container .row .inner .txt {
  padding-right: -webkit-calc(10% - 12px);
  padding-right: calc(10% - 12px);
  padding-left: -webkit-calc(10% - 12px);
  padding-left: calc(10% - 12px);
  padding-bottom: 5%;
  max-height: 0;
  opacity: 0;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.service .container .row a:hover .inner .txt {
  padding-right: 10%;
  padding-left: 10%;
  padding-bottom: 10%;
  max-height: 20em;
  opacity: 1;
}

@media screen and (max-width: 1199px) {
  .service .container .row {
    height: 320px;
  }
}

@media screen and (max-width: 767px) {
  .service .container .row a .inner {
    position: relative;
    margin-right: 30px;
    margin-left: 30px;
    margin-bottom: 30px;
    -webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
  }
  .service .container .row > div:nth-last-of-type(1) .inner {
    margin-bottom: 0;
  }
  .service .container .row a:hover .inner {
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 0;
  }
  .service .container .row .inner .txt {
    opacity: 1;
    max-height: none;
    padding-right: 10%;
    padding-left: 10%;
    padding-bottom: 10%;
  }
}

/*****************************************************
*
* ニュース
*
******************************************************/
@media screen and (max-width: 767px) {
  .newstopics .container ul a:nth-of-type(n + 4) {
    display: none;
  }
}
/*****************************************************
*
* Diezonとは
*
******************************************************/
.about {
  background: url(../images/index/about_bg.jpg) right top no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}
.about .container h2 {
  margin-bottom: 60px;
  text-align: left;
}
.about .container h2 span {
  color: #000;
}
.about .container div {
  max-width: 640px;
  padding: 7%;
  background: rgba(255, 255, 255, 0.9);
}
.about .container div p:nth-last-of-type(1) {
  margin-top: 60px;
}

@media screen and (max-width: 991px) {
  .about {
    background-position: 30% top;
  }
  .about .container h2 {
    margin-bottom: 40px;
    text-align: center;
  }
  .about .container div {
    width: auto;
    max-width: none;
    float: none !important;
    padding: 10% 5%;
  }
  .about .container div p:nth-last-of-type(1) {
    margin-top: 40px;
  }
}
/*****************************************************
*
* 採用情報
*
******************************************************/
.recruit {
  background-image: url(../images/index/recruit_bg.jpg);
  background-position: -webkit-calc(50% + 320px) 60px;
  background-position: calc(50% + 320px) 60px;
  background-repeat: no-repeat;
}
.recruit .container h2 {
  margin-bottom: 60px;
  text-align: right;
}
.recruit .container div {
  max-width: 480px;
  margin-bottom: 70px;
}
.recruit .container ul {
  clear: both;
}

@media screen and (max-width: 991px) {
  .recruit {
    -webkit-background-size: 360px;
    background-size: 360px;
    background-position: -webkit-calc(100% + 100px) -webkit-calc(100% + 40px);
    background-position: calc(100% + 100px) calc(100% + 40px);
  }
  .recruit .container h2 {
    margin-bottom: 40px;
    text-align: center;
  }
  .recruit .container div {
    margin-bottom: 60px;
    float: none !important;
    max-width: none;
  }
  .recruit .container ul li {
    margin-bottom: 15px;
  }
}

/**/
