@charset "UTF-8"; /* CSS Document */
/*無功能連結*/
a.null {
    pointer-events: none;
    opacity: 0.5;
}
body {
    letter-spacing: 0.05rem;
    background-color: #FFF8F6;
    overflow-x:hidden;
}
body img {
    max-width: 100%;
}
body a {
    transition: all 200ms ease-out 0s;
    text-decoration: none;
}
.accesskey {
    color:transparent;
}
body a:focus,
body [type=button]:focus,
body [type="submit"]:focus,
body select:focus {
    outline: 3px #f44336 dotted !important;
    opacity: 1;
}
body input:focus, body select:focus,body textarea:focus {
    background-color: #ffd4d6 !important;
    color: #000 !important;
    outline: 2px #f12a5d dotted !important;
}
.font-small {
    font-size: 95%;
}
.font-medium {
    font-size: 100%;
}
.font-large {
    font-size: 110%
}
.into {
    position: absolute;
    z-index: 999;
}
.into a {
    opacity: 0;
}
.logo {
    display:inline-block;
}
.logo img {
    max-width:200px;
    width:100%;
}
/*上方連結*/
.toplink {
    position:absolute;
    z-index:1;
    right:15px;
    top:10px;
    display:flex;
    align-items:center;
}
.toplink a {
    color:#000;
}
.toplink ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.toplink .link a {
    padding:0 5px;
}
.mtop_search {
    position:absolute;
    right: 70px;
    top: 15px;
}
@media screen and (min-width: 992px) {
    .mtop_search {
        display:none;
    }
    header {
        position:sticky;
        top:0;
        z-index: 2;
    }
}
@media screen and (max-width: 992px) {
    .toplink {
        display:none;
    }
    .logo {
        position: absolute;
        top: 5px;
        z-index: -1;
    }
    body.home .main {
        padding-top:60px;
    }
    body.home .main.hidden {
        overflow-x:hidden;
    }
}
/*字級設定*/
.font_size {
    display:flex;
    align-items:center;
}
.font_size li {
    padding: 0 10px 0 0;
}
.font_size li.large {
    font-size: 110%;
}
.font_size li.small {
    font-size: 95%;
}
.font_size .force a {
    background-color: #8d4d2d;
    color: #fff !important;
}
.font_size a {
    background-color: #ffede6;
    text-align: center;
    text-decoration: none;
    color: #000;
    border-radius: 100%;
    display: flex;
    width: 36px;
    height: 36px;
    align-items:center;
    justify-content:center;
}
.font_size a:hover {
    background-color: #8d4d2d;
    color: #fff !important;
}
@media screen and (max-width: 991px) {
    .font_size{
        margin: 5px 0 15px 10px;
    }
    .font_size > div {
        padding: 5px;
    }
    .font_size a {
        background-color: #FAC7A9;
    }
}
/*搜尋modal*/
.search_block {
    display: inline-flex;
}
.search_block >button {
    background: #8D4D2D;
    padding: 12px;
    border-radius: 12px;
    color: #fff;
    border: none;
    height: 44px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
.search_block input[type="text"] {
    width: 288px;
    height: 44px;
    margin-right: -44px;
    border: #e6e6e6 1px solid;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.search_block >button:last-child {
    margin-left: 15px;
}
.schpop_input {
    width: calc( 100% - 25px )!important;
}
.modal-dialog {
    /* background: rgba(255, 248, 242, 1); */
    border-radius: 12px;
    overflow: hidden;
}
.modal-content {
    border-radius: 12px;
    background-color: #fff7f9;
}
.card-white .modal-content {
    border-radius: 12px;
    background-color: #fff;
}
.card-pink .modal-content {
    border-radius: 12px;
    background-color: #fff8f6;
}
.modal-body {
    padding: 15px 15px;
    background: #fff;
    width: 100%;
    margin: 0px auto;
    border-radius: 12px;
    box-shadow: 1px 2px 3px #e5e5e5;
    box-sizing: border-box;
}
.modal-body .box {
    padding: 15px 15px!important;
    background: #fff;
    border-radius: 12px;
    box-sizing: border-box;
}
.modal-body .btbox {
    text-align:center;
    margin-bottom:20px;
}
.modal-body .btbox a {
    padding:8px 35px;
    display:inline-block;
    color:#8b4c2c;
    border-radius:50px;
    margin:0 4px;
}
.modal-body .btbox a.login {
    background-color: #8b4c2c;
    color:#FFF;
}
.modal-body .btbox a:hover {
    background-color:#5f3825;
    color:#FFF;
}
.card-white .modal-body,
.card-pink .modal-body {
    background: transparent;
    box-shadow: none;
}
.modal-body .btnup {
    position:relative;
}
.modal-body .btnup label {
    display:none;
}
.modal-body .btnup a {
    display:inline-block;
    padding:6px 20px;
    background-color:#8b4c2c;
    color:#FFF;
    border-radius:50px;
}
.modal-body .btnup a.ok {
    color:#8b4c2c;
    border:1px solid #8b4c2c;
    background-color:#FFF;
}
.modal-body .btnup a.disable {
    background-color:#85736C;
    pointer-events:none;
}
.modal-body .btnup a:hover {
    background-color:#6d3f28;
    color:#FFF;
}
h5#exampleModalLabel {
    /* text-align: center; */
    margin: 0 auto;
    width: 100%;
    color: #000;
}
.close{
    opacity: 1!important;
    background-color: transparent !important;
    border: none;
}
.nobdbg{
    border: none!important;
    background: transparent;
    box-shadow: none;
    flex-wrap: nowrap;
    padding: 15px;
}
.nobdbg button:hover {
    background-color:#693a22;
    color:#FFF;
}
.section_box {
    position: relative;
    /* width: 110px; */
    display: flex;
    height: 60px;
    margin: 0 5px;
}
.pop_section {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}
.section_box input[type="checkbox"] {
    display: inline-block;
    width: 100%;
    /* opacity: 0; */
    height: 42px;
    z-index: 1;
    position: absolute;
    left: 0px;
    margin-top: 10px;
}
.section_box >input[type="checkbox"] + label {
    /* min-width: 110px; */
    height: 42px;
    border-radius: 8px;
    border: 1px solid #8D4D2D;
    color: #8D4D2D;
    text-align: center;
    padding-top: 2px;
    margin: 10px 0px 10px 0px!important;
    z-index: 2;
    position: relative;
    background: #fff;
    padding: 2px 10px;
    display: flex;
    align-items: center;
}
.section_box >input[type="checkbox"]:checked + label{
    background: #fac7a9;
    border-color: #fac7a9;
    color: #000;
}
.clear_btn{
    background: transparent;
    color: #8D4D2D;
    border: none;
    width: 100%;
    max-width: 315px;
    height: 42px;
    padding: 0px 40px;
    border-radius: 24px;
    white-space: nowrap;
}
.main_btn {
    background: #8D4D2D;
    border: none;
    color: #fff !important;
    width: 100%;
    max-width: 315px;
    height: 42px;
    padding: 0px 40px;
    border-radius: 24px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}
/*搜尋*/
.searchbg {
    background-image: url(../images/all/index_topbg.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}
.searchbg h2 {
    font-weight: bold;
    margin: 0;
}
.board_title {
    font-size: 125%;
    font-weight: bold;
    letter-spacing: 0.1rem;
    margin: 5px 0 0 0;
    color: #000;
}
.searchbg .board .searchbox {
    position: absolute;
}
.searchbg .board p {
    margin: 0;
    font-weight: bold;
    font-size: 165%;
}
.searchbg .board .searchbox .search_icon {
    margin: 0 0 0 -15px;
}
.searchbg .board .searchbox .search_icon input[type="submit"] {
    max-width: 45px;
    min-width: 45px;
    height: 45px;
    border-radius: 12px;
    border: none;
    background-color: #8D4D2D;
    background-image: url(../images/svg/filter.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
}
.searchbg .board .searchbox .search_icon input[type="submit"]:hover {
    background-color: #a26d52 !important;
}
.searchbg .board .searchbox .filter a {
    font-weight: bold;
    font-size: 120%;
    white-space: nowrap;
    background-color: #8D4D2D;
    border-radius: 12px;
    padding: 10px;
    color: #fff;
}
.searchbg .board .searchbox .filter {
    margin: 0 0 0 5px;
}
.searchbg .board .searchbox .filter a svg {
    width: 25px;
    margin: -4px 5px 0 10px;
}
.searchbg .board .searchbox .filter a:hover {
    background-color: #a26d52;
}
.searchbg .board .searchbox .filter a:hover svg path {
    fill: #b6203a;
}
.searchbg .board .searchbox .filter a img {
    width: 24px;
    position: relative;
    top: -3px;
}
.searchbg .board .searchbox .search input[type="text"] {
    border-radius: 12px 0 0 12px;
    border: 1px #e1e1e1 solid;
    padding: 9px 30px 9px 15px;
    font-size: 105%;
    width: 100%;
}
.searchbg .board .searchbox .search select {
    border-radius: 12px;
    border: 1px #e1e1e1 solid;
    padding: 11px 15px 11px 15px;
    width: 100%;
    min-width: 160px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    position: relative;
    background-image: url(../images/icon/ic_tran.svg);
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: right 10px center;
    color: #555;
}
.searchbg .board .searchbox .search select::after {
    content: "";
    border-right: solid 5px transparent;
    border-left: solid 5px transparent;
    border-bottom: solid 5px transparent;
    border-top: solid 7px #000000;
    position: absolute;
    transform: translate(0, -26%);
    right: 10px;
    top: 23px;
}
.searchbg .board .searchbox .search input::placeholder {
    color: #917374;
    font-size: 95%;
}
@media screen and (min-width: 576px) {
    .searchbg .board .searchbox .search input[type="text"] {
        width: calc(100% - 15px);
    }
}
@media screen and (max-width: 576px) {
    .searchbg .board .searchbox .search select {
        width: calc(100% + 8px);
    }
}
@media screen and (min-width: 992px) {
    .searchbg {height: 260px;}
}
@media (max-width: 992px) and (min-width: 576px){
    .searchbg {
        height: 230px;
    }
}
@media screen and (min-width: 577px) {
    .searchbg .board {
        border-radius: 10px;
        background-color: #fff8f6;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        height: 60%;
        text-align: center;
        box-shadow: 0 4px 6px 2px rgba(0,0,0,0.25);
        -webkit-box-shadow: 0 4px 6px 2px rgba(0,0,0,0.25);
        -moz-box-shadow: 0 4px 6px 2px rgba(0,0,0,0.25);
        max-width: 600px;
    }
    .searchbg .board .searchbox {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }
    .searchbg .board .searchbox .search {-webkit-justify-content: center;justify-content:center;display: flex;padding: 0 20px;}
    .searchbg .board h2 {
        color: #000;
        font-size: 170%;
        margin-bottom: 15px;
    }
    .searchbg .board .searchbox .filter a{
        color: #fff;
    }
    .searchbg .board .searchbox .filter svg path {fill:#8A0023;}
    .searchbg .board .searchbox .card_search {
        margin: -3px 0 0 10px;
    }
}
@media screen and (max-width: 992px) {
    .searchbg {margin-top: 60px;}
}
@media screen and (max-width: 576px) {
    .searchbg {height: 150px;background-position: left -60px bottom;/* background-size: initial; */}
    .searchbg .board .searchbox {
        left: 15px;
        top: 50%;
        transform: translate(0, -50%);
        right: 35px;
    }
    .searchbg .board h2 {
        color: #000000;
        padding: 0 0 0 5px;
        font-size:130%;
    }
    .searchbg .board .searchbox .filter svg path {fill:#000;}
    .searchbg .board .searchbox .card_search input[type="submit"]{
        width: calc(100% + 8px);
    }
}
/*fatfoot*/
.f-bottom {
    position:relative;
    background-color:#FFEDE6;
    padding: 40px 0 30px 0;
    z-index: 1;
}
.fatfoot ul li {
    padding: 4px 0 4px 5px;
    margin: 0;
    list-style-type: none;
}
.fatfoot ul li.ftitle {
    font-size: 120%;
    font-weight: 600;
    padding: 15px 50px 5px 5px;
    border-bottom: 1px #824c75 solid;
    margin: 0 0 5px 0;
}
.fatfoot ul li.ftitle::before {
    display: "";
}
.fatfoot ul {
    padding: 0 15px;
    margin-bottom:30px;
}
.fatfoot ul li.ftitle a {
}

.fatfoot ul li.ftitle a:hover {
}
.fatfoot ul li a {
    color: #8d4d2d;
    text-decoration: none;
}
.fatfoot ul li a:hover {
    text-decoration: underline;
}
@media screen and (max-width: 992px) {
    .fatfoot{display: none;}
    .f-bottom {
        padding: 40px 0 130px 0;
    }
    .gotop {
        bottom: 10% !important;
    }
}
/*footer*/
footer {
    background: #FFEDE6;
    font-size:87.5%;
    padding: 0 0 40px 0;
}
footer a {
    color: #8d4d2d;
    text-decoration:underline;
    display:inline-block;
}
footer a:hover{
    text-decoration:none;
}
footer ul {
    list-style-type:none;
    margin:0;
    padding:0;
}
footer li {
    text-align:right;
    display: inline-block;
}
footer .rights li p {
    display:inline-block;
}
footer .rights {
    text-align:right;
}
footer p {
    margin-bottom:5px;
}
footer .card {
    margin-bottom:5px;
    background-color: transparent;
    border: none;
    padding: 0;
}
footer .btn {
    position: absolute;
    z-index: 1;
    width: 140px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    text-indent: -9999px;
    background-color: #ffede6;
    border-radius: 50px;
    transition: all 200ms ease-out;
    left: 50%;
    top: -40px;
    transform: translate(-50%, -50%);
    box-shadow:0 0 10px hsl(0deg 0% 0% / 23%);
}
footer .btn:before {
    content: "收合頁尾";
    color: #8a0023;
    display: block;
    text-indent: 0;
    white-space: nowrap;
    padding: 0;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 42%;
    top: 50%;
    color: #222222;
}
footer .btn.collapsed:before {
    content: "展開頁尾";
    color: #222222;
}
footer .btn:after {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    right: 13px;
    top: 60%;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    border-left: solid 3px #000;
    border-top: solid 3px #000;
    -webkit-transform: rotate(45deg) translate(-85%, -15%);
    transform: rotate(45deg) translate(-85%, -15%);
}
footer .btn.collapsed:after {
    border-left: 0;
    border-top: 0;
    border-bottom: solid 3px #000;
    border-right: solid 3px #000;
    top: 50%;
}
footer .info-float {
    position:absolute;
    right: 10px;
    bottom: -15px;
    text-align: right;
}
@media screen and (max-width: 991px) {
    footer .rights {
        text-align:left;
    }
    footer li {
        text-align:left;
    }
    footer .info-float {
        position:relative;
        right: initial;
        bottom: -10px;
        text-align: left;
    }
    footer {
        padding: 0 0 20px 0;
    }
    /*footer .show {
        display: none;
      }
    footer .collapse:not(.show) {
        display: block;
      }
    footer .collapsing {
        transition: none;
      }*/
}
@media screen and (min-width: 992px) {
    footer .btn {
        display:none;
    }
}
.gotop {
    position: fixed;
    right: 15px;
    bottom: 5.5%;
    opacity: 0.8;
    z-index: 1;
}
.gotop a {
    display:inline-block;
}
.gotop:hover {
    opacity: 1
}
/*麵包屑*/
.bread {
    position: relative;
    letter-spacing: 0;
    background-color: #ffede6;
}
.bread a#accesskey {
    position: absolute;
    left: 0;
    color: #555;
    top: 14px;
    letter-spacing: 0;
}
.bread .breadcrumb {
    background-color: transparent;
    padding: 0.7rem 1rem 0.7rem 0;
    margin: 0;
    font-size: 95%;
}
.bread .breadcrumb .breadcrumb-item a {
    text-decoration: none;
    color:#000;
}
.bread .breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}
.bread .breadcrumb .breadcrumb-item img {
    width: 20px;
    margin: -4px 5px 0 5px;
}
.bread .breadcrumb .breadcrumb-item.active {
    font-weight: bold;
    color:#000;
}
.bread .breadcrumb-item+.breadcrumb-item::before {
    content:">";
    color:#000;
    font-weight:initial;
}

