/* カラー定義 */
:root {
    --primary-color: #4FC3F7;
    --secondary-color: #81D4FA;
    --dark-color: #0277BD;
    --text-dark: #263238;
    --text-light: #546E7A;
    --white: #FFFFFF;
    --light-bg: #E1F5FE;
}

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Yu Gothic', 'Hiragino Sans', 'Meiryo', sans-serif;
    background: linear-gradient(135deg, #E1F5FE 0%, #FFFFFF 50%, #E1F5FE 100%);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

/* メインコンテナ */
.maintenance-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

/* コンテンツラッパー */
.content-wrapper {
    text-align: center;
    z-index: 10;
    position: relative;
    max-width: 800px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

/* アイコン */
.icon-wrapper {
    margin-bottom: 3rem;
    animation: pulse 2s ease-in-out infinite;
}

.maintenance-icon {
    width: 120px;
    height: 120px;
    color: var(--primary-color);
    filter: drop-shadow(0 10px 30px rgba(79, 195, 247, 0.3));
}

/* メッセージボックス */
.message-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 3rem;
    border-radius: 30px;
    box-shadow: 
        0 20px 60px rgba(79, 195, 247, 0.15),
        0 0 0 1px rgba(79, 195, 247, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.message-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

/* タイトル */
.main-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

/* サブメッセージ */
.sub-message {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* 会社名 */
.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-bg);
    letter-spacing: 0.05em;
}

/* 装飾サークル */
.decoration-circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    top: 60%;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: var(--dark-color);
    bottom: 15%;
    left: 15%;
    animation: float 7s ease-in-out infinite;
}

/* アニメーション波 */
.animated-waves {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.wave-2 {
    animation: waveMove 10s linear infinite;
}

/* アニメーション定義 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, 20px);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes waveMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .maintenance-icon {
        width: 80px;
        height: 80px;
    }
    
    .icon-wrapper {
        margin-bottom: 2rem;
    }
    
    .message-box {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
    
    .main-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .sub-message {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .company-name {
        font-size: 1.2rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .circle-3 {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.3rem;
    }
    
    .sub-message {
        font-size: 1rem;
    }
    
    .company-name {
        font-size: 1.1rem;
    }
    
    .message-box {
        padding: 2rem 1.2rem;
    }
}