.n-modal {
  width: 680px;
  margin: 50px auto;
  background-color: #fff;
  -webkit-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  padding: 32px;
  position: fixed;
  z-index: 301;
  top: 20%;
  left: 0;
  right: 0;
}

@media screen and (max-width: 640px) {
  .n-modal {
    position: fixed;
    top: 7%;
    width: auto;
    margin: 10px;
    padding: 12px;
  }
}

.n-modal__bg {
  position: fixed;
  z-index: 300;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.n-modal__blur {
  -ms-filter: blur(6px);
  -webkit-filter: blur(6px);
          filter: blur(6px);
}

.n-modal__close {
  font-family: serif;
  font-size: 48px;
  color: #FFF;
  outline: none;
  background: none;
  border: none;
  padding: 0;
  position: absolute;
  top: -50px;
  right: -8px;
  cursor: pointer;
}

@media screen and (max-width: 640px) {
  .n-modal__close {
    font-size: 44px;
    top: -38px;
    right: -10px;
  }
}

.n-modal__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

@media screen and (max-width: 640px) {
  .n-modal__title {
    font-size: 18px;
  }
}

.n-modal__title br {
  display: none;
}

@media screen and (max-width: 640px) {
  .n-modal__title br {
    display: block;
  }
}

.n-modal__title--deco {
  position: relative;
  display: inline-block;
  padding: 0 45px;
}

.n-modal__title--deco::before, .n-modal__title--deco::after {
  content: '';
  position: absolute;
  top: 30%;
  display: inline-block;
  width: 40px;
  height: 2px;
  background-color: black;
}

@media screen and (max-width: 640px) {
  .n-modal__title--deco::before, .n-modal__title--deco::after {
    top: 40%;
    width: 50px;
  }
}

.n-modal__title--deco::before {
  left: 0;
  -webkit-transform: rotate(50deg);
      -ms-transform: rotate(50deg);
          transform: rotate(50deg);
}

@media screen and (max-width: 640px) {
  .n-modal__title--deco::before {
    left: -10px;
  }
}

.n-modal__title--deco::after {
  right: 0;
  -webkit-transform: rotate(-50deg);
      -ms-transform: rotate(-50deg);
          transform: rotate(-50deg);
}

@media screen and (max-width: 640px) {
  .n-modal__title--deco::after {
    right: -10px;
  }
}

.n-modal__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;
}

@media screen and (max-width: 640px) {
  .n-modal__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.n-modal__block {
  width: 49%;
}

@media screen and (max-width: 640px) {
  .n-modal__block {
    width: 100%;
  }
}

.n-modal__block--inner {
  border: 1px solid #EFEFEF;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 8px;
  padding: 16px;
  margin: 8px 0 0;
  position: relative;
}

@media screen and (max-width: 640px) {
  .n-modal__block--inner {
    padding: 12px;
  }
}

.n-modal__heading {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin: 16px 0 0;
}
@media screen and (max-width: 640px) {
  .n-modal__heading {
    margin: 8px 0 0;
  }
}

.n-modal__heading--icon {
  background-color: #C00;
  color: #FFF;
  font-size: 11px;
  line-height: 1;
  padding: 2px 4px 1px;
  margin: 0 4px 0 0;
  border-radius: 4px;
}

.n-modal__heading--middle {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  border-radius: 7px;
  color: #FFF;
  padding: 10px 8px;
  position: relative;
}

@media screen and (max-width: 640px) {
    .n-modal__heading--middle {
      font-size: 14px;
    }
}

.n-modal__heading--middle::after {
  position: absolute;
  content: '';
  top: 100%;
  left: 25%;
  right: 25%;
  border: 12px solid transparent;
  border-top: 12px solid #10abd6;
  width: 0;
  height: 0;
  margin: auto;
}

.n-modal__heading--lease {
  background: #FC6D00;
}

.n-modal__heading--lease::after {
  border-top-color: #FC6D00;
}

.n-modal__heading--newcar {
  background: #2A8E00;
}

.n-modal__heading--newcar::after {
  border-top-color: #2A8E00;
}

.n-modal__head {
  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;
}

.n-modal__thumb {
  width: 120px;
}
@media screen and (max-width: 640px) {
	.n-modal__thumb {
    width: 90px;
	}
}

.n-modal__thumb img {
  max-width: 100%;
  height: auto;
}

.n-modal__name {
  font-size: 13px;
  line-height: 1.3;
  width: calc(100% - 130px);
}

@media screen and (max-width: 640px) {
  .n-modal__name {
    width: calc(100% - 100px);
  }
}


.n-modal__name--lease:hover::before {
  border: 4px solid #FC6D00;
  border-radius: 8px;
}

.n-modal__name--newcar:hover::before {
  border: 4px solid #2A8E00;
  border-radius: 8px;
}

.n-modal__name a {
  color: inherit;
}

.n-modal__name a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.n-modal__body {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: baseline;
  -webkit-align-items: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
}

.n-modal__body img {
  display: block;
  width: 60%;
  margin: -4px auto 0;
}

.n-modal__body--title {
  font-size: 14px;
  font-weight: 700;
}

.n-modal__price {
  font-size: 0;
  margin: 0 0 0 4px;
}

.n-modal__price--value {
  color: #e31837;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.n-modal__price--unit {
  font-size: 12px;
  font-weight: 400;
  margin: 0 2px;
}

.is-show {
  display: block;
}
