/* 全体 */
body {
    background: linear-gradient(135deg, #ffddf4, #c5e3ff);
    color: #b979b9;
    font-family: "MS PGothic", "Osaka", system-ui, sans-serif;
    display: flex;
    justify-content: center;
    padding: 24px;
}

/* ゲーム画面の枠 */
.page-frame {
    width: 100%;
    max-width: 960px;
    background: #fff0fa;
    border: 4px solid #ffffff;
    border-radius: 16px;
    box-shadow: 0 0 0 4px #ffb3d9, 0 0 0 8px #ffffff;
    padding: 16px 16px 8px;
}

/* ヘッダー */
.site-header {
    text-align: center;
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 12px;
    border: 3px solid #ffffff;
    background: #ffb3d9;
    box-shadow: 0 0 0 3px #ff80bf;
}

.site-title {
    font-size: 40px;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 2px 5px 0 #ff80bf;
}

.site-subtitle {
    margin-top: 4px;
    font-size: 24px;
    letter-spacing: 2px;
    color: #ffe6f7;
}

/* ナビゲーション */
.site-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 12px 0 20px;
    flex-wrap: wrap;
}

.nav-item {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    letter-spacing: 2px;
    text-decoration: none;
    color: #ffffff;
    background: #b3e5fc;
    border-radius: 20px;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px #ff66b3;
    text-shadow: 1px 1px 0 #ff66b3;
    transition: transform 0.05s ease, box-shadow 0.05s ease, background 0.1s ease;
}

.nav-item:hover {
    background: #ffcce6;
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px 0 3px #ff99cc;
}

/* メイン */
.site-main {
    border: 3px solid #ffffff;
    padding: 16px;
    background: #ffe6f7;
    border-radius: 12px;
    box-shadow: 0 0 0 3px #ffb3d9;
}

/* ヒーローセクション */
.hero {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

/* ピクセルキャラ枠 */
.hero-pixel-box {
    background: #ffe6f7;
    border: 3px solid #ffffff;
    border-radius: 16px;
    box-shadow: 0 0 0 3px #ffb3d9;
    padding: 12px;
    position: relative;
}

/* ピクセルキャラ */
.pixel-angel {
    width: 130px;
    /* 好きなサイズに調整 */
    image-rendering: pixelated;
    /* ドット風にする魔法 */
    image-rendering: crisp-edges;
    display: block;
}

/* 花 */
.hero-pixel-box::before {
    content: "✿";
    position: absolute;
    top: -12px;
    left: -12px;
    font-size: 30px;
    color: #ff99cc;
    text-shadow: 1px 1px 0 #ff66b3;
}

/* リボン */
.hero-pixel-box::after {
    content: "🎀";
    position: absolute;
    bottom: -12px;
    right: -12px;
    font-size: 22px;
    color: #ff99cc;
}

/* ゆめかわピクセルキャラ（ハート入り） */
.pixel-character width: 64px;
height: 64px;
background: #ffb3d9;
/* 顔・体のピンク */
border-radius: 8px;
position: relative;
box-shadow: 0 0 0 4px #ff66b3,
/* 外枠 */
/* 目 */
14px 18px 0 0 #ff66b3,
34px 18px 0 0 #ff66b3,
/* 体 */
20px 34px 0 0 #ff99cc,
28px 34px 0 0 #ff99cc,
/* 足 */
18px 48px 0 0 #ff66b3,
30px 48px 0 0 #ff66b3;
}

/* 天使の輪（上部の光輪） */
.pixel-character::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 10px;
    width: 44px;
    height: 10px;
    border-radius: 50%;
    background: #ffe680;
    box-shadow: 0 0 0 3px #ffcc33;
}

/* 翼（左右の水色の羽） */
.pixel-character::after {
    content: "";
    position: absolute;
    left: -18px;
    top: 20px;
    width: 100px;
    height: 30px;
    background:
        radial-gradient(circle, #ccecff 40%, transparent 41%) 0 0 / 20px 20px,
        radial-gradient(circle, #ccecff 40%, transparent 41%) 20px 0 / 20px 20px,
        radial-gradient(circle, #ccecff 40%, transparent 41%) 40px 0 / 20px 20px,
        radial-gradient(circle, #ccecff 40%, transparent 41%) 60px 0 / 20px 20px;
    background-repeat: no-repeat;
    opacity: 0.9;
}

/* テキスト */
.hero-text h2 {
    font-size: 18px;
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-shadow: 1px 1px 0 #ff99cc;
    color: #ff66b3;
}

.hero-text p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 6px;
}

/* カード */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.card {
    background: #fff0fa;
    border: 3px solid #ffffff;
    border-radius: 16px;
    box-shadow: 0 0 0 3px #ffb3d9;
    padding: 12px;
    position: relative;
}

/* カードに小さな花アイコン */
.card::before {
    content: "✿";
    position: absolute;
    top: -12px;
    right: -12px;
    font-size: 20px;
    color: #ff99cc;
    text-shadow: 1px 1px 0 #ff66b3;
}

.card h3 {
    font-size: 14px;
    margin-bottom: 6px;
    letter-spacing: 2px;
    text-shadow: 1px 1px 0 #ff99cc;
    color: #ff66b3;
}

.card p {
    font-size: 12px;
    line-height: 1.6;
    color: #5a3a5a;
}

/* フッター */
.site-footer {
    margin-top: 10px;
    text-align: center;
    font-size: 10px;
    color: #ff66b3;
}