/**
 * 全体メンテナンスページ用スタイル
 */

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

/* 全体メンテナンス用のbodyスタイル（ヘッダ・フッタなし） */
body.maintenance-mode-full {
    min-height: 100vh;
    font-family: 'Noto Sans JP', sans-serif;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 個別メンテナンス用のラッパースタイル（ヘッダ・フッタあり） */
.main-content .maintenance-wrapper {
    margin: 60px auto;
    padding: 20px;
}

.maintenance-wrapper {
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.maintenance-container {
    background: #fff;
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.maintenance-icon-area {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.maintenance-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0056b3 0%, #00a3e0 100%);
    border-radius: 50%;
    opacity: 0.1;
}

.maintenance-icon {
    position: relative;
    font-size: 48px;
    color: #0056b3;
    line-height: 100px;
    display: block;
    /* 念のため */
}

/* Common CSS との競合回避 */
.maintenance-wrapper .maintenance-subtitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #0056b3;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(0, 86, 179, 0.08);
    border-radius: 20px;
}

.maintenance-wrapper h1.maintenance-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.4;
    text-align: center;
}

.maintenance-wrapper .maintenance-text {
    font-size: 0.95rem;
    line-height: 2;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.maintenance-wrapper .maintenance-text p {
    margin-bottom: 0;
}

.maintenance-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.8rem;
    color: #999;
}

/* ボタンのスタイル */
.maintenance-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #333;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.maintenance-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

@media (max-width: 600px) {
    .maintenance-container {
        padding: 40px 24px;
    }

    .maintenance-wrapper h1.maintenance-title {
        font-size: 1.4rem;
    }

    .maintenance-wrapper .maintenance-text {
        font-size: 0.9rem;
    }
}