body {
  margin-top: 50px;
}

header.second {
  height: 51px;
}

header.second .upbar {
  flex-wrap: wrap;
}

header.second .upbar dt a img.logo {
  width: 100px;
}

header.second .upbar dt {
  margin-right: 20px;
}

header.second a.btn-corp {
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  display: block;
  margin-left: 10px;
  background-color: #1b4ea5;
  color: #ffffff;
}

header.second a.btn-corp span {
  font-size: 80%;
}

header.second dd.spacer {
  display: none;
}

header.second .upbar dt a img:not(.logo) {
  width: 140px;
}

header.second nav .bottombar2 > li > a.menuopener,
header.second nav .bottombar2 > li > span.menuopener {
  font-size: 80%;
}

header.second nav .bottombar2 > li {
  width: 180px;
  padding: 0;
}

header.second .upbar .contact .type a.telephone span img {
  width: 30px;
  vertical-align: sub;
  padding-top: 5px;
}

header.second .upbar .contact .type a.telephone span {
  font-size: 20px;
}

header.second .upbar .contact .type a.telephone span ruby rb {
  font-size: clamp(12px, 2.2vw, 20px);
}

header.second .upbar .contact .type a.telephone span ruby rt {
  font-size: 8px;
}

header.second .upbar .contact .type > #hdcontact .mailform {
  padding: 0 10px;
  margin-left: 10px;
}

/*header.second nav .bottombar2>li:nth-child(4) {
  width: 150px;
}*/

header.second .upbar .contact .type > #hdcontact .mailform > span span {
  font-size: 80%;
}

header.second nav .bottombar2 > li > .otherlink {
  font-size: 80%;
}

@media (min-width: 1411px) and (max-width: 1600px) {
  /* header.second nav .bottombar2>li {
    width: 150px;
  }

  header.second nav .bottombar2>li:nth-child(4) {
    width: 120px;
  }
    */

  header.second .upbar .contact .type a.telephone span {
    font-size: 16px;
  }

  header.second .upbar .contact .type a.telephone span ruby rb {
    font-size: clamp(12px, 2.2vw, 16px);
  }
}

@media (min-width: 769px) and (max-width: 1700px) {
  body {
    margin-top: 100px;
  }

  header.second {
    height: 100px;
  }

  header.second nav .bottombar2 > li {
    width: 20%;
  }

  header.second .navwrap {
    order: 3;
    width: 100%;
  }

  header.second dd.spacer {
    display: block;
    width: 100%;
    order: 2;
  }

  header.second .upbar .contact {
    order: 1;
  }
}

@media (max-width: 768px) {
  header.second .upbar dt a img.logo {
    width: 140px;
  }

  body {
    margin-top: 60px;
  }

  header.second {
    height: 60px;
  }

  header.second nav .bottombar2 > li {
    width: 100%;
  }

  header.second nav .bottombar2 > li:nth-child(4) {
    width: 100%;
  }

  header.second nav .bottombar2 > li > a.menuopener,
  header.second nav .bottombar2 > li > span.menuopener,
  header.second nav .bottombar2 > li > .otherlink {
    font-size: 100%;
  }
}

/*その他カテゴリ追加*/
#preowned main .result .n-result.other {
  background-color: #ffeee2;
}

/*フッター固定メニュー*/
@media screen and (min-width: 769px) {
  #preowned .pagetop {
    bottom: 150px;
    z-index: 101;
  }

  #preowned .fixed-btns.bottom {
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    padding: 20px 0;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: auto;
    z-index: 800;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }

  #preowned .fixed-btns.bottom .fixed-btn {
    margin: 0 20px;
    position: static;
    border-radius: 50px;
    width: 320px;
  }

  #preowned .fixed-btns.bottom .fixed-btn .ico-tel,
  #preowned .fixed-btns.bottom .fixed-btn .ico-form,
  #preowned .fixed-btns.bottom .fixed-btn .is-tel,
  #preowned .fixed-btns.bottom .fixed-btn .is-form {
    position: static;
  }

  #preowned .fixed-btns.bottom .fixed-btn .ico-tel {
    line-height: 76px;
  }

  #preowned .fixed-btns.bottom .fixed-btn p {
    font-size: 1rem;
    margin: 0;
    line-height: 1.3;
  }

  #preowned .fixed-btns.bottom .fixed-btn span {
    display: block;
    font-size: 0.9rem;
  }

  #preowned .fixed-btns.bottom .fixed-btn .ico-form {
    line-height: 76px;
  }

  #preowned .fixed-btns.bottom .fixed-btn a {
    padding: 0;
    display: flex;
    justify-content: flex-start;
  }

  #preowned .fixed-btns.bottom .fixed-btn p:nth-child(1) {
    width: 22%;
    text-align: center;
    margin-left: 10px;
  }

  #preowned .fixed-btns.bottom .fixed-btn p:nth-child(2) {
    width: 60%;
  }

  #preowned .fixed-btns.bottom .fixed-btn .ico-tel img,
  #preowned .fixed-btns.bottom .fixed-btn .ico-form img {
    display: inline;
  }

  #preowned .fixed-btns.bottom .fixed-btn .ico-tel img {
    margin-top: 20px;
  }

  #preowned .fixed-btns.bottom .fixed-btn .ico-form img {
    margin-top: 15px;
  }

  #preowned .fixed-btns.bottom .fixed-btn.is-tel,
  #preowned .fixed-btns.bottom .fixed-btn.is-form {
    height: 76px;
  }

  #preowned .fixed-btns.bottom .fixed-btn a::after {
    width: 25px;
    height: 9px;
  }
}

@media screen and (max-width: 768px) {
  #preowned .fixed-btns.bottom {
    height: auto;
  }

  #preowned .fixed-btns.bottom .fixed-btn {
    height: auto;
  }

  #preowned .fixed-btns.bottom .fixed-btn span {
    display: block;
    font-size: 0.8rem;
  }

  #preowned .fixed-btns .fixed-btn a {
    padding: 10px 10px 10px 40px;
  }

  #preowned .fixed-btns .fixed-btn.is-form p:nth-child(2) {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  #preowned .fixed-btns .fixed-btn.is-form p:nth-child(2) span {
    line-height: 1.6;
  }

  #preowned .fixed-btns .fixed-btn.is-tel p:nth-child(2) {
    margin-left: 5px;
  }

  /*フッター固定とフッターリンクが被っているため調整*/
  footer .footbar {
    margin-bottom: 10vw;
  }
}

/*車両用フッター固定メニュー*/
.footnav {
  display: flex;
  width: 100%;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100;
  position: fixed;
  padding: 20px 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

@media (max-width: 768px) {
  .footnav {
    flex-direction: column;
  }
}

.footnav .type {
  background-color: #fff;
  padding: 15px 20px 10px 20px;
  width: auto;
  margin-right: 40px;
}

.footnav .type a.telephone {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 1px;
}

.footnav .type a.telephone img {
  margin-right: 5px;
}

.footnav .type a.telephone span {
  font-size: 16px;
}

.footnav .type a.telephone span ruby rb {
  font-size: clamp(12px, 2.2vw, 26px);
}

.footnav .type a.telephone span ruby rt {
  font-size: 10px;
  letter-spacing: -1px;
  -webkit-transform: translateY(2px);
  -ms-transform: translateY(2px);
  transform: translateY(2px);
}

.footnav .type a.telephone span {
  font-size: 26px;
}

.estimate_wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 50%;
  border: 1px solid #fff;
  padding: 15px 20px;
}

/* .favlinks,.favlinks.fixed{ display: none!important;} */

.estimate_wrap .ttl {
  width: 40%;
  margin-top: 5px;
}

.estimate_wrap dt small {
  display: block;
  font-size: 14px;
}

.estimate_wrap .ttl dt {
  position: relative;
  padding-left: 4rem;
  color: #ffffff;
}

.estimate_wrap .ttl dt::before {
  position: absolute;
  top: 50%;
  left: 0.5rem;
  content: "\f0e0";
  color: #00b06b;
  font-family: "Font Awesome 5 Free";
  font-size: 48px;
  font-weight: 900;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.estimate_wrap dl:nth-child(2) {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
}

.estimate_wrap dl:nth-child(2) dd {
  width: 33%;
  color: #ffffff;
}

.estimate_wrap dl:nth-child(3) {
  width: 20%;
}

.estimate_wrap dl:nth-child(2) label {
  font-size: 80%;
}

.estimate_wrap dl:nth-child(2) label input {
  margin-right: 5px;
}

.estimate_wrap dl:nth-child(2) dd.rakuraku {
  width: 66%;
}

.estimate_wrap dd.submit a {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 5px;
  background-color: #00b06b;
  color: #fff;
  text-align: center;
}

.estimate_wrap dd.submit a::before {
  content: "\f1d8";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 0.5rem;
}

.fixed-btns.bottom {
  display: none;
}

@media (max-width: 768px) {
  .footnav {
    display: none;
  }

  .fixed-btns.bottom {
    display: flex;
  }

  .estimate_wrap {
    width: 96%;
    flex-direction: column;
    margin: 0 auto;
  }

  .estimate_wrap .ttl {
    width: 100%;
  }

  .estimate_wrap .ttl dt {
    font-size: 110%;
  }

  .estimate_wrap dl:nth-child(2),
  .estimate_wrap dl:nth-child(3) {
    width: 100%;
  }

  .estimate_wrap dl {
    margin-bottom: 2vw;
  }

  .estimate_wrap dt small {
    display: inline;
  }

  .estimate_wrap .ttl dt::before {
    font-size: 30px;
  }

  .fixed-btns.bottom {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 100;
  }

  .fixed-btns .fixed-btn.is-tel {
    background-color: #313131;
  }

  .fixed-btns .fixed-btn {
    width: 50%;
    height: auto;
    position: relative;
    border: 1px solid #fff;
  }

  .fixed-btns .fixed-btn a {
    padding: 10px 10px 10px 50px;
    display: block;
  }

  .fixed-btns .fixed-btn a {
    color: #fff;
    font-size: 1rem;
    display: block;
    -webkit-box-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 10px 10px 10px 50px;
    position: relative;
    font-family: "helvetica", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  }

  .fixed-btns .fixed-btn a img {
    width: 100%;
  }

  .fixed-btns .fixed-btn .ico-tel {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 12px;
    left: 12px;
  }

  .fixed-btns .fixed-btn.is-form {
    background-color: #00b06b;
  }

  .fixed-btns .fixed-btn .ico-form {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 6px;
    left: 6px;
  }
}

/*他の車両を探すボタン追加*/
.btnwrap {
  display: flex;
  justify-content: flex-start;
}

.btn_research {
  width: 200px;
  -webkit-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4);
  border-radius: 5px;
  background-color: #f7f7f7;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 1;
  padding: 10px;
  margin-top: 40px;
}

.btn_research {
  transform: none;
}

.simplefavorite-button {
  margin-right: 10px;
}

.btn_research a {
  display: block;
  width: 100%;
  position: relative;
  text-align: center;
}

.btn_research a:before {
  content: "\f002";
  margin-right: 5px;
  font-family: "Font Awesome 5 Free";
  font-size: 18px;
  font-weight: 900;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.simplefavorite-button::before {
  margin-right: 5px;
}

.simplefavorite-button {
  cursor: pointer;
}

/*検索結果の追従ボタンを非表示*/
/* .favlinks{ display: none!important;} */

/*トップ同様のフッター固定メニュー追記*/
#preowned .fixed-btns {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

#preowned .fixed-btns .fixed-btn.is-tel {
  background-color: #313131;
}

#preowned .fixed-btns .fixed-btn {
  width: 50%;
  position: relative;
  border: 1px solid #fff;
}

@media screen and (max-width: 768px) {
  #preowned .fixed-btns .fixed-btn a {
    display: block;
  }

  #preowned .fixed-btns .fixed-btn p {
    font-size: 1rem;
  }

  #preowned .fixed-btns .fixed-btn.is-tel p {
    font-size: 1.2rem;
  }
}

#preowned .fixed-btns .fixed-btn.is-form {
  background-color: #00b06b;
}

#preowned .fixed-btns .fixed-btn a {
  color: #fff;
  font-size: 1rem;
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-box-align: center;
  align-items: center;
  font-family: "helvetica", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

#preowned .fixed-btns .fixed-btn .ico-tel {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 12px;
  left: 12px;
}

#preowned .fixed-btns .fixed-btn img {
  width: 100%;
  height: auto;
}

#preowned .fixed-btns .fixed-btn .ico-form {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 6px;
  left: 6px;
}

@media screen and (min-width: 768px) {
  #preowned .fixed-btns .fixed-btn .ico-tel,
  #preowned .fixed-btns .fixed-btn .ico-form {
    height: 80px;
  }

  #preowned .fixed-btns .fixed-btn .ico-tel img {
    width: 33px;
    margin-left: 10px;
  }

  #preowned .fixed-btns .fixed-btn .ico-form img {
    width: 50px;
  }

  #preowned .fixed-btns.bottom .fixed-btn .ico-form {
    line-height: 76px;
  }

  #preowned .fixed-btns .fixed-btn a::after {
    content: "";
    background-image: url("/assets/service/images/preowned/top/arrow_r.svg");
    position: absolute;
    top: calc(50% - 8px);
    right: 20px;
  }

  #preowned .fixed-btns .fixed-btn a {
    font-size: 1.5rem;
  }

  .fixed-btns.bottom .fixed-btn.is-form {
    height: 76px;
  }

  #preowned .fixed-btns .fixed-btn {
    transition: all 0.3s ease;
  }
}

#preowned .top-search-list > li.is-wide .top-form-list.is-width100 {
  width: 100%;
  display: flex;
}

#preowned .top-search-list > li.is-wide .top-form-list.is-width100 li {
  width: auto;
}

@media screen and (max-width: 768px) {
  #preowned .top-search-list > li.is-wide .top-form-list.is-width100 li {
    width: 100%;
  }
}

#preowned main .s-form_Content__Box dl.p-o_select {
  display: none;
}

#preowned main .result_Sort {
  position: relative;
  top: 0;
}

/*snsボタン*/
.snsbx {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 14px 20px 0 0;
}

.snsbx li:nth-of-type(1) {
  width: 20px;
}

.snsbx li:nth-of-type(2) {
  width: 18px;
}

.snsbx li:nth-of-type(3) {
  width: 18px;
}

.snsbx li img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .upbar .contact .snsbx {
    display: none;
  }
}

/* 202502 お気に入り一覧ボタンのみ復活 */
.favlinks {
  z-index: 101;
}

@media screen and (max-width: 1200px) {
  .favlinks ul {
    width: auto;
  }
}

@media screen and (max-width: 768px) {
  .favlinks,
  .favlinks.fixed {
    bottom: 100px;
  }

  .favlinks ul {
    width: 100%;
  }

  .favlinks ul li {
    width: 100%;
  }

  .favlinks ul li a {
    padding-top: 30px;
  }

  .favlinks ul li a span::before {
    font-size: 24px;
  }
}

@media screen and (max-width: 480px) {
  .favlinks ul {
    border: 1px solid #ccc;
  }

  .favlinks ul li {
    padding: 8px;
  }

  .favlinks.btm {
    bottom: 10px;
  }
}

#preowned main .s-form_Content__Box dl dd ul li.long {
  width: calc(100% / 2);
}
