/* ============================================================
   ポップアップ（ご購入はこちら：購入モーダル）
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 30, 0.6);
  padding: 20px;
}
.modal-overlay.is-open { display: flex; }

.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 0px;
  padding: 28px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 40, 0.3);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;           /* ★ 40px → 34px（円を小さく） */
  height: 34px;          /* ★ 40px → 34px */
  border: none;
  border-radius: 50%;
  background: #001890;
  cursor: pointer;
  font-size: 0;
  z-index: 2;
}
/* ×を線2本で描く */
.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;           /* ★ 20px → 16px（×を小さく） */
  height: 1.5px;         /* 線の太さ（お好みで） */
  background: #fff;
}
.modal__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.modal__close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.modal__close:hover { background: #001070; }

/* 商品画像：白背景＋シャドー */
.modal__img {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0px 12px rgba(0, 0, 40, 0.12);
  padding: 16px;
  margin-top: 20px;     /* ★ 追加：画像カードを下げる（数値を増やすほど下がる） */
  margin-bottom: 16px;
}

.modal__title {
  font-size: 20px;
  font-weight: 700;
  color: #28282d;   /* 黒（他の文章と同じ） */
}
.modal__volume {
  font-size: 16px;
  font-weight: 700;
  color: #28282d;   /* グレー → 黒 */
  margin-bottom: 0px;
}
.modal__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #28282d;
  font-weight: 700;
  margin-bottom: 12px;
}
.modal__price-label { font-size: 13px; }
.modal__price-value { 
  font-size: 24px; 
  font-family: 'Roboto', sans-serif;   /* ★ 数字だけ Roboto */
  font-weight: 700; 
}
.modal__price-tax   { 
  font-size: 12px; 
  font-weight: 400; 
  font-weight: 700;
  margin-left: -4px;   /* ★ マイナスにするほど左（数字側）に寄る */
}
.modal__desc {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 40px;
}

/* ご購入はこちら（SHOPLIST 再利用ブロック・モーダル下部に全幅で配置） */
.modal__shop {
  background: #f5f5f5;
  margin: 16px -32px -28px;     /* ★ 左右を .modal の左右paddingと同じ数値のマイナスに */
  padding: 30px 32px 50px;      /* ★ 左右も同じ数値に */
  border-radius: 0;
  text-align: center;
}
.modal__shop-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: #001890;
}
.modal__shop-title {
  font-size: 20px;
  font-weight: 700;
  color: #001890;
  margin: 2px 0 18px;
}

/* 再利用した SHOPLIST ボタンの余白だけ調整（親が既にグレー） */
.modal__shop .shoplist__official,
.modal__shop .shoplist__grid {
  background: transparent;
  padding: 0;
  margin: 0;
}

.modal__shop .shoplist__official { margin-bottom: 2px; }  /* ← 公式ストアの下も詰める */
.modal__shop .shoplist__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;        /* ← TOPと同じく紫の隙間を詰める */
}