/* CSS Document */
#contents .company {
  position: relative;
}

#contents .company .first {
  box-sizing: border-box;
  position: relative;
}

@media screen and (min-width: 931px) {
  #contents .company .first {
    margin-top: 150px;
    width: 100%;
    background-image: url("../img/comp_bg.png");
    background-repeat: no-repeat;
    background-size: contain;
  }
}

@media screen and (max-width: 930px) {
  #contents .company .first {
    margin: 100px auto 0;
    width: 95%;
    background: #fff;
  }
}

#contents .company .first h2 {
  font-size: clamp(16px, 1.5vw, 30px);
  color: #000;
  letter-spacing: 1px;
  padding: 0.5vw 1.5vw;
  box-sizing: border-box;
}

@media screen and (min-width: 931px) {
  #contents .company .first h2 {
    text-align: left;
    margin: 0 auto 0 10vw;
    width: 50%;
    border-bottom: 2px solid #8EC325;
    border-left: 8px solid #8EC325;
    border-right: 0px solid;
  }
}

@media screen and (max-width: 930px) {
  #contents .company .first h2 {
    border-bottom: 1px solid #8EC325;
    border-left: 4px solid #8EC325;
    border-right: 0px solid;
  }
}

@media screen and (min-width: 931px) {
  #contents .company .first .company_info {
    width: 50%;
    margin: 20px auto 0 10vw;
  }
}

@media screen and (max-width: 930px) {
  #contents .company .first .company_info {
    width: 100%;
    margin: 20px 0;
  }
}

#contents .company .first .company_info .flex_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media screen and (min-width: 931px) {
  #contents .company .first .company_info .flex_box {
    text-align: left;
  }
}

#contents .company .first .company_info .flex_box .item_name {
  font-size: clamp(13px, 1vw, 18px);
  font-weight: 500;
  box-sizing: border-box;
  background: #8EC325;
  color: #fff;
  border-bottom: 1px solid #fff;
}

@media screen and (min-width: 931px) {
  #contents .company .first .company_info .flex_box .item_name {
    width: 250px;
    padding: 20px 25px;
    letter-spacing: 2px;
  }
}

@media screen and (max-width: 930px) {
  #contents .company .first .company_info .flex_box .item_name {
    width: 100px;
    padding: 10px 15px;
  }
}

#contents .company .first .company_info .flex_box .item_l {
  font-size: clamp(13px, 1vw, 18px);
  font-weight: 500;
  box-sizing: border-box;
  border-bottom: 1px solid #d1d1d1;
  background: #fff;
}

@media screen and (min-width: 931px) {
  #contents .company .first .company_info .flex_box .item_l {
    width: calc(100% - 250px);
    padding: 20px 25px;
  }
}

@media screen and (max-width: 930px) {
  #contents .company .first .company_info .flex_box .item_l {
    width: 250px;
    padding: 10px 15px;
  }
}

@media screen and (min-width: 931px) {
  #contents .company .first .company_info .flex_box .item_l ul {
    box-sizing: border-box;
    padding-left: 20px;
  }
}

@media screen and (max-width: 930px) {
  #contents .company .first .company_info .flex_box .item_l ul {
    box-sizing: border-box;
    padding-left: 15px;
  }
}
