/* =========================
   固定ページ・買取実績
========================= */
.results__page-inner {
    max-width: 1632px;
    width: 96%;
    margin: 0 auto;
    padding: 6rem 0;
}
@media (max-width: 768px) {
    .results__page-inner {
      width: 100%;
        padding: 3rem 0;
    }
}
/* =========================
   絞り込みボタン
========================= */
.lineup-search form{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: right;
    margin-left: auto;
    gap: 4.9rem;
    margin-bottom: 6rem;
}
  @media (max-width: 768px) {
    .lineup-search form{
      width: 100%;
      flex-direction: column;
      align-items: flex-start;
      gap: 2.5rem;
      padding: 0 2.1rem;
      margin-bottom: 2.5rem;
    }
  }

 .select_box {
  position: relative;
  display: flex;
  justify-content: flex-end;
  gap: 3.5rem;
  width: 66%;
}
@media (max-width: 768px) {
  .select_box {
    flex-direction: column;
    width: 100%;
    gap: 1.8rem;
    padding: 0;
  }
}

/* ラッパー（もともとの .select_btn のまま） */
.select_btn {
  position: relative;
  display: inline-block;
}

/* --------------------------------
 * 表示エリア（もともとの select の見た目を移植）
 * -------------------------------- */
.pulldown_selected_value {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: clamp(1.5rem, 0.9vw, 1.6rem);
	padding: 0 4rem 0.65rem 2rem; /* 旧 .select_btn select と同じ */
	border: 1px solid #E25300;
	width: 100%;
	cursor: pointer;
	transition-duration: 0.5s;
	border-radius: 38.5px;
}
@media (max-width: 768px) {
  .pulldown_selected_value {
    padding: 1rem 2.1rem .8rem 2.6rem; /* SP版も旧値を踏襲 */
  }
}

.pulldown_text {
  color: #4A4A4A;
}

/* spanの矢印は使わない（::after矢印で制御するので非表示でOK） */
.pulldown_arrow {
  display: none;
}

/* 幅の指定（元の .lineup__c-select-btn を継承） */
.lineup__c-select-btn {
  width: fit-content;
  min-width: 322px;
}
@media (max-width: 768px) {
  .lineup__c-select-btn {
    width: 100%;
  }
}

/* --------------------------------
 * プルダウンリスト（option の代わり）
 * -------------------------------- */
.pulldown_list {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.16);
  border-top: none;
  list-style: none;
  margin: 0;
  padding: 0;
  display: none; /* JS の slideDown/slideUp で開閉 */
  z-index: 1000;
}

/* option の margin を li に移植 */
.pulldown_item {
  margin: 0 0 1rem 2rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  .pulldown_item {
    margin: 0 0 1.1rem 2.5rem;
  }
}
.pulldown_item:first-child {
  margin-top: 0.8rem;
}
.pulldown_item:last-child {
  margin-bottom: 2.1rem;
}
@media (max-width: 768px) {
  .pulldown_item:last-child {
    margin-bottom: 2.2rem;
  }
}

/* 選択中の見た目に寄せる場合（必要ならJSで .is-selected を付与） */
.pulldown_item.is-selected {
  color: #B2B2B2; /* 旧 option:checked と同じ色 */
}

/* --------------------------------
 * 実際の送信用 select は画面から隠す
 * -------------------------------- */
.pulldown_select {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* --------------------------------
 * 矢印（もともとのデザインをそのまま利用）
 * -------------------------------- */
.select_btn::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 12px solid #E26900;
  cursor: pointer;
  transition-duration: 0.5s;
  pointer-events: none;
}
@media (max-width: 768px) {
  .select_btn::after {
    right: 22px;
  }
}

/* .open が付いたときに矢印を反転（JSで .open を付与） */
.select_btn.open::after {
  border-top: none;
  border-bottom: 12px solid #E26900;
}

.search__submit {
    width: 190px;
    padding: 0.7rem 0;
    border: none;
    border-radius: 38.5px;
    font-size: clamp(1.6rem, 1.2vw, 1.6rem);
    transition: all 0.5s ease;
}
@media (max-width: 768px) {
  .search__submit {
    width: 100%;
    padding: 0.9rem 1rem;
  }
}
.search__submit:hover {
    background-color: #fff;
    color: #E26900;
}
/* =========================
   　買取実績一覧
========================= */
.genre__results-list {
  width: 100%;
}
.genre__results-list-inner {
    display: flex;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .genre__results-list-inner {
        padding: 0 2.1rem;
        margin-bottom: 3.3rem;
    }
}
.results__item {
    width: 25%;
    margin-bottom: clamp(3rem, 3vw, 3rem);
}
@media (max-width: 768px) {
    .results__item {
        width: 100%;
        margin: 0 auto 2.5rem;
        border-bottom: 1px solid #E26900;
        margin-bottom: 2.5rem;
    }
    .results__item:last-of-type {
        margin-bottom: 0;
    }
}
.card {
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}
.r__card:hover > .r__card-body {
    background-color: #E26900;
    color: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.r__card:hover > .r__card-body > .r__card-body-inner > .r__card-price {   
    border: 1px solid #fff;
}
.r__card {

}
@media (max-width: 768px) {
  .r__card {
    width: 90%;
    display: block;
    margin: 0 auto;
  }
  .r__card:hover > .r__card-body {
    background-color: initial;
    color: initial;
    box-shadow: initial;
}
}
.r__card-tag {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: 54px;
    height: 24px;
    padding: 0 0.6rem 0.1rem 0.8rem;
    border-radius: 12px;
    text-align: center;
}
@media (max-width: 768px) { 
    .r__card-tag {
        width: 51px;
        height: 23px;
        padding: 0.05rem 0 0 0;
        transform: translate(-35%, -50%);
		font-size: 1.4rem;
    }
}
.r__card-inner {
    padding: 1.2rem clamp(3rem, 3.7vw, 6.5rem) 0;
    margin-bottom: -3.4rem;
}
@media (max-width: 768px) {
    .r__card-inner {
        padding: 1.2rem 0 0 0;
        margin-bottom: 0rem;
    }
}
.r__card-image {
    z-index: 10;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: visible;
}
@media (max-width: 768px) {
    .r__card-image {
        position: relative;
    }
}
.r__card-image img {
    display: block;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    object-fit: cover;
}
.r__card-body {
    z-index: 1;
    position: relative;
    transition: all 0.5s ease;
}
.r__card-body-inner {
    padding: clamp(5rem, 4vw, 6rem) clamp(1rem, 3.2vw, 6rem) 4.6rem;
}
@media (max-width: 768px) { 
    .r__card-body-inner {
        color: #4A4A4A;
        padding: 1.2rem 0 0 0;
    }
}
.r__card-date {
    display: block;
    margin-bottom: 0.5rem;
    font-size: clamp(1.3rem, 0.9vw, 1.6rem);
}
@media (max-width: 768px) {
    .r__card-date {
        margin-bottom: 0.4rem;
    }
}
.genre__results-list-inner .r__card-title {
    font-size: clamp(1.8rem, 1.2vw, 2.3rem);
    line-height: calc( 3/ 2.3);
    margin-bottom: 1rem;
}
@media (max-width: 768px) { 
    .genre__results-list-inner .r__card-title {
        line-height: 1.5;
        margin-bottom: 1rem;
    }
}
.genre__results-list-inner .r__card-text {
    font-size: clamp(1.4rem, 0.9vw, 1.6rem);
    margin-bottom: 1.8rem;
}
@media (max-width: 768px) { 
  .genre__results-list-inner .r__card-text {
        margin-bottom: 2.5rem;
    }
}
.r__card-text-span {
    letter-spacing: 0;
}
.r__card-price {
    font-size: clamp(1.4rem, 1.1vw, 2rem);
    padding: 0 clamp(0.8rem, 1vw, 1.2rem) 4px;
    text-align: center;
    width: fit-content;
    border: 1px solid #E26900;
    transition: all 0.5s ease;
}
.r__card-price-sp {
    display: none;
}
@media (max-width: 768px) { 
    .r__card-price {
        padding: 0.15rem 0.75rem
    }
    .r__card-price-pc { 
        display: none;
    }
    .r__card-price-sp {
        display: block;
        width: 62%;
        position: absolute;
        bottom: 0;
        right: 0;
        padding: 0 0.96rem;
        font-weight: 300;
    }
}
.r__card-price-number {
    font-size: clamp(1.5rem, 1.4vw, 2.6rem);
}
@media (max-width: 768px) {
    .r__card-price-number {
        padding: 0 0.5rem;
    }
}
/* =========================
   ページネーション
========================= */
.page__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.4rem;
}
@media (max-width: 768px) {
  .page__pagination {
    margin-top: 0;
    flex-direction: column;
    gap: 2.7rem;
    padding: 0 2.1rem;
  }
}
.page__pagination-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4.5rem;
  margin: 0 2.5rem;
  position: relative;
  width: fit-content;
}
@media (max-width: 768px) {
  .page__pagination-list {
    margin-right: 0;
    gap: 4.9rem;
  }
}
.page__pagination-item {
  width: fit-content;
  display: block;
  font-size: clamp(1.6rem, 1.2vw, 2.2rem);
  transition: all 0.5s ease;
}
.page__pagination-item:hover {
  color: #E26900;
}
.ellipsis {
  transform: translateY(-20%);
}
@media (max-width: 768px) {
  .ellipsis {
    transform: translateY(0);
  }
}
.page__pagination-btn {
  display: flex;
  gap: 2rem;
  width: fit-content;
}
@media (max-width: 768px) {
  .page__pagination-btn {
    gap: 0.8rem;
    margin-left: initial;
  }
}
.current {
  color: #E26900;
}
.page__pagination-first,
.page__pagination-prev,
.page__pagination-next,
.page__pagination-last {
  width: fit-content;
}
.page__pagination-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.5s ease;
  border: 1px solid #4A4A4A;
  padding: 0.15rem 1.1rem;
}
.page__pagination-link svg path {
  transition: all 0.5s ease;
}
.page__pagination-link:hover {
  border: 1px solid #E26900;
  color: #E26900;
}
.page__pagination-link:hover > svg path {
  stroke: #E26900;
}
@media (max-width: 768px) {  
  .page__pagination-btn-pc {
    display: none;
  }
}
.page__pagination-btn-left  {
  width: fit-content;
  margin-left: initial;
}
.page__pagination-btn-right  {
  width: fit-content;
  margin-left: initial;
}
.page__pagination-btn-sp  {
  display: none;
  width: 100%;
}
@media (max-width: 768px) {
  .page__pagination-btn-sp {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}