@charset "utf-8";

/* ==========================================
   団員募集ページ専用
========================================== */

/* 募集要項と日付の調整 */
.inline-heading {
  display: inline-block;
  vertical-align: middle; /* 上下の位置を中央で揃える */
  margin: 0 5px;          /* 必要に応じて左右の隙間を調整 */
}


/* テーブルの横スクロール対応（スマホ対策） */
.table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.recruit-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
    font-size: 0.9rem;
}

.recruit-table th {
    background-color: #5f5f60;
    color: #fff;
    padding: 12px 15px;
    border: 1px solid #ddd;
    white-space: nowrap;
}

.recruit-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
    color: #333;
    line-height: 1.6;
}

/* 交互に色を変えて読みやすくする */
.recruit-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* 「募集中」の文字を赤くする */
.recruiting {
    color: #e60012 !important;
    font-weight: bold !important;
}

/* ★追加：表の下の文章を囲む枠のみ */
.recruit-notes {
    border: 1px solid black;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    background-color: #161616;
}

/* スマホ向けの追加設定 */
@media screen and (max-width: 768px) {
    .recruit-table {
        font-size: 0.75rem; 
    }
    
    .recruit-table th, 
    .recruit-table td {
        padding: 8px 5px; 
    }
}

/* 募集要項 */
.recruit_description {
    font-family: serif;
    font-size: 0.85rem;
    color: #ddd;
}