/* 基本リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #000;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* 全体を画面中央に寄せる */
.maintenance-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 40px 0;
}

/* ヘッダー */
.header {
    margin-bottom: 100px;
}
.logo-top {
    width: 120px; /* サイズは適宜調整 */
    height: auto;
}

/* メインコンテンツ（ここが重要） */
.main-content {
    position: relative; /* 子要素のabsoluteの基準にする */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
}

/* 背後のCOMING SOON画像 */
.coming-soon-img-wrap {
    position: absolute;
    top: -55px; /* ボックスより少し上に配置 */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1; /* 背面に配置 */
    pointer-events: none; /* クリックを邪魔しない */
}

.coming-soon-img {
    width: 80%; /* 画面幅に合わせて調整 */
    max-width: 600px;
    height: auto;
    opacity: 0.8; /* 透明度は画像に合わせて調整 */
}

/* メッセージボックス */
.message-box {
    position: relative;
    z-index: 2; /* COMING SOON画像より前に出す */
    background-color: #efefef; /* 画像の薄いグレー */
    width: 100%;
    padding: 70px 20px;
    text-align: center;
}

.main-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 0.02em;
}

.sub-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

/* フッター */
.footer {
    text-align: center;
}

.logo-footer {
    width: 160px;
    height: auto;
    margin-bottom: 25px;
}

.copyright {
    font-size: 0.7rem;
    color: #333;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.2rem;
    }
    .sub-text {
        font-size: 0.95rem;
    }
    .coming-soon-img-wrap {
        top: -20px;
    }
}