/**
 * 全ページ共通のスタイル
 */

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo a {
    display: inline-block;
}
.header-logo img {
    height: 40px;
    padding: 5px 0 5px 0;
}
@media screen and (min-width: 992px) {
    .header-logo img {
        height: 60px;
    }
}

.campaign-button {
    width: 80%;
    background-color: #D0AA00;
    font-size: 20px;
    border-radius: 10px;
    font-weight: bold;
    padding: 10px 0;
    margin: auto;
    box-shadow: 0 2px 6px rgba(128, 128, 128);
    display: flex;
    justify-content: center;
    text-decoration: none !important;
}
@media screen and (min-width: 992px) {
    .campaign-button {
        font-size: 24px;
        width: 50%;
    }
}

.campaign-sticky-button {
    width: 100%;
    background-color: #D0AA00;
    font-size: 20px;
    border-radius: 10px;
    font-weight: bold;
    padding: 10px 0;
    margin: auto;
    box-shadow: 0 2px 6px rgba(128, 128, 128);
    display: flex;
    justify-content: center;
    text-decoration: none !important;
}
@media screen and (min-width: 992px) {
    .campaign-sticky-button {
        font-size: 24px;
        width: 60%;
    }
}


.campaign-button-text {
    color: #fff;
}


/**
 * LPページのスタイル
 */
.lp-content {
    background-image: url('/img/point_campaign_sale/lp_background.png');
    padding-bottom: 20px;
}
.lp-campaign {
    background-size: contain;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

.lp-sale-banner {
    width: 70%;
    margin: 10px 0 10px;
}
@media screen and (min-width: 992px) {
    .lp-sale-banner {
        width: 40%;
        margin: 30px 0 30px;
    }
}

.lp-campaign-explain {
    margin: 20px 15px 10px;
}
@media screen and (min-width: 992px) {
    .lp-campaign-explain {
        margin: 40px 0;
    }
}

.lp-campaign-explain img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
@media screen and (min-width: 992px) {
    .lp-campaign-explain img {
        width: 50%;
    }
}

.lp-campaign-detail {
    margin: 5px 15px;
    background-color: #fff;
    padding: 20px 20px;
    color: #272727;
}
@media screen and (min-width: 992px) {
    .lp-campaign-detail {
        width: 80%;
        margin: 10px auto;
    }
}

.lp-campaign-detail-title{
    font-weight: bold;
    margin-bottom: 10px;
}

.lp-campaign-detail-content {
    margin-bottom: 20px;
}

.lp-fixed-button {
    width: 80%;
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition:bottom 0.3s, opacity 0.3s;
    box-sizing: border-box;
    margin: 0;
}

/**
* セール一覧ページのスタイル
*/
.sale-list {
    padding-top: 20px;
    background-color: #FFF9EB;
}
@media screen and (min-width: 992px) {
    .sale-list {
        padding-top: 30px;
    }
}

.sale-list-headline {
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 20px;
    background-color: #FF8A17;
    padding: 5px;
    border-radius: 0 20px 20px 0;
    text-align: center;
    display: flex;
    align-items: center;
    width: 90%;
    gap: 10px;
}
@media screen and (min-width: 992px) {
    .sale-list-headline {
        padding: 10px 10px 10px 30px;
        border-radius: 0 40px 40px 0;
        font-size: 24px;
    }
}

.sale-list-headline img {
    width: 30px;
    height: 30px;
}
@media screen and (min-width: 992px) {
    .sale-list-headline img {
        width: 40px;
        height: 40px;
    }
}

.sale-list-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 90%;
    margin: auto;
    margin-top: 20px;
}
@media screen and (min-width: 992px) {
    .sale-list-items {
        width: 60%;
        margin-top: 50px;
        gap: 30px;
    }
}

.sale-list-item {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(128, 128, 128);
    cursor: pointer;
}
@media screen and (min-width: 992px) {
    .sale-list-item {
        padding: 15px 10px 15px;
    }
}
.sale-list-item .sale-content {
    font-size: 18px;
    display: flex;
    align-items: center;
    font-weight: bold;
    padding: 0 !important;
    margin: 0 !important;
    gap: 10px;
}
@media screen and (min-width: 992px) {
    .sale-list-item .sale-content {
        font-size: 24px;
    }
}

.sale-list-item .sale-content .sale-icon {
    display: flex;
}

.appeal-message {
    background-color: #DF0000;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 10px;
}
@media screen and (min-width: 992px) {
    .appeal-message {
        font-size: 20px;
    }
}

.sale-list-footer img {
    width: 100%;
    height: auto;
    margin-top: 20px;
}
@media screen and (min-width: 992px) {
    .sale-list-footer {
        width: 60%;
        margin: auto;
    }
}

/**
 * モーダルのスタイル
 */
body.modal-open {
    padding: 0;
}

/* モーダルの背景オーバーレイ */
#sale-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: none;
}

/* モーダル本体 */
#sale-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000000;
    display: none;
    padding: 20px;
}
@media screen and (min-width: 992px) {
    #sale-modal {
        width: 60%;
        max-width: 600px;
    }
}

/* モーダルヘッダー */
.modal-header {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #272727;
    text-decoration: underline;
    text-decoration-color: #D0AA00;
    text-underline-offset: 10px;
    text-decoration-thickness: 3px;
}
@media screen and (min-width: 992px) {
    .modal-header {
        font-size: 24px;
    }
}

/* セールチェックボタン */
.modal-button a {
    display: block;
    text-align: center;
    color: #fff;
    background-color: #D0AA00;
    font-size: 20px;
    font-weight: bold;
    padding: 5px;
    border-radius: 8px;
    text-decoration: none;
    margin: auto;
    box-shadow: 0 2px 6px rgba(128, 128, 128);
}
@media screen and (min-width: 992px) {
    .modal-button a {
        font-size: 24px;
        width: 90%;
    }
}

.modal-content {
    margin-top: 20px;
}
@media screen and (min-width: 992px) {
    .modal-content {
        margin-top: 40px;
    }
}

/* モーダルの説明文 */
.modal-content div {
    display: block;
    font-size: 14px;
    color: #272727;
    margin-bottom: 10px;
    font-weight: bold;
    display: inline;
}
@media screen and (min-width: 992px) {
    .modal-content div {
        font-size: 18px;
    }
}

.modal-content div span {
    font-size: 12px;
    color: #272727;
}
@media screen and (min-width: 992px) {
    .modal-content div span {
        font-size: 16px;
    }
}

.modal-content div strong {
    color: #FF0000;
}

/* モーダル内の画像 */
.modal-image img {
    width: 100%;
    margin-top: 20px;
    border-radius: 5px;
}
@media screen and (min-width: 992px) {
    .modal-image img {
        margin-top: 40px;
    }
}

/* モーダルを閉じるボタン */
.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}
@media screen and (min-width: 992px) {
    .modal-close {
        font-size: 40px;
    }  
}

.modal-body .message {
    color: #272727;
    font-weight:bold;
    text-align: center;
    display: block;
    font-size: 16px;
    margin-bottom: 20px;
}
@media screen and (min-width: 992px) {
    .modal-body .message {
        font-size: 20px;
    }
}

/**
* 抽選前ページのスタイル
*/
.complete-area {
    position: relative;
    padding: 50px 10px;
}

.complete-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/point_campaign_sale/complete_background.svg');
    opacity: 0.7;
    z-index: -1;
}
.complete-message-img {
    width: 60%;
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
}
@media screen and (min-width: 992px) {
    .complete-message-img {
        width: 40%;
        margin-bottom: 40px;
    }
}
