/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 温かみのあるカラーパレット */
:root {
    --primary: #8b5cf6;        /* 優しい紫 - 主カラー */
    --primary-dark: #7c3aed;   /* 濃い紫 - ホバー時 */
    --primary-light: #f3e8ff;   /* 薄い紫 - 背景用 */
    --secondary: #f59e0b;        /* 温かいオレンジ - 補助カラー */
    --accent: #ec4899;         /* 優しいピンク - アクセント */
    --text-dark: #374151;
    --text-medium: #6b7280;
    --text-light: #9ca3af;
    --background: #fefbf7;      /* 温かみのある白 */
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
    --shadow-hover: 0 8px 30px rgba(139, 92, 246, 0.15);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

/* ヘッダー */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--primary-light);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text-medium);
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* ヒーローセクション */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--background) 0%, var(--primary-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="music" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23dbeafe" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23music)"/></svg>');
    opacity: 0.5;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 音楽ビジュアライゼーション */
.music-visualization {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.music-visualization::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.music-visualization:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.sound-wave {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 4px;
    margin-bottom: 2rem;
    height: 60px;
}

.wave-bar {
    width: 4px;
    background: linear-gradient(to top, #8b5cf6, #ec4899);
    border-radius: 2px;
    animation: wave 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; height: 20px; }
.wave-bar:nth-child(2) { animation-delay: 0.2s; height: 40px; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; height: 60px; }
.wave-bar:nth-child(4) { animation-delay: 0.6s; height: 40px; }
.wave-bar:nth-child(5) { animation-delay: 0.8s; height: 20px; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

.music-notes {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.music-notes i {
    color: var(--primary);
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.music-notes i:nth-child(2) { animation-delay: 1s; }
.music-notes i:nth-child(3) { animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 歌うことの魅力セクション */
.charm-of-singing {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.charm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.charm-card {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.charm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.charm-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.charm-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.charm-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* 最新ブログセクション */
.latest-blogs {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background) 0%, var(--primary-light) 100%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.loading-blogs {
    text-align: center;
    padding: 3rem;
    color: var(--text-medium);
}

.loading-blogs i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.blog-more {
    text-align: center;
    margin-top: 3rem;
}

/* サービスセクション */
.services {
    padding: 80px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* CTAセクション */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #a78bfa 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="notes" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M10 5 L10 15 M10 5 L15 5 M10 10 L15 10" stroke="white" stroke-width="1" fill="none" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23notes)"/></svg>');
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* フッター */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        border-bottom: 1px solid var(--primary-light);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .charm-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .container {
        padding: 0 15px;
    }

    .nav-logo h1 {
        font-size: 1.2rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
    }
}