/* variable
----------------------------------------------------------------- */
/* rank-comp-list (p-rank-comp-list)
----------------------------------------------------------------- */
.p-rank-comp-list {
  padding: 48px 0;
  background-color: #ffffff;
}

.p-rank-comp-list__thead-scroll-wrap {
  width: 100%;
}

.listVer2FlexTr > div p {
  overflow-wrap: break-word;
  word-break: break-word;
}

.p-rank-comp-list__table-scroll {
  width: 100%;
}

@media screen and (max-width: 767px) {
  .p-rank-comp-list {
    padding-top: 32px;
  }
}
.p-rank-comp-list__inner {
  width: min(1160px, 100% - 48px);
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .p-rank-comp-list__inner {
    width: auto;
    margin: 0 16px;
  }
}
.listVer2Broker > li input + label {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 64px;
  padding: 8px;
  background-color: #ffffff;
  border-color: #e0e0e0;
  border-radius: 6px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.listVer2Broker > li input + label img {
  display: block;
  width: auto;
  height: 25px;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
}

.listVer2Broker > li:nth-child(1) label img {
  height: 14.5px;
}

.listVer2Broker > li:nth-child(2) label img {
  height: 36.8px;
}

.listVer2Broker > li:nth-child(3) label img {
  height: 26.7px;
}

.listVer2Broker > li:nth-child(4) label img {
  height: 28.5px;
}

.listVer2Broker > li:nth-child(5) label img {
  height: 33.1px;
  transform: translate(-3px, -4px);
}

.listVer2Broker > li:nth-child(6) label img {
  height: 15px;
}

.listVer2Broker > li:nth-child(7) label img {
  height: 23.1px;
}

.listVer2Broker > li:nth-child(8) label img {
  height: 25.4px;
}

.listVer2Broker > li:nth-child(9) label img {
  height: 35.9px;
  transform: translateY(1px);
}

.listVer2Broker > li:nth-child(10) label img {
  height: 30.3px;
}

.listVer2Broker > li:nth-child(11) label img {
  height: 22px;
}

.listVer2Broker > li input:checked + label {
  background-color: rgba(76, 175, 80, 0.18);
  border-color: rgb(22.5369892977%, 51.8943832513%, 23.7231466292%);
}

@media screen and (max-width: 767px) {
  .listVer2Broker {
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .listVer2Broker::-webkit-scrollbar {
    display: none;
  }
  .listVer2Broker > li {
    flex: 0 0 140px;
    width: 140px;
    margin: 0 !important;
    scroll-snap-align: start;
  }
}
.p-rank-comp-list__submit-btn {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 4px;
  background-color: #005B40;
  color: #FFF;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1.35px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
}

.p-rank-comp-list__submit-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background-color: #FFF;
  transition: width 0.15s ease-out;
}

.p-rank-comp-list__submit-btn:hover {
  color: #005B40;
  border-color: #005B40;
}

.p-rank-comp-list__submit-btn:hover::before {
  width: 100%;
}

@media screen and (max-width: 767px) {
  .p-rank-comp-list__submit-wrap {
    width: 100%;
  }
}
.h32px {
  height: 32px !important;
}

.listVer2FlexTr.typeThead .tc.fs09.mt05 {
  display: none;
}

.listVer2FlexTr.typeThead [data-abbr] .tc:first-of-type {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

@media screen and (min-width: 768px) {
  .listVer2Flex > div:first-child {
    top: var(--p-header-bottom, 70px);
  }
}
.listVer2FlexTr.typeThead [data-abbr=xem] img {
  height: 16px !important;
}

.listVer2FlexTr.typeThead [data-abbr=fxg] img {
  height: 19px !important;
}

.listVer2FlexTr.typeThead [data-abbr=tfx] img {
  height: 26px !important;
}

.listVer2FlexTr.typeThead [data-abbr=xsc] img {
  height: 20px !important;
}

.listVer2FlexTr.typeThead [data-abbr=axt] img {
  height: 20px !important;
}

.listVer2FlexTr.typeThead [data-abbr=myf] img {
  height: 26px !important;
}

.listVer2FlexTr.typeThead [data-abbr=hot] img {
  height: 27px !important;
}

@media screen and (max-width: 767px) {
  .listVer2Flex > div:first-child {
    position: sticky;
    top: var(--p-header-bottom, 56px);
    z-index: 3;
  }
  .p-rank-comp-list__thead-scroll-wrap .c-scroll-arrow {
    z-index: 6;
  }
  .p-rank-comp-list__thead-scroll-wrap .c-scroll-arrow--prev {
    left: 104px;
  }
  .listVer2FlexTr.typeThead {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .listVer2FlexTr.typeThead::-webkit-scrollbar {
    display: none;
  }
  .p-rank-comp-list__table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .p-rank-comp-list__table-scroll::-webkit-scrollbar {
    display: none;
  }
  .listVer2Flex.column1 {
    --sp-table-broker-count: 1;
  }
  .listVer2Flex.column2 {
    --sp-table-broker-count: 2;
  }
  .listVer2Flex.column3 {
    --sp-table-broker-count: 3;
  }
  .listVer2Flex.column4 {
    --sp-table-broker-count: 4;
  }
  .listVer2Flex.column5 {
    --sp-table-broker-count: 5;
  }
  .listVer2FlexTr:not(.typeThead) {
    flex-wrap: nowrap;
    width: 100%;
    min-width: calc(120px + 160px * var(--sp-table-broker-count, 5));
  }
  .listVer2FlexTr.typeThead {
    flex-wrap: nowrap;
  }
  .listVer2FlexTr > div {
    flex-shrink: 0;
  }
  .listVer2FlexTr > div:first-child {
    width: 120px;
    position: sticky;
    left: 0;
    z-index: 2;
  }
  .listVer2FlexTr.typeThead > div:first-child {
    z-index: 5;
  }
  .listVer2FlexTr > div:nth-child(n+2) {
    width: 160px;
    flex-grow: 1;
    padding: 10px;
    justify-content: center;
    border-left: none;
  }
  .listVer2FlexTr > div:nth-child(n+2)::before,
  .listVer2FlexTr > div:nth-child(n+2)::after {
    content: none;
  }
  .listVer2FlexTr.typeCategory > div {
    width: 100% !important;
    position: static !important;
    left: auto !important;
    justify-content: flex-start !important;
  }
  .listVer2FlexTr.typeCategory > div > div {
    width: calc(120px + 160px * var(--sp-table-broker-count, 5));
  }
  .listVer2FlexTr.typeCategory > div p {
    position: sticky;
    left: 10px;
    width: fit-content;
  }
}
