/* ============================
   Not Needed Section
   「BluetoothDASなら、従来の『前提』は要りません」
   2枚目と完全統一した不要化表現
   ============================ */

.section-not-needed {
    background: linear-gradient(135deg, #ffffff 0%, #f5f8fc 100%);
    padding: 100px 0;
    overflow: hidden;
}

.section-not-needed .section-headline {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.02em;
}

/* 2段構成レイアウト（上2・下2） */
.requirement-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.requirement-row.top-row {
    margin-top: 10px;
}

.requirement-row.bottom-row {
    margin-top: 10px;
    margin-bottom: 50px;
}

/* セクションラベル */
.requirement-section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    margin: 30px 0 16px 0;
    letter-spacing: 0.05em;
}

/* 旧グリッドスタイル（互換性のため保持） */
.not-needed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

/* 不要化カード */
.not-needed-card {
    background: white;
    border-radius: 16px;
    padding: 40px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(31, 79, 216, 0.08);
    opacity: 0;
    transform: translateY(30px);
    width: 340px;
    flex-shrink: 0;
}

.not-needed-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(31, 79, 216, 0.12);
    border-color: rgba(31, 79, 216, 0.2);
}

/* オレンジ×バッジ（カード右上） */
.not-needed-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 50;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #ff7a00;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
    box-shadow: 0 6px 18px rgba(255, 122, 0, 0.25);
    pointer-events: none;
}

/* 赤い×バッジ（旧スタイル・互換性のため保持） */
.x-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FF4757 0%, #E84545 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
}

/* ビジュアル領域 */
.card-visual {
    width: 100%;
    height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* 画像表示エリア（フォトリアリスティック画像用） */
.not-needed-icon {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f8fc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.not-needed-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.not-needed-card:hover .not-needed-icon img {
    transform: scale(1.05);
}

/* フォールバック：画像が読み込めない場合のスタイル */
.not-needed-icon img[alt]::after {
    content: attr(alt);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.875rem;
}

/* アイコンの共通スタイル */
.card-visual i {
    font-size: 48px;
    color: #A0AEC0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.not-needed-card:hover .card-visual i {
    opacity: 0.5;
}

/* 各カード固有のアイコンスタイル */
/* 1. 配線工事 */
.warehouse-icon {
    font-size: 56px;
    color: #CBD5E0;
}

.cable-icon {
    position: absolute;
    font-size: 32px;
    bottom: 10px;
    right: 30%;
    color: #A0AEC0;
    transform: rotate(-15deg);
}

/* 2. 常時Wi-Fi */
.wifi-icon {
    font-size: 60px;
    color: #A0AEC0;
}

.tower-icon {
    position: absolute;
    font-size: 28px;
    bottom: 10px;
    right: 25%;
    color: #CBD5E0;
}

/* 3. 取り付け工具 */
.tool-icon {
    font-size: 52px;
    color: #A0AEC0;
}

.shelf-icon {
    position: absolute;
    font-size: 40px;
    bottom: 10px;
    left: 30%;
    color: #CBD5E0;
    opacity: 0.5;
}

/* 4. 制御盤・PC */
.control-icon {
    font-size: 48px;
    color: #A0AEC0;
}

.pc-icon {
    position: absolute;
    font-size: 42px;
    bottom: 10px;
    right: 28%;
    color: #CBD5E0;
    opacity: 0.6;
}

/* カードラベル（名詞のみ） */
.not-needed-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D3748;
    text-align: center;
    margin: 0;
    letter-spacing: 0.03em;
}

/* 補足コピー */
.section-closing-copy {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1F4FD8;
    text-align: center;
    margin: 0;
    padding: 20px 0;
    letter-spacing: 0.02em;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .not-needed-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .requirement-row {
        gap: 30px;
    }
    
    .not-needed-card {
        width: 300px;
    }
}

@media (max-width: 860px) {
    .not-needed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .requirement-row {
        gap: 24px;
    }
    
    .not-needed-card {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .section-not-needed {
        padding: 60px 0;
    }
    
    .section-not-needed .section-headline {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }
    
    .not-needed-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .requirement-row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .not-needed-card {
        padding: 32px 20px;
        width: 100%;
        max-width: 400px;
    }
    
    .card-visual {
        height: 120px;
    }
    
    .card-visual i {
        font-size: 40px;
    }
    
    .not-needed-label {
        font-size: 1.125rem;
    }
    
    .not-needed-icon {
        height: 140px;
    }
    
    .section-closing-copy {
        font-size: 1rem;
    }
    
    .requirement-section-label {
        font-size: 0.8125rem;
        margin: 24px 0 12px 0;
    }
}

@media (max-width: 480px) {
    .section-not-needed .section-headline {
        font-size: 1.5rem;
    }
    
    .not-needed-card {
        padding: 24px 16px;
        max-width: 100%;
    }
    
    .not-needed-badge {
        width: 28px;
        height: 28px;
        font-size: 18px;
        top: 10px;
        right: 10px;
    }
    
    .x-badge {
        width: 40px;
        height: 40px;
        font-size: 24px;
        top: 12px;
        right: 12px;
    }
    
    .card-visual {
        height: 100px;
    }
    
    .card-visual i {
        font-size: 32px;
    }
    
    .not-needed-icon {
        height: 120px;
    }
    
    .not-needed-label {
        font-size: 1rem;
    }
    
    .requirement-section-label {
        font-size: 0.75rem;
        margin: 20px 0 10px 0;
    }
}
