.company {
  width: 98%;
}
  .company__name {
    width: 100%;
    padding: 0.2em 0.5em;
    border-top: solid 5px #F0A0A5;
    border-bottom: solid 5px #F0A0A5;
    font-size: 2.0rem;
    font-weight: bold;
  }
  .company__upper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 100%;
  }
    .company__mainimg {
      max-width: 90%;
      object-fit: contain;
      margin: 8px 0;
    }
    .company__option-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
      gap: 3px;
      width: 100%;
      margin: 5px 0;
    }
      .company__option {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 30px;
        background: #d0cece;
        border-radius: 3px;
        text-align: center;
        color: #fff;
        font-size: 1.4rem;
        font-weight: bold;
      }
      .company__option.on {
          background: #F0A0A5;
        }
  .company__content-head {
    position: relative;
    width: 100%;
    margin: 12px 0 0;
    padding: 0.2em 0.5em;
    border-top: solid 5px #F0A0A5;
    font-size: 2.0rem;
  }
    .company__content-head::before {
      content: ' ';
      position: absolute;
      top: -5px;
      right: 0;
      width: 55%;
      border-top: solid 5px #ddd;
    }
  .company__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
  }
    .company__content-img {
      max-width: 90%;
      object-fit: contain;
      margin: 8px 0;
    }
    .company__content-text {
      padding: 8px;
      font-size: 1.4rem;
    }
  .company__point {
    width: 98%;
    margin: 8px auto;
    padding: 8px 2em;
    border: solid 1px #F0A0A5;
    border-radius: 10px;
    text-align: center;
  }
    .company__point-title {
      margin: 0.5em auto;
      padding: 0.1em 2em 0.2em;
      background: red;
      border-radius: 8px;
      color: #fff;
      font-size: 1.8rem;
      font-weight: bold;
    }
    .company__point-text {
      padding: 0.5em 0;
      text-align: left;
      font-size: 1.6rem;
    }
@media screen and (min-width: 768px) {
  .company__name {
    font-size: 2.8rem;
  }
  .company__mainimg {
    max-width: 36%;
    object-fit: contain;
    margin: 8px 0;
  }
  .company__content-head {
    font-size: 2.4rem;
  }
  .company__content-wrapper {
    flex-wrap: nowrap;
  }
    .company__content-img {
      max-width: 35%;
    }
    .company__content-text {
      max-width: 90%;
      font-size: 1.6rem;
    }
}

.data-table__title {
  height: 1.6em;
  margin-top: 8px;
  padding-left: 1.8em;
  background-image: url(/images/ranking/data-table_icon_1.png);
  background-repeat: no-repeat;
  background-position: left;
  background-size: 1.4em;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.8;
}
.data-table {
  width: 100%;
  color: #111;
  border-collapse: collapse;
  border: solid 1px var(--border-table-color);
}
  .data-table__th,
  .data-table__td {
    vertical-align: inherit;
    text-align: center;
    border: solid 1px var(--border-table-color);
    width: 110px;
    font-size: 1.2rem;
  }
  .data-table__th {
    background: var(--main-color);
    color: white;
    font-weight: bold;
  }
    .data-table__th--company{
      width: 24%;
    }
    .data-table__th--star {
      background: #FF9C9C
    }
  .data-table__td {
    text-align: center;
    padding: 0.6em 0;
    border-top: 0;
  }
    .data-table__td>img {
      width: 33%;
      padding-top: 5px;
    }
    .data-table__td-text{
      margin:0;
    }
  .data-table__under-link{
    display: block;
    text-align: right;
    font-weight: bold;
  }
.data-table2{
  width: 100%;
  color: #111;
}
.data-table2__div{
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  border: solid 1px var(--border-table-color);
  border-bottom: none;
}
.data-table2__div:last-of-type{
  border-bottom: solid 1px var(--border-table-color);
}
.data-table2__span--title,
.data-table2__span--content{
  display: flex;
  align-items: center;
  font-weight: bold;
  justify-content: center;
  font-size: 1.2rem;
  padding: 0.6em 0;
  text-align: center;
}
.data-table2__span--title{
  width: 35%;
  background: var(--main-color);
  color: white;
  border-right: solid 1px var(--border-table-color);
}
.data-table2__span--content{
  width: 65%;
}
@media screen and (min-width: 768px) {
  .data-table {
    font-size: 1.6rem;
  }
    .data-table__th,
    .data-table__td {
      /* padding: 0.5em 0; */
      font-size: 1.4rem;
    }
    .data-table2{
      display: flex;
      flex-wrap: wrap;
    }
    .data-table2__div{
      width: 50%;
    }
    .data-table2__div:nth-of-type(even){
      border-left: none;
    }
    .data-table2__div:nth-last-of-type(2){
      border-bottom: solid 1px var(--border-table-color);
    }
    .data-table2__span--title,
    .data-table2__span--content{
      font-size: 1.4rem;
      padding: 0.5em 0;
    }
}

.feature-point {
  width: 98%;
  margin: 8px auto;
}
  .feature-point__title {
    width: 100%;
    padding: 0.3em 0 0.2em;
    background: #F0A0A5;
    text-align: center;
    color: #fff;
    font-size: 2.2rem;
    font-weight: bold;
  }
  .feature-point__head {
    width: 100%;
    margin: 5px auto;
    padding: 0.2em 0 0.1em 32px;
    background-image: url(/images/company/feature-point_head.png);
    background-repeat: no-repeat;
    background-size: 28px;
    background-position: left;
    border-bottom: solid 3px #F0A0A5;
    font-weight: bold;
    font-size: 2.0rem;
  }
  .feature-point__text {
    padding: 0.2em 0.6em;
    font-size: 1.6rem;
  }
@media screen and (min-width: 768px) {
  .feature-point__title {
    padding: 0.2em 0 0.1em;
    font-size: 2.6rem;
  }
  .feature-point__head {
    margin: 12px auto;
    padding-left: 36px;
    background-size: 32px;
    font-size: 2.2rem;
  }
}

.review-list {
  width: 98%;
}
  .review-list__title {
    width: 100%;
    padding: 0.3em 0 0.2em;
    background: #F0A0A5;
    text-align: center;
    color: #fff;
    font-size: 2.2rem;
    font-weight: bold;
  }
  .review-list__item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin: 8px auto;
  }
    .review-list__reviewer {
      display: flex;
      justify-content: space-around;
      align-items: center;
      width: 100%;
    }
      .review-list__img {
        display: block;
        width: 15%;
        object-fit: contain;
        margin: auto;
      }
      .review-list__prof {
        width: 80%;
        margin-top: 8px;
        font-size: 1.4rem;
      }
    .review-list__review {
      position: relative;
      width: 98%;
      min-height: 6em;
      margin: 24px auto 0;
      padding: 5px;
      border: solid 1px #F0A0A5;
    }
      .review-list__review::before {
        content: "";
        position: absolute;
        top: -40px;
        left: 15px;
        border: solid 20px transparent;
        border-left-width: 12px;
        border-right-width: 12px;
        border-bottom-color: #F0A0A5;
      }
      .review-list__review::after {
        content: "";
        position: absolute;
        top: -36px;
        left: 17px;
        border: solid 18px transparent;
        border-left-width: 10px;
        border-right-width: 10px;
        border-bottom-color: #fff;
      }
      .review-list__star {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        color: red;
        font-weight: bold;
      }
      .review-list__text {
        margin-top: 8px;
        font-size: 1.4rem;
      }
@media screen and (min-width: 768px) {
  .review-list__reviewer {
    display: block;
    width: 120px;
    margin-left: 20px;
  }
    .review-list__img {
      display: block;
      width: 80%;
      object-fit: contain;
      margin: auto;
    }
    .review-list__prof {
      width: 100%;
      margin-top: 8px;
      text-align: center;
      font-size: 1.4rem;
    }
  .review-list__review {
    position: relative;
    width: calc(100% - 160px);
    min-height: 6em;
    margin-top: 10px;
    padding: 5px;
    border: solid 1px #F0A0A5;
  }
    .review-list__review::before {
      content: "";
      position: absolute;
      top: 15px;
      left: -40px;
      border: solid 20px transparent;
      border-top-width: 12px;
      border-bottom-width: 12px;
      border-right-color: #F0A0A5;
    }
    .review-list__review::after {
      content: "";
      position: absolute;
      top: 17px;
      left: -36px;
      border: solid 18px transparent;
      border-top-width: 10px;
      border-bottom-width: 10px;
      border-right-color: #fff;
    }
}

/* data__switch start */
.data__switch--btns{
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-end;
}
.data__switch--btns>span{
  width: calc(96% / 2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #ffffff;
  font-size: 3.5vw;
  line-height: 7vw;
  background-color: var(--main-color);
  border-top-left-radius: 3vw;
  border-top-right-radius: 3vw;
  border: 1px solid var(--border-table-color);
}
.data__switch--btns>span.on{
  font-size: 4.5vw;
  line-height: 9vw;
}
.ranking-item__info:has(.data__switch--btns>span:nth-of-type(1).on) .data__switch--pill{
  display: none;
}
.ranking-item__info:has(.data__switch--btns>span:nth-of-type(2).on) .data__switch--info{
  display: none;
}
.data__switch--pill{
  border-collapse: collapse;
  width: 100%;
}
.data__switch--pill th,
.data__switch--pill td{
  border: 1px solid var(--border-table-color);
}
.data__switch--pill th{
  background-color: var(--main-color);
  color: #fff;
  width: 35%;
  color: white;
  font-size: 1.2rem;
  padding: 0.6em 0.3em;
}
.data__switch--pill td>ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 0;
}
.data__switch--pill td>ul>li{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-size: 1.2rem;
  background-color: var(--light-yellow-color);
  padding: 0.1em 0.6em;
  border: 1px solid var(--border-table-color);
  border-radius: 100px;
}
@media screen and (min-width: 768px) {
  .data__switch--btns,
  .data__switch--pill{
    display: none !important;
  }
  .data__switch--info{
    display: flex !important;
  }
}
/* data__switch end */