.countdown-section {
    padding: 40px 0;
    background: #f8f9fa;
    width: 100%;
    margin: 0;
    overflow-x: hidden;
}

.countdown-section .container {
    text-align: center;
    max-width: 428px;
    /* スマホ幅に合わせる（iPhone Pro Maxサイズ） */
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* PC版のみ表示 */
@media (min-width: 769px) {
    .sp-only {
        display: none;
    }
}

/* スマホ版のみ表示 */
@media (max-width: 768px) {
    .pc-only {
        display: none;
    }
}

.countdown-image {
    margin-bottom: 30px;
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

.countdown-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.countdown-catch-copy {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    white-space: pre-line;
    word-break: normal;
}

.countdown-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    white-space: pre-line;
    word-break: normal;
}

.countdown-description-wrapper {
    max-width: 100%;
    margin: 0 auto 10px;
    text-align: center;
}

.countdown-description {
    margin-bottom: 0;
    color: #666;
    white-space: pre-line;
    word-break: normal;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 200px;
    min-width: 120px;
    aspect-ratio: 1;
}

.countdown-number {
    font-size: 64px;
    font-weight: bold;
    color: #000;
    line-height: 1;
}

.countdown-labels {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
}

.countdown-label-item {
    flex: 1;
    max-width: 200px;
    min-width: 120px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.countdown-datetime {
    margin-top: 15px;
}

.countdown-date {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.countdown-expired {
    font-size: 20px;
    color: #999;
    padding: 20px;
}

@media (max-width: 768px) {
    .countdown-section {
        padding-top: 0px;
        padding-bottom: 40px;
    }

    .countdown-section .container {
        max-width: 100%;
        /* スマホでは画面幅いっぱい */
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .countdown-image {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .countdown-image img {
        width: 100%;
        height: auto;
    }

    .countdown-catch-copy {
        font-size: 22px;
        margin-top: 0;
        white-space: pre-line;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .countdown-title {
        font-size: 22px;
        white-space: pre-line;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .countdown-description {
        font-size: 14px;
        white-space: pre-line;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .countdown-timer {
        flex-wrap: wrap;
        gap: 15px;
    }

    .countdown-item {
        min-width: 80px;
        padding: 15px;
        max-width: none;
    }

    .countdown-number {
        font-size: 48px;
    }

    .countdown-labels {
        flex-wrap: wrap;
        gap: 15px;
    }

    .countdown-label-item {
        min-width: 80px;
        max-width: none;
    }

    .countdown-date {
        font-size: 16px;
    }

    .countdown-description-wrapper {
        max-width: 100%;
        padding: 0 20px;
    }
}

/* 予約開始日時のスタイル */
.reservation-start-datetime {
    display: inline-block;
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
    color: #333;
    padding: 15px 30px;
    border-radius: 50px;
    margin: 20px 0;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.reservation-label {
    display: block;
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
    font-weight: normal;
    color: #666;
}

.reservation-date {
    display: block;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #333;
}

@media (max-width: 768px) {
    .reservation-start-datetime {
        padding: 12px 20px;
        font-size: 16px;
    }

    .reservation-label {
        font-size: 12px;
    }

    .reservation-date {
        font-size: 18px;
    }
}
