@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
.card-container {
    display: flex;
    align-items: center;
    gap: 20px; /* 画像とテーブルの間隔 */
    max-width: 800px; /* コンテンツ幅を制限 */
    margin: 20px auto; /* 中央寄せ */
}

.card-image img {
    max-width: 200px; /* 画像の最大幅 */
    height: auto; /* アスペクト比を維持 */
    border-radius: 8px; /* 角丸 */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* 影をつける */
}

.card-info {
    flex: 1; /* テーブル部分を伸縮可能に */
}

.card-info h1 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card-info table {
    width: 100%;
    border-collapse: collapse;
}

.card-info th, .card-info td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.card-info th {
    background-color: #f4f4f4;
    font-weight: bold;
}
.card-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
}

.card-item {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.card-image img {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
}

.card-info {
    flex: 1;
    padding-left: 20px;
}

.card-info h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.card-info table {
    width: 100%;
    border-collapse: collapse;
}

.card-info th, .card-info td {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: left;
}

.card-info th {
    background-color: #f4f4f4;
    font-weight: bold;
}

/* ページネーション */
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 2px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #f4f4f4;
}

.pagination .current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* 投稿本文（the_content）のスタイル整形 */
.single-card .card-detail h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.single-card .card-detail h2 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 5px;
}

.single-card .card-detail p img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 30px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.single-card .card-detail ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.single-card .card-detail ul li {
  background: #f9f9f9;
  margin-bottom: 10px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}
.top-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card-item {
  width: 220px;
  display: flex;
  flex-direction: column; /* ←縦並び固定 */
  align-items: center;
  text-align: center;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box; /* ←余白崩れ対策 */
}

.card-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 1px 0;
  width: 100%;
}

.btn-a-wrap {
  width: 100%;
}

.btn-a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 8px 12px;
  font-size: 13px;
  background: #004b91;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  box-sizing: border-box;
  font-weight: bold;
}

.btn-bc-wrap {
  display: flex;
  width: 100%;
  gap: 8px;
}

.btn-b,
.btn-c {
  flex: 1; /* ←幅を均等に！ */
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  box-sizing: border-box;
}

.btn-b { background: #00a0d2; }
.btn-c { background: #46b450; }
@media (max-width: 600px) {
  .top-card-list {
    justify-content: space-between;
    max-width: 460px;
    margin: 0 auto;
    gap: 12px 0;
  }

  .card-item {
    width: calc(50% - 10px); /* ← 2列表示のための幅調整 */
  }

  .btn-bc-wrap {
    flex-direction: column; /* ←スマホ時はボタン縦並びに */
    gap: 6px;
  }

  .btn-b,
  .btn-c {
    width: 100%;
  }
}
/* ラップ：全体カード一覧 */
.archive-list-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 30px 15px;
}

.archive-card-list {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  transition: box-shadow 0.2s;
}

.archive-card-list:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.archive-card-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.archive-card-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.archive-card-title {
  font-size: 16px;
  margin-top: 10px;
  font-weight: bold;
}

.archive-card-price {
  font-size: 14px;
  color: #555;
  margin-top: 6px;
}

.archive-card-price--none {
  color: #aaa;
}

/* ✅ スマホ（600px以下）で2列に切り替え */
@media (max-width: 600px) {
  .archive-card-list {
    flex: 1 1 calc(32% - 10px) !important;
    max-width: calc(32% - 10px) !important;
  }
}
.search-sort-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
	background-color:#ffffff;
	padding:10px;
}

.search-input,
.sort-select {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  min-width: 200px;
  transition: 0.3s;
}

.search-input:focus,
.sort-select:focus {
  border-color: #0073aa;
  box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
  outline: none;
}

.search-button {
  padding: 10px 20px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
	width:100%;
}

.search-button:hover {
  background-color: #005f8d;
}
.box-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.box-item {
  background: #f9f9f9;
  border-radius: 8px;
  text-align: center;
/*   padding: 10px; */
  transition: 0.3s;
}

.box-item:hover {
  transform: scale(1.03);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-thumb img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 5px;
}

.card-thumb.no-image {
  height: 150px;
  background: #eee;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.card-title {
  font-size: 14px;
  margin-top: 10px;
  color: #333;
}
/* card */
.single-card {
  max-width: 100%;
  margin: 0 auto;
  padding: 30px;
}

.card-detail h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.card-detail .card-image {
  text-align: center;
  margin-bottom: 20px;
}

.card-detail .card-image img {
  max-width: 70%;
  height: auto;
}

.card-detail table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  margin-bottom: 30px;
}

.card-detail th,
.card-detail td {
  padding: 10px;
}

.card-detail tr:nth-child(odd) th {
  background: #f9f9f9;
}

.card-detail tr:nth-child(even) th {
  background: #f0f0f0;
}

.card-detail p {
  margin-bottom: 10px;
}

.card-detail .back-button {
  text-align: center;
  margin-top: 30px;
}

.card-detail .back-button a {
  display: inline-block;
  padding: 10px 20px;
  background: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

/* モバイル時は100%で最大化して表示 */
@media screen and (max-width: 768px) {
  .card-detail .card-image img {
    max-width: 100%;
  }
}
#top-card-container{
	display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.box-search-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px auto 40px;
  max-width: 600px;
  padding: 10px;
  background: #f0f4f8;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.box-search-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.box-search-button {
  padding: 10px 20px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.box-search-button:hover {
  background-color: #005f8d;
}
.load-more-button {
  padding: 12px 30px;
  background: linear-gradient(135deg, #0073aa, #00b3b3);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: auto;
  max-width: 90vw;
}

.load-more-button:hover {
  background: linear-gradient(135deg, #005f8d, #009999);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.load-more-button:active {
  transform: scale(0.98);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* ✅ スマホ対応 */
@media screen and (max-width: 600px) {
  .load-more-button {
    width: 100%;
    font-size: 18px;
    padding: 14px 20px;
    border-radius: 10px;
  }
}
/* ガチャサーチ */


.gacha-search-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.gacha-search-form {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2rem;
}

.gacha-search-form input,
.gacha-search-form select {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.gacha-search-form button {
  background-color: #0073aa;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.gacha-search-form button:hover {
  background-color: #005f8d;
}

.gacha-search-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
	list-style: none;
    justify-content: center;
}

.gacha-search-item {
  background: #fff;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.gacha-search-item:hover {
  transform: scale(1.02);
}

.gacha-search-item-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.gacha-search-item-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.gacha-search-pt {
  font-weight: bold;
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: #333;
}

.gacha-search-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #0073aa;
  font-weight: 500;
}

.gacha-search-link:hover {
  text-decoration: underline;
}

.gacha-search-none {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
}

/* ====== モバイル対応 ====== */
@media screen and (max-width: 767px) {
  .gacha-search-form {
    flex-direction: column;
    gap: 10px;
  }

  .gacha-search-form input,
  .gacha-search-form select,
  .gacha-search-form button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .gacha-search-title {
    font-size: 1.6rem;
  }

  .gacha-search-list {
    grid-template-columns: 1fr;
padding-left:0;
  }

  .gacha-search-item {
    padding: 1.5rem;
    font-size: 1.1rem;
  }

  .gacha-search-pt {
    font-size: 1.3rem;
  }

  .gacha-search-item-title {
    font-size: 1.4rem;
  }
}
.gacha-search-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 24px 0;
}

.gacha-search-form {
  margin-bottom: 24px;
}

.gacha-search-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gacha-search-item {
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 24px;
}

.gacha-search-item-title {
 font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: skyblue;
  padding: 14px 38px;
  border-radius: 28px;
  box-shadow: 0 6px 24px rgba(0,124,250,0.09);
  width: fit-content;
  margin: 0 auto 32px auto;
  letter-spacing: 0.1em;
  position: relative;
}
.gacha-search-item-title::before{
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -12px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,124,250,0.13);
  z-index: -1;
  filter: blur(2px);
}
.gacha-search-item-img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 10px;
  margin-bottom: 10px;
  display: block;
}

.gacha-search-pt {
  font-size: 0.95em;
  margin-bottom: 8px;
}

.gacha-search-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
	    justify-content: center;
}

.gacha-search-link,
.gacha-search-detail {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}

.gacha-search-link { background: #007cfa; }
.gacha-search-detail { background: #2ecc71; }

.gacha-search-link:hover { background: #005fa3; }
.gacha-search-detail:hover { background: #27ae60; }
.gacha-search-pt {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  color: #333;
  background: #e8f6ff;
  border-left: 6px solid #007cfa;
  padding: 3px 12px 3px 10px;
  border-radius: 5px 14px 14px 5px;
  margin-bottom: 8px;
  font-weight: 600;
  gap: 6px;
}
.gacha-search-pt::before {
  content: "PT";
  color: #007cfa;
  font-size: 0.9em;
  background: #fff;
  padding: 1px 8px;
  border-radius: 10px;
  font-weight: bold;
  margin-right: 5px;
}
.gacha-search-more-btn {
  display: block;
  margin: 32px auto 0 auto;
  padding: 12px 36px;
  font-size: 1.1em;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #007cfa 60%, #2ecc71 100%);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: opacity .2s, background .2s;
}
.gacha-search-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/*  */
.form-box {
  background: #fff;
  padding: 2.2em 2.5em 2em 2.5em;
  border-radius: 18px;
  max-width: 100%;
  margin: 2em auto;
  box-shadow: 0 6px 24px rgba(115, 103, 240, 0.13), 0 1.5px 6px rgba(0,0,0,0.07);
  position: relative;
}

.form-box h2 {
  margin-top: 0;
  font-size: 1.6em;
  color: #6f3fd4;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 1.5em;
}

.row, .prize-group {
  display: flex;
  align-items: center;
  margin-bottom: 1.15em;
  gap: 0.7em;
}

label {
  width: 7.2em;
  font-size: 1em;
  color: #6d6d8a;
  font-weight: 500;
  flex-shrink: 0;
}

input[type="number"] {
  width: 6em;
  padding: 0.35em 0.6em;
  font-size: 1em;
  border: 1.5px solid #c4b5fd;
  border-radius: 6px;
  outline: none;
  background: #faf9ff;
  transition: border 0.2s;
}
input[type="number"]:focus {
  border: 1.5px solid #a78bfa;
  background: #f4f3ff;
}

input[readonly] {
  background: #eee;
  color: #aaa;
}

button[type="submit"] {
  display: block;
  width: 100%;
  padding: 0.8em;
  background: linear-gradient(90deg, #7e5bef 40%, #8e9ffe 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.08em;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
  margin-top: 3.2em;
  box-shadow: 0 2px 8px rgba(129, 140, 248, 0.07);
}

button[type="submit"]:hover {
  background: linear-gradient(90deg, #6d28d9 30%, #818cf8 100%);
  box-shadow: 0 4px 16px rgba(129, 140, 248, 0.16);
}

hr {
  border: none;
  border-top: 1.5px solid #ede9fe;
  margin: 1.5em 0;
}

.result {
  background: #faf7ff;
  border-radius: 14px;
  padding: 1.2em 1.3em 1.3em 1.3em;
  margin-top: 2em;
  box-shadow: 0 1.5px 9px rgba(168, 139, 250, 0.08);
  animation: fadein 0.5s;
}

.result h3 {
  margin: 0 0 1em 0;
  color: #6f3fd4;
  font-size: 1.25em;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.result table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.9em;
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
}

.result th, .result td {
  text-align: center;
  padding: 0.7em 0.3em;
  font-size: 1em;
}

.result th {
  background: #ede9fe;
  color: #6f3fd4;
  font-weight: 600;
  border-bottom: 2px solid #d1c4e9;
  font-size: 1.06em;
}

.result tr:nth-child(even) td {
  background: #f3f0fd;
}

.result tr:hover td {
  background: #ede9fe;
}

@keyframes fadein {
  0% { opacity: 0; transform: translateY(32px);}
  100% { opacity: 1; transform: none;}
}

@media (max-width: 600px) {
  .form-box, .result {
    padding: 1.1em 0.6em;
    max-width: 98vw;
  }
  label {
    width: 6em;
    font-size: 0.97em;
  }
  .result table, .result th, .result td {
    font-size: 0.92em;
  }
}

p {
  color: #888;
  font-size: 0.98em;
  margin: 0.5em 0 1em 0;
}
/* ボタン */
.button-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.action-button {
  display: inline-block;
  flex: 1 1 200px;
  max-width: 240px;
  padding: 12px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
  color: white;
  white-space: nowrap;
}

.action-button.buy {
  background-color: #4CAF50;
}

.action-button.sell {
  background-color: #2196F3;
}

.action-button:hover {
  opacity: 0.9;
}

/* レスポンシブ対応 */
@media (max-width: 500px) {
  .button-container {
    flex-direction: column;
    align-items: center;
  }

  .action-button {
    max-width: 90%;
  }
}
/* btn */
.individual-rating {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  justify-content: center;
}

.rate-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 70px;
  height: 70px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  border-radius: 12px;
  transition: transform 0.2s ease, background-color 0.2s;
  padding: 8px;
}

.rate-button:hover {
  transform: scale(1.05);
}

.rate-button i {
  font-size: 22px;
  margin-bottom: 4px;
}

.rate-count {
  font-size: 14px;
  font-weight: bold;
}

/* 各タイプの色 */
.rate-good {
  background-color: #43a047; /* 緑 */
}

.rate-bad {
  background-color: #e53935; /* 赤 */
}

.rate-heart {
  background-color: #8e24aa; /* 紫 */
}


/* ランキング */
.ranking-loop {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.ranking-box {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 20px;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.ranking-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.ranking-content {
  flex: 1;
  min-width: 200px;
}

.ranking-box h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
	    width: 100%;
}

.winrate {
  font-size: 1.2rem;
  font-weight: bold;
  color: #0073aa;
}

.rating {
  font-weight: bold;
  margin-top: 5px;
}

.individual-rating {
  margin-top: 10px;
  display: flex;
  gap: 16px;
}

.individual-rating a {
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 5px;
width: 30%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.individual-rating a:hover {
  background: #0073aa;
  color: #fff;
}
.ranking-score-table{
	text-align:center;
}
.ranking-links .btn-link {
  display: inline-flex;
  align-items: center;         /* 中央寄せ */
  justify-content: center;
  padding: 10px 16px;
  height: 48px;                /* 明示的に高さ統一 */
  line-height: 1.2;
	width:100%;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
color:#ffffff;
	background-color: #0095d9; 
}

.ranking-links .btn-link:nth-child(2) {
  background-color: #e60033;      /* 背景色の上書きだけでOK */
}

@media (max-width: 600px) {
  .ranking-links {
    flex-direction: column;
  }
}
/* レスポンシブ：画面が768px以下になったら20%に変更 */
@media screen and (max-width: 768px) {
  .individual-rating a {
    width: 20%;
  }
}
  #simple-vote-form {
  width: 100%; /* ← 画面いっぱい */
  max-width: none; /* ← 制限解除 */
  border: 1px solid #ddd;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  box-sizing: border-box; /* ← padding含めたサイズ調整 */
}


 #simple-vote-form label,
#simple-vote-form select {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 0;
}

#simple-vote-form label {
  font-weight: bold;
  margin-right: 10px;
  color: #333;
	width: 100%;
}

    #ranking_target {
      width: 100%;
      padding: 8px 10px;
      font-size: 16px;
      margin-bottom: 16px;
      border-radius: 5px;
      border: 1px solid #ccc;
    }

    .simple-vote-icons {
      display: flex;
      justify-content: space-between;
      gap: 10px;
    }

    .vote-icon {
      flex: 1;
      padding: 10px;
      font-size: 14px;
      background: #0073aa;
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .vote-icon:hover {
      background: #005f8d;
    }

    .vote-icon[data-type="bad"] {
      background: #d93636;
    }

    .vote-icon[data-type="bad"]:hover {
      background: #b72828;
    }

    .vote-icon[data-type="heart"] {
      background: #888;
    }

    .vote-icon[data-type="heart"]:hover {
      background: #666;
    }
/* おりくじ */
.orikuji-banner {
  background: #fff7e6;
  border: 2px solid #ffb300;
  border-radius: 16px;
  max-width: 600px;
  margin: 32px auto;
  box-shadow: 0 4px 16px rgba(255,179,0,0.08);
  font-family: 'Segoe UI', 'Meiryo', sans-serif;
  padding: 24px 20px;
}
.orikuji-banner__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 12px;
}
.orikuji-banner__catch {
  background: #ffb300;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 1.1em;
  margin-bottom: 6px;
  display: inline-block;
}
.orikuji-banner__title {
  font-size: 1.2em;
  font-weight: bold;
  color: #d17b00;
  line-height: 1.4;
}
.orikuji-banner__main {
  margin-top: 8px;
}
.orikuji-banner__lead {
  font-size: 1em;
  margin-bottom: 12px;
  color: #333;
}
.orikuji-banner__highlight {
  background: #fff3cd;
  color: #d17b00;
  font-weight: bold;
  padding: 0 4px;
  border-radius: 4px;
}
.orikuji-banner__features {
  margin: 0 0 12px 0;
  padding-left: 1.2em;
  color: #6d4c00;
  font-size: 0.98em;
}
.orikuji-banner__features li {
  margin-bottom: 2px;
}
.orikuji-banner__hashtag {
  color: #ffb300;
  font-weight: bold;
}
.orikuji-banner__info {
  font-size: 0.98em;
  margin-bottom: 8px;
  color: #7a5a00;
}
.orikuji-banner__number {
  color: #e65100;
  font-weight: bold;
  font-size: 1.1em;
}
.orikuji-banner__reason {
  font-size: 1em;
  margin-bottom: 10px;
  color: #d17b00;
}
.orikuji-banner__voices {
  background: #fff3cd;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  color: #7a5a00;
  font-size: 0.97em;
}
.orikuji-banner__voices blockquote {
  margin: 0 0 4px 0;
  padding-left: 1em;
  border-left: 3px solid #ffb300;
  font-style: italic;
  background: none;
}
.orikuji-banner__voices span {
  display: block;
  margin-top: 4px;
  font-size: 0.95em;
}
.orikuji-banner__cta {
  text-align: center;
  margin-top: 10px;
}
.orikuji-banner__button {
  display: inline-block;
  background: linear-gradient(90deg, #ffb300 60%, #ffd54f 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1.1em;
  padding: 12px 32px;
  border-radius: 32px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(255,179,0,0.12);
  transition: background 0.2s, box-shadow 0.2s;
}
.orikuji-banner__button:hover {
  background: linear-gradient(90deg, #ffd54f 60%, #ffb300 100%);
  box-shadow: 0 4px 16px rgba(255,179,0,0.18);
  color: #fff;
}
@media (max-width: 600px) {
  .orikuji-banner {
    padding: 14px 4vw;
    font-size: 0.97em;
  }
  .orikuji-banner__button {
    width: 100%;
    font-size: 1em;
    padding: 10px 0;
  }
}
/* エクストレカ */
.epoint-feature-box {
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  padding: 2.5em 1.5em 2em 1.5em;
  max-width: 650px;
  margin: 2em auto 2.5em auto;
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
  color: #3a2c1a;
}
.epoint-title {
  font-size: 2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.7em;
  letter-spacing: 0.05em;
  color: #e09b2d;
  text-shadow: 0 2px 8px #fff3d1;
}
.epoint-lead {
  font-size: 1.15em;
  text-align: center;
  margin-bottom: 1.5em;
  line-height: 1.7;
}
.epoint-highlight {
  background: linear-gradient(90deg, #ffe9b0 60%, #fff3d1 100%);
  padding: 0.1em 0.4em;
  border-radius: 0.5em;
  font-weight: 600;
  color: #b97a1a;
}
.epoint-ep {
  color: #fff;
  background: #e09b2d;
  padding: 0.1em 0.5em;
  border-radius: 0.5em;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0.2em;
  font-size: 1.05em;
}
.epoint-features {
  margin: 2em 0 1.5em 0;
}
.epoint-subtitle {
  font-size: 1.2em;
  font-weight: 600;
  color: #b97a1a;
  margin-bottom: 1em;
  text-align: left;
  border-left: 5px solid #ffe9b0;
  padding-left: 0.7em;
}
.epoint-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.epoint-list li {
  display: flex;
  align-items: flex-start;
  background: #fff6e0;
  border-radius: 10px;
  margin-bottom: 1em;
  padding: 1em 1em 1em 0.8em;
  box-shadow: 0 2px 8px rgba(224,155,45,0.07);
  position: relative;
}
.epoint-badge {
  display: inline-block;
  min-width: 2em;
  height: 2em;
  background: linear-gradient(135deg, #ffe9b0 60%, #e09b2d 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1em;
  border-radius: 50%;
  text-align: center;
  line-height: 2em;
  margin-right: 1em;
  box-shadow: 0 2px 6px #ffe9b0;
  border: 2px solid #fff;
}
.epoint-desc {
  display: block;
  color: #6d4c1a;
  font-size: 0.98em;
  margin-top: 0.3em;
  line-height: 1.6;
}
.epoint-scene {
  background: #fff3d1;
  border-left: 5px solid #e09b2d;
  border-radius: 0 12px 12px 0;
  margin: 2em 0 1.5em 0;
  padding: 1.2em 1em 1.2em 1.5em;
}
.epoint-scene-title {
  font-size: 1.08em;
  font-weight: 600;
  color: #b97a1a;
  margin-bottom: 0.7em;
}
.epoint-quote {
  display: inline-block;
  background: #ffe9b0;
  color: #b97a1a;
  font-weight: 700;
  padding: 0.2em 0.7em;
  border-radius: 0.7em;
  margin: 0.5em 0;
  font-size: 1.05em;
}
.epoint-message {
  margin-top: 2em;
  text-align: center;
  font-size: 1.08em;
  color: #b97a1a;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.epoint-insurance {
  background: linear-gradient(90deg, #ffe9b0 60%, #fff3d1 100%);
  color: #b97a1a;
  padding: 0.1em 0.5em;
  border-radius: 0.5em;
  font-weight: 700;
}
@media (max-width: 600px) {
  .epoint-feature-box {
    padding: 1.2em 0.5em 1.5em 0.5em;
  }
  .epoint-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9em 0.7em 0.9em 0.7em;
  }
  .epoint-badge {
    margin-bottom: 0.5em;
    margin-right: 0;
  }
  .epoint-scene {
    padding: 1em 0.7em 1em 1em;
  }
}
/*オリパワン  */
.oripaone-features {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2em 1.5em;
  max-width: 600px;
  margin: 2em auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  font-family: 'Segoe UI', 'Hiragino Sans', 'Meiryo', sans-serif;
}
.oripaone-features h2 {
  text-align: center;
  color: #e67e22;
  margin-bottom: 1.2em;
  font-size: 1.5em;
  letter-spacing: 0.05em;
}
.oripaone-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.oripaone-feature-list li {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 1.2em;
  padding: 1.2em 1em 1em 3.2em;
  position: relative;
  box-shadow: 0 1px 4px rgba(230, 126, 34, 0.07);
}
.feature-badge {
  position: absolute;
  left: 1em;
  top: 1.2em;
  background: #e67e22;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 2em;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  box-shadow: 0 1px 4px rgba(230, 126, 34, 0.15);
}
.user-voice {
  margin-top: 0.7em;
  background: #f1f8e9;
  border-left: 4px solid #81c784;
  padding: 0.7em 1em;
  border-radius: 6px;
}
.user-voice-label {
  font-weight: bold;
  color: #388e3c;
  margin-right: 0.5em;
  font-size: 0.98em;
}
.user-voice blockquote {
  margin: 0.3em 0 0.3em 0;
  padding-left: 1em;
  border-left: 2px solid #b2dfdb;
  color: #333;
  font-style: italic;
  background: none;
  font-size: 0.98em;
}
.feature-note {
  color: #888;
  font-size: 0.97em;
  margin-top: 0.5em;
}
.hashtag {
  color: #1976d2;
  font-weight: bold;
}
.oripaone-feature-list a {
  color: #e67e22;
  text-decoration: underline;
}
/* オリパDASH */
.oripadash-fukubukuro {
  background: #fff8f0;
  border: 2px solid #f5b041;
  border-radius: 12px;
  padding: 24px 18px;
  margin: 24px 0;
  font-family: 'Segoe UI', 'Meiryo', sans-serif;
  color: #333;
  max-width: 600px;
}
.oripadash-title {
  color: #d35400;
  font-size: 1.6em;
  margin-bottom: 8px;
  font-weight: bold;
  text-align: center;
}
.oripadash-lead {
  font-size: 1.1em;
  margin-bottom: 18px;
  text-align: center;
}
.oripadash-highlight {
  color: #e67e22;
  font-weight: bold;
  font-size: 1.1em;
}
.oripadash-section-title {
  color: #b9770e;
  font-size: 1.15em;
  margin-top: 18px;
  margin-bottom: 8px;
  font-weight: bold;
  border-left: 4px solid #f5b041;
  padding-left: 8px;
}
.oripadash-point-list,
.oripadash-recommend-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}
.oripadash-point-list li {
  margin-bottom: 16px;
  background: #fff3e0;
  border-radius: 8px;
  padding: 12px 10px 10px 10px;
  border-left: 4px solid #f5b041;
  position: relative;
}
.oripadash-check {
  color: #f5b041;
  font-size: 1.2em;
  margin-right: 6px;
}
.oripadash-example {
  background: #f9e79f;
  border-radius: 6px;
  padding: 6px 10px;
  margin: 8px 0 4px 0;
  font-size: 0.98em;
}
.oripadash-pt {
  color: #d35400;
  font-weight: bold;
}
.oripadash-arrow {
  color: #b9770e;
  font-weight: bold;
  margin: 0 4px;
}
.oripadash-upgrade {
  color: #e67e22;
  font-weight: bold;
}
.oripadash-surprise {
  margin-top: 4px;
  font-style: italic;
  color: #7d6608;
}
.oripadash-sns-list {
  margin: 6px 0 0 18px;
  padding-left: 0;
  list-style: disc;
  color: #784212;
  font-size: 0.97em;
}
.oripadash-hashtag {
  color: #2980b9;
  font-weight: bold;
}
.oripadash-recommend-list li {
  margin-bottom: 6px;
  padding-left: 1.2em;
  position: relative;
}
.oripadash-recommend-list li:before {
  content: "★";
  color: #f5b041;
  position: absolute;
  left: 0;
  font-size: 1em;
}
/* トレセン */
.oripa-experience-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px 20px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  font-family: 'Segoe UI', 'Meiryo', sans-serif;
}
.oripa-title {
  font-size: 1.4em;
  color: #d2691e;
  margin-bottom: 12px;
  font-weight: bold;
}
.oripa-lead {
  font-size: 1.05em;
  color: #333;
  margin-bottom: 18px;
  line-height: 1.7;
}
.oripa-features-title {
  font-size: 1.1em;
  color: #007b8f;
  margin-bottom: 10px;
  font-weight: bold;
}
.oripa-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.oripa-feature-list li {
  background: #fff;
  border-left: 4px solid #d2691e;
  margin-bottom: 14px;
  padding: 12px 14px 10px 12px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.oripa-check {
  font-size: 1.1em;
  color: #28a745;
  margin-right: 6px;
}
.oripa-desc {
  color: #555;
  font-size: 0.98em;
  display: block;
  margin-top: 2px;
}
/* dopa */
.dopa-promo-box {
  background: #fff8e7;
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 24px 18px;
  max-width: 540px;
  margin: 30px auto;
  font-family: 'Segoe UI', 'Meiryo', sans-serif;
  box-shadow: 0 4px 16px rgba(255,215,0,0.08);
}
.dopa-promo-header {
  text-align: center;
  margin-bottom: 18px;
}
.dopa-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #b8860b;
  margin-left: 6px;
}
.dopa-lead {
  display: block;
  font-size: 1.1em;
  color: #333;
  margin-top: 4px;
}
.dopa-section {
  margin-bottom: 18px;
}
.dopa-question {
  font-size: 1.1em;
  color: #d2691e;
  margin-bottom: 10px;
}
.dopa-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dopa-feature-list li {
  margin-bottom: 14px;
  background: #fffbe6;
  border-left: 4px solid #ffd700;
  padding: 10px 12px 8px 10px;
  border-radius: 6px;
}
.dopa-emoji {
  font-size: 1.1em;
  margin-right: 4px;
}
.dopa-desc {
  color: #555;
  font-size: 0.97em;
}
.dopa-recommend-title {
  color: #b8860b;
  font-size: 1.05em;
  margin-bottom: 8px;
}
.dopa-recommend-list {
  list-style: disc inside;
  margin: 0 0 0 10px;
  padding: 0;
  color: #444;
}
.dopa-recommend-list li {
  margin-bottom: 5px;
}
.dopa-message {
  background: #fff3cd;
  border-radius: 8px;
  padding: 12px 10px;
  color: #7c5700;
  font-size: 1em;
  text-align: center;
}
.dopa-cta {
  margin-top: 10px;
  font-size: 1.1em;
  color: #d2691e;
  font-weight: bold;
}