/* ========================================
   TOPページ専用スタイル
   ======================================== */

/* ビデオ背景 */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* ビデオオーバーレイ */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.8) 100%
    );
    z-index: 1;
}

/* グラデーションオーバーレイ */
.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(33, 150, 243, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 152, 0, 0.2) 0%, transparent 50%);
    mix-blend-mode: screen;
    opacity: 0.5;
    z-index: 1;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1); }
    75% { transform: rotate(270deg) scale(1.1); }
}

/* ヒーローコンテンツ */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    padding: 0 20px;
}

.glitch-text {
    font-size: clamp(40px, 8vw, 120px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 0.9;
    margin-bottom: 20px;
    position: relative;
    animation: glitch 3s infinite;
}

.subtitle {
    font-size: clamp(16px, 2vw, 24px);
    opacity: 0.8;
    margin-bottom: 40px;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease 0.5s both;
}

/* サービスグリッド（TOPページ用） */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 255, 204, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--light);
}

.service-description {
    opacity: 0.7;
    line-height: 1.6;
}

/* アバウトセクション */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.8;
}

.about-visual {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(255, 0, 255, 0.1));
    border-radius: 10px;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float 20s infinite;
}

.shape:nth-child(1) {
    width: 200px;
    height: 200px;
    background: rgba(0, 255, 204, 0.3);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 150px;
    height: 150px;
    background: rgba(255, 0, 255, 0.3);
    top: 60%;
    right: 20%;
    animation-delay: 5s;
}

.shape:nth-child(3) {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 0, 0.3);
    bottom: 20%;
    left: 40%;
    animation-delay: 10s;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

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