/* ===================================
   天音ソラ - VTuber Template
   明るい青×オレンジテーマ
   =================================== */

:root {
    /* カラーパレット */
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --secondary: #f59e0b;
    --secondary-light: #fbbf24;
    --accent: #10b981;
    --accent-light: #34d399;

    /* 背景色 */
    --bg-white: #ffffff;
    --bg-light: #f0f9ff;
    --bg-blue: #dbeafe;
    --bg-gradient: linear-gradient(180deg, #f0f9ff 0%, #dbeafe 50%, #fef3c7 100%);
    --bg-card: rgba(59, 130, 246, 0.08);
    --bg-card-hover: rgba(59, 130, 246, 0.15);

    /* テキスト */
    --text-dark: #1e3a5f;
    --text-main: #1e40af;
    --text-muted: #6b7280;
    --text-blue: #2563eb;
    --text-orange: #d97706;

    /* その他 */
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
    --shadow-lg: 0 8px 40px rgba(59, 130, 246, 0.2);
    --transition: all 0.3s ease;
}

/* リセット */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ===================================
   ヘッダー
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-main);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

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

.template-credit {
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.7;
}

.template-credit:hover {
    opacity: 1;
    color: var(--primary);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
}

/* ===================================
   セクション共通
   =================================== */
section {
    padding: 80px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-icon {
    display: block;
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 5px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-blue);
    letter-spacing: 0.15em;
}

.section-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
    min-height: 100vh;
    position: relative;
    background: var(--bg-gradient);
    padding-top: 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text x="50" y="55" text-anchor="middle" font-size="16" fill="%233b82f6" opacity="0.15">☁</text></svg>');
    background-size: 120px 120px;
    animation: cloudFloat 30s linear infinite;
}

@keyframes cloudFloat {
    0% { transform: translateX(0); }
    100% { transform: translateX(-120px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 55%;
    padding: 40px;
    padding-left: 60px;
}

.hero-label {
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    color: var(--text-blue);
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.hero-name-en {
    font-size: 18px;
    color: var(--secondary);
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.hero-movie {
    max-width: 480px;
    margin-bottom: 30px;
}

.hero-movie .video-embed {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 3px solid white;
}

.hero-movie .video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-sns {
    display: flex;
    gap: 15px;
}

.hero-sns .sns-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border-radius: var(--radius);
    color: var(--text-main);
    font-size: 13px;
    box-shadow: var(--shadow);
}

.hero-sns .sns-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.hero-character {
    position: absolute;
    right: 5%;
    bottom: 0;
    height: 90%;
    z-index: 0;
    pointer-events: none;
    filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.2));
}

.hero-character img {
    height: 100%;
    object-fit: contain;
}

/* ===================================
   ピックアップバナー
   =================================== */
.pickup {
    background: var(--bg-white);
    padding: 30px 0;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.pickup-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.pickup-slides {
    position: relative;
    width: 500px;
    height: 80px;
    overflow: hidden;
    border-radius: var(--radius);
}

.pickup-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pickup-slide.active {
    opacity: 1;
}

.pickup-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.slider-btn {
    background: white;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition);
}

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

/* ===================================
   動画セクション
   =================================== */
.movie {
    background: var(--bg-light);
}

.movie-slider {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.movie-slides {
    position: relative;
    flex: 1;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.movie-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.movie-slide.active {
    opacity: 1;
}

.movie-slide .video-embed {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
}

.movie-slide .video-embed iframe {
    width: 100%;
    height: 100%;
}

.movie-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.movie-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.movie-nav-btn.active,
.movie-nav-btn:hover {
    background: var(--primary);
    color: white;
}

.section-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 14px 40px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 30px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.section-link:hover {
    background: var(--primary);
    color: white;
}

/* ===================================
   ニュースセクション
   =================================== */
.news {
    background: var(--bg-white);
}

.news-list {
    max-width: 700px;
    margin: 0 auto;
}

.news-item {
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.news-item a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 15px;
    transition: var(--transition);
}

.news-item a:hover {
    background: var(--bg-card);
}

.news-date {
    font-size: 13px;
    color: var(--secondary);
    font-weight: 600;
    min-width: 90px;
}

.news-category {
    font-size: 11px;
    color: white;
    background: var(--primary);
    padding: 3px 10px;
    border-radius: 10px;
    min-width: 60px;
    text-align: center;
}

.news-text {
    font-size: 14px;
    color: var(--text-dark);
    flex: 1;
}

.more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px auto 0;
    padding: 12px 30px;
    background: none;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius);
    color: var(--text-main);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

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

/* ===================================
   プロフィールセクション
   =================================== */
.profile {
    background: var(--bg-gradient);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.profile-text {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 2;
    margin-bottom: 25px;
}

.profile-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.detail-item .label {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.detail-item .value {
    font-size: 14px;
    color: var(--text-dark);
}

.profile-sns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.sns-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.sns-link:hover {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

.sns-link .arrow {
    margin-left: auto;
    color: var(--primary);
}

.sns-link:hover .arrow {
    color: white;
}

.expression-nav {
    display: flex;
    gap: 10px;
}

.expression-btn {
    padding: 8px 20px;
    background: white;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    color: var(--text-main);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.expression-btn.active,
.expression-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.profile-image {
    text-align: center;
}

.profile-image img {
    max-height: 500px;
    filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.2));
}

/* ===================================
   SNSセクション
   =================================== */
.sns-section {
    background: var(--bg-white);
}

.sns-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-blue) 100%);
    padding: 30px 40px;
    border-radius: var(--radius-lg);
}

.sns-info h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
}

.sns-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.sns-link-large {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: white;
    border-radius: var(--radius);
    color: var(--text-main);
    font-weight: 600;
    box-shadow: var(--shadow);
}

.sns-link-large:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.sns-link-large .arrow {
    color: var(--primary);
}

.sns-link-large:hover .arrow {
    color: white;
}

/* ===================================
   ワークスセクション
   =================================== */
.works {
    background: var(--bg-light);
}

.works-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.works-item {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.works-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.works-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.works-info {
    padding: 18px;
}

.works-info .date {
    font-size: 12px;
    color: var(--secondary);
    display: block;
    margin-bottom: 5px;
}

.works-info .title {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

/* ===================================
   お問い合わせセクション
   =================================== */
.contact {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-blue) 50%, #fef3c7 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.contact-text {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 2;
    margin-bottom: 25px;
}

.contact-email {
    font-size: 20px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.privacy-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: underline;
}

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

.contact-image {
    text-align: center;
}

.contact-image img {
    max-height: 400px;
    filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.2));
}

/* ===================================
   トップに戻るボタン
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 30px;
    color: white;
    font-size: 10px;
    font-weight: 600;
    z-index: 100;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: linear-gradient(180deg, var(--bg-blue) 0%, var(--primary-light) 100%);
    padding: 40px 0 25px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 25px;
}

.footer-nav a {
    font-size: 13px;
    color: var(--text-main);
    font-weight: 500;
}

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

.footer-sns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-sns a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--text-main);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.footer-sns a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    font-size: 12px;
    color: var(--text-main);
    margin-bottom: 10px;
}

.footer-credit {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.7;
}

.footer-credit:hover {
    opacity: 1;
    color: var(--primary);
}

/* ===================================
   レスポンシブ
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        width: 60%;
    }

    .hero-character {
        opacity: 0.4;
    }

    .profile-content,
    .contact-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 12px 15px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: flex;
    }

    .template-credit {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-content {
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .hero-movie {
        max-width: 100%;
    }

    .hero-sns {
        justify-content: center;
    }

    .hero-character {
        display: none;
    }

    .pickup-slides {
        width: 280px;
        height: 60px;
    }

    .profile-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .profile-image,
    .contact-image {
        order: -1;
    }

    .profile-image img,
    .contact-image img {
        max-height: 300px;
    }

    .works-list {
        grid-template-columns: 1fr;
    }

    .sns-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 20px;
    }

    section {
        padding: 60px 0;
    }
}

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

    .section-title {
        font-size: 22px;
    }

    .profile-details {
        grid-template-columns: 1fr;
    }
}
