article {
    padding-top: 40px;
    width: min(calc(100% - 2rem), 1200px);
    margin-inline: auto;
}

.main {
    padding-top: 40px;
}

.main .ttl_label {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    padding-left: 1rem;
    padding-block: .25rem;
    border-left: 7px solid #3AA3CD;
    margin-bottom: 30px;
}

.ranking {
    display: flex;
    margin-bottom: 60px;
}

.ranknumber li {
    background: #F7F7F7;
    color: #fff;
    position: relative;
    width: 107px;
    height: 88px;
}

.seach{
    display:flex;
    align-items:center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.seach .left{
    display:flex;
    align-items:center;
    gap:1rem;
}
.seach .icon{
    display:flex;
    align-items:center;
    justify-content: center;
    width: 40px;
    height:40px;
    background: #3AA3CD;
    cursor: pointer;
}
.seach p{
    font-size: 20px;

}
.seach select{
    padding: .5rem 1rem;
    font-size: 20px;
    outline: none;
    background: #F7F7F7;
    border: none;
}
.ranknumber li:not(:last-child),
.body .head,
.body .data {
    margin-bottom: 5px;
}

.ranknumber li:first-child {
    height: 50px;
    opacity: 0;
}

.ranknumber li:first-child::before {
    opacity: 0;
}

.ranknumber li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #3AA3CD;
    clip-path: polygon(80% 0, 100% 50%, 80% 100%, 0 100%, 0 0);
    z-index: 1;
}

.ranknumber li div {
    position: absolute;
    z-index: 2;
    padding-left: 1rem;
    font-size: 50px;
    font-family: Source Serif Pro;
    font-weight: bold;
    top: 50%;
    transform: translateY(-50%);
}

.ranknumber li div span {
    font-size: 30px;
}

.ranknumber li:nth-child(2)::before {
    background: #DCD301;
}

.ranknumber li:nth-child(3)::before {
    background: #8B8B8B;
}

.ranknumber li:nth-child(4)::before {
    background: #F04141;
}

.body {
    flex: 1;
}

.body .head {
    display: flex;
    align-items: center;
    gap: 3px;
}

.body .head li {
    width: 100%;
    text-align: center;
    background: #3AA3CD;
    height: 50px;
    color: #fff;
    font-weight: bold;
    line-height: 50px;
    font-size: 20q;
}

.body .data {
    display: flex;
    align-items: center;
    width: 100%;
    height: 88px;
    background: #F7F7F7;
}

.body .data li {
    width: 100%;
    text-align: center;
    line-height: 88px;
    font-size: 24px;
    color: #333;
    font-family: Source Serif Pro;
    font-weight: bold;
}

.data li:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.data li:last-child>div {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data li:last-child .number-1 {
    background: #ebebeb;
    font-weight: bold;
    color: #000;
}

.data li:last-child .number-2 {
    color: #fff;
    font-weight: bold;
    background: #505050;
}

.data li:last-child .number-3 {
    color: #fff;
    font-weight: bold;
    background: #f04141;
}

.data li:last-child .number-4 {
    color: #fff;
    font-weight: bold;
    background: #4184d0;
}

.data li:last-child .number-5 {
    color: #000;
    font-weight: bold;
    background: #ece962;
}

.data li:last-child .number-6 {
    color: #fff;
    font-weight: bold;
    background: #54b74d;
}

.data li:not(:last-child) {
    border-right: 1px dashed #BBBBBB;
}

.data li:first-child {
    position: relative;
}

.data li:first-child::before {
    content: "¥";
    width: 25px;
    height: 25px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #EAE213;
}
.ranking .e{
    font-weight: bold;
    color: red;
    text-align: center;
    width: 100%;
    height: 200px;
    line-height: 200px;
    font-size: 20px;
}
.parent_body{
    display: contents;
}
@media (max-width:768px) {
    .ranking{
        overflow-x: hidden;
    }
    .parent_body{
        display: block;
        overflow-x: scroll;
    }
    .parent_body .body{
        width: 300vw;
    }
}