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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #666666;
    --accent-color: #4a90e2;
    --accent-orange: #ff6b35;
    --accent-purple: #8b5cf6;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --background-light: #fafafa;
    --background-white: #ffffff;
    --border-color: #e8e8e8;
    --hover-color: #f5f5f5;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 8px 32px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    --font-code: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background-color: var(--background-white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* 星の散りばめ効果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, rgba(74, 144, 226, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 107, 53, 0.4), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(74, 144, 226, 0.2), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 107, 53, 0.2), transparent),
        radial-gradient(1px 1px at 200px 90px, rgba(139, 92, 246, 0.4), transparent),
        radial-gradient(2px 2px at 250px 50px, rgba(74, 144, 226, 0.3), transparent),
        radial-gradient(1px 1px at 300px 20px, rgba(255, 107, 53, 0.3), transparent),
        radial-gradient(1px 1px at 350px 85px, rgba(139, 92, 246, 0.2), transparent),
        radial-gradient(2px 2px at 400px 65px, rgba(74, 144, 226, 0.4), transparent);
    background-repeat: repeat;
    background-size: 450px 100px;
    animation: starsFloat 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes starsFloat {
    0% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(-100px) translateY(-50px); }
    50% { transform: translateX(-200px) translateY(0px); }
    75% { transform: translateX(-100px) translateY(50px); }
    100% { transform: translateX(0px) translateY(0px); }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* コンテナ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ナビゲーション */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    position: relative;
}

.nav-logo-img {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.3));
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    z-index: 10;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.2s ease;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 10;
    position: relative;
}

.bar {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 1px;
}

/* ヒーローセクション - 非対称レイアウト */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--background-white);
    padding-top: 64px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 60px 80px;
    align-items: start;
    grid-template-areas: 
        "text visual"
        "buttons visual";
}

.hero-text {
    grid-area: text;
    animation: fadeInUp 0.8s ease-out;
    transform: translateX(-20px);
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.1;
    letter-spacing: -1px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.greeting {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
    transform: translateX(-20px);
}

.name {
    font-size: 64px;
    color: var(--primary-color);
    position: relative;
    transform: translateX(-15px);
}

.hero-description {
    font-size: 16px;
    margin-bottom: 40px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    transform: translateX(25px);
}

.hero-buttons {
    grid-area: buttons;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    transform: translateX(60px);
    margin-top: 20px;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    position: relative;
    z-index: 10;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background: #357abd;
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
    background: var(--hover-color);
    border-color: var(--text-secondary);
    transform: translateY(-1px);
}

/* プロフィールカード - 非対称配置 */
.hero-visual {
    grid-area: visual;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    transform: translateY(-40px) translateX(30px);
}

.profile-card {
    background: var(--background-white);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-large);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    transform: rotate(-2deg);
    position: relative;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: var(--accent-orange);
    border-radius: 50%;
    opacity: 0.6;
}

.profile-card::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -5px;
    width: 12px;
    height: 12px;
    background: var(--accent-purple);
    border-radius: 50%;
    opacity: 0.7;
}

.profile-card:hover {
    transform: translateY(-4px) rotate(0deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.15);
    border: 3px solid #fff;
    display: block;
    margin: 0 auto 24px auto;
    background: #eee;
}

.profile-info h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.role {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.musical-notes {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.musical-notes i {
    color: var(--accent-color);
    font-size: 16px;
    animation: bounce 2s ease-in-out infinite;
}

.note-1 { animation-delay: 0s; }
.note-2 { animation-delay: 0.3s; }
.note-3 { animation-delay: 0.6s; }

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

/* セクション共通スタイル - 非対称 */
section {
    padding: 80px 0;
    position: relative;
    z-index: 5;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    letter-spacing: -0.5px;
    margin-bottom: 48px;
}

/* アバウトセクション - アーキテクチャル */
.about {
    background: var(--background-light);
}

.about .section-title {
    font-size: 42px;
    text-align: left;
    margin-left: 15%;
    transform: translateX(-30px);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
}

.story-section {
    margin-bottom: 40px;
    transform: translateX(var(--story-offset, 0px));
}

.story-section:nth-child(1) { --story-offset: 20px; }
.story-section:nth-child(2) { --story-offset: -15px; }
.story-section:nth-child(3) { --story-offset: 35px; }

.story-section h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    font-size: var(--story-title-size, 18px);
}

.story-section:nth-child(1) h3 { --story-title-size: 22px; }
.story-section:nth-child(2) h3 { --story-title-size: 16px; }
.story-section:nth-child(3) h3 { --story-title-size: 20px; }

.story-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: var(--story-text-size, 14px);
}

.story-section:nth-child(1) p { --story-text-size: 15px; }
.story-section:nth-child(2) p { --story-text-size: 13px; }
.story-section:nth-child(3) p { --story-text-size: 14px; }

.about-skills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    transform: translateY(-20px) translateX(40px);
}

.skill-card {
    background: white;
    padding: 24px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    transform: rotate(var(--card-rotation, 0deg));
    position: relative;
}

.skill-card:nth-child(1) { --card-rotation: 1deg; }
.skill-card:nth-child(2) { --card-rotation: -0.5deg; }
.skill-card:nth-child(3) { --card-rotation: 0.8deg; }
.skill-card:nth-child(4) { --card-rotation: -1.2deg; }
.skill-card:nth-child(5) { --card-rotation: 0.5deg; }
.skill-card:nth-child(6) { --card-rotation: -0.8deg; }

.skill-card:hover {
    transform: translateY(-2px) rotate(0deg);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.skill-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 20px;
}

.skill-card h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.skill-card p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.5;
}

/* サービスセクション - 非対称グリッド */
.services {
    background: var(--background-white);
}

.services .section-title {
    font-size: 36px;
    text-align: right;
    margin-right: 20%;
    transform: translateX(50px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    transform: translateY(var(--card-y-offset, 0px)) translateX(var(--card-x-offset, 0px));
}

.service-card:nth-child(1) { --card-y-offset: 20px; --card-x-offset: -15px; }
.service-card:nth-child(2) { --card-y-offset: -10px; --card-x-offset: 10px; }
.service-card:nth-child(3) { --card-y-offset: 15px; --card-x-offset: -5px; }
.service-card:nth-child(4) { --card-y-offset: -20px; --card-x-offset: 20px; }
.service-card:nth-child(5) { --card-y-offset: 25px; --card-x-offset: -10px; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
}

.service-card.featured::before {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
}

.service-card.special::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-card:hover {
    transform: translateY(-4px) translateX(0px);
    box-shadow: var(--shadow-large);
    border-color: var(--accent-color);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 24px;
}

.service-card.featured .service-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
}

.service-card.special .service-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    font-size: var(--service-title-size, 18px);
}

.service-card:nth-child(1) h3 { --service-title-size: 20px; }
.service-card:nth-child(2) h3 { --service-title-size: 16px; }
.service-card:nth-child(3) h3 { --service-title-size: 19px; }
.service-card:nth-child(4) h3 { --service-title-size: 17px; }
.service-card:nth-child(5) h3 { --service-title-size: 21px; }

.service-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 13px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 12px;
}

.service-price {
    text-align: center;
    margin-bottom: 16px;
}

.price {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.price small {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.ai-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.ai-studio-link,
.rag-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.2s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

.ai-studio-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ai-studio-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.rag-link {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

.rag-link:hover {
    background: linear-gradient(135deg, #3182ce 0%, #4299e1 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

/* 作品セクション - 斜めレイアウト */
.works {
    background: var(--background-light);
}

.works .section-title {
    font-size: 38px;
    text-align: center;
    transform: translateX(-25px);
}

.works-grid {
    display: grid;
    gap: 40px;
    margin-top: 60px;
    transform: rotate(-0.5deg);
}

.work-category {
    background: white;
    border-radius: 8px;
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease;
    transform: rotate(var(--work-rotation, 0deg)) translateX(var(--work-x, 0px));
}

.work-category:nth-child(1) { --work-rotation: 1.5deg; --work-x: -40px; }
.work-category:nth-child(2) { --work-rotation: -1.2deg; --work-x: 50px; }
.work-category:nth-child(3) { --work-rotation: 1.8deg; --work-x: -60px; }

.work-category:hover {
    transform: translateY(-2px) rotate(0deg) translateX(0px);
    box-shadow: var(--shadow-medium);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.category-icon {
    font-size: 20px;
    color: var(--accent-color);
}

.category-header h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.3px;
    font-size: var(--category-title-size, 20px);
}

.work-category:nth-child(1) .category-header h3 { --category-title-size: 22px; }
.work-category:nth-child(2) .category-header h3 { --category-title-size: 18px; }
.work-category:nth-child(3) .category-header h3 { --category-title-size: 21px; }

.work-items {
    display: grid;
    gap: 16px;
}

.work-item {
    background: var(--background-light);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    transform: translateX(var(--item-x, 0px));
}

.work-item:nth-child(odd) { --item-x: 25px; }
.work-item:nth-child(even) { --item-x: -20px; }

.work-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-medium);
    background: white;
}

.work-item.featured {
    border-color: var(--accent-color);
    background: rgba(74, 144, 226, 0.02);
}

.work-preview {
    min-width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: white;
    font-size: 24px;
}

.video-preview.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.video-preview.niconico {
    background: linear-gradient(135deg, #252525 0%, #000000 100%);
}

.website-preview {
    background: var(--gradient-primary);
}

.ai-preview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.rag-preview {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.rag-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
                radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
                radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    animation: dataFlow 3s ease-in-out infinite;
}

@keyframes dataFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.work-info h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-color);
    letter-spacing: -0.3px;
    font-size: var(--work-title-size, 16px);
}

.work-info:nth-child(odd) h4 { --work-title-size: 17px; }
.work-info:nth-child(even) h4 { --work-title-size: 15px; }

.work-info p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 13px;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag {
    background: var(--border-color);
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.work-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.work-link:hover {
    color: #357abd;
    transform: translateX(4px);
}

/* コンタクトセクション */
.contact {
    background: var(--primary-color);
    color: white;
}

.contact .section-title {
    color: white;
    font-size: 34px;
    text-align: left;
    transform: translateX(10%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
}

.contact-info {
    transform: translateX(-20px);
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.7;
    font-size: 14px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.contact-method i {
    font-size: 16px;
    color: var(--accent-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.08);
    padding: 32px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px) translateX(30px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 13px;
}

.required {
    color: #ff6b6b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
    transition: border-color 0.2s ease;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* フッター */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--accent-color);
    letter-spacing: -0.3px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 13px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 32px;
}

.footer-section h4 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 13px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    body::before {
        background-size: 300px 80px;
    }

    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
        height: 56px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 56px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 24px 0;
        box-shadow: var(--shadow-medium);
        gap: 16px;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 56px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "text"
            "visual"
            "buttons";
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        transform: translateX(0);
    }

    .hero-title .greeting {
        transform: translateX(0);
        font-size: 16px;
    }

    .hero-title .name {
        font-size: 36px;
        transform: translateX(0);
    }

    .hero-description {
        transform: translateX(0);
        font-size: 14px;
    }

    .hero-buttons {
        justify-content: center;
        transform: translateX(0);
    }

    .hero-visual {
        transform: translateY(0) translateX(0);
    }

    .profile-card {
        transform: rotate(0deg);
    }

    .about .section-title {
        text-align: center;
        margin-left: 0;
        transform: translateX(0);
        font-size: 28px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-skills {
        transform: translateY(0) translateX(0);
        grid-template-columns: repeat(2, 1fr);
    }

    .services .section-title {
        text-align: center;
        margin-right: 0;
        transform: translateX(0);
        font-size: 28px;
    }

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

    .service-card {
        transform: translateY(0) translateX(0) !important;
    }

    .works .section-title {
        transform: translateX(0);
        font-size: 28px;
    }

    .works-grid {
        transform: rotate(0deg);
    }

    .work-category {
        transform: rotate(0deg) translateX(0px) !important;
    }

    .work-item {
        flex-direction: column;
        text-align: center;
        transform: translateX(0) !important;
    }

    .contact .section-title {
        text-align: center;
        transform: translateX(0);
        font-size: 28px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        transform: translateX(0);
    }

    .contact-form {
        transform: translateY(0) translateX(0);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    section {
        padding: 56px 0;
    }

    .story-section {
        transform: translateX(0) !important;
    }

    .story-section h3 {
        font-size: 18px !important;
    }

    .story-section p {
        font-size: 14px !important;
    }
}

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

    .hero-title .greeting {
        font-size: 14px;
    }

    .hero-description {
        font-size: 13px;
    }

    .section-title {
        font-size: 24px !important;
    }

    .service-card {
        padding: 24px;
    }

    .profile-card {
        padding: 24px;
    }

    .image-placeholder {
        width: 100px;
        height: 100px;
        font-size: 40px;
        transform: rotate(0deg);
    }

    .about-skills {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 32px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .expertise-card {
        padding: 24px;
    }

    .ai-systems-grid {
        grid-template-columns: 1fr;
    }

    .ai-system-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Expertise Section */
.expertise {
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(74, 144, 226, 0.02) 100%);
}

.expertise .section-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 32px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 64px;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-large);
}

.expertise-card.featured {
    border: 2px solid rgba(74, 144, 226, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(74, 144, 226, 0.03) 100%);
}

.expertise-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}

.expertise-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
}

.expertise-icon.music {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.expertise-icon.voice {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.expertise-icon.ai {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1) rotate(5deg);
}

.expertise-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.expertise-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.expertise-content {
    text-align: left;
}

.expertise-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.highlight-item:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: translateX(4px);
}

.highlight-item i {
    color: var(--accent-color);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.highlight-item span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.expertise-description {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.expertise-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    padding: 12px 20px;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    background: rgba(74, 144, 226, 0.02);
}

.expertise-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.expertise-link i {
    transition: transform 0.2s ease;
}

.expertise-link:hover i {
    transform: translateX(4px);
}

/* AI Systems */
.ai-systems {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border-color);
}

.ai-systems h3 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.ai-system-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid var(--border-color);
}

.ai-system-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.ai-system-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.ai-system-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.ai-system-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* コンタクトセクション - 2段タイトル */
.contact-title {
    margin-bottom: 20px;
}

.contact-title h3 {
    margin: 0;
    padding: 4px 0;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.contact-title h3:first-child {
    margin-bottom: -5px;
}

.contact-title h3:last-child {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
}

/* ボイストレーニングセクション - アクションボタン */
.training-action {
    margin-top: 32px;
    text-align: center;
}

.training-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.training-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.training-btn i {
    font-size: 18px;
} 