/*------------------------------------
会社概要用CSS
------------------------------------*/
#company_sec1 .sub-title {
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: 0.1rem;
  font-weight: 600;
}
#company_sec1 .daihyou {
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.8;
  margin-top: 20px;
}
#company_sec1 .daihyou span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
}
#company_sec1 .daihyou span::before,
#company_sec1 .daihyou span::after {
  content: "";
  display: inline-block;
  height: 1px;
  background-color: #000;
  width: 80px;
}
#company_sec1 .company-flex {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}
#company_sec1 .company-flex .item-text {
  width: 60%;
}
#company_sec1 .company-flex .item-text p {
  line-height: 2;
  margin-top: 25px;
}
#company_sec1 .company-flex .item-img {
  width: 40%;
}
#company_sec1 table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 60px;
}
#company_sec1 table th,
#company_sec1 table td {
  border-bottom: 1px solid #D8D8D8;
  padding: 25px 20px;
}
#company_sec1 table th {
  width: 20%;
  font-weight: 400;
  text-align: left;
}
#company_sec1 .map {
  margin-top: 40px;
}
#company_sec1 .map iframe {
  width: 100%;
  height: 450px;
  border: none;
}
#company_sec2 .inner {
  padding-top: 20px;
}
#company_sec2 .mvv-wrap {
  display: flex;
  gap: 80px;
  flex-direction: column;
}
#company_sec2 .mvv-wrap .content h3 {
  display: flex;
  gap: 30px;
  align-items: center;
  font-family: var(--font-sub-1);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.2rem;
}
#company_sec2 .mvv-wrap .content h3::before,
#company_sec2 .mvv-wrap .content h3::after {
  content: "";
  display: inline-block;
  height: 1px;
  background-color: #000;
}
#company_sec2 .mvv-wrap .content h3.vision::before {
  width: 10%;
}
#company_sec2 .mvv-wrap .content h3.vision::after {
  width: 90%;
}
#company_sec2 .mvv-wrap .content h3.mission::before {
  width: 30%;
}
#company_sec2 .mvv-wrap .content h3.mission::after {
  width: 70%;
}
#company_sec2 .mvv-wrap .content h3.value::before {
  width: 50%;
}
#company_sec2 .mvv-wrap .content h3.value::after {
  width: 50%;
}
#company_sec2 .mvv-wrap .content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 30px auto 40px;
}
#company_sec2 .mvv-wrap .content p {
  line-height: 2;
}
#company_sec3 {
  background-image: url(../../img/company-section-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 250px;
}
#company_sec4 .history .item {
  padding-left: 50px;
  position: relative;
  padding-bottom: 50px;
}
#company_sec4 .history .item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  background-color: #000;
  border-radius: 50%;
}
#company_sec4 .history .item::after {
  content: "";
  position: absolute;
  top: 25px;
  left: 12.5px;
  width: 1px;
  height: calc(100% - 25px);
  background-color: #000;
}
#company_sec4 .history .item:last-child::after {
  display: none;
}
#company_sec4 .history .item p {
  line-height: 2;
  margin-top: 10px;
}

@media only screen and (min-width: 1081px) {
  .inner {
    width: 64%;
  }
}

@media only screen and (max-width: 1080px) {
  #company_sec1 .company-flex .item-text p {
    line-height: 1.8;
    margin-top: 15px;
    font-size: 0.9rem;
  }
  #company_sec1 table {
    margin-top: 40px;
  }
  #company_sec1 table th, #company_sec1 table td {
    padding: 20px 10px;
    font-size: 0.9rem;
  }
  #company_sec1 .map iframe {
    height: 350px;
  }
  #company_sec2 .mvv-wrap .content p {
    line-height: 1.8;
    font-size: 0.9rem;
  }
  #company_sec2 .mvv-wrap .content h4 {
    font-size: 1.2rem;
    margin: 20px auto;
  }
  #company_sec2 .mvv-wrap {
    gap: 60px;
  }
  #company_sec3 {
    height: 200px;
  }
  #company_sec4 .history .item p {
    line-height: 1.8;
    font-size: 0.9rem;
  }
}

@media only screen and (max-width: 767px) {
  #company_sec1 .page-title {
    margin-bottom: 30px;
  }
  #company_sec1 .sub-title {
    font-size: 1.2rem;
  }
  #company_sec1 .daihyou span::before, #company_sec1 .daihyou span::after {
    width: 60px;
  }
  #company_sec1 .daihyou span {
    font-size: 0.9rem;
  }
  #company_sec1 .daihyou {
    font-size: 1.2rem;
  }
  #company_sec1 .company-flex {
    gap: 10px;
    margin-top: 20px;
    flex-direction: column-reverse;
  }
  #company_sec1 .company-flex .item-text {
    width: 100%;
  }
  #company_sec1 .company-flex .item-text p {
    font-size: 0.8rem;
  }
  #company_sec1 .company-flex .item-img {
    width: 100%;
  }
  #company_sec1 table th, #company_sec1 table td {
    padding: 15px 10px;
    font-size: 0.8rem;
  }
  #company_sec1 table th {
    width: 25%;
  }
  #company_sec1 table {
    margin-top: 20px;
  }
  #company_sec1 .map {
    margin-top: 20px;
  }
  #company_sec1 .map iframe {
    height: 250px;
  }
  #company_sec2 .mvv-wrap .content h3 {
    gap: 20px;
    font-size: 1.4rem;
  }
  #company_sec2 .mvv-wrap .content h4 {
    font-size: 1rem;
  }
  #company_sec2 .mvv-wrap .content p {
    font-size: 0.8rem;
  }
  #company_sec2 .mvv-wrap {
    gap: 40px;
  }
  #company_sec3 {
    height: 150px;
  }
  #company_sec4 .history .item {
    padding-left: 30px;
    padding-bottom: 30px;
  }
  #company_sec4 .history .item::before {
    top: 2px;
    width: 20px;
    height: 20px;
  }
  #company_sec4 .history .item::after {
    top: 20px;
    left: 10px;
    height: calc(100% - 20px);
  }
  #company_sec4 .history .item p {
    font-size: 0.8rem;
    margin-top: 5px;
  }
}