@media all and (max-width:767px){
    .sp
    {
        display: block;
    }
    .pc
    {
        display: none;
    }
    body
    {
        font-size: 14px;
        text-align: justify;
    }
    h2
    {
        text-align: center;
    }
    .contents
    {
        min-width: 250px;
        background-image: url(../images/main-bg.jpg?20250710);
        width:  calc(100vw - 30px);
        margin: 0 15px;
        height: 100%;
        position: relative;
    }
    .contents:before
    {
        left: -15px;
        width: 15px;
    }
    .contents:after
    {
        right: -15px;
        width: 15px;
    }
    section
    {
        width: 90%;

    }
    section h2
    {
        font-size: 22px;
    }
    section h2:before
    {
        max-width: 500px;
        width: 50%;
    }
            p.font-34
        {
            font-size: 30px;
        }
        p.font-32
        {
            font-size: 28px;
        }
        p.font-30
        {
            font-size: 26px;
        }
        p.font-24
        {
            font-size: 22px;
        }
        p.font-22
        {
            font-size: 20px;
        }
        p.font-18
        {
            font-size: 16px;
        }
        p.font-16
        {
            font-size: 14px;
        }
    .header-bg>img
    {
        width: 70%;
        height: auto;
    }
    .top h1
    {
        max-width: 700px;
        width: 90%;
        margin: 22vw auto 10px;
    }
    .top h2
    {
        width: 80%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .top p
    {
        width: 90%;
        margin: 15px auto;
    }
    .li-sp-top
    {
        position: absolute;
        max-width:700px;
        width: 100%;
        top:0;
    }
    .li-sp-bottom
    {
        position: absolute;
        max-width:700px;
        width: 100%;
        bottom:-17vw;
    }
    .top h2
    {
        padding: 0;
        margin-bottom: 10px;
        font-size: 22px;
    }
    .top-text-midashi
    {
        font-size: 22px;
        margin: 0 auto 15px;
    }
    .top-text
    {
        width: 90%;
        font-size: 16px;
    }
    
    /*グランプリのステップ*/
    .step-box
    {
        padding: 10px 5px;
        box-sizing: border-box;
        position: relative;
        width: 90%;
        margin: 10px auto;
    }
    .step-box:after
    {
        width: 8%;
    }
    .step-box.box-1
    {
        margin-top: 30px;
    }
    .gp-step>p
    {
        margin-bottom: 30px; 
    }
    .step-box-h3
    {
        font-size: 18px;
        width: 80%;
        top: -20px;
    }
    .benefit>h2
    {
        margin-top: 155px;
    }
    .benefit-box
    {
        flex-flow: column;
    }
    .benefit-box>div
    {
        width: 100%;
        margin: 10px auto;
        padding: 30px;
    }
    .benefit-box-in
    {
        flex-flow: column;
    }
    .benefit-box-in>p
    {
        width: 100%;
    }
    .benefit-img
    {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .benefit-img>img
    {
        position: relative;
        width: 50%;
    }
    .quo,.kuroshio
    {
        bottom: 0;
    }
    .row
    {
            grid-template-columns: repeat(2, 1fr);
    }
    .row:last-of-type
    {
        width: 100%;
    }
    .status-label
    {
        font-size: 12px;
        width: 105px;
    }
    .cell
    {
        font-size: 16px;
    }
    .voting-summary tr
    {
        display: flex;
        flex-flow:  column;
    }
    .voting-summary td,
    .voting-summary th
    {
        margin-top: 5px;
    }
    footer
    {
        text-align: center;
    }
    .gp-step>.top-text-midashi
    {
        margin: 30px auto;
    }
    
    /*投票ページ*/
    .vote-city
    {
        font-size: 35px;
        text-align: center;
        margin: 70px 0;
        z-index: 1;
    }

    .nominate-list
    {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px 0;
        grid-auto-rows: 1fr;
        width: 100%;
    }
    .vote-li
    {
        width: 100px;
    }
    .vote-li-left
    {
        top: 100px;
        left: 0;
    }
    .vote-li-right
    {
        top: 175px;
        right: 0;
    }
    .vote-top>p
    {
        font-size: 22px;
        width: 90%;
        padding-top: 25px;
        margin: 25px auto;
    }
    .nominate-content
    {
        flex-flow: column;
    }
    .n-img
    {
        width: 100%;
    }
    .n-name
    {
        font-size: 20px;
        width: 50%;
        line-height: 1.1;
    }
    .n-description
    {
        width: 100%
    }
    .comp-box
    {
        position: relative;
        width: 90%;
        margin: 30px auto;
    }
    .win-h2>img
    {
        width: 80%;
    }
    .comp-box h2.failed
    {
        margin: 25px auto;
    }
    .f-left
    {
        width: 80px;
        left: 5px;
    }
    .f-right
    {
        width: 80px;
        right: 5px;
    }
    .win-right,.win-left
    {
        display: none
    }
    .in-comp-box
    {
        display: flex;
        flex-flow: column;
    }
    .in-comp-box p
    {
        width: 90%;
        margin: 15px auto;
        text-align: left;
    }
    .win-nomal-n
    {
        font-size: 14px;
    }
    .win-nomal
    {
        font-size: 16px;
    }
    .win-bold
    {
        font-size: 22px;
    }
    .stamp-img
    {
        width: 80%;
        margin: 10px auto;
    }
    .dl-link
    {
        text-align: center;
        font-size: 18px;
    }
    .quo-img
    {
        width: 50%;
        margin: 10px auto;
    }
    .line-btn,.top-btn
    {
        max-width: 600px;
        width: 80%;
    }
    .select-button, .selected-badge
    {
        width: 55px;
    }
    .selected-badge
    {
        font-size: 12px;
    }
    .nominate-box:hover, .nominate-box.selected
    {
        background-size: 100% 100%;
    }
    .nominate-box:hover .nominate-title, .nominate-box.selected .nominate-title
    {
        background-size: 100% 100%;
    }
    
    .voting-summary > div
    {
        padding: 15px;
    }
    .voting-summary button[type="submit"] 
    {
        width: 100%;
        font-size: 22px;
    }
    .top-btn,
    .app-btn,
    .line-btn
    {
        max-width: 300px;
    }
    footer
    {
        text-align: center !important;
    }
    
} 
