@charset "UTF-8";
/************************************************************
 * main
************************************************************/
.title-wrap {
  padding: 12px 6vw;
  background-color: #f3f5f8;
  position: relative;
}
.title-wrap .campany_name {
  display: inline-block;
  padding-top: 2px;
  padding-bottom: 6px;
  font-size: 1.4rem;
  color: #042476;
  font-weight: bold;
  line-height: 1;
}
.title-wrap .campany_name.new {
  padding-right: 42px;
  background: url(../../assets/img/i_new.svg) no-repeat top right;
  background-size: 36px auto;
}
.title-wrap .car_name {
  padding-right: 30px;
  font-size: 2rem;
  color: #042476;
  font-weight: bold;
  line-height: 1.2;
}
.title-wrap .favorite_icon {
  display: block;
  width: 38px;
  height: 38px;
  position: absolute;
  top: 50%;
  right: 3vw;
  -webkit-transform: translateY(-19px);
          transform: translateY(-19px);
  background: url(../../assets/img/btn_favorite.svg) no-repeat center center;
  background-size: 38px 38px;
  cursor: pointer;
}
.title-wrap .favorite_icon.entry {
  background: url(../../assets/img/btn_favorite_on.svg) no-repeat center center;
  background-size: 38px 38px;
}

.price_area {
  padding: 10px 6vw 0;
  display: flex;
  justify-content: space-between;
}
.price_area .price-wrap {
  display: flex;
  justify-content: space-between;
  flex: 1;
}
.price_area .price-wrap li {
  /* width: 47%; */
  width: 33%;
}
.price_area .price-wrap li .ttl {
  display: block;
  font-size: 1.2rem;
  padding-bottom: 6px;
  border-bottom: 2px solid #d5d2cf;
  position: relative;
}
.price_area .price-wrap li .ttl span {
  font-size: 1.1rem;
}
.price_area .price-wrap li .price {
  display: block;
  padding: 10px 0 0;
  /*font-size: 2.1rem;*/
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
  letter-spacing: -0.5px;
}
.price_area .price-wrap li .price span {
  font-size: 1.2rem;
}
.price_area .price-wrap li.total .price {
  color: #e10920;
}
.price_area .price-wrap li.total .price span {
  color: #3e3a39;
}
.price_area .question {
  display: block;
  width: 16px;
  height: 16px;
  background: url(../../img/detail/question.svg) no-repeat 0 0;
  background-size: 16px 16px;
  position: absolute;
  top: 0;
  right: 0;
}
.price_area .rating_link {
  width: 70px;
  margin-left: 15px;
}
.price_area .rating_link a {
  display: block;
  text-decoration: none;
  color: #e10920;
}
.price_area .rating_link a dl {
  border: 2px solid #e10920;
}
.price_area .rating_link a dl dt {
  padding: 5px 0;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  border-bottom: 2px solid #e10920;
}
.price_area .rating_link a dl dd {
  padding: 5px 0;
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  text-decoration: underline;
}

.comment_area {
  padding: 10px 6vw 0;
  display: flex;
  justify-content: space-between;
}
.comment_area .comment-wrap {
  display: flex;
  justify-content: space-between;
  flex: 1;
}

.comment_area .comment-wrap .ttl {
  display: block;
  font-size: 1.2rem;
  padding-bottom: 3px;
  position: relative;
  z-index: -1;
}


.detail-table {
  width: 90%;
  /* margin: 25px 6vw 0; */
  margin: 5px 6vw 0;
}
.detail-table th {
  width: 30%;
  padding: 8px;
  font-size: 1.2rem;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #d5d2cf;
  background-color: #f3f5f8;
}
.detail-table td {
  width: 70%;
  padding: 8px;
  font-size: 1.4rem;
  border: 1px solid #d5d2cf;
}
.detail-table .m_toyota {
  width: 84px;
  height: 44px;
}

.calculate-wrap {
  padding: 0 6vw;
}
.calculate-wrap li {
  margin-top: 20px;
}
.calculate-wrap li a {
  display: block;
  text-decoration: none;
}

.contact-wrap {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding: 0 6vw 0;
}
.contact-wrap li {
  width: 32%;
}
.contact-wrap li a {
  display: block;
  text-decoration: none;
}
.contact-wrap li p {
  display: block;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 12px;
  border-radius: 3px;
  box-shadow: 1px 1px 2px 0px rgba(10, 10, 10, 0.2);
  font-size: 1.2rem;
  color: #042476;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  cursor: pointer;
}
.contact-wrap li p.quote_btn {
  background: #e5e9ee url(../../assets/img/i_calculator.svg) no-repeat top 6px center;
  background-size: 40px 40px;
}
.contact-wrap li p.negotiation_btn {
  background: #e5e9ee url(../../assets/img/i_calendar.svg) no-repeat top 6px center;
  background-size: 40px 40px;
}
.contact-wrap li p.contact_btn {
  background: #e5e9ee url(../../assets/img/i_mail.svg) no-repeat top 6px center;
  background-size: 40px 40px;
}

#meisai-table th{
  width: 55%;
}
#meisai-bottom-table th{
  width: 55%;
}

@media screen and (min-width: 769px) {
  .title-wrap {
    width: 1100px;
    margin: 0 auto;
    padding: 22px 0;
  }
  .title-wrap__bg {
    background-color: #f3f5f8;
  }
  .title-wrap .campany_name {
    padding-bottom: 8px;
    font-size: 1.9rem;
  }
  .title-wrap .campany_name.new {
    padding-top: 3px;
    padding-right: 54px;
    background-size: 46px 18px;
  }
  .title-wrap .car_name {
    padding-right: 50px;
    font-size: 2.3rem;
  }
  .title-wrap .favorite_icon {
    width: 44px;
    height: 44px;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-22px);
            transform: translateY(-22px);
    background: url(../../assets/img/btn_favorite.svg) no-repeat center center;
    background-size: 44px 44px;
  }
  .title-wrap .favorite_icon.entry {
    background: url(../../assets/img/btn_favorite_on.svg) no-repeat center center;
    background-size: 44px 44px;
  }

  .pc-wrap {
    display: flex;
    justify-content: space-between;
    /*width: 1100px; */
    width: 1150px;
    margin: 0 auto;
    padding: 40px 0 0;
  }
  .pc-wrap .gallery {
    width: 594px;
    position: relative;
  }
  .pc-wrap__right {
    /*width: 476px;*/
    width: 526px;
  }

  .price_area {
    padding: 0;
  }
  .price_area .price-wrap {
    /*width: 350px;*/
    width: 400px;
    flex: none;
  }
  .price_area .price-wrap li {
    /* width: 164px; */
    width: 130px;
  }
  .price_area .price-wrap li .ttl {
    font-size: 1.7rem;
    padding-bottom: 6px;
    border-bottom: 2px solid #d5d2cf;
  }
  .price_area .price-wrap li .ttl span {
    /*font-size: 1.7rem;*/
    font-size: 1.2rem;
  }
  .price_area .price-wrap li .price {
    padding: 15px 0 0;
    /*font-size: 3rem;*/
    font-size: 2.5rem;
    letter-spacing: 0;
  }
  .price_area .price-wrap li .price span {
    /*font-size: 2rem;*/
    font-size: 1.5rem;
  }
  .price_area .question {
    width: 23px;
    height: 23px;
    background: url(../../img/detail/question.svg) no-repeat 0 0;
    background-size: 23px 23px;
  }
  .price_area .rating_link {
    width: 102px;
    margin-left: 0;
  }
  .price_area .rating_link a dl {
    border: 3px solid #e10920;
  }
  .price_area .rating_link a dl dt {
    padding: 8px 0;
    font-size: 1.8rem;
  }
  .price_area .rating_link a dl dd {
    padding: 10px 0;
    font-size: 2.8rem;
  }

  .comment_area {
    padding: 0;
  }
  .comment_area .comment-wrap {
    width: 400px;
    flex: none;
  }
  .comment_area .comment-wrap li {
    width: 130px;
  }

  .comment_area .comment-wrap .ttl {
    font-size: 1.5rem;
    padding-bottom: 3px;
    z-index: -1;    
  }  

  .detail-table {
    width: 90%;
    /*margin: 20px 0 0;*/
    margin: 5px 0 0;
    border: 2px solid #d5d2cf;
  }
  .detail-table th {
    padding: 8px 12px;
    font-size: 1.6rem;
  }
  .detail-table td {
    padding: 8px 12px;
    font-size: 1.6rem;
  }

  .calculate-wrap {
    padding: 7px 0 0;
  }
  .calculate-wrap li {
    margin-top: 15px;
  }
  .calculate-wrap li a {
    display: block;
    text-decoration: none;
  }
  /*contact*/
  .contact-wrap {
    display: flex;
    justify-content: center;
    width: 1100px;
    margin: 0 auto;
  }
  .contact-wrap__bg {
    display: block;
    width: 100%;
    height: 106px;
    background-color: #e5e9ee;
    padding: 20px 0 0;
    margin-top: 50px;
  }
  .contact-wrap li {
    width: 270px;
    margin: 0 6px;
    height: 62px;
  }
  .contact-wrap li a {
    display: block;
    text-decoration: none;
  }
  .contact-wrap li p {
    display: block;
    width: 100%;
    height: 62px;
    padding: 24px 0 0 70px;
    border-radius: 4px;
    box-shadow: 2px 2px 2px 0px rgba(10, 10, 10, 0.2);
    font-size: 1.8rem;
    color: #042476;
    font-weight: bold;
    text-align: left;
    letter-spacing: 0.4px;
    cursor: pointer;
  }
  .contact-wrap li p.quote_btn {
    background: #fff url(../../assets/img/i_calculator.svg) no-repeat center left 15px;
    background-size: 40px 40px;
  }
  .contact-wrap li p.negotiation_btn {
    display: block;
    background: #fff url(../../assets/img/i_calendar.svg) no-repeat center left 15px;
    background-size: 40px 40px;
  }
  .contact-wrap li p.contact_btn {
    background: #fff url(../../assets/img/i_mail.svg) no-repeat center left 15px;
    background-size: 40px 40px;
  }

  .quote_btn:hover,
.negotiation_btn:hover,
.contact_btn:hover {
    transition: all 0.1s ease-out;
    box-shadow: none;
    -webkit-transform: translate(2px, 2px);
            transform: translate(2px, 2px);
  }
}
/*float-contact*/
.float-contact {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px 0;
  background-color: #e5e9ee;
  z-index: 10;
  -webkit-transform: translateY(110px);
            transform: translateY(110px);
  transition: all 0.3s ease-out;
}
.float-contact.is-open {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.float-contact ul {
  display: flex;
  justify-content: space-between;
  padding: 0 2vw 0;
}
.float-contact ul li {
  width: 32%;
  height: 44px;
}
.float-contact ul li a {
  display: block;
  text-decoration: none;
}
.float-contact ul li p {
  display: block;
  width: 100%;
  height: 44px;
  padding: 17px 0 0 42px;
  border-radius: 3px;
  box-shadow: 1px 1px 2px 0px rgba(10, 10, 10, 0.2);
  font-size: 1.1rem;
  color: #042476;
  font-weight: bold;
  /* text-align: center; */
  line-height: 1;
  cursor: pointer;
}
.float-contact ul li p.quote_btn {
  background: #fff url(../../assets/img/i_calculator.svg) no-repeat center left 3px;
  background-size: 28px 28px;
}
.float-contact ul li p.negotiation_btn {
  background: #fff url(../../assets/img/i_calendar.svg) no-repeat center left 3px;
  background-size: 28px 28px;
}
.float-contact ul li p.contact_btn {
  letter-spacing: -0.5px;
  background: #fff url(../../assets/img/i_mail.svg) no-repeat center left 3px;
  background-size: 28px 28px;
}

/*View360*/
#panorama {
  width: 100%;
  /*height: 240px;*/
  vertical-align: bottom;
}
#panorama_larg {
  width: 100%;
  /*height: 240px;*/
  vertical-align: bottom;
}
.pnlm-controls-container-right {
  position: absolute;
  top:0px;
  right: 4px;
  z-index: 10;
}

.view360-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.view360-wrap__bg {
  display: none;
  width: 100%;
  /* height: 50px; */
  height: 60px;
  background-color: #e5e9ee;
  /*padding: 20px 0 0;*/
  padding-top: 10px;
}
.view360-wrap li {
  width: 270px;
  margin: 0 6px;
  height: 42px;
}
.view360-wrap li a {
  display: block;
  text-decoration: none;
}
.view360-wrap li p {
  display: block;
  width: 100%;
  height: 42px;
  padding: 10px 0 0 10px;
  border-radius: 4px;
  box-shadow: 2px 2px 2px 0px rgba(10, 10, 10, 0.2);
  font-size: 1.8rem;
  color: #042476;
  font-weight: bold;
  text-align: left;
  letter-spacing: 0.4px;
  cursor: pointer;
}

.view360-wrap li p.exterior_btn {
  background: #fff url(../../assets/img/i_exterior.png) no-repeat center left 15px;
  background-size: 40px 40px;
  text-align:center;
}
.view360-wrap li p.interior_btn {
  background: #fff url(../../assets/img/i_interior.png) no-repeat center left 15px;
  background-size: 40px 40px;
  text-align:center;
}

.view360-container {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}

.view360-wrapper {
  position: relative;
  width: 70%;
  /*width: fit-content;*/
  height: 70%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
  margin-left: auto;
  margin-right: auto;
  overflow:hidden;
}

.exterior_btn:hover,
.interior_btn:hover {
    transition: all 0.1s ease-out;
    box-shadow: none;
    -webkit-transform: translate(2px, 2px);
            transform: translate(2px, 2px);
  }

@media screen and (min-width: 769px) {
  .float-contact {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 106px;
    padding: 20px 0 0;
    -webkit-transform: translateY(110px);
            transform: translateY(110px);
    transition: all 0.3s ease-out;
  }
  .float-contact.is-open {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  .float-contact ul {
    display: flex;
    justify-content: center;
    width: 1100px;
    margin: 0 auto;
    padding: 0;
  }
  .float-contact ul li {
    width: 270px;
    margin: 0 6px;
    height: 62px;
  }
  .float-contact ul li p {
    display: block;
    width: 100%;
    height: 62px;
    padding: 24px 0 0 70px;
    border-radius: 4px;
    box-shadow: 2px 2px 2px 0px rgba(10, 10, 10, 0.2);
    font-size: 1.8rem;
    letter-spacing: 0.4px;
  }
  .float-contact ul li p.quote_btn {
    background: #fff url(../../assets/img/i_calculator.svg) no-repeat center left 15px;
    background-size: 40px 40px;
  }
  .float-contact ul li p.negotiation_btn {
    background: #fff url(../../assets/img/i_calendar.svg) no-repeat center left 15px;
    background-size: 40px 40px;
  }
  .float-contact ul li p.contact_btn {
    letter-spacing: 0.4px;
    background: #fff url(../../assets/img/i_mail.svg) no-repeat center left 15px;
    background-size: 40px 40px;
  }
  #panorama {
    width: 100%;
    /*height: 446px;*/
    vertical-align: bottom;
  }
  #panorama_larg {
    width: 100%;
    /*height: 446px;*/
    vertical-align: bottom;
  }
}
/*page-top位置*/
.page-top {
  /* bottom: 65px; */
  bottom: 0;
  transition: all 0.3s ease-out;
}

.page-top.is-move {
  bottom: 65px;
}

@media screen and (min-width: 769px) {
  /* .page-top {
    bottom: 0;
    transition: all 0.3s ease-out;
  } */

  .page-top.is-move {
    bottom: 107px;
  }
}
/************************************************************
 * gallery
************************************************************/
.gallery {
  padding: 3vw;
  position: relative;
}

.zoomBtn {
  width: 44px;
  height: 44px;
  background: #fff url(../../img/detail/zoom.svg) no-repeat center center;
  background-size: 44px 44px;
  border-top-left-radius: 6px;
  position: absolute;
  z-index: 11;
  bottom: 0;
  right: 0;
  cursor: pointer;
}

.zoom360Btn {
  width: 44px;
  height: 44px;
  background: #fff url(../../img/detail/zoom.svg) no-repeat center center;
  background-size: 44px 44px;
  border-top-left-radius: 6px;
  position: absolute;
  z-index: 11;
  bottom: 0;
  right: 0;
  cursor: pointer;
}

.swiper-button-next {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  height: 130px;
  width: 35px;
  top: 39%;
  right: 0;
  margin: 0;
  -webkit-transform: translateY(-65px);
          transform: translateY(-65px);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.swiper-button-next::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: -5px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.swiper-button-prev {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  height: 130px;
  width: 35px;
  top: 39%;
  left: 0;
  margin: 0;
  -webkit-transform: translateY(-65px);
          transform: translateY(-65px);
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.swiper-button-prev::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: -5px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.view360-button-next-modal {
  display: flex;
  z-index: 50;
  position: absolute;
  background-color: #e5e9ee;
  height: 130px;
  width: 35px;
  top: 50%;
  right: 0;
  margin: 0;
  -webkit-transform: translateY(-65px);
          transform: translateY(-65px);
  border-radius: 4px;
}
.view360-button-next-modal::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 10px;
  margin-top: 55px;
  border-top: 2px solid rgba(0, 0, 0, 0.5);
  border-right: 2px solid rgba(0, 0, 0, 0.5);
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.swiper-button-next-modal {
  display: flex;
  z-index: 50;
  position: absolute;
  background-color: #e5e9ee;
  height: 130px;
  width: 35px;
  top: 50%;
  right: 0;
  margin: 0;
  -webkit-transform: translateY(-65px);
          transform: translateY(-65px);
  border-radius: 4px;
}
.swiper-button-next-modal::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 10px;
  margin-top: 55px;
  border-top: 2px solid rgba(0, 0, 0, 0.5);
  border-right: 2px solid rgba(0, 0, 0, 0.5);
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}


.swiper-button-prev-modal {
  display: flex;
  z-index: 50;
  position: absolute;
  background-color: #e5e9ee;
  height: 130px;
  width: 35px;
  top: 50%;
  left: 0;
  margin: 0;
  -webkit-transform: translateY(-65px);
          transform: translateY(-65px);
  border-radius: 4px;
}
.swiper-button-prev-modal::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 10px;
  margin-top: 55px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.5);
  border-left: 2px solid rgba(0, 0, 0, 0.5);
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.view360-button-prev-modal {
  display: flex;
  z-index: 50;
  position: absolute;
  background-color: #e5e9ee;
  height: 130px;
  width: 35px;
  top: 50%;
  left: 0;
  margin: 0;
  -webkit-transform: translateY(-65px);
          transform: translateY(-65px);
  border-radius: 4px;
}
.view360-button-prev-modal::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 10px;
  margin-top: 55px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.5);
  border-left: 2px solid rgba(0, 0, 0, 0.5);
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.swiper-pagination {
  color: #fff;
  font-weight: bold;
  background: rgba(0,0,0,0.5);
  width: 76px;
  margin-left: calc(50% - 38px);
}

.gallery-thumbs {
  height: 18vw;
  margin: 15px 0 0;
}

.gallery-thumbs .swiper-slide,
.modal-gallery-thumbs .swiper-slide {
  background-position: center center;
  background-size: cover;
}

.gallery-thumbs .swiper-slide-thumb-active:before,
.modal-gallery-thumbs .swiper-slide-thumb-active:before {
  content: "";
  border: 3px solid #e10920;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: block;
}

.modal-slide .swiper-lazy {
  width: 100%;
}

/*modal-slide*/
.modal {
  display: block;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: opacity 0.3s;
}

.modal.hide {
  opacity: 0;
  visibility: hidden;
}

.modal-bg {
  position: absolute;
  width: 100%;
  height: 150vh;
  background-color: #000;
  opacity: 1;
}

.modalGp {
  position: relative;
  padding: 50px 0 0;
}

.modal-slide {
  width: 100%;
}

.modal-gallery-thumbs {
  height: 22vw;
  padding: 10px 0;
}

/************************************************************
 * modal2-loan,
************************************************************/
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-loan, .modal-detail {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 110;
}

.modal2 {
  position: absolute;
  background-color: #fff;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  height: auto;
  overflow-x: hidden;
}

.modal2 .modal-table {
  margin: 67px 5% 5% 5%;
}
.modal2 .modal-bottom-table {
  width: 90%;
  margin: 5px 5% 5% 5%;
}

.modal-inner {
  padding: 20px;
  background-color: #fff;
  position: relative;
}
.modal-inner .search-title {
  margin-top: 0;
}
.modal-inner .search-title span {
  display: block;
  font-size: 1.1rem;
  font-weight: normal;
}
.modal-inner .modal__close {
  position: absolute;
  top: 24px;
  right: 20px;
  padding: 3px 20px 3px 0;
  font-size: 1.3rem;
  color: #042476;
  font-weight: bold;
  cursor: pointer;
}
.modal-inner .modal__close::before, .modal-inner .modal__close::after {
  content: "";
  display: block;
  width: 15px;
  height: 1px;
  background: #e10920;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  position: absolute;
  top: 11px;
  right: 0;
}
.modal-inner .modal__close::after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.modal-inner .modal__close {
  position: absolute;
  top: 24px;
  right: 20px;
  padding: 3px 20px 3px 0;
  font-size: 1.3rem;
  color: #042476;
  font-weight: bold;
  cursor: pointer;
}
.modal2 .modal-inner {
  overflow-y: auto;
  height: 75vh;
}
.loan-msg {
  margin: 5%;
  font-size: 0.8em;
}

.closeBtn {
  position: fixed;
  top: 0;
  right: 0;
  width: 90px;
  padding: 6px 30px 6px 10px;
  font-size: 1.4rem;
  color: #042476;
  font-weight: bold;
  background-color: #fff;
  border: 1px solid #d5d2cf;
  cursor: pointer;
  z-index: 100000;
}
.closeBtn::before, .closeBtn::after {
  content: "";
  display: block;
  width: 15px;
  height: 1px;
  background: #e10920;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  position: absolute;
  top: 16px;
  right: 12px;
}
.closeBtn::after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.radio-siharai li label{
  font-size:min(4vw,1.4rem) !important;
}

.hidden-radio-btn{
  display: none;
}

.loan-count-td{
  vertical-align: middle;
}

#loan-select{
  padding: 0.5rem 0.5rem 0.5rem 1.6rem;
}

@media screen and (max-width: 768px) and (orientation: landscape) {
  .modalGp {
    width: 50%;
    margin: 0 auto;
    padding: 15px 0 0;
  }

  .modal-gallery-thumbs {
    height: 22vh;
    padding: 10px 0;
  }
}
@media screen and (min-width: 769px) {
  .gallery {
    padding: 0;
  }

  .mainSlide {
    height: 446px;
  }

  .zoomBtn {
    width: 52px;
    height: 52px;
    background: #fff url(../../img/detail/zoom.svg) no-repeat center center;
    background-size: 52px 52px;
    border-top-left-radius: 10px;
  }

  .zoom360Btn {
    width: 52px;
    height: 52px;
    background: #fff url(../../img/detail/zoom.svg) no-repeat center center;
    background-size: 52px 52px;
    border-top-left-radius: 10px;
  }  
  .swiper-button-next {
    top: 150px;
    -webkit-transform: translateX(10px);
            transform: translateX(10px);
  }

  .swiper-button-prev {
    top: 150px;
    -webkit-transform: translateX(-10px);
            transform: translateX(-10px);
  }

  .gallery-thumbs {
    height: 90px;
  }

  .modalGp {
    height: 100vh;
  }

  .modal-slide {
    max-width: 800px;
    max-height: 600px;
    height: 70%;
  }

  .modal-slide-view360 {
    max-width: 800px;
    max-height: 600px;
  }

  .modal-gallery-thumbs {
    width: 80%;
    height: 12vw;
    margin-right: auto;
    margin-left: auto;
  }

  .gallery-thumbs .swiper-slide-thumb-active:before,
.modal-gallery-thumbs .swiper-slide-thumb-active:before {
    border: 6px solid #e10920;
  }

  .modal-slide .swiper-lazy {
    width: 75%;
  }

  .closeBtn {
    position: fixed;
    top: 4px;
    right: 4px;
    width: 120px;
    padding: 6px 30px 6px 20px;
    font-size: 1.7rem;
    color: #042476;
    font-weight: bold;
    background-color: #fff;
    border: 1px solid #d5d2cf;
    cursor: pointer;
  }
  .closeBtn::before, .closeBtn::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: #e10920;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    position: absolute;
    top: 18px;
    right: 15px;
  }
  .closeBtn::after {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
}

.checked{
  background-color: #757575 !important;
}
/************************************************************
 * tab
************************************************************/
.detail-tab {
  border: 1px solid #d5d2cf;
  border-radius: 4px;
  margin: 40px 6vw 0;
}
.detail-tab > ul {
  display: flex;
  flex-wrap: wrap;
}
.detail-tab > ul .tab {
  display: block;
  width: 50%;
  position: relative;
  margin: 0;
  padding: 3.2vw 0;
  font-size: 1.4rem;
  font-weight: bold;
  color: #042476;
  text-align: center;
  border-right: 1px solid #d5d2cf;
  border-bottom: 1px solid #d5d2cf;
  cursor: pointer;
  transition: all 0.2s;
}
.detail-tab > ul .tab.lst {
  border-right: none;
}
.detail-tab > ul .tab .line {
  display: none;
}
.detail-tab > ul .tab.show {
  border-bottom: 1px solid #fff;
  color: #e10920;
}
.detail-tab > ul .tab.show .line {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #e10920;
}
.detail-tab .tab-contents {
  display: none;
  width: 100%;
  padding: 15px 3vw 20px;
}
.detail-tab .tab-contents.show {
  display: block;
}

.equipment-icon {
  display: flex;
  flex-wrap: wrap;
}
.equipment-icon li {
  width: 31%;
  margin: 0 0.2vw 3vw 0.2vw;
}
.equipment-icon + .sub-title {
  margin-top: 15px;
}

.equipment-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.equipment-list li {
  width: 100%;
  margin-bottom: 8px;
  padding: 6px;
  border: 2px solid #dce2eb;
  border-radius: 4px;
  font-size: 1.1rem;
  color: #dce2eb;
  font-weight: bold;
}
.equipment-list li.half {
  width: 49%;
}
.equipment-list li.on {
  border: 2px solid #f3f5f8;
  background: #f3f5f8;
  color: #042476;
}

.detail-tab-table {
  width: 100%;
  margin: 0;
}
.detail-tab-table th {
  width: 40%;
  padding: 8px;
  font-size: 1.4rem;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #d5d2cf;
  background-color: #f3f5f8;
}
.detail-tab-table td {
  width: 60%;
  padding: 8px;
  font-size: 1.4rem;
  border: 1px solid #d5d2cf;
}
.detail-tab-table + .detail-tab-table {
  margin-top: -1px;
}

@media screen and (min-width: 769px) {
  .detail-tab {
    width: 1100px;
    border: 2px solid #d5d2cf;
    border-radius: 4px;
    margin: 50px auto 0;
  }
  .detail-tab > ul .tab {
    padding: 25px 0;
    font-size: 2rem;
    border-right: 2px solid #d5d2cf;
    border-bottom: 2px solid #d5d2cf;
  }
  .detail-tab > ul .tab.show {
    border-bottom: 2px solid #fff;
  }
  .detail-tab .tab-contents {
    display: none;
    width: 100%;
    padding: 30px 25px;
  }

  .equipment-icon li {
    width: 164px;
    margin-bottom: 10px;
  }
  .equipment-icon + .sub-title {
    margin-top: 30px;
  }

  .equipment-list {
    justify-content: flex-start;
    width: 1056px;
    margin-left: -10px;
  }
  .equipment-list li {
    width: 518px;
    margin-left: 10px;
    padding: 11px 15px;
    border: 2px solid #dce2eb;
    border-radius: 4px;
    font-size: 1.4rem;
  }
  .equipment-list li.half {
    width: 254px;
  }

  .table-wrap {
    display: flex;
    justify-content: space-between;
  }

  .detail-tab-table {
    width: 516px;
    margin: 0;
  }
  .detail-tab-table th {
    width: 40%;
    padding: 8px;
    font-size: 1.6rem;
    text-align: left;
    vertical-align: middle;
    border: 1px solid #d5d2cf;
    background-color: #f3f5f8;
  }
  .detail-tab-table td {
    width: 60%;
    padding: 8px;
    font-size: 1.6rem;
    border: 1px solid #d5d2cf;
  }
  .detail-tab-table + .detail-tab-table {
    margin-top: 0;
  }
}
/************************************************************
 * quality
************************************************************/
.quality-wrap {
  padding: 0 6vw 40px;
}

.otoiawase-wrap {
  padding: 0 6vw;
}


.rating dt {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: bold;
}
.rating dd {
  display: inline-block;
  padding-left: 5px;
  font-size: 2.2rem;
  font-weight: bold;
  color: #e10920;
}

.rank {
  width: 100%;
  margin-top: 5px;
  position: relative;
}

.rank-map {
  width: 100%;
}
.rank-map dt {
  display: flex;
  justify-content: center;
}
.rank-map dt p {
  width: 33.3333333333%;
  padding: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
}
.rank-map dt p.best {
  background-color: #c0cad5;
}
.rank-map dt p.standard {
  text-align: center;
  background-color: #d3dae2;
}
.rank-map dt p.low {
  text-align: right;
  background-color: #e9ecf1;
}
.rank-map dd {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}
.rank-map dd p {
  width: 11.1111111111%;
  padding: 12px 0 8px;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  border-right: 1px solid #c0cad5;
}
.rank-map dd p:first-child {
  border-left: 1px solid #c0cad5;
}
.rank-map.info dd p {
  width: 20%;
}

.rank-icon {
  display: block;
  width: 21px;
  position: absolute;
  top: 20px;
  left: 33.33%;
  -webkit-transform: translateX(-10px);
          transform: translateX(-10px);
}

.quality-table {
  width: 100%;
  margin-top: 20px;
}
.quality-table th {
  width: 25%;
  padding: 8px;
  font-size: 1.2rem;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #d5d2cf;
  background-color: #f3f5f8;
}
.quality-table td {
  width: 15%;
  padding: 8px;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #d5d2cf;
}
.quality-table td + td {
  width: 60%;
  padding: 8px;
  font-size: 1.2rem;
  font-weight: normal;
  text-align: left;
  border: 1px solid #d5d2cf;
}

.quality-info {
  margin-top: 20px;
}
.quality-info .ttl {
  font-size: 1.4rem;
  font-weight: bold;
  padding-bottom: 6px;
}

.notice {
  width: 100%;
  margin-top: 20px;
  border-top: 1px solid #d5d2cf;
  border-left: 1px solid #d5d2cf;
  border-right: 1px solid #d5d2cf;
}
.notice dt {
  padding: 8px 10px;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #d5d2cf;
  background-color: #f3f5f8;
}
.notice dd {
  padding: 8px 10px;
  font-size: 1.1rem;
  border-bottom: 1px solid #d5d2cf;
}

@media screen and (min-width: 769px) {
  .quality-wrap {
    width: 1100px;
    margin: 0 auto;
    padding: 10px 0 50px;
  }
  .otoiawase-wrap {
    width: 1100px;
    margin: 0 auto;
    padding: 10px 0;
  }

  .rating_area {
    display: flex;
    justify-content: space-between;
  }
  .rating_area .rating {
    display: flex;
    align-items: center;
    width: 240px;
    height: 74px;
    border: 3px solid #e10920;
    position: relative;
  }
  .rating_area .rating::after {
    content: "";
    width: 1px;
    height: 70px;
    background-color: #e10920;
    position: absolute;
    top: 0;
    left: 126px;
  }
  .rating_area .rating dt {
    width: 127px;
    text-align: center;
  }
  .rating_area .rating dt span {
    font-size: 1.8rem;
  }
  .rating_area .rating dd {
    width: 106px;
    padding: 0;
    text-align: center;
  }
  .rating_area .rating dd span {
    font-size: 3.2rem;
  }
  .rating_area .rank {
    width: 830px;
    margin-top: 0;
  }

  .rank-map dt p {
    font-size: 1.6rem;
  }
  .rank-map dd {
    margin-top: 2px;
  }
  .rank-map dd p {
    padding: 14px 0 10px;
    font-size: 1.6rem;
  }

  .rank-icon {
    width: 24px;
    top: 22px;
    -webkit-transform: translateX(-12px);
            transform: translateX(-12px);
  }

  .quality-table {
    margin-top: 30px;
  }
  .quality-table th {
    width: 110px;
    padding: 10px 16px;
    font-size: 1.5rem;
    text-align: center;
    vertical-align: middle;
    border: 2px solid #d5d2cf;
  }
  .quality-table td {
    width: 80px;
    padding: 10px 16px;
    font-size: 1.8rem;
    vertical-align: middle;
    border: 2px solid #d5d2cf;
  }
  .quality-table td + td {
    width: auto;
    padding: 10px 16px;
    font-size: 1.5rem;
    vertical-align: middle;
    border: 2px solid #d5d2cf;
  }

  .quality-info {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
  }
  .quality-info .ttl {
    font-size: 1.6rem;
  }
  .quality-info .criterion-wrap {
    width: 520px;
  }
  .quality-info .notice {
    width: 550px;
    margin-top: 0;
    border-top: 2px solid #d5d2cf;
    border-left: 2px solid #d5d2cf;
    border-right: 2px solid #d5d2cf;
  }
  .quality-info .notice dt {
    font-size: 1.4rem;
    text-align: left;
    border-bottom: 2px solid #d5d2cf;
    background-color: #f3f5f8;
  }
  .quality-info .notice dd {
    font-size: 1.4rem;
    border-bottom: 2px solid #d5d2cf;
  }
}

/*詳細*/
.top-tab {
  margin-top: 10px;
}
  .top-tab ul li {
    width: 50%;
  }
.top-tab {
  width: 360px; 
}

@media screen and (min-width: 769px) {
  .top-tab {
    width: 476px; 
  }
}

  .top-tab > ul {
    flex-wrap: nowrap !important;
  }
  .top-tab .lst {
    border-right: 2px solid #d5d2cf !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

.inner-table {
  width: 100%;
  margin: 0px;
}
  .inner-table td {
    width: initial !important;
  }
.inner-bottom-table {
  width: 100%;
  margin-left: 0px;
  margin-right: 0px;
}
/*入力*/
.input-4 {
  width: 55px !important;
  padding: 0.3rem !important;
}
.zansai-th {
  width: 62px !important;
}