/*
 * 全体のスタイル設定
 */
body {
    /* フォント設定: "M PLUS Rounded 1c"は、丸くてかわいい日本語フォントです */
    font-family: 'M PLUS Rounded 1c', sans-serif;
    background-color: #f7f3e8; /* 柔らかいクリーム色を背景に */
    display: flex;
    justify-content: center; /* 画面中央に配置 */
    align-items: center;
    min-height: 100vh; /* 画面全体を覆うように */
    margin: 0;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

/*
 * メッセージを囲むコンテナ
 */
.maintenance-container {
    background-color: #ffffff; /* 白いカード風のデザイン */
    border: 8px solid #ff99aa; /* 濃いピンクでフチをつけます */
    border-radius: 30px; /* 角を大きく丸くしてかわいく */
    padding: 40px 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* 影をつけて立体感を */
    max-width: 400px; /* 最大幅を設定 */
    width: 100%;
    animation: bounceIn 0.8s ease-out; /* ふわっと表示されるアニメーション */
}

/*
 * メインメッセージのスタイル
 */
.main-message {
    font-size: 2.2rem; /* 大きめの文字 */
    color: #e55a76; /* メインカラー（明るいピンク） */
    margin-top: 20px;
    margin-bottom: 10px;
}

/*
 * サブメッセージのスタイル
 */
.sub-message {
    font-size: 1.2rem;
    color: #666666; /* 落ち着いたグレー */
    margin-bottom: 0;
}

/*
 * アイコンエリアのスタイル
 * ここに、CSSだけで簡単なかわいいアイコンを表示させます
 */
.icon-area {
    width: 80px;
    height: 80px;
    background-color: #ffcc66; /* 明るい黄色 */
    border-radius: 50%; /* 完全な丸にします */
    margin: 0 auto 20px;
    position: relative;
    border: 4px solid #ff99aa; /* フチの色 */
}

/* * アイコン内部：困った顔（×マーク）を表現
 */
.icon-area::before,
.icon-area::after {
    content: '';
    position: absolute;
    background-color: #ffffff; /* バツ印は白 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg); /* 中央に配置し、45度回転 */
}

.icon-area::before {
    width: 6px;
    height: 40px;
}

.icon-area::after {
    width: 40px;
    height: 6px;
}

/*
 * 表示アニメーション
 */
@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
