/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 03 2026 | 13:25:07 */
#r8-policy-matching {
  max-width: 480px;
  margin: 0 auto;
  font-family: sans-serif;
}

/* プログレスバー */
.pm-progress {
  height: 6px;
  background: #eee;
  border-radius: 10px;
  margin-bottom: 20px;
}

.pm-progress-bar {
  height: 100%;
  width: 0%;
  background: #0073aa;
  border-radius: 10px;
  transition: 0.3s;
}

/* 進捗テキスト */
.pm-progress-text {
  text-align: right;
  font-size: 14px;
  margin-bottom: 5px;
}

/* カード */
.pm-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.pm-question-text {
  font-size: 18px;
  margin-bottom: 20px;
}

/* 共通ボタン */
.pm-btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  border-radius: 10px;
  border: 2px solid #ddd;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* ホバー（PC） */
.pm-btn:hover {
  background: #f0f7ff;
  border-color: #4da3ff;
}

/* 選択状態（スマホでも分かる） */
.pm-btn.active {
  background: #4da3ff;
  color: #fff;
  border-color: #4da3ff;
}

/* 強さ別（少しニュアンス差） */
.pm-btn.strong.active {
  background: #007bff;
}

.pm-btn.no.active {
  background: #999;
}

/* 戻るボタン */
.pm-back {
  margin-top: 15px;
  padding: 10px;
  width: 100%;
  border: none;
  background: #eee;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}

.pm-back:hover {
  background: #ddd;
}

/* 結果 */
.pm-result-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.pm-rank {
  font-weight: bold;
  color: #0073aa;
}

/* アニメ */
@keyframes fadeIn {
  from {opacity:0; transform: translateY(10px);}
  to {opacity:1; transform: translateY(0);}
}

/* 政策カード */
.pm-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pm-policy-card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pm-policy-card .pm-rank {
  font-size: 14px;
  color: #0073aa;
  font-weight: bold;
  margin-bottom: 5px;
}

.pm-policy-card .pm-title {
  font-size: 16px;
  line-height: 1.4;
}

/* SNSシェア*/
.pm-share {
  margin-top: 30px;
  text-align: center;
}

.pm-share-btn {
  display: block;
  margin: 8px auto;
  padding: 10px;
  width: 80%;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
}

.pm-share-btn.twitter {
  background: #000;
}

.pm-share-btn.line {
  background: #06c755;
}

/* 全ての政策を見る*/
.pm-cta {
  margin-top: 30px;
  text-align: center;
}

.pm-cta-btn {
  display: inline-block;
  padding: 12px 20px;
  background: #0073aa;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}



/* タイプ診断 */
.pm-user-type {
  background: #f5f7fa;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* 理由 */
.pm-reason {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
}