/* CSS Document */

.container-i {
  max-width: 860px;
  margin: 0 auto;
}
.container-ii {
  max-width: 860px;
  margin: 0 30px;
}

@media only screen and (max-width: 959px) {
  .container-o {
    padding: 0 10px;
  }
  .container-ii {
    margin: 0 10px;
  }
}

/* アイキャッチ */
.icatch {
  background: url(../img/icatch_work.png) center center no-repeat;
  background-size: cover;
  width: 100%;
  height: 505px;
}
.page-title {
  padding-top: 200px;
  font-size: 3.6rem;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.3rem;
  color: #fff;
}
.page-subtitle {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.3rem;
  color: #fff;
}
/* コンテンツ */
.work {
  position: relative;
  width: 100%;
  height: 250px;
}
.workstyle {
  background: url(../img/work_thum_1.png) center center no-repeat;
  background-size: cover;
  margin-top: 150px;
}
.library {
  background: url(../img/work_thum_2.png) center center no-repeat;
  background-size: cover;
}
.ind {
  background: url(../img/work_thum_3.png) center center no-repeat;
  background-size: cover;
}
.works {
  background: url(../img/work_thum_4.png) center center no-repeat;
  background-size: cover;
}
.blackfilter {
  background: #000;
  position: absolute;
  width: 100%;
  height: 250px;
  opacity: 0.4;
}
.work h1 {
  position: absolute;
  top: 80px;
  left: 50%;
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 0.1rem;
  color: #fff;
  transform: translateX(-50%);

  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
.work a {
  display: block;
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 140px;
  left: 50%;
  width: 160px;
  padding: 13px 0 12px;
  border: 2px solid #fff;
  border-radius: 25px;
  font-size: 1.4rem;
  letter-spacing: 0.2rem;
  color: #fff;
  transform: translateX(-50%);

  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
/* 下層リンク */
.work-link {
  background: url(../img/footermenu_work.png) center center no-repeat;
  background-size: cover;
  width: 100%;
  margin-top: 100px;
  padding: 10px 0;
}
.work-link a {
  display: block;
  background: rgba(255, 255, 255, 0.8);
  position: relative;
  width: 49.5%;
  padding: 30px 30px;
  border-radius: 5px;
  font-size: 1.7rem;
  color: #000;
  transition: all 0.2s ease-in-out;

  float: left;
  -webkit-transition: all 0.2s ease-in-out;
}
.work-link a:nth-child(1) {
  margin: 0 1% 10px 0;
}
.work-link a:nth-child(2) {
  margin-bottom: 10px;
}
.work-link a:nth-child(3) {
  margin-right: 1%;
}
.fa-angle-right {
  position: absolute;
  top: 24px;
  right: 30px;
  font-size: 2.6rem;
  transition: all 0.2s ease-in-out;

  -webkit-transition: all 0.2s ease-in-out;
}
.work-link a:hover {
  background: rgba(255, 255, 255, 1);
}
.work-link a:hover .fa-angle-right {
  right: 25px;
}

@media only screen and (max-width: 768px) {
  .page-title {
    padding-top: 110px;
    line-height: 1.2;
    text-align: center;
  }
  .page-subtitle {
    padding-top: 10px;
  }
  .icatch {
    height: 300px;
  }
  .workstyle {
    margin-top: 80px;
  }
  .work {
    height: 150px;
  }
  .blackfilter {
    height: 150px;
  }
  .work h1 {
    top: 30px;
    width: 100%;
    font-size: 2.2rem;
  }
  .work a {
    top: 80px;
  }
}

.work-movie video {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 40px auto 0;
}
.work-movie video:focus {
  outline: none;
}
.work-movie h1 {
  padding-top: 80px;
  color: #000;
  text-align: center;
}
.work-movie-main {
  font-size: 4.5rem;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.3rem;
}
.work-movie-sub {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.3rem;
}

@media only screen and (max-width: 959px) {
  .work-movie-main {
    font-size: 3rem;
  }
  .work-movie-sub {
    font-size: 1.4rem;
  }
}
