.table-resort {
  margin-top: 60px;
  margin-bottom: 40px;
  color: #0b1b34;
}
@media screen and (max-width:991px) {
  .table-resort {
    margin-top: 40px;
    margin-bottom: 30px;
  }
  
}

.table-resort_title {
  font-size: 26px;
  font-weight: bold;
}
@media screen and (max-width:991px) {
  .table-resort_title {
    font-size: 18px;
    text-align: center;
  }
  
}

.table-resort_wrap {
  margin-top: 76px;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
@media screen and (max-width:991px) {
  .table-resort_wrap {
    margin-top: 26px;
  }
  
}

.table-resort_wrap::-webkit-scrollbar {
  display: none;
}

.table-resort table {
  width: 1310px;
  border-collapse: collapse;
  border-spacing: 0;
}

@media screen and (max-width:800px) {
  .table-resort table {
    width: 880px;
  }
}

.table-resort tr {
  display: grid;
  grid-template-columns: 48px 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: max-content;
  border: 3px solid #fff;
}

@media screen and (max-width:991px) {
  .table-resort tr {
    grid-template-columns: 30px 1fr 1fr 1fr 1fr 1fr;
    border: none;
  }
}

.table-resort th,
.table-resort td {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #fff;
}

@media screen and (max-width:991px) {
  .table-resort th,
  .table-resort td {
    border: 2px solid #fff;
  }
}

.table-resort th .inner,
.table-resort td .inner {
  flex: 1;
}

/* thead */
.table-resort thead .head {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background-color: #0b1b34;
  color: #fff;
}
@media screen and (max-width:991px) {
  .table-resort thead .head {
    border-radius: 10px 10px 0 0;
  }
  
}

.table-resort thead .head_img {
  width: 100%;
  aspect-ratio: 232 / 130;
  overflow: hidden;
}
@media screen and (max-width:991px) {
  .table-resort thead .head_img {
    aspect-ratio: 307 / 150;
  }
  
}

.table-resort thead .head_img img {
  width: 100%;
  object-fit: cover;
}

.table-resort thead .head_body {
  display: grid;
  gap: 12px;
  padding: 16px 8px 8px;
}
@media screen and (max-width:991px) {
  .table-resort thead .head_body {
    gap: 8px;
    padding: 8px 6px 6px;
  }
  
}

.table-resort thead .head_ttl {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-align: center;
}
@media screen and (max-width:991px) {
  .table-resort thead .head_ttl {
    font-size: 14px;
  }
  
}

.table-resort thead .head_star {
  display: grid;
  grid-template-columns: max-content 125px;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width:991px) {
  .table-resort thead .head_star {
    grid-template-columns: max-content;
    gap: 10px;
  }
  
}

.table-resort thead .head_star span {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
}

.table-resort thead .head_star img {
  width: 100%;
}
@media screen and (max-width:991px) {
  .table-resort thead .head_star img {
    max-width: 94px;
  }
  
}

.table-resort thead .head_rank {
  max-width: 118px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width:991px) {
  .table-resort thead .head_rank {
    max-width: 90px;
  }
  
}

.table-resort thead .head_btn {
  display: grid;
  gap: 8px;
}
@media screen and (max-width:991px) {
  .table-resort thead .head_btn {
    gap: 6px;
  }
  
}

.table-resort .table_btn {
  display: block;
  padding: 14px 5px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(to left, #878d91 50%, #cfcbc5);
}
@media screen and (max-width:991px) {
  .table-resort .table_btn {
    padding: 10px 4px;
    font-size: 15px;
    border-radius: 5px;
  }
  
}

.table-resort .table_btn.official {
  background: linear-gradient(to left, #a56e18 50%, #eab52d);
}

/* tbody */
.table-resort tbody th .head {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f7fb;
  padding: 28px 10px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 20px 0 0 20px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-align: center;
}
@media screen and (max-width:991px) {
  .table-resort tbody th .head {
    padding: 12px 2px;
    font-size: 12px;
    border-radius: 10px 0 0 10px;
    min-height: max-content;
  }
}

.table-resort tbody td .item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 20px 12px;
  background-color: #f0f7fb;
}
@media screen and (max-width:991px) {
  .table-resort tbody td .item {
    padding: 12px 10px;
  }
}

.table-resort tbody td .item_rating {
  width: 62px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}
@media screen and (max-width:991px) {
  .table-resort tbody td .item_rating {
    width: 46px;
    margin-bottom: 10px;
  }
  
}

.table-resort tbody td .item_body {
  display: grid;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.item_text {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}
@media screen and (max-width:991px) {
  .item_text {
    font-size: 14px;
  }
  
}

.item_detail {
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}