@charset "UTF-8";

/*
# =================================================================
# 業務紹介
# =================================================================*/
/* 基本 */
#engineering {
  background: url(../../../img/common/mvBg5.png) no-repeat center bottom 500px / 1920px;
}
#engineering.business {
  padding: 0;
}

/* mv */
#engineering.business .mv2 {
  background: url(../img/mvBg1.jpg) no-repeat center center / cover;
}

/* mainTxt */
#engineering.business .mainTxt {
  margin: 0 0 70px 0;
  text-align: center;
}
#engineering.business .mainTxt p {
  font-weight: bold;
}

/* businessList */
#engineering.business .businessList {
  padding: 0 0 20px 0;
}
#engineering.business .businessList > .inner {
  max-width: 1100px;
  margin: 0 auto 70px auto;
  padding: 60px 50px 110px 50px;
  background: url(../img/businessListBg1.jpg) no-repeat center top / cover;
  border-radius: 15px;
}
#engineering.business .businessList > .inner:nth-of-type(2) {
  margin: 0 auto;
  padding: 30px 50px 40px 50px;
  background: url(../img/businessListBg2.jpg) no-repeat center top / cover;
}
#engineering.business .businessList > .inner h3 {
  margin: 0 0 20px 0;
  padding: 13px 15px;
  background: #f2a600;
  border-radius: 50px;
  color: #fff;
  text-align: center;
  line-height: 1;
}
#engineering.business .businessList > .inner h3.type2 {
  background: #00afae;
}
#engineering.business .businessList > .inner:nth-of-type(2) h3 {
  background: #fff;
  color: #007bad;
}
#engineering.business .businessList > .inner > p {
  margin: 0 0 60px 0;
  font-size: 15.5px;
  font-weight: bold;
  text-align: center;
  line-height: 2.4;
}
#engineering.business .businessList > .inner:nth-of-type(2) > p {
  margin: 0 0 20px 0;
  color: #fff;
}
#engineering.business .businessList > .inner .contents {
  margin: 0 0 30px 0;
  position: relative;
}
#engineering.business .businessList > .inner .contents:nth-of-type(2) {
  margin: 0 0 70px 0;
}
#engineering.business .businessList > .inner .contents:nth-of-type(3) {
  margin: 0;
}
#engineering.business .businessList > .inner .contents .listTtl {
  width: 110px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  line-height: 1.6;
  position: absolute;
  top: calc(50% - 8px);
  left: 0;
  z-index: 1;
}
#engineering.business .businessList > .inner .contents:nth-of-type(2) .listTtl {
  top: calc(50% - 20px);
}
#engineering.business .businessList > .inner .contents ul {
  padding: 0 0 0 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
#engineering.business .businessList > .inner .contents ul::after {
  content: '';
  width: 100%;
  height: 72%;
  background: #a5bec9;
  border-radius: 25px 10px 10px 25px;
  position: absolute;
  top: 15%;
  left: 0;
}
#engineering.business .businessList > .inner .contents ul li {
  width: 160px;
  margin: 0 7px 20px 7px;
  padding: 10px 10px 45px 10px;
  background: #fff;
  border-radius: 25px;
  position: relative;
  z-index: 1;
}
#engineering.business .businessList > .inner .contents ul li h4 {
  margin: 0 0 30px 0;
  padding: 10px 0;
  background: linear-gradient(90deg, #007bad 0%, #6bc8f2 100%);
  border-radius: 50px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  line-height: 1;
}
#engineering.business .businessList > .inner .contents ul li .listTxt {
  margin: 0 0 10px 0;
  position: relative;
  overflow: hidden;
}
#engineering.business .businessList > .inner .contents ul li .listTxt:nth-last-of-type(1) {
  margin: 0;
}
#engineering.business .businessList > .inner .contents ul li .listTxt::before {
  content: '';
  width: 100%;
  height: 100%;
  background: #e7eff3;
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: -100%;
  transition: .3s;
}
#engineering.business .businessList > .inner .contents ul li .listTxt:hover::before {
  left: 0;
}
#engineering.business .businessList > .inner .contents ul li .listTxt a {
  height: 50px;
  padding: 0 25px 0 8px;
  border: 1px solid #007bad;
  border-radius: 5px;
  font-size: 14px;
  color: #007bad;
  text-decoration: none;
  line-height: 1.2;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}
#engineering.business .businessList > .inner .contents ul li .listTxt a::after {
  content: '';
  width: 14px;
  height: 14px;
  background: url(../../../img/common/naviIconArrow3.svg) no-repeat left top / 14px;
  position: absolute;
  top: calc(50% - 7px);
  right: 7px;
}
#engineering.business .businessList > .inner .contents ul li .listNoTxt {
  font-size: 14px;
  text-align: center;
  position: absolute;
  top: calc(50% - 7px);
  left: 0;
  right: 0;
}
#engineering.business .businessList > .inner:nth-of-type(2) .btn {
  width: 145px;
  margin: 0 auto;
  background: #fff;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}
#engineering.business .businessList > .inner:nth-of-type(2) .btn::before {
  content: '';
  width: 100%;
  height: 100%;
  background: #e7eff3;
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: -100%;
  transition: .3s;
}
#engineering.business .businessList > .inner:nth-of-type(2) .btn:hover::before {
  left: 0;
}
#engineering.business .businessList > .inner:nth-of-type(2) .btn a {
  height: 50px;
  padding: 0 25px 0 18px;
  border-radius: 5px;
  font-size: 14px;
  color: #007bad;
  text-decoration: none;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}
#engineering.business .businessList > .inner:nth-of-type(2) .btn a::after {
  content: '';
  width: 14px;
  height: 14px;
  background: url(../../../img/common/naviIconArrow3.svg) no-repeat left top / 14px;
  position: absolute;
  top: calc(50% - 7px);
  right: 7px;
}

/* contact */
#engineering.business .contact {
  background: none;
}

/* modal */
.modalArea {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, .4);
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: .3s ease-in-out;
  z-index: 100;
}
.modalArea.act {
  opacity: 1;
  visibility: visible;
}
.modal {
  max-width: 900px;
  width: 90%;
  margin: 0 auto;
  background: #fff;
  border-radius: 15px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -57%);
}
.modal .inner {
  width: 100%;
  padding: 85px 50px 100px 50px;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}
.modal .inner.type3 {
  display: block;
}
.modal .inner .txt {
  width: calc(100% - 345px);
  padding: 0 50px 0 0;
}
.modal .inner.type2 .txt {
  width: calc(100% - 290px);
}
.modal .inner.type3 .txt {
  width: 100%;
  margin: 0 0 30px 0;
  padding: 0;
}
.modal .inner .txt h5 {
  margin: 0 0 20px 0;
  padding: 0 0 10px 20px;
  border-bottom: 1px solid #c4cacc;
  font-size: 20px;
  position: relative;
}
.modal .inner .txt h5::before {
  content: '';
  width: 2px;
  height: 25px;
  background: url(../../../img/common/verticalline1.gif) no-repeat left top / 2px;
  position: absolute;
  top: 3px;
  left: 0;
}
.modal .inner .txt p.attention {
  font-size: 12.5px;
}
.modal .inner .txt .box1 {
  margin: 20px 0 0 0;
  padding: 23px 30px 20px 30px;
  background: #e2eaee;
  border-radius: 15px;
}
.modal .inner .txt .box1 h6 {
  margin: 0 0 7px 0;
  padding: 0 0 0 20px;
  font-size: 16px;
  color: #007bad;
  line-height: 1;
  position: relative;
}
.modal .inner .txt .box1 h6::before {
  content: '';
  width: 10px;
  height: 15px;
  background: url(../../../img/common/iconArrow.gif) no-repeat left top / 10px;
  position: absolute;
  top: 0;
  left: 0;
}
.modal .inner .txt .box1 p {
  font-size: 14px;
}
.modal .inner .img {
  width: 345px;
}
.modal .inner.type2 .img {
  width: 290px;
}
.modal .inner.type3 .img {
  width: 100%;
}
.modal .inner .img img {
  width: 100%;
  display: block;
}
.modal .inner .img span {
  margin: 6px 0 15px 0;
  padding: 0 0 0 20px;
  display: block;
  position: relative;
}
.modal .inner .img span:nth-last-of-type(1) {
  margin: 6px 0 0 0;
}
.modal .inner .img span::before {
  content: '';
  width: 13px;
  height: 13px;
  background: url(../../../img/common/iconDia.svg) no-repeat left top / 13px;
  position: absolute;
  top: 7px;
  left: 0;
}
.modal .btnClose {
  width: 40px;
  height: 40px;
  display: block;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
}

/*
# =================================================================
# レスポンシブ要素
# =================================================================*/
/* 4K:2560px */
@media screen and (min-width: 1921px) {
  /* 基本 */
  #engineering {
    background: url(../../../img/common/mvBg5.png) no-repeat center bottom 500px / 100%;
  }
}
/* PC:1920px */

/* laptop NotePC L */
@media screen and (max-width: 1660px) {
}
@media screen and (max-width: 1440px) {
}
@media screen and (max-width: 1240px) {
}
@media screen and (max-width: 1120px) {
}
@media screen and (max-width: 1080px) {
}

/* laptop NotePC */
@media screen and (max-width: 1024px) {
}
@media screen and (max-width: 960px) {
  /* modal */
  .modal .inner .txt {
    width: 50%;
  }
  .modal .inner .img {
    width: 50%;
  }
}

/* tablet */
@media screen and (max-width: 767.98px) {
  /* 基本 */
  #engineering {
    background: url(../../../img/common/mvBg5.png) no-repeat center bottom 775px / 100%;
  }
  /* modal */
  .modal .inner {
    height: 80vh;
    display: block;
    overflow-y: scroll;
  }
  .modal .inner .txt {
    width: 100%;
    margin: 0 0 30px 0;
    padding: 0;
  }
  .modal .inner.type2 .txt {
    width: 100%;
  }
  .modal .inner .img {
    width: 100%;
  }
  .modal .inner.type2 .img {
    width: 100%;
  }
  .modal .btnClose {
    top: 10px;
    right: 10px;
  }
  /* businessList */
  #engineering.business .businessList > .inner > p {
    margin: 0 0 120px 0;
  }
  #engineering.business .businessList > .inner .contents {
    margin: 0 0 120px 0;
  }
  #engineering.business .businessList > .inner .contents .listTtl {
    width: 100%;
    text-align: center;
    top: -47px;
    right: 0;
  }
  #engineering.business .businessList > .inner .contents:nth-of-type(2) .listTtl {
    top: -47px;
  }
  #engineering.business .businessList > .inner .contents ul {
    padding: 0 0 50px 0;
    display: block;
  }
  #engineering.business .businessList > .inner .contents ul::after {
    width: 76%;
    height: calc(100% + 80px);
    margin: 0 auto;
    border-radius: 25px;
    top: -80px;
    right: 0;
  }
  #engineering.business .businessList > .inner .contents ul li {
    width: 100%;
    margin: 0 0 20px 0;
    padding: 18px 10px 40px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  #engineering.business .businessList > .inner .contents ul li.type2 {
    justify-content: space-between;
  }
  #engineering.business .businessList > .inner .contents ul li:nth-last-of-type(1) {
    margin: 0;
  }
  #engineering.business .businessList > .inner .contents ul li h4 {
    width: 100%;
    margin: 0 auto 15px auto;
  }
  #engineering.business .businessList > .inner .contents ul li .listTxt {
    width: 48.5%;
  }
  #engineering.business .businessList > .inner .contents ul li .listNoTxt {
    position: static;
  }
}

/* mobile L */
@media screen and (max-width: 450px) {
  /* 基本 */
  #engineering {
    background: url(../../../img/common/mvBg5.png) no-repeat center bottom 550px / 100%;
  }
  /* mv */
  #engineering.products .mv2 {
    background: url(../img/mvBg1_sp.jpg) no-repeat center center / cover;
  }
  /* modal */
  .modal {
    transform: translate(-50%, -51%);
  }
  .modal .inner {
    height: 550px;
    padding: 30px 20px;
  }
  .modal .inner .txt h5 {
    font-size: 4.2vw;
  }
  .modal .inner .txt p {
    font-size: 3.8vw;
  }
  .modal .inner .txt .box1 {
    padding: 20px;
  }
  .modal .inner .txt .box1 h6 {
    font-size: 4.2vw;
  }
  .modal .inner .txt .box1 h6::before {
    top: -1px;
  }
  .modal .inner .txt .box1 p {
    font-size: 3.6vw;
  }
  .modal .inner .img span {
    font-size: 3.8vw;
  }
  .modal .inner .img span::before {
    width: 12px;
    height: 12px;
    background: url(../../../img/common/iconDia.svg) no-repeat left top / 12px;
    top: 5px;
  }
  .modal .btnClose {
    top: -10px;
    right: -10px;
  }
  /* mainTxt */
  #engineering.business .mainTxt {
    margin: 0 0 50px 0;
  }
  #engineering.business .mainTxt p {
    font-size: 3.8vw;
    text-align: left;
  }
  /* businessList */
  #engineering.business .businessList {
    padding: 0;
  }
  #engineering.business .businessList > .inner {
    margin: 0 auto 50px auto;
    padding: 35px 20px 50px 20px;
  }
  #engineering.business .businessList > .inner:nth-of-type(2) {
    padding: 30px 20px 40px 20px
  }
  #engineering.business .businessList > .inner h3 {
    margin: 0 0 15px 0;
    font-size: 4.2vw;
  }
  #engineering.business .businessList > .inner > p {
    font-size: 3.8vw;
    text-align: left;
    line-height: 2.2;
  }
  #engineering.business .businessList > .inner .contents .listTtl {
    font-size: 3.8vw;
  }
  #engineering.business .businessList > .inner .contents ul li h4 {
    font-size: 3.6vw;
  }
  #engineering.business .businessList > .inner .contents ul li .listTxt a {
    font-size: 3.6vw;
  }
  #engineering.business .businessList > .inner .contents ul li .listNoTxt {
    font-size: 3.6vw;
  }
  #engineering.business .businessList > .inner:nth-of-type(2) .btn a {
    font-size: 3.6vw;
  }
}
@media screen and (max-width: 400px) {
}

/* mobile M */
@media screen and (max-width: 375px) {
}

/* mobile S */
@media screen and (max-width: 320px) {
  /* 基本 */
  #engineering {
    background: url(../../../img/common/mvBg5.png) no-repeat center bottom 530px / 100%;
  }
}
