.ccm-page .black-table {
  width:100%;
  border-collapse: collapse;
  margin: 0 auto;
}
.ccm-page .black-table thead th {
  background:rgba(0,0,0,1.00);
  color:#FFF;
  padding:12px;
  border-right:#FFF solid 1px;
  border-bottom:#FFF solid 1px;
  font-weight: normal;
}
.ccm-page .black-table thead th a{
  color: rgba(255,255,255,1.00);
  text-decoration: none;
}
.ccm-page .black-table thead th:last-child {
  border-right:rgba(0,0,0,1.00) solid 1px;
}
.ccm-page .black-table tbody{
  counter-reset: number;
}
.ccm-page .black-table tbody tr{
  border-right:rgba(0,0,0,1.00) solid 1px;
  border-left: rgba(0,0,0,1.00) solid 1px;
}
.ccm-page .black-table tbody tr:first-child > th{
  border-top: rgba(0,0,0,1.00) solid 1px;
}
.ccm-page .black-table tbody .ccm-block-express-entry-list-row-b{
  background:rgba(0,0,0,0.04);
}
.ccm-page .black-table tbody tr:hover{
  background:rgba(255,153,102,0.1);
}
.ccm-page .black-table tbody tr:hover > th{
  background: rgba(255,153,102,1);
  border-right: rgba(255,153,102,1) 1px solid;
}
.ccm-page .black-table tbody th {
  background:rgba(0,0,0,1.00);
  color:#FFF;
  padding:10px 15px;
  border-bottom:#FFF solid 1px;
  vertical-align:top;
}
.ccm-page .black-table tbody tr:last-child th {
  border-bottom:rgba(0,0,0,1.00) solid 1px;
}
.ccm-page .black-table tbody td {
  padding:8px;
  border-left:#555 solid 1px;
  border-bottom:#555 solid 1px;
  text-align: center;
}
.ccm-page .black-table tbody a{
  color:rgba(26,13,171,1.00);
  text-decoration: none;
  font-weight: bold;
}
.ccm-page .black-table tbody a:visited{
  color:rgba(102,0,153,1.00);
}
.ccm-page .black-table tbody a:hover{
  text-decoration: underline;
}
.ccm-page .black-table tbody .applicant_image::after{
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
    content: "\f00e";
    margin: 0 0 0 4px;
    position: relative;
  color: initial;
}
.ccm-page .table_scroll{
  margin: 32px auto;
  position: relative;
  width: 100%;
}
.ccm-page .scroll-overlay-hint {
    display: none;
}
@media (max-width: 768px) {
/* 横スクロール対応 */
    .ccm-page .table_scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 auto 32px;
    }

    /* スマホでの不要な文字改行を防ぐ */
    .ccm-page .table_scroll table.black-table th,
    .ccm-page .table_scroll table.black-table td {
        white-space: nowrap;
    }

    /* 💡 半透明の黒い膜（オーバーレイ）の配置 */
    .ccm-page .scroll-overlay-hint {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4); /* 黒の40%の薄さ */
        color: #ffffff;
        align-items: center;
        justify-content: center;
        z-index: 10;
        cursor: pointer;
        transition: opacity 0.3s ease;
    }

    /* 💡 中央の案内テキストと動くバッジの装飾 */
    .ccm-page .scroll-overlay-hint .hint-text {
        background: rgba(0, 0, 0, 0.8);
        padding: 10px 18px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: bold;
        letter-spacing: 0.05em;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        animation: pulseHint 1.8s infinite ease-in-out; /* ほんのり点滅させてアピール */
    }
}
@keyframes pulseHint {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.04); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}

/* モーダル基本構造 */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex; justify-content: center; align-items: center;
}
.modal-content {
  background: rgba(255, 255, 255, 0.95);
  width: 90%; height: 85%;
  max-width: 1000px;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
}
.close-modal-btn {
  position: absolute; top: -40px; right: 0;
  background: none; border: none; color: white; font-size: 18px; cursor: pointer;
}

/* 追加した詳細ボタンのカスタムデザイン（RGBA指定、既存リンク色の干渉を受けないように上書き） */
.ccm-page .black-table tbody a.btn-detail {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    text-decoration: none !important;
    color: rgba(0, 0, 0, 0.85) !important;
    font-size: 13px;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}
.ccm-page .black-table tbody a.btn-detail:visited {
    color: rgba(0, 0, 0, 0.85) !important;
}
.ccm-page .black-table tbody a.btn-detail:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    color: rgba(255, 255, 255, 1.0) !important;
    border-color: rgba(0, 0, 0, 0.8) !important;
}
