@charset "utf-8";
/* CSS Document */

.fadein {
    opacity: 0;
    transform: translate(0, 30px);
    transition: all 1500ms;
}
.fadein2 {
    opacity: 0;
    transform: translate(0, 0);
    transition: all 1500ms;
}
.fadein3 {
    opacity: 0;
    transform: translate(0, 15px);
    transition: all 3000ms;
}
.scrollin {
    opacity: 1;
    transform: translate(0, 0);
}
/*-------------------
ファッションコンテスト2026
-------------------*/
body.contest2603 #contents{
    
    .inner {
      padding:0;  
    }
    .kv {
        width: 100%;
        position: relative;
        h2 {
            padding:0;
        }
        p {
            text-align: center;
            font-size: 25px;
            font-weight: bold;
            position: absolute;
            top: 60%;
            z-index: 10;
            right: 0;
            left: 0;
            margin: auto;
            span {
                font-size: 45px;
                padding:0 10px;
            }
        }
    }
    p em {
        color:#db2c5a;
    }
    .contents-main-inner {
        position: relative;
        div.flex {
            display: flex;
            justify-content:space-between;
            flex-wrap:wrap;
        }
        background-color:#fdd424;
        position: relative;
        z-index: 10;
        &::before {
            content:'';
            display:block;
            background-image:url(bg-wave.png);
            background-repeat: no-repeat;
            background-size: contain;
            aspect-ratio: 2040/76;
            height:auto;
            width: 100%;
            position: relative;
            top: -14px;
            z-index: 10;
        }
        > p {
            text-align:center;
            font-size: 20px;
            font-weight: bold;
            line-height: 2rem;
            position: relative;
            top: 0;
            padding: 5px 30px 0;
            span {
                font-size: 14px;
                font-weight: normal;
                display: block;
                line-height: 1.3rem;
                margin-top: 20px;
            }
        }
        section.rank_cont {
            padding: 20px;
            max-width: 800px;
            margin:auto;
            > div {
                background: #fff;
                border-radius: 15px;
                padding: 20px;
                margin-bottom:20px;
                /*ランキング画像*/
                h3 {
                    width: 45%;
                    margin:0 auto 20px;
                }
                > div {
                    width: 100%;
                    margin:auto;
                    > div p {
                            font-size: 20px;
                            font-weight: bold;
                            display: flex;
                            align-items: center;
                        > span {
                            span {
                                font-size: 30px;
                                padding: 0 5px;
                            }
                        }
                    }
                    a.shoplogo {
                        display:block;
                        aspect-ratio: 2/1;
                        max-height: 50px;
                    }
                    figure{
                        display:block;
                        aspect-ratio: 1/1;
                        background:#eee;
                        padding: 0;
                        margin: 15px 0;
                    }
                    div.detail {
                        > a {
                            display: block;
                            font-weight: bold;
                            font-size: 18px;
                            padding-bottom: 5px;
                            span {
                                display:block;
                                font-size: 14px;
                            }
                        }
                        div {
                            font-weight: bold;
                            margin:10px auto;
                            font-size: 16px;
                            border-top: dashed 1px #000;
                            padding: 15px 0;
                            line-height: 1rem;
                            span {
                                padding-top:5px;
                            }
                            a {
                                padding:5px 20px;
                                background: #000;
                                color:#fff;
                                border-radius: 50px;
                                font-size: 13px;
                            }
                        }
                    }
                }
                ul {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;   
                    li {
                        background:#d9eddc;
                        padding: 20px;
                        border-radius: 10px;
                        font-size: 14px;
                        &:nth-child(odd){
                        background:#fff9d9;
                        }
                    }
                }
                
            }
        }
    }
    
}

/*SPのみ*/
body.contest2603.sp #contents{
    .kv {
        margin-bottom: -35%;
    }
    section.rank_cont ul{
        height: 170px;
        overflow: scroll;
    }
}


/*PCのみ*/
body.contest2603.pc #contents{
    .kv {
        margin-bottom: -15%;
        p {
            font-size: 40px;
            top: 68%;
            span {
                font-size: 60px;
                padding:0 10px;
            }
        }
    }
    .contents-main-inner::before {
        top: -20px;
    }
    .contents-main-inner > p {
        font-size: 26px;
        font-weight: bold;
        line-height: 2.6rem;
        padding-top: 0;
    }
    .contents-main-inner section.rank_cont {
        max-width: 800px;
        margin:auto;
        > div {
            background: #fff;
            border-radius: 15px;
            padding: 30px 20px;
            /*ランキング画像*/
            h3 {
                width: 45%;
                margin:0 auto 20px;
            }
            > div {
                width: 50%;
                margin:auto;
                p {
                    font-size: 26px;
                    align-items:end;
                    span span {
                        font-size: 40px;
                    }
                }
            }
            ul {
                flex-direction: column;
                flex-wrap: wrap;
                height:300px;
                
                li {
                    width: calc(100%/2 - 10px);
                    box-sizing: border-box;
                    flex: 1 1 80px;
                }
            }            

        }
        
    }
    
}