@charset "UTF-8";

.font-small {
    font-size: 1.6rem !important;
}

#RANK2411 .p-rank__item__course .p-rank__imgWrap {
    max-width: 100%;
    width: 100%;
}

.p-rank__imgWrap img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.grid3 .p-rank__imgWrap img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

#RANK2411 .p-rank__txtWrap {
    max-width: 100%;
    gap: 7px;
    display: flex;
    flex-direction: column;
}

#RANK2411 .p-rank__item .p-rank__txtWrap .p-rank__term {
    font-size: 2rem;
    text-align: center;
    display: flex;
    width: 100%;
    margin: 0 auto;
    height: 50px;
    align-items: center;
    justify-content: center;
}

#RANK2411 .p-rank__item.grid3 .p-rank__txtWrap .p-rank__term {
    height: 60px;
}

#RANK2411 .rank-campaign_off {
    padding: 15px;
}

.ranking-list .ranking {
    gap: 13px;
    margin: 0 auto;
    padding: 35px 10px;
    max-width: 1000px;
    width: 100%;
    justify-content: left;
}

.slider {
    width: 100% !important;
    max-width: 1000px;
}

.p--tabtank_price {
    max-width: 100%;
    justify-content: center;
    display: flex;
    flex-direction: row;
    font-size: 1.3rem;
    background: #eee;
    padding: 2px;
}


/* .p-rank__beforePrice {
    line-height: 2;
    color: #4d4d4d;
    background: #eee;
    padding: 8px 5px 4px 0px;
    clip-path: polygon(0% 0%, 85% 0, 100% 50%, 85% 100%, 0% 100%);
    text-align: center;
    max-width: 31vw;
    margin-right: 0px;
    width: 100px;
}   */

li.grid3 .p-rank__beforePrice {
    width: 110px;
    padding: 12px 8px 7px 3px;
}

.p-rank__beforePrice .hagaki {
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    display: grid;
    width: 100%;
}

.p-rank__beforePrice .price {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

li.grid3 .p-rank__beforePrice .price {
    font-size: 15px;
}

.p-rank__beforePrice .yen {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

.p--tabtank_af {
    font-size: 35px;
    text-align: left;
    justify-content: flex-start;
    font-weight: bold;
    line-height: 0.45;
    display: flex;
    color: #df1a2f;
    padding-top: 0;
    flex-wrap: wrap;
}

li.grid3 .p--tabtank_af {
    font-size: 45px;
}

.p--tabtank_af small {
    font-size: 35%;
    width: 100%;
    line-height: 1.2;
    text-align: left;
    padding-bottom: 0;
}

li.grid3 .p--tabtank_af small {
    font-size: 30%;
}

.tab__tax {
    display: inline-flex;
    justify-content: center;
    flex-direction: column-reverse;
    width: fit-content !important;
}

.tab__tax span:nth-of-type(1) {
    font-size: 150%;
    width: 56%;
    line-height: 1;
}

.tab__tax span:nth-of-type(2) {
    font-size: 70%;
    width: 100%;
}

.pacent {
    position: relative;
    width: 70px;
}

.grid3 .pacent {
    width: 80px;
}

/* .pacent img {
        max-width: 60px;
} */

/* .grid3 .pacent img {
        max-width: 70px;
} */

.discount_txt {
    position: absolute;
    right: 8px;
    top: 9px;
    text-align: center;
    font-weight: bold;
    color: #232323;
    line-height: 1;
    font-size: 1.7rem;
}

.grid3 .discount_txt {
    position: absolute;
    right: 13px;
    top: 12px;
    text-align: center;
    font-weight: bold;
    color: #232323;
    line-height: 1;
    font-size: 20px;
}

.discount_txt span {
    font-size: 120%;
    color: #df1a2f;
}

.box_study_period,
.box_study_level {
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 500;
}

.category_icon {
    color: #fff;
    font-size: 1rem;
    padding: 2px 10px;
    font-weight: bold;
}

.categoru_tag {
    width: fit-content;
}



/* ---------カテゴリタブ--------- */
.sinri_cate {
    background: #15be45;
}

.iryo_cate {
    background: #15a5be;
}

.child_cate {
    background: #de4854;
}

.bissines_cate {
    background: #90c419;
}

.pet_cate {
    background: #8e724a;
}

.body_cate {
    background: #ad61df;
}

.food_cate {
    background: #e4921e;
}

.carework_cate {
    background: #049c13;
}

.uranai_cate {
    background: #bd39de;
}

.p-rank__item__course {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.box_study {
    gap: 0 20px;
}

.box_study_period_co {
    font-size: 110%;
}

.p-rank_reason_text {
    font-size: 1.2rem;
    padding: 5px 10px;
    background: #feffd4;
    height: 65px;
}

.ranksize_3 .rank-btn-block {
    flex-direction: column;
}

#RANK2411 .p-rank .rank-btn-block .btn {
    width: 100%;
}

#RANK2411 .p-rank .grid3 .rank-btn-block {
    gap: 15px;
}

#RANK2411 .p-rank .rank-btn-block {
    gap: 10px;
    margin: 0 auto 5px;
}

#RANK2411 .p-rank__txtWrap02 {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rank {
    width: 50px;
    height: 50px;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    top: 0;
    left: 15px;
}

.grid3 .rank {
    width: 60px;
    height: 60px;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    top: 0;
    left: 20px;
}

.rank-campaign_off {
    position: relative;
}

.number_rank {
    position: absolute;
    font-size: 2.8rem;
    font-weight: bold;
    z-index: 1;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.grid3 .number_rank {
    position: absolute;
    font-size: 3rem;
    font-weight: bold;
    z-index: 1;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
}

.rank01_icon .number_rank {
    color: #fff;
}

#RANK2411 .p-rank .p-rank_new_rt {
    margin-top: 0;
    line-height: 1.2;
    font-size: 9px;
}

#RANK2411 .p-rank .grid3 .p-rank_new_rt {
    font-size: 1rem;
    text-align: center;
    color: #444;
    margin-top: 8px;
    line-height: 1.3;
}

.txt_p {
    height: 30px;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid3 .txt_p {
    height: 35px;
}

#RANK2411 .p-rank .rank-btn-block .btn a,
#RANK2411 .p-rank .rank-btn-block .btn.muryou a {
    height: 40px;
    border-radius: 5px;
    overflow: hidden;
}

#RANK2411 .p-rank .grid3 .rank-btn-block .btn a,
#RANK2411 .p-rank .grid3 .rank-btn-block .btn.muryou a {
    height: 44px;
}

#RANK2411 .p-rank .rank-btn-block .btn.muryou a {
    background-color: rgb(46 83 162) !important;
}

.ataru_bnr::after {
    border-top: 15px solid rgb(47 49 109);
}

#RANK2411 .annotation {
    padding-top: 0;
    width: 100%;
    margin: 0 auto;
    display: block;
    font-size: 13px;
    text-align: left;
    line-height: 1;
}

.font-large {
    font-size: 2.3rem !important;
}

#RANK2411 .rank-campaign_off {
    padding: 10px;
}

#RANK2411 .rank-campaign_off.grid3 {
    padding: 15px;
}

.box_study {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    font-size: 16px;
    gap: 0px;
    max-width: 100%;
    width: 100%;
    flex-direction: column;
}

.grid3 .box_study {
    align-items: center;
    flex-direction: row;
    gap: 0 15px;
    font-size: 17px;
    padding-left: 3px
}

.price_box {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding-left: 5px;
}

.grid3 .price_box {
    padding-left: 20px;
}

.p-rank__imgWrap {
    position: relative;
}

.kokka_icon {
    background: #FFE396;
    background: linear-gradient(-45deg, rgba(255, 227, 150, 1) 20%, rgba(253, 251, 222, 1) 50%, rgba(255, 227, 150, 1) 80%);
    color: #323232;
    font-weight: bold;
    position: absolute;
    z-index: 1;
    bottom: 5px;
    left: 5px;
    padding: 2px 5px;
    font-size: 1.1rem;
    border-radius: 3px;
    border: #e71f19 1.5px solid;
}

.grid3 .kokka_icon {
    background: #FFE396;
    background: linear-gradient(-45deg, rgba(255, 227, 150, 1) 20%, rgba(253, 251, 222, 1) 50%, rgba(255, 227, 150, 1) 80%);
    color: #323232;
    font-weight: bold;
    position: absolute;
    z-index: 1;
    bottom: 5px;
    left: 5px;
    padding: 3px 10px;
    border-radius: 5px;
    border: #e71f19 2px solid;
    font-size: 1.3rem;
}

#RANK2411 .p-rank__item .p-rank__txtWrap .p-rank__term {
    color: #000;
}

#RANK2411 .ranking30 .p-rank__item .p-rank__txtWrap .p-rank__term {
    padding: 10px 5px 5px;
}

#RANK2411 .ranking30 .p-rank__item .p-rank__txtWrap .p-rank__term {
    font-size: 2rem;
}

#RANK2411 .p-rank__item {
    margin: 0 0 20px;
}

/* #section01,
#section02,
#section03,
#section04 {
    scroll-margin-top: 90px;
}
 */


@media only screen and (min-width: 768px) {
#RANK2411 .ranking .p-rank__item {
    width: 24%;
}

#RANK2411 .ranking .p-rank__item.grid3 {
    width: 32%;
}
}






@media only screen and (max-width: 767px) {

#RANK2411 .p-rank__item .p-rank__txtWrap {
    max-width: 100% !important;
}

#RANK2411 .p-rank__item .p-rank__txtWrap .p-rank__term {
    font-size: 3rem ;
}

li .p-rank__beforePrice .price {
    font-size: 16px;
}

#RANK2411 .p-rank__item__course {
    align-items: baseline;
    margin-top: 0;
    padding-top: 0;
    gap: 5px;
}

.box_study_period,
.box_study_level {
    font-size: 2rem;
    line-height: 1.3;
}

.p-rank_reason_text {
    font-size: 2.3rem;
    padding: 10px;
    height: 90px;
}

.category_icon {
    font-size: 1.8rem;
}

.grid3 .number_rank,
.number_rank {
    font-size: 5rem;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
}

.grid3 .p-rank__imgWrap img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

#RANK2411 .p-rank__item__course .p-rank__imgWrap .course-img {
    width: 100%;
    height: 100px;
}

#RANK2411 .p-rank .grid3 .p-rank_new_rt {
    font-size: 2rem;
    margin-top: 0;
    }

    .grid3 .rank,
.rank {
            width: 40px;
                height: 50px;
                left: 5px;
}

#RANK2411 .p-rank__item .p-rank__txtWrap .p-rank__term {
    height: 60px;
}

.p--tabtank_af small {
    font-size: 30%;
}

.txt_p {
    height: auto;
}

#RANK2411 .p-rank .grid3 .p-rank_new_rt,
#RANK2411 .p-rank .p-rank_new_rt{              font-size: 1.6rem;
    margin-top: 0px;
    line-height: 1.3;
}

#RANK2411 .p-rank .grid3 .rank-btn-block .btn a,
#RANK2411 .p-rank .grid3 .rank-btn-block .btn.muryou a,
#RANK2411 .p-rank .rank-btn-block .btn a,
#RANK2411 .p-rank .rank-btn-block .btn.muryou a {
    height: 40px;
}

#RANK2411 .p-rank .rank-btn-block.top10 {
    gap: 10px;
}

#RANK2411 .p-rank .rank-btn-block .btn a {
    font-size: 1.7em;
}

.grid3 .pacent,
.pacent {
    position: relative;
    width: 55px;
}

#RANK2411 .p-rank__item {
    width: 48%;
    border-radius: 10px;
}

#RANK2411 .p-rank {
    padding: 8px;
    gap: 5px;
    justify-content: center;
}

.p--tabtank_price {
    flex-direction: row;
    font-size: 2rem;
}

li.grid3 .p--tabtank_af,
.p--tabtank_af {
    font-size: 28px;
    padding-bottom: 3px;
}

.p--tabtank_af small,
li.grid3 .p--tabtank_af small {
    font-size: 33%;
    padding-top: 3px;
}

li.grid3 .p-rank__beforePrice,
li .p-rank__beforePrice {
    width: 100%;
    padding: 3px 10px 1px;
    border-radius: 50px;
    max-width: 100%;
}

.p-rank__beforePrice {
    clip-path: none;
}

#RANK2411 .rank-campaign_off.grid3,
#RANK2411 .rank-campaign_off {
    padding: 8px;
}

.p--tabtank_af {
    justify-content: left;
}

.p-rank__beforePrice .hagaki {
    font-size: 11px;
}

#RANK2411 .p-rank__item .p-rank__txtWrap .p-rank__term,
#RANK2411 .p-rank__item.grid3 .p-rank__txtWrap .p-rank__term {
    height: 50px;
    padding-top: 10px;
}

#RANK2411 .p-rank__item .p-rank__txtWrap .p-rank__term {
    padding: 0;
}

#RANK2411 .p-rank .rank-btn-block .btn {
    margin-bottom: 0;
}

/* .grid3 .pacent img,
.pacent img {
    max-width: 55px;
} */

.grid3 .discount_txt,
.discount_txt {
    position: absolute;
    right: 5px;
    top: 5px;
    text-align: center;
    font-weight: bold;
    color: #232323;
    line-height: 1;
            font-size: 2.8rem;
}

#RANK2411 .annotation {
    padding-top: 0;
    width: 95%;
    margin: 0 auto 10px;
    display: block;
    font-size: 13px;
}

.ukmcustomfont-ukm-full-star:before, .ukmcustomfont-ukm-half-star:before {
    font-size: 19px !important;
}

.price_box {
    padding-left: 0;
    gap: 5px;
    align-items: center;
}

.grid3 .pacent img,
.pacent img {
    width: 55px;
}

.grid3 .price_box {
    padding: 0;
}

.grid3 .kokka_icon,
.kokka_icon {
    background: #FFE396;
    background: linear-gradient(-45deg, rgba(255, 227, 150, 1) 20%, rgba(253, 251, 222, 1) 50%, rgba(255, 227, 150, 1) 80%);
    color: #323232;
    font-weight: bold;
    position: absolute;
    z-index: 1;
    bottom: 5px;
    left: 5px;
    padding: 2px 5px;
    font-size: 1.8rem;
    border-radius: 3px;
    border: #e71f19 1.5px solid;
}

.font-small {
    font-size: 2.6rem !important;
}

#RANK2411 .ranking30 .p-rank__item .p-rank__txtWrap .p-rank__term {
    font-size: 3.5rem;
    padding: 10px 5px 2px;
}
}