/* メンテナンスページのスタイル */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Segoe UI', 'Yu Gothic', 'Meiryo', sans-serif;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
}

.maintenance-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
}

.maintenance-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.icon-wrapper {
    margin-bottom: 30px;
}

.maintenance-icon {
    width: 100px;
    height: 100px;
    fill: #667eea;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.maintenance-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.maintenance-message {
    margin-bottom: 40px;
}

.main-text {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: justify;
}

.sub-text {
    font-size: 1rem;
    color: #718096;
    line-height: 1.8;
    text-align: justify;
}

.maintenance-info {
    background: #f7fafc;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    border-left: 4px solid #667eea;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

.info-value {
    color: #2d3748;
    font-size: 0.95rem;
    font-weight: 500;
}

.progress-wrapper {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    width: 0%;
    animation: progressAnimation 3s ease-in-out infinite;
}

@keyframes progressAnimation {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 0%;
    }
}

.progress-text {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

.contact-info {
    background: #edf2f7;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.contact-text {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 10px;
    text-align: justify;
}

.contact-email {
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
}

.maintenance-footer {
    text-align: center;
    margin-top: 40px;
    color: #ffffff;
}

.footer-text {
    font-size: 0.95rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .maintenance-content {
        padding: 40px 25px;
    }
    
    .maintenance-title {
        font-size: 2rem;
    }
    
    .main-text {
        font-size: 1.1rem;
    }
    
    .sub-text {
        font-size: 0.95rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .maintenance-icon {
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 480px) {
    .maintenance-container {
        padding: 15px;
    }
    
    .maintenance-content {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .maintenance-title {
        font-size: 1.75rem;
    }
    
    .main-text {
        font-size: 1rem;
    }
    
    .sub-text {
        font-size: 0.9rem;
    }
    
    .maintenance-info {
        padding: 20px;
    }
    
    .info-label,
    .info-value {
        font-size: 0.85rem;
    }
}
