.unfinished {
  margin-bottom: 20px;
}
@media screen and (min-width: 640px) {
  .unfinished {
    line-height: 1.5;
  }
  
  .unfinished span,
  .unfinished .unfinished__ttile {
    font-family: 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  }
}

/**
 * お問い合わせ未完了の車があります
 */
.unfinished .unfinished__ttile_wrap {
  position: relative;
  z-index: 1;
}
.unfinished .unfinished__ttile {
  font-size: 22px;
  line-height: 28px;
  color: #0055b8;
}
@media screen and (min-width: 640px) {
  .unfinished .unfinished__ttile {
    position: absolute;
    top: -3px;
    background-color: rgba(255,255,255,1);
  }
}
@media screen and (max-width: 640px) {
  .unfinished .unfinished__ttile {
    font-size: 14px;
  }
}

/**
 * 背中押し文言
 */
.unfinished .unsinished__gust {
  white-space: nowrap;
  display: block;
  position: absolute;
  top: -30px;
  left: 370px;
  background-color: #FFE942;
  border-radius: 4px;
  width: fit-content;
  margin: auto;
  color: #333;
  padding: 5px 10px;
  font-size: 14px;
  line-height: 1;
}

/**
 * 背中押し文言の吹き出し部分
 */
.unfinished .unsinished__gust::before {
  content: "";
  position: absolute;
  border: 5px solid transparent;
  border-left: 10px solid #FFE942;
  transform: rotate(0.5turn);
  left: -14px;
}

.unfinished .slider {
  position: relative;
}

/**
 * スライダーの外枠
 * 背中押し文言を枠からはみ出した形で表示させるためpadding-topを設定
 */
.unfinished .bx-wrapper {
  overflow: hidden;
  box-shadow: none;
  border: none;
  padding-top: 30px;
  margin-top: 0;
  margin-left: 50px;
  margin-right: 50px;
}

.unfinished .bx-wrapper .bx-viewport {
    background: #fff;
}

.unfinished a {
  color: inherit;
  text-decoration: none;
}

.unfinished .unfinished__inner {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}

@media screen and (max-width: 640px) {
  .unfinished .unfinished__inner {
    padding: 8px;
    border: 1px solid #dedcd7;
    border-radius: 6px;
  }
}

.unfinished .unfinished__photo {
  width: 120px;
}

@media screen and (max-width: 640px) {
  .unfinished .unfinished__photo {
    width: 44px;
  }
}

.unfinished .unfinished__photo img {
  max-width: 100%;
  height: auto;
  cursor: pointer;
}

.unfinished a:hover .unfinished__photo img {
  filter: alpha(opacity=85);
  -ms-filter: "alpha(opacity=85)";
  -moz-opacity: 0.85;
  -khtml-opacity: 0.85;
  opacity: 0.85;
  zoom: 1;
}

.unfinished .unfinished__data {
  width: calc(100% - 200px);
  padding-right: 70px;
}

@media screen and (max-width: 640px) {
  .unfinished .unfinished__data {
    width: calc(100% - 48px);
    padding-right: 20px;
  }
}

.unfinished .unfinished__data--name {
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width: 640px) {
  .unfinished .unfinished__data--name {
    font-size: 12px;
  }
}

/**
 * 車種名マウスオーバー時(PCのみ)
 */
@media screen and (min-width: 640px) {
  .unfinished a:hover .unfinished__data--name {
    color: #0055b8;
  }
}

@media screen and (max-width: 640px) {
  .unfinished .unfinished__data--name a::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: block;
    width: calc(100% - 30px);
    height: 100%;
  }
}

.unfinished .unfinished__data--list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-top: 8px;
}

@media screen and (max-width: 640px) {
  .unfinished .unfinished__data--list {
    width: auto;
    margin-top: 0;
  }
}

.unfinished .unfinished__data--list li {
  width: 130px;
}

@media screen and (max-width: 640px) {
  .unfinished .unfinished__data--list li {
    width: auto;
  }
}

@media screen and (min-width: 640px) {
  .unfinished .unfinished__data--list li.unfinished__status {
    width: 80px;
    text-align: center;
  }
}

.unfinished .unfinished__status--value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.unfinished .unfinished__status--unit {
  display: block;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
}

.unfinished .unfinished__price {
  font-size: 13px;
}

@media screen and (max-width: 640px) {
  .unfinished .unfinished__price {
    font-size: 11px;
  }
}

.unfinished .unfinished__price--title,
.unfinished .unfinished__status--title {
  display: block;
  margin-bottom: 4px;
}

@media screen and (max-width: 640px) {
  .unfinished .unfinished__price--title,
  .unfinished .unfinished__status--title {
    display: inline;
    margin-bottom: 0;
  }
}

.unfinished .unfinished__price--value {
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

@media screen and (max-width: 640px) {
  .unfinished .unfinished__price--value {
    font-size: 13px;
  }
}

.unfinished .unfinished__price--sold--out {
  color: #0055b8;
}
.unfinished .unfinished__price--total-value {
  color: #0055b8;
}

.unfinished .unfinished__price--tax {
  font-size: 10px;
  font-weight: 400;
  margin-left: -0.5em;
}

.unfinished .unfinished__close {
  outline: none;
  border: none;
  background: none;
  padding: 0;
  color: #333;
  font-size: 12px;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

@media screen and (min-width: 640px) {
  .unfinished .unfinished__close {
    cursor: pointer;
  }
  .unfinished .unfinished__close:hover {
    text-decoration: underline;
  }
}

@media screen and (max-width: 640px) {
  .unfinished .unfinished__close {
    color: #666;
    font-size: 16px;
    font-weight: 700;
    right: 8px;
  }
}

/**
 * 切替ボタン
 * カルーセル本体と中心線を合わせるため以下を設定
 * ・padding-topの数値をbx-wrapperと合わせる
 * ・heightを残り部分いっぱいにする(子要素側でtop:50%を設定し、中心にするため)
 */
.unfinished #prev-btn,
.unfinished #next-btn {
  position: absolute;
  top: 0;
  height: calc(100% - 30px);
  padding-top: 30px;
}

/**
 * 前へボタン
 * 左寄せ
 */
.unfinished #prev-btn {
  left: 0;
}

/**
 * 次へボタン
 * 右寄せ
 * 子要素もposition: absoluteにした影響でright: 0では右側がはみ出てしまうため
 * 子要素の幅分だけ空白を設ける
 */
.unfinished #next-btn {
  right: 30px;
}

.unfinished #prev-btn a,
.unfinished #next-btn a {
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: #eee;
  color: #333;
  top: 50%;
}

.unfinished #prev-btn a::before,
.unfinished #next-btn a::before {
  position: absolute;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.unfinished #prev-btn a::before {
  content: '\f104';
}

.unfinished #next-btn a::before {
  content: '\f105';
}

.unfinished .bx-prev.disabled,
.unfinished .bx-next.disabled {
  display: none !important;
}

/**
 * 表示切替矢印が表示される場合の位置調整
 * ※表示されない場合：本体サイズを横幅いっぱいにする
 * ※表示される場合　：本体サイズを縮小して左右に余白を設ける
 *   →position: absoluteで指定している要素が矢印と被らないように位置を調整する
 * ・背中押し文言の位置
 * ・削除ボタンの位置
 * ※なお、余白のサイズはjs側で計算している(getUnfinishedSliderConfig)
 */
.unfinished .slider:has(.bx-prev):not(:has(.bx-prev.disabled)) .unsinished__gust {
  left: 320px;
}
