
/*===============================================
●共通
===============================================*/

#wrapper {
  color: #fff;
  background-color: #000;
  line-height: 1;
  letter-spacing: 0;
}

a {
  color: #fff;
}


/* 文字を流す */
@-webkit-keyframes loopLeft {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%)
  }
  to {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%)
  }
}

@keyframes loopLeft {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%)
  }
  to {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%)
  }
}

@-webkit-keyframes loopRight {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0)
  }
  to {
    -webkit-transform: translateX(-200%);
    transform: translateX(-200%)
  }
}

@keyframes loopRight {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0)
  }
  to {
    -webkit-transform: translateX(-200%);
    transform: translateX(-200%)
  }
}

.comAnimationText .textLeft span:first-child {
  -webkit-animation: loopLeft 200s linear -100s infinite;
  animation: loopLeft 200s linear -100s infinite
}

.comAnimationText .textLeft span:last-child {
  -webkit-animation: loopRight 200s linear infinite;
  animation: loopRight 200s linear infinite
}

.comAnimationText .textRight span:first-child {
  -webkit-animation: loopLeft 200s linear -100s infinite;
  animation: loopLeft 200s linear -100s infinite;
  animation-direction: reverse
}

.comAnimationText .textRight span:last-child {
  -webkit-animation: loopRight 200s linear infinite;
  animation: loopRight 200s linear infinite;
  animation-direction: reverse
}

/*===============================================
●画面の横幅が813px以上(タブレット・PC)
===============================================*/
@media screen and (min-width: 813px) {

  /* メイン画像 */
  .main-img {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }

  .main-img > img.kv {
    width: 100%;
    margin: 0 auto;
  }

  .main-img > span.title {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 750px;
    height: 135px;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
  }

  /* CONCEPT */
  .concept {
    width: 100%;
    margin: 40px auto 0 auto;
  }

  .concept > div.title {
    position: relative;
    display: table;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px 0 25px;
    text-align: left;
  }

  .concept > div.title::before {
    position: absolute;
    top: 15px;
    left: 0;
    content: '';
    width: 62px;
    height: 2px;
    background-color: #CEBC36;
    transform:rotate(-36deg);
  }

  .concept > div.title > h2 {
    width: 440px;
    display: table-cell;
    font-size: 120px;
    font-weight: 700;
    vertical-align: top;
  }

  .concept > div.title > p {
    display: table-cell;
    padding-top: 45px;
    font-size: 20px;
    line-height: 1.4;
    vertical-align: top;
  }

  .concept > div.btn {
    width: 100%;
    max-width: 1400px;
    margin: 30px auto 0 auto;
    text-align: left;
  }

  .concept > div.btn > a {
    display: block;
    width: 49%;
    margin: 0;
  }

  .concept > div.btn > a:nth-of-type(2) {
    margin-left: 2%;
  }

  .concept > div.btn > a > p {
    position: relative;
    display: inline-block;
    width: 330px;
    margin: 25px 0 0 0;
    font-size: 20px;
    text-align: left;
  }

  .concept > div.btn > a:nth-of-type(2) > p {
    width: 220px;
  }

  /*
  .concept > div.btn > a > p::before {
    content: '';
    position: absolute;
    top: 6px;
    right: -75px;
    width: 28px;
    height: 8.5px;
    background: url(../images/common/arrow01.png) top center no-repeat;
    background-size: 28px;
  }
  */

  /* engineering */
  .engineering {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 1080px;
    margin: 90px auto 0 auto;
    background: url(../images/index/engineering-bg.jpg) top center no-repeat;
    background-size: cover;
  }

  .engineering > .top {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    height: 1080px;
    background: url(../images/index/engineering.png) top center no-repeat;
    background-size: cover;
  }

  .engineering > .gray {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    height: 1080px;
    background-color: rgba(0,0,0,0.3);
  }

  .engineering .comAnimationText {
    overflow: hidden;
    position: absolute;
    z-index: 1;
    top: -90px;
  }

  .engineering .comAnimationText p {
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
  }

  .engineering .comAnimationText p:last-child {
    margin-bottom: 0
  }

  .engineering .comAnimationText p span {
    padding-right: 112px;
    display: block;
    will-change: animation
  }

  .engineering .comAnimationText p img {
    width: 5070px;
    max-width: inherit
  }

  .engineering .comAnimationText p.textRight {
    margin-top: -245px;
  }

  /* ビジネス */
  .business {
    width: 100%;
    margin: 0 auto;
  }

  .business > a {
    position: relative;
    display: block;

    width : 33.33333%;
    width : -webkit-calc(100% / 3);
    width : calc(100% / 3);

    margin: 0 auto;
    background-color: #fff;
  }

  .business > a:hover {
    opacity: 1;
  }

  .business > a:nth-of-type(1) {
    border-left: 1px solid #D3D0D0;
  }

  .business > a:nth-of-type(2) {
    border-right: 1px solid #D3D0D0;
    border-left: 1px solid #D3D0D0;
  }

  .business > a:nth-of-type(3) {
    border-right: 1px solid #D3D0D0;
  }

  .business > a > div.box01 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 10% 0 0 0;
    display: block;
    width: 72%;
    height: 60%;
    background-color: rgba(255,255,255,0.83);
    border-radius: 10px;
  }

  .business > a > div.box01::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 240px;
    right: 0;
    margin: auto;
    width: 9px;
    height: 15px;
    background: url(../images/common/arrow02.png) top center no-repeat;
    background-size: 9px;
  }

  .business > a > div.box01 > p:nth-of-type(1) {
    position: relative;
    z-index: 3;
    margin: 0 auto;
    font-size: 34px;
    font-weight: 700;
    color: #CEBC36;
  }

  .business > a > div.box01 > p:nth-of-type(2) {
    position: relative;
    z-index: 3;
    margin: 10px auto 0 auto;
    font-size: 18px;
    color: #000000;
  }

  .business > a > div.box02 {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
  }

  .business > a > div.box02::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50px;
    margin: auto;
    width: 9px;
    height: 15px;
    background: url(../images/common/arrow02.png) top center no-repeat;
    background-size: 9px;
  }

  /* COMPANY */
  .company {
    width: 100%;
    margin: 60px auto 0 auto;
  }

  .company > h2 {
    margin: 0 auto;
    font-size: 120px;
    font-weight: 700;
  }

  .company > p {
    margin: 15px auto 0 auto;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
  }

  .company > img {
    width: 100%;
    margin: 50px auto 0 auto;
  }

  .company > div {
    width: 96%;
    max-width: 1400px;
    margin: 50px auto 0 auto;
  }

  .company > div > a {
    display: block;
    width : 32%;
    margin: 0;
    background-color: #fff;
    border-radius: 10px;
  }

  .company > div > a:nth-of-type(2) {
    display: block;
    width : 32%;
    margin: 0 2%;
  }

  .company > div > a > div {
    width: 90%;
    margin: 0 auto;
    padding: 15px 0 20px 0;
    text-align: left;
  }

  .company > div > a > div > p:nth-of-type(1) {
    font-size: 30px;
    font-weight: 700;
    color: #CEBC36;
  }

  .company > div > a > div > p:nth-of-type(2) {
    display: inline-block;
    position: relative;
    width: 110px;
    margin: 10px 0 0 0;
    font-size: 16px;
    color: #000;
  }

  .company > div > a:nth-of-type(3) > div > p:nth-of-type(2) {
    width: 80px;
  }

/*
  .company > div > a > div > p:nth-of-type(2)::before {
    content: '';
    position: absolute;
    top: 4px;
    right: -48px;
    width: 28px;
    height: 8.5px;
    background: url(../images/common/arrow03.png) top center no-repeat;
    background-size: 28px;
  }
  */

  /* CAREERS */
  .careers {
    position: relative;
    width: 96%;
    max-width: 1400px;
    height: 598px;
    margin: 120px auto 0 auto;
    background: url(../images/index/careers-bg.jpg) center right no-repeat;
    background-size: cover;
  }

  .careers > div {
    position: absolute;
    top: 110px;
    right: 70px;
    width: 396px;
    text-align: left;
  }

  .careers > div > h2 {
    margin: 0;
    width: 396px;
  }

  .careers > div > p {
    margin: 15px auto 0 auto;
    padding: 0 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
  }

  .careers > div > a {
    position: relative;
    display: block;
    width : 356px;
    height: 58px;
    margin: 18px 0 0 10px;
    padding: 19px 0 0 0;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    text-align: center;
    background-color: #fff;
    border-radius: 30px;
  }

  .careers > div > a:hover {
    opacity: 1;
  }

  .careers > div > a:nth-of-type(1) {
    margin: 15px 0 0 10px;
  }

  .careers > div > a.set_hover .btn-wrap {
    width: 320px;
  }

  .careers > div > a.set_hover .arw-wrap {
    position: absolute;
    bottom: 2px;
    right: 0;
    display: inline-block;
    width: 20px;
    height: 8.5px;
    overflow: hidden;
  }

  /*
  .careers > div > a::before {
    content: '';
    position: absolute;
    top: 26px;
    right: 19px;
    width: 20px;
    height: 8.5px;
    background: url(../images/common/arrow04.png) top center no-repeat;
    background-size: 20px;
  }
  */

}

/*===============================================
●画面の横幅が812px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 812px) {

  /* メイン画像 */
  .main-img {
    position: relative;
    width: 100%;
    margin: 0 auto;
  }

  .main-img > img.kv {
    width: 100%;
    margin: 0 auto;
  }

  .main-img > span.title {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 230px;
    height: 180px;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
  }

  /* CONCEPT */
  .concept {
    width: 90%;
    margin: 40px auto 0 auto;
  }

  .concept > div.title {
    position: relative;
    margin: 0 auto;
    text-align: left;
  }

  .concept > div.title::before {
    position: absolute;
    top: 8px;
    left: -17px;
    content: '';
    width: 48px;
    height: 2px;
    background-color: #CEBC36;
    transform:rotate(-50deg);
  }

  .concept > div.title > h2 {
    font-size: 72px;
    font-weight: 700;
    padding: 0 0 0 10px;
  }

  .concept > div.title > p {
    margin: 20px 0 0 0;
    font-size: 20px;
    line-height: 1.6;
  }

  .concept > div.btn {
    width: 100%;
    margin: 0 auto;
    text-align: left;
  }

  .concept > div.btn > a {
    display: block;
    width: 100%;
    margin: 45px auto 0 auto;
  }

  .concept > div.btn > a > p {
    position: relative;
    display: inline-block;
    margin: 15px 0 0 0;
    font-size: 16px;
    text-align: left;
  }

  .concept > div.btn > a > p::before {
    content: '';
    position: absolute;
    top: 5px;
    right: -50px;
    width: 28px;
    height: 8.5px;
    background: url(../images/common/arrow01.png) top center no-repeat;
    background-size: 28px;
  }

  /* engineering */
  .engineering {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 244px;
    margin: 70px auto 0 auto;
    background: url(../images/index/engineering-bg.jpg) top center no-repeat;
    background-size: cover;
  }

  .engineering > .top {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    height: 244px;
    background: url(../images/index/engineering.png) top center no-repeat;
    background-size: cover;
  }

  .engineering > .gray {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    height: 244px;
    background-color: rgba(0,0,0,0.3);
  }

  .engineering .comAnimationText {
    overflow: hidden;
    position: absolute;
    z-index: 1;
    top: -20px;
  }

  .engineering .comAnimationText p {
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
  }

  .engineering .comAnimationText p:last-child {
    margin-bottom: 0
  }

  .engineering .comAnimationText p span {
    padding-right: 112px;
    display: block;
    will-change: animation
  }

  .engineering .comAnimationText p img {
    width: 1150px;
    max-width: inherit
  }

  .engineering .comAnimationText p.textRight {
    margin-top: -55px;
  }

  /* ビジネス */
  .business {
    width: 100%;
    margin: 0 auto;
  }

  .business > a {
    position: relative;
    display: block;
    width: 100%;
    height: 170px;
    margin: 0 auto;
  }

  .business > a:nth-of-type(2) {
    margin: 2px 0;
  }

  .business > a > div.box01 {
    margin: 0 auto;
    padding: 55px 0 0 0;
    display: block;
    width: 100%;
    height: 170px;
    background-color: #fff;
  }

  .business > a > div.box01::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 240px;
    right: 0;
    margin: auto;
    width: 9px;
    height: 15px;
    background: url(../images/common/arrow02.png) top center no-repeat;
    background-size: 9px;
  }

  .business > a > div.box01 > p:nth-of-type(1) {
    margin: 0 auto;
    font-size: 30px;
    font-weight: 700;
    color: #CEBC36;
  }

  .business > a > div.box01 > p:nth-of-type(2) {
    margin: 10px auto 0 auto;
    font-size: 16px;
    color: #000000;
  }

  /* COMPANY */
  .company {
    width: 100%;
    margin: 50px auto 0 auto;
  }

  .company > h2 {
    margin: 0 auto;
    font-size: 80px;
    font-weight: 700;
  }

  .company > p {
    margin: 15px auto 0 auto;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
  }

  .company > img {
    width: 100%;
    margin: 45px auto 0 auto;
  }

  .company > div {
    width: 90%;
    margin: 40px auto 0 auto;
  }

  .company > div > a {
    display: block;
    width : 100%;
    margin: 20px auto 0 auto;
    background-color: #fff;
    border-radius: 10px;
  }

  .company > div > a:nth-of-type(1) {
    margin: 0 auto;
  }

  .company > div > a > div {
    width: 100%;
    margin: 0 auto;
    padding: 15px 0 20px 30px;
    text-align: left;
  }

  .company > div > a > div > p:nth-of-type(1) {
    font-size: 30px;
    font-weight: 700;
    color: #CEBC36;
  }

  .company > div > a > div > p:nth-of-type(2) {
    display: inline-block;
    position: relative;
    margin: 10px 0 0 0;
    font-size: 16px;
    color: #000;
  }
  .company > div > a > div > p:nth-of-type(2)::before {
    content: '';
    position: absolute;
    top: 4px;
    right: -48px;
    width: 28px;
    height: 8.5px;
    background: url(../images/common/arrow03.png) top center no-repeat;
    background-size: 28px;
  }

  /* CAREERS */
  .careers {
    width: 90%;
    margin: 20px auto 0 auto;
  }

  .careers > img {
    width: 100%;
    margin: 0 auto;
  }

  .careers > div {
    width: 100%;
    margin: 0 auto;
  }

  .careers > div > a {
    position: relative;
    display: block;
    width : 100%;
    margin: 20px auto 0 auto;
    padding: 22px 45px 21px 45px;
    font-size: 15px;
    font-weight: 500;
    color: #000;
    line-height: 1.4;
    text-align: center;
    background-color: #fff;
    border-radius: 60px;
  }

  .careers > div > a:nth-of-type(1) {
    margin: 35px auto 0 auto;
  }

  .careers > div > a::before {
    content: '';
    position: absolute;
    top: 3px;
    bottom: 0;
    right: 19px;
    margin: auto;
    width: 20px;
    height: 8.5px;
    background: url(../images/common/arrow04.png) top center no-repeat;
    background-size: 20px;
  }


}
