/* CSS Document */
.company {
  background: url("../img/company/fv.jpg") no-repeat center top;
  background-size: cover;
  height: 340px;
  width: 100%;
  position: relative;
  z-index: 2;
}

#fv {
  height: 700px;
  width: 100%;
  position: relative;
  z-index: 2;
}
#fv .wrap {
  width: 1370px;
  padding: 220px 0 0;
}

.fvtextbox {
  width: 43%;
  border: 1px solid #163b7b;
  position: relative;
  background: #FFF;
}
.fvtextbox p {
  width: 80%;
  margin: 0 auto;
  text-align: left;
}

.fvttleng {
  font-size: 3rem;
  font-weight: 600;
  color: #002043;
  position: relative;
  top: -28px;
  letter-spacing: 0.3rem;
  line-height: 3rem;
}
.fvttleng span {
  font-size: 139%;
  font-weight: 500;
  color: #c99739;
}

.fvtextbox p.fvttl {
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.03rem;
  margin: 5px auto 20px;
  position: relative;
  padding-bottom: 16px;
}

.fvttl:before {
  content: "";
  background: #000;
  width: 40px;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 5px;
}

.fvtextbox p.ntext {
  font-family: "Noto Sans JP", sans-serif;
}

main {
  margin: 130px auto 110px;
}
main img {
  vertical-align: top;
}

.ttltext {
  margin: 50px auto;
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: 0.11rem;
}

.contlrimgtext img {
  margin: 175px 0 0;
}
.contlrimgtext div ul {
  border-left: 1px solid #000;
  padding: 0 0 0 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 70px auto 0;
}
.contlrimgtext div ul li:nth-child(odd) {
  width: 28%;
}
.contlrimgtext div ul li:nth-child(even) {
  width: 70%;
  padding-bottom: 30px;
}
.contlrimgtext div ul li:nth-last-child(2) {
  margin-top: 120px;
}
.contlrimgtext div ul li:last-child {
  margin-top: 145px;
  padding-bottom: 0;
}
.contlrimgtext ul img {
  margin: 0;
}
.contlrimgtext div ul li:last-child a {
  display: block;
  margin-top: 20px;
}

.contlrimgtext {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.contlrimgtext.lefttext {
  margin: 90px auto 145px;
  flex-direction: row-reverse;
}
.contlrimgtext .ttltopeng:before {
  width: 100%;
  background: #b8b8b8;
}
.contlrimgtext .ttltopeng span {
  background: #FFF;
  padding: 0 20px 0 0;
  position: relative;
  z-index: 5;
}
.contlrimgtext div {
  width: 50%;
  width: 47%;
  margin-right: 3%;
}
.contlrimgtext .ttltopeng {
  color: #b8b8b8;
}

@media screen and (max-width: 768px) {
  #fv {
    height: auto;
    top: -105px;
    margin-bottom: -105px;
  }
  #fv .wrap {
    width: 100%;
  }
  .fvtextbox {
    width: 90%;
    margin: 0 auto;
    padding-bottom: 20px;
  }
  .fvtextbox p.fvttleng {
    font-size: 2.3rem;
    letter-spacing: -0.03rem;
    text-align: center;
  }
  .fvtextbox p.fvttl {
    margin: 10px auto;
    font-size: 1.5rem;
  }
  .fvtextbox p.ntext {
    font-size: 0.7rem;
    line-height: 1.6rem;
    margin-bottom: 20px;
  }
  main {
    margin: 70px auto;
  }
  .contlrimgtext.lefttext {
    margin: 50px auto 55px;
    display: block;
  }
  .contlrimgtext img {
    width: 100%;
    margin: 0 auto;
  }
  .contlrimgtext div {
    width: 90%;
    margin: 5%;
  }
  .contlrimgtext div ul {
    padding: 0 0 0 20px;
    display: block;
    margin: 40px auto 0;
  }
  .contlrimgtext div ul li:nth-child(odd), .contlrimgtext div ul li:nth-child(even) {
    width: 100%;
    margin: 0;
  }
  .contlrimgtext div ul li img {
    width: auto;
  }
}