/* 雄大 - プロフェッショナルポートフォリオ */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ナビゲーション */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
    font-weight: 600;
}

/* ヒーロー */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0,0,0,0.3) 0%, 
        rgba(0,0,0,0.5) 50%, 
        rgba(0,0,0,0.4) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 60px;
    align-items: center;
    min-height: 80vh;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    padding-right: 20px;
}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
}

/* ヒーローテキストの視認性向上 */
.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7), 
                 0 0 20px rgba(0,0,0,0.5);
    line-height: 0.9;
}

.hero-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.7)) 
            drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e3f2fd;
    margin-bottom: 2rem;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.2rem;
    color: #f5f5f5;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    margin-bottom: 1.5rem;
}



/* セクション */
.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

/* プロフィール */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.specialty-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
}

.specialty-box h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.specialty-box ul {
    list-style: none;
    padding: 0;
}

.specialty-box li {
    padding: 0.8rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
}

.specialty-box li:last-child {
    border-bottom: none;
}

.specialty-box strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* フィルタータブ */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: white;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* 作品 */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.work-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.work-item.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 100%;
}

.work-video iframe {
    width: 100%;
    height: 315px;
    border: none;
}

/* ニコニコ動画埋め込みフレーム用スタイル */
.work-item:not(.featured) .work-video iframe {
    width: 312px;
    height: 176px;
    max-width: 100%;
    border: solid 1px #ccc;
    border-radius: 8px;
}

/* ニコニコ動画script埋め込み用スタイル */
.work-video {
    width: 312px;
    height: 176px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    overflow: visible;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
}

/* フィルター非表示時の動画コンテナ */
.filtered-hidden .work-video {
    display: none;
}

.work-item.featured .work-video {
    width: 100%;
    height: 315px;
}

/* ニコニコ動画プレイヤー用のサイズ調整 */
.work-video script + div,
.work-video .nico-embed {
    width: 100% !important;
    height: 100% !important;
    max-width: 312px;
    max-height: 176px;
}

.work-item.featured .work-video script + div,
.work-item.featured .work-video .nico-embed {
    max-width: 100%;
    max-height: 315px;
}

/* 動画セクションの確実な表示 */
#works {
    opacity: 1 !important;
    visibility: visible !important;
}

/* フィルター機能のための基本スタイル */
.work-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.work-item.filtered-hidden {
    display: none !important;
}

.placeholder-frame {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.placeholder-frame.opera-style {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.placeholder-frame.disney-style {
    background: linear-gradient(135deg, #e74c3c, #f39c12);
}

.placeholder-frame.frozen-style {
    background: linear-gradient(135deg, #3498db, #85c1e9);
}

.placeholder-frame.christmas-style {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.placeholder-frame.classic-style {
    background: linear-gradient(135deg, #34495e, #2c3e50);
}

.placeholder-frame.chorus-style {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.placeholder-frame i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.placeholder-frame h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.placeholder-frame p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

.placeholder-frame .technique {
    font-size: 0.8rem;
    background: rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 12px;
    margin-top: 0.5rem;
}

.work-info {
    padding: 1.5rem;
}

.work-info h3,
.work-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.work-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.work-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid;
}

.tag.collab {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.tag.opera {
    background: #9b59b6;
    color: white;
    border-color: #9b59b6;
}

.tag.disney {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.tag.frozen {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.tag.classic {
    background: #34495e;
    color: white;
    border-color: #34495e;
}

.tag.vocaloid {
    background: #27ae60;
    color: white;
    border-color: #27ae60;
}

.tag.solo,
.tag.original,
.tag.group {
    background: var(--bg-light);
    color: var(--text-color);
    border-color: var(--border-color);
}

.tag.year,
.tag.anime,
.tag.latin,
.tag.puccini {
    background: var(--bg-light);
    color: var(--text-light);
    border-color: var(--border-color);
}

/* 新しいタグスタイル */
.tag.featured {
    background: #fff9c4;
    color: #f57f17;
    border-color: #f57f17;
    font-weight: 600;
}

.tag.viral {
    background: #ffebee;
    color: #d32f2f;
    border-color: #d32f2f;
}

.tag.disney {
    background: #e8f5e8;
    color: #2e7d32;
    border-color: #2e7d32;
}

.tag.piano {
    background: #f3e5f5;
    color: #7b1fa2;
    border-color: #7b1fa2;
}

.tag.kogeinu {
    background: #fff3e0;
    color: #ef6c00;
    border-color: #ef6c00;
}

.tag.remaster {
    background: #e1f5fe;
    color: #0277bd;
    border-color: #0277bd;
}

.tag.creative {
    background: #e0f2f1;
    color: #00695c;
    border-color: #00695c;
}

.tag.dialogue {
    background: #fff8e1;
    color: #ff8f00;
    border-color: #ff8f00;
}

.tag.arrangement {
    background: #fafafa;
    color: #424242;
    border-color: #424242;
}

.tag.vocal {
    background: #e8eaf6;
    color: #3f51b5;
    border-color: #3f51b5;
}

/* コラボレーション */
.collab-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.partner-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.partner-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.partner-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ボイストレーニング */
.training-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.training-description h3,
.training-approach h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.training-description ul {
    list-style: none;
    padding: 0;
}

.training-description li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.training-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.training-approach p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* お問い合わせ */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-right: 1.5rem;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* フッター */
.footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin: 0;
    opacity: 0.8;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-bg-image {
        object-position: center center; /* モバイルでは中央に調整 */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-left {
        text-align: center;
        padding-right: 0;
    }
    
    .hero-right {
        padding-left: 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .nav-logo-img {
        height: 30px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .about-content,
    .work-item.featured,
    .training-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-tabs {
        gap: 10px;
    }
    
    .filter-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .collab-partners {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .work-video iframe {
        height: 250px;
    }
    
    .work-item:not(.featured) .work-video iframe {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-logo {
        max-width: 150px;
    }
    
    .nav-logo-img {
        height: 25px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .work-info,
    .partner-card,
    .contact-item {
        padding: 1.5rem;
    }
}

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* プロフィールセクション */
.profile-section {
    margin: 1.5rem 0;
}

.profile-section h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.profile-list {
    list-style: none;
    padding: 0;
}

.profile-list li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.profile-list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* MoEセクション */
.moe-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.moe-description {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.moe-activities, .moe-members, .moe-guests {
    margin: 2rem 0;
}

.moe-activities h4, .moe-members h4, .moe-guests h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.member-list, .guest-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.member, .guest {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.guest {
    background: var(--accent-color);
}

/* コラボレーターセクション */
.collaborators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.collaborator-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.collaborator-card:hover {
    transform: translateY(-5px);
}

.collaborator-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.collaborator-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.collab-works {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.work-tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

/* 作品サブタイトル */
.works-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* 作品コメント */
.work-comment {
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0.8rem 0;
    position: relative;
    z-index: 10;
    display: block !important;
    visibility: visible !important;
}

/* ボイストレーニング更新 */
.training-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* お問い合わせ更新 */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.social-links a i {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
} 