/* 基本スタイル */
body {
    background: #f5f5f5;
    margin: 0;
    font-family: 'Hind Siliguri', sans-serif;
}

h1,h2,h3,h4,p{
 font-weight: normal; 
 margin: 0;
 padding: 0;
}


.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 {
    width: 250px;
    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;
}

.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;
}

.header-sub {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.85rem;
    opacity: 0.9;
}

.main-title {
    text-align: center;
    color: #a6a6a6;
}

h2.main-title  {
margin:36px 0px 36px 0;
}


/* ヘッダー */
/* PC デフォルト */
header {
  background-color: var(--unit-color);
  color: white;
  padding: 0px;
  position: relative;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1.5rem 2rem;
  background-color: var(--unit-color);
  color: white;
}

header small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  opacity: 0.9;
}
.header-bar{
padding: 10px 10px 0px 10px;
}

.header-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.header-title {
    margin: 0;
    font-size: 23px;
    font-weight: 400;
}

.header-welcome {
    margin: 11px 0 0 auto;
    font-size: 14px;
    text-align: right;
    position: absolute;
    top: 12px;
    right: 16px;
}


table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 14px;
}

table th,
table td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}

table thead {
    background-color: #f4f4f4;
}

table tbody tr:hover {
    background-color: #f0f8ff;
}


form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}


.unit-flex-left {
    flex: 1;
}

.unit-flex-right {
    flex: 0.4;
}

footer {
    background-color: #f2f2f2;
    color: #333;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
    border-top: 1px solid #ccc;
    margin-top: 40px;
}

/* ナビ */
.header-welcome a {
    color: white;
    text-decoration: none;
}



main {
    padding: 10px;
}

/* 氏名表示のレスポンシブ対応 */
.name-pc {
    display: inline;
}

.name-mobile {
    display: none;
}

/* 携帯端末（768px以下）では2行表示 */
@media (max-width: 768px) {
    .name-pc {
        display: none;
    }
    
    .name-mobile {
        display: block;
    }
}

/* members.php テーブルのレスポンシブ対応 */
.header-pc, .data-pc {
    display: table-cell;
}

.header-mobile, .data-mobile {
    display: none;
}

/* 携帯端末（768px以下）ではアイコン表示 */
@media (max-width: 768px) {
    .header-pc, .data-pc {
        display: none;
    }
    
    .header-mobile, .data-mobile {
        display: table-cell;
    }
}
