/* ======================================================================
company
====================================================================== */
.ceo_massage{
  display: flex;
  justify-content: center;
  gap: 4rem;
}
.ceo_img,.ceo_txt{
  flex-basis: 50%;
}
.ceo_txt{
  background: url(../img/company/ceo_bg.svg) no-repeat bottom center;
  background-size: 90%;
  line-height: 1.5;
}
.ceo_name{
  margin-top: 3em;
  font-weight: bold;
  float: right;
}
.ceo_name span{
  font-size: 1.5em;
}
.philosophy-wrap{
  width: 70%;
  margin-bottom: 4rem;
  padding-left: 7.5vw;
  position: relative;
}
.philosophy-wrap h3{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  position: relative;
}
.philosophy-wrap h3>img{
  width: 35%;
}
.philosophy-wrap h3>span{
  font-weight: bold;
  font-size: 1.5em;
}
.philosophy-wrap h3::before{
  content: "";
  background: url(../img/company/mission_icon.png) no-repeat bottom center;
  background-size: contain;
  width: 6vw;
  height: 6vw;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -7.5vw;
}
.philosophy-wrap::after{
  content: "";
  width: calc(100% - 3vw);
  height: 2px;
  background-color: red;
  position: absolute;
  top: calc(100% - 1em - 2rem);
  left: 3vw;
  z-index: -1;
}
.philosophy-wrap h3::before{
  content: "";
  background: url(../img/company/mission_icon.png) no-repeat bottom center;
  background-size: contain;
  width: 6vw;
  height: 6vw;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -7.5vw;
}
.philosophy-wrap::after{
  content: "";
  width: calc(100% - 3vw);
  height: 2px;
  background-color: #8dc21f;
  position: absolute;
  top: calc(100% - 1em - 2rem);
  left: 3vw;
  z-index: -1;
}
.philosophy-wrap.vision h3::before{
  content: "";
  background: url(../img/company/vision_icon.png) no-repeat bottom center;
  background-size: contain;
}
.philosophy-wrap.vision::after{
  content: "";
  background-color: #f29600;
}
.philosophy-wrap.value h3::before{
  content: "";
  background: url(../img/company/value_icon.png) no-repeat bottom center;
  background-size: contain;
}
.philosophy-wrap.value::after{
  content: "";
  background-color: #910782;
  top: calc(100% - 2em - 2rem);
}
.mission{
  left: 0;
}
.vision{
  left: 50%;
  transform: translateX(-50%);
}
.value{
  left: 100%;
  transform: translateX(-100%);
}
.company_table{
  width: 50%;
  margin: 0 auto;
}

.company_table th{
  border-bottom: 2px solid #005daa;
  text-align: center;
  padding: 1em 2em;
  vertical-align: middle;
}
.company_table td{
  border-bottom: 1px solid #898989;
  padding: 1em 0 1em 2.5em;
}
.company_table th:first-of-type{
  border-top: 2px solid #005daa;
}
.company_table td:first-of-type{
  border-top: 1px solid #898989;
}
.company_bnr{
  display: block;
  width: 45%;
  margin: 8rem auto 0;
}

@media screen and (max-width: 767px){
  .ceo_massage {
    flex-direction: column;
  }
  .philosophy-wrap {
    width: 100%;
  }
  .philosophy-wrap h3 {
    margin-bottom: 2rem;
  }
  .philosophy-wrap h3>span {
    font-size: 1em;
  }
  .philosophy-wrap::after,.philosophy-wrap.value::after {
    top: 1.3em;
  }
  .company_table {
    width: 100%;
  }
  .company_table th {
    white-space: nowrap;
  }
  .company_bnr {
    width: 80%;
    margin: 4rem auto 0;
  }
}
