/* =========================================================
   0. 共通（全幅）
   ========================================================= */

.user-case-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.user-case-table th {
  background: #fff;
  color: #19447e;
  font-weight: bold;
  border: 1px solid #ccc;
  padding: 8px 10px;
  text-align: center;
}

.user-case-table td {
  background: #19447e;
  color: #fff;
  border: 1px solid #ccc;
  padding: 8px 10px 1px 18px;
  text-align: left;
}

.user-case-table td a {
  color: #fff;
  text-decoration: underline;
}


.pc-only-th {
  display: none;
}


.pdf-icon-css {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 30px;
  background: #ffffff;
  border: 2px solid #B30B00;
  border-radius: 2px;
  margin-right: 8px;
  box-sizing: border-box;
}


.pdf-icon-css::after {
  content: "PDF";
  position: absolute;
  left: -6px;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  height: 16px;
  background: #B30B00;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  line-height: 16px;
  text-align: center;
  border-radius: 2px;
}

.user-case-table td:nth-child(2),
.user-case-table td:nth-child(4) {
  text-align: center;
}


.pdf-icon-css {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.user-case-table td {
  vertical-align: middle;
}
.user-case-table {
  border-collapse: separate;
  border-spacing: 0;
}


.user-case-table th,
.user-case-table td {
  border: 1px solid #fff !important;
  box-sizing: border-box;
}


.user-case-table th:first-child,
.user-case-table td:first-child {
  border-left-width: 2px !important;
}


.user-case-table th:last-child,
.user-case-table td:last-child {
  border-right-width: 2px !important;
}









.zip-icon-css{
  position: relative;
  display: inline-block;
  width: 26px;
  height: 30px;
  background: linear-gradient(135deg, #FFE08A 0%, #FFD35C 100%);
  border: 2px solid #C89A00;
  border-radius: 3px;
  margin-right: 8px;
  box-sizing: border-box;
  overflow: visible; /* ←ラベルをはみ出させるため visible */
}

/* 黒い「ZIP」ラベル */
.zip-icon-css .zip-label{
  position: absolute;
  top: 3px;
  left: -8px;                 /* ← 左にはみ出し */
  background: #000;
  color: #fff;
  font-size: 8px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  padding: 1px 4px;
  border-radius: 2px;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

/* 右側の折れ感 */
.zip-icon-css::before{
  content:"";
  position:absolute;
  top:0;
  right:-6px;
  width:12px;
  height:100%;
  background: rgba(0,0,0,0.08);
  transform: skewX(-12deg);
}

/* ファスナー（右寄り） */
.zip-icon-css::after{
  content:"";
  position:absolute;
  top:2px;
  left:72%;
  width:5px;
  height:24px;
  background:
    repeating-linear-gradient(
      to bottom,
      #b7b7b7 0px,
      #b7b7b7 3px,
      #efefef 3px,
      #efefef 6px
    );
  border-radius:2px;
  box-shadow: 0 0 0 1px #8c8c8c inset;
}

/* ファスナーの持ち手 */
.zip-icon-css .zip-handle{
  position:absolute;
  top:2px;
  left:72%;
  transform: translateX(-20%);
  width:10px;
  height:6px;
  background: linear-gradient(#e3e3e3, #9a9a9a);
  border-radius:2px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.25);
}


/* 黒→赤、太さ控えめ */
.zip-icon-css .zip-label{
  position: absolute;
  top: 3px;
  left: -4px;
  background: #C40000;          /* ← 赤ラベル */
  color: #fff;
  font-size: 7px;               /* ← 少し小さく */
  font-weight: 600;             /* ← 太すぎない */
  font-family: Arial, sans-serif;
  padding: 0px 3px;             /* ← 横幅スリム化 */
  border-radius: 2px;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}










/* =========================================================
   1. [SP] ～767px
   ========================================================= */

@media (max-width: 767px) {

  /* 元: @media (max-width: 900px) */
  .user-case-table tbody tr:last-child td {
      border-bottom-width: 2px !important;
    }
}

/* =========================================================
   2. [TB] 768～1279px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1279px) {

  /* 元: @media (min-width: 900px) */
  .user-case-table tbody {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .user-case-table tr {
      display: grid;
      grid-template-columns: 3fr 1fr;
    }

    .user-case-table th,
    .user-case-table td {
      border: 1px solid #fff;
    }

  /* 元: @media (min-width: 900px) */
  .user-case-table thead tr {
      display: grid;
      grid-template-columns: 3fr 1fr 3fr 1fr;
    }


    .user-case-table thead th {
      display: block;
    }


    .user-case-table tbody {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }

    .user-case-table tbody tr {
      display: grid;
      grid-template-columns: 3fr 1fr;
    }

  /* 元: @media (min-width: 900px) */
  .pc-only-th {
      display: table-cell;
    }

    .user-case-table thead tr {
      display: grid;
      grid-template-columns: 3fr 1fr 3fr 1fr;
    }

  /* 元: @media (min-width: 900px) */
  .table-wrap {

      margin: 0 auto;
      padding-top: 15px;
    }

  /* 元: @media (min-width: 901px) */
  .user-case-table tbody tr:nth-last-child(2) td {
      border-bottom-width: 2px !important;
    }


    .user-case-table tbody tr:last-child td {
      border-bottom-width: 2px !important;
    }

  /* 元: @media (min-width: 901px) */
  .user-case-table tbody tr:nth-child(odd) td:last-child {
      border-right: none !important;
    }
}

/* =========================================================
   3. [PC] 1280px～
   ========================================================= */

@media (min-width: 1280px) {

  /* 元: @media (min-width: 900px) */
  .user-case-table tbody {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .user-case-table tr {
      display: grid;
      grid-template-columns: 3fr 1fr;
    }

    .user-case-table th,
    .user-case-table td {
      border: 1px solid #fff;
    }

  /* 元: @media (min-width: 900px) */
  .user-case-table thead tr {
      display: grid;
      grid-template-columns: 3fr 1fr 3fr 1fr;
    }


    .user-case-table thead th {
      display: block;
    }


    .user-case-table tbody {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }

    .user-case-table tbody tr {
      display: grid;
      grid-template-columns: 3fr 1fr;
    }

  /* 元: @media (min-width: 900px) */
  .pc-only-th {
      display: table-cell;
    }

    .user-case-table thead tr {
      display: grid;
      grid-template-columns: 3fr 1fr 3fr 1fr;
    }

  /* 元: @media (min-width: 900px) */
  .table-wrap {

      margin: 0 auto;
      padding-top: 15px;
    }

  /* 元: @media (min-width: 901px) */
  .user-case-table tbody tr:nth-last-child(2) td {
      border-bottom-width: 2px !important;
    }


    .user-case-table tbody tr:last-child td {
      border-bottom-width: 2px !important;
    }

  /* 元: @media (min-width: 901px) */
  .user-case-table tbody tr:nth-child(odd) td:last-child {
      border-right: none !important;
    }
}
