@charset "utf-8";

/* ========== common ============================== */

body {
    color: #90d8f6;
    background: url(../img/bg_patarn.png) repeat center;
    font-size: 1.6rem;
    overflow-x: hidden;
    width: 100%;
}

main {
    max-width: 100%;
    margin: 0 auto;
    padding-top: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== top ============================== */

.top__container {
    text-align: center;
}

.thanks {
    padding-top: 15px;
}

.detail img {
    width: 55%;
}

/* ========== 応募方法 ============================ */

.detail-img {
    display: flex;
    justify-content: center;
    gap: 20px;             
    margin-top: 30px;
}

.detail-img img {
    max-width: 100%;
    height: auto;
}


.section-apply {
    overflow: hidden;
    img{
        display: block;      
        margin-left: auto;  
        margin-right: auto;
        }
    }

    .apply_img{
        position: relative;
        &::before {
            content: '';
            display: block;
            position: absolute;
            top: 21%;
            left: 110%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: url(../img/white01.svg) no-repeat center center;
            background-size: contain;
            z-index: 0;
        }
    }

.section-inner {
        max-width: 690px;  
        width: 100%;       
        margin-left: auto; 
        margin-right: auto;
        padding: 0 35px;   
        box-sizing: border-box;
        
}

.section-howto{
    overflow: hidden;
    
    img{
    display: block;      
    margin-left: auto;  
    margin-right: auto;
    }
}

.howto-txt{
    margin-bottom:40px;
    margin-top: 100px;
    width: fit-content;
    margin-left: auto;   
    margin-right: auto;
    
    position: relative;
    &::before {
        content: '';
        display: block;
        position: absolute;
        top: -9%;
        left: -73%;
        transform: translate(-50%, -50%);
        width: 200px;
        height: 200px;
        background: url(../img/white02.svg) no-repeat center center;
        background-size: contain;
        z-index: 0;
    }
   
}

.howto-step{
    position: relative;
    width: fit-content; 
    margin: 0 auto;
}

.howto-step {
    width: 100%;
    display: flex;
    justify-content: center;
    
    img {
        display: block;
        height: auto;
        width: 129%;
        max-width: 760px;
    }
}

@media screen and (max-width: 459px) {
    
    .howto-step {
        img {
            width: 125%;
            max-width: 125%;
        }
    }
}


    .section-inner {
        max-width:690px;  
        width: 100%;       
        margin-left: auto; 
        margin-right: auto;
        padding: 0 24px;   
}


.wave-blue {
    width: 100%;
    height: 100px; 
    background-image: url(../img/nami_blue.svg);
    background-repeat: repeat-x;
    background-position: bottom center;
    margin-top: 42px;
    margin-bottom: -1px;
    background-size: auto 101%;
    background-position: top center;
}

.wave-white {
    position: relative;
    height: 100px; 
    background-image: url(../img/nami_white01.svg);
    background-repeat: repeat-x;
    background-position: bottom center;
    margin-top: -36px;
    margin-bottom: -1px;
    width: 100%;
    background-size: auto 101%;
    background-position: top center;
    
}

.wave-white-last {
    position: relative;
    width: 100%;
    height: 100px; 
    background-image: url(../img/nami_white02.svg);
    background-repeat: repeat-x;
    background-position: bottom center;
    margin-top: -36px;
    margin-bottom: 22px;
    background-size: auto 101%;
    background-position: bottom center;
}


.section-detail {
    background-color: #dcf7ff; 
    overflow: hidden;
    padding-bottom: 100px;
    position: relative;
    background-image: url(../img/colorful.svg);
    background-size: 1030px auto;
    background-repeat: no-repeat;
    background-position: center;
    

    img{
        display: block;      
        margin-left: auto;  
        margin-right: auto;
        }

    }

    .detail_img01{
        margin-bottom: 93px;
        img {
            max-width: 90%;
            height: auto;
        }
    }

    .detail_img02{
        margin-bottom:184px;
        img {
            max-width: 93%;
            height: auto;
        }
    }

    .detail_img03{
        margin-bottom: 107px;
        img {
            max-width: 97%;
            height: auto;
        }
    }

    .detail_img04{
        margin-bottom: 21px;
        img {
            max-width: 94%;
            height: auto;
        }
    }

    @media screen and (max-width: 459px) {

        .section-detail {
            background-size: 580px auto;
        }
    
        .detail_img01{
            margin-bottom: 40px;
            img {
                max-width: 90%;
                height: auto;
            }
        }
    
        .detail_img02{
            margin-bottom:67px;
            img {
                max-width: 93%;
                height: auto;
            }
        }
    
        .detail_img03{
            margin-bottom: 40px;
            img {
                max-width: 97%;
                height: auto;
            }
        }
    
        .detail_img04{
    
            img {
                max-width: 94%;
                height: auto;
            }
        }
    
    }

    .section-detail .section-inner {
        padding: 0 11px;
        
    }

    
.section-notice {
    background-color: #ffffff; 
    overflow: hidden;
    img{
        display: block;      
        margin-left: auto;  
        margin-right: auto;
        }
    }

    .notice-title{
        position: relative;
        &::before {
            content: '';
            display: block;
            position: absolute;
            top: 88%;
            left: 0%;
            transform: translate(-50%, -50%);
            width: 133px;
            height: 133px;
            background: url(../img/blue01.svg) no-repeat center center;
            background-size: contain;
            z-index: 0;
        }
    }

    @media screen and (max-width: 459px) {
        .notice-title{
            img{
                width: 150px;
            }
        }

        .notice-title{
            &::before {
                content: '';
                top: 121%;
                left: 0%;
                transform: translate(-50%, -50%);
                width: 96px;
                height: 96px;
                }
        }
    }

    
    .notice-img {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 34px;
        position: relative;
        width: fit-content; 
        
        img {
            display: block;
            height: auto;
            width: 114%;
            max-width: 760px;
        }

    &::before {
        content: '';
        display: block;
        position: absolute;
        z-index: 1;
        width: 96px;
        height: 96px;
        background: url(../img/blue03.svg) no-repeat center center;
        background-size: contain;
        bottom: -78%;
        left: -87px;
    }

       &::after {
        content: '';
        display: block;
        position: absolute;
        z-index: 1;
        width: 160px;
        height: 160px;
        background: url(../img/blue02.svg) no-repeat center center;
        background-size: contain;
        top: 84%;
        right: -131px;
    }
}

    .section-notice .section-inner {
        padding: 0 11px;
    }


@media screen and (max-width: 459px) {
    .howto-txt{
        width: 150px;
        height: auto;
        display: block;      
        margin-left: auto;  
        margin-right: auto;
        margin-bottom:22px;
        margin-top: 54px;
        &::before {
            content: '';
            display: block;
            position: absolute;
            top: -3%;
            left: -63%;
            transform: translate(-50%, -50%);
            width: 120px;
            height: 150px;
            background: url(../img/white02.svg) no-repeat center center;
            background-size: contain;
            z-index: 0;
        }
    }

        .notice-img {
    
        &::before {
            content: '';
            display: block;
            position: absolute;
            bottom: -152%;
            left: -87px;
        }
    }

    .wave-blue {
        margin-top: 16px;
        margin-bottom: -30px;
    }

    .wave-white {
        margin-top: -91px;
        }
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
    .wave-white {
        width: calc(100% + 2px); 
        margin-bottom: -2px; 
    }
}

/* ========== button ============================ */

.section-button01 {
    width: 100%;
    padding: 60px 0;
    overflow: hidden;
}

.button-group {
    display: flex;
    flex-direction: column; 
    align-items: center;   
    gap: 30px;             
}

.button-title {
    display: block;
    width: fit-content;
    margin-bottom: 10px; 
    
    img {
        display: block;
        width: 100%;
        max-width: 350px; 
        height: auto;
        
        @media (max-width: 459px) {
            max-width: 271px; 
        }
    }
}


.btn-item {
    display: block;
    width: fit-content;
    text-decoration: none;
    
    transition: transform 0.2s ease; 
    
    img {
        display: block;
        width: 100%;
        max-width: 400px; 
        height: auto;
        
        @media (max-width: 459px) {
            max-width: 280px; 
        }
    }
}

/* ========== button疑似要素 ============================ */

.section-button01 .section-inner {
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    
    position: relative;
}

.button-group{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    
    position: relative;   
    width: fit-content;   
    margin: 0 auto;

    &::before {
        content: '';
        display: block;
        position: absolute;
        z-index: 1;
        width: 96px;
        height: 96px;
        background: url(../img/white04.svg) no-repeat center center;
        background-size: contain;
        bottom: -12%;
        left: -176px;
    }

       &::after {
        content: '';
        display: block;
        position: absolute;
        z-index: 1;
        width: 193px;
        height: 193px;
        background: url(../img/white03.svg) no-repeat center center;
        background-size: contain;
        top: 10%;
        right: -223px;
    }
}


.button-red{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    
    position: relative;   
    width: fit-content;   
    margin: 50px auto;

    &::before {
        content: '';
        display: block;
        position: absolute;
        z-index: 1;
        width: 96px;
        height: 96px;
        background: url(../img/white04.svg) no-repeat center center;
        background-size: contain;
        bottom: -12%;
        left: -176px;
    }

       &::after {
        content: '';
        display: block;
        position: absolute;
        z-index: 1;
        width: 193px;
        height: 193px;
        background: url(../img/white03.svg) no-repeat center center;
        background-size: contain;
        top: 10%;
        right: -223px;
    }
}



@media screen and (max-width: 459px) {

    .button-group{
    &::before {
        content: '';
        display: block;
        position: absolute;
        z-index: 1;
        width: 75px;
        height: 75px;
        bottom: -27%;
        left: -78px;
       }

       &::after {
        content: '';
        display: block;
        position: absolute;
        width: 164px;
        height: 164px;
        top: -9%;
        right: -223px
        }
    }

}
    

@media (min-width: 460px) {
    .btn-item:hover {
        transform: translateY(3px); 
        opacity: 0.9; 
    }
}

/* ========== fotter ============================ */


.copy {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    padding-bottom: 20px;
    color: #fff;
}

@media (min-width: 751px) {
    footer {
        min-width: 751px;
    }
}