/* 音楽テーマのベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Noto Sans JP', 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #f0f0f0;
    overflow-x: hidden;
}
.header {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(45deg, #1a1a1a 0%, #2d4a2d 100%);
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(76, 138, 76, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(119, 153, 119, 0.3) 0%, transparent 50%);
}
.hero-content {
    z-index: 2;
    position: relative;
    animation: fadeInUp 1.5s ease-out;
}
.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.musical-notes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.note {
    position: absolute;
    font-size: 2rem;
    color: rgba(119, 153, 119, 0.3);
    animation: float 6s ease-in-out infinite;
}
.note:nth-child(1) { left: 10%; animation-delay: 0s; }
.note:nth-child(2) { left: 20%; animation-delay: 1s; }
.note:nth-child(3) { left: 30%; animation-delay: 2s; }
.note:nth-child(4) { left: 40%; animation-delay: 3s; }
.note:nth-child(5) { left: 50%; animation-delay: 4s; }
.note:nth-child(6) { left: 60%; animation-delay: 5s; }
.note:nth-child(7) { left: 70%; animation-delay: 0.5s; }
.note:nth-child(8) { left: 80%; animation-delay: 1.5s; }
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}
.nav-links a:hover {
    color: #4c8a4c;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4c8a4c;
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.lang-btn:hover {
    background: rgba(76, 138, 76, 0.3);
    border-color: #4c8a4c;
}
.lang-btn.active {
    background: #4c8a4c;
    border-color: #4c8a4c;
}
.section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #4c8a4c, #779977);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}
.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2d4a2d, #4c8a4c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.skill-card {
    background: rgba(45, 74, 45, 0.3);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(119, 153, 119, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.skill-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #4c8a4c;
}
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f0f0f0;
    text-decoration: none;
    background: rgba(45, 74, 45, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.contact-link:hover {
    background: rgba(76, 138, 76, 0.5);
    transform: translateY(-5px);
}
.footer {
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .nav-links {
        display: none;
    }
    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    .language-selector {
        order: -1;
    }
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}
