@charset "UTF-8";
/* ==============================================
   Purchase Forms Common Styles
   - 4-step & 5-step indicators
   - CLUB MAZDA login section
   - Contact method/time fields
   - Font settings (Mazda Type + Noto Sans CJK JP)
============================================== */

/* ==============================================
   Font Settings
============================================== */
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap'); */

/* Base font settings */
.purchase_input,
.purchase_confirm,
.purchase_thanks {
  font-family: 'Noto Sans JP', 'Mazda Type', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Alphanumeric use Mazda Type */
.purchase_step__item .num,
.purchase_thanks__detail__receipt_number .number {
  font-family: 'Mazda Type', 'Noto Sans JP', sans-serif;
}

/* ==============================================
   4-Step Indicator (testdrive, estimate)
============================================== */
.purchase_step--4step {
  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;
  max-width: 930px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 70px;
}
.purchase_step--4step * {
  box-sizing: border-box;
}
@media only screen and (max-width: 767px) {
  .purchase_step--4step {
    margin-bottom: 35px;
  }
}
.purchase_step--4step .purchase_step__item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  width: 23%;
  padding-bottom: 3px;
  padding-right: 20px;
  margin-right: 10px;
  border-bottom: 1px solid #999;
}
@media only screen and (max-width: 767px) {
  .purchase_step--4step .purchase_step__item {
    width: 24%;
    margin-right: 5px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0;
    padding-right: 5px;
    border-bottom: 0;
  }
}
.purchase_step--4step .purchase_step__item:before {
  content: "";
  position: absolute;
  right: 1px;
  bottom: -1px;
  width: 24px;
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  border-bottom: 1px solid #999;
}
@media only screen and (max-width: 767px) {
  .purchase_step--4step .purchase_step__item:before {
    display: none;
  }
}
.purchase_step--4step .purchase_step__item:last-child {
  padding-right: 20px;
  margin-right: 0;
}
.purchase_step--4step .purchase_step__item .num {
  width: 40px;
  color: #999;
  font-size: 14px;
}
@media only screen and (max-width: 767px) {
  .purchase_step--4step .purchase_step__item .num {
    position: relative;
    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;
    width: 100%;
    padding-bottom: 3px;
    border-bottom: 1px solid #999;
    font-size: 16px;
  }
  .purchase_step--4step .purchase_step__item .num:before {
    content: "";
    position: absolute;
    right: 1px;
    bottom: -1px;
    width: 18px;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-bottom: 1px solid #999;
  }
  .purchase_step--4step .purchase_step__item .num span {
    display: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 980px) {
  .purchase_step--4step .purchase_step__item .num {
    font-size: 1.3vw;
  }
}
.purchase_step--4step .purchase_step__item .text {
  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-flex: 2;
  -webkit-flex-grow: 2;
  -ms-flex-positive: 2;
  flex-grow: 2;
  color: #999;
  font-size: 14px;
}
@media only screen and (max-width: 767px) {
  .purchase_step--4step .purchase_step__item .text {
    margin-top: 5px;
    font-size: 11px;
    text-align: center;
    line-height: 1.3;
  }
  .purchase_step--4step .purchase_step__item .text span {
    display: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 980px) {
  .purchase_step--4step .purchase_step__item .text {
    font-size: 1.5vw;
  }
}
.purchase_step--4step .purchase_step__item.did-active,
.purchase_step--4step .purchase_step__item.did-active:before {
  border-bottom-color: #191919;
  border-bottom-width: 2px;
}
.purchase_step--4step .purchase_step__item.did-active:before {
  right: 2px;
  bottom: -2px;
}
.purchase_step--4step .purchase_step__item.did-active .num,
.purchase_step--4step .purchase_step__item.did-active .text {
  color: #191919;
  font-weight: 700;
}
@media only screen and (max-width: 767px) {
  .purchase_step--4step .purchase_step__item.did-active .num {
    border-bottom-color: #191919;
    border-bottom-width: 2px;
    font-weight: 400;
  }
  .purchase_step--4step .purchase_step__item.did-active .num:before {
    right: 2px;
    bottom: -2px;
    border-bottom-color: #191919;
    border-bottom-width: 2px;
  }
}

/* ==============================================
   5-Step Indicator (consultation)
============================================== */
.purchase_step--5step {
  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;
  max-width: 930px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 70px;
}
.purchase_step--5step * {
  box-sizing: border-box;
}
@media only screen and (max-width: 767px) {
  .purchase_step--5step {
    margin-bottom: 35px;
  }
}
.purchase_step--5step .purchase_step__item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  width: 19%;
  padding-bottom: 3px;
  padding-right: 15px;
  margin-right: 10px;
  border-bottom: 1px solid #999;
}
@media only screen and (max-width: 767px) {
  .purchase_step--5step .purchase_step__item {
    width: 19%;
    margin-right: 5px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0;
    padding-right: 3px;
    border-bottom: 0;
  }
}
.purchase_step--5step .purchase_step__item:before {
  content: "";
  position: absolute;
  right: 1px;
  bottom: -1px;
  width: 20px;
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  border-bottom: 1px solid #999;
}
@media only screen and (max-width: 767px) {
  .purchase_step--5step .purchase_step__item:before {
    display: none;
  }
}
.purchase_step--5step .purchase_step__item:last-child {
  padding-right: 15px;
  margin-right: 0;
}
.purchase_step--5step .purchase_step__item .num {
  width: 35px;
  color: #999;
  font-size: 13px;
}
@media only screen and (max-width: 767px) {
  .purchase_step--5step .purchase_step__item .num {
    position: relative;
    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;
    width: 100%;
    padding-bottom: 3px;
    border-bottom: 1px solid #999;
    font-size: 14px;
  }
  .purchase_step--5step .purchase_step__item .num:before {
    content: "";
    position: absolute;
    right: 1px;
    bottom: -1px;
    width: 15px;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-bottom: 1px solid #999;
  }
  .purchase_step--5step .purchase_step__item .num span {
    display: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 980px) {
  .purchase_step--5step .purchase_step__item .num {
    font-size: 1.2vw;
  }
}
.purchase_step--5step .purchase_step__item .text {
  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-flex: 2;
  -webkit-flex-grow: 2;
  -ms-flex-positive: 2;
  flex-grow: 2;
  color: #999;
  font-size: 13px;
}
@media only screen and (max-width: 767px) {
  .purchase_step--5step .purchase_step__item .text {
    margin-top: 5px;
    font-size: 10px;
    text-align: center;
    line-height: 1.2;
  }
  .purchase_step--5step .purchase_step__item .text span {
    display: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 980px) {
  .purchase_step--5step .purchase_step__item .text {
    font-size: 1.3vw;
  }
}
.purchase_step--5step .purchase_step__item.did-active,
.purchase_step--5step .purchase_step__item.did-active:before {
  border-bottom-color: #191919;
  border-bottom-width: 2px;
}
.purchase_step--5step .purchase_step__item.did-active:before {
  right: 2px;
  bottom: -2px;
}
.purchase_step--5step .purchase_step__item.did-active .num,
.purchase_step--5step .purchase_step__item.did-active .text {
  color: #191919;
  font-weight: 700;
}
@media only screen and (max-width: 767px) {
  .purchase_step--5step .purchase_step__item.did-active .num {
    border-bottom-color: #191919;
    border-bottom-width: 2px;
    font-weight: 400;
  }
  .purchase_step--5step .purchase_step__item.did-active .num:before {
    right: 2px;
    bottom: -2px;
    border-bottom-color: #191919;
    border-bottom-width: 2px;
  }
}

/* ==============================================
   CLUB MAZDA Login Section
============================================== */
.club_mazda_login {
  max-width: 1000px;
  margin: 0 auto 50px;
  padding: 30px;
  background-color: #fff;
  border: 1px solid #d5d5d5;
  border-radius: 3px;
}
@media only screen and (max-width: 767px) {
  .club_mazda_login {
    margin-bottom: 30px;
    padding: 20px;
  }
}
.club_mazda_login__heading {
  margin-bottom: 20px;
  text-align: center;
}
.club_mazda_login__heading .title {
  font-size: 18px;
  font-weight: 700;
}
@media only screen and (max-width: 767px) {
  .club_mazda_login__heading .title {
    font-size: 16px;
  }
}
.club_mazda_login__description {
  margin-bottom: 25px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
}
@media only screen and (max-width: 767px) {
  .club_mazda_login__description {
    font-size: 14px;
    text-align: left;
  }
}
.club_mazda_login__buttons {
  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;
  gap: 20px;
}
@media only screen and (max-width: 767px) {
  .club_mazda_login__buttons {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
  }
}
.club_mazda_login__btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-width: 240px;
  padding: 15px 30px;
  border-radius: 3px;
  font-size: 16px;
  text-decoration: none;
  -webkit-transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
@media only screen and (max-width: 767px) {
  .club_mazda_login__btn {
    width: 100%;
    min-width: auto;
    padding: 18px 20px;
  }
}
.club_mazda_login__btn--primary {
  background-color: #101010;
  color: #fff;
  border: 2px solid #101010;
}
.club_mazda_login__btn--primary:hover {
  background-color: #910a2d;
  border-color: #910a2d;
}
.club_mazda_login__btn--secondary {
  background-color: #fff;
  color: #101010;
  border: 2px solid #101010;
}
.club_mazda_login__btn--secondary:hover {
  background-color: #101010;
  color: #fff;
}
.club_mazda_login__btn .text:after {
  content: "";
  position: relative;
  top: 2px;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  -webkit-transform: translateY(-50%) rotate(-45deg);
  transform: translateY(-50%) rotate(-45deg);
}

/* Hide when logged in */
.club_mazda_login.is-logged-in {
  display: none;
}

/* ==============================================
   Contact Method / Contact Time Fields
============================================== */
.contact_method_container,
.contact_time_container {
  margin-top: 40px;
}
@media only screen and (max-width: 767px) {
  .contact_method_container,
  .contact_time_container {
    margin-top: 25px;
  }
}

/* Radio button group for contact method */
.contact_method__options {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
}
@media only screen and (max-width: 767px) {
  .contact_method__options {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
  }
}
.contact_method__options .radio_container {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin-top: 0;
}
@media only screen and (max-width: 767px) {
  .contact_method__options .radio_container {
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
  }
}

/* ==============================================
   Form Navigation Buttons
============================================== */
.purchase_input__nav {
  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;
  gap: 20px;
  margin-top: 60px;
}
@media only screen and (max-width: 767px) {
  .purchase_input__nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
  }
}

.purchase_input__nav__btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-width: 200px;
  padding: 15px 30px;
  border-radius: 3px;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
@media only screen and (max-width: 767px) {
  .purchase_input__nav__btn {
    width: 100%;
    min-width: auto;
    padding: 18px 20px;
  }
}

.purchase_input__nav__btn--next {
  background-color: #101010;
  color: #fff;
  border: 2px solid #101010;
}
.purchase_input__nav__btn--next:hover {
  background-color: #910a2d;
  border-color: #910a2d;
}
.purchase_input__nav__btn--next:disabled {
  background-color: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
}
.purchase_input__nav__btn--next .text:after {
  content: "";
  position: relative;
  top: 2px;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  -webkit-transform: translateY(-50%) rotate(-45deg);
  transform: translateY(-50%) rotate(-45deg);
}

.purchase_input__nav__btn--back {
  background-color: #fff;
  color: #101010;
  border: 2px solid #101010;
}
.purchase_input__nav__btn--back:hover {
  background-color: #101010;
  color: #fff;
}
.purchase_input__nav__btn--back:hover .text:before {
  border-color: #fff;
}
.purchase_input__nav__btn--back .text:before {
  content: "";
  position: relative;
  top: 2px;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-right: 2px solid #101010;
  border-bottom: 2px solid #101010;
  -webkit-transform: translateY(-50%) rotate(135deg);
  transform: translateY(-50%) rotate(135deg);
  -webkit-transition: border-color 0.3s;
  transition: border-color 0.3s;
}

/* ==============================================
   Utility Classes
============================================== */
.u-hidden {
  display: none !important;
}

.u-visible {
  display: block !important;
}

/* MyMazda App specific - hide shop detail link */
.is-mymazda-app .shop__link__icon {
  display: none;
}

/* MyMazda App back button */
.mymazda_app_back {
  display: none;
  margin-bottom: 20px;
}
.is-mymazda-app .mymazda_app_back {
  display: block;
}
.mymazda_app_back__btn {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 8px 15px;
  color: #101010;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #d5d5d5;
  border-radius: 3px;
}
.mymazda_app_back__btn:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-right: 2px solid #101010;
  border-bottom: 2px solid #101010;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}
