/* Kiona Produce Website Styles - Optimized Lightweight Version */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* PC Header Menu */
.desktop-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 5%;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #007aff;
}

/* ハンバーガーメニュー */
.hamburger {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: transform 0.2s ease;
}

.hamburger:hover {
    transform: scale(1.05);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    transition: 0.2s;
    border-radius: 3px;
}

.menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: right 0.3s ease;
    padding: 100px 30px 30px;
}

.menu.active {
    right: 0;
}

.menu a {
    display: block;
    color: #1a1a1a;
    text-decoration: none;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 400;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    transition: color 0.2s ease;
}

.menu a:hover {
    color: #007aff;
}

/* セクション共通スタイル */
.section {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 5%;
    position: relative;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* ヒーローセクション */
.hero {
    background: #2c2c2c;
    color: white;
    text-align: center;
    margin-top: 0;
    padding: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1025px) {
    .hero {
        width: 100vw;
        height: calc(100vw / (16/9));
        aspect-ratio: 16/9;
        min-height: 400px;
        max-height: 100vh;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        width: 100vw;
        height: calc(100vw / (16/9));
        aspect-ratio: 16/9;
        min-height: 350px;
        max-height: 90vh;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }
}

/* YouTube動画背景コンテナ */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 0;
}

@media (min-width: 1025px) {
    .hero-video-container iframe {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-video-container iframe {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero .container {
    padding: 0 5%;
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    opacity: 0.9;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

/* プロフィールセクション */
.profile {
    background: #f8f9fa;
    padding: 60px 5%;
}

.profile-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.profile-text h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-align: center;
}

.profile-intro {
    margin-bottom: 40px;
}

.profile-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.profile-intro strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* 実績セクション */
.achievements {
    margin-bottom: 40px;
}

.achievements h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.achievement-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.achievement-item:hover {
    transform: translateY(-3px);
}

.achievement-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #9c7e34;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.achievement-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    line-height: 1.4;
}

/* 受賞歴セクション */
.awards {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.awards h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.awards ul {
    list-style: none;
    padding: 0;
}

.awards li {
    padding: 8px 0;
    color: #555;
    font-size: 1rem;
    position: relative;
    padding-left: 20px;
}

.awards li::before {
    content: "🏆";
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

/* 書籍情報セクション */
.book-info {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.book-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.book-info p {
    color: #555;
    font-size: 1rem;
    font-style: italic;
}

/* アンバサダー情報 */
.ambassador-info {
    background: linear-gradient(135deg, #538097, #204a5d);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.ambassador-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.ambassador-info strong {
    font-weight: 600;
}

/* SNSアイコン - 軽量版 */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 25px;
    text-decoration: none;
    transition: transform 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid #ddd;
    background: white;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 100px;
}

.social-icon span {
    font-size: 12px;
    font-weight: 600;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
    border-color: transparent;
}

.social-icon.tiktok:hover {
    background: #000000;
    color: white;
    border-color: #000000;
}

.social-icon.youtube:hover {
    background: #ff0000;
    color: white;
    border-color: #ff0000;
}

/* プロデュースセクション */
.produce {
    background: white;
}

.produce h2 {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.creators-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.creator-item {
    text-align: center;
    background: #f8f9fa;
    border-radius: 20px;
    transition: transform 0.2s ease;
    overflow: hidden;
}

.creator-link {
    display: block;
    padding: 30px 20px;
    text-decoration: none;
    color: inherit;
}

.creator-item:hover {
    transform: translateY(-3px);
}

.creator-image {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.creator-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-item h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.creator-item .followers {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* アンバサダーブランドセクション */
.ambassador {
    background: white;
    color: #1a1a1a;
}

.ambassador h2 {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.ambassador .section-note {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 30px;
    font-weight: 400;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.brand-item {
    padding: 20px 15px;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.brand-item:hover {
    transform: translateY(-3px);
}

.brand-logo {
    width: 100%;
    max-width: 140px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    max-height: 50px;
    object-fit: contain;
}

.brand-fallback {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1a1a1a;
}

/* Worksセクション */
.works {
    background: #f8f9fa;
    color: #1a1a1a;
}

.works h2 {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.works .section-note {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 30px;
    font-weight: 400;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}

.work-item {
    padding: 20px 15px;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: white;
    cursor: pointer;
}

.work-item:hover {
    transform: translateY(-3px);
}

.work-logo {
    width: 100%;
    max-width: 120px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.work-logo img {
    width: 100%;
    height: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: brightness(0.8);
    transition: filter 0.2s ease;
}

.work-item:hover .work-logo img {
    filter: brightness(1);
}

.work-fallback {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    text-align: center;
}

/* 書籍セクション */
.books {
    background: #f8f9fa;
}

.books h2 {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.book-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    transition: transform 0.2s ease;
    max-width: 400px;
    margin: 0 auto;
}

.book-item:hover {
    transform: translateY(-3px);
}

.book-cover {
    width: 150px;
    height: 200px;
    margin: 0 auto 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.book-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.amazon-btn {
    display: inline-block;
    background: #ff9900;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: transform 0.2s ease, background 0.2s ease;
    border: none;
    cursor: pointer;
}

.amazon-btn:hover {
    background: #e68a00;
    transform: translateY(-2px);
}

/* お問い合わせセクション */
.contact {
    background: #1a1a1a;
    color: white;
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 25px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
}

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

.submit-btn {
    background: #4a4a4a;
    color: white;
    padding: 12px 30px;
    border: 1px solid #666;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #555;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* フッター */
.footer {
    background: #000;
    color: white;
    padding: 30px 5%;
    text-align: center;
}

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

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    min-width: auto;
    padding: 0;
}

.footer-social .social-icon span {
    display: none;
}

.footer p {
    color: #666;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* ページトップボタン - 軽量版 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #054464f0;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 122, 255, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

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

/* スクロールアニメーション用クラス - 軽量版 */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* パフォーマンス最適化 */
img {
    max-width: 100%;
    height: auto;
}

/* GPU加速の有効化（必要最小限） */
.hero,
.creator-image,
.work-item,
.brand-item {
    will-change: transform;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .desktop-header {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .profile {
        padding: 40px 5%;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .social-icons {
        gap: 12px;
    }

    .social-icon {
        min-width: 90px;
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .hero-video-container iframe {
        width: 100vh;
        height: calc(100vh * 16/9);
        min-width: calc(100vw * 9/16);
        min-height: 100vw;
    }

    .hamburger {
        top: 20px;
        right: 20px;
    }

    .section {
        padding: 30px 5%;
    }

    .profile-text h2 {
        font-size: 2.5rem;
    }

    .achievements h3 {
        font-size: 1.5rem;
    }

    .achievement-number {
        font-size: 1.8rem;
    }

    .achievement-label {
        font-size: 0.9rem;
    }

    .social-icons {
        gap: 8px;
    }

    .social-icon {
        min-width: 80px;
        padding: 8px 12px;
        font-size: 12px;
    }

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

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .works-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .footer-social {
        gap: 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }

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

    .profile-text h2 {
        font-size: 2rem;
    }

    .achievement-number {
        font-size: 1.6rem;
    }

    .social-icons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .social-icon {
        min-width: 200px;
    }

    .awards, .book-info, .ambassador-info {
        padding: 20px;
    }
}