/* price 票價資訊頁 */
table.price_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    margin-bottom: 20px;
}

table.price_table thead tr:first-child th:first-child {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border: 2px solid #dadada;
    border-bottom: 0;
}

table.price_table thead tr:not(:first-child) th:first-child {
    border-left: 2px solid #dadada;
}

table.price_table thead tr:not(:first-child) th:last-child {
    border-right: 2px solid #dadada;
}

table.price_table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 20px;
}

table.price_table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 20px;
}

table.price_table thead tr {
    color: #fff;
}

table.price_table thead tr th {
    padding-top: 10px;
    padding-bottom: 10px;
}

table.price_table tbody td {
    border-right: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
    border-top: 1px solid #dadada;
    color: #000;
}

table.price_table tbody tr:last-child td {
    border-bottom: 2px solid #dadada;
}

table.price_table tbody td:first-child {
    font-weight: bold;
    text-align: left;
    border-left: 2px solid #dadada;
}

table.price_table td.color_coral {
    color: #e86349;
}

table.price_table .deco_border {
    position: relative;
}

table.price_table .deco_border span.deco {
    display: inline-block;
    position: absolute;
    height: 60%;
    width: 1px;
    right: 0;
    top: 20%;
    background-color: #fff;
}

table.price_table.first_table tr.title {
    background-color: #e86349;
}

table.price_table.first_table tr.sub_title {
    background-color: #fd7e5f;
}

table.price_table.first_table tbody tr:nth-child(odd) {
    background-color: #f8f8f7;
}

table.price_table.first_table tbody tr:nth-child(even) {
    background-color: #fff;
}

table.price_table.first_table tbody td:nth-child(5) {
    border-right: 1px solid #dadada;
}

table.price_table.first_table tbody td:nth-last-child(-n+2) {
    font-size: 1rem;
    text-align: left;
    padding: 0 5px 0 25px;
}

table.price_table.first_table tbody td:nth-child(2),
table.price_table.first_table tbody td:nth-child(3),
table.price_table.first_table tbody td:nth-child(4) {
    padding: 0 25px;
}

table.price_table.second_table tr.title {
    background-color: #eb843f;
}

table.price_table.second_table tr.sub_title {
    background-color: #feb47b;
}

table.price_table.second_table tbody tr:first-child {
    background-color: #fcf1ec;
}

table.price_table.second_table tbody tr:nth-child(2) {
    background-color: #fce0d0;
}

table.price_table.second_table tbody td:nth-child(6) {
    border-right: 2px solid #dadada;
}

table.price_table.second_table tbody tr:last-child td {
    border-right: 2px solid #dadada;
}

table.price_table.third_table tr.title {
    background-color: #feb9b9;
    color: var(--red);
    text-shadow: 1px 1px #fff, -1px 1px #fff, 1px -1px #fff, -1px -1px #fff;
}

table.price_table.third_table tbody tr:nth-child(odd) {
    background-color: #fff;
}

table.price_table.third_table tbody tr:nth-child(even) {
    background-color: #f8f8f7;
}

table.price_table.third_table tbody td:not(:last-child) {
    border-right: none;
}

table.price_table.third_table span.block_hint {
    background-color: #ffe6ec;
    border-radius: 20px;
    display: inline-block;
    padding: 2px 18px;
}

table.price_table.fourth_table tr.title {
    background-color: #60e5c8;
}

table.price_table.fourth_table tr.sub_title {
    background-color: #24a1a5;
}

table.price_table.fourth_table tbody tr:nth-child(odd) {
    background-color: #aefcea;
}

table.price_table.fourth_table tbody tr:nth-child(even) {
    background-color: #f9f8f7;
}

table.price_table.second_table tbody td:nth-child(7) {
    border-right: 2px solid #dadada;
}

table.price_table.fifth_table tr.title {
    background-color: #ecd6e8;
    color: #a30a82;
    text-shadow: 1px 1px #fff, -1px 1px #fff, 1px -1px #fff, -1px -1px #fff;
}

table.price_table.fifth_table tbody td {
    border-right: 2px solid #dadada;
}

table.price_table.fifth_table .deposit {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    border-radius: 20px;
    color: #a30a82;
    background-color: #fff;
}

table.price_table.fifth_table .deposit .deposit_item {
    text-align: center;
}

table.price_table.fifth_table .deposit .deco {
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, transparent 20%, #ECD6E8 30%, #ECD6E8 70%, transparent 80%, transparent 100%);
}

table.price_table.fifth_table .term {
    font-weight: 400;
}

.info_section .develop_title {
    max-width: 560px;
    margin: auto;
    margin-bottom: 20px;
}

.info_section .develop_title {
    width: 100%;
}

@media screen and (min-width: 1201px) {
    table.price_table thead tr.title {
        font-size: 2rem;
    }

    table.price_table thead tr.sub_title {
        font-size: 1.2rem;
    }

    table.price_table thead tr span.hint {
        font-size: 0.875rem;
    }

    table.price_table tbody td {
        padding: 5px;
        font-size: 1.2rem;
    }

    table.price_table thead th.align_left {
        padding-left: 60px;
        text-align: left;
    }

    table.price_table tbody td:first-child {
        padding-left: 20px;
        text-align: left;
        min-width: 200px;
    }

    table.price_table tbody span.hint {
        font-size: 1rem;
    }

    table.price_table.fifth_table tbody td {
        padding: 30px;
    }

    table.price_table.fifth_table .deposit {
        margin-bottom: 30px;
    }

    table.price_table.fifth_table .deposit .deposit_item {
        padding: 20px 10px;
        font-size: 1.2rem;
    }

    table.price_table.fifth_table .term {
        font-size: 1rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
    table.price_table thead tr.title {
        font-size: 2rem;
    }

    table.price_table thead tr.sub_title {
        font-size: 1.2rem;
    }

    table.price_table thead tr span.hint {
        font-size: 0.875rem;
    }

    table.price_table tbody td {
        padding: 5px;
        font-size: 1.2rem;
    }

    table.price_table tbody td:first-child,
    table.price_table thead th.align_left {
        padding: 0 20px;
        text-align: left;
        min-width: 180px;
    }

    table.price_table tbody span.hint {
        font-size: 1rem;
    }

    table.price_table.fifth_table tbody td {
        padding: 20px;
    }

    table.price_table.fifth_table .deposit {
        margin-bottom: 30px;
    }

    table.price_table.fifth_table .deposit .deposit_item {
        padding: 20px 10px;
        font-size: 1.2rem;
    }

    table.price_table.fifth_table .term {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    table.price_table thead tr.title {
        font-size: 1.5rem;
    }

    table.price_table:not(.fourth_table) thead tr.sub_title {
        font-size: 0.875rem;
    }

    table.price_table thead tr span.hint {
        font-size: 0.75rem;
    }

    table.price_table:not(.fourth_table) tbody td {
        padding: 8px 2px;
        font-size: 1rem;
    }

    table.price_table.first_table tbody td:nth-last-child(-n+2) {
        font-size: 1rem;
    }

    table.price_table.fourth_table thead tr.sub_title,
    table.price_table.fourth_table tbody td {
        padding: 8px 2px;
        font-size: 0.75rem;
    }

    table.price_table tbody td:first-child,
    table.price_table thead th.align_left {
        padding-left: 6px;
        text-align: left;
        min-width: 102px;
    }

    table.price_table tbody span.hint {
        font-size: 0.625rem;
    }

    table.price_table.fifth_table tbody td {
        padding: 10px 8px;
    }

    table.price_table.fifth_table .deposit {
        margin-bottom: 10px;
    }

    table.price_table.fifth_table .deposit .deposit_item {
        padding: 10px 2px;
        font-size: 0.75rem;
    }

    table.price_table.fifth_table .term {
        font-size: 0.75rem;
    }

    table.price_table.first_table tbody td:nth-last-child(-n+2) {
        padding: 0 5px 0 15px;
    }
}

/* 2023新增票價表格手機表格縮成直式排列 */
@media (max-width: 540px) {
    .info_section .price_table {
        border: 2px solid #d2d2d2;
        border-radius: 20px;
    }

    .info_section .first_table>tbody>tr>td,
    .info_section .second_table>tbody>tr>td {
        position: relative;
        display: block;
        width: auto;
        text-align: left;
        border: 0px;
        border-bottom: 1px solid #cccccc;
        padding: 0px 0 8px 85px;
        margin: 0 20px;
        line-height: 25px;
    }

    table.Paradise {
        background-color: #ffeedb;
    }

    table.Paradise.first_table tbody td:nth-child(2),
    table.Paradise.first_table tbody td:nth-child(3),
    table.Paradise.first_table tbody td:nth-child(4) {
        padding: 5px 0 5px 50px;
    }

    .info_section .first_table>thead,
    .info_section .second_table>thead {
        display: none;
    }

    .info_section .first_table td:before,
    .info_section .second_table>tbody>tr>td:before {
        position: absolute;
        left: 0;
        display: inline-block;
        content: attr(data-mbtit)'：';
        color: #000000;
    }

    .info_section .second_table td:before,
    .info_section .second_table>tbody>tr>.notice:before {
        content: attr(data-mbtit)' ';
    }

    .info_section .second_table>tbody>tr>.notice {
        padding: 0;
        border-bottom: 0;
    }

    table.price_table.first_table tbody td:nth-last-child(-n+2) {
        padding: 5px 5px 5px 85px;
    }

    table.price_table.first_table>tbody>tr>.Suitable {
        padding: 8px 0 8px 85px;
        border-right: 0;
    }

    .Statement {
        font-size: 0.75rem;
    }

    table.price_table.second_table tbody tr:last-child td,
    table.price_table.second_table tbody td:nth-child(6) {
        border-right: 0;
    }

    table.price_table tbody td {
        border: 0;
    }

    table.Paradise tbody tr:last-child,
    table.Paradise tbody tr:last-child td:last-child {
        border-bottom: 0;
    }

    table.price_table tbody tr:last-child td:first-child,
    table.Paradise tbody tr:last-child td:last-child {
        border-radius: 0;
    }

    /* table .safety_regulations tbody tr:last-child td:first-child {
        border-bottom-left-radius: 20px;
    } */

    table.price_table.first_table tbody tr:nth-child(odd),
    table.price_table.second_table tbody tr:first-child,
    table.price_table.second_table tbody tr:nth-child(2) {
        background-color: transparent;
    }

    table.Paradise thead tr:first-child th:first-child,
    table.Paradise thead tr:not(:first-child) th:first-child,
    table.Paradise thead tr:not(:first-child) th:last-child {
        border: 0;
    }

    .info_section .Paradise>tbody>tr>td:first-child,
    .info_section .Legend>tbody>tr>td:first-child {
        margin-top: 10px;
    }

    /* 選取每一個td，除了第一個tr裡面的以外 */
    .info_section .price_table>tbody>tr:nth-child(n+2)>td:first-of-type {}

    /* table.Paradise .Paradise_Title {
        background-color: #ffd7a7;
        margin: 0;
        border-radius: 20px 20px 0 0;
    }

    table.Paradise .Paradise_Title_other {
        background-color: #ffd7a7;
        margin: 0;
    } */

    /* table.Paradise tbody tr td:first-child,
    table.Legend tbody tr td:first-child {
        border-bottom: 2px solid #adadad;
        padding: 10px 0 10px 85px;
    } */

    table.Legend {
        background-color: #fce0d0;
    }

    table.Legend tbody tr td:nth-child(2),
    table.Legend tbody tr td:nth-child(3),
    table.Legend tbody tr td:nth-child(4) {
        padding: 5px 0 5px 55px;
    }

    table.Legend tbody tr td:nth-child(5) {
        padding: 5px 0 5px 110px;
    }

    table.Legend tbody tr td:nth-child(6) {
        padding: 5px 0 5px 160px;
    }

    table.price_table.first_table tbody tr td:not(nth-child(odd)) {
        background-color: #fcf1ec;
    }

    table.safety_regulations tbody tr:last-child td:first-child,
    table.safety_regulations tbody td:first-child,
    table.safety_regulations tbody tr:last-child td,
    table.safety_regulations thead tr:not(:first-child) th:first-child {
        border: 0;
    }

    table.Discount tbody tr:last-child td:first-child,
    table.Discount tbody td:first-child,
    table.Discount tbody tr:last-child td,
    table.Discount thead tr:not(:first-child) th:first-child {
        border: 0;
    }

    table.safety_regulations thead tr:first-child th:first-child,
    table.Discount thead tr:first-child th:first-child {
        border: 1px solid #dadada;

    }
}