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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* 背景レイヤー（ぼかし+透明度） */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(7px);
    opacity: 0.3;
    z-index: -1;
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.content-wrapper {
    position: relative;
    width: 1921px;
    height: 2001px;
    max-width: 100vw;
    max-height: 100vh;
    aspect-ratio: 1921 / 2001;
}

/* 画面サイズに合わせてスケーリング */
@media (max-aspect-ratio: 1921/2001) {
    .content-wrapper {
        width: 100vw;
        height: auto;
    }
}

@media (min-aspect-ratio: 1921/2001) {
    .content-wrapper {
        width: auto;
        height: 100vh;
    }
}

.background-image {
    width: 100%;
    height: 100%;
    display: block;
}

.character-link {
    position: absolute;
    display: block;
    transition: transform 0.3s ease;
}

.character-link:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.character-image {
    width: 100%;
    height: 100%;
    display: block;
}

/* ピコ（左上のピンク色の円） */
.pico-link {
    position: absolute;
    left: 21.13%;  /* 406/1921 */
    top: 41.5%;   /* 832/2001 */
    width: 30%;  /* 280/1921 = 14.58% of container width */
    height: auto;
    transform: translate(-50%, -50%);
}

/* アンダーバー（右上の紫色の円） */
.underbar-link {
    position: absolute;
    left: 79.18%;  /* 1521/1921 */
    top: 41.5%;   /* 832/2001 */
    width: 30%;  /* 280/1921 = 14.58% of container width */
    height: auto;
    transform: translate(-50%, -50%);
}

/* PARED（下中央の青色の円） */
.pared-link {
    position: absolute;
    left: 50.02%;  /* 961/1921 */
    top: 62.42%;   /* 1250/2001 */
    width: 30%;  /* 280/1921 = 14.58% of container width */
    height: auto;
    transform: translate(-50%, -50%);
}

 