/* ポケカジャパン 共通スタイル (スマホライク: PCも縦画面アプリ風) */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { min-height: 100%; }
html { background: #f0e3cd; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  background: #fdf3e3;
  color: #4a3b2a;
  overflow-x: hidden;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 0 24px rgba(150, 100, 40, 0.18);
}

/* ---- ヘッダー (グローバルナビ込み・上部固定) ---- */
.pj-head {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 2px solid #f3d9b8;
}
.pj-head__brand { text-decoration: none; color: inherit; min-width: 0; flex: 1; }
.pj-head__logo {
  /* width:auto はモバイルSafariで属性幅(600px)に化けることがあるため両辺明示 */
  display: block;
  width: 144px;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.pj-lang {
  flex-shrink: 0;
  display: inline-block;
  min-width: 56px;
  padding: 9px 12px;
  text-align: center;
  border-radius: 18px;
  background: #f6ead7;
  color: #8a6d45;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
}

/* ---- グローバルメニュー (ヘッダー内・ENの左) ---- */
.pj-gnav {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
}
.pj-gnav a {
  flex-shrink: 0;
  display: inline-block;
  padding: 9px 12px;
  border-radius: 18px;
  background: #f6ead7;
  color: #8a6d45;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 400px) {
  .pj-gnav a { padding: 8px 9px; font-size: 12px; }
  .pj-lang { min-width: 0; padding: 8px 10px; font-size: 12px; }
}
.pj-gnav a.on { background: #ff8674; color: #fff; }

/* ---- 検索フォーム ---- */
.pj-search { display: grid; gap: 10px; }
.pj-search select,
.pj-search input {
  width: 100%;
  padding: 13px 12px;
  border: 2px solid #f3d9b8;
  border-radius: 14px;
  background: #fff;
  color: #4a3b2a;
  font-size: 15px;
  font-family: inherit;
}
.pj-search select:focus,
.pj-search input:focus { outline: none; border-color: #ffb3a6; }
.pj-search button {
  padding: 14px 0;
  border: none;
  border-radius: 22px;
  background: #ff8674;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
}
.pj-result-count { margin: 16px 0 10px; font-size: 13px; color: #8a6d45; }
.pj-result-count b { color: #e85b46; font-size: 15px; }

/* フォーム内の設備チップ(チェックボックス) */
.pj-fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-fchip input { display: none; }
.pj-fchip span {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 17px;
  background: #fff;
  border: 2px solid #f3d9b8;
  color: #8a6d45;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}
.pj-fchip input:checked + span { background: #ff8674; border-color: #ff8674; color: #fff; }

/* ---- リード ---- */
.pj-lead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  background: #fbead0;
  font-size: 12px;
  color: #8a6d45;
}
.pj-lead__total b { color: #e85b46; font-size: 14px; }
.pj-lead__hint { text-align: right; }

/* ---- 地図 (スクロールなしの1画面固定・県が変わっても表示サイズは同じ) ---- */
.pj-mapwrap {
  position: relative;
  overflow: hidden;
  background: #fdf3e3;
  aspect-ratio: 10000 / 9744; /* 東京crop表示の高さ(幅×0.9744)を全県共通の基準にする */
}
/* full表示の県は同じ枠の中で上下センター (余白は地図画像の地の色に合わせる) */
.pj-mapwrap--full {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fbecd6;
}
.pj-canvas {
  position: relative;
  display: block;
  font-size: 0;
  line-height: 0;
  transition: transform 0.4s ease, transform-origin 0.4s ease;
}
/* crop: 横長画像の右45%(東京=23区側)を切り出し・下部27.5%カット */
.pj-canvas--crop {
  width: 222%;
  margin-left: -122%;
  margin-bottom: -27.5%;
}
/* full: 画像全体を表示(北海道など) */
.pj-canvas--full { width: 100%; }
.pj-canvas img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}
.pj-mapwrap.is-zoom { overflow: hidden; }
.pj-canvas.is-zoom { transform: scale(1.9); }

/* ---- ピン(地名チップ) ---- */
.pj-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  padding: 6px; /* タップ領域拡張 */
  line-height: 1;
  z-index: 3;
  transition: opacity 0.25s ease;
}
.pj-pin:active { transform: translate(-50%, -100%) scale(0.94); }
/* 主要エリアは重なり時に上に出す */
.pj-pin[data-area="akiba"],
.pj-pin[data-area="sapporo"] { z-index: 6; }
.pj-pin[data-area="ikebukuro"],
.pj-pin[data-area="kichijoji"],
.pj-pin[data-area="asahikawa"] { z-index: 5; }
.pj-pin.is-target { z-index: 8; }
.pj-pin .pin-body {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 2px solid #ffb3a6;
  border-radius: 16px;
  padding: 7px 11px;
  box-shadow: 0 3px 8px rgba(160, 90, 40, 0.3);
  font-size: 13px;
  font-weight: bold;
  color: #5c452a;
  white-space: nowrap;
}
.pj-pin .pin-n {
  background: #ff8674;
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  padding: 2px 6px;
}
@media (max-width: 420px) {
  .pj-pin .pin-body { font-size: 11px; padding: 5px 8px; gap: 3px; }
  .pj-pin .pin-n { font-size: 10px; padding: 1px 5px; }
}
/* ズーム中: 対象チップだけ残して拡大、隣接は薄く、他は消す */
.pj-canvas.is-zoom .pj-pin:not(.is-target):not(.is-near) { opacity: 0; pointer-events: none; }
.pj-canvas.is-zoom .pj-pin.is-near { opacity: 0.45; }

/* 地図クロップ外エリアの置き場(左下) */
.pj-park {
  position: absolute;
  left: 10px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  z-index: 4;
  transition: opacity 0.25s ease;
}
.pj-park .pj-pin { position: static; transform: none; padding: 0; }
.pj-park .pj-pin:active { transform: scale(0.94); }
.pj-mapwrap.is-zoom .pj-park { opacity: 0; pointer-events: none; }

/* ---- 本文 ---- */
.pj-main { padding: 16px 14px 28px; }
.pj-sec { font-size: 15px; color: #8a6d45; margin-bottom: 10px; }
.pj-note { font-size: 12px; color: #b08d5f; margin-top: 12px; }
.pj-title { font-size: 19px; margin: 8px 0 12px; }
.pj-title small { font-size: 12px; color: #b08d5f; font-weight: normal; margin-left: 6px; }
.pj-empty { padding: 24px 0; color: #a3906f; }

/* パンくず */
.pj-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: #b08d5f; margin-bottom: 6px; }
.pj-crumbs a { color: #e85b46; text-decoration: none; }
.pj-crumbs .current { color: #6b5a40; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }

/* フィルタ */
.pj-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.pj-filter {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 16px;
  background: #fff;
  border: 2px solid #f3d9b8;
  color: #8a6d45;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
}
.pj-filter.on { background: #ff8674; border-color: #ff8674; color: #fff; }

/* ショップカード */
.pj-cards { display: grid; gap: 10px; }
.pj-card {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 6px rgba(160, 90, 40, 0.12);
}
.pj-card__img {
  width: 104px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: #f6ead7;
}
.pj-card__img--none {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.pj-card__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pj-card__name { font-size: 14px; line-height: 1.4; }
.pj-card__addr { font-size: 11.5px; color: #a3906f; }
.pj-card__badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; }
.pj-card__badges i {
  font-style: normal;
  font-size: 10px;
  font-weight: bold;
  background: #f6ead7;
  color: #8a6d45;
  border-radius: 8px;
  padding: 2px 7px;
}
.pj-card__badges i.b-gym { background: #ffd77e; color: #7a5a20; }

/* ページャ */
.pj-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0 6px; font-size: 13px; color: #8a6d45; }
.pj-pager a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid #f3d9b8;
  color: #e85b46;
  font-weight: bold;
  text-decoration: none;
}

/* 詳細 */
.pj-detail { background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 2px 6px rgba(160, 90, 40, 0.12); }
.pj-detail__head { display: flex; gap: 12px; align-items: flex-start; }
.pj-detail__img { width: 110px; height: auto; border-radius: 10px; flex-shrink: 0; }
.pj-detail__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.pj-detail__tags span {
  font-size: 10px;
  font-weight: bold;
  background: #f6ead7;
  color: #8a6d45;
  border-radius: 8px;
  padding: 2px 7px;
}
/* 公式イベント一覧 */
.pj-events { margin: 14px 0 4px; }
.pj-events__title {
  text-align: center;
  background: #ffd77e;
  color: #7a5a20;
  font-weight: bold;
  font-size: 13px;
  border-radius: 20px;
  padding: 12px 0;
  margin-bottom: 10px;
}
.pj-events__msg { font-size: 12.5px; color: #a3906f; padding: 4px 2px 8px; }
.pj-events__date {
  font-size: 12px;
  font-weight: bold;
  color: #8a6d45;
  background: #fbead0;
  border-radius: 10px;
  padding: 7px 10px;
  margin: 10px 0 6px;
}
.pj-events__date .d { font-size: 15px; }
.pj-events__date.wd-sat .d { color: #3f7fca; }
.pj-events__date.wd-sun .d { color: #e85b46; }
.pj-event {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}
.pj-event + .pj-event { border-top: 1px solid #f8efe0; }
.pj-event__time { flex-shrink: 0; font-size: 13px; font-weight: bold; color: #4a3b2a; padding-top: 1px; }
.pj-event__body { min-width: 0; flex: 1; }
.pj-event__body b { display: block; font-size: 13px; line-height: 1.5; }
.pj-event__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 3px; }
.pj-event__meta em { font-style: normal; font-size: 11px; color: #a3906f; }
.pj-event__badges { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.pj-event__badges i {
  font-style: normal;
  font-size: 10px;
  font-weight: bold;
  border-radius: 8px;
  padding: 2px 7px;
  white-space: nowrap;
}
.pj-event__badges .ev-gym    { background: #ff8674; color: #fff; }
.pj-event__badges .ev-extra  { background: #b48ae0; color: #fff; }
.pj-event__badges .ev-shield { background: #7db2e8; color: #fff; }
.pj-event__badges .ev-other  { background: #f6ead7; color: #8a6d45; }
.pj-event__badges .ev-full   { background: #ffd77e; color: #7a5a20; }
.pj-event__badges .ev-cancel { background: #d8d0c4; color: #665c4d; }
.pj-event__badges .ev-link {
  font-size: 10px;
  font-weight: bold;
  border-radius: 8px;
  padding: 4px 8px;
  white-space: nowrap;
  background: #fff;
  border: 1.5px solid #ffb3a6;
  color: #e85b46;
  text-decoration: none;
}
/* 情報欄: ラベル列+内容列の2カラム表組み */
.pj-info {
  display: grid;
  grid-template-columns: 8.5em 1fr;
  margin-top: 14px;
  font-size: 13px;
  border-top: 1px solid #f3e2c8;
}
.pj-info dt {
  font-weight: bold;
  color: #8a6d45;
  font-size: 12px;
  padding: 12px 8px 12px 2px;
  border-bottom: 1px solid #f8efe0;
}
.pj-info dd {
  padding: 12px 0 12px 2px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  border-bottom: 1px solid #f8efe0;
}
.pj-info dt.row-hours,
.pj-info dd.row-hours { background: #fefaf0; }
.pj-info dt.row-hours { border-radius: 12px 0 0 12px; padding-left: 8px; }
.pj-info dd.row-hours { border-radius: 0 12px 12px 0; padding-right: 8px; }
.pj-hours { display: grid; row-gap: 2px; }
.pj-hours div { display: flex; align-items: baseline; gap: 12px; }
.pj-hours span { color: #a3906f; min-width: 4em; font-size: 12px; }
.pj-hours span.sat { color: #3f7fca; }
.pj-hours span.sun { color: #e85b46; }
.pj-hours b { font-weight: 600; }
.pj-ext { color: #e85b46; word-break: break-all; }

/* 地図(Google Map)・詳細ページ上部 */
.pj-shopmap { margin-bottom: 16px; }
.pj-shopmap .pj-map { margin-bottom: 10px; }
.pj-map-addr { font-size: 13px; color: #6b5a40; line-height: 1.6; margin-bottom: 10px; }
.pj-map-btn {
  display: block;
  text-align: center;
  background: #fff;
  border: 2px solid #f3d9b8;
  color: #e85b46;
  font-weight: bold;
  font-size: 13px;
  text-decoration: none;
  border-radius: 20px;
  padding: 11px 0;
}
.pj-map { border-radius: 14px; overflow: hidden; }
.pj-map iframe { width: 100%; height: 300px; border: 0; display: block; }

/* 戻るリンク */
.pj-backlink {
  display: inline-block;
  margin-top: 16px;
  color: #e85b46;
  font-weight: bold;
  font-size: 13px;
  text-decoration: none;
}

/* ---- ボトムシート ---- */
.pj-back {
  position: fixed;
  inset: 0;
  background: rgba(70, 45, 20, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 20;
}
.pj-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -6px 24px rgba(120, 70, 20, 0.25);
  transform: translateY(105%);
  transition: transform 0.25s;
  z-index: 21;
  max-height: 72vh;
  display: flex;
  flex-direction: column;
}
body.sheet-open .pj-back { opacity: 1; pointer-events: auto; }
body.sheet-open .pj-sheet { transform: translateY(0); }
.pj-sheet__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid #f3e2c8;
  cursor: pointer;
  border-radius: 18px 18px 0 0;
}
.pj-sheet__head .t { font-size: 17px; font-weight: bold; }
.pj-sheet__head .n {
  background: #ff8674;
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 9px;
}
.pj-sheet__close {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f6ead7;
  color: #8a6d45;
  font-size: 18px;
  cursor: pointer;
}
.pj-sheet__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px 2px;
}
.pj-schip {
  border: 2px solid #f3d9b8;
  background: #fff;
  color: #8a6d45;
  font-size: 11px;
  font-weight: bold;
  font-family: inherit;
  border-radius: 15px;
  padding: 8px 11px;
  cursor: pointer;
}
.pj-schip.on { background: #ff8674; border-color: #ff8674; color: #fff; }
.pj-sheet__empty { padding: 20px 8px; font-size: 13px; color: #a3906f; }
.pj-sheet__list { overflow-y: auto; padding: 6px 10px; }
.pj-shop {
  display: block;
  padding: 11px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}
.pj-shop + .pj-shop { border-top: 1px solid #f8efe0; }
.pj-shop b { display: block; font-size: 14px; color: #4a3b2a; }
.pj-shop span { display: block; font-size: 11.5px; color: #a3906f; margin-top: 3px; }
.pj-sheet__foot { padding: 10px 16px 16px; }
.pj-sheet__foot a {
  display: block;
  text-align: center;
  background: #ff8674;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  border-radius: 22px;
  padding: 13px 0;
}

/* ---- フッター ---- */
.pj-foot {
  padding: 18px 14px 24px;
  text-align: center;
  font-size: 11px;
  color: #b08d5f;
  background: #fbead0;
}

/* ---- ホバー色変化 ---- */
@media (hover: hover) {
  .pj-lang:hover { background: #f0d9ae; }
  .pj-gnav a:hover { background: #f0d9ae; }
  .pj-gnav a.on:hover { background: #e85b46; }
  .pj-search button:hover { background: #e85b46; }
  .pj-fchip span:hover { background: #fff4ee; }
  .pj-fchip input:checked + span:hover { background: #e85b46; }
  .pj-schip:hover { background: #fff4ee; }
  .pj-schip.on:hover { background: #e85b46; }
  .pj-pin:hover .pin-body { background: #fff1ec; border-color: #ff8674; }
  .pj-filter:hover { background: #fff4ee; }
  .pj-filter.on:hover { background: #e85b46; }
  .pj-card:hover { background: #fff4ee; }
  .pj-pager a:hover { background: #fff4ee; }
  .pj-crumbs a:hover { color: #b93a28; }
  .pj-event__badges .ev-link:hover { background: #fff1ec; border-color: #ff8674; }
  .pj-map-btn:hover { background: #fff4ee; }
  .pj-ext:hover { color: #b93a28; }
  .pj-backlink:hover { color: #b93a28; }
  .pj-shop:hover { background: #fff4ee; }
  .pj-sheet__close:hover { background: #f0d9ae; }
  .pj-sheet__head:hover { background: #fff4ee; }
  .pj-sheet__foot a:hover { background: #e85b46; }
  .pj-head__brand:hover .pj-head__logo { opacity: 0.7; }
}


/* ==================================================================
   カード検索プルダウン（ヘッダー共通）
   ================================================================== */
.pj-dd { position: relative; flex-shrink: 0; }
.pj-dd summary {
  list-style: none; cursor: pointer; display: inline-block;
  padding: 9px 12px; border-radius: 18px; background: #f6ead7; color: #8a6d45;
  font-size: 13px; font-weight: bold; white-space: nowrap;
}
.pj-dd summary::-webkit-details-marker { display: none; }
.pj-dd summary::marker { content: ""; }
.pj-dd[open] summary { background: #f0d9ae; }
.pj-dd summary.on { background: #ff8674; color: #fff; }
@media (max-width: 400px) { .pj-dd summary { padding: 8px 9px; font-size: 12px; } }
.pj-dd-menu {
  position: absolute; left: 50%; transform: translateX(-50%); top: calc(100% + 6px);
  background: #fff; border: 1px solid #f3d9b8; border-radius: 12px;
  box-shadow: 0 8px 20px rgba(180,140,90,.26); padding: 6px; min-width: 138px; z-index: 30;
}
/* ボタンとメニューの隙間を透明な橋で埋める(渡る途中で閉じるのを防ぐ) */
.pj-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.pj-dd-menu a { display: block; padding: 10px 14px; border-radius: 9px; font-size: 13px; font-weight: bold; color: #6a5638; white-space: nowrap; text-align: center; text-decoration: none; }

/* ==================================================================
   トップの買取・販売価格バナー
   ================================================================== */
.pj-ktblock { margin-top: 22px; }
.pj-kaitori {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: linear-gradient(135deg, #ffe3d1, #ffd3e6);
  border: 1px solid #f6c3ac; border-radius: 16px; color: #3b2f22;
  box-shadow: 0 3px 10px rgba(220,150,110,.18); text-decoration: none;
}
.pj-kaitori__ic { font-size: 26px; flex: none; }
.pj-kaitori__tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pj-kaitori__tx b { font-size: 15px; }
.pj-kaitori__tx small { font-size: 11.5px; color: #7a5f3f; }
.pj-kaitori__arw { flex: none; font-size: 22px; color: #e85b46; font-weight: 800; }

/* ==================================================================
   買取・販売価格ページ (kaitori/)
   ================================================================== */
.kt-wrap { padding: 0 0 40px; }
.kt-hero { padding: 18px 16px 14px; background: linear-gradient(#fff6ea, #fdf3e3); }
.kt-h1 { font-size: 21px; font-weight: 800; color: #3b2f22; margin: 0; }
.kt-hero__sub { font-size: 13px; color: #8a6d45; margin: 4px 0 12px; }
.kt-hero__sub b { color: #e85b46; font-size: 15px; }
.kt-search { display: flex; gap: 8px; }
.kt-search input {
  flex: 1; border: 1px solid #f0cfa0; border-radius: 12px;
  padding: 12px 14px; font-size: 15px; background: #fff; min-width: 0;
}
.kt-search button {
  border: 0; border-radius: 12px; background: #ff8674; color: #fff;
  font-weight: 800; font-size: 15px; padding: 0 18px; cursor: pointer;
}
.kt-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.kt-qchip {
  font-size: 12px; font-weight: 700; color: #b3763c; text-decoration: none;
  border: 1px solid #f0b98a; border-radius: 13px; padding: 5px 11px; background: #fff;
}
.kt-sec { padding: 18px 16px 4px; }
.kt-sechd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.kt-sechd h2 { font-size: 16px; font-weight: 800; color: #3b2f22; margin: 0; }
.kt-asof { font-size: 11px; color: #a08a6a; }
.kt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kt-tile {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #f3d9b8; border-radius: 14px; overflow: hidden;
  text-decoration: none; color: inherit; transition: transform .12s, box-shadow .12s;
}
.kt-rank {
  position: absolute; top: 6px; left: 6px; z-index: 2;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff; background: #c3a37a;
}
.kt-rank--1 { background: #e8b923; } .kt-rank--2 { background: #b8b8c0; } .kt-rank--3 { background: #cd8b53; }
.kt-thumb { background: #f6ead6; aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; }
.kt-thumb img { width: 100%; height: 100%; object-fit: contain; }
.kt-tinfo { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 3px; }
.kt-rar { align-self: flex-start; font-size: 10px; font-weight: 800; color: #fff; padding: 2px 7px; border-radius: 8px; letter-spacing: .03em; }
.kt-rar--lg { font-size: 13px; padding: 4px 12px; border-radius: 10px; }
.kt-tname { font-size: 13px; font-weight: 800; line-height: 1.3; }
.kt-tpack { font-size: 11px; color: #a08a6a; }
.kt-tbuy { font-size: 12px; color: #6a5638; margin-top: 2px; }
.kt-tbuy b { font-size: 15px; color: #e85b46; }
.kt-up { color: #d1483a; font-size: 11px; font-weight: 800; }
.kt-down { color: #3f8f6a; font-size: 11px; font-weight: 800; }
.kt-crumb { font-size: 12px; color: #8a6d45; padding: 12px 16px 0; }
.kt-crumb a { color: #b3763c; font-weight: 700; text-decoration: none; }
.kt-card { display: flex; gap: 14px; padding: 14px 16px; }
.kt-card__img { flex: 0 0 42%; }
.kt-card__img img { width: 100%; border-radius: 10px; box-shadow: 0 4px 14px rgba(150,110,60,.25); }
.kt-card__body { flex: 1; min-width: 0; }
.kt-cardname { font-size: 20px; font-weight: 800; margin: 6px 0 4px; line-height: 1.25; }
.kt-cardmeta { font-size: 12px; color: #8a6d45; margin: 0; }
.kt-prices { display: flex; gap: 8px; margin: 14px 0 6px; }
.kt-price { flex: 1; border-radius: 12px; padding: 10px 12px; }
.kt-price--buy { background: #fff0e9; border: 1px solid #f6c3ac; }
.kt-price--sell { background: #eef6f0; border: 1px solid #b9dcc4; }
.kt-price__lb { display: block; font-size: 11px; font-weight: 700; color: #8a6d45; }
.kt-price__v { display: block; font-size: 22px; font-weight: 800; color: #e85b46; letter-spacing: -.02em; }
.kt-price--sell .kt-price__v { color: #3f8f6a; }
.kt-price__note { display: block; font-size: 11px; color: #8a6d45; margin-top: 2px; }
.kt-updated { font-size: 11px; color: #a08a6a; margin-top: 6px; }
.kt-chart { background: #fff; border: 1px solid #f3d9b8; border-radius: 14px; padding: 14px; }
.kt-chart__axis { display: flex; justify-content: space-between; font-size: 11px; color: #a08a6a; margin-top: 6px; }
.kt-cta { padding: 18px 16px 4px; }
.kt-cta__in { background: linear-gradient(135deg, #ffe0cf, #ffd0e4); border-radius: 16px; padding: 18px; text-align: center; }
.kt-cta__in b { font-size: 16px; color: #3b2f22; }
.kt-cta__in p { font-size: 12px; color: #6a5638; margin: 6px 0 12px; }
.kt-cta__btn { display: inline-block; background: #ff8674; color: #fff; font-weight: 800; padding: 12px 22px; border-radius: 24px; font-size: 15px; text-decoration: none; }
.kt-note { font-size: 11px; color: #a08a6a; padding: 10px 16px; }
.kt-empty { padding: 40px 16px; text-align: center; color: #8a6d45; }

@media (hover: hover) {
  .pj-dd summary:hover { background: #f0d9ae; }
  .pj-dd summary.on:hover { background: #e85b46; }
  .pj-dd-menu a:hover { background: #fbead0; color: #e85b46; }
  .pj-kaitori:hover { filter: brightness(.98); box-shadow: 0 5px 14px rgba(220,150,110,.28); }
  .kt-search button:hover { background: #e85b46; }
  .kt-qchip:hover { background: #ffe3d4; color: #e85b46; }
  .kt-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(210,150,90,.22); }
  .kt-cta__btn:hover { background: #e85b46; }
  .kt-crumb a:hover { color: #e85b46; }
}

/* パック名プルダウン（買取ページの検索部・上に配置） */
.kt-packsel {
  width: 100%; margin-bottom: 10px; padding: 12px 14px; font-size: 15px;
  border: 1px solid #f0cfa0; border-radius: 12px; background: #fff; color: #4a3b2a;
  -webkit-appearance: menulist; appearance: menulist; cursor: pointer;
}
@media (hover: hover) { .kt-packsel:hover { border-color: #f0b98a; } }

/* タイルの販売価格行（買取と両方表示） */
.kt-tsell { font-size: 12px; color: #6a5638; }
.kt-tsell b { font-size: 14px; color: #3f8f6a; }
