*{
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    font-family: 'Microsoft JhengHei', snas-serif;
}
img{
    width: 100%;
}
body {
    display: flex;
    flex-flow: column;
    min-height: 100vh;
  }

  /* 左側導覽列 */
  .sidebar {
    width: 100%;
    /* color: #fff; */
    height: auto;
    position: relative;
    font-weight: 600;
  }

  .title{
    width: 100%;
  }

  .menu {
    list-style: none;
    padding: 0;
    margin: 0;
    top: 0;
    background-color: #fff;
    /* display: none; */
    height: 0;
    overflow: hidden;
    transform-origin: top;
    transition: .5s ease;
    z-index: 100;
    position: relative;
  }

  .menu a {
    /* display: block; */
    padding: 12px 15px 12px 30px;
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    font-size: 20px;
  }

  /* 目前頁面項目 */
  .menu a.active {
    color: #0AB8C1;
  }

  /* 子選單 */
  .submenu {
    list-style: none;
    padding-left: 0;
    display: none;
    /* background-color: #34495e; */
  }

  .submenu a {
    display: block;
    padding-left: 80px;
    font-size: 16px;
  }

  .submenu a.active::before {
    content: '';
    display: inline-block;
    width: auto;
    aspect-ratio: 62/90;
    height: 18px;
    background: url('../img/arrow_icon.png');
    background-size: cover;
    margin-right: 5px;
  }

  .menu li.open > .submenu {
    display: block;
  }

 
  .container {
    flex: 1;
    padding: 30px 7%;
    background: url('../img/background_mb.jpg') no-repeat;
    background-size: cover;
    height: fit-content;
    box-sizing: border-box;
  }
 /* 右側內容 */
  .nav_icon{
    width: 20px;
    margin-right: 10px;
  }

  .nav_icon.phone img{
    display: block;
    margin: auto;
    width:60%;
  }

  .nav-link{
    display: flex!important;
    align-items: center;
  }


  /* #region 漢堡頁*/
.burger{
    position: absolute;
    top: 0;
    /* background-color: #fff; */
    width: fit-content;
}
input[type="checkbox"] {
    display: none;
}

input:checked ~ .menu {
    height: calc(100vh - 4em);
    display: block;
    color: #fff;
}

label {
    width: 2rem;
    height: 2rem;
    display: block;
    position: relative;
    cursor: pointer;
    margin: 1rem;
    top: 0;
}

    label span {
        position: absolute;
        width: 2rem;
        height: 0.15rem;
        background: #009877;
        border-radius: 0.1rem;
        transition: all 0.3s;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

input:checked ~ label span:first-child {
    left: 0%;
    top: 50%;
    transform: rotate(45deg);
}

input:checked ~ label span:nth-child(2n) {
    width: 0;
}

input:checked ~ label span:last-child {
    left: 0%;
    top: 50%;
    transform: rotate(-45deg);
}

label > span:first-child {
    top: calc(50% - 0.5rem);
}

label > span:nth-child(3) {
    top: calc(50% + 0.5rem);
}


/* 頁面 */
.page_title{
  display: flex;
  font-size: 28px;
  align-items: center;
}
.page_icon{
  width: 24px;
  margin-right: 10px;
}
.toast{
  margin-top: 20px;
  font-size: 14px;
}

@media screen and (min-width:400px) {
  /* 頁面 */
.page_title{
  font-size: 40px;
}
.page_icon{
  width: 32px;
  margin-right: 10px;
}
.toast{
  margin-top: 20px;
  font-size: 16px;
}
}

@media screen and (min-width:769px) {
  .container {
    flex: 1;
    padding: 40px 60px;
    background: url('../img/background_pc.jpg') no-repeat;
    background-size: cover;
    height: fit-content;
    min-height: 100vh;
    box-sizing: border-box;
  }
  /* 頁面 */
.page_title{
  font-size: 48px;
}
.page_icon{
  width: 40px;
  margin-right: 10px;
}
.toast{
  margin-top: 30px;
}
}

  @media screen and (min-width:1000px) {
    .burger{
        position: relative;
    }
    body {
        display: grid;
        grid-template-columns: 260px 1fr;
      }
    .sidebar {
        width: 260px;
        color: #fff;
        height: fit-content;
      }
      .menu {
        position: relative;
        display: block;
        height: fit-content!important;
        min-height: fit-content;
      }
    label{
        display: none;
    }
  }