@charset "UTF-8";

.title-sub {
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
}


.ranking-list {
    background: #fff;
    box-sizing: border-box;
    color: #666;
    font-family: "Times", "Times New Roman", serif;
    font-size: 18px;
    font-style: oblique;
    height: 45px;
    background: linear-gradient(135deg, #f8f8f8 0%, #f8f8f8 50%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%);
    padding: 1px 0 0 7px;
    position: absolute;
    text-align: left!important;
    vertical-align: middle;
    width: 45px;
    top: 0;
    left: 0;
}

.no-1-wrapper .ranking-list {
    background: #e5cfa5;
  background: linear-gradient(135deg, #e5cfa5 0%, #e5cfa5 50%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%);
  color: #fff;
}

.no-2-wrapper .ranking-list {
    background: #d5d5d5;
    background: linear-gradient(135deg, #d5d5d5 0%, #d5d5d5 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%);
}

.no-3-wrapper .ranking-list {
    background: #ddb4a0;
    background: linear-gradient(135deg, #ddb4a0 0%, #ddb4a0 50%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%);
}

.content-btn {
    background: #3e3e3e;
    border-radius: 4px;
    color: #fff;
    display: block;
    font-size: 14px;
    margin: 16px auto 24px;
    padding: 20px 0;
    text-align: center;
    width: 80%;
    max-width: 320px;
    line-height: 1.6em;
    font-weight: bold;
}


@media screen and (min-width: 641px){
    

.title {
    width: 1000px;
    
    margin: 0 auto;
}

.title img {
    display: block;
    max-width: 640px;
    margin: 0 auto;
    aspect-ratio: 16/5;
}

.title-sub {
    display: block;
    text-align: center;
    background-color: #eee;
    padding: 2% 0;
    margin: 24px 0;
}

.title-sub p {
    font-size: 14px;
}

.navi {
    display: block;
    overflow: hidden;
    width: 100%;
    border-bottom: solid 1px #9e9e9e;
    margin: 0 auto 32px;
    padding: 24px 0 30px;
}

.navi ul {
    width: 900px;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    margin: 0 auto;
}

.navi ul li {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.navi ul li::after{
    display: block;
    position: absolute;
    content: "";
    background-image: url(../esw240924_edit/anchor.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 21px;
    height: 12px;
    left: 45%;
    margin: 6px 0 0;
}

.section-inner {
    width: 1000px;
    display: grid;
    grid-template-columns: auto auto auto 210px 210px;
    grid-template-rows: repeat(8,auto);
    grid-template-areas: "ttl ttl . . ."
        "text text text text text"
        "no1 no1 . no2 no3"
        "no1 no1 . no2 no3"
        "no1 no1 . no4 no5"
        "no1 no1 . no4 no5"
        "no1 no1 . . ."
        "morebtn morebtn morebtn morebtn morebtn";
    margin: 24px auto 40px;
    justify-content: center;
    -moz-column-gap: 16px;
         column-gap: 16px;
         row-gap: 8px;
}

.section-inner a:hover {
    opacity: .7;
}

.section-inner.reverse {
    width: 1000px;
    display: grid;
    grid-template-columns: 210px 210px auto auto auto ;
    grid-template-rows: repeat(8,auto);
    grid-template-areas: "ttl ttl . . ."
        "text text text text text"
        "no2 no3 . no1 no1"
        "no2 no3 . no1 no1"
        "no4 no5 . no1 no1"
        "no4 no5 . no1 no1"
        ". . . no1 no1"
        "morebtn morebtn morebtn morebtn morebtn";
    margin: 24px auto 40px;
    justify-content: center;
    -moz-column-gap: 16px;
         column-gap: 16px;
         row-gap: 8px;
}

.section-inner h2 {
    grid-area: ttl;
    font-size: 50px;
    font-family: "Marcellus", "BIZ UDPMincho", serif;
    padding: 0 0 0 48px;
}

.rank-crown {
    grid-area: ttl;
    width: 45px;
    align-self: center;
    vertical-align: bottom;
}


.section-inner h2 span {
    display: inline-block;
    font-size: 18px;
    padding-left: 8px;
}

.rank-desc {
    grid-area: text;
    width: 900px;
    font-size: 14px;
    padding: 0 2% 1%;
}


.no-1-wrapper {
    grid-area: no1;
}

.no-1-wrapper img {
    width: 500px;
    aspect-ratio: 5/6;
    vertical-align: bottom;
}

.no-1-text-wrapper {
    padding: 4px 0 0;
}

.no-1-wrapper .ranking-list {
    font-size: 24px;
    height: 60px;
    padding: 0 11px;
    width: 60px;
}

.no-2-wrapper {
    grid-area: no2;
}

.no-3-wrapper {
    grid-area: no3;
}

.no-4-wrapper {
    grid-area: no4;
}

.no-5-wrapper {
    grid-area: no5;
}

.item-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: subgrid;
}

.no-2-wrapper a, .no-3-wrapper a, .no-4-wrapper a, .no-5-wrapper a{
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto 60px 30px;
        grid-template-areas: "img"
            "items"
            "btn";
} 

.four-items img {
    width: 100%;
    aspect-ratio: 5/6;
    vertical-align: bottom;
}

.content-btn {
    grid-area: morebtn;
}

.item-wrapper p {
    padding: 1px 0 0;
}

.item-wrapper a::after {
    display: block;
    content: 'check';
    background-color: #3e3e3e;
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    margin-left: auto;
    width: 17%;
    text-align: center;
}

.no-1-wrapper.item-wrapper a::after {
    width: 8%;
    margin-top: -7%;
}


}

@media screen and (max-width: 640px) {
    .title img {
        display: block;
        width: 100%;
        margin: 0 auto;
        aspect-ratio: 32/15;
    }

    .title-sub {
        display: block;
        text-align: left;
        background-color: #eee;
        padding: 7% 12px;
        margin: 24px 0 0;
    }
    
    .title-sub p {
        font-size: 14px;
    }


    .navi {
        display: block;
        overflow: hidden;
        width: 100%;
        border-bottom: solid 1px #9e9e9e;
        margin: 0 auto 32px;
        padding: 16px 0 24px;
    }
    
    .navi ul {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        margin: 0 auto;
        row-gap: 16px;
    }
    
    .navi ul li {
        font-size: 13px;
        font-weight: bold;
        text-align: center;
        position: relative;
        background-color: #666;
        width: 90%;
        border-radius: 4px;
        justify-self: center;
    }
    
    .navi ul li a::after{
        display: block;
        position: absolute;
        content: "";
        background-image: url(../esw240924_edit/anchor-w.svg);
        background-repeat: no-repeat;
        background-size: contain;
        width: 21px;
        height: 12px;
        right: 5%;
        top: 32%;
    }

    .navi ul li a {
        display: block;
        width: 100%;
        color: #fff;
        padding: 3% 0;
    }


    .section-inner {
        display: grid;
        grid-template-columns: repeat(auto-fit, 45%);
        grid-template-rows: repeat(7, auto);
        grid-template-areas: "ttl ttl" "text text" "no1 no1" "no-1-text no-1-text" "no2 no3" "no4 no5" "morebtn morebtn";
        justify-content: center;
        row-gap: 8px;
        -moz-column-gap: 8px;
             column-gap: 8px;
             margin: 0 auto 48px;
    }
    

    .item-wrapper a::after {
        display: block;
        content: 'check';
        background-color: #3e3e3e;
        color: #fff;
        padding: 5px 8px;
        border-radius: 4px;
        width: 25%;
        text-align: center;
        margin-left: auto;
        margin-top: auto;
    }

    .no-1-wrapper.item-wrapper a::after {
        width: 17%;
    }
    

    .section-inner h2 {
        grid-area: ttl;
        font-size: 28px;
        font-family: "Marcellus", "BIZ UDPMincho", serif;
        padding: 0 0 0 43px;
    }

    .rank-crown {
        grid-area: ttl;
        width: 40px;
        align-self: center;
        vertical-align: bottom;
    }

    .section-inner h2 span {
        display: inline-block;
        font-size: 14px;
        padding-left: 8px;
    }
    

    .rank-desc {
        grid-area: text;
        font-size: 14px;
        padding: 0 2% 1%;
    }


    .no-1-wrapper {
        grid-area: no1;
    }

    .no-1-wrapper img {
        width: 100%;
        aspect-ratio: 5/6;
    }

    .no-1-wrapper .ranking-list {
        font-size: 24px;
        height: 60px;
        padding: 0 11px;
        width: 60px;
    }

    .no-1-text-wrapper {
        margin: 0 auto 8px;
    }

    .no-2-wrapper {
        grid-area: no2;
    }

    .no-3-wrapper {
        grid-area: no3;
    }

    .no-4-wrapper {
        grid-area: no4;
    }

    .no-5-wrapper {
        grid-area: no5;
    }

    .item-wrapper {
        position: relative;
    }

    .four-items {
        display: flex;
    }

    .four-items a {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .four-items img {
        width: 100%;
        aspect-ratio: 5/6;
    }

    .content-btn {
        grid-area: morebtn;
    }

}

