body {
    margin: 0;
    width: 100%;
    height: 100%;
    /* 背景画像追加 */
    /* 画像を比率を保ったまま表示 */
    background-size: cover; 
    /* 画像を中央に */
    background-position: center;
    position: relative; /* 位置指定の基準を設定 */
}

/* デスクトップメニュースタイル */
.desktop-menu {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 42, 255, 0);
    padding: 15px 0;
    text-align: center;
    /* box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2); */
    /* border-bottom: 2px solid #706fcf; */
}

.desktop-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.desktop-menu li {
    margin: 0 20px;
}

.desktop-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.desktop-menu a:hover {
    color: #ffccf9;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffccf9;
    transition: width 0.3s ease;
}

.desktop-menu a:hover::after {
    width: 100%;
}

/* ハンバーガーメニュースタイル */
.hamburger-menu {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1000;
    display: none; /* デフォルトでは非表示 */
}

/* メニューアイコン */
.menu-icon {
    width: 50px;
    height: 50px;
    background-color: #0518f1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid #f4f4f4;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 102, 196, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 102, 196, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 102, 196, 0);
    }
}

.menu-icon:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #ff9ee5 0%, transparent 70%);
    opacity: 0.5;
}

.menu-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* メニューアイコンの各部分 */
.menu-icon-part {
    width: 25px;
    height: 3px;
    background-color: #f7f4f6;
    margin: 3px 0;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

/* アイコン装飾 */
.icon-decoration {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffff66;
    box-shadow: 0 0 5px rgba(255, 255, 102, 0.8);
}

.icon-decoration:nth-child(4) {
    top: 8px;
    right: 10px;
    animation: float 3s ease-in-out infinite;
}

.icon-decoration:nth-child(5) {
    bottom: 8px;
    left: 10px;
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.2);
    }
}

/* アイコンがアクティブ時のアニメーション */
.menu-icon.active .menu-icon-part:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #ffffff;
}

.menu-icon.active .menu-icon-part:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .menu-icon-part:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #ffffff;
}

/* ナビゲーションメニュー */
.nav-menu {
    position: absolute;
    top: 65px;
    right: 0;
    width: 200px;
    background-color: rgba(5, 34, 255, 0.73);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border: 2px solid #ffff2f;
}

.nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: bounceIn 0.5s;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
    50% {
        transform: translateY(10px) scale(1.05);
    }
    80% {
        transform: translateY(-5px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin: 10px 0;
    text-align: center;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.2s ease;
    background-color: rgba(229, 244, 66, 0.648);
}

.nav-menu a:hover {
    background-color: #ff66c4;
    color: white;
    transform: scale(1.05);
}

/* レスポンシブ対応 - モバイル表示 */
@media screen and (max-width: 768px) {
    .desktop-menu {
        display: none; /* モバイルでは非表示 */
    }
    
    .hamburger-menu {
        display: block; /* モバイルでは表示 */
    }
}

/* 既存のスタイルを保持 */
.circle {
    /* 既存のスタイル */
}

