
@media screen and (max-width: 1299px) {

.wrapper {
  width: calc(100% - 20px);
  margin: 0 10px;
  padding: 0 0 50px;
}

header {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid #000;
}
.logo_header a {
  width: 200px;
  margin: 10px 20px 0 20px;
  float: left;
}
.logo_header a img {
  width: 100%;
  margin: 0;
}
.contact_header {
  width: 90px;
  height: 60px;
  margin-right: 60px;
  display: block;
  float: right;
}
.contact_header a {
  position: relative;
  display: block;
  padding-top: 30px;
  font-size: 90%;
}
.contact_header a::before {
  top: 10px;
  left: calc(50% - 14px);
  content: "";
  width: 25px;
  height: 18px;
  background-image: url(../images/icon_mail.svg);
}
.tel_header a {
  position: relative;
  width: 250px;
  height: 60px;
  padding: 10px 0 0 20px;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0.05em;
}
.tel_header a::before {
  position: absolute;
  top: 12px;
  left: 18px;
  content: "";
  width: 18px;
  height: 18px;
  background-image: url(../images/icon_tel.svg);
}
.tel_header span {
  font-size: 14px;
}
/* ハンバーガーボタン表示 */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: 0.3s;
}
/* 開閉時のアニメーション（X印） */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -4px);
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  margin-top: 60px;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  background: rgb(255, 255, 255);
  transition: height 0.5s ease;
  z-index: 1000;
}
nav.open {
  height: 100vh;
}
nav ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #fff;
}
nav li {
  width: 100%;
  list-style: none;
  border-bottom: 1px solid #ddd;
}
nav li a {
  display: block;
  padding: 20px;
  margin: 0;
  font-size: 16px;
  text-align: center;
}
nav li a img {
  transform: translateX(-30%);
}

.tab_pt60 {
  padding-top: 60px;
}
.type_list ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 60px;
  gap: 20px;
}
.type_list li a {
  width: 10em;
  padding: 1.2em 1em;
  text-align: center;
  align-items: center;
  color: var(--main_color);
  font-weight: 600;
  border: 1px solid var(--main_color);
  border-radius: 5px;
  transition: all 0.3s ease-out;
}
.type_list li a:hover {
  background: #fff;
  transition: all 0.3s ease-out;
}

.reason ul {
  display: grid;
  grid-template-columns: repeat(2 , 1fr);
  gap: 30px;
}
.reason li {
  padding: 0 0 30px;
  font-size: 15px;
  background: #e6e6e6;
}
.reason li .number {
  position: relative;
  display: inline-block;
  padding: 0 10px 0 3.8em;
  font-size: 21px;
  color: #fff;
  background: var(--main_color);
}
.reason li .number:before {
  position: absolute;
  top: 3px;
  left: 15px;
  content: "Reason";
  font-size: 16px;
}
.reason li h3 {
  margin: 30px 0 25px;
  padding: 0 25px;
  font-size: 24px;
}
.reason li p {
  padding: 0 30px;
}

.episode li {
  width: 40%;
  max-width: 450px;
  margin: 0 5% 100px;
}

footer .footer_info {
  width: 90%;
  float: none;
  padding: 60px 5% 50px;
}
footer .page_list {
  width: 90%;
  margin: 20px 5%;
  float: left;
}
footer .page_list li {
  float: left;
  margin-right: 2em;
}
footer .page_list li:before {
  content: "> ";
  margin-left: 10px;
}
footer .page_list .sns img {
  width: 25px;
}
footer .wrapper_copy .copy {
  padding-left: 5%;
  font-size: 13px;
}

@media screen and (max-width: 899px) {
  .textbox_info dl {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
  .textbox_info dt {
    width: 100%;
    float: left; 
    padding: 0.8em 1em 0.2em;
    font-weight: 600;
    border-bottom: none;
  }
  .textbox_info dd {
    width: 100%;
    padding: 0em 1em 0.8em 1em;
    border-bottom: 1px solid #000;
  }
}

.box_contact li {
  width: 50%;
  padding: 20px;
}
.box_contact li h3 {
  margin-bottom: 20px;
  font-size: 21px;
}
.box_contact li .box_tel,
.box_contact li .box_mail {
  height: 100px;
  padding: 20px;
}
.box_contact li .box_tel p a {
  position: relative;
  margin-left: 25px;
  font-size: 32px;
}
.box_contact li .box_tel p a::before{
  position: absolute;
  top: 0.25em;
  left: -40px;
  width: 35px;
  height: 25px;
}
.box_contact li .box_tel p a span {
  font-size: 16px;
}
.box_contact li .box_mail .btn_mail a {
  display: block;
  width: 100%;
  margin: 10px auto;
  font-size: 14px;
}
.box_sns h3 {
  font-size: 18px;
}

.gallery {
  width: 70%;
  float: none;
  margin: 0 auto 30px;
}

.single_summary_sell .textbox_single_sell {
  width: 100%;
  float: none;
}
.textbox_single_sell .box_intro {
  width: 40%;
  float: left;
  height: 300px;
  margin: 0 0 100px;
}
.box_intro .box_price {
  width: 100%;
  float: left;
  margin: 15px 0 5px;
  padding: 0 15px 15px;
  border-right: none;
  border-bottom: 1px solid #000;
  text-align: center;
}
.box_intro .box_price dl {
  width: 98%;
  display: flex;
  flex-wrap: wrap;
  margin: 10px auto; /* 親要素のmargin分 左へ */
}
.box_intro .box_price dt {
  width: 5em;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
}
.box_intro .box_price dd {
  width: calc(50% - 5em);
  border-bottom: 1px solid #000;
}
.box_intro .box_price dd:nth-of-type(2n+1) {
  border-right: 1px solid #000;
}
.box_intro .box_single_contact {
  width: 100%;
  float: left;
  margin: 0px auto;
}
.box_intro .box_single_contact p {
  position: relative;
  display: block;
  margin-left: 20px;
  font-size: 24px;
  text-align: center;
  color: #000;
  background: none;
}
.box_intro .box_single_contact p:before {
  position: absolute;
  top: 0.45em;
  left: 50%;
  transform: translateX(-4.5em);
  content: "";
  width: 18px;
  height: 18px;
}
.box_intro .box_single_contact .btn_single_mail a {
  position: relative;
  display: block;
  width: 60%;
  margin: 0 auto 10px;
  padding: 5px 0;
  font-size: 16px;
}
.box_intro .box_single_contact .btn_single_line a {
  position: relative;
  display: block;
  width: 60%;
  margin: 0 auto;
  padding: 5px 0;
  font-size: 16px;
}

.textbox_single_sell .single_basic {
  width: 55%;
  float: right;
  margin: 15px 0 30px 5%;
}
.textbox_single_sell .single_basic dd {
  width: calc(100% - 6em);
}

@media screen and (max-width: 999px) {
  .vehicle_info dt {
    width: 10em;
  }
  .vehicle_info dd {
    width: calc(50% - 10em);
  }
  .vehicle_info .vehicle_item li {
    width: 23%;
    margin: 10px 1%;
    padding: 0.8em;
    font-size: 14px;
    text-align: center;
    color: #999;
    background: #eee;
    border-radius: 5px;
  }
}

.transaction {
  width: 95%;
}
.transaction dt {
  width: 13em;
  text-align: center;
  padding: 1em 1em;
  border-bottom: 1px solid #000;
}
.transaction dd {
  width: calc(100% - 15em);
  padding: 1em 1em 1em 2em;
  border-bottom: 1px solid #000;
}

.box_contact_wrapper {
  width: 90%;
  margin: 0 auto;
  display: block;
}
.box_contact_tel {
  width: 80%;
  margin: 0 10%;
}
.box_contact_tel h2,
.box_contact_form h2 {
  margin-bottom: 20px;
  font-size: 18px;
}
.box_contact_tel .tel a {
  position: relative;
  display: block;
  margin: 0 0 50px 40px;
  font-size: 28px;
}
.box_contact_tel .tel a::before{
  position: absolute;
  display: inline-block;
  top: 0.1em;
  left: 50%;
  transform: translateX(-5.2em);
  width: 23px;
  height: 23px;
}
.box_contact_tel .tel a span {
  display: block;
  margin: 10px 0 0 -35px;
  font-size: 18px;
}
.box_contact_tel .box_contact_sns {
  width: 100%;
  margin: 10px auto;
}
.box_contact_tel .box_contact_sns h3 {
  font-size: 18px;
}
.box_contact_tel .box_contact_sns ul {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.box_contact_tel .box_contact_sns li {
  width: 30px;
  margin: 0 20px;
}
.box_contact_form {
  width: 80%;
  margin: 0 10%;
}

}