@charset "utf-8";

/*
  main visual
__________________________________________________*/
#mainVisual {
  overflow: hidden;
  position: relative;
  z-index: 11;
  margin-bottom: 40px;
}
#mainVisual:before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 0;
  height: 100%;
  background: #e5e5e5;
  content: '';
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#mainVisual .copy {
  display: block;
  position: relative;
  max-width: 1244px;
  margin: 0 auto;
  z-index: 4;
  top: 10vh;
  opacity: 1;
}
#mainVisual .copy span {
  top: 0;
  left: 0;
  position: absolute;
}
#mainVisual .copy span img {
  width: 100%;
  height: auto;
}
#mainVisual .mvBg {
  position: absolute;
  top: 0;
  left: 20vw;
  z-index: 3;
  width: 120vw;
  height: 100vh;
  background: url(/img/top/mv.jpg) 50% 50% no-repeat;
  background-size: cover;
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s,
    left 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
  opacity: 0;
}
#mainVisual.is_acitive:before {
  width: 100%;
}
#mainVisual.is_acitive .mvBg {
  left: 0;
  opacity: 1;
}
/*#mainVisual.is_acitive .copy{top:0; opacity:1;}*/
#mainVisual .copy span {
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 1.2s ease-out 1.5s;
}
#mainVisual .copy span:nth-child(2) {
  opacity: 0;
  transform: translate(0, 100px);
}
#mainVisual .copy span:nth-child(3) {
  opacity: 0;
  transform: translate(0, 150px);
}
#mainVisual .copy span:nth-child(4) {
  opacity: 0;
  transform: translate(0, 200px);
}
#mainVisual .copy span:nth-child(5) {
  opacity: 0;
  transform: translate(0, 250px);
}
#mainVisual.is_acitive .copy span {
  opacity: 1;
  transform: translate(0, 0);
}

/*要素　アニメーション*/
.text {
  opacity: 0;
  transform: translate(0, 120px);
  transition: all 1.5s;
}
.text.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

main #mainHeader {
  position: relative;
  padding-bottom: 51px /*22px:*/;
}
main #mainHeader h2 {
  display: none;
  opacity: 0;
  text-indent: 1000%;
  overflow: hidden;
}
main #mainHeader p {
  text-align: center;
  line-height: 2.5em;
}
main #mainHeader p + p {
  margin-top: 30px;
}

#company dl dt {
  width: 220px;
}
#company dl dd {
  width: calc(100% - 220px);
}
#recruit dl dt {
  width: 115px;
}
#recruit dl dd {
  width: calc(100% - 115px);
}
#greeting {
  position: relative;
  background: url(../img/top/mv_2.jpg) center top no-repeat;
  background-size: cover;
  margin: 0 auto;
}
#greeting h2 {
  float: left;
}
#greeting .greetingBox {
  width: 680px;
  float: right;
  padding-top: 87px;
}
#greeting .greetingBox p {
  line-height: 2.6em;
  margin-bottom: 43px;
}
#greeting .greetingBox p.signature {
  text-align: right;
  text-indent: 1000%;
  overflow: hidden;
  white-space: nowrap;
  background: top right no-repeat url(../img/top/signature.png);
  margin-top: 48px;
  margin-bottom: 66px;
}
#company {
  padding-bottom: 165px;
}
#company h2 {
  float: left;
}
#recruit {
  padding-bottom: 165px;
}
#recruit h2 {
  float: left;
}
#service {
  padding-bottom: 115px;
}
#service ul {
  margin: 0 -15px;
}
#service li {
  display: block;
  float: left;
  color: #fff;
  margin: 0 15px 30px;
  width: 520px;
  height: 450px;
  padding: 30px;
}
#service li:nth-child(2n) {
  float: right;
}
#service li h3 {
  font-size: 30px;
  font-family: 'Akrobat Black';
}
#service li h3 span {
  display: block;
  font-size: 15px;
}
#service li h3:before {
  content: '';
  border-top: 3px solid;
  display: block;
  clear: both;
  width: 20px;
  padding-top: 20px;
}
#service li p {
  margin: 33px 0 16px 0;
  font-size: 13px;
  line-height: 2.2em;
}
#service li p strong {
  color: #faff65;
  font-weight: bold;
  font-size: 15px;
}
#service li {
  line-height: 2.53em;
  overflow: hidden;
  position: relative;
  z-index: 11;
}
#service li:before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 0;
  height: 100%;
  background: #000;
  content: '';
  transition: width 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#service li .container {
  position: relative;
  z-index: 4;
  top: 50px;
  transition: top 1s cubic-bezier(0.23, 1, 0.32, 1) 1.4s,
    opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.4s;
  opacity: 0;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
#service li .listBg {
  position: absolute;
  top: 0;
  left: 10vw;
  z-index: 3;
  width: 100%;
  height: 100%;
  background: url(../img/top/mv_3.jpg) 50% 50% no-repeat;
  background-size: cover;
  transition: opacity 0.7s ease-out 0.5s, left 1s ease-out 0.5s;
  opacity: 0;
}
#service li:nth-child(2) .listBg {
  background-image: url(../img/top/mv_4.jpg);
}
#service li:nth-child(3) .listBg {
  background-image: url(../img/top/mv_5.jpg);
}
#service li:nth-child(4) .listBg {
  background-image: url(../img/top/mv_6.jpg);
}
#service ul li.scrollin:before {
  width: 100%;
}
#service ul li.scrollin .container {
  top: 0;
  opacity: 1;
}
#service ul li.scrollin .listBg {
  left: 0;
  opacity: 1;
}

@media only screen and (min-width: 668px) {
  #service li:nth-child(3) {
    /*
  display: block; float: left; color: #fff; margin:0 15px 30px; width:346px; height: 450px; padding: 30px;
  */
    display: block;
    float: left;
    color: #fff;
    margin: 0 15px 30px;
    width: 520px;
    height: 450px;
    padding: 30px;
  }
  #service li:nth-child(4) {
    display: block;
    float: right;
    color: #fff;
    margin: 0 15px 30px;
    width: 520px;
    height: 450px;
    padding: 30px;
  }
  #service li:nth-child(5) {
    display: block;
    float: none;
    color: #fff;
    margin: 0 15px 30px;
    width: 346px;
    height: 450px;
    padding: 30px;
  }
}

/*PC版追加CSS　ここから*/
#profile {
  padding-bottom: 115px;
}
#profile ul {
  margin: 0 -15px;
}
#profile li {
  display: block;
  float: left;
  color: #000;
  margin: 0 15px 30px;
  width: 520px;
  height: 348px;
  padding: 30px;
  border: solid 1px;
}
#profile li:nth-child(2n) {
  float: right;
}
#profile li h3 {
  font-size: 23px;
  font-family: 'Akrobat Black';
}
#profile li h3 span {
  display: block;
  font-size: 15px;
}
#profile li h3:before {
  content: '';
  border-top: 3px solid;
  display: block;
  clear: both;
  width: 20px;
  padding-top: 20px;
}
#profile li p {
  margin: 33px 0 16px 0;
  font-size: 13px;
  line-height: 2.2em;
}
#profile li p strong {
  color: #faff65;
  font-weight: bold;
  font-size: 15px;
}
#profile li {
  line-height: 2.53em;
  overflow: hidden;
  position: relative;
  z-index: 11;
}
#profile li:before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 0;
  height: 100%;
  background: #fff;
  content: '';
  transition: width 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/*
#profile li .container{position:relative; z-index: 4; top:50px; transition: top 1s cubic-bezier(.23,1,.32,1) 1.4s, opacity .8s cubic-bezier(.23,1,.32,1) 1.4s; opacity:0; -ms-flex-pack:justify; justify-content:space-between;}
#profile li .listBg{position:absolute; top:0; left:10vw; z-index: 3; width:100%; height:100%; background: url(../img/top/white_pc.jpg) 50% 50% no-repeat; background-size: cover; transition:opacity .7s ease-out .5s,left 1s ease-out .5s; opacity:0;}
*/
#profile li .container {
  position: relative;
  z-index: 4;
  top: 50px;
  transition: top 1s cubic-bezier(0.23, 1, 0.32, 1) 0.7s,
    opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0.7s;
  opacity: 0;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
#profile li .listBg {
  position: absolute;
  top: 0;
  left: 10vw;
  z-index: 3;
  width: 100%;
  height: 100%;
  background: url(../img/top/white_pc.jpg) 50% 50% no-repeat;
  background-size: cover;
  transition: opacity 0.7s ease-out 0.5s, left 1s ease-out 0.5s;
  opacity: 0;
}

#profile li:nth-child(2) .listBg {
  background-image: url(../img/top/white_pc.jpg);
}
#profile ul li.scrollin:before {
  width: 100%;
}
#profile ul li.scrollin .container {
  top: 0;
  opacity: 1;
}
#profile ul li.scrollin .listBg {
  left: 0;
  opacity: 1;
}

@media only screen and (max-width: 1120px) {
  #service li {
    display: block;
    float: none;
    color: #fff;
    margin: 0 0 30px;
    width: 100%;
    height: auto;
    padding: 30px 20px 20px;
  }
  /* タブレットでも縦1列に統一するため、特異性で上書き */
  #service li:nth-child(3),
  #service li:nth-child(4) {
    float: none;
    width: 100%;
    margin: 0 0 30px;
    padding: 30px 20px 20px;
  }
  #profile li {
    display: block;
    float: none;
    color: #000;
    margin: 0 0 30px;
    width: 100%;
    height: auto;
    padding: 30px 20px 20px;
  }
}

@media only screen and (max-width: 960px) {
  #mainVisual .mvBg {
    background: url(/img/top/sp/mv.jpg);
    background-size: cover;
  }
  #mainVisual .copy span {
    transform: translate(0, 20px);
  }
  #mainVisual .copy span:nth-child(2) {
    transform: translate(0, 40px);
  }
  #mainVisual .copy span:nth-child(3) {
    transform: translate(0, 60px);
  }
  #mainVisual .copy span:nth-child(4) {
    transform: translate(0, 80px);
  }
  #mainVisual .copy span:nth-child(5) {
    transform: translate(0, 100px);
  }
  .landscape #mainVisual .copy span {
    left: calc(50vw - 192px);
  }
  .landscape #mainVisual .copy span img {
    width: 384px;
  }

  .text {
    opacity: 0;
    transform: translate(0, 120px);
    transition: all 1.5s;
  }
  #mainHeader {
    position: relative;
    padding-bottom: 30px;
  }
  main #mainHeader figure {
    margin-bottom: 36px;
  }
  main #mainHeader span {
    padding: 10px;
  }
  main #mainHeader p {
    line-height: 2.17em;
  }
  main #mainHeader p + p {
    margin-top: 25px;
  }

  #company dl {
    margin-bottom: 9px;
    line-height: 1.33em;
  }
  #company dl dt {
    width: 105px;
  }
  #company dl dd {
    width: calc(100% - 105px);
  }
  #recruit dl {
    margin-bottom: 9px;
    line-height: 1.66em;
  }
  #recruit dl dt {
    width: 105px;
  }
  #recruit dl dd {
    width: calc(100% - 105px);
  }

  #greeting {
  }
  #greeting h2 {
    float: none;
  }
  #greeting .greetingBox {
    width: 100%;
    float: none;
    padding-top: 0;
  }
  #greeting .greetingBox p {
    line-height: 2.3em;
    margin-bottom: 33px;
  }
  #greeting .greetingBox p.signature {
    background: top right no-repeat url(../img/top/sp/signature.png);
    background-size: auto 16px;
    margin-top: 48px;
    margin-bottom: 0;
  }
  #company {
    padding-bottom: 72px;
  }
  #company h2 {
    float: none;
  }
  #recruit {
    padding-bottom: 72px;
  }
  #recruit h2 {
    float: none;
  }
  #service {
    padding-bottom: 50px;
  }
  #service ul {
    margin: 0;
  }
  #service li h3 {
    font-size: 21px;
    margin-bottom: 14px;
  }
  #service li h3 span {
    font-size: 12px;
    margin-top: -7px;
  }
  #service li h3:before {
    padding-top: 10px;
  }
  #service li p {
    margin: 0 0 4px 0;
    font-size: 9px;
  }
  #service li p strong {
    font-size: 10px;
  }
  #service li {
    line-height: 2.53em;
    overflow: hidden;
    position: relative;
    z-index: 11;
  }
  #service li:nth-child(2n) {
    float: none;
  }
  #service li:before {
  }
  #service li .container {
    top: 0;
  }
  #service li .listBg {
    background-image: url(../img/top/sp/mv_3.jpg);
  }
  #service li:nth-child(2) .listBg {
    background-image: url(../img/top/sp/mv_4.jpg);
  }
  #service li:nth-child(3) .listBg {
    background-image: url(../img/top/sp/mv_5.jpg);
  }
  #service li:nth-child(4) .listBg {
    background-image: url(../img/top/sp/mv_6.jpg);
  }

  /*sp版追加CSS　ここから*/
  #profile {
    padding-bottom: 50px;
  }
  #profile ul {
    margin: 0;
  }
  #profile li h3 {
    font-size: 18px;
    margin-bottom: 14px;
  }
  #profile li h3 span {
    font-size: 12px;
    margin-top: -7px;
  }
  #profile li h3:before {
    padding-top: 10px;
  }
  #profile li p {
    margin: 0 0 4px 0;
    font-size: 9px;
  }
  #profile li p strong {
    font-size: 10px;
  }
  #profile li {
    line-height: 2.53em;
    overflow: hidden;
    position: relative;
    z-index: 11;
  }
  #profile li:nth-child(2n) {
    float: none;
  }
  #profile li:before {
  }
  #profile li .container {
    top: 100px;
  }
  #profile li .listBg {
    background-image: url(../img/top/sp/white.jpg);
  }
  /*#profile li:nth-child(2) .listBg{background-image: url(../img/top/sp/mv_4.jpg);}*/
  #profile li:nth-child(2) .listBg {
    background-image: url(../img/top/sp/white.jpg);
  }

  /*sp版追加CSS　ここまで*/
}
