/**
 * ORIPA 評価テーブル フロントエンドスタイル
 */

/* テーブル全体のスタイル */

.oripa-evaluation-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5em;
    margin-bottom: 8px !important;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  
    th {
      background-color: rgba(0, 20, 31, 0.8);
      padding: 10px;
      text-align: center;
      border: 1px solid #ddd;
      font-weight: bold;
    }
  
    td {
      padding: 10px;
      border: 1px solid #ddd;
      vertical-align: middle;
      background-color: unset;
      .ranking-button {
        a {
            display: inline-block;
            padding: 8px 8px;
            background-image: url(/wp-content/themes/cocoon-child-master/images/cv-button-arrow.png), linear-gradient(93deg, rgba(222, 47, 47, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
            background-repeat: no-repeat;
            background-size: auto 100%;
            background-position: center right;
            border-bottom: .2em solid #b91212;
            color: #fff !important;
            text-decoration: none !important;
            border-radius: 4px;
            font-weight: bold;
            transition: background-color 0.3s ease;
            font-size: 14px;
            width: 100%;
            text-align: center;
            
            &:hover {
                color: unset;
                opacity: unset;
                filter: brightness(1.5);
                box-shadow: 0 0 10px #ff7e61, 0 0 10px #ff7e61, 0 0 10px #ff7e61;
            }
        }
        
        img {
            max-width: 100%;
            height: auto;
            display: inline-block;
        }
    }
    }
  
    tr {
      &.even {
        background-color: unset;
      }
  
      &.odd td {
        background-color: rgba(34, 34, 34, 0.8);
      }
    }
  
    .star {
      color: #ff6600;
    }
  
    a {
      color: #0066cc;
      text-decoration: none;
      transition: color 0.2s;
    }
  
    .header-title {
      text-align: center;
      font-size: 14px;
    }
  
    .header-star {
      color: #ff6600;
      font-size: 18px;
    }
  
    .header-rating {
      font-size: 18px;
    }
  
    .header-content {
      font-size: 10px;
    }
  
    .rating-star {
      color: #ff6600;
    }
  
    a:hover {
      color: #004080;
      text-decoration: underline;
    }
  
    .emphasis {
      font-weight: bold;
      color: #ff0000;
    }
  }
  
  /* レスポンシブ対応 */
  @media screen and (max-width: 600px) {
    .oripa-evaluation-table {
      th, td {
        padding: 8px;
        font-size: 13px;
      }
    }
  }
  
  @media screen and (max-width: 480px) {
    .oripa-evaluation-table {
      th, td {
        padding: 6px;
        font-size: 12px;
      }
    }
  }
  
  /* テーブル注釈のスタイル */
  .oripa-evaluation-table-note {
    margin-top: 0px;
    font-size: 12px;
    line-height: 1.5;
    color: #fff;
    position: relative;
  }
