@charset "UTF-8";

/* ============================
   インデックスページ専用スタイル (White Theme Fixed)
   ============================ */

/* 背景動画エリア（ヒーローのみに限定） */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* オーバーレイ（少し明るく調整） */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.3); /* 動画を見やすくするための薄い黒フィルタ */
    z-index: 0;
}

/* ヒーローコンテンツ */
.hero-content {
    position: relative;
    z-index: 5;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 80px;
    max-width: 800px;
    color: #fff; /* 動画上の文字は白のまま */
}

h1.main-title {
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.sub-text {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 15px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
    color: #f0f0f0;
}

.disclaimer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    z-index: 50;
    background-color: rgba(0,0,0,0.2);
    padding: 5px 10px;
    border-radius: 4px;
}

@media (max-width: 900px) {
    .hero-content {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* ============================
   WHY Qumcum セクション (White)
   ============================ */
.section-features {
    /* のっぺり感を軽減：ごく薄いグラデ＋微細パターン */
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 60%);
    background-image:
        radial-gradient(#e6f7ff 1px, transparent 1px);
    background-size: 18px 18px;
    color: #333;
    padding: 110px 20px 90px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    color: #333; /* 黒文字 */
    text-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 56px;
    line-height: 1.8;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
}

.feature-card {
    background: linear-gradient(180deg,#ffffff 0%, #fbfdff 100%);
    border: 1px solid #e9eef5;
    padding: 36px 28px;
    border-radius: 14px;
    width: 300px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0, 180, 216, 0.18);
    border-color: #bfe9f7;
}

.feature-card .card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eaf8ff;
    color: #00b4d8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 18px;
    box-shadow: inset 0 0 0 6px #f6fbff;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: #333;
}

.feature-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

@media (max-width: 768px) {
    .features-grid {
        flex-direction: column;
        align-items: center;
    }
    .feature-card {
        width: 100%;
        max-width: 350px;
    }
}

/* ============================
   LINEUP セクション (Light Gray)
   ============================ */
.section-lineup {
    background: #f8f9fa; /* 薄いグレー背景 */
    padding: 100px 20px;
    color: #333;
    text-align: center;
}

.lineup-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.lineup-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 0 0 30px 0;
    width: 300px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.lineup-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #333;
    color: #fff;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 0.1em;
}

.lineup-card.entry .card-badge { background: #2ecc71; }
.lineup-card.standard .card-badge { background: #3498db; }
.lineup-card.pro .card-badge { background: #e74c3c; }

.card-image-box {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    background: radial-gradient(#fff 20%, #f5f5f5 70%);
}

.card-image-box img {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.lineup-card:hover .card-image-box img {
    transform: scale(1.05) translateY(-5px);
}

.card-content {
    padding: 0 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.lineup-card h3 {
    font-size: 1.6rem;
    margin: 10px 0 5px;
    color: #333;
}

.model-code {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-family: monospace;
}

.specs {
    list-style: none;
    padding: 0 20px;
    margin-bottom: 30px;
    text-align: left;
}

.specs li {
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 0;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    color: #555;
}

.specs li span {
    color: #999;
    font-size: 0.75rem;
    margin-right: 10px;
    font-weight: bold;
}

.btn-lineup {
    margin: auto auto 20px;
    display: inline-block;
    padding: 10px 30px;
    background: transparent;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border-radius: 30px;
    font-size: 0.9rem;
}

.lineup-card:hover .btn-lineup {
    background: #333;
    color: #fff;
}

/* ============================
   PLAY & HACK セクション (Corrected Layout)
   ============================ */
.section-play-hack {
    background-color: #fff;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 120px 20px;
    color: #333;
    overflow: hidden;
}

.section-play-hack .section-title {
    color: #222;
    text-shadow: none;
}
.section-play-hack .section-subtitle {
    color: #666;
}

/* ↓前回抜けていたレイアウト設定を復活↓ */
.content-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 120px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.content-row:last-child {
    margin-bottom: 0;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

/* 画像エリアのデザイン（白ベース） */
.content-image {
    flex: 1; /* 横並び比率 */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1); /* 柔らかい影 */
    border: 1px solid #eee;
    min-height: 300px;
    background: #fff;
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.content-image:hover img {
    transform: scale(1.05);
}

.dummy-box {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    align-items: center; justify-content: center;
    color: #ccc; font-weight: bold; font-size: 1.5rem;
    z-index: 0;
}

/* テキストエリア */
.content-text {
    flex: 1; /* 横並び比率 */
    text-align: left;
}

.content-text h3 {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 700;
    color: #222;
}

.content-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ラベル装飾 */
.tag-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
    box-shadow: none; /* フラットに */
}

.tag-label.play {
    background: #00b894;
    color: #fff;
}

.tag-label.hack {
    background: #e17055;
    color: #fff;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 8px;
    font-weight: bold;
}

/* レスポンシブ対応 (Play & Hack) */
@media (max-width: 768px) {
    .content-row, 
    .content-row.reverse {
        flex-direction: column; /* スマホでは縦並び */
        gap: 30px;
        margin-bottom: 80px;
    }
    .content-text {
        text-align: left;
    }
    .content-text h3 {
        font-size: 1.5rem;
    }
}
/* ============================
   WHAT'S NEW セクション
   ============================ */
   .section-news {
    /* 紙面の区切り感を演出 */
    background: linear-gradient(180deg,#ffffff 0%, #f9fbfd 100%);
    padding: 72px 20px 80px;
    border-bottom: 1px solid #eef2f6;
}

/* ヘッダー周り（タイトルと「すべて見る」を横並び） */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 26px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 2px solid #e5e9ef;
    padding-bottom: 12px;
}

.news-heading {
    font-size: 1.5rem;
    font-weight: 900;
    color: #222;
    letter-spacing: 0.05em;
    margin: 0;
}

.news-more {
    font-size: 0.8rem;
    font-weight: bold;
    color: #00b4d8;
    transition: color 0.3s;
}

.news-more:hover {
    color: #0096c7;
    text-decoration: underline;
}

/* ニュースリスト */
.news-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 8px;
}

.news-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.04);
    transition: box-shadow .2s ease, border-color .2s ease, transform .1s ease;
    overflow: hidden;
}

.news-item a {
    display: flex;
    align-items: center; /* 上下中央揃え */
    padding: 16px 14px;
    color: #333;
    transition: background 0.3s;
    text-decoration: none;
}

.news-item a:hover {
    background: linear-gradient(90deg, rgba(0,180,216,0.06) 0%, rgba(255,255,255,0) 60%);
    color: #00b4d8;
}
.news-item:hover{
    box-shadow: 0 10px 22px rgba(0,0,0,0.06);
    border-color: #cfeaf4;
}

/* 日付とラベル */
.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px; /* 日付エリアの幅を固定して揃える */
    flex-shrink: 0; /* 縮まないようにする */
}

.news-date {
    font-family: 'Roboto Mono', monospace; /* 数字は見やすいフォントで */
    font-size: 0.9rem;
    color: #667085;
}

/* カテゴリラベル */
.news-label {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    min-width: 68px;
    text-align: center;
    margin-right: 6px;
}

.news-label.info   { background-color: #00b4d8; } /* 青 */
.news-label.cat-update, .news-label.update { background-color: #2ecc71; } /* 緑 */
.news-label.cat-event, .news-label.event  { background-color: #e74c3c; } /* 赤 */
.news-label.cat-introduction { background-color: #f1c40f; color: #333; } /* 黄色 */
.news-label.topics { background-color: #6c5ce7; } /* 紫（TOPICS） */
.news-label.other  { background-color: #95a5a6; } /* グレー */

/* 記事タイトル */
.news-title {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .news-item a {
        flex-direction: column; /* スマホでは縦並び */
        align-items: flex-start;
        gap: 8px;
    }
    
    .news-meta {
        min-width: auto;
        gap: 10px;
    }
}
/* =========================================================
   右下のオーバーレイボックス
   ========================================================= */
.hero-overlay-box {
    position: absolute; /* 絶対配置 */
    bottom: 50px;       /* 下からの距離（左下の注意書きと被らない位置） */
    right: 40px;        /* 右からの距離 */
    width: 340px;       /* ボックスの幅 */
    padding: 25px;
    
    /* 半透明の黒背景とすりガラス効果 */
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px); /* 背景をぼかす（モダンなブラウザ用） */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    
    color: #fff;
    z-index: 20; /* 他の要素より前面に表示 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* 浮き上がるような影 */
}

/* 閉じるボタン（×） */
.hero-close{
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    background: rgba(0,0,0,0.25);
    color: #fff;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    cursor: pointer;
    transition: background .2s, transform .05s, border-color .2s;
}
.hero-close:hover{ 
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}
.hero-close:active{ transform: scale(0.95); }

/* ボックス内の見出し */
.hero-overlay-box h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #00b4d8; /* アクセントカラー（青） */
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ボックス内のテキスト */
.box-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.box-content p:last-child {
    margin-bottom: 15px;
}

/* リンクボタン */
.box-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: bold;
    color: #00b4d8;
    text-decoration: none;
    transition: color 0.3s;
}

.box-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* --- スマホ対応 (900px以下) --- */
@media (max-width: 900px) {
    .hero-overlay-box {
        /* スマホでは右下ではなく、メインテキストの下、注意書きの上に配置 */
        right: auto;
        left: 20px;
        bottom: 70px; /* 注意書き(bottom:10px)より上 */
        width: auto;  /* 幅を画面に合わせて可変に */
        margin-right: 20px; /* 右側にも余白を */
        
        /* 背景を少し濃くして読みやすく */
        background: rgba(0, 0, 0, 0.7);
        padding: 20px;
    }

    .box-content p {
        font-size: 0.85rem; /* 文字サイズを少し小さく */
    }
}