/* body {
    margin: 0;
    width: 100%;
    height: 100%;
    background-size: cover; 
    background-position: center;
    position: relative; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #a1eb97 0%, #1a2980 100%);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
} */

body {
    margin: 0;
    width: 100%;
    height: 100%;
    /* 背景画像追加 */
    /* 画像を比率を保ったまま表示 */
    background-size: cover; 
    /* 画像を中央に */
    background-position: center;
    position: relative; /* 位置指定の基準を設定 */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #a1eb97 0%, #1a2980 100%);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.desktop-menu {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgb(0, 42, 255);
    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 {
    /* 既存のスタイル */
}

/* 個人開発作品リンク */
.project-links-container {
    width: 90%;
    max-width: 800px;
    margin: 100px auto 30px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.project-links-container::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background-color: #a1eb97;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
}

.project-links-container::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background-color: #3023AE;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.project-links-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.project-links-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #3023AE, #a1eb97);
    border-radius: 3px;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.project-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 100px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #3023AE, #0518f1);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.project-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.1), transparent);
    z-index: 1;
}

.project-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #0518f1, #3023AE);
}

.project-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #a1eb97;
    position: relative;
    z-index: 2;
}

.project-name {
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .project-links-container {
        padding: 20px 15px;
        margin-top: 80px;
    }
    
    .project-links-title {
        font-size: 1.8rem;
    }
    
    .project-button {
        min-width: 110px;
        height: 90px;
    }
}

@media screen and (max-width: 480px) {
    .project-links {
        gap: 15px;
    }
    
    .project-button {
        min-width: 100px;
        height: 80px;
        padding: 8px 12px;
    }
    
    .project-icon {
        font-size: 1.5rem;
    }
    
    .project-name {
        font-size: 0.8rem;
    }
}

/* iPhone SE対応 */
@media screen and (max-width: 320px) {
    .project-links-container {
        padding: 15px 10px;
        border-radius: 15px;
    }
    
    .project-links-title {
        font-size: 1.5rem;
    }
    
    .project-links {
        gap: 10px;
    }
    
    .project-button {
        min-width: 85px;
        height: 75px;
        padding: 6px 10px;
        border-radius: 12px;
    }
    
    .project-icon {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .project-name {
        font-size: 0.7rem;
    }
}

