/* ====================================================================== 通用 ====================================================================== */
html,
body {
    font-size: 10px;
    font-family: "roboto";
}

a {
    color: #333333;
    transition: 0.3s ease;
}

a:hover {
    color: #D64331;
    text-decoration: none;
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.6rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.8rem;
}

p {
    font-size: 1.6rem;
    line-height: 33px;
    margin: 0;
    padding: 0;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

ul,
ol,
li {
    padding: 0;
}

img {
    width: 100%;
}

.container-l {
    width: 1520px;
    max-width: 1520px;
    margin: 0 auto;
}

.container-m {
    width: 1200px;
    max-width: 1200px;
    margin: 0 auto;
}

.container-s {
    width: 960px;
    max-width: 960px;
    margin: 0 auto;
}

.container-xs {
    width: 800px;
    max-width: 800px;
    margin: 0 auto;
}

/* ====================================================================== 顯示與隱藏 ====================================================================== */
.display-1470 {
    display: none;
}

.display-1400 {
    display: none;
}

.display-1200 {
    display: none;
}

.display-992 {
    display: none;
}

.display-850 {
    display: none;
}

.display-768 {
    display: none;
}

.display-600 {
    display: none;
}

.display-576 {
    display: none;
}

.display-480 {
    display: none;
}

/* ====================================================================== 色彩 ====================================================================== */
:root {
    --one-color: #F36B5B;
    --two-color: #2C6AC7;
    --three-color: #FDD43C;
    --four-color: #ddd;
    --five-color: #fff;
    --font-color: #333333;
}

.color-red {
    color: #D3362D;
}

.color-green {
    color: #5CAB55;
}

.bk-blue {
    background: var(--two-color);
}

.bk-green {
    background: #5CAB55 !important;
    color: #fff !important;
}

/* ====================================================================== 按鈕 ====================================================================== */
.btn-groups {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.btn-groups a {
    margin: 0 0.5rem;
}

.btn {
    position: relative;
    transition: 0.3s ease;
    font-size: 1.6rem;
    margin: 0;
    padding: 0;
    color: #fff;
    background: var(--one-color);
}

.btn:hover {
    color: #fff;
    background: var(--two-color);
}

.btn-100 {
    width: 100%;
}

.btn-l {
    width: 22rem;
    font-size: 2rem;
    line-height: 4.5rem;
}

.btn-m {
    width: 15rem;
    padding: 0 2rem;
}

.btn-s {
    line-height: 4.5rem;
    padding: 0 2rem;
}

.btn-one {
    background: var(--one-color);
}

.btn-one:hover {
    background: #DB6051;
}

.btn-two {
    background: var(--two-color);
}

.btn-two:hover {
    background: #265AA7;
}

.btn-three {
    background: #8A929D;
}

.btn-three:hover {
    background: #6B717B;
}

/* ====================================================================== table ====================================================================== */
.table {
    margin-top: 2rem;
    font-size: 1.6rem;
    box-shadow: #00000030 1px 1px 2px;
    border-radius: 0 0 5px 5px;
}

.table .tr.th-header {
    background: var(--two-color);
    color: #fff;
    border-radius: 5px 5px 0 0;
}

.table .tr {
    display: flex;
    justify-content: space-between;
    border: 0;
    line-height: initial;
    margin-bottom: 2px;
    align-items: center;
    padding: 2rem;
    background: #fff;
    align-items: flex-start;
}

.table .tr.odd {
    background: #FAFAFA;
}

.table-2-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    border: 1px solid #ddd;
    border-bottom: none;
}

.table-2-item:first-child {
    border-radius: 5px 5px 0 0;
}

.table-2-item:last-child {
    border-bottom: 1px solid #ddd;
    border-radius: 0 0 5px 5px;
}

.table-2-item-title {
    width: 15rem;
    background-color: var(--one-color);
    padding: 0.5rem 1rem;
    color: #fff;
}

.table-2-item-info {
    width: calc(100% - 15rem);
    padding: 0.5rem 1rem;
}

.apply-info p {
    line-height: 28px;
}

.tr .th:last-child,
.tr .td:last-child {
    text-align: end;
}

.tr:last-child {
    border-radius: 0 0 5px 5px;
}

.t30 {
    width: 30%;
}

.t25 {
    width: 25%;
}

.t20 {
    width: 20%;
}

.tw20 {
    width: 20rem;
}

.t15 {
    width: 15%;
}

.t12 {
    width: 12%;
}

.t10 {
    width: 10%;
}

.tw10 {
    width: 10rem;
}

.t8 {
    width: 8%;
}

.name {
    width: 20rem;
}

.name-2 {
    width: 20%;
}

.name-3 {
    width: 15%;
}

.time {
    width: 20rem;
}

.orders {
    width: 10rem;
}

.t-ad {
    text-align: left;
    width: 7rem;
}

.td.orders {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.con {
    width: 10rem;
}

.td-btn-group-1 {
    display: flex;
    justify-content: space-between;
    width: 100px;
}

.td-btn-group-2 {
    display: flex;
    justify-content: space-between;
    width: 180px;
}

.td-btn-group-3 {
    width: 100px;
}

.td-btn-item {
    margin-bottom: 1rem;
}

.td-btn-group .td-btn-item:last-child {
    margin-bottom: 0;
}

.btn-td {
    background: var(--one-color);
    padding: 1rem;
    font-size: 1.4rem;
}

.btn-td a {
    color: #fff;
    font-size: 1.6rem;
}

.table-2-item-info-check {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-check {
    padding: 0.25rem 1rem;
}



.table .tr {
    display: flex;
    justify-content: space-between;
    border: 0;
    line-height: initial;
    align-items: center;
}

th {
    font-weight: bolder;
    color: #333;
    font-size: 2.6rem;
    padding: 2.5rem 0;
}

td {
    padding: 2.175rem 0;
    font-size: 1.6rem;
    background: #fff;
}

tr:last-child {
    border: none !important;
}

.t15 {
    width: 15%;
}

.t25 {
    width: 25%;
}

.t75 {
    width: 75%;
}

.t85 {
    width: 85%;
}

.name {
    width: 75%;
}

.score {
    width: 25%;
}

.t-feat {
    width: calc(100% - 80px);
}

label {
    font-size: 1.6rem;
    font-weight: 900;
}

.form-control {
    padding: 0 1rem;
    font-size: 1.6rem;
    height: 4.5rem;
    margin-bottom: 3rem;
    border-radius: 0;
}

.form-check-inline {
    margin-right: 2rem;
}

/* ====================================================================== other ====================================================================== */
.pagination {
    justify-content: center;
    margin-top: 4.5rem;
}

.page-link {
    position: relative;
    display: block;
    padding: 1.5rem 2rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #000;
    background-color: #fff;
    border: 1px solid #dee2e6;
    font-size: 1.6rem;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--one-color);
    border-color: transparent;
}

/* ====================================================================== header ====================================================================== */
.header-btm .container-l {
    background: #fff;
    box-shadow: #00000020 1px 3px 3px;
    width: 100%;
}

.header-top {
    font-size: 1.6rem;
    background: var(--one-color);
    padding: 1.5rem 0;
}

.header-top-left a {
    background: #fff;
    padding: 0.8rem 1.5rem;
    transition: 0.3s;
}

.header-top-left a:hover {
    background: var(--three-color);
    color: #fff;
}

.header-top .container-l {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-right {
    display: flex;
    align-items: center;
}

.header-top-right span {
    width: 3rem;
    height: 3rem;
    background: #fff;
    line-height: 3rem;
    margin: 0 7.5px;
    text-align: center;
}

.member-login-group {
    display: flex;
}

.member-login-group a {
    color: #fff;
    line-height: 4rem;
    padding: 1.5rem 3.5rem;
}

.member-login-info-1 a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

a.navbar-brand {
    padding: 0 0 0 2.5rem;
}

.navbar {
    padding: 0rem;
}

a.navbar-brand img {
    width: 22rem;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 2rem;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #000;
}

ul#type-one li {
    position: relative;
}

#type-one a:hover::after {
    height: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0px;
    right: 0;
    z-index: 1000;
    display: none;
    float: left;
    font-size: 1.6rem;
    color: #212529;
    text-align: center;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border-bottom: 1px solid #ddd;
}

#type-one {
    align-items: center;
}

.li.nav-item {
    line-height: 5rem;
}

li.nav-item:hover a {
    color: #fff !important;
}

/* ====================================================================== footer ====================================================================== */
.footer-top-block {
    position: relative;
}

.footer-block {
    background-image: url(../images/footer.jpg);
    color: #fff;
    padding: 6rem 0 10rem;
    position: relative;
}

.footer-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-flow: wrap;
    position: relative;
}

.footer-item {
    width: 100%;
}

.footer-item img {
    width: 200px;
}

.footer-time {
    margin-top: 3rem;
}

.copyright {
    display: block;
    background: #2C244B;
    padding: 1.25rem;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.dropdown-item:last-child {
    border-bottom: 0;
}

.footer-link {
    margin-bottom: 2rem;
}

.footer-link a {
    font-size: 2rem;
    color: #333;
}

.footer-link span {
    padding: 0 2rem;
    font-size: 2rem;
    color: #333;
}

.footer-time-top {
    background-color: #9AC14E;
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-radius: 0 4rem 0 0rem;
}

.footer-time-bottom {
    background-color: #fff;
    border-radius: 0 0 0 4rem;
    padding: 2.5rem 2rem;
    color: #333;
}

.footer-contact-group {
    display: flex;
    flex-direction: column;
}

.footer-contact-group i {
    font-size: 2rem;
    padding-right: 1rem;
    color: #fff;
}

.footer-contact-group a {
    font-size: 1.6rem;
    display: inline-block;
    color: #fff;
}

.footer-contact-group span {
    display: inline-block;
    margin-top: 2.5rem;
}

/* ====================================================================== modal ====================================================================== */
.modal-header {
    padding: 1.5rem 1.75rem;
}

.modal-body {
    padding: 1rem 1.75rem;
}

.modal-body p {
    margin-bottom: 0.5rem;
}

.modal-footer {
    justify-content: center;
    padding: 1rem 0;
    background: #fff;
}

.modal-footer button {
    margin: 0 0.5rem;
}

.modal-header {
    background: var(--two-color);
    color: #fff;
}

.close {
    font-size: 2.4rem;
    color: #FFF;
    opacity: 1;
}

/* ====================================================================== 浮動Top ====================================================================== */
.floating-button {
    position: fixed;
    z-index: 999;
    right: 30px;
    bottom: 15%;
    z-index: 998;
}

.f-search a,
.f-top a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--one-color);
    width: 60px;
    height: 60px;
    color: #fff;
    box-shadow: #00000030 1px 1px 5px;
}

.f-top {
    margin-top: 1rem;
    border-radius: 99px;
    padding: 1rem;
}

.f-top a {
    width: 6rem;
    height: 6rem;
    margin: 1rem 0;
    border-radius: 99px;
}

/* ====================================================================== content ====================================================================== */
.content-bk {
    background-color: #fafafa;
}

.panel {
    position: relative;
    background: #fff;
    box-shadow: #00000020 1px 3px 3px;
}

.content-block {
    padding: 10rem 0;
}

.content-block p {
    line-height: 39px;
}

.content-block .title {
    margin-bottom: 4rem;
    justify-content: flex-start;
}

.aa {
    width: 19.5rem !important;
}

.title {
    display: flex;
    justify-content: left;
    align-items: center;
}

.title img {
    width: 4rem;
}

.title div {
    font-size: 4.6rem;
    font-weight: bold;
    margin-left: 1rem;
}

/* ====================================================================== news ====================================================================== */
.news-group {
    width: 100%;
}

.news-block {
    margin: 8rem 0 10rem;
}

.news-item {
    border-top: 1px solid #DDDDDD;
}

.news-item:last-child {
    border-bottom: 1px solid #DDDDDD;
}

.news .nav {
    margin: 1rem 0 3rem;
}

.news .nav-tabs {
    border-bottom: 0;
}

.news .nav-tabs .nav-link {
    font-size: 1.6rem;
    color: #aaa;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 1rem 3rem;
    border-radius: 0;
    border: 1px solid #aaa;
    margin-right: 2rem;
}

.news .nav-tabs .nav-link:hover {
    text-shadow: none;
    background: var(--one-color);
    color: #fff;
}

.news .nav-tabs .nav-link.active {
    border-color: transparent;
    font-weight: bold;
    background: var(--one-color);
    border-radius: 0;
    color: #fff;
    text-shadow: none;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    border-color: transparent;
}

.news-item>a {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    padding: 2.5rem 0;
    letter-spacing: 1.5px;
}

.news-item>a:hover {
    color: #333;
}

.news-time {
    width: 10rem;
}

.news-badge {
    width: auto;
    margin: 0 3rem;
    font-size: 1.6rem;
    padding: 1rem 1.5rem;
    border-radius: 0;
}

.news-name {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-right: 10%;
}

.news-more {
    width: 5rem;
    margin-left: auto;
    color: #999;
}

/* ====================================================================== sp ====================================================================== */
.sp-1 {
    margin-bottom: 0rem;
    color: var(--one-color);
    font-size: 2.6rem;
    display: block;
}

.sp-1 span {
    margin-bottom: 3rem;
    color: var(--one-color);
    font-size: 1.6rem;
}

.sp-3 {
    margin-top: 3rem;
}

.sp-4 {
    border-top: 1px solid #ddd;
    margin-top: 6rem;
    padding-top: 3rem;
    font-size: 2rem;
}

.sp-4 a {
    color: var(--one-color);
}

.sp-5 {
    width: 100%;
    text-align: center;
    color: #5CAB55;
    font-size: 8rem;
    font-weight: 600;
}

.sp-6 {
    text-align: center;
}

.sp-7 {
    margin-top: 1.5rem;
    font-size: 1.6rem;
}

.sp-10{
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ====================================================================== RWD ====================================================================== */
@media(max-width:1750px) {

    /* ====================================================================== 1750px ====================================================================== */
    .container-l {
        width: 95%;
    }
}

@media(max-width:1600px) {

    /* ====================================================================== 1600px ====================================================================== */
    /* ===== footer ===== */
    .footer-link {
        flex-direction: column;
        display: flex;
    }

    .footer-link a {
        margin-bottom: 2rem;
    }

    .footer-link span {
        display: none;
    }
}

@media(max-width:1470px) {

    /* ====================================================================== 1470px ====================================================================== */

}

@media(max-width:1450px) {
    /* ====================================================================== 1450px ====================================================================== */


    /* ===== 通用===== */
    .displaynone-1400 {
        display: none;
    }

    /* ===== header ===== */
    a.navbar-brand img {
        width: 15rem;
    }

    .navbar-light .navbar-nav .nav-link {
        font-size: 1.5rem;
        margin: 0 1.5rem;
    }
}

@media(max-width:1400px) {
    /* ====================================================================== 1400px ====================================================================== */

    /* ===== 通用 =====*/
    .displaynone-1400 {
        display: none;
    }

    .display-1400 {
        display: block;
    }

    .name {
        width: 100%;
    }

    .score {
        display: none;
    }
}

@media(max-width:1360px) {
    /* ====================================================================== 1360px ====================================================================== */
    /* ===== 通用 ===== */


}

@media(max-width:1280px) {

    /* ====================================================================== 1280px ====================================================================== */
    /* ===== 通用 ===== */
    .display-1280 {
        display: block;
    }

    .displaynone-1280 {
        display: none;
    }


    li.nav-item a {
        line-height: 4rem;
    }

    /* ===== footer ===== */

    .footer-block .container-l {
        width: 90%;
    }

    .footer-item-1 {
        width: 100%;
        margin-bottom: 4rem;
    }

    .footer-item-2 {
        width: 100%;
    }

    .footer-contact-group {
        padding-left: 0;
    }

    .footer-item-3 {
        width: 100%;
    }

    .sp-4 {
        text-align: left;
    }

    .footer-link {
        flex-direction: row;
        display: inherit;
    }

    .footer-link span {
        display: inline-block;
    }
}

@media(max-width:1200px) {
    /* ====================================================================== 1200px ====================================================================== */

    /* ===== 通用 ===== */
    .display-1200 {
        display: block;
    }

    .displaynone-1200 {
        display: none;
    }

    .container-s {
        width: 90%;
    }

    /* ===== header ===== */
    .header-btm .container-fluid {
        padding-right: 0px;
        padding-left: 0px;
    }

    .navbar-brand {
        margin: 2rem 0 2rem 0;
    }

    .navbar-toggler {
        padding: .25rem 2rem;
    }

    .navbar-light .navbar-toggler {
        color: #000000;
        font-size: 2rem;
        border: none;
    }

    .navbar-nav {
        border-top: 1px solid #E2E2E2;
    }

    li.nav-item {
        margin: 1rem 0;
        text-align: center;
    }

    .member-login-group {
        display: flex;
        justify-content: space-between;
    }

    .member-login-item {
        width: 50%;
    }

    /* ===== footer ===== */
    .footer-block {
        padding: 6rem 0;
    }
}

@media(max-width:992px) {
    /* ====================================================================== 992px ====================================================================== */

    /* ===== 通用 =====*/
    .display-992 {
        display: block;
    }

    .displaynone-992 {
        display: none;
    }

    .container-xs {
        width: 90%;
    }

    .title div {
        font-size: 3.2rem;
    }

    .news .nav {
        margin: 1rem 0 1.5rem;
    }

    .news .nav-tabs .nav-link {
        padding: 0.5rem 2rem;
    }
}

@media(max-width:850px) {

    /* ====================================================================== 850px ====================================================================== */
    .displaynone-850 {
        display: none;
    }

    .display-850 {
        display: block;
    }

    .tr.tr-btn-100 {
        flex-direction: column;
        padding: 0;
        width: 100%;
    }

    .tr.tr-btn-100 .name {
        padding: 2rem;
    }

    .display-850 {
        display: block;
        width: 100%;
    }

    .td-btn-group-2 {
        width: 100%;
    }

    .td-btn-item {
        width: 100%;
    }

    .tr .th:last-child,
    .tr .td:last-child {
        text-align: inherit;
    }

    .td-btn-item {
        margin-bottom: 0rem;
    }

    .btn-td {
        width: 100%;
    }

    .sp-8 {
        width: 100%;
    }
}

@media(max-width:768px) {
    /* ====================================================================== 768px ====================================================================== */

    /* ===== 通用 =====*/
    .container-xxs {
        width: 95%
    }

    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.6rem;
    }

    h3 {
        font-size: 2rem;
    }

    h4 {
        font-size: 1.6rem;
    }

    h5 {
        font-size: 1.4rem;
    }

    p {
        font-size: 1.5rem;
    }

    .displaynone-768 {
        display: none !important;
    }

    .display-768 {
        display: block !important;
    }

    /* ===== 浮動Top ===== */
    .floating-button {
        right: 30px;
        bottom: 5%;
    }

    /* ===== news ===== */
    .news .nav-tabs .nav-link {
        padding: 0.5rem 2rem;
    }

    .news-item>a {
        flex-wrap: wrap;
    }

    .news-name {
        margin-top: 2rem;
    }

    .news-more {
        display: none;
    }

    .news-badge {
        margin: 0 1.5rem;
    }
}

@media(max-width:600px) {
    /* ====================================================================== 600px ====================================================================== */
    /* ===== 通用 ===== */

}

@media(max-width:576px) {

    /* ====================================================================== 576px ====================================================================== */
    /* ===== 通用 ===== */
    .display-576 {
        display: block !important;
    }

    .displaynone-576 {
        display: none !important;
    }

    /* ===== 浮動Top ===== */
    .floating-button {
        position: fixed;
        bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        width: 100%;
        right: 0;
        left: 0;
    }

    .f-top {
        width: 100%;
        margin-top: 0rem;
        border-radius: 0;
        display: flex;
        flex-wrap: wrap;
        padding: 0;
    }

    .f-top a {
        background: var(--one-color);
        color: #fff;
        margin: 0;
        border-radius: 0;
        width: 100%;
    }


    .title-btn {
        display: none;
    }

    /* ===== footer ===== */
    .copyright {
        margin-bottom: 6rem;
    }

    /* ===== news ===== */
    .news .nav {
        margin: 1rem 0 1.5rem;
    }

    .news .nav-tabs .nav-link {
        margin-right: 1rem;
        padding: 0.5rem 1rem;
    }
}

@media(max-width:480px) {
    /* ====================================================================== 480px ====================================================================== */

    /* ===== 通用 =====*/
    .display-480 {
        display: block;
    }

    .displaynone-480 {
        display: none;
    }

    a.navbar-brand {
        padding: 0 0 0 1.5rem;
    }

    /* 按鈕 */
    .modal-footer .btn-groups {
        width: 90%;
    }

    .btn-groups .btn {
        margin-bottom: 2rem;
    }

    .btn-l {
        width: 100%;
    }

    /* ===== news ===== */
    .news .nav-tabs .nav-link {
        margin-right: 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 1.3rem;
    }

    /* ===== sp ===== */
    .sp-9 {
        flex-direction: column-reverse;
    }

    .sp-9 a{
        width: 100%;
    }
}

@media(max-width:420px) {

    /* ====================================================================== 420px ====================================================================== */
    .form-control {
        margin-bottom: 2rem;
    }

}

@media(max-width:380px) {
    /* ====================================================================== 380px ====================================================================== */
}