@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* 相場表 全体 */
.price-block {
  text-align: center;
  margin: 2em auto;
  max-width: 1200px;
}

/* 日付 */
.price-block .price-date {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 1.5em;
  text-align: left;
}

/* カードの並び */
.price-cards {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: nowrap;
}

/* 各カード */
.price-cards .card {
  flex: 1;
  padding: 1.5em;
  border-radius: 0;
  color: #fff;
  text-align: left;
  min-width: 340px;
}

/* 背景色 */
.price-cards .gold { background: #f7a8a8; }
.price-cards .platinum { background: #f07c93; }
.price-cards .silver { background: #a86a84; }

/* カードタイトル */
.price-cards .card h3 {
  margin-bottom: 0.8em;
  font-size: 1.1em;
  border-bottom: 1px solid rgba(255,255,255,0.6);
  padding-bottom: 0.4em;
  text-align: center;
}

/* リスト整形 */
.price-cards .card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-cards .card li {
  display: flex;
  justify-content: space-between;
  padding: 0.5em 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: background 0.2s;
}

/* 品位は左、価格は右寄せ */
.price-cards .card li span:first-child {
  text-align: left;
}
.price-cards .card li .price {
  text-align: right;
  flex: 1;
}

/* hover時 */
.price-cards .card li:hover {
  background: rgba(255,255,255,0.2);
}

/* スマホ対応：幅が768px以下のときは縦並び */
@media (max-width: 768px) {
  .price-cards {
    flex-direction: column; /* 縦並びに */
    gap: 15px; /* 間隔を少し狭く */
  }

  .price-cards .card {
    min-width: 100%; /* 横幅いっぱい */
  }
}
