
/* テーマ調整 */
.site-content-contain {
  background-color: #212121;
  color: #FFF;
}
.site-content-contain:before {
  content: "";
  background-image: url(../img/staff/staff-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
}
#content,
#colophon,
.f-box,
.site-content-contain #breadcrumb {
  position: relative;
  z-index: 1;
}
#mainImg {
  margin-bottom: 180px;
}


/* outer 調整 */
.outer.staff {
  background-color: rgba( 0, 0, 0, 0.7 );
  position: relative;
}
.outer.staff:before {
  content: "";
  display: block;
  background-image: url(../img/staff/staff-gara1.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top left;
  position: absolute;
  top: 0;
}
.outer.staff:after {
  content: "";
  display: block;
  background-image: url(../img/staff/staff-gara2.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
  position: absolute;
  bottom: 0;
}

.right-image.outer.staff:before {
  left: 0;
}
.right-image.outer.staff:after {
  right: 0;
}

.left-image.outer.staff:before {
  right: 0;
  transform: rotateY(180deg);
}
.left-image.outer.staff:after {
  left: 0;
  transform: rotateY(180deg);
}


/*ビルボード*/
.site-main #mainImg {
    background-color: #e9e4d4;
    background-image: url(../img/bg/under-bg.png), -webkit-linear-gradient(left, rgba(233, 228, 212, 1) 0%, rgba(233, 228, 212, 1) 60%, rgba(233, 228, 212, 0) 70%, rgba(233, 228, 212, 0) 100%), url(../img/contents/other-bil.png);
    background-image: url(../img/bg/under-bg.png), linear-gradient(to right, rgba(233, 228, 212, 1) 0%, rgba(233, 228, 212, 1) 60%, rgba(233, 228, 212, 0) 70%, rgba(233, 228, 212, 0) 100%), url(../img/contents/other-bil.png);
    background-position: left top, center, 130% center;
    background-repeat: no-repeat;
    background-size: auto 100%, auto, auto 100%;
    display: table;
    padding-top: 0;
    padding-bottom: 0;
}
.site-main #mainImg h1 {
    color: #333;
    display: table-cell;
    height: 75px;
    vertical-align: middle;
}
.site-main #mainImg + .outer {
    padding-bottom: 0;
    padding-top: 20px;
}


/* スタッフ紹介 */
.staff-wrap .staff-name {
    font-family: 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'HGP明朝B', serif;
}
.staff-wrap .staff-name .pos {
}
.staff-wrap .staff-name .name1 {
  color: #cfae57;
  font-size: 1.5em;
}
.staff-wrap .staff-name .name2 {
  color: #cfae57;
}
.staff-wrap ul {
  padding-top: 1em;
}
.staff-wrap ul li {
  list-style: none;
    color: #999;
}
.staff-wrap ul ~ p {
    color: #999;
}



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

    /* テーマ調整 */
    .site-content-contain:before {
      background-position: right top;
      top: 110px;
    }

    /* outer 調整 */
    .outer.staff {
      margin-bottom: 60px;
      padding-top: 40px !important;
      padding-bottom: 40px !important;
    }
    .outer.staff:before {
      height: 120px;
      width: 120px;
    }
    .outer.staff:after {
      height: 150px;
      width: 150px;
    }

    /* ビルボード */
    .staff #mainImg {
      margin-bottom: 60px;
    }



    /* スタッフ紹介 */
    .staff-wrap .image {
      margin-top: -50px;
    }
    .staff-wrap .staff-name {
      margin-top: 0;
    }

    .right-image .staff-wrap .image {
      float: right;
      width: 50%;
    }
    .right-image .staff-wrap .staff-name {
      float: left;
      width: 49%;
    }

    .left-image .staff-wrap .image {
      float: left;
      width: 50%;
    }
    .left-image .staff-wrap .staff-name {
      float: right;
      width: 49%;
    }

    .staff-wrap ul {
      clear: both;
    }


} /* max 767px */



@media screen and (min-width: 48em) {

    /* テーマ調整 */
    .site-content-contain:before {
      background-position: center top;
      top: 395px;
    }

    /* outer 調整 */
    .outer.staff {
      margin-bottom: 100px;
      padding-top: 30px !important;
      padding-bottom: 20px !important;
    }
    .outer.staff:before {
      height: 341px;
      width: 30%;
      max-width: 396px;
    }
    .outer.staff:after {
      height: 205px;
      width: 40%;
      max-width: 442px;
    }


    /*ビルボード*/
    .site-main #mainImg {
        background-color: #e9e4d4;
        background-image: url(../img/bg/under-bg.png), -webkit-linear-gradient(left, rgba(233, 228, 212, 1) 0%, rgba(233, 228, 212, 1) 60%, rgba(233, 228, 212, 0) 70%, rgba(233, 228, 212, 0) 100%), url(../img/contents/other-bil.png);
        background-image: url(../img/bg/under-bg.png), linear-gradient(to right, rgba(233, 228, 212, 1) 0%, rgba(233, 228, 212, 1) 60%, rgba(233, 228, 212, 0) 70%, rgba(233, 228, 212, 0) 100%), url(../img/contents/other-bil.png);
        background-position: left top, center, right center;
        background-repeat: no-repeat;
        background-size: auto 100%, auto, auto 100%;
    }
    .site-main #mainImg h1 {
        font-size: 48px;
        height: 200px;
    }
    .staff #mainImg {
      margin-bottom: 100px;
    }


    /* スタッフ紹介 */
    .staff-wrap {
      display: flex;
      justify-content: space-between;
    }
    .right-image .staff-wrap {
      flex-direction: row-reverse;
    }
    .staff-wrap .image {
      margin-top: -50px;
      width: 42.9%;
    }
    .staff-wrap .detail {
      width: 53%;
    }
    .staff-wrap .staff-name .name1 + br {
      display: none;
    }
    .staff-wrap .staff-name .name2 {
      display: inline-block;
      margin-left: 1em;
    }
    .staff-wrap ul li:nth-child(1) {
      display: inline-block;
    }
    .staff-wrap ul li:nth-child(2) {
      display: inline-block;
      margin-left: 3em;
    }


} /* min 48em(768px) */
