/* レスポンシブ表示制御 */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

.header-nav {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.q-app-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    /* margin-top: 2rem; */
}
.q-app-content h3{
    font-weight: normal;
margin:26px 0 16px 0; 
}


.q-app-card {
    
    padding: 1rem;
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s ease;
    width: 250px;
}

.q-app-card:hover {
    transform: translateY(-4px);
}

.q-app-icon {
    font-size: 64px;
    margin-bottom: -40px;
}

.q-app-content a {
    display: inline-block;
    margin-top: 0.5rem;
    color: white;
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 1rem;
    border-radius: 5px;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    /* レスポンシブ表示制御 */
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    nav.header-nav {
        display: none;
    }
    /* 表紙 */
  .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;
    }


    .hamburger-header {
        display: flex
    ;
        justify-content: space-between;
        align-items: center;
        padding: 18px 22px 16px 66px;
        background-color: var(--unit-color);
        color: white;
        border-bottom: 1px solid #ddd;
    }   
    .hamburger-icon {
        position: fixed;
        top: 6px;
        left: 9px;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 2001;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 5px;
        padding: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
}

}