@charset "UTF-8";

/* =========================================
   Countdown Timer Section (Perfect Seamless Sync)
   ========================================= */
.t-home-countdown {
    text-align: center;
    /* 上下の余白も画面幅に合わせて滑らかに変化 */
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 3vw, 4rem);
    background: linear-gradient(135deg, #ff59ee 0%, #fda37f 50%, #eeff2e 100%);
    /* border-radius: 20px; */
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(255, 89, 238, 0.25);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-sizing: border-box;

    /* ★ 魔法の連動ロジック ★ */
    /* トップ画像と全く同じ「画面幅の90%」でシームレスに縮む */
    width: 90vw !important; 
    /* ただし大画面では適正サイズの720pxでストップさせる（ここが閾値になります） */
    max-width: 720px !important; 
    margin: 0 auto clamp(4rem, 8vw, 7rem) !important;
}

/* ※幅を切り替えるメディアクエリは不要になったため削除しました */

.t-home-countdown::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
}

.t-home-countdown__label {
    font-family: var(--font-family_outfit, 'Outfit', sans-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #ffffff;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}



.t-home-countdown__unit {
    font-family: var(--font-family_outfit, 'Outfit', sans-serif);
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
}

.t-home-countdown__timer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(0.3rem, 2vw, 1.5rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    position: relative;
    z-index: 1;
    flex-wrap: nowrap; 
}

.t-home-countdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: clamp(50px, 12vw, 90px);
}

.t-home-countdown__number {
    font-family: var(--font-family_outfit, 'Outfit', sans-serif);
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-variant-numeric: tabular-nums; 
}

.t-home-countdown__colon {
    font-family: var(--font-family_outfit, 'Outfit', sans-serif);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.1;
    animation: blink 1s infinite alternate;
}

@keyframes blink {
    0% { opacity: 1; }
    100% { opacity: 0.2; }
}

.t-home-countdown__target {
    font-family: var(--font-family_monbran, sans-serif);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #ffffff;
    position: relative;
    display: block !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding-top: clamp(1.5rem, 3vw, 2rem);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
    text-align: center !important; 
    line-height: 1.6;
}

/* CMSの自動タグ対応（中央揃え維持） */
.t-home-countdown__target p,
.t-home-countdown__target div,
.t-home-countdown__target span {
    display: block !important;
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.t-home-countdown__target::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1px;
}

/* 分割タグ対策 */
.t-home-countdown__target + .t-home-countdown__target {
    padding-top: 0 !important;
    margin-top: 0.5rem !important;
}
.t-home-countdown__target + .t-home-countdown__target::before {
    display: none !important;
}

/* スマホ用レスポンシブのテキスト折り返しのみ残す */
@media screen and (max-width: 799px) {
    .t-home-countdown__target {
        max-width: 240px !important; 
        margin: 0 auto !important;
    }
}