/* ローディング画面のスタイル */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

/* ドットローダーアニメーション */
.loader-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.dot {
    width: 16px;
    height: 16px;
    background-color: #00B4D8;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite;
}

.dot-1 {
    animation-delay: -0.32s;
}

.dot-2 {
    animation-delay: -0.16s;
}

.dot-3 {
    animation-delay: 0;
}

@keyframes bounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    30% {
        transform: translateY(-20px);
        opacity: 0.7;
    }
}

/* テキストスタイル */
.loading-text {
    color: #00B4D8;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 別パターン：リップルエフェクト（コメントアウト、切り替え可能） */
/*
.loader-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.loader-ripple div {
    position: absolute;
    border: 4px solid #00B4D8;
    opacity: 1;
    border-radius: 50%;
    animation: ripple 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loader-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}
*/

/* 別パターン：パルスエフェクト（コメントアウト、切り替え可能） */
/*
.loader-pulse {
    display: inline-block;
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
}

.loader-pulse::before {
    content: '';
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #00B4D8;
    animation: pulse-scale 1.2s ease-in-out infinite;
}

@keyframes pulse-scale {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}
*/