/* サポートページ専用CSS */

/* ==========================================================================
   BASE STYLES - 基本スタイル
   ========================================================================== */

.support-cards-section {
    padding: 60px 0;
    background-color: #fff;
}

.support-info {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* ==========================================================================
   SUPPORT GRID - サポートカードグリッド
   ========================================================================== */

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.support-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px 32px;
    padding-right: 140px;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.support-card .content {
    flex: 1;
    width: 100%;
}

.support-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.2;
}

.support-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.support-card .icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-card .icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* ==========================================================================
   SUPPORT INFO SECTION - サポート情報セクション
   ========================================================================== */

.info-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.info-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.info-content > p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.support-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #008b5d;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   TUTORIAL GRID - チュートリアルカードグリッド（兼用）
   ========================================================================== */

.tutorial-cards-section {
    padding: 60px 0;
    background-color: #fff;
}

.tutorial-info {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.tutorial-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px 32px;
    padding-right: 140px;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.tutorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.tutorial-card .content {
    flex: 1;
    width: 100%;
}

.tutorial-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.2;
}

.tutorial-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.tutorial-card .icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tutorial-card .icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.tutorial-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* ==========================================================================
   RESPONSIVE DESIGN - レスポンシブデザイン
   ========================================================================== */

@media (max-width: 1024px) {
    .support-grid,
    .tutorial-grid {
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .support-card,
    .tutorial-card {
        padding: 25px 28px;
        padding-right: 120px;
        min-height: 180px;
    }
    
    .support-card .icon,
    .tutorial-card .icon {
        width: 80px;
        height: 80px;
        right: 15px;
    }
    
    .support-card .icon img,
    .tutorial-card .icon img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .support-grid,
    .tutorial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .support-card,
    .tutorial-card {
        padding: 20px 24px;
        padding-right: 100px;
        min-height: 160px;
    }
    
    .support-card h2,
    .tutorial-card h3 {
        font-size: 20px;
    }
    
    .support-card p,
    .tutorial-card p {
        font-size: 14px;
    }
    
    .support-card .icon,
    .tutorial-card .icon {
        width: 70px;
        height: 70px;
        right: 12px;
    }
    
    .support-card .icon img,
    .tutorial-card .icon img {
        width: 50px;
        height: 50px;
    }
    
    .support-features,
    .tutorial-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 20px 15px;
    }
    
    .info-content h2 {
        font-size: 28px;
    }
    
    .info-content > p {
        font-size: 16px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .support-cards-section,
    .tutorial-cards-section,
    .support-info,
    .tutorial-info {
        padding: 40px 0;
    }
    
    .support-card,
    .tutorial-card {
        padding: 18px 20px;
        padding-right: 90px;
        min-height: 140px;
    }
    
    .support-card h2,
    .tutorial-card h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .support-card p,
    .tutorial-card p {
        font-size: 13px;
    }
    
    .support-card .icon,
    .tutorial-card .icon {
        width: 60px;
        height: 60px;
        right: 10px;
    }
    
    .support-card .icon img,
    .tutorial-card .icon img {
        width: 40px;
        height: 40px;
    }
    
    .feature-item {
        padding: 15px 10px;
    }
    
    .feature-item h3 {
        font-size: 18px;
    }
    
    .feature-item p {
        font-size: 14px;
    }
    
    .info-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .info-content > p {
        font-size: 14px;
        margin-bottom: 25px;
    }
}