@charset "utf-8";
/* =========================================================
   PCBank Reviews (pcbrx) - Frontend CSS (clean)
   要望：
   - 星の横に「パソコン処分サービス」を並列表示
   - タグ：緑/黄/赤など背景色つき、角丸は少し（ほぼ四角）
   - タグは内容の下に表示（shortcodes側で順番変更）
   - タイトルと内容の間の余白を縮める
   ========================================================= */

/* Base */
.pcbrx, .pcbrx * { box-sizing: border-box; }
.pcbrx-wrap{
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 14px;
}

/* ===== Hero ===== */
.pcbrx-hero{
  text-align:center;
  margin: 8px 0 22px;
}
.pcbrx-title{
  margin:0 0 10px;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height:1.25;
  font-weight:900;
  letter-spacing:.02em;
}
.pcbrx-sub{
  margin:0;
  color: rgba(0,0,0,.72);
  font-size: 14px;
  line-height:1.7;
}

/* ===== Aggregation ===== */
.pcbrx-agg{
  display:flex;
  gap: 16px;
  align-items:stretch;
  justify-content:space-between;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 14px 14px;
  margin: 0 0 18px;
}
.pcbrx-agg-left{
  display:flex;
  gap: 12px;
  align-items:center;
  flex-wrap: wrap;
  min-width: 280px;
}
.pcbrx-agg-score{
  font-size: 34px;
  line-height:1;
  font-weight: 900;
  letter-spacing:.01em;
}
.pcbrx-agg-stars{
  display:flex;
  align-items:center;
  gap:6px;
}
.pcbrx-agg-total{
  font-size: 13px;
  font-weight: 900;
  color: rgba(0,0,0,.68);
}
.pcbrx-agg-right{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 6px;
  padding: 4px 8px;
}
.pcbrx-agg-line{
  display:flex;
  align-items:center;
  gap: 10px;
}
.pcbrx-agg-label{
  width: 52px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(0,0,0,.72);
}
.pcbrx-agg-bar{
  flex:1 1 auto;
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.10);
  overflow:hidden;
}
.pcbrx-agg-bar > span{
  display:block;
  height:100%;
  background: rgba(0,0,0,.55);
  border-radius: 999px;
}
.pcbrx-agg-cnt{
  width: 44px;
  text-align:right;
  font-size: 12px;
  color: rgba(0,0,0,.70);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 900px){
  .pcbrx-agg{ flex-direction:column; }
  .pcbrx-agg-left{ min-width: unset; }
}

/* ===== Filters ===== */
.pcbrx-filters{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  justify-content:center;
  margin: 0 0 18px;
}
.pcbrx-chip{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color: rgba(0,0,0,.82);
  text-decoration:none;
  font-weight: 900;
  font-size: 13px;
  line-height:1;
}
.pcbrx-chip:hover{ background: rgba(0,0,0,.03); }
.pcbrx-chip.is-active{
  background: rgba(0,0,0,.92);
  border-color: rgba(0,0,0,.92);
  color:#fff;
}
.pcbrx-chip small{ font-weight:900; opacity:.8; }

/* ===== List items ===== */
.pcbrx-item{
  display:flex;
  gap: 12px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  background:#fff;
  padding: 14px 14px;
  margin-bottom: 14px;
}
.pcbrx-ico{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.08);
  overflow:hidden;
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pcbrx-ico img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.pcbrx-ico-empty{
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: rgba(0,0,0,.10);
  display:block;
}
.pcbrx-main{ flex:1 1 auto; min-width: 0; }

/* 1行目：★ + サービス（横並び） */
.pcbrx-top{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap:wrap;
  margin: 0 0 10px;
}
.pcbrx-stars{
  color:#f5b301 !important;
  font-weight: 900;
  letter-spacing:.08em;
  font-variant-numeric: tabular-nums;
}

/* service badge（青のまま） */
.pcbrx-service{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(11,94,215,.22);
  background: rgba(11,94,215,.08);
  color:#0b5ed7;
  font-size:12px;
  font-weight:900;
  line-height:1;
}

/* Title / Text spacing */
.pcbrx-item-title{
  margin: 0 0 4px;   /* ← タイトルと内容の間を縮める */
  font-size: 15px;
  line-height:1.45;
  font-weight: 900;
}
.pcbrx-item-text{
  margin: 0 0 10px;
  line-height:1.85;
  color: rgba(0,0,0,.86);
  white-space: pre-wrap;
}

/* タグ：内容の下に表示（少し余白） */
.pcbrx-tags{
  display:flex;
  flex-wrap:wrap;
  gap: 6px;
  margin: 8px 0 6px; /* 内容の下の余白：少し */
}
.pcbrx-tag{
  display:inline-flex;
  align-items:center;
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius: 4px; /* ← ほぼ四角（少し角丸） */
  border:1px solid rgba(0,0,0,.10);
  line-height:1;
  background: rgba(0,0,0,.04);
  color: rgba(0,0,0,.76);
}

/* タグ色分け */
.pcbrx-tag--visit{
  background: rgba(25,135,84,.14);      /* 緑 */
  color:#198754;
  border-color: rgba(25,135,84,.26);
}
.pcbrx-tag--certificate{
  background: rgba(245,179,1,.14);      /* 黄 */
  color:#8a5a00;
  border-color: rgba(245,179,1,.30);
}
.pcbrx-tag--manifest{
  background: rgba(209,26,42,.10);      /* 赤 */
  color:#d11a2a;
  border-color: rgba(209,26,42,.22);
}
.pcbrx-tag--dispose{
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.78);
  border-color: rgba(0,0,0,.14);
}

.pcbrx-foot{
  font-size: 12px;
  color: rgba(0,0,0,.62);
}

@media (max-width: 520px){
  .pcbrx-item{ padding: 12px 12px; }
  .pcbrx-ico{ width: 34px; height: 34px; border-radius: 10px; }
}

/* ===== Pager ===== */
.pcbrx-pager{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  margin:18px 0 10px;
}
.pcbrx-pager > a.pcbrx-page{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:38px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  background:#f1f3f5;
  color: rgba(0,0,0,.78);
  text-decoration:none;
  font-weight:900;
  line-height:1;
}
.pcbrx-pager > a.pcbrx-page:hover{ background:#e9ecef; }
.pcbrx-pager > a.pcbrx-page.is-current{
  background:#0b5ed7;
  border-color: rgba(11,94,215,.40);
  color:#fff;
}
@media (max-width: 420px){
  .pcbrx-pager{ gap:6px; }
  .pcbrx-pager > a.pcbrx-page{
    min-width:34px;
    height:34px;
    border-radius:10px;
    padding:0 10px;
    font-size:14px;
  }
}

/* ===== Section titles ===== */
.pcbrx-sec-title{
  margin: 0 0 18px;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height:1.25;
  font-weight:900;
  text-align:center;
  letter-spacing:.02em;
}

/* ===== FAQ ===== */
.pcbrx-faq{
  margin: 64px 0 0;
  padding: 40px 0 12px;
  border-top: 1px solid rgba(0,0,0,.10);
}
.pcbrx-faq-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.pcbrx-faq-item{
  padding: 0 0 14px;
  margin: 0 0 18px;
  border-bottom: 1px solid rgba(0,0,0,.10);
}
.pcbrx-faq-q,
.pcbrx-faq-a{
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.pcbrx-faq-q{ margin:0 0 10px; }
.pcbrx-faq-a{ margin:0; line-height:1.9; }
.pcbrx-faq-mark{ flex:0 0 auto; font-weight:900; color:#0b5ed7; }
.pcbrx-faq-mark-a{ flex:0 0 auto; font-weight:900; color:#d11a2a; }
.pcbrx-faq-qtext{ font-weight:900; }
.pcbrx-faq-atext{ flex:1 1 auto; }
.pcbrx-faq-atext p{ margin:0 0 10px; }
.pcbrx-faq-atext p:last-child{ margin-bottom:0; }

/* ===== View-all link (optional class) ===== */
.pcbrx-viewall,
.pcbrx-all-link,
.pcbrx-more-link{
  background: #f1f3f5;
  border: 1px solid rgba(0,0,0,.12);
  padding: 10px 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items:center;
  justify-content:center;
  color: rgba(0,0,0,.78);
  text-decoration:none;
  font-weight:900;
}
.pcbrx-viewall:hover,
.pcbrx-all-link:hover,
.pcbrx-more-link:hover{ background:#e9ecef; }

/* ==============================
   Review Form (invite-only)
   ============================== */
.pcbr-form-wrap{
  margin: 26px auto 90px;
  padding: 28px 18px 32px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  background: #fff;
}
.pcbr-form-title{
  font-size: 18px;
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
  margin: 0 0 8px;
}
.pcbr-form-desc{
  font-size: 13px;
  color: rgba(0,0,0,.70);
  line-height: 1.8;
  text-align: center;
  margin: 0 0 20px;
}
.pcbr-errors{
  border: 1px solid rgba(209,26,42,.25);
  background: rgba(209,26,42,.06);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 16px;
}
.pcbr-errors ul{ margin: 0; padding-left: 18px; }
.pcbr-success{
  border: 1px solid rgba(11,94,215,.25);
  background: rgba(11,94,215,.06);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 12px;
  text-align: center;
  font-weight: 900;
}
.pcbr-field{ margin: 0 0 18px; }
.pcbr-field label{
  display:block;
  font-weight: 900;
  margin: 0 0 6px;
}
.pcbr-note{
  font-size: 12px;
  color: rgba(0,0,0,.65);
  margin: -2px 0 8px;
  line-height: 1.7;
}
.pcbr-req{ color: #d11a2a; font-weight: 900; }
.pcbr-field input[type="text"],
.pcbr-field textarea,
.pcbr-field select{
  width:100%;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 15px;
  background: #fff;
}
.pcbr-field textarea{ min-height: 120px; resize: vertical; }
.pcbr-field select{ height: 44px; }

.pcbr-rating{
  display:flex;
  flex-direction:row-reverse;
  justify-content:flex-end;
  gap: 6px;
}
.pcbr-rating input{ display:none; }
.pcbr-rating label{
  cursor:pointer;
  border: 1px solid rgba(0,0,0,.14);
  background: #f1f3f5;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 900;
  line-height: 1;
}
.pcbr-rating input:checked + label{
  background: #0b5ed7;
  border-color: rgba(11,94,215,.45);
  color:#fff;
}

.pcbr-btn{
  display:block;
  width: min(420px, 100%);
  margin: 26px auto 54px;
  padding: 14px 0;
  border: none;
  border-radius: 999px;
  background: #0b5ed7;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}
.pcbr-btn:hover{ filter: brightness(.96); }

/* honeypot */
.pcbr-hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}
