/* ===================================
   Instagram Section - 新規作成
   =================================== */

/* メインセクション */
.instagram-section {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 100vh;
    padding: 80px 0;
    color: #fff;
    z-index: 10;
}

/* コンテナ */
.instagram-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* セクションタイトル */
.instagram-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.instagram-section .title-en {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #4ecdc4;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.instagram-section .title-ja {
    display: block;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* コンテンツ */
.instagram-content {
    text-align: center;
}

.instagram-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 紹介動画コンテナ */
.company-video-container {
    margin-bottom: 3rem;
    text-align: center;
}

.video-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.company-intro-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* 動画オーバーレイ */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.8) 0%, rgba(68, 163, 170, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 20px;
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
}

.video-text {
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.video-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Instagram Feed コンテナ */
.instagram-feed-container {
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

/* Instagram Feed のカスタマイズ */
.instagram-feed-container #sb_instagram {
    background: transparent !important;
}

.instagram-feed-container .sbi_header {
    display: none !important;
}

.instagram-feed-container .sbi_follow_btn {
    display: none !important;
}

.instagram-feed-container .sbi_photo {
    border-radius: 15px !important;
    overflow: hidden !important;
    transition: transform 0.3s ease !important;
}

.instagram-feed-container .sbi_photo:hover {
    transform: scale(1.05) !important;
}

.instagram-feed-container .sbi_photo_wrap {
    border-radius: 15px !important;
    overflow: hidden !important;
}

/* CTA ボタン */
.instagram-cta {
    margin-top: 2rem;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a3aa 100%);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
}

.instagram-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(78, 205, 196, 0.4);
    color: #fff;
}

.instagram-button .button-arrow {
    transition: transform 0.3s ease;
}

.instagram-button:hover .button-arrow {
    transform: translateX(5px);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .instagram-section {
        padding: 60px 0;
    }
    
    .instagram-section .container {
        padding: 0 1rem;
    }
    
    .instagram-section .title-en {
        font-size: 2rem;
    }
    
    .instagram-section .title-ja {
        font-size: 1rem;
    }
    
    .instagram-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .instagram-feed-container {
        padding: 1.5rem;
    }
    
    .instagram-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .video-wrapper {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .video-text h3 {
        font-size: 1.2rem;
    }
    
    .video-text p {
        font-size: 1rem;
    }
}

/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
    .instagram-feed-container {
        padding: 2rem;
    }
}

/* Instagram Feed のレスポンシブ対応 */
@media (max-width: 768px) {
    .instagram-feed-container #sb_instagram .sbi_item {
        width: 50% !important;
    }
}

@media (max-width: 480px) {
    .instagram-feed-container #sb_instagram .sbi_item {
        width: 100% !important;
    }
}
