/* 令和８年度入園特集ダイアログのスタイル */

.enrollment-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.enrollment-dialog-overlay.show {
    opacity: 1;
    visibility: visible;
}

.enrollment-dialog-content {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 50%, #ffd6d6 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 50vw;
    width: 45vw;
    min-width: 500px;
    max-height: 90vh;
    height: 80vh;
    min-height: 500px;
    position: relative;
    transform: scale(0.3) translateY(100px) rotateX(-15deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #ff6b9d;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    resize: both;
    opacity: 0;
    filter: blur(10px);
}

.enrollment-dialog-overlay.show .enrollment-dialog-content {
    transform: scale(1) translateY(0) rotateX(0deg);
    opacity: 1;
    filter: blur(0px);
    animation: dialogEntrance 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
               glowPulse 2s ease-in-out infinite 0.8s;
}

@keyframes dialogEntrance {
    0% {
        transform: scale(0.3) translateY(100px) rotateX(-15deg);
        opacity: 0;
        filter: blur(10px);
        box-shadow: 0 0 0 rgba(255, 107, 157, 0);
    }
    50% {
        transform: scale(1.05) translateY(-10px) rotateX(5deg);
        box-shadow: 0 30px 80px rgba(255, 107, 157, 0.4);
    }
    100% {
        transform: scale(1) translateY(0) rotateX(0deg);
        opacity: 1;
        filter: blur(0px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 
                    0 0 0 0 rgba(255, 107, 157, 0.7);
    }
    50% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 
                    0 0 0 10px rgba(255, 107, 157, 0);
    }
}

/* リサイズハンドルのスタイル */
.enrollment-dialog-content::-webkit-resizer {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    border-radius: 0 0 20px 0;
    width: 20px;
    height: 20px;
}

.enrollment-dialog-content::-webkit-scrollbar-corner {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    border-radius: 0 0 20px 0;
}

/* ヘッダー部分 */
.dialog-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 50%, #ffb3c6 100%);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dialog-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.flower-decoration {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}

.flower-decoration.left {
    left: 20px;
}

.flower-decoration.right {
    right: 20px;
}

.flower {
    font-size: 24px;
    animation: float 2s ease-in-out infinite;
    display: inline-block;
}

.flower:nth-child(1) { animation-delay: 0s; }
.flower:nth-child(2) { animation-delay: 0.5s; }
.flower:nth-child(3) { animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.dialog-title {
    color: white;
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* ボディ部分 */
.dialog-body {
    padding: 0;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* メインコンテンツ部分 */
.main-content {
    padding: 20px 30px;
    overflow-y: auto;
    scroll-behavior: smooth;
    flex: 1;
    min-height: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-content::-webkit-scrollbar {
    width: 8px;
}

.main-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.main-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    border-radius: 4px;
}

.main-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff8fab 0%, #ffb3c6 100%);
}

.enrollment-items {
    margin-bottom: 30px;
    width: 100%;
}

.enrollment-item {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #ff6b9d;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.enrollment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.1), transparent);
    transition: left 0.5s ease;
}

.enrollment-item:hover::before {
    left: 100%;
}

.enrollment-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.2);
}

.item-icon {
    font-size: 32px;
    margin-right: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.item-content {
    width: 100%;
}

.item-content h2 {
    color: #ff6b9d;
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 15px 0;
    text-align: center;
    border-bottom: 3px solid #ff6b9d;
    padding-bottom: 15px;
}

.item-content h3 {
    color: #ff6b9d;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 10px 0;
    text-align: center;
}

.item-content p {
    color: #666;
    margin: 0 0 20px 0;
    font-size: 16px;
    text-align: center;
    line-height: 1.6;
}

/* 説明会日時の詳細スタイル */
.schedule-unified {
    margin-top: 20px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.schedule-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    border-left: 4px solid;
    transition: all 0.3s ease;
    text-align: center;
}

.schedule-item.completed {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border-left-color: #4caf50;
}

.schedule-item.scheduled {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe8cc 100%);
    border-left-color: #ff9800;
}

.schedule-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.schedule-number {
    font-weight: bold;
    font-size: 18px;
    color: #ff6b9d;
    margin-bottom: 8px;
}

.schedule-date {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.schedule-location {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.schedule-item.completed .schedule-number {
    color: #4caf50;
}

.schedule-item.scheduled .schedule-number {
    color: #ff9800;
}

/* シンプルな一覧表示のスタイル */
.schedule-item-simple {
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-left: 4px solid #87ceeb;
}

.schedule-item-simple:hover {
    transform: translateX(3px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #e6f3ff 0%, #d6eaff 100%);
    border-left-color: #ff6b9d;
}

.schedule-info {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #2c5aa0;
}

/* 統一された説明会日時のスタイル */
.schedule-content {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #87ceeb;
    text-align: left;
}

.schedule-content p {
    margin: 0 0 12px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #2c5aa0;
}

.schedule-content p:last-child {
    margin-bottom: 0;
}

.schedule-content strong {
    color: #ff6b9d;
    font-weight: bold;
}

.schedule-completed {
    color: #ff0000 !important;
    font-weight: bold;
}

/* 統一された概略セクションのスタイル */
.overview-content {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #87ceeb;
    text-align: left;
}

.overview-content p {
    margin: 0 0 12px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #2c5aa0;
}

.overview-content p:last-child {
    margin-bottom: 0;
}

.overview-content strong {
    color: #ff6b9d;
    font-weight: bold;
}

/* シンプルな概略一覧のスタイル */
.overview-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.overview-item:hover {
    background: linear-gradient(135deg, #e6f3ff 0%, #d6eaff 100%);
    border-left-color: #ff6b9d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.item-number {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 50%;
    margin-right: 15px;
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

.item-title {
    flex: 1;
    font-size: 18px;
    font-weight: 500;
    color: #2c5aa0;
}

.item-text {
    flex: 1;
    font-size: 18px;
    font-weight: 500;
    color: #2c5aa0;
}

/* お問い合わせセクション */
.contact-section {
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

.contact-section .overview-item {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: default;
    padding: 15px 20px;
}

.contact-section .overview-item:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.contact-section .item-text {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #ff6b9d;
    line-height: 1.6;
}

.item-arrow {
    font-size: 18px;
    color: #ff6b9d;
    font-weight: bold;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.overview-item:hover .item-arrow {
    transform: translateX(2px);
}

/* 保育案内のスタイル */
.childcare-notice {
    margin-top: 20px;
    text-align: center;
}

.childcare-notice p {
    color: #666;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    line-height: 1.5;
    font-style: italic;
}

/* 概略セクションのスタイル */
.overview-unified {
    margin-top: 30px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.overview-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    border-left: 5px solid #87ceeb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.overview-section:hover::before {
    left: 100%;
}

.overview-section:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.2);
    border-left-color: #ff6b9d;
}

.overview-section h3 {
    color: #2c5aa0;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-number {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 50%;
    margin-right: 10px;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

.overview-section p {
    color: #555;
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-details {
    margin-top: 15px;
}

.contact-details .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #2c5aa0;
}

.contact-details .contact-item:last-child {
    margin-bottom: 0;
}

.contact-details .contact-icon {
    font-size: 20px;
    margin-right: 10px;
}

/* サブセクションのスタイル */
.sub-sections {
    margin-top: 20px;
}

.sub-section-toggle {
    background: linear-gradient(135deg, #e6f3ff 0%, #d6eaff 100%);
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 10px;
    border-left: 4px solid #87ceeb;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sub-section-toggle:hover {
    background: linear-gradient(135deg, #d6eaff 0%, #c6e2ff 100%);
    transform: translateX(3px);
    border-left-color: #ff6b9d;
}

.sub-section-toggle h4 {
    color: #2c5aa0;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.toggle-icon {
    color: #ff6b9d;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.sub-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    border-left: 4px solid #87ceeb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: none;
}

.sub-section.expanded {
    display: block;
}

.detailed-content {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-left: 3px solid #ff6b9d;
}

.detailed-content p {
    color: #555;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}


/* 連絡先情報 */
.contact-info {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #87ceeb;
}

.contact-message {
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-radius: 10px;
    border-left: 4px solid #ff6b9d;
}

.contact-message p {
    color: #2c5aa0;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #2c5aa0;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 20px;
    margin-right: 10px;
}

/* ヘッダー右上の閉じるボタン */
.close-button-top {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #ff6b9d;
    border: 2px solid #ff6b9d;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.close-button-top:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
    background: #ff6b9d;
    color: white;
    border-color: #ff6b9d;
}

.close-icon {
    font-size: 18px;
    line-height: 1;
}

/* 浮遊する花の装飾 */
.floating-flowers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-flower {
    position: absolute;
    font-size: 20px;
    opacity: 0;
    animation: floatAround 8s ease-in-out infinite;
}

/* 花びら舞い散り演出 */
.petal-shower {
    position: fixed;
    top: -10px;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 10000;
    overflow: hidden;
}

.petal {
    position: absolute;
    font-size: 16px;
    opacity: 0;
    animation: petalFall 3s ease-out forwards;
}

@keyframes petalFall {
    0% {
        opacity: 0;
        transform: translateY(-20px) rotate(0deg) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(0px) rotate(36deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(360deg) scale(0.5);
    }
}

/* 光の粒子エフェクト */
.sparkle-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #fff 0%, #ff6b9d 50%, transparent 100%);
    border-radius: 50%;
    opacity: 0;
    animation: sparkleAnimation 2s ease-out forwards;
}

@keyframes sparkleAnimation {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
        filter: brightness(1);
    }
    20% {
        opacity: 1;
        transform: scale(1) rotate(90deg);
        filter: brightness(2);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(360deg);
        filter: brightness(0.5);
    }
}

/* 虹色の光線エフェクト */
.rainbow-burst {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    pointer-events: none;
    z-index: 9997;
    opacity: 0;
    animation: rainbowBurst 4s ease-out forwards;
}

@keyframes rainbowBurst {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: scale(0.8) rotate(90deg);
        filter: hue-rotate(90deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.5) rotate(270deg);
        filter: hue-rotate(270deg);
    }
    80% {
        opacity: 0.7;
        transform: scale(2.2) rotate(450deg);
        filter: hue-rotate(450deg);
    }
    100% {
        opacity: 0;
        transform: scale(3) rotate(720deg);
        filter: hue-rotate(720deg);
    }
}

.rainbow-burst::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, 
        #ff0066 0deg, 
        #ff6600 51deg, 
        #ffff00 102deg, 
        #00ff00 153deg, 
        #0066ff 204deg, 
        #6600ff 255deg, 
        #ff0066 306deg, 
        #ff6600 357deg);
    border-radius: 50%;
    filter: blur(15px);
    animation: rainbowSpin 4s linear infinite;
}

@keyframes rainbowSpin {
    0% {
        transform: rotate(0deg);
        filter: blur(15px) brightness(1.2);
    }
    50% {
        filter: blur(10px) brightness(1.5);
    }
    100% {
        transform: rotate(360deg);
        filter: blur(15px) brightness(1.2);
    }
}

.floating-flower:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-flower:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.floating-flower:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.floating-flower:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.floating-flower:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 4s;
}

.floating-flower:nth-child(6) {
    top: 60%;
    right: 5%;
    animation-delay: 5s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.6;
    }
}

/* カウントダウン表示のスタイル */
.countdown-container {
    margin: 20px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.countdown-display {
    background: linear-gradient(135deg, #fff3e0 0%, #ffecb3 50%, #ffe082 100%);
    border: 3px solid #ff9800;
    border-radius: 20px;
    padding: 20px 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
    animation: countdownPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.countdown-display::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: countdownShimmer 3s ease-in-out infinite;
}

.countdown-display.today {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 50%, #a5d6a7 100%);
    border-color: #4caf50;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.countdown-display.past {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 50%, #ce93d8 100%);
    border-color: #9c27b0;
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.3);
}

.countdown-text {
    font-size: 18px;
    font-weight: bold;
    color: #e65100;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.countdown-display.today .countdown-text {
    color: #2e7d32;
    font-size: 20px;
}

.countdown-display.past .countdown-text {
    color: #6a1b9a;
}

.countdown-number {
    font-size: 36px;
    font-weight: bold;
    color: #bf360c;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    min-width: 60px;
    text-align: center;
}

.countdown-unit {
    font-size: 18px;
    font-weight: bold;
    color: #e65100;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

@keyframes countdownPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(255, 152, 0, 0.5);
    }
}

@keyframes countdownShimmer {
    0%, 100% { 
        transform: rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        transform: rotate(180deg);
        opacity: 0.6;
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .enrollment-dialog-content {
        width: 95vw;
        margin: 2.5vh auto;
        max-height: 90vh;
        height: 90vh;
        max-width: 95vw;
        resize: none;
        min-width: unset;
        min-height: unset;
    }
    
    .dialog-title {
        font-size: 24px;
    }
    
    .flower-decoration {
        display: none;
    }
    
    .main-content {
        flex: 1;
        min-height: 0;
        padding: 15px 20px;
        align-items: center;
    }
    
    .item-content h2 {
        font-size: 24px;
    }
    
    .item-content h3 {
        font-size: 20px;
    }
    
    .item-content p {
        font-size: 15px;
    }
    
    .overview-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .overview-section h3 {
        font-size: 18px;
        flex-direction: column;
        align-items: center;
    }
    
    .section-number {
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 14px;
        min-width: 20px;
        height: 20px;
    }
    
    .sub-section-toggle {
        padding: 10px 12px;
    }
    
    .sub-section-toggle h4 {
        font-size: 14px;
    }
    
    .sub-section {
        padding: 12px;
    }
    
    .detailed-content {
        padding: 12px;
    }
    
    .childcare-notice {
        margin-top: 15px;
    }
    
    .childcare-notice p {
        font-size: 13px;
    }
    
    .schedule-item-simple {
        padding: 10px 12px;
        margin-bottom: 6px;
    }
    
    .schedule-info {
        font-size: 14px;
    }
    
    .schedule-content {
        padding: 15px;
    }
    
    .schedule-content p {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .overview-content {
        padding: 15px;
    }
    
    .overview-content p {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .overview-item {
        padding: 12px 15px;
        margin-bottom: 8px;
    }
    
    .item-number {
        font-size: 14px;
        padding: 4px 8px;
        min-width: 24px;
        height: 24px;
        margin-right: 12px;
    }
    
    .item-title {
        font-size: 16px;
    }
    
    .item-arrow {
        font-size: 16px;
    }
    
    .close-button-top {
        display: flex;
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .enrollment-item {
        flex-direction: column;
        text-align: center;
    }
    
    .item-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .contact-icon {
        margin-right: 0;
    }
    
    /* モバイル版カウントダウンスタイル */
    .countdown-container {
        margin: 15px 0;
    }
    
    .countdown-display {
        padding: 15px 20px;
        gap: 8px;
        border-radius: 15px;
        flex-direction: column;
    }
    
    .countdown-text {
        font-size: 16px;
    }
    
    .countdown-display.today .countdown-text {
        font-size: 18px;
    }
    
    .countdown-number {
        font-size: 28px;
        min-width: 50px;
    }
    
    .countdown-unit {
        font-size: 16px;
    }
}
