@import url(//use.fontawesome.com/releases/v5.6.3/css/all.css);
@import url("https://use.typekit.net/vyo8crl.css");
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600;700&family=Noto+Sans+JP:wght@100;200;300;400;500;600;700;800;900&family=Noto+Serif+JP:wght@300;400;500;600;700;900&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300..400,0..1,0&display=swap");

.container {
    background-color: #FAF9F7;
    margin: 120px auto 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}
.main {
    background-color: #FAF9F7;
    margin: 0 auto;
    font-size: 1.8rem;
    font-family: dnp-shuei-gothic-gin-std, sans-serif;
    width: 100%;
}
.menu_area {
    background: #EBEBEB;
    /*padding: 80px 0 140px;*/
}
.menu_area .menu_bestscore {
    background: url(/images/mypage/bg_bestscore.png) no-repeat center top / cover;
    width: 100%;
    aspect-ratio: 2.88 / 1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
}
.menu_area .menu_bestscore .text_box {
    width: 655px;
    margin-right: 120px;
    color: #fff;
}
.menu_area .menu_bestscore .text_box h4 {
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
    font-size: 4.5rem;
    font-weight: normal;
    margin: 0 auto 40px;
    text-align: center;
    line-height: 1;
}
.menu_area .menu_bestscore .text_box p {
    font-size: 1.8rem;
    margin-bottom: 40px;
}
.menu_area .menu_bestscore .text_box .more_btn {
    background: rgba(185, 185, 185, 0.7);
    color: #fff;
    font-size: 1.8rem;
    border: #fff 1px solid;
    margin-top: 10px;
}


.bestscore {
    padding: 0 0 170px;
    font-family: dnp-shuei-gothic-gin-std, sans-serif;
    position: relative;
}
.bestscore .slide_box {
    width: calc(96% - 10px);
    overflow: scroll;
    margin: 0 0 0 2%;
    padding-left: 10px;
}
.bestscore .slide_box .bestscore_slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 60px 0 10px;
}
.bestscore .slide_box .bestscore_slider li {
    width: 538px;
    position: relative;
    transition: all 0.2s 
    cubic-bezier(0.55, 0.085, 0.68, 0.53);
    box-shadow: 0px 3px 6px rgba(56, 56, 56, 0.2);
    flex-shrink: 0;
    margin-right: 30px;
    background: #fff;
    margin-bottom: 10px;
}
.bestscore .slide_box .bestscore_slider li a {
    color: #000;
    transition: all 0.2s 
    cubic-bezier(0.55, 0.085, 0.68, 0.53);
    box-shadow: 0px 3px 6px rgba(56, 56, 56, 0.2);
    flex-shrink: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px;
    height: 260px;
}
.bestscore .slide_box .bestscore_slider li .photo_box {
    width: 270px;
}
.bestscore .slide_box .bestscore_slider li img {
    max-width: 100%;
    max-height: 270px;
    box-shadow: 0px 3px 6px rgba(56, 56, 56, 0.2);
}
.bestscore .slide_box .bestscore_slider li .text_box {
    position: relative;
    margin-left: 30px;
    line-height: 1.2;
    font-weight: bold;
    width: 50%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: space-between;
    flex-flow: column;
}
.bestscore .slide_box .bestscore_slider li .text_box .name {
    font-size: 1.8rem;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    font-family: optima, sans-serif;
    margin-bottom: 10px;
}
.bestscore .slide_box .bestscore_slider li .text_box .score {
    font-size: 1.8rem;
    color: #8B8B8B;
    padding-bottom: 20px;
    margin-bottom: 10px;
    font-family: optima, sans-serif;
    font-weight: normal;
    border-bottom: 1px solid #8B8B8B;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline;
}
.bestscore .slide_box .bestscore_slider li .text_box .score span
Specificity: (0,5,2)
 {
    font-size: 4rem;
    color: #000;
    margin-left: 40px;
}
.bestscore .slide_box .bestscore_slider li .text_box .course {
    font-size: 1.6rem;
    color: #000;
    margin-bottom: 10px;
}
.bestscore .slide_box .bestscore_slider li .text_box .course span {
    font-family: optima, sans-serif;
    color: #8B8B8B;
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 10px;
    display: block;
}
.bestscore .slide_box .bestscore_slider li .text_box .score span {
    font-size: 4rem;
    color: #000;
    margin-left: 40px;
}
.bestscore .slide_box .bestscore_slider li .text_box .favo_box {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    font-family: optima, sans-serif;
    color: #8B8B8B;
    font-weight: normal;
}
.bestscore .slide_box .bestscore_slider li .text_box .favo_box .favorite {
    font-size: 2.2rem;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    font-family: optima, sans-serif;
}
.bestscore .slide_box .bestscore_slider li .text_box .favo_box .favorite:before {
    content: "\e87d";
    font-family: "Material Symbols Outlined";
    margin-right: 10px;
}
.bestscore .slide_box .bestscore_slider li .text_box .favo_box .date {
    font-size: 2.2rem;
}
.bestscore .slide_box .bestscore_slider li .text_box .favo_box .favorite[data-like-count]:not([data-like-count="0"]):before {
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
    color: #ff1493;
}

.bestscore .slide_box .bestscore_slider li .text_box .name.pratinum:before {
  background-color: #8E96CC;
}
.bestscore .slide_box .bestscore_slider li .text_box .name.gold:before {
  background-color: #A99672;
}
.bestscore .slide_box .bestscore_slider li .text_box .name.silver:before {
  background-color: #9B9797;
}
.bestscore .slide_box .bestscore_slider li .text_box .name.bronze:before {
  background-color: #A58068;
}
.bestscore .slide_box .bestscore_slider li .text_box .name:before {
    content: "";
    margin-right: 14px;
    height: 30px;
    width: 30px;
    border-radius: 20px;
    background-color: #A58068;
    display: block;
}
@media only screen and (max-width: 1023px) {
    .menu_area .menu_bestscore .text_box {
        margin-right: 0;
        width: 100%;
    }
    .menu_area .menu_bestscore .text_box p {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .bestscore .slide_box .bestscore_slider li {
        width: 100%;
    }
    .bestscore .slide_box .bestscore_slider li .photo_box {
        width: 145px;
    }
    .bestscore .slide_box .bestscore_slider li img {
        width: 145px;
    }
    .bestscore .slide_box .bestscore_slider li a {
        height: auto;
    }
}