.product__main-image img {
  display: block;
  margin: 0 auto;
}

.product__thumbs {
  padding-top: 2px;
  margin: 0 -1px;
}

.product__thumb__unit {
  padding: 0 1px 1px;
}
.product__thumb__unit img {
  max-height: 150px;
  cursor: pointer;
}

.product__name {
  text-align: left;
}

.product__price {
  font-size: 1.5em;
  letter-spacing: .05em;
}

.product__option__block th, .product__option__block td {
  text-align: center;
}
.product__option__block label {
  margin: 1em 0 0;
  font-size: .9em;
}

.product__init .dl-vertical-list__content {
  margin-bottom: 0;
}

.product__init-num {
  font-size: 1.5em;
  padding-top: .5em;
  padding-bottom: .5em;
  text-align: right;
  width: 50px;
  border: 2px solid #999;
  display: inline-block;
}

.product__init-updw {
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px;
}

.product__order__btns {
  list-style-type: none;
  margin: 2em 0;
}

.product__order__btn {
  margin-bottom: 1em;
}
.product__order__btn i {
  margin-right: .8em;
}

.btn--addcart {
  padding: .7em 0;
}

.btn--quick-order {
  padding: .4em 0;
}

.btn--soldout {
  padding: .7em 0;
  border: none;
  opacity: 1;
  -ms-filter: "alpha(opacity=100)";
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
}
.btn--soldout:hover {
  background: #ddd;
}

.product__info {
  background: #f5f5f5;
  padding: 2em 0;
  margin: 3em 0;
}

.product__info__list {
  margin: 2em 0 0;
  list-style-type: none;
}
.product__info__list:first-child {
  margin-top: 0;
}

.product__info__list__unit {
  font-size: .9em;
  line-height: 1.8;
  margin: .5em 0;
}
.product__info__list__unit:first-child {
  margin-top: 0;
}
.product__info__list__unit a {
  color: #111;
}

.text-titles {
  margin: 0 auto 2em;
}
.text-titles-list__detail-text {
  width: 100%;
  height: 30px;
  padding: .5em;
  border: 1px solid #ccc;
  display: inline-block;
}

@media (max-width: 980px) {
  /* ~980px */
}
@media (max-width: 768px) {
  /* ~768px */
  .product__images img {
    margin: 0 auto;
  }

  .product__name {
    text-align: center;
  }

  .product__info {
    padding: 1.5em 0;
    margin: 1.5em 0;
  }

  .product__info__list:first-child {
    margin-top: 2em;
  }
}
@media (max-width: 480px) {
  /* ~480px */
}

/*  クイックカートイン CSS  */

.cart_in_modal,
.cart_in_error_modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, .7);
  z-index: 20000;
  display: flex;
  overflow: auto;
}

@media screen and (min-width: 960px) {
  .cart_in_modal,
  .cart_in_error_modal {
    align-items: center;
  }
}

.cart_in_modal__bg {
  background-color: rgba(0, 0, 0, .7);
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 20000;
}

.cart_in_modal__outline {
  width: 90%;
  margin: 20px 5%;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .4);
  box-sizing: border-box;
  text-align: center;
  position: absolute;
}

@media screen and (min-width: 960px) {
  .cart_in_modal__outline {
    width: 900px;
    margin: auto;
    padding: 20px 70px;
    position: relative;
  }
}

.cart_in_modal__heading {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 0;
  line-height: 1.4;
}

@media screen and (min-width: 960px) {
  .cart_in_modal__heading {
    font-size: 26px;
    margin: 30px 0;
    line-height: 1.2;
  }
}

.cart_in_error_modal__heading {
  font-size: 20px;
  font-weight: bold;
  margin: 40px 0 20px;
  line-height: 1.4;
}

@media screen and (min-width: 960px) {
  .cart_in_error_modal__heading {
    margin: 30px 0;
    line-height: 1.2;
  }
}

.cart_in_modal__detail {
  display: flex;
  padding: 20px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  align-items: center;
  flex-direction: column;
}

@media screen and (min-width: 960px) {
  .cart_in_modal__detail {
    flex-direction: row;
  }
}

.cart_in_modal__name {
  font-size: 16px;
  flex: 1;
  line-height: 1.4;
  text-align: left;
  margin: 0;
}

@media screen and (min-width: 960px) {
  .cart_in_modal__name {
    font-size: 18px;
  }
}

.cart_in_modal__image-wrap {
  padding: 5px;
  width: 170px;
  height: 170px;
  background: rgba(0, 0, 0, .1);
  position: relative;
  border: 5px solid transparent;
  box-sizing: border-box;
}

@media screen and (min-width: 960px) {
  .cart_in_modal__image-wrap {
    margin: 0 30px 0 0;
    flex-basis: 170px;
  }
}

.cart_in_modal__image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.cart_in_modal__text-link {
  color: #2169f3;
  cursor: pointer;
  position: relative;
  display: inline-block;
  margin: 20px 0 0;
  padding: 0 0 0 20px;
  line-height: 1.15;
}
.cart_in_modal__text-link::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #2169f3;
  border-right: 2px solid #2169f3;
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
}

.cart_in_modal__button-wrap {
  width: 100%;
  margin: 30px auto;
  font-size: 17px;
}

@media screen and (min-width: 960px) {
  .cart_in_modal__button-wrap {
    width: 350px;
  }
}
.cart_in_modal__button {
  font-size: 17px;
  font-weight: bold;
  line-height: 23px;
  display: inline-block;
  box-sizing: border-box;
  cursor: pointer;
  vertical-align: middle;
  text-decoration: none;
  color: #fff;
  border: 0;
  border-radius: 4px;
  width: 100%;
  height: 58px;
  padding: 15px;
  background: #2169f3;
  box-shadow: 0 2px 0 #1a54c2;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.cart_in_modal__button:hover,
.cart_in_modal__button:focus {
  height: 58px;
  color: #e9f0fe;
  background-color: #1e5fdb;
  box-shadow: none;
  transform: translate3d(0, 2px, 0);
}

.cart_in_modal__close-icon {
  cursor: pointer;
}

.cart_in_modal__close-icon::before,
.cart_in_modal__close-icon::after {
  content: "";
  width: 35px;
  height: 6px;
  display: block;
  position: absolute;
  top: 30px;
  right: 20px;
  background: #eee;
  border-radius: 4px;
}

.cart_in_modal__close-icon::before {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.cart_in_modal__close-icon::after {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.spinner::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100px;
  width: 100px;
  margin-top: -50px;
  margin-left: -50px;
  border-radius: 50%;
  border: 5px solid #eee;
  border-top-color: #fd7f23;
  animation: spinner 0.5s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

@media screen and (min-width: 960px) {
  .sp-br {
    display: none;
  }
}




/* ====== Motorcycle Models 用スタイル ====== */
.mc2512-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

/* === mc2512-brand（見出し）：装飾を完全に復元 === */
.mc2512-brand {
  padding: 10px 10px 10px 25px;
  margin-bottom: 20px;
  background: #f9f9f9;
  position: relative;
}

.mc2512-brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #990000; /* 赤色 */
}

.mc2512-brand::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #000; /* 黒色 */
}

.mc2512-brand h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #333;
}

/* === mc2512-models（親要素）：レイアウト安定化設定 === */
.mc2512-models {
  display: flex;
  flex-wrap: wrap;
  /* 6pxの隙間を吸収するため、ネガティブマージンを適用 */
  margin-left: -3px; 
  margin-right: -3px; 
  margin-bottom: -6px; /* 行間の隙間を相殺 */
}

/* === mc2512-model（子要素）：幅と隙間をmarginとcalcで管理 === */
.mc2512-model {
  background: #eee;
  border-radius: 8px;
  font-size: 0.7rem; 
  text-align: center;
  box-sizing: border-box;

  /* 実際の隙間 (6px) を margin で作成 (左右3px + 下6px) */
  margin: 0 3px 6px; 
  
  /* 内部のパディングのみ設定 */
  padding: 6px 8px; 

  /* &#9888;&#65039; PC 6列の幅: 100%を6分割し、左右のmargin 6px を引く */
  flex: 0 0 calc(100% / 6 - 6px); 
  
  display: flex; 
  align-items: center;
  justify-content: center;
  
  min-height: 40px; 
  line-height: 1.2;
}

/* PC用改行タグの設定 */
.brsp { display: none; }
.brpc { display: inline; }


/* ================================================= */
/* === @media: スマートフォン向け（max-width: 480px）の設定 === */
/* ================================================= */
@media (max-width: 480px) {
  
  .mc2512-model {
    font-size: 0.6rem;
    padding: 8px 4px;
    
    /* &#9888;&#65039; スマホ 3列の幅: 100%を3分割し、左右のmargin 6px を引く */
    flex: 0 0 calc(100% / 3 - 6px); 
  }

  /* スマホではPC用改行タグを非表示 */
  .brpc {
    display: none;
  }
  /* スマホではスマホ用改行タグを表示 */
  .brsp {
    display: inline;
  }
}