hr {border-bottom: 1px solid #eee;
}
.btnc, a.btnc, button.btnc {
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  letter-spacing: .1em;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  color: #212529;
  border-radius: .5rem;
  transition: all .3s;
}

.btn, a.btn, button.btn {
  position: relative;
  display: inline-block;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  letter-spacing: .1em;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  color: #212529;
  border-radius: .2rem;
  transition: all .3s;
}

a.btn-tag { padding: 1px; }
a.btn-tag::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 20px; height: 100%;
  border-radius: .2rem;
}

a.btn-tag--comment {
  padding-left: calc(26px + 1rem);
  color: #fff;
  background: #111111;
}
a.btn-tag--comment span {
  position: absolute;
  top: 0; left: 0;
  width: 30px;
  padding: 1px 0;
  text-align: center;
  letter-spacing: 0;
  font-size: 12px;
  color: #fff;
  background: #888888;
  border-radius: .2rem 0 0 .2rem;
}

a.btn-tag--verc {
  position: relative;
  display: inline-block;
  padding: calc(54px + 1rem) 2rem 1rem;
  color: #fff;
  background: #f39800;
  border-bottom: 5px solid #db9014;
}
a.btn-tag--verc::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%; height: 54px;
  background: #fff;
  border-radius: .5rem .5rem 0 0;
}
a.btn-tag--verc i {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  padding: 1.5rem 0;
  text-align: center;
  letter-spacing: 0;
  font-size: 120%;
  color: #f39800;
}
a.btn-tag--verc:hover {
  margin-top: 3px;
  background: #ffa50e;
  border-bottom-width: 2px;
}

/* =========================================================
   Breadcrumb / Related keywords
========================================================= */
.related-keywords__title {
    font-weight: 700;
    font-size: 18px;
    margin: 30px 0 15px;
    color: #222;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

/* 関連キーワード（#タグ） */
.c-topic-path__list_ex {
display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    row-gap: 10px;
    column-gap: 10px;
    margin: 0 0 0 0;
    padding: 0 0 15px;
    list-style: none;
}
.c-topic-path__item_ex a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1em;
  color: #000;
  background: #fff;
  border: 2px solid #000;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color .3s ease, color .3s ease;
}
.c-topic-path__item_ex a:hover { background: #000; color: #fff; }

@media (max-width: 768px) {
  .c-topic-path { padding-left: 15px; }
}

/* =========================================================
   Product page layout blocks
========================================================= */
.p-product-heading__unit {
  padding: 0px 20px 0;
}
.p-product-heading__unit::after,
.p-cart-form::after,
.p-product-images::after,
.p-thumbnail-list::after {
  content: '';
  display: block;
  clear: both;
}

.p-large-image__image-wrap {
  max-width: 400px;
  margin: 0 auto;
  border: 6px solid transparent;
}
.p-thumbnail-list {
  box-sizing: border-box;
  margin: 20px -5px 10px;
  padding: 0;
  list-style: none;
  text-align: center;
}
.p-thumbnail-list__unit {
  float: left;
  width: 20%;
  padding: 0 5px;
  margin-bottom: 10px;
  box-sizing: border-box;
}
.p-thumbnail-list__image-wrap { border: 2px solid transparent; }
.p-thumbnail-list__image-wrap.is-current {
  background: #333;
  border-color: #333;
}

.p-view-product-images { text-align: right; }
.p-view-product-images a {
  display: inline-block;
  padding: .5em 0;
  text-decoration: none;
  transition: opacity .2s;
}
.p-view-product-images a:hover { opacity: .66; }
.p-view-product-images a:active { opacity: 1; }

.p-short-description { margin: 20px 0; line-height: 1.5; }

/* =========================================================
   Cart form / Price / Quantity / Subtotal / Points
========================================================= */
.p-cart-form { margin: 10px 0; }
.p-cart-form__info {
  margin-bottom: 15px;
  padding-bottom: 3px;
  line-height: 1.5;
}
.p-cart-form__name {
  margin-top: 15px;
  margin-bottom: 5px;
  padding-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
  text-align: left;
  border-bottom: 3px solid #eee;
}
.p-cart-form__price {
  font-size: 18px;
  font-weight: bold;
}
.p-cart-form__regular-price { margin-top: .5em; font-weight: bold; }
.p-cart-form__list-price {
  font-size: 12px;
  line-height: 2;
  opacity: .7;
}

.c-product-info__price--sale { color: #ff6600; font-weight: bold; }
.c-product-info__price--discount { color: red; }
.c-product-info__price-label { font-weight: bold; margin-right: 5px; }

.p-cart-form__point { margin-top: 10px; font-size: 12px; font-weight: bold; }
.p-cart-form__point span { font-size: 18px; font-weight: bold; }

.p-cart-form__stock {
  margin-top: 15px;
  padding: 10px;
  font-size: 14px;
  color: #333;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.p-cart-form__stock.in-stock { color: green; }
.p-cart-form__stock.out-of-stock { color: red; }
.p-cart-form__stock.limited-stock { color: orange; }

.c-form__flex-container {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.quantity-form__unit-body {
  display: flex;
  align-items: center;
  width: 100%;
}
.label { margin-right: 10px; }
.c-input-text.p-cart-form__add-cart-num {
  width: 50px;
  height: 38px;
  text-align: center;
  box-sizing: border-box;
}
.unit {
  margin: 0 15px 0 5px;
  white-space: nowrap;
}
.quantity-container {
  display: flex;
  align-items: center;
  flex-grow: 1;
}
.quantity-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  margin-left: 5px;
  flex-grow: 1;
  cursor: pointer;
  background: #f0f0f0;
  border: 1px solid #ccc;
  transition: background-color .2s;
}
.quantity-btn:hover { background: #e0e0e0; }
.quantity-btn i { pointer-events: none; }

.p-cart-form__subtotal {
  margin-top: 15px;
  text-align: right;
  font-weight: bold;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #eee;
}
.subtotal-border { margin-bottom: 10px; }
.subtotal-text { margin-top: 10px; }

.p-cart-form__option-select select {
  width: 100%;
  box-sizing: border-box;
  border-color: #eaeaea;
}
.p-cart-form__option-select select:hover { border-color: #333; }

.p-cart-form__password-input input {
  width: 100%;
  padding: 7px 10px 8px;
  font-size: 14px;
  line-height: 1.2;
  vertical-align: middle;
  box-sizing: border-box;
  border: 2px solid #eaeaea;
  border-radius: 4px;
  appearance: none;
  transition: .2s;
}
.p-cart-form__password-input input:focus {
  outline: none;
  border-color: #222222;
}

.p-cart-form__add-cart-num {
  display: inline-block;
  width: 100px;
  text-align: right;
  font-family: 'Montserrat', sans-serif;
}
.p-cart-form__add-num-wrap {
  position: relative;
  display: inline-block;
  width: 32px; height: 64px;
  vertical-align: -2em;
}
.p-cart-form__add-num {
  position: absolute;
  display: inline-block;
  padding: 5px;
  color: #333;
  text-decoration: none;
  transition: opacity .2s;
}
.p-cart-form__add-num:hover { opacity: .66; }
.p-cart-form__add-num:active { opacity: 1; }
.p-cart-form__add-num--up { top: 0; }
.p-cart-form__add-num--down { bottom: 0; }
.p-cart-form__add-num svg { width: 22px; height: 22px; fill: currentColor; }

.p-cart-form__button-wrap { margin-top: 20px; }
.p-cart-form__add-cart-button {
  width: 100%;
  padding: 15px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}
.p-cart-form__error-message {
  display: none;
  margin-top: 10px;
  text-align: center;
  font-weight: bold;
  color: #f00;
}

.p-cart-form__link-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  text-align: right;
}
.p-cart-form__link-list a {
  display: inline-block;
  padding: .5em 0;
  color: #333;
  text-decoration: none;
  transition: opacity .2s;
}
.p-cart-form__link-list a:hover { opacity: .66; }
.p-cart-form__link-list a:active { opacity: 1; }

.p-cart-form__shipping-message {
  margin-top: 10px;
  color: red;
  font-weight: bold;
}

/* お気に入りボックス */
.p-product-fav-item {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  text-align: center;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.p-product-fav-item button {
  display: inline-block;
  padding: 8px 20px;
  color: #333;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color .3s ease;
}
.p-product-fav-item button:hover { color: #ff5050; }
.p-product-fav-item .is-added { color: #ff0505; }
.p-product-fav-item svg { width: 20px; height: 20px; vertical-align: middle; }

/* =========================================================
   Product body (name/price/images/CTA)
========================================================= */
.p-product-body__name {
    padding: 15px 0 15px 0;
    font-size: 1.8em;
    font-weight: 800;
    line-height: 1.3em;
    border-bottom: 10px solid #eee;
}
@media (max-width: 600px) {
  .p-product-body__name {
    font-size: 2em;
    font-weight: 800;
    line-height: 1.8em;
  }
}

.p-product-body__description {
  margin-top: 30px;
  line-height: 1.8;
  clear: both;
}
.p-product-body__description strong { font-size: 1.4em; font-weight: bolder; }
.p-product-body__description h4,
.p-product-body__description h5,
.p-product-body__description h6 {
  margin: 0;
  font-size: 1.8em;
  font-weight: bolder;
}

.p-product-body__images {
  margin-top: 30px;
  border-top: 1px solid #eaeaea;
}
.p-product-images {
  margin: 0 -10px 0 0;
  padding: 30px 0;
  list-style: none;
}
.p-product-images__image-wrap { border: 6px solid transparent; }
.p-product-images li {
  float: left;
  width: 33.3333%;
  padding-right: 10px;
  margin-bottom: 15px;
  box-sizing: border-box;
}
.p-product-images li:nth-child(3n + 1) { clear: left; }

.p-product-body__linkto-cart {
    display: block;
    /* max-width: 300px; */
    margin: 30px auto;
    padding: 15px;
    font-size: 1.5em;
    line-height: 22px;
    font-weight: normal;
    color: #fff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    border-radius: 4px;
    background: #ff8c00;
    transition: .2s;
    appearance: none;
}
.p-product-body__linkto-cart:hover,
.p-product-body__linkto-cart:focus {
  outline: none;
  text-shadow: 0 -1px 0 rgba(0,0,0,.2);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.2);
}

/* =========================================================
   Options (table/select)
========================================================= */
.p-view-option-info {
  display: block;
  margin-top: 20px;
  padding: .4em;
  text-align: center;
}
.p-price-table {
  height: auto;
  margin-top: 10px;
  text-align: left;
  line-height: 1.4;
  transition: .2s;
}
.p-price-table.is-hidden {
  height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
}
.p-price-table__heading-wrap { display: table; width: 100%; }
.p-price-table__heading {
  display: table-cell;
  width: 50%;
  padding: .5em;
  font-size: 12px;
  box-sizing: border-box;
  background: #eaeaea;
}
.p-price-table__body {
  margin: 0;
  padding: 0;
  font-size: 12px;
  clear: both;
  border-bottom: 1px solid #eaeaea;
}
.p-price-table__body dt {
  float: left;
  width: 50%;
  padding: .7em .5em;
  box-sizing: border-box;
  border-top: 1px solid #eaeaea;
}
.p-price-table__body dd {
  padding: 0;
  overflow: hidden;
  border-top: 1px solid #eaeaea;
}
.p-price-table__body span { display: block; text-align: right; }
.p-price-table__body ul { margin: 0; padding: 0; list-style: none; }
.p-price-table__body li {
  padding: .7em .5em;
  border-bottom: 1px solid #eaeaea;
}
.p-price-table__body li:last-child { border-bottom: 0; }
.p-price-table__name { font-weight: bold; }

.p-option-table table {
  width: 100%;
  border: 1px solid #ccc;
  border-collapse: collapse;
  text-align: center;
}
.p-option-table br { display: none; }
.p-option-table .cell_1,
.p-option-table .cell_2 {
  padding: 10px 8px;
  text-align: center;
  white-space: nowrap;
  border: 1px solid #ddd;
}
.p-option-table [type='radio'] {
  position: relative;
  z-index: 0;
  width: 10px; height: 10px;
  margin: 5px;
  cursor: pointer;
}
.p-option-table [type='radio']::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -5px; left: -5px;
  width: 20px; height: 20px;
  background: #eee;
  border-radius: 20px;
}
.p-option-table [type='radio']::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: transparent;
  border-radius: 10px;
  transition: .2s;
}
.p-option-table [type='radio']:hover::after { background: rgba(0,0,0,.2); }
.p-option-table [type='radio']:checked::after { background: #fd7f23; }
.p-option-table .t_stock_num,
.p-option-table .stock_zero { font-size: 12px; }
.p-option-table .t_stock_num { display: block; margin-top: 12px; }
.p-option-table .table_price { display: none; }

/* =========================================================
   Reviews (legacy list + new bubble style)
========================================================= */
.p-review__unit_flex {
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
}
@media (max-width: 600px) { .p-review__unit_flex { display: block; } }

.p-review__unit {
  width: 33.3%;
  padding: 15px 0;
  border-right: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  box-sizing: border-box;
}
.p-review__unit:last-child {
  border-right: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}
@media (max-width: 600px) {
  .p-review__unit {
    width: 100%;
    padding: 10px 0;
    border-right: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
  }
}

.p-review__button {
  display: block;
  max-width: 300px;
  margin: 30px auto;
  padding: 15px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

/* 星 */
.p-posted-review__star {
  width: 35px; height: 35px;
  vertical-align: -.2em;
  fill: #ddd;
}
.p-posted-review__star.is-color { fill: #ffdc00; }
#cart-average-rating svg {
  width: 24px !important;
  height: 24px !important;
  fill: #ffdc00 !important;
}

/* レビュー本文等 */
.p-posted-review { margin: 0 10px; }
.p-posted-review__image {
  display: block;
  max-width: 100%;
  margin: 0 0 15px 0;
  clear: both;
}
.p-posted-review__title {
  display: block;
  margin: 15px 0 0;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: -0.2em;
  text-decoration-thickness: .5em;
  text-decoration-color: rgba(255, 228, 0, .4);
  text-decoration-skip-ink: none;
  clear: both;
}
.p-posted-review__body { margin: 15px 0; line-height: 1.5; overflow: hidden; clear: both; }
.p-posted-review__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 15px 0;
  padding: 0;
  list-style: none;
}
.p-posted-review__info li {
  flex: 1;
  margin: 0;
  padding: .5em 1em;
  font-size: 16px;
  font-weight: bold;
  color: #696969;
  background: #fff;
  border-right: 1px solid #eaeaea;
  border-radius: 10px;
  text-decoration: underline;
}

.review-link, .review-links { display: none; }

/* 新UI: 吹き出しレビュー */
.natural-ranking-review-bubble {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: start;
  margin: 10px 0 16px;
}
.natural-ranking-review-bubble-body {
  padding: 12px 14px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: 10px;
  line-height: 1.6;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.natural-ranking-review-avatar {
  width: 40px;
  padding-top: 4px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.natural-ranking-review-avatar i { font-size: 18px; color: #64748b; opacity: .8; }
.natural-helpful-button {
  background: none; border: none; padding: 0;
  color: #4CAF50; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: transform .15s ease, color .2s ease;
}
.natural-helpful-button:hover { transform: scale(1.1); color: #2e7d32; }
.natural-helpful-button.voted { color: #94a3b8; cursor: not-allowed; }
.natural-helpful-count { font-size: 12px; font-weight: 600; color: #475569; opacity: .9; }

.natural-ranking-stars-r { display: inline-flex; gap: 1px; font-size: 18px; color: #f5a623; margin-bottom: 6px; }
.natural-ranking-review-admin .natural-ranking-review-bubble-body {
  color: #2e7d32; background: #f0faf4; border: 1px solid #cde3cf;
}
.admin-icon { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #a5d6a7; object-fit: cover; }
.admin-badge { margin-top: 4px; padding: 1px 5px; font-size: 10px; font-weight: 700; color: #fff; background: #43a047; border-radius: 8px; }

.natural-pickup-group-title{
  display: inline-flex; align-items: center; gap: .5em;
  margin: 10px 0 8px; padding: 6px 10px;
  font-weight: 700; font-size: 14px; color: #6b4000;
  background: #fff7e6; border: 1px solid #ffd48a; border-radius: 999px;
}
.natural-pickup-group-title i { color: #f59e0b; }
.natural-ranking-review-bubble.pickup .natural-ranking-review-bubble-body{
  position: relative;
  background: #fff9ef;
  border-color: #ffd69a;
  box-shadow: 0 1px 2px rgba(255,165,0,.15);
}
.natural-ranking-review-bubble.pickup .natural-ranking-review-bubble-body::before{
  content: "PICKUP";
  position: absolute; top: -9px; left: 12px;
  padding: 2px 6px; font-size: 10px; font-weight: 800; letter-spacing: .06em;
  color: #b45309; background: #ffedd5; border: 1px solid #fbbf24; border-radius: 6px;
}
.review-photo { margin-top: 8px; }
.review-photo img {
  max-width: 100%; height: auto; display: block;
  border-radius: 8px; border: 1px solid #e6ecf2;
}
.natural-helpful-button.animate i { transform: scale(1.3); color: #43a047; transition: all .3s ease; }
.natural-helpful-count.bump { animation: bumpUp .5s ease; }
@keyframes bumpUp {
  0% { transform: translateY(0); opacity: .8; }
  50% { transform: translateY(-5px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* レビュー数表示（商品カード横） */
.c-review-count { margin-top: 15px; }

/* =========================================================
   Modals: Quick cart-in / Error
========================================================= */
.cart_in_modal,
.cart_in_error_modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 20000;
  display: flex;
  overflow: auto;
  background-color: rgba(0,0,0,.7);
}
@media (min-width: 960px) {
  .cart_in_modal, .cart_in_error_modal { align-items: center; }
}
.cart_in_modal__outline {
  position: absolute;
  width: 90%;
  margin: 20px 5%;
  padding: 20px;
  text-align: center;
  background: #fff;
  border-radius: 5px;
  box-sizing: border-box;
  box-shadow: 0 2px 5px rgba(0,0,0,.4);
}
@media (min-width: 960px) {
  .cart_in_modal__outline {
    position: relative;
    width: 900px;
    margin: auto;
    padding: 20px 70px;
  }
}
.cart_in_modal__heading {
  margin: 20px 0;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
}
@media (min-width: 960px) {
  .cart_in_modal__heading { margin: 30px 0; font-size: 26px; line-height: 1.2; }
}
.cart_in_error_modal__heading {
  margin: 40px 0 20px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
}
@media (min-width: 960px) {
  .cart_in_error_modal__heading { margin: 30px 0; line-height: 1.2; }
}
.cart_in_modal__detail {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
@media (min-width: 960px) {
  .cart_in_modal__detail { flex-direction: row; }
}
.cart_in_modal__image-wrap {
  position: relative;
  width: 170px; height: 170px;
  background: #fff;
  padding: 5px;
  border: 5px solid transparent;
  box-sizing: border-box;
}
@media (min-width: 960px) {
  .cart_in_modal__image-wrap { margin: 0 30px 0 0; flex-basis: 170px; }
}
.cart_in_modal__image {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  margin: auto;
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
}
.cart_in_modal__name {
  flex: 1;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
}
@media (min-width: 960px) { .cart_in_modal__name { font-size: 18px; } }
.cart_in_modal__button-wrap {
  width: 100%;
  margin: 30px auto;
  font-size: 17px;
}
@media (min-width: 960px) { .cart_in_modal__button-wrap { width: 350px; } }
.cart_in_modal__button {
  width: 100%; height: 58px;
  padding: 15px;
  color: #fff;
  background: #2169f3;
  border: 0; border-radius: 4px;
  box-shadow: 0 2px 0 #1a54c2;
  outline: none;
  line-height: 23px;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
}
.cart_in_modal__button:hover,
.cart_in_modal__button:focus {
  color: #e9f0fe;
  background: #1e5fdb;
  box-shadow: none;
  transform: translate3d(0,2px,0);
}
.cart_in_modal__text-link {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  padding-left: 20px;
  color: #2169f3;
  line-height: 1.15;
  cursor: pointer;
}
.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;
  transform: rotate(225deg);
}
.cart_in_modal__close-icon { cursor: pointer; }
.cart_in_modal__close-icon::before,
.cart_in_modal__close-icon::after {
  content: "";
  position: absolute;
  top: 30px; right: 20px;
  width: 35px; height: 6px;
  background: #eee;
  border-radius: 4px;
}
.cart_in_modal__close-icon::before { transform: rotate(-45deg); }
.cart_in_modal__close-icon::after  { transform: rotate(45deg); }

.spinner::before {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 100px; height: 100px;
  margin-left: -50px; margin-top: -50px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 5px solid #eee;
  border-top-color: #fd7f23;
  animation: spinner .5s linear infinite;
}
@keyframes spinner { to { transform: rotate(360deg); } }

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

/* =========================================================
   Badges / tags on product name area
========================================================= */
.p-cart-form_tag30 {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  margin-bottom: 20px;
  padding: 10px 0;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.p-cart-form_tag24 {
  display: block;
  margin: 0 0 20px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: #0073e6;
  border: 1px solid #005bb5;
  border-radius: 4px;
}

/* =========================================================
   Utilities / Blocks used in template
========================================================= */
.twitter-tweet { margin: 0 20px 20px; width: 93%; }

.blockquote,
blockquote {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 10px 15px 10px 10px;
  box-sizing: border-box;
  font-style: italic;
  color: #555;
  background: #efefef;
}
blockquote p { margin: 10px 0; line-height: 1.7; padding: 0; }
blockquote cite { display: block; text-align: right; color: #888; font-size: .9em; }

.rounded-square {
  margin-top: 20px;
  padding: 15px;
  text-align: left;
  background: #f2f2f2;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.rounded-square h3 { margin-bottom: 10px; font-size: 1em; color: #333; cursor: pointer; }
.rounded-square p  { font-size: .9em; line-height: 1.6; color: #666; }

.alert {
  position: relative;
  margin-bottom: 15px;
  padding: 20px;
  font-size: .9em;
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
}
.alert a { color: #721c24; text-decoration: underline; }
.alert a:hover, .alert a:focus { color: #491217; text-decoration: none; }

.btn--email-remind {
  display: block;
  margin-top: 10px;
  padding: 12px;
  font-size: 14px;
  text-align: center;
  color: #fff;
  background: #0073aa;
  border-radius: 4px;
  text-decoration: none;
}
.btn--email-remind:hover { background: #005f8d; }

/* =========================================================
   Responsive Layout (two-column product page)
========================================================= */
@media screen and (min-width: 600px) and (max-width: 959px) {
  .p-large-image { float: left; width: 50%; margin: 0; }
  .p-thumbnail-list,
  .p-view-product-images,
  .p-short-description { float: right; width: 45%;margin-top: 50px; }
  .p-cart-form__info {
    float: left; width: 50%;
    margin: 10px; padding: 0; text-align: left; border: 0;
  }
  .p-cart-form form { float: right; width: 45%; }
  .p-cart-form__link-list { float: right; clear: right; width: 45%; }
  .p-product-body-inner { margin-top: 0; }
}

@media screen and (min-width: 960px) {
  .p-product-wrap { overflow: hidden; }
  .p-product-heading {
    float: right;
    width: 400px;
    box-sizing: border-box;
    margin-bottom: 50px;
  }
  .p-product-body {
    float: right;
    width: 100%;
    margin-right: -400px;
  }
  .p-product-body-inner { margin-right: 440px; }
  .p-large-image__image-wrap { border-width: 9px; }
  .p-thumbnail-list__image-wrap { border-width: 3px; }
  .p-view-product-images, .p-product-body__linkto-cart { display: none; }
  .p-product-images__image-wrap { border-width: 9px; }
  .p-product-images li { width: 50%; }
  .p-product-images li:nth-child(3n + 1) { clear: none; }
  .p-product-images li:nth-child(2n + 1) { clear: left; }
}

@media screen and (max-width: 599px) {
  .p-short-description { display: none; }
  .p-product-body-inner { padding-top: 20px; border-top: 1px solid #eaeaea; }
  .p-product-body { padding: 0 20px; }
  .p-product-body__price,
  .p-product-body__regular-price,
  .p-product-body__point { display: none; }
}

/* =========================================================
   Small helpers used by this template
========================================================= */
.c-product-list__button { background: #f0f0f0; padding: 15px; border-radius: 5px; }
.c-product-list__button .c-button { background: transparent; color: #333; border: none; }
.c-product-list__button .c-button:hover { background: #e0e0e0; }

.admin-edit-icon { display: none; margin-left: 6px; font-size: 14px; color: #e67e22; text-decoration: none; }
.admin-edit-icon:hover { color: #c0392b; }

.bt-price-normal { color: #000; font-weight: bold; }
.bt-price-sale   { color: #c00; font-weight: bold; }
.bt-price-soldout{ color: #999; font-weight: bold; }

.purchase-limit {
  margin: 15px 0;
  padding: 10px;
  text-align: center;
  background: #ffeb3b;
  border: 2px solid #f57c00;
  border-radius: 5px;
}
.purchase-limit p {
  margin: 0;
  font-weight: bold;
  font-size: 16px;
  text-align: left;
}

/* =========================================================
   Video / Twitter embeds (used in description)
========================================================= */
.twitter-embed-container { margin-left: 0 !important; padding-left: 0 !important; }
.video-container {
  position: relative;
  max-width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #000;
}
.video-container iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
}
@media (max-width: 768px) { .video-container { padding-bottom: 75%; } }

/* =========================================================
   Pager (レビュー下)
========================================================= */
@media (max-width: 767px) {
  .c-pager { display: block; text-align: center; margin-top: 20px; }
  .c-pager__list { display: inline-block; margin: 0; padding: 0; }
  .c-pager__list-item { display: inline; margin: 0; padding: 0; }
  .c-pager__link { display: inline-block; margin: 0; padding: 5px 10px; }
}

/* =========================================================
   Misc used blocks (boxes, tables in description)
========================================================= */
.box1 { margin: 2em 0; padding: .5em 1em; font-weight: bold; border: 1px solid #e0e0e0; }
.box1 p { margin: 0; padding: 0; }
.gray-line { display: inline-block; margin-bottom: 8px; padding: 5px 10px; background: #eee; border-radius: 4px; }

.box27 {
  position: relative;
  margin: 2em 0;
  padding: .5em 1em;
  border: 3px solid #62c1ce;
}
.box27 .box-title {
  position: absolute; top: -27px; left: -3px;
  height: 25px; line-height: 25px;
  padding: 0 9px;
  font-size: 17px; font-weight: bold; color: #fff; background: #62c1ce;
  border-radius: 5px 5px 0 0;
}
.box27 p { margin: 0; padding: 0; }

.speclist_t { width: 100%; padding: 10px; }
.speclist_t td, .speclist_t th { padding: 10px; }
.speclist_t td { background: #fff; }
.speclist_t th { width: 30%; background: #eee; }

.review-points-notice {
    margin: 0 15px;
    padding: 15px;
    text-align: left;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.review-points-notice h3 {   margin-top: 0;
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 600;
  color: #d77a26;
  display: flex;
  align-items: center;
  gap: 6px;
}
.review-points-notice p {  margin: 0;}
.review-points-notice b { font-size: 1em; color: #000; }
.review-points-notice i {
  color: #d77a26;
  font-size: 18px;
}
.review-points-notice .highlight {
  color: #e04a00;
  font-weight: 700;
}

/* =========================================================
   Minor visibility / vendor
========================================================= */
.cartjs_product_table { display: none; }
.poster_notification_btn { font-size: .8em; }
.twitter-tweet { width: 93%; }

/* アイコンフォント（必要に応じて外部読み込み） */
/* @import "https://use.fontawesome.com/releases/v5.13.0/css/all.css"; */

/* =========================================================
   Slimmed responsive adjustments unique to this template
========================================================= */
@media (min-width: 600px) {
  .p-product-heading__unit {
    margin: 0 0; /* ※元数値踏襲（左右0, 上120, 下200）*/
    border: 1px solid #eaeaea;
  }
}

/* ===== 追補：レビュー操作バー（一本化・衝突なし） ===== */
.review-header{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;background:#fff;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;}
.review-average{display:flex;align-items:center;gap:5px;font-weight:700;color:#2e7d32;font-size:14px;}
.review-average #avgStars{color:#f5c518;font-size:18px;margin-right:2px;}
.review-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.review-sort{display:flex;align-items:center;gap:5px;font-size:13px;color:#374151;}
.review-sort select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:6px 28px 6px 10px;font-size:13px;color:#334155;cursor:pointer;transition:all .2s ease;background-image:linear-gradient(45deg,transparent 50%,#4caf50 50%),linear-gradient(135deg,#4caf50 50%,transparent 50%),linear-gradient(to right,#fff,#fff);background-position:calc(100% - 16px) 50%,calc(100% - 10px) 50%,0 0;background-size:6px 6px,6px 6px,100% 100%;background-repeat:no-repeat;}
.review-sort select:hover{border-color:#86efac;box-shadow:0 0 0 2px rgba(134,239,172,.2);}
.photo-only{display:flex;align-items:center;gap:5px;border:1px dashed #a5d6a7;border-radius:6px;padding:5px 8px;background:#f8fafc;color:#2e7d32;font-size:13px;transition:background .2s ease,border-color .2s ease;}
.photo-only:hover{background:#f0fdf4;border-color:#7bc47f;}
.photo-only input[type="checkbox"]{transform:scale(1.2);accent-color:#4caf50;}
.review-filter{display:flex;gap:4px;flex-wrap:nowrap;}
.filter-btn{background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:4px 8px;font-size:13px;color:#334155;cursor:pointer;transition:all .2s ease;}
.filter-btn:hover{background:#e8f5e9;border-color:#86efac;}
.filter-btn.active{background:#4caf50;border-color:#388e3c;color:#fff;font-weight:600;}
@media (max-width:768px){.review-header{flex-direction:column;align-items:stretch;gap:8px;} .review-controls{justify-content:space-between;gap:6px;} .review-sort select{width:140px;} .photo-only{flex:1;justify-content:center;} .review-filter{justify-content:center;flex-wrap:wrap;}}

/* ===== 追補：スマホ余白＆レビュー写真強化 ===== */
@media (max-width:768px){#productReviewSection{padding:0 10px;}}
.natural-ranking-review-bubble{margin-left:4px;margin-right:4px;}
.review-photo{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px;}
.review-photo img{width:100%;max-width:180px;border-radius:8px;border:1px solid #e5e7eb;box-shadow:0 2px 6px rgba(0,0,0,.08);background:#fff;object-fit:contain;transition:transform .2s ease,box-shadow .2s ease;}
.review-photo img:hover{transform:scale(1.03);box-shadow:0 4px 10px rgba(0,0,0,.12);}
.review-title {
  font-weight: 600;
  font-size: 14px;
  margin: 4px 0;
}
@media (min-width:600px){.review-photo img{max-width:160px;}}

/* ===== 追補：改行保持（店長/ユーザー文面） ===== */
.natural-ranking-review-bubble-text,.p-posted-review__comment{word-break:break-word;}
.natural-ranking-review-bubble-text{margin:0;text-indent:0;}

.review-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.review-tag{display:inline-flex;align-items:center;font-size:12px;line-height:1.4;font-weight:600;color:#2e7d32;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:999px;padding:2px 8px 3px;transition:background .2s ease,color .2s ease,border-color .2s ease;}
.review-tag:hover{background:#dcfce7;border-color:#86efac;}
.review-tags .review-tag{white-space:nowrap;}

@media (max-width:768px){.review-tags{gap:5px;margin-top:6px;} .review-tag{font-size:11px;padding:2px 7px;}}


/* リスト全体 */
.natural-ranking-list {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:8px;
  padding:0;
  list-style:none;
  background:#fff;
  justify-content:center;
}

/* 各商品カード */
.natural-ranking-item {
  background:#fff;
  border-radius:10px;
  box-shadow:0 2px 6px rgba(0,0,0,.1);
  overflow:hidden;
  position:relative;
  transition:transform .2s ease,box-shadow .2s ease;
}
.natural-ranking-item:hover {
  transform:translateY(-3px);
  box-shadow:0 4px 10px rgba(0,0,0,.15);
}

/* 画像枠 */
.natural-ranking-imagewrap {
  display:flex;
  justify-content:center;
  align-items:center;
  height:120px;
  background:#fff;
  padding:10px;
}
.natural-ranking-item img {
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
  border-radius:6px;
  background:#fff;
}

/* カテゴリ名 */
.natural-ranking-category {
  font-size:11px;
  color:#777;
  margin:8px 10px 2px;
  font-weight:500;
}

/* 商品名 */
.natural-ranking-name {
  font-weight:700;
  font-size:12px;
  line-height:1.4;
  margin:2px 10px 4px;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.natural-ranking-name a {
  color:#222;
  text-decoration:none;
  transition:color .2s ease;
}
.natural-ranking-name a:hover { color:#4CAF50; }

/* 星評価 */
.natural-ranking-stars {
  display:inline-flex;
  gap:1px;
  font-size:12px;
  color:#f5a623;
  margin:0 10px 6px;
}
.natural-ranking-stars .star { color:#ccc; }
.natural-ranking-stars .star.filled,
.natural-ranking-stars .star.half { color:#f5a623; }

.natural-ranking-stars-s {
  display:inline-flex;
  gap:1px;
  font-size:30px;
  color:#f5a623;
  margin:0 0 6px;
}
.natural-ranking-stars-s .star { color:#ccc; }
.natural-ranking-stars-s .star.filled,
.natural-ranking-stars-s .star.half { color:#f5a623; }

.review-card .natural-ranking-stars {
  display: inline-flex;
  justify-content: flex-end;
  width: 100%;
  text-align: right;
}
.star-wrap {
  position: relative;
  display: inline-block;
  line-height: 1;
}
.star-base {
  color: #ddd;
}
.star-fill {
  color: #f2b600;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
}
.star-value {
  display: inline-block;
  margin-left: 6px;
  font-size: 13px;
  color: #555;
}


/* 商品説明 */
.natural-ranking-desc {
  font-size:11px;
  color:#666;
  margin:0 10px 8px;
  line-height:1.5;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  overflow:hidden;
}

/* 価格 */
.natural-ranking-price {
  margin:0 10px 6px;
  font-weight:700;
  color:#222;
}
.natural-ranking-price .discount {
  color:#d00;
  margin-right:6px;
}
.natural-ranking-price .natural-ranking-regular {
  color:#888;
  text-decoration:line-through;
  font-weight:500;
}

/* 在庫関連 */
.natural-ranking-low {
  display:inline-block;
  background:#f6c343;
  color:#222;
  font-weight:600;
  font-size:11px;
  padding:1px 8px;
  border-radius:6px;
  margin:0 10px 6px;
}
.natural-ranking-soldout {
  display:inline-block;
  background:#d32f2f;
  color:#fff;
  font-weight:700;
  font-size:11px;
  padding:1px 8px;
  border-radius:6px;
  margin:0 5px 6px;
  box-shadow:0 1px 2px rgba(0,0,0,.1);
}



/* 順位バッジ */
.natural-ranking-index {
  position:absolute;
  top:6px;
  left:6px;
  background:#555;
  color:#fff;
  font-size:14px;
  font-weight:700;
  padding:2px 8px;
  border-radius:5px;
}
.natural-ranking-index--1 { background:linear-gradient(45deg,#ffd700,#f0c000); }
.natural-ranking-index--2 { background:linear-gradient(45deg,#c0c0c0,#b0b0b0); }
.natural-ranking-index--3 { background:linear-gradient(45deg,#cd7f32,#b8742a); }

/* レビュー表示 */
.natural-ranking-review-bubble {
  display:grid;
  grid-template-columns:40px 1fr;
  gap:8px;
  align-items:start;
  margin:6px 10px 6px;
}
.natural-ranking-review-bubble-body {
  background:#f8fafc;
  border:1px solid #e6ecf2;
  border-radius:10px;
  padding:8px 10px;
  color:#334155;
  line-height:1.6;
  font-size:13px;
}
.natural-ranking-review-avatar {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  width:40px;
  padding-top:0;
}
.natural-ranking-review-avatar i {
  font-size:18px;
  color:#64748b;
  opacity:.8;
}

/* 店長アイコン */
.natural-ranking-review-avatar .admin-icon {
  width:32px;
  height:32px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid #d1e7d1;
}

/* 役立ちボタン */
.natural-helpful-button {
  background:none;
  border:none;
  cursor:pointer;
  color:#4CAF50;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  padding:0;
  transition:transform .15s ease,color .2s ease;
}
.natural-helpful-button:hover {
  transform:scale(1.1);
  color:#2e7d32;
}
.natural-helpful-button.voted {
  color:#94a3b8;
  cursor:not-allowed;
}
.natural-helpful-count {
  font-size:12px;
  font-weight:600;
  color:#475569;
}

/* スケルトンローディング */
.skeleton {
  background:#f6f6f6;
  border-radius:8px;
  padding:10px;
  animation:pulse 1.5s infinite ease-in-out;
}
.skeleton-img {
  width:100%;
  height:180px;
  background:#ddd;
  border-radius:6px;
  margin-bottom:8px;
}
.skeleton-line {
  height:12px;
  background:#e0e0e0;
  margin:4px 0;
  border-radius:3px;
}
.skeleton-line.short { width:50%; }
.skeleton-line.medium { width:70%; }
.skeleton-line.long { width:90%; }

@keyframes pulse {
  0%{opacity:.6}
  50%{opacity:1}
  100%{opacity:.6}
}

/* メディアクエリ */
@media (max-width:768px) {
  .natural-ranking-wrapper{padding:0 8px;}
  .natural-ranking-wrapper {
    padding:0 12px;
  }
  .natural-ranking-list {
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    padding:0 6px;
  }
  .natural-ranking-imagewrap {
    height:150px;
    padding:8px;
  }

  .natural-ranking-imagewrap{height:150px;padding:8px;}
}



/* ====== Category Ranking Tabs（白黒モノトーン版） ====== */
.category-ranking-tabs {
  display: flex;
  gap: 0.75em;
  font-size: 0.95em;
  margin-bottom: 1.2em;
  flex-wrap: wrap;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 15px;
}

.category-ranking-tab {
  padding: 6px 18px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  transition: all .25s ease;
  font-weight: 500;
}

.category-ranking-tab:hover {
  background: #f5f5f5;
  color: #000;
}

.category-ranking-tab.active {
  background: #fff;
  color: #111;
  border-color: #111;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.category-ranking-title {
  font-size: 1em;
  font-weight: 700;
  color: #333;
  margin-bottom: .6em;
}


/* 商品カードと同じ間隔（gap:18px）に統一 */
.category-ranking-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:0px}
@media screen and (max-width: 768px) {
  .category-ranking-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.category-ranking-item{position:relative;border:1px solid #eee;border-radius:6px;padding:.8em;text-align:left;transition:box-shadow .2s ease}
.category-ranking-item:hover{box-shadow:0 2px 6px rgba(0,0,0,.1)}
.category-ranking-item img{width:100%;height:60px;object-fit:contain}

/* 商品名：配色・余白・ホバーを商品カード準拠に */
.category-ranking-item .name{
  font-weight:700;font-size:12px;line-height:1.4;color:#222;
  margin:2px 2px 4px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden
}
.category-ranking-item .name a{color:#222;text-decoration:none;transition:color .2s}
.category-ranking-item .name a:hover{color:#4CAF50}

/* 価格：寄せ・配色・余白を商品カード準拠に */
.category-ranking-item .price{margin:0 3px 6px;font-weight:700;font-size:.95em;color:#222}
.category-ranking-item .price .normal-price{color:#222}
.category-ranking-item .price .sale-price{color:#d00;font-weight:700}
.category-ranking-item .price .original-price{font-size:.85em;color:#888;text-decoration:line-through;margin-left:.5em}

.soldout-text{color:#999;font-weight:700}
.category-ranking-box{margin-top:15px;max-width:100%;box-sizing:border-box}
@media screen and (max-width:768px){.category-ranking-box{padding-left:1em;padding-right:1em}}

/* ====== Sub Category (現状維持) ====== */
.p-sub-category{padding:10px;list-style-type:none;display:flex;flex-wrap:wrap;justify-content:center;background-color:#efefef}
.p-sub-category__item{box-sizing:border-box;width:calc(33.3333% - 10px);text-align:center;border:1px solid #ccc;margin:5px;transition:color .2s,background-color .2s;color:#333;min-height:40px;overflow:hidden;word-wrap:break-word;display:flex;justify-content:center;align-items:center;background-color:#fff;position:relative}
.p-sub-category__item:hover{color:#fff;background-color:#333}
.p-sub-category__link{display:flex;align-items:center;justify-content:center;transition:opacity .2s;padding:20px 0;text-decoration:none;color:inherit;width:100%;height:100%;position:absolute}
.p-sub-category__link:hover{opacity:.66}
.p-sub-category__link:active{opacity:1}
.p-sub-category__name{line-height:1.3;display:inline-block;margin:0}
@media screen and (max-width:600px){.p-sub-category__item{width:calc(50% - 10px);margin:5px auto}}

/* ======================================================
   &#129517; ソートバー全体のスタイル（PC & モバイル共通）
   ====================================================== */

/* コンテナ全体を固定幅で中央揃え */
.c-product-sort {
  display: flex;
  align-items: center;               /* ← 縦方向中央揃え */
  justify-content: space-between;    /* ← 左右端を分離 */
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 5px auto 20px;
  padding: 5px 10px 15px 10px;
  box-sizing: border-box;
  border-bottom: 1px solid #eee;
  gap: 10px;
}

/* 左側（全○○商品） */
.c-product-sort__total {
  flex-shrink: 0;                   /* テキストを固定幅扱いに */
  white-space: nowrap;
  font-size: 14px;
  color: #555;
  display: flex;                    /* ← 内部も中央寄せ */
  align-items: center;
  height: 44px;                     /* ← select と同じ高さ */
}

.c-product-sort__total span {
  font-weight: 700;
  font-size: 35px;
  color: #111;
  margin: 0 4px;
  line-height: 1;
  display: inline-block;
}

/* 右側（セレクトボックス） */
.c-product-sort__switch {
  position: relative;
  display: flex;                    /* ← ここでselectを中央揃え */
  align-items: center;              /* ← ▼アイコンと垂直中央 */
  justify-content: flex-end;
  flex-shrink: 0;
  width: 180px;                     /* ← はみ出し防止 */
}

/* セレクトボックス本体 */
.c-product-sort__switch select {
  all: unset;
  display: block;
  width: 100%;
  height: 44px;                     /* ← 高さを固定 */
  font-size: 15px;
  color: #222;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;           /* ← 明示的指定（背景が抜ける端末対策） */
  background-image: none;           /* ← Android既定矢印削除 */
  padding: 10px 40px 10px 12px;
  line-height: 1.5;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  overflow: hidden;                 /* ← 折返し禁止 */
  white-space: nowrap;              /* ← 強制1行 */
  vertical-align: middle;           /* ← 微妙なズレ修正 */
}

.c-product-sort__switch select:hover {
  border-color: #888;
}

.c-product-sort__switch select:focus {
  border-color: #555;
  outline: none;
}

/* ▼ アイコン（擬似要素で中央揃え） */
.c-product-sort__switch::after {
  content: "\25BE"; /* ▼ */
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 1em;
  pointer-events: none;
}



.c-form__unit{margin-bottom:10px;}
.c-form__unit-label{font-weight:bold;margin-bottom:1em;}
.c-form__unit-label--fix-margin{margin-bottom:-0.5em;margin-right:1em;}
.c-form__flex-container{display:flex;align-items:center;justify-content:flex-start;width:100%;}
.c-form__unit-body{align-items:center;}
.c-input-text{font-size:16px;line-height:1.5;box-sizing:border-box;width:100%;padding:10px;transition:.2s;vertical-align:middle;border:2px solid #e8e8e8;border-radius:4px;-webkit-appearance:none;-moz-appearance:none;appearance:none;}
.c-input-text:focus{border-color:#333;outline:none;}

/* &#127807; 同シリーズタイトル（シンプル） */
.pickup-heading {
  font-weight: 700;
  font-size: 18px;
  margin: 30px 0 15px;
  color: #222;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}

.pickup-heading::before {
  content: "# ";
  color: #444;
}

.recipe-section {
  margin: 50px 0;
  padding: 0 30px 0;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* レシピタイトル */
.recipe-item .recipe-title {
  font-size: 20px;
  font-weight: 600;
  color: #2f4f2f;
  margin: 0 0 20px;
  border-left: 5px solid #85a384;
  padding-left: 10px;
  line-height: 1.4;
}

/* セクション見出し */
.recipe-body h4 {
  font-size: 17px;
  color: #305c30;
  border-bottom: 2px solid #d8e3d8;
  padding-bottom: 4px;
  margin-top: 25px;
  margin-bottom: 10px;
}

/* 材料リスト */
.recipe-body ul.recipe-ingredients {
  list-style-type: disc;
  padding-left: 25px;
  margin: 0 0 10px 0;
}
.recipe-body ul.recipe-ingredients li {
  line-height: 1.7;
  color: #333;
  margin-left: 5px;
  list-style-position: outside;
}

/* 作り方番号 */
.recipe-body ol.recipe-steps {
  list-style: decimal;
  padding-left: 30px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

/* ポイント段落 */
.recipe-body p {
  margin-top: 10px;
  line-height: 1.7;
  color: #444;
}

/* 各レシピカード間 */
.recipe-item {
  margin-bottom: 40px;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 25px;
}

/* 最後のカードの線を消す */
.recipe-item:last-child {
  border-bottom: none;
}

/* アイコン付きタイトル（固定） */
.recipe-heading {
  font-size: 21px;
  font-weight: bold;
  color: #2f4f2f;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.recipe-heading i {
  color: #3f6f3f;
}

.pickup-special-section {
  padding:10px 0;
}

.pickup-special-heading {
    font-weight: 700;
    font-size: 18px;
    margin: 30px 0 15px;
    color: #222;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.pickup-special-card {
  display:flex;
  align-items:flex-start;
}

.pickup-special-thumb img {
      max-width: 100%;
    max-height: 100%;
margin: 0 40px 0 50px;
}

.pickup-special-content {
  flex:1;
}

.pickup-special-category {
  font-size:13px;
  color:#666;
  margin-bottom:4px;
}

.pickup-special-name {
  font-size:18px;
  font-weight:700;
  color:#222;
  line-height:1.4;
  margin-bottom:4px;
}

.pickup-special-name a {
  color:#222;
  text-decoration:none;
  transition:color .2s ease;
}
.pickup-special-name a:hover {
  color:#4CAF50;
}


.pickup-special-price {
  font-size:15px;
  color:#d24b00;
  font-weight:500;
  margin-bottom:14px;
}

/* &#128994; コメント部 &#8212; 背景のみ、枠・影なし */
.pickup-admin-comment {
  display:flex;
  align-items:flex-start;
  gap:12px;
  background:#fffaf1;
  padding:12px 14px;
  border-radius:10px;
  margin-top:12px;
}

.pickup-admin-icon {
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
}

.pickup-admin-label {
  color:#b05e00;
  font-weight:600;
  font-size:14px;
  margin-bottom:2px;
}

.pickup-admin-body p {
  margin:2px 0 0;
  color:#333;
  font-size:14px;
  line-height:1.6;
}

/* モバイル対応 */
@media (max-width:768px){
  .pickup-special-card {
    flex-direction:column;
    text-align:center;
  }
  .pickup-special-thumb img {
    width:100%;
    max-width:280px;
  }
  .pickup-special-content {
    text-align:left;
    margin-top:10px;
  }
  .pickup-admin-comment {
    margin-top:16px;
  }
}


.review-points-notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 20px 0;
}

/* === 画像を正方形160枠に収める === */
.review-points-image {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.review-points-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* === 例文の装飾 === */
.review-examples-minimal {
  margin-top: 12px;
  padding: 10px 12px;
  background: #f9f9f9;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
}

.review-example-line {
  margin-bottom: 8px;
}

.review-example-line:last-child {
  margin-bottom: 0;
}

.ex-title {
  font-size: 13px;
  font-weight: bold;
  color: #444;
  display: block;
  margin-bottom: 2px;
}

.ex-text {
  font-size: 12px;
  line-height: 1.5;
  color: #555;
  display: block;
}

/* === スマホ対応（重要） === */
@media screen and (max-width: 768px) {
  .review-points-notice {
    flex-direction: column;   /* ← これがないと画像が上に来ない */
    align-items: center;
  }

  .review-points-image {
    margin-bottom: 12px;
  }

  .review-points-text {
    width: 100%;
  }
}

/* レシート風レイアウト */
.p-cart-form__subtotal {
  margin-top: 15px;
  padding-top: 5px;
  border-top: 3px solid #eee;
  text-align: left;        /* 全体は左寄せに戻す */
}

.receipt-block {
  width: 100%;
}

.receipt-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
  line-height: 1.6;
  padding: 2px 0;
}


.receipt-value {
  min-width: 120px;        /* 必要ならお好みで調整 */
  text-align: right;       /* 金額側だけ右寄せ */
  white-space: nowrap;
}

.receipt-row + .receipt-row {
  border-top: 1px dotted #ddd;  /* 行の区切り線。不要なら削除 */
}
#points {
  color: #f70000;
}
#cartTotalDisplay .shipping-note {
  color: #f70000;
}

/* ▼ 商品詳細専用 お気に入りバッジ */
.pd-fav-badge {
  position: absolute;
  bottom: 10px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* ▼ 白い正円 */
.pd-fav-circle {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  border: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .2s ease;
}

.pd-fav-circle i {
  font-size: 20px;
}

/* ▼ ラベルバー（hover時に表示） */
.pd-fav-label {
  opacity: 0;
  white-space: nowrap;
  padding: 6px 12px;
  background: rgba(255,255,255,0.95);
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 13px;
  transform: translateX(-10px);
  pointer-events: none;
  transition: all .2s ease;
}

/* ▼ hover時：ラベルバーを表示 */
.pd-fav-badge:hover .pd-fav-circle {
  transform: scale(1.1);
}

.pd-fav-badge:hover .pd-fav-label {
  opacity: 1;
  transform: translateX(0);
}

/* ▼ 登録済み（赤いハートの正円だけになる） */
.pd-fav-added .pd-fav-label {
  display: none !important;
}

.pd-fav-circle--added {
  background: #ffefef;
  border-color: #cc0000;
}

.pd-fav-circle--added i {
  color: #cc0000;
 }

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.c-product-info__price {
  font-size: 1.4rem !important;
}

.sale-now-badge {
  background:#f26522; /* 既存の販売価格と同じオレンジ */
  color:#fff;
  font-weight:bold;
  font-size:13px;
  padding:4px 8px;
  display:inline-flex;
  align-items:center;
  gap:4px;
  border-radius:4px;
  margin-bottom:2px;
      margin-top: 5px;
}
.sale-now-badge i {
  font-size:16px;
}