/* モバイルレイアウト */
@media screen and (max-width: 768px) {
    /* 表紙 */
  .q-app-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    margin: 2rem auto;
    }
    .q-app-grid a{
        margin: 0;
    }
   .q-app-card{
         width: 350px;
        min-width: 160px;
        box-sizing: border-box;
        border-radius: 12px;
        padding: 1rem;
    }
    
    .q-app-content  {
        text-align: left;
    }
    .q-app-content h3{
        margin: 0 0 0 15px;
        font-size: 24px;
    }

  header {
    background-color: transparent;
    padding: 0;
  }
  .header-bar {
    background-color: var(--unit-color);
    padding: 1rem;
    text-align: center;
    margin-top:37px;
  }
  .mobile-header-title {
    color: white;
    font-size: 32px;
    margin: 0;
    font-weight: normal;
  }

  /* .header-welcome {
    text-align: center;
    margin: 40px 0 40px 0;
    font-size: 18px;
    color: var(--unit-color);
    font-weight: 500;
    position: static;
  } */

    footer {
        font-size: 12px;
        padding: 10px 0;
    }
    section.unit-flex-group {
        flex-direction: column;
    }

    .unit-flex-left,
    .unit-flex-right {
        width: 100%;
    }

    #network-detail {
        margin-top: 1rem;
    }



  /* ユニット */
  .table-scroll-wrapper {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
  }

  .table-scroll-wrapper table {
      width: auto;
      white-space: nowrap;
  }

  thead {
    display: none;
  }

  tr {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: white;
    padding: 0.5rem;
  }

  td {
    text-align: left;
    padding: 0.5rem;
    position: relative;
  }

  td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 0.25rem;
    color: #555;
  }
  .nav-home,
  .nav-logout {
    display: none;
  }
    h2.main-title{
       display: none; 
    }
 
    .q-app-icon{
        display: none;
    }
    .q-app-content-body{
        display: none;
    }
    .q-app-content a {
        display: none;

    }
    /* .header-welcome a {
        
      display: none;
  } */
  .modal-content {
    width: 95% !important;
    margin: auto;
  }
}