/*閉鎖*/
#endbox {
    display: block;
}

#endbox .endbox_inner {
    background: #FFE7E5;
    color: #FF4123;
    text-align: center;
    font-weight: bold;
    padding: 20px 1em;
    border-radius: 10px;
    max-width: 1000px;
    width: 90%;
    z-index: 2;
    border-radius: 5px;
    border: 3px solid #FC432F;
    margin: 50px auto 100px auto;
}

#endbox .endbox_inner p:first-child {
    font-size: 20px;
}

#endbox .endbox_inner p:last-child {
    font-size: 20px;
}

#top section#endbox {
    padding: 0;
}

#entry .btn,
#application .btn {
    position: relative;
}

#entry .btn::after,
#application .btn::after {
    content: 'キャンペーンは終了いたしました。';
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding: 30px 1em;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

/* ボタンが入っているliを土台にする */
ul.step1 li:last-child {
    position: relative;
    overflow: hidden;
    /* はみ出し防止 */
    border-radius: 10px;
}

/* ボタン部分だけに黒いマスクをかける */
ul.step1 li:last-child::after {
    content: 'キャンペーンは終了いたしました。';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    z-index: 5;
    pointer-events: all;
    /* 下のボタンをクリックできないようにする */
}



@media screen and (max-width:767px) {
    #endbox .endbox_inner {
        padding: 20px 0.5em;
        margin: 0px auto 30px auto;
    }

    #endbox .endbox_inner p:first-child {
        font-size: 16px;
    }

    #endbox .endbox_inner p:last-child {
        font-size: 15px;
        /*        margin-top: 0.5em;*/
    }

    #entry .btn::after,
    #application .btn::after {
        content: 'レシートアップロード期間は\A終了しました';
        white-space: pre;
        padding: 58px 0;
    }

    f ul.step1 li:last-child::after {
        content: 'キャンペーンは\A終了いたしました';
        white-space: pre;
        font-size: 14px;
        line-height: 1.4;
    }

}