.input-prepend.input-append input {
  font-size: 24px;
  padding-top: 11px;
  padding-bottom: 11px;
  width: 100px;
  text-align: right;
}

.product {
  margin-bottom: 40px;
}

.product_area {
  border-bottom: 1px solid #333;
  padding-bottom: 40px;
}
.product_area_left {
  float: left;
  padding: 0;
}
.product_area_right {
  float: right;
  padding: 0;
}

.product_tabs {
  border-bottom: 1px solid #333;
}
.product_tab {
  display: inline-block;
  background-color: #f6f6f6;
  text-align: center;
  padding: 10px 0;
}
.product_tab.active {
  background-color: #333;
}
.product_tab a {
  display: block;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.1em;
}
.product_tab.active a,
.product_tab.active a:hover {
  color: #fff;
  text-decoration: none;
}

.product_panel {
  display: none;
}
.product_panel.active {
  display: block;
}
.product_panel_image,
.product_panel_review {
  text-align: center;
}

.product_belong_lists {
  margin: 40px 0 20px;
  font-size: 12px;
}
.product_belong_list {
  padding: 0 2px;
}
.product_belong_list:first-child {
  padding: 0 2px 0 0 ;
}

.product_name {
  margin: 0;
  font-size: 20px;
  font-weight: normal;
}
.product_model {
  margin: 0;
  font-size: 10px;
}

.product_img {
  margin-bottom: 60px;
}
.product_img_main img {
  display: block;
  margin: 0 auto;
  height: auto;
}
.product_img_thumb li {
  float: left;
  margin-top: 10px;
  cursor: pointer;
}
.product_img_thumb_img {
  max-width: 100%;
  width: auto;
  height: auto;
  border: 1px solid #ccc;
}
.thumb_active {
  border: 1px solid #333;
}

.together_product_lists {
  margin-top: 20px;
  font-size: 12px;
}
.together_product_list {
  text-align: center;
}

.product_price_area {
  margin: 20px 0 0;
}
.product_regular_price {
  margin: 0 0 5px;
  font-size: 12px;
}
.product_price {
  margin: 0;
  font-size: 20px;
}
.product_price_discount {
  color: #cf0400;
}
.product_discount_rate {
  color: #cf0400;
  font-size: 20px;
}
.product_price_establish {
  margin: 0;
  font-size: 10px;
}
.product_stock_str {
  margin: 20px 0 0;
  font-size: 12px;
}

.product_cart_area {
  background-color: #f6f6f6;
  margin: 30px 0;
  padding: 10px 20px 20px;
  font-size: 12px;
}
.product_cart_table_box {
  margin-top: 20px;
  background-color: #fff;
  font-size: 12px;
}
.product_cart_table_box label {
  font-size: 12px;
}
.product_cart_select_box {
  margin: 5px 0;
}
.product_cart_select_name {
  padding-top: 10px;
  padding-bottom: 5px;
}
.product_cart_select {
  border: 1px solid #333;
  height: 40px;
}
.text-titles-list__unit {
  margin: 5px 0;
}
.text-titles-list__unit dl {
  margin: 0;
}
.text-titles-list__name {
  padding-top: 10px;
  padding-bottom: 5px;
  font-weight: normal;
}
.text-titles-list__detail-text {
  border: 1px solid #333;
  height: 40px;
}
.product_cart_order {
  margin: 5px 0;
}
.product_cart_init_num {
  width: 20%;
  height: 30px;
  text-align: right;
  float: left;
}
.product_cart_unit {
  float: left;
  padding-top: 12px;
  padding-left: 20px;
}
.product_cart_init {
  display: none;
}

.sizeguide_table_box {
  border-top: 1px solid #ccc;
  padding-top: 40px;
  margin-top: 20px;
}

.sizeguide_table {
  margin: 20px 0;
}

.btn-addcart,
.btn-reviews {
  border: none;
  margin-top: 30px;
  padding: 18px 0;
  background-color: #dd5956;
  font-size: 18px;
  color: #fff;
  *background-color: #dd5956;
  letter-spacing: 0.1em;
}
.btn-addcart:hover,
.btn-addcart:focus,
.btn-addcart:active,
.btn-reviews:hover,
.btn-reviews:focus,
.btn-reviews:active {
  background-color: #e48886;
  color: #fff;
  *background-color: #e48886;
}
.btn-addcart i,
.btn-addcart-quick i,
.btn-reviews i {
  margin-right: 5px;
  vertical-align: -25%;
}

.btn-addcart-quick,
.btn-membersonly {
  margin-top: 20px;
  padding: 10px 0;
  font-size: 18px;
  letter-spacing: 0.1em;
}
.btn-addcart-quick {
  border: none;
  background-color: #007fff;
  color: #fff;
  *background-color: #007fff;
}
.btn-addcart-quick:hover,
.btn-addcart-quick:focus,
.btn-addcart-quick:active {
  background-color: #4ca5ff;
  color: #fff;
  *background-color: #4ca5ff;
}

.btn-soldout {
  border: none;
  margin-top: 20px;
  padding: 18px 12px;
  background-color: #989898;
  font-size: 18px;
  color: #fff;
  *background-color: #989898;
  letter-spacing: 0.1em;
}
.btn-soldout.disabled,
.btn-soldout[disabled] {
  background-color: #989898;
  color: #fff;
}

.btn_pis_width,
.btn_revies_width {
  width: 300px;
}

.stock_error {
  margin: 0;
  text-align: center;
  color: #cf0400;
}

.product_related_lists {
  margin: 20px 0 0;
  font-size: 12px;
}
.product_related_lists_review {
  margin: 30px 0 0;
}
.product_related_list {
  padding: 2px 0;
}

.product_related_lists i {
  vertical-align: -40%;
}

.product_explain,
.product_img_sub,
.product_reviews {
  line-height: 1.8;
  margin-top: 40px;
}

.product_img_sub li {
  text-align: center;
  padding-bottom: 10px;
}

.product_text_not {
  text-align: center;
}

.reviewlist_datas {
  overflow: hidden;
  zoom: 1;
  margin-bottom: 10px;
  line-height: 1.2;
}

.icon_star {
  float: left;
  /* 星10個での設定は下記を有効にする */
  /*
  width: 150px;
  */
  /* 星5個での設定は下記を有効にする */
  width: 75px;
  overflow: hidden;
}

.icon_star img {
  max-width: inherit;
}

.review_poster li {
  float: left;
  margin-left: 10px;
}

.review_poster li {
  list-style: none;
}

.reviewlist:first-child {
  border-top: none;
}

.reviewlist {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #ccc;
  text-align: left;
}

.review_ttl,
.shopcomment_ttl {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

.review_img {
  float: right;
  margin: 0 0 10px 10px
}

.reviewlist_content {
  overflow: hidden;
  zoom: 1;
}

.shopcomment {
  margin-top: 10px;
  margin-bottom: 10px;
  background: #eee;
  padding: 15px;
}

@media (min-width: 980px) {
  .product_area_left {
    width: 540px;
    float: left;
    padding: 0;
  }
  .product_area_right {
    width: 400px;
    float: right;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .product_explain,
  .product_img_sub,
  .product_reviews {
    padding: 0 1%;
  }
}

@media (max-width: 980px) {
  .contents_detail {
    width: 100%;
    float: none;
    padding: 0;
  }

  .product_area_left,
  .product_area_right {
    padding-right: 1%;
    padding-left: 1%;
  }
}

@media (max-width: 768px) {
  .product_area_right {
    float: none;
    padding: 0;
  }
  .product_img {
    margin-bottom: 30px;
  }

  .product_detail_area,
  .product_social_lists {
    padding: 0 10px;
  }
  .product_tab a {
    font-size: 12px;
  }
  .product_explain,
  .product_img_sub {
    font-size: 12px;
    padding: 0 10px 60px;
  }
  .product_reviews {
    font-size: 12px;
    padding: 0 10px 20px;
  }
  .product_reviews_btn {
    padding-bottom: 60px;
  }
  .together_product_lists {
    padding: 0 10px 30px;
  }

  .btn_pis_width,
  .btn_revies_width {
    width: 100%;
  }
}

/*  クイックカートイン 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;
  }
}

/*-------------------独自記述-------------------*/
.product-detail {
  width: 100%;
  max-width: 980px;
  margin: 40px auto;
  background: #fff;
  padding: 20px;
  box-sizing: border-box;
}

/* 見出し */
h1 {
  font-size: 1.6em;
  text-align: center;
  margin-bottom: 20px;
}

/* 画像の既定挙動（レスポンシブ） */
img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

/* 価格・説明（必要なら使用） */
.price {
  text-align: center;
  font-size: 1.2em;
  color: #e53935;
  font-weight: bold;
  margin-bottom: 20px;
}
.description {
  margin-bottom: 20px;
}

/* 商品メイン画像（PCでだけ 600px にしたい場合） */
.product-image {
  width: 100%;
  height: auto;
  margin: auto;
}
@media (min-width: 1024px) {
  .product-image {
    width: 600px;
  }
}

/* ========== Features（商品の特徴）セクション ========== */
.features {
  margin: 40px 0;
}

.features h5 {
  font-size: 1.2em;
  margin-bottom: 20px;
  border-left: 4px solid #333;
  padding-left: 10px;
}

.features ol {
  padding-left: 20px;
}
.features li {
  margin-bottom: 40px;
  line-height: 1.7;
}

/* figure + caption の基本 */
.features figure {
  margin: 0;
  text-align: center;
}
.features figcaption,
.feature-image.center figcaption {
  font-size: 0.9em;
  color: #666;
  margin-top: 4px; /* 画像との距離を詰める */
  margin-bottom: 16px; /* 下にゆとりを追加 */
  line-height: 1.4;
  text-align: center;
}

/* 単枚中央（例：フィット感の画像1枚） */
.feature-image.center figure {
  max-width: 600px;
  margin: 0 auto;
}

/* ========== ギャラリー共通 ========== */
.feature-gallery {
  margin: 20px 0;
}

/* 上段2枚＋下段1枚のときに使う .gallery-row */
.gallery-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* .gallery-row 直下の子要素（<figure> でも <img> でもOK） */
.gallery-row > figure,
.gallery-row > img {
  flex: 0 1 48%;
  max-width: 48%;
  box-sizing: border-box;
  margin: 0; /* figureのデフォ余白消す */
}

/* 下段1枚を中央に置く行 */
.gallery-row.center {
  justify-content: center;
}
.gallery-row.center > figure,
.gallery-row.center > img {
  flex: 0 1 48%;
  max-width: 48%;
  margin-left: auto;
  margin-right: auto;
}

/* スマホでは1列落ち（読みやすさ優先） */
@media (max-width: 600px) {
  .gallery-row > figure,
  .gallery-row > img,
  .gallery-row.center > figure,
  .gallery-row.center > img {
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* ========== 2カラム専用（バッテリー画像など） ========== */
/* Gridで安定させる（スマホ1列 / タブレット以上2列） */
.feature-gallery.two-column {
  display: grid;
  grid-template-columns: 1fr; /* モバイル：1列 */
  gap: 20px;
  margin: 20px 0;
}
@media (min-width: 768px) {
  .feature-gallery.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.feature-gallery.two-column figure {
  margin: 0;
}
.feature-gallery.two-column img {
  display: block;
  width: 100%;
  height: auto;
}

/* 明るさと視認性の画像を中央600pxに固定（PC時） */
.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 1024px) {
  .feature-image {
    text-align: center; /* 画像中央寄せ */
  }
  .feature-image img {
    width: 600px;
    height: auto;
    margin: 0 auto;
  }
}
/* 下段（赤色光の例）に上マージンを追加 */
.gallery-row.center {
  justify-content: center;
  margin-top: 20px; /* ←ここで間隔を調整 */
}

/* 製品仕様 */
.specs {
  margin: 40px 0;
}
.specs h5 {
  font-size: 1.2em;
  margin-bottom: 16px;
  border-left: 4px solid #333;
  padding-left: 10px;
}

/* 仕様表 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* 長文でも崩れにくく */
  background: #fff;
}
.spec-table th,
.spec-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e6e6e6;
  vertical-align: top;
  word-break: break-word;
}
.spec-table th {
  width: 34%;
  text-align: left;
  color: #333;
  font-weight: 600;
  background: #fafafa;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

/* モバイルでの読みやすさ微調整 */
@media (max-width: 600px) {
  .spec-table th,
  .spec-table td {
    padding: 8px 10px;
  }
  .spec-table th {
    width: 40%;
  }
}
/* 製品仕様の表を中央寄せ・コンパクトに（PCのみ） */
@media (min-width: 1024px) {
  .spec-table {
    width: 80%; /* ← 横幅を狭く（例: 80%） */
    max-width: 700px; /* ← 上限を設定してよりコンパクトに */
    margin: 0 auto; /* ← 中央寄せ */
  }
}

/* ========== その他の特徴 ========== */
.other-features {
  margin: 40px 0;
}

.other-features h5 {
  font-size: 1.2em;
  margin-bottom: 16px;
  border-left: 4px solid #333;
  padding-left: 10px;
}

.other-features ul {
  list-style: disc inside;
  margin: 0 auto;
  padding: 0;
  width: 80%; /* ← 表と似た横幅 */
  max-width: 700px; /* ← 表と合わせてコンパクトに */
}

.other-features li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ========== 保証とアフターサービス ========== */
.support {
  margin: 40px 0;
}

.support h5 {
  font-size: 1.2em;
  margin-bottom: 16px;
  border-left: 4px solid #333;
  padding-left: 10px;
}

/* メインリスト */
.support ol {
  counter-reset: main;
  width: 80%;
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  list-style: none; /* ←ここはそのまま */
}

.support ol > li {
  counter-increment: main;
  list-style: none; /* ←追加！ブラウザのデフォルト数字を消す */
  margin-bottom: 20px;
  line-height: 1.7;
  position: relative;
  padding-left: 1.6em;
}

.support ol > li::before {
  content: counter(main) "．";
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* サブリスト（修理の中の項目）を中黒に変更 */
.support .sub-list {
  list-style: none;
  padding-left: 0; /* ←親(li)と位置を揃える */
  margin-top: 8px;
  margin-left: 1.6em; /* ←親リストのpadding-leftと同値に */
}

.support .sub-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 6px;
  line-height: 1.6;
}

.support .sub-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #333;
}

/* 注意書き */
.support .note {
  width: 80%;
  max-width: 700px;
  margin: 20px auto 0;
  font-size: 0.9em;
  color: #555;
  line-height: 1.5;
}

/* ========== 【重要】北海道・沖縄など ========== */
.shipping-note {
  width: 80%;
  max-width: 700px;
  margin: 32px auto 40px; /* ← 上の余白を少し詰めた */
  background: #fff8f8; /* やさしい赤み背景で注意感UP */
  border: 1px solid #f2caca;
  padding: 20px;
  border-radius: 6px;
}

.shipping-note h5 {
  color: #d32f2f; /* ← 赤文字で目立たせる */
  font-size: 1.1em;
  margin: 0 0 10px 0; /* ← 上のマージンを詰めた（0） */
  border: none; /* ← 他のh5の左線を消す */
  font-weight: 700;
}

.shipping-note p {
  margin: 0;
  line-height: 1.7;
  color: #333;
  font-size: 0.95em;
}