﻿.bodyMain {
    margin: 0;
    /*background: url(../images/BG.png) top repeat;*/
    background-color: #ffd6a7;
    font-family:'Microsoft JhengHei';
}

.wrapMain {
    margin: 0 auto;
}

.headerMain {
    width: 1140px;
    height: 320px;
    background: url(../images/header.png);
    background-repeat: no-repeat;
    background-position: center top;
    position: relative;
    margin: 90px auto 0 auto;
}

.headerMain .btn1 {
    position: absolute;
    width: 175px;
    height: 48.5px;
    background: url(../images/btn_1.png) bottom;
    bottom: 10px;
    left: 50%;
    margin-left: -180px;
    cursor: pointer;
}

.headerMain .btn2 {
    position: absolute;
    width: 175px;
    height: 48.5px;
    background: url(../images/btn_2.png) top;
    bottom: 10px;
    left: 52%;
    cursor: pointer;
}

.infoBtn {
    width: 1140px;
    height: 50px;
    background: url(../images/barBtn.png) top;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 50px;
    margin-bottom: 6px;
    font-weight: bold;
    cursor: pointer;
}

.infoBtn table {
    width: 100%;
}

.storeBtn {
    width: 100%;
    height: 50px;
    background: url(../images/barBtn.png) top;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 50px;
    margin-bottom: 6px;
    font-weight: bold;
    cursor: pointer;
}

.storeinfo {
    height: 50px;
    overflow: hidden;
    margin-bottom: 5px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.storeinfo td {
    color: #775a2d;
    text-align: center;
    padding: 6px 4px !important;
    line-height: 20px !important;
    border: 1px solid #fff;
}

.storeinfo tr:nth-child(even),
.storeinfo tr:nth-child(even) td {
    background-color: #efefef;
}

.storeinfo tr:nth-child(odd),
.storeinfo tr:nth-child(odd) td {
    background-color: #e2e2e2;
}

.storeinfo tr:first-child {
    background-color: #e8dfd0;
}

.openInfo {
    height: auto;

}

.sort_1 {
    margin: 0 auto 3rem auto;
    width: 1140px;
}

.sort_2 {
    display: none;
    margin: 0 auto 3rem auto;
    width: 1140px;
}

table {
    font-size: 15px;
}
.storeinfo tbody tr:first-child td {
    background: #e5b87f !important;
    font-size: 15px;
    font-weight: 700;
}

.storeinfo tbody tr:hover td {
    background: #fee8cf;
}

.storeinfo tbody tr td:first-child, .storeinfo tbody tr td:nth-child(2) {
    text-align: left;
}

/*footer {
	text-align: center;
	padding:20px 8px;
	font-size: 12px;
}*/

@media screen and (max-width: 1280px) {
    .headerMain {
        width: 100%;
        height: 200px;
        background: url(../images/m-header.png);
        background-size: contain;
        background-repeat: no-repeat;
        margin-top: 30px;
        background-position: 50% 0;
    }

    .infoBtn,
    .storeBtn {
        width: 100%;
        height: 43px;
        line-height: 43px;
        background: url(../images/m-barBtn.png) top;
        background-repeat: no-repeat;
        background-size: auto 200%;
    }

    .bodyMain {
        font-size: 16px;
    }

    .bodyMain {
        margin: 0;
    }


    .sort_1 {
        margin: 0 auto 3rem auto;
        width: 100%;
    }

    .sort_2 {
        width: 100%;
    }

    table {
        font-size: 85%;
    }
}

.infoBtn.active,
.storeBtn.active {
    color: #c63838;
    background-position: bottom;
}

@media screen and (max-width: 480px) {

    .sort_1,
    .sort_2 {
        width: 360px;
    }

    .infoBtn,
    .storeBtn {
        height: 37px;
        line-height: 37px;
        background-size: 100%;
    }




}


/***/

/**凍結第一欄**/
.storeinfo table {
    table-layout: fixed;
    min-width: 100%;
    width: auto;
    overflow: unset !important;
}

.storeinfo thead td {
    position: sticky;
    word-break: keep-all;
    top: 0;
    vertical-align: top;
    z-index: 2;
}

.storeinfo thead td:first-child {
    left: 0;
    z-index: 3;
}

.storeinfo td {
    position: sticky;
    word-break: keep-all;
    top: 0;
    vertical-align: top;
    left: 0;
    z-index: 2;
    min-width: 120px;
}

@media (max-width: 767px) {
    .storeinfo td {
        font-size: 12px;
    }
}

.storeinfo tbody tr td {
    vertical-align: middle;
}

.storeinfo tbody tr:first-child td {
    position: static;
}

.storeinfo tbody tr:first-child td:first-child {
    position: sticky;
}

.storeinfo tr td:first-child {
    max-width: 200px;
    word-break: break-all;
    z-index: 3;
}