/*--------------小桌機/平板橫向--------------*/
@media (max-width: 1199px) {

  /*行動版左側選單_選單*/
  #w #navmenu {
    display: block;
    position: fixed;
    width: 200px;
    height: 100%;
    left: 0px;
    top: 0px;
    background: #6c6c6c;


  }

  #w #navmenu .qa_title:hover {
    background: #000;
  }

  /*行動版左側選單_選單_submenu*/
  #menu #qaContent li .qa_title {
    padding: 15px;
    color: #fff;
    border-bottom: 1px solid #adadad;
    cursor: pointer;
  }

  #menu #qaContent li .qa_content li a {
    display: block;
    padding: 15px;
    color: #000;
    background: #eee;
  }

  /*主內容*/
  #w {
    position: relative;
    overflow-x: hidden;
  }

  #w #pagebody {
    position: relative;
    left: 0;
    z-index: 5;
    background: #fff;
  }

  #w #pagebody #content {
    display: block;
    z-index: 9999;
    padding-top: 45px;
  }

  /* === Header 基礎設定 === */
  #w #pagebody #toolbarnav {
    position: fixed;
    display: block;
    left: 0px;
    top: 0px;
    z-index: 9999;
    width: 100%;
    height: 60px;
    background: #fff;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.1);
  }

  #w #pagebody #toolbarnav #logo-mobile {
    position: absolute;
    left: 50%;
    width: 180px;
    margin-left: -90px;
  }

  /*Header彈出按鈕*/
  #w #pagebody #toolbarnav #menu-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 40px;
    margin: 8px;
    background-color: #6c6c6c;
    border-radius: 3px;
    box-shadow: inset 0 1 1px #000;
    cursor: pointer;
  }

  #w #pagebody #toolbarnav #menu-btn::before {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0c9";
    display: inline-block;
    font-size: 24px;
    color: #eee;
  }


  /*統一設定*/
  .container {
    width: 96%;
    margin: 0 auto;
  }

  .container02 {
    width: 96%;
    margin: 0 auto;
  }

  .web {
    display: none;
  }

  .mobile {
    display: block;
  }

  br {
    display: none;
  }

  /*網頁版上方*/
  header {
    display: none;
  }

  nav {
    display: none;
  }

  /*服務項目top*/
  #banner-inner {
    padding: 80px 0 40px 0;
    height: auto;
  }

  #banner-inner-nav {
    display: none;
  }

  /*服務項目-日照服務*/
  #daycare .column-container {
    flex-direction: column;
  }

  #daycare img {
    width: 100%;
  }

  /*活動訊息*/
  #event-photos .album-card {
    width: calc((100% - 40px) / 2);
  }

  /*衛教文章*/
  .title-top h1 {
    font-size: 1.5em;
    padding-right: 15px;
  }

  /*預約諮詢*/
  #contact-img {
    flex: 1;

  }

  #contact-img img {
    width: 100%;
  }

  #contact-info {
    flex: 1;
  }

}

/*--------------平板直向/手機橫向--------------*/
@media (max-width: 768px) {

  /*首頁*/
  #banner {
    background-image: url(../images/bannermobile.jpg);
    background-size: cover;
    height: auto;
    background-position: right;
    padding: 60px 0 40px 0;
    ;
  }

  #banner h2 {
    font-size: 1.5em;
    line-height: 35px;
    padding-bottom: 5px;
  }

  #banner h3 {
    font-size: 1.1em;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-left: 0;
  }

  /*首頁關於*/
  #index-about {
    padding: 50px 0 0 0;
  }

  #out-items {
    flex-direction: column;
  }

  /*首頁聯絡我們*/
  #index-contact {
    height: auto;
    padding: 40px 0;
    background-image: none;
    display: none;
  }

  #contact-txt {
    position: static;
    width: auto;
    height: auto;
    background: none;
    clip-path: none;
    padding: 0 20px;
    color: #333;
  }

  /*首頁環境介紹*/
  #index-environment {
    padding: 0 0 40px 0;
  }

  .env-gallery-container {
    flex-direction: column;
  }

  .gallery-main-image,
  .gallery-thumbnails {
    max-height: none;
  }

  .gallery-thumbnails {
    /* 在手機上，改為水平滾動 */
    flex-direction: row;
    overflow-y: hidden;
    overflow-x: auto;
    padding-bottom: 10px;
    /* 避免滾動條太貼底 */
  }

  .gallery-thumbnails img {
    width: 100px;
    height: 75px;
    flex-shrink: 0;
  }

  /*服務項目*/
  #banner-inner h1,
  #daycare h2,
  #apply h2,
  #fees h2 {
    font-size: 1.7rem;
    padding-bottom: 10px;
  }

  .table-out {
    overflow: auto;
  }

  #apply .column-container {
    flex-direction: column;
  }

  /*活動訊息*/
  #event-photos .album-card {
    width: 100%;
  }

  /*預約諮詢資料*/
  #contact {
    display: flex;
    flex-direction: column;
  }


  /*尾部*/
  footer {
    display: flex;
    flex-direction: column;
  }

  footer .column-left {
    display: none;
  }

  footer .column-right {
    width: 96%;
    padding: 20px 5px 5px 15px;
  }

  #footernav02 li {
    font-size: 0.9em;
    padding-bottom: 3px;
  }

  #footernav li#copyright {
    padding: 0;
  }

}


/*--------------手機直向--------------*/
@media (max-width: 575px) {}