@media only screen and (max-width: 1000px) {
    .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;
    }

    #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;
    }
  header {
    height: 60px;
    position: fixed;
    padding: 2px 10px;
    display: flex;
    justify-content: center;
  }
  .nav_blackBG {
    z-index: 5;
  }
  /*選單*/
  #nav_icon, #user_icon {
    display: block;
  }
  /*選單結束*/
  h1 {
    height: auto;
    font-size: 1.250em;
    letter-spacing: 1px;
  }
  h1 div:first-child {
    display: none;
  }
  h1 div img {
    max-width: unset;
    height: 56px;
  }
  .menu_box {
    display: none;
    top: 60px;
    width: calc(100% - 20px);
    height: auto;
    background-color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 0 0 20px 20px;
  }
  .top_menu {
    position: unset;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  .top_menu .accessKey_box {
    position: unset;
    margin-bottom: 4px;
  }
  .views_box {
    display: none;
  }
  .bottom_menu {
    position: unset;
    animation-duration: .6s !important;
  }
.bottom_menu ul {
    width: 100%;
    flex-direction: column;
}
  .bottom_menu li {
    display: block;
    text-align: left;
  }
  section {
    background: linear-gradient(to bottom, transparent 60%, #f2f2f2 40%);
    height: 540px;
    margin-top: 60px;
    background-size: cover;
    background-position: left center;
  }
    #animation_container {
        top: 0;
        width: 100%;
        overflow: hidden;
    }
  #anim_img {
    max-width: fit-content;
    height: 540px;
  }
  .borrow_btn {
    top: 60px;
  }
    .firstuse_text_link {
        margin-top: 12px;
        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;
    }
  section ul {
    padding-top: 120px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: calc(100% - 20px);
  }
  section li {
    width: calc(50% - 20px);
    height: 180px;
    margin: 10px;
  }
  section li a {
    font-size: 1.500em;
  }
  .icon_s {
    width: 50px;
    height: 50px;
    background-size: 50px auto;
    margin-bottom: 10px;
  }
  main {
    padding: 30px 20px;
  }
  /*最新消息開始*/
  .news_box {
    background-color: unset;
    padding: 0;
    box-shadow: unset;
  }
  .news_pic {
    background-size: 50px auto;
    left: 120px;
    margin-top: 24px;
  }
  h2 {
    margin-left: 20px;
  }
  .news_list_box {
    border: 0;
    background-color: unset;
  }
  .news_list {
    border-radius: 20px;
    background-color: #FFFFFF;
    border-bottom: 0;
    margin-bottom: 10px;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }
    .news_list:after {
        content: "more";
        color: #b81f6d;
        text-decoration: underline;
        position: absolute;
        bottom: 16px;
        right: 16px;
    }
 .news_list.expanded::after {
    content: "back";
 }
    .news_list.no-toggle::after {
        content: ""; /* 短文字時不顯示 more/back */
    }
  .news_list div:nth-child(2) {
    width: 100%;
    margin-bottom: 1em;
  }
  .news_list_box li:last-child a {
    margin-bottom: 0;
  }
  .news_date {
    padding: 10px 16px;
    border-radius: 20px;
    color: #FFFFFF;
    background-color: var(--main_btn_color);
    margin-bottom: 14px;
  }
  .news_date:before {
    content: none;
  }
  .news_content {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    box-sizing: border-box;
  }
    .news_content.expanded {
        overflow: visible;
        display: block; /* 改回一般 block，讓文字全部顯示 */
        -webkit-line-clamp: unset;
    }
  .news_page_box {
    right: 8px;
  }
  .news_page_box li {
    display: none;
  }
  .news_page_box li:last-child {
    display: block;
  }
  /*最新消息結束*/
  .main_page .accessKey_box {
    top: 90px !important;
  }
  .timeline_box {
    width: calc(100% - 40px);
  }
  .line_text {
    font-size: 1em;
  }
  footer {
    flex-direction: column-reverse;
  }
  footer p {
    line-height: 24px;
    padding: 0 4px;
  }
  .footer_r {
    font-size: 1em;
    display: flex;
    align-items: center;
    border-bottom: 4px solid;
    margin-bottom: 20px;
  }
  .page_box {
    padding: 10px 32px;
  }
    .firstuse_steps {
        line-height: 1.7;
    }

        .firstuse_steps li + li {
            margin-top: 10px;
        }

    .firstuse_return {
        margin-top: 24px;
        text-align: right;
    }

        .firstuse_return a {
            color: #005cab;
            text-decoration: underline;
        }

            .firstuse_return a:focus,
            .firstuse_return a:hover {
                text-decoration: none;
            }
  .login_page {
    height: auto;
    transform: translateX(-20px);
  }
  .login_box {
    width: calc(100% - 40px);
    padding: 30px;
    margin: 30px 0 30px;
  }
  .row {
    padding: 10px 30px;
    justify-content: center;
    gap: 12px;
  }
  .row div {
    width: 100% !important;
  }
  .row2 {
    gap: 0;
    margin-bottom: 12px;
  }
  /*.section label, .col_div {
    width: 100% !important;
    padding: 10px 0;
    text-align: left;
  }*/
  .col_div {
        width: 100% !important;
        padding: 10px 0;
        text-align: left;
    }
  .col {
    flex-direction: column;
  }
  .section input, .section select {
    /*width: 100% !important;*/
  }
  .section_content .row:nth-of-type(2) {
    background-color: unset;
  }
  .radio_box input {
    width: auto !important;
  }
  .section .upload_btn {
    width: fit-content !important;
    padding: 16px 26px;
    margin-bottom: 6px;
  }
  .section .upload_txt {
    margin-left: 0;
  }
  .search_box {
    margin-bottom: 30px;
  }
    .search_box input {
        width: 100%;
    }
    .search_box .icon_m {
        top: 48px;
    }
  .question_page {
    padding: 30px 20px;
    margin-top: -30px;
    transform: translateX(-20px);
  }
  .question_title {
    padding-right: 4.5em;
    font-size: 1.250em;
    /*line-height: 24px;*/
  }
  .question_date {
    display: none;
    top: unset;
    bottom: 0;
    right: 26px;
  }
  #dvDownloadList .question_list {
      margin-top: 50px;
}
  #dvDownloadList .question_date {
    display: block;
    bottom: unset;
    padding: 10px .8em;
  }
  .question_content {
    padding-bottom: 3.500em;
  }
  .privacy_box {
    width: 90%;
  }
  .stext {
    margin-left: 0;
    padding: 0 30px;
  }
  /*操作影片開始*/
  #open_video {
    top: 70px;
  }
  .video_box {
    width: 90%;
    height: calc(100vh - 80px);
  }
  .close_btn {
    top: 12px;
    right: 20px;
  }
  .firstuse_box {
    width: 90%;
    /*height: calc(100vh - 80px);*/
  }
  /*操作影片結束*/
}
@media only screen and (max-width: 410px) {
  h1 div:first-child {
    display: none;
  }
  h1 div img {
    max-width: 100%;
    max-height: 56px;
    height: unset;
  }
  footer {
    font-size: 0.625em;
  }
}