﻿.success_cases
{
    width: 100%;
    margin: 20px auto;
    box-sizing: border-box;
}

/* 標題樣式 */
.success_cases h2
{
    background-color: #FFDEBD;
    border-left: 5px solid #d9a35f;
    border-radius: 0 5px 5px 0;
    padding: 10px 15px;
    margin-bottom: 20px;
    color: #65451f;
}

/* 清除原本清單樣式 */
.success_cases ul
{
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 成功案例條列 */
.success_cases li
{
    position: relative;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #e9dcc8;
    transition: background-color 0.2s ease;
}

/* 單數項目淡米色背景 */
.success_cases li:nth-child(odd)
{
    background-color: #fffbf5;
}

/* 左側圓形勾勾 */
.success_cases li::before
{
    content: "✓";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;
    border-radius: 50%;

    background-color: #f5e6cb;
    color: #b48842;
    font-size: 20px;
    font-weight: bold;
    pointer-events: none;
}

/* 案例文字及超連結 */
.success_cases li a
{
    display: block;
    padding: 15px 40px 15px 55px;
    font-size: 25px;
    line-height: 1.8;
    letter-spacing: 1px;
    color: #594b38;
    text-decoration: none;
}

/* 右側箭頭 */
.success_cases li::after
{
    content: "›";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #b99a6e;
    font-size: 28px;
    pointer-events: none;
}

/* 滑鼠移入效果 */
.success_cases li:hover
{
    background-color: #fff0dc;
}

.success_cases li a:hover
{
    color: #b17b30;
}


/* 手機版面才顯示 */
@media screen and (max-width: 1100px) 
{
    .success_cases li a
    {
        font-size: 35px;
    }
}