@import"/css/common.css";

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    letter-spacing: 0;
    & a:link, & a:visited{
      color: #000;
    }
}

#pan{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #000;
    & h1{
      margin-top: 0;
      margin-bottom: 20px;
    }
}

.zenith_review_container {
    font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Yu Gothic', '游ゴシック', 'Meiryo', 'メイリオ', sans-serif;
    background-color: #f5f3f0;
    padding: 20px;
}

.aurora_card_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nebula_review_card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cosmic_header {
    padding: 20px;
}

.stellar_date_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}

.vortex_reviewer_name {
    font-weight: 500;
}

.galaxy_review_title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
    & a{
      text-decoration: underline;
      &:hover{
        text-decoration: none;
      }
    }
}

.prism_star_rating {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.quantum_star {
    color: #ffa500;
    font-size: 14px;
}

.eclipse_review_text {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 30px;
    padding: 0 !important;
    & p{
      padding: 0 !important;
    }
}

.horizon_product_section {
  padding: 20px;
  background: #F0F0E1;
}

.meteor_product_info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.manager_message {
    border: 4px solid #ddd;
    margin-bottom: 20px;
    padding: 20px;
    & h3{
      margin: 0 0 15px;
      font-size: 17px;
      font-weight: bold;
    }
    & .message_content{
      & p{
        margin: 0;
        padding: 0 !important;
        font-size: 13px;
        line-height: 1.5;
        &:not(:last-of-type){
          margin-bottom: 15px;
        }
      }
    }
}

.comet_product_image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.astro_product_details {
    flex: 1;
    min-width: 0;
}

.lunar_product_name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
}

.lunar_product_item{
  & a{
    text-decoration: underline;
  }
}

.nova_tag_list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
    & ul{
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 10px;
      list-style: none;
      margin: 0;
      & li{
        & a{
          position: relative;
          color: #911818 !important;
          font-size: 13px;
        }
        &:not(:last-of-type) {
          &::after {
            content: ",";
          }
        }
      }
    }
}

#archive-voice{

  .galaxy_review_title{
    margin-top: 10px;
    font-size: 14px;
  }
  .eclipse_review_text{
    margin-bottom: 0;
    font-size: 12px;
    color: #444;
  }
  .stellar_date_info{
    flex-wrap: wrap;
    gap: 5px;
  }
  .horizon_product_section{
    padding: 13px;
    width: 80%;
    margin: 0 auto 20px;
  }
  .cosmic_header{
    padding-bottom: 10px;
  }
  .nebula_review_card{
    max-width: 292px;
  }
  .category-title{
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
  }
  .nova_tag_list {
    width: 90%;
    margin: -15px auto 10px;
  }

}

/* ページネーション */
.pager {
    text-align: center;
    margin: 30px 0;
}

.pager ul {
    display: inline-flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.pager li {
    margin: 0;
}

.pager a,
.pager span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
    background: white;
    min-width: 40px;
    text-align: center;
}

.pager a:hover {
    background: #f5f5f5;
}

.pager .current {
    background: #911818;
    color: white;
    border-color: #911818;
}

.pager .prev a,
.pager .next a {
    background: #666;
    color: white;
    border-color: #666;
}

.pager .prev a:hover,
.pager .next a:hover {
    background: #555;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .page-title {
        font-size: 24px;
    }

    .zenith_review_container {
        padding: 12px;
    }

    .aurora_card_grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cosmic_header {
        padding: 16px;
    }

    .horizon_product_section {
        padding: 12px 16px;
    }

    .galaxy_review_title {
        font-size: 15px;
    }

    .eclipse_review_text {
        font-size: 13px;
    }

    #archive-voice{

      .horizon_product_section {
        width: 90%;
      }

      .aurora_card_grid{
        grid-template-columns: 1fr 1fr;
      }

      .nebula_review_card{
        max-width: inherit;
      }

    }

    .pager ul {
        gap: 3px;
    }

    .pager a,
    .pager span {
        padding: 6px 8px;
        min-width: 35px;
        font-size: 14px;
    }

}

@media (max-width: 480px) {

    #archive-voice{

      .aurora_card_grid {
          grid-template-columns: 1fr;
      }

    }

}
