﻿@charset "utf-8";
@import './reset.css';
/* CSS Document */
html, body {
    height: 100%;
    color: #493d49;
}

body {
    background-color: #FFFFFF;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --main_bg_color: #f2f2f2; /*首頁中央內容區塊顏色*/
    --main_page_color: #FFFFFF; /*內頁中央內容區塊顏色*/
    --main_btn_color: #b81f6d; /*按鈕底顏色*/
    --main_btn_color_hover: #a3155a; /*按鈕底顏色滑入*/
    --secondary_btn_color: #008091; /*搭配顏色*/
    --secondary_btn_color_hover: #186069; /*搭配顏色滑入*/
    --section_bg_color: #FFFFFF; /*上方動畫背景顏色*/
    --topmenu_color: #493d49; /*上方按鈕文字顏色*/
    --footer_bg_color: linear-gradient(90deg, #e95098 0%, #493d49 35%); /*下方業務資訊區塊顏色*/
    --table_hover_color: #fcd4ea; /*表格滑入顏色*/
    --object_focus_color: #f257ac; /*focus顏色*/
}

a {
    text-decoration: none;
    color: #493d49;
}

.page_container {
    width: 100%;
    min-width: 280px;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
/*header開始*/
header {
    width: 100%;
    height: 126px;
    position: relative;
    padding: 0;
    background: url(../images/top_bg.png);
    background-size: cover;
    box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.nav_blackBG {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 6;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
}
/*選單*/
#nav_icon {
    width: 32px;
    height: 30px;
    position: fixed;
    top: 16px;
    left: 16px;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    display: none;
    background-color: #b81f6d;
    border-radius: 5px;
}

    #nav_icon span {
        display: block;
        position: absolute;
        height: 2px;
        width: 70%;
        background: #FFFFFF;
        border-radius: 2px;
        opacity: 1;
        left: 15%;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
        -moz-filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.4));
        -webkit-filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.4));
        filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.4));
    }

        #nav_icon span:nth-child(1) {
            top: 7px;
        }

        #nav_icon span:nth-child(2), #nav_icon span:nth-child(3) {
            top: 14px;
        }

        #nav_icon span:nth-child(4) {
            top: 21px;
        }

    #nav_icon.open span:nth-child(1) {
        top: 14px;
        width: 0%;
        left: 50%;
    }

    #nav_icon.open span:nth-child(2) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    #nav_icon.open span:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #nav_icon.open span:nth-child(4) {
        top: 9px;
        width: 0%;
        left: 50%;
    }
/*選單結束*/
h1 {
    display: flex;
    height: 126px;
    width: fit-content;
    font-size: 3.000em;
    color: #FFFFFF;
    letter-spacing: 2px;
    text-shadow: 4px -4px 5px #493d49, -4px -4px 5px #493d49, -4px 4px 5px #493d49, 4px 4px 5px #493d49;
    align-items: center;
}

    h1 img {
        margin: 0 30px;
        max-width: 80px;
    }

.menu_box {
    position: absolute;
    top: 0;
    width: 100%;
    height: 126px;
    z-index: 6;
    pointer-events: none;
}

.top_menu {
    position: absolute;
    top: 24px;
    right: 18px;
    font-weight: bold;
    pointer-events: auto;
}

    .top_menu p {
        line-height: 22px;
    }

.views_box {
    position: absolute;
    right: 12px;
    margin-top: 6px;
    text-align: right;
}

.bottom_menu {
    position: absolute;
    bottom: -55px;
    right: 0;
    left: 0;
    text-align: center;
    font-size: 1.500em;
    font-weight: bold;
    animation-duration: 2s !important;
    pointer-events: auto;
}

    .bottom_menu a {
        color: var(--topmenu_color);
    }

    .top_menu li, .bottom_menu li {
        display: inline-block;
    }

    .bottom_menu ul {
        width: 80%;
        margin: auto;
        display: flex;
        justify-content: space-evenly;
    }

    .top_menu li:hover a, .bottom_menu li:hover a, .active {
        color: var(--main_btn_color) !important;
        border-bottom: 2px solid var(--object_focus_color) !important;
    }

    .top_menu li a, .bottom_menu li a {
        display: block;
        padding: 8px 12px;
        border-bottom: 2px solid transparent;
    }

.icon_1_m {
    background: url(../images/m_icon_1.png) no-repeat;
}

.icon_2_m {
    background: url(../images/m_icon_2.png) no-repeat;
}

.icon_3_m {
    background: url(../images/m_icon_3.png) no-repeat;
}

.icon_4_m {
    background: url(../images/m_icon_4.png) no-repeat;
}

.icon_5_m {
    background: url(../images/m_icon_5.png) no-repeat;
}

.icon_m {
    width: 28px;
    height: 28px;
    background-size: 28px auto;
    display: inline-block;
    vertical-align: bottom;
    margin-right: 8px;
}
/*header結束*/
    /*section開始*/
    section {
    background: var(--section_bg_color);
    height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.borrow_btn {
    position: absolute;
    top: 120px;
    animation: float 6s linear infinite;
    animation-play-state: running;
}

.firstuse_text_link {
    margin-top: 20px;
    text-align: center;
}

.firstuse_text_link a {
    color: #005cab;
    text-decoration: underline;
}

.firstuse_text_link a:focus,
.firstuse_text_link a:hover {
    text-decoration: none;
}

    .borrow_btn:hover {
        animation-play-state: paused;
    }

    .borrow_btn .page_btn {
        font-size: 1.750em;
        border-radius: 30px;
    }

.page_btn {
    font-weight: bold;
    font-size: 1.063em;
    border: 0px;
    cursor: pointer;
    color: #FFF;
    padding: 10px 24px;
    border-radius: 20px;
    background-color: var(--main_btn_color);
}

    .page_btn:hover {
        background-color: var(--main_btn_color_hover);
    }

section ul {
    padding-top: 60px;
}

section li {
    display: inline-block;
    width: 240px;
    height: 240px;
    margin: 20px;
}

    section li a {
        display: flex;
        width: 100%;
        height: 100%;
        border-radius: 46px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        font-size: 1.750em;
        font-weight: bold;
        text-align: center;
        line-height: 1.2em;
        animation: float 6s linear infinite;
        animation-play-state: running;
    }

        section li a:hover {
            animation-play-state: paused;
            background-color: rgba(255, 255, 255, 1) !important;
            border: 3px dashed #a3155a;
            color: #a3155a;
        }

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(3px, -3px);
    }

    50% {
        transform: translate(0px, -6px);
    }

    75% {
        transform: translate(-3px, -3px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.icon_1_s {
    background: url(../images/s_icon_1.png) no-repeat;
}

.icon_2_s {
    background: url(../images/s_icon_2.png) no-repeat;
}

.icon_3_s {
    background: url(../images/s_icon_3.png) no-repeat;
}

.icon_s {
    width: 100px;
    height: 100px;
    background-size: 100px auto;
    margin-bottom: 16px;
}
/*section結束*/
/*banner動畫開始*/
#loading {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

#animation_container {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: 80%;
}

#anim_img {
    object-fit: cover;
}
/*banner動畫結束*/
/*main開始*/
main {
    position: relative;
    padding: 70px 10%;
    background-color: var(--main_bg_color);
    font-size: 1.25em;
}

h2 {
    font-size: 1.4em;
    margin-left: 50px;
    margin-bottom: 20px;
}
/*main結束*/
/*footer開始*/
footer {
    position: relative;
    width: 100%;
    padding: 20px 30px;
    box-shadow: 0 -1px 3px 0px rgba(0, 0, 0, 0.3);
    color: #FFF;
    display: flex;
    justify-content: space-evenly;
    background: var(--footer_bg_color);
}

    footer p {
        padding: 4px;
    }

        footer p span {
            color: #ffc000;
        }

            footer p span a {
                color: #ffc000;
                text-decoration: underline;
            }

.footer_r {
    font-size: 1.250em;
}

    .footer_r div:first-child {
        margin-bottom: 18px;
    }
/*footer結束*/
/*無障礙設定開始*/
a.accessKey {
    color: #493d49;
}

    a.accessKey:focus {
        background-color: orange;
        color: #000 !important;
    }

.accessKey_box {
    position: absolute;
    top: 10px;
    left: 10px;
}

.skipcontent {
    position: absolute;
    left: 0;
}
/*無障礙設定結束*/
/*最新消息開始*/
.news_box {
    position: relative;
    width: 100%;
    background-color: #e7e6e6;
    padding: 20px 0 0;
    margin-bottom: 20px;
    box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, 0.3);
}

.news_pic {
    background: url(../images/news_icon.png) no-repeat;
    width: 80px;
    height: 74px;
    background-size: 80px auto;
    position: absolute;
    top: -46px;
    left: 8px;
}

.news_list_box {
    background-color: #FFFFFF;
    border: 1px solid #a6a3a3;
}

.news_list {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #a6a3a3;
}

    .news_list:hover {
        background-color: var(--table_hover_color);
    }

.news_list_box li:last-child a {
    border-bottom: 0;
}

.news_date {
    font-size: 1em;
    font-weight: bold;
    padding: 0 26px 0 10px;
    white-space: nowrap;
}

    .news_date:before {
        content: "●";
        color: #b81f6d;
        margin-right: 10px;
    }

.news_title {
    width: fit-content;
    font-weight: bold;
    padding-bottom: 8px;
}

    .news_title:before {
        content: "【 ";
    }

    .news_title:after {
        content: " 】";
    }

.news_content {
    line-height: 1.4em;
}

.news_page_box {
    position: absolute;
    right: 0;
}

    .news_page_box li {
        display: inline-block;
        margin: 16px 4px;
    }

        .news_page_box li:after {
            content: "·";
            margin-left: 6px;
        }

        .news_page_box li:nth-last-child(2):after, .news_page_box li:last-child:after {
            content: none;
        }

        .news_page_box li:last-child {
            margin-left: 12px;
        }

        .news_page_box li a:hover {
            color: #1e80c6;
        }
/*最新消息結束*/
/*導覽頁開始*/
.main_page {
    background-color: var(--main_page_color);
    padding-top: 90px;
    padding-bottom: 30px;
    flex: 1; /* 主要內容區撐開中間空間 */
}

.page_box {
    font-size: 1em;
    padding: 10px 50px;
    border-top: 3px solid;
    border-bottom: 3px solid;
    line-height: 30px;
}

    .page_box ul {
        list-style-type: cjk-ideographic;
    }

    .page_box ol {
        list-style: decimal;
        padding: 0 20px;
    }

        .page_box ol li > ul {
            list-style: circle;
            padding: 0 24px;
        }

.firstuse_steps {
    line-height: 1.8;
}

    .firstuse_steps li + li {
        margin-top: 12px;
    }

.firstuse_return {
    margin-top: 30px;
    text-align: right;
}

    .firstuse_return a {
        color: #005cab;
        text-decoration: underline;
    }

        .firstuse_return a:focus,
        .firstuse_return a:hover {
            text-decoration: none;
        }

    .page_box a:link {
        color: #1c7fcd;
    }

    .page_box a:visited {
        color: #1c7fcd;
    }

.page_btn_box {
    text-align: center;
    padding-top: 20px;
}
/*導覽頁結束*/
/*租借時間軸開始*/
.timeline_box {
    width: 80%;
    margin: 0 auto 30px;
}

.num_box {
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.num_icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #afabab;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.500em;
    font-family: Arial;
}

.num_line {
    width: calc((100% - 180px) / 2);
    height: 10px;
    background-color: #afabab;
}

.text_box {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.line_text {
    width: 150px;
    color: #afabab;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}

    .line_text:first-child {
        margin-left: -40px;
    }

    .line_text:last-child {
        margin-right: -40px;
    }

.gbg {
    background-color: var(--main_btn_color);
}

.gtxt {
    color: var(--main_btn_color);
}
/*租借時間軸結束*/
/*登入頁面開始*/
.login_page {
    width: 100vw;
    height: 580px;
    transform: translateX(-10vw);
    background: #f7c8e2 url(../images/login_bg.jpg) no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    margin-bottom:-30px;
}

.login_box {
    width: 500px;
    height: fit-content;
    border-radius: 20px;
    background-color: #FFFFFF;
    padding: 40px 60px;
    box-shadow: 0 2px 17px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.3);
    margin-top: 120px;
}

.id_row {
    position: relative;
    margin-bottom: 16px;
}

    .id_row input {
        font-weight: 700;
        color: #493d49;
        border-radius: 6px;
        padding: 5px 10px;
        height: 36px;
        width: 100%;
        border: 1px #cacccc solid;
    }

.meun_icon_oeye {
    background: url(../images/oeye.png) no-repeat;
    background-size: 18px auto;
    height: 10px;
    width: 18px;
    position: absolute;
    top: 14px;
    right: 14px;
    cursor: pointer;
    display: none;
}

.meun_icon_ceye {
    background: url(../images/ceye.png) no-repeat;
    background-size: 18px auto;
    height: 9px;
    width: 18px;
    position: absolute;
    top: 15px;
    right: 14px;
    cursor: pointer;
}

.sendbtn {
    /*width: 100%;*/
    width: 150px;
    font-weight: 700;
    color: #FFFFFF;
    border-radius: 6px;
    /*padding: 5px 10px;*/
    height: 38px;
    border: 0;
    font-size: 1.20em;
    background-color: var(--secondary_btn_color);
    cursor: pointer;
    margin: 10px 0;
}

    .sendbtn:hover {
        background-color: var(--secondary_btn_color_hover);
    }
/*登入頁面結束*/
/*表格欄位開始*/
.section {
    margin-bottom: 40px;
    /*clear:both;*/
}
/*.section .send {
  margin: 0 auto;
}
.section .send input {
  padding: 16px 40px;
  height: auto;
  border: 0;
}*/
.section_title_box {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    clear: both;
}

    .section_title_box img {
        width: 36px;
        height: 36px;
        margin-right: 10px;
    }

.section_title {
    font-weight: 700;
    font-size: 1.4em;
    color: #000;
    /*position: relative;*/
    /*margin-bottom:24px;*/
}

    .section_title:before {
        content: attr(data-text);
        position: absolute;
        top: -4px;
        transform-origin: bottom;
        transform: rotateX(180deg);
        background: linear-gradient(0deg, #333333 0, transparent 80%);
        -webkit-background-clip: text;
        color: transparent;
        opacity: 0.6;
    }

.section_content {
    width: 100%;
    overflow-x: hidden;
    padding-top: 5px;
}
/*.section label {
    display: block;
    width: 200px;
    text-align: right;
    padding-right: 20px;
}*/
/*.section input, .section select {
    width: calc(100% - 200px);
    width: calc(100%);
    min-width: 30px;
    padding: 8px 12px;
    border: 1px solid #cacccc;
    border-radius: 6px;
    margin-bottom: 0;
    font-size: 1em;
}*/
/*.section_content .row:nth-of-type(2) {
  background-color: #e7e6e6;
  border-radius: 20px;
}*/
/*.row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
  padding: 6px 48px;
  position: relative;
}*/
.row2 {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.col {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 220px;
}

.col_div {
    width: 200px;
    text-align: right;
    padding-right: 20px;
}

.redtext:after {
    content: "*";
    color: #FF0000;
}

.stext {
    font-size: 0.875em;
    position: absolute;
    margin-left: 200px;
    bottom: -18px;
}

.button_query {
    background-color: var(--secondary_btn_color);
    color: #FFFFFF;
    padding: 10px 26px;
    border: 6px solid #ffe699;
    border-radius: 50%;
    font-size: 1.250em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .button_query:hover {
        background-color: var(--secondary_btn_color_hover);
        border: 6px solid #ffcc2f;
    }

.notice, .bookfile {
    position: relative;
    padding: 16px 20px 16px 76px;
    margin-left: 16px;
    border-radius: 16px;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.250em;
}

    .notice img {
        position: absolute;
        width: 60px;
        height: 56px;
        top: -20px;
        left: 16px;
    }

.notice {
    background: linear-gradient(135deg, #f9cee3 0%, #d95f9a 60%, #b81f6d 100%);
    cursor: pointer;
}

    .notice:focus {
        outline: 3px solid #b81f6d;
        outline-offset: 3px;
    }

.bookfile {
    background: linear-gradient(135deg, #d2ecf0 0%, #4fadb8 60%, #008091 100%);
    margin-left: 36px;
    cursor: pointer;
}

    .bookfile:focus {
        outline: 3px solid #008091;
        outline-offset: 3px;
    }

    .bookfile img {
        position: absolute;
        width: 60px;
        height: 60px;
        top: -10px;
        left: 4px;
    }

.upload_btn {
    width: fit-content !important;
    background-color: #767171;
    color: #FFFFFF;
    padding: 16px 26px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.250em;
    display: block;
}

    .upload_btn:hover {
        background-color: #2b2b2b;
    }

.upload_txt {
    width: fit-content !important;
    border: 0 !important;
    color: #0070c0;
    text-decoration: underline;
    font-weight: bold;
    font-size: 1.250em !important;
    flex: 1;
    margin-left: 6px;
}

.radio_box {
    display: flex;
}

    .radio_box label {
        width: auto;
    }

.example_box {
    width: fit-content;
    background-color: var(--secondary_btn_color);
    color: #FFFFFF;
    padding: 16px 26px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.250em;
}

.explain {
    width: calc(100% - 200px);
    line-height: 30px;
}
/*表格欄位結束*/
/*常見問題頁面開始*/
.search_box {
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 40px;
}

    .search_box .icon_m {
        position: absolute;
        right: 6px;
        top: 16px;
    }

    .search_box input {
        padding: 8px 50px 8px 12px;
        border: 1px solid #cacccc;
        border-radius: 6px;
        font-size: 1.500em;
    }

.question_page {
    width: 100vw;
    padding: 50px 10vw;
    transform: translateX(-10vw);
    /*background-color: var(--main_bg_color);*/
}

.question_list li {
    margin-bottom: 16px;
    position: relative;
}

    .question_list li:last-child {
        margin-bottom: 0;
    }

.question_list .active {
    border-bottom: 0 !important;
}

.question_title {
    display: block;
    font-size: 1.500em;
    font-weight: bold;
    padding: 18px 14px;
    padding-right: 6em;
    border-radius: 20px;
    background-color: var(--table_hover_color);
    cursor: pointer;
}

    .question_title:focus {
        outline: 3px solid #8b1045;
        outline-offset: 2px;
    }

    .question_title:after {
        content: '❮';
        transform: rotate(-90deg);
        position: absolute;
        right: 30px;
    }

    .question_title.active:after {
        content: '❮';
        transform: rotate(90deg);
        right: 27px;
    }

.question_date {
    font-weight: bold;
    font-size: 1.063em;
    color: #FFF;
    padding: 10px 24px;
    border-radius: 20px;
    background-color: var(--main_btn_color);
    position: absolute;
    top: 15px;
    right: 60px;
}

#dvDownloadList .question_date {
    top: 50%;
    transform: translate(0, -50%);
}

    #dvDownloadList .question_date:hover {
        background-color: var(--main_btn_color_hover);
    }

.question_content {
    width: calc(100% - 32px);
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    /*line-height: 24px;*/
    border-radius: 0 0 20px 20px;
    cursor: pointer;
}
/*常見問題頁面結束*/
/*操作影片開始*/
#open_video {
    background: url(../images/video.png) no-repeat;
    width: 65px;
    height: 74px;
    background-size: 65px auto;
    position: fixed;
    right: 20px;
    top: 25%;
    z-index: 4;
    /*box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, 0.3);*/
}

.video_box {
    display: none;
    width: 80%;
    height: calc(100vh - 120px);
    background-color: #FFFFFF;
    padding: 50px 20px;
    text-align: center;
    border-radius: 20px;
    position: absolute;
    z-index: 6;
    left: 0;
    right: 0;
    margin: 60px auto;
}

.firstuse_box {
    display: none;
    width: 80%;
    /*height: calc(100vh - 120px);*/
    background-color: #FFFFFF;
    padding: 50px 20px;
    text-align: center;
    border-radius: 20px;
    position: absolute;
    z-index: 6;
    left: 0;
    right: 0;
    margin: 60px auto;
}

#divFirstUseExampleArea figure {
    margin: 0;
}

#divFirstUseExampleArea .firstuse_longdesc {
    display: inline-block;
    margin-top: 12px;
    color: #005cab;
    text-decoration: underline;
}

    #divFirstUseExampleArea .firstuse_longdesc:focus,
    #divFirstUseExampleArea .firstuse_longdesc:hover {
        text-decoration: none;
    }

.close_btn {
    position: absolute;
    top: 20px;
    right: 40px;
}

.video_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: 100%;
    overflow: auto;
}

.video_item {
    margin: 20px;
}

    .video_item P {
        font-size: 1.250em;
        font-weight: bold;
        margin-bottom: 16px;
    }
/*操作影片結束*/

/*身分證明文件區塊*/
.iddoc_box {
    background-color: #FFF4E6;
    padding: 10px;
    border: 1px solid #e2d4bf;
    border-radius: 16px;
}