
.producer-card {
  max-width: 500px;
  margin: 20px auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  flex-direction: column;
}

.producer-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.producer-image img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0f0f0;
}

.producer-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: bold;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.producer-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.producer-body {
  line-height: 1.7;
  font-size: 0.95rem;
  color: #444;
}

@media (max-width: 480px) {
  .producer-card {
    padding: 20px;
  }
  .producer-image img {
    width: 60px;
    height: 60px;
  }
}

.footstamp {
  margin-bottom: 15px;
  padding-bottom: 10px;
  flex-wrap: wrap;
  display:flex;
}
.footstamp p{
  display: inline-block;
  font-size: 14px;
  margin-right: 20px;
}
.footstamp span {
      margin: 5px;
    color: #999;
    flex-wrap: wrap;
    align-items: center;
    display: flex;
}
.footstamp a {
  margin: 0 5px;
  color: #000;
}
@media (max-width: 768px) {
.footstamp {
  margin-bottom: 5px;
  font-size: 0.75em;
}
.footstamp p {
  display: block;
  margin-right: 10px;
}
}

#a_insta{
  display:none;
}
#a_insta .p-product-img{
width:100%;
  margin:auto;
}
.product_list{
padding:0 1rem;
}
.p-product-chui-ttl {
    margin-bottom: 5px;
  margin-top:15px;
    font-weight: bold;
    font-family: sans-serif;
}
.p-product-chui{
 box-sizing: border-box;
    padding: 5px;
    min-height: 40px;
    border: 1px solid #bfbfbf;
    font-size: 16px;
    width: 100%;
    background-color: #fff;
    line-height: 1.5;
    border-radius: 3px;
    color: #555;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.p-product-chui .yamato,.p-product-chui .sagawa{
color: inherit;
    background: none;
    padding: 0;
    margin: 0;
}
.icon_star {
  float: right;
  width: 5rem;
  overflow: hidden;
}
.icon_star img {
  max-width:inherit;
 width:10rem;
}
h4{
background: #222;
    width: fit-content;
    padding: 0.2rem 1rem;
    border-radius: 50px;
    color: white;
  white-space:nowrap;
  margin-bottom:0.5rem;
}
.wakex{
  display: flex;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}
.wakex div{
  flex: 1;          
  aspect-ratio: 3 / 2; 
  overflow: hidden;   
  background-color: #f0f0f0;
}
.wakex img{
  width: 100%;
  height: 100%;
  object-fit: cover;  
  display: block;
}
.wakeari{
display:flex;
  align-items: center;
    gap: 1rem;
  font-weight:bold;
  font-size: 1.1rem;
}
.wakeari span{
    background: darkgoldenrod;
    width: fit-content;
    padding: 0.2rem 1rem;
    border-radius: 50px;
    color: white;
  white-space:nowrap;
}

.yamato,.sagawa{
    display: none;
}

.p-product-price__sell .yamato,.p-product-price__sell .sagawa{
    border-radius: 27px;
    padding: 0.2rem 0.9rem;
    font-size: 1rem;
    font-family: sans-serif;
    align-items: center;
    margin: auto 0;
}
.yamato p,.sagawa p{
  margin: 0;
    margin-left: 0.5rem;
}
.p-product-price__sell .yamato{
  background:#f7c331;
  color:black;
}
.p-product-price__sell .sagawa{
  background:#2944cc;
  color:white;
}

.zeikomi{
font-size: 0.9rem;
    color: #777;
    font-weight: normal;
    margin: 0;
    margin-bottom: 0.4rem;
}
.p-product-link-list,.p-product-explain__body,.p-product-recommend-list{
  font-family: sans-serif;
}

.p-product-caution{
    font-family: sans-serif;
    color: #777;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.p-promo-box {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-promo-box.is-shipping {
    border: 1px solid #f0f0f0;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
      background-color: #ffffff;
    position: relative;
}

.p-promo-box__label {
       display: inline-block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 0.3rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    background-color: #bfa77a;
    color: #fff;
}

.p-promo-box__main {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    letter-spacing: 0.15em; 
}

.p-promo-box__sub {
    font-size: 1rem;
    color: #999;
    margin: 0;
    font-weight: 400;
}

.p-promo-box.is-amazon {
        display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.p-promo-box.is-amazon img {
        height: 2rem;
    margin-right: 0.8rem;
    transition: 0.3s;
    margin-bottom: -0.3rem;
}

.p-promo-box__text {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.p-promo-box__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 8px 24px;
    background-color: transparent; 
    border: 1px solid #1a1a1a;
    border-radius: 100px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
  font-size: 11px;
    font-weight: 500;
}


.p-promo-box__btn:hover {
    background-color: #1a1a1a;
    color: #fff;
    transform: scale(1.05);
}


.p-promo-box.is-shipping .p-promo-box__btn {
    border-color: #bfa77a;
    color: #bfa77a;
}
.p-promo-box.is-shipping .p-promo-box__btn:hover {
    background-color: #bfa77a;
    color: #fff;
}

/******************************/
/* Product */
/******************************/
.p-product {
    background-color: #ffffff;
    color: #1a1a1a;
    letter-spacing: -0.01em;
  margin-bottom:120px;
}
/* form */
.p-product select {
  box-sizing: border-box;
  padding: 5px;
  height: 40px;
  border: 1px solid #bfbfbf;
  font-size: 16px;
}
.p-product input[type=text] {
  box-sizing: border-box;
  padding: 5px;
  height: 40px;
  border: 1px solid #bfbfbf;
  font-size: 16px;
}
.p-product-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
 gap: 1rem;
}
@media screen and (max-width: 1024px) {
  .p-product-main {
    display: block;
  }
}

@media screen and (max-width: 1024px) {
    .p-product-img {
        width: auto;
        margin-bottom: 45px;
        position: static;
      margin: auto;
    }
}

.p-product-img__main {
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .p-product-img__main {
    margin-left: auto;
    margin-right: auto;
    width: 530px;
  }
}
@media screen and (max-width: 767px) {
  .p-product-img__main {
    width: auto;
  }
}
.p-product-img__main-item {
  position: relative;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-product-img__main-item {
    text-align: center;
  }
}
.p-product-img__main-item:before {
  content: "";
  display: block;
  padding-top: 100%;
}
.p-product-img__main-item a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.p-product-img__main-item img {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
      margin: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-align: center;
}
.p-product-thumb-list {
  display: flex;
  flex-wrap: wrap;
  margin-left: -4px;
  margin-right: -4px;
  margin-top: 8px;
}
@media screen and (max-width: 1024px) {
  .p-product-thumb-list {
    margin-left: 0;
    margin-right: 0;
    flex-wrap: nowrap;
  }
}
.p-product-thumb-list__item {
  box-sizing: border-box;
  margin-bottom: 8px;
  width: 20%;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media screen and (max-width: 1024px) {
  .p-product-thumb-list__item {
    margin-right: 5px;
    padding-left: 0;
    padding-right: 0;
    width: 90px;
  }
}
@media screen and (max-width: 767px) {
  .p-product-thumb-list__item {
    margin-right: 5px;
    width: 60px;
  }
}
.p-product-thumb-list__item:hover, .p-product-thumb-list__item.is-current {
  opacity: 0.7;
  cursor: pointer;
}
@media screen and (max-width: 1024px) {
  .p-product-thumb-list__item img {
    width: 90px;
  }
}
@media screen and (max-width: 767px) {
  .p-product-thumb-list__item img {
    width: 60px;
  }
}
.p-product-thumb-list__img {
  /* overflow用 */
  position: relative;
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .p-product-thumb-list__img {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .p-product-thumb-list__img {
    width: 100%;
    text-align: center;
  }
}
.p-product-thumb-list__img:before {
  content: "";
  display: block;
  padding-top: 100%;
}
.p-product-thumb-list__img img {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
/* 商品画像 slider */
.p-product-img__main .slick-track {
  margin-left: 0;
  margin-right: 0;
}
.p-product-img__main .slick-prev, .p-product-img__main .slick-next {
  top: 50%;
  width: 30px;
  height: 30px;
  transition: all 0.4s ease;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .p-product-img__main .slick-prev, .p-product-img__main .slick-next {
    width: 45px;
    height: 45px;
  }
}
.p-product-img__main .slick-prev:before, .p-product-img__main .slick-next:before {
  content: "";
  position: absolute;
  top: 7px;
  left: 10px;
  width: 15px;
  height: 15px;
  border-left: 1px solid #000000;
  border-top: 1px solid #000000;
  transition: all 0.4s ease;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .p-product-img__main .slick-prev:before, .p-product-img__main .slick-next:before {
    top: 15px;
  }
}
.p-product-img__main .slick-prev {
  left: 15px;
}
@media screen and (max-width: 767px) {
  .p-product-img__main .slick-prev {
    left: 0px;
  }
}
.p-product-img__main .slick-prev:before {
  transform: rotate(-45deg);
}
@media screen and (max-width: 767px) {
  .p-product-img__main .slick-prev:before {
    left: 17px;
  }
}
.p-product-img__main .slick-next {
  right: 15px;
}
@media screen and (max-width: 767px) {
  .p-product-img__main .slick-next {
    right: 0px;
  }
}
.p-product-img__main .slick-next:before {
  left: 4px;
  transform: rotate(135deg);
}
@media screen and (max-width: 767px) {
  .p-product-img__main .slick-next:before {
    left: 13px;
  }
}
/***** 商品情報 *****/

@media screen and (max-width: 1024px) {
  .p-product-info {
    width: auto;
  }
}

@media screen and (max-width: 767px) {
  .p-product-info__ttl {
    font-size: 21px;
  }
}
.p-product-info__ttl img {
  vertical-align: middle;
}

@media screen and (max-width: 767px) {
  .p-product-info__id {
    margin-top: 5px;
    font-size: 10px;
  }
}
.p-product-price {
  margin-top: 20px;
  margin-bottom: 20px;
}

.p-product-price__normal {
  font-size: 14px;
}
@media screen and (max-width: 767px) {
  .p-product-price__normal {
    font-size: 12px;
  }
}
.p-product-price__list-price {
  font-size: 14px;
}
@media screen and (max-width: 767px) {
  .p-product-price__list-price {
    font-size: 12px;
  }
}
/* オプション table */
.p-product-option-tbl {
  margin-top: 30px;
  margin-bottom: 30px;
  overflow-x: auto;
}
.p-product-option-tbl table {
  margin-bottom: 0;
  border-left: 0;
  border-right: 0;
  width: 100%;
}
.p-product-option-tbl table div {
  display: inline-block !important;
}
.p-product-option-tbl th {
  min-width: 100px;
}
.p-product-option-tbl th, .p-product-option-tbl td {
  padding: 12px 5px;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  border-left: 0;
  text-align: center;
}
.p-product-option-tbl label {
  display: inline-block !important;
  margin-left: 5px;
  margin-bottom: 0;
}
.p-product-option-tbl input {
  margin-top: 0;
}
/* オプション select */
.p-product-option-select {
  margin-top: 30px;
  margin-bottom: 30px;
}
.p-product-option-select__box {
  margin-top: 15px;
}
.p-product-option-select__ttl {
  margin-bottom: 5px;
  font-weight: bold;
  font-family:sans-serif;
}
/* 名入れ */
.p-product-name {
  margin-top: 30px;
  margin-bottom: 30px;
}
.p-product-name__box {
  margin-top: 15px;
}
.p-product-name__ttl {
  margin-bottom: 5px;
  font-weight: bold;
}
.p-product-name__body input {
  width: 100%;
}

.p-product-form-stock__input {
  display: flex;
  align-items: center;
}
.p-product-form-stock__input input {
  width: 60px;
}
.p-product-form-stock__unit {
  margin-left: 10px;
}
.p-product-form-stock__stock {
  margin-left: 25px;
}
/* ボタン */
.p-product-form-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.p-product-form-btn__cart {
  width: 100%;
}
@media screen and (max-width: 1024px) {
  .p-product-form-btn__cart {
    flex: 1;
    width: auto;
  }
}
.p-product-form-btn__favorite {
  width: 50px;
}
.p-product-form-btn__favorite-btn {
  display: inline-block;
  margin-top: 22px;
  margin-left: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d8d8d8;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.p-product-form-btn__favorite-btn.is-added {
  color: #000000;
}
.p-product-form-btn__favorite-btn svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}
.p-product-form__error-message {
  color: #DB5656;
  margin-top: 15px;
}
/* SNS */
.p-product-sns-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
}
.p-product-sns-list__item {
  margin-right: 10px;
}
/* link */
.p-product-link-list {
  margin-top: 40px;
}
.p-product-link-list__item {
  margin-bottom: 5px;
}
@media screen and (max-width: 767px) {
  .p-product-link-list__item {
    margin-bottom: 15px;
  }
}
/***** 商品詳細 *****/
@media screen and (max-width: 1024px) {
  .p-product-explain {
    margin-bottom: 60px;
    width: auto;
  }
}
.p-product-explain__body {
  line-height: 2;
}
.p-product-other {
  width: 100%
}
@media screen and (max-width: 1024px) {
  .p-product-other {
    width: auto;
  }
}
/* おすすめ商品 */
.p-product-recommend-list {
  display: flex;
  flex-wrap: wrap;
  margin-left: -20px;
  margin-right: -20px;
  margin-bottom: 90px;
}
@media screen and (max-width: 767px) {
  .p-product-recommend-list {
    margin-left: -5px;
    margin-right: -5px;
    margin-bottom: 60px;
  }
}
.p-product-recommend-list__item {
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
  width: 33.3333%;
  word-break: break-all;
}
@media screen and (max-width: 767px) {
  .p-product-recommend-list__item {
    padding-left: 5px;
    padding-right: 5px;
  }
}
.p-product-recommend-list__img {
  margin-bottom: 30px;
  position: relative;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-product-recommend-list__img {
    margin-bottom: 5px;
    text-align: center;
  }
}
.p-product-recommend-list__img:before {
  content: "";
  display: block;
  padding-top: 100%;
}
.p-product-recommend-list__img a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.p-product-recommend-list__img img {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: auto !important;
  max-width: 100%;
  max-height: 100%;
  text-align: center;
      border-radius: 24px;
}
.p-product-recommend-list__price {
  margin-top: 15px;
  font-size: 12px;
  color: #909090;
}
@media screen and (max-width: 767px) {
  .p-product-recommend-list__price {
    margin-top: 0;
  }
}
.p-product-recommend-list__price.is-strikethrough {
  margin-top: 0;
  text-decoration: line-through;
}
.p-product-recommend-list__expl {
  margin-top: 15px;
  font-size: 12px;
}
/* レビュー */
.p-product-review {
  margin-bottom: 60px;
}
.p-product-review__item {
  box-sizing: border-box;
  margin-bottom: 30px;
  padding: 40px;
  background: #f8f8f8;
}
@media screen and (max-width: 767px) {
  .p-product-review__item {
    padding: 20px;
  }
}
.p-product-review__heading {
  margin-bottom: 15px;
}
.p-product-review__ttl {
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1.4;
  font-size: 18px;
}
.p-product-review-info {
  margin-top: 10px;
  margin-bottom: 10px;
}
.p-product-review-info__item {
  display: inline-block;
  font-size: 12px;
}
.p-product-review-info__item.is-type {
  margin-right: 35px;
}
.p-product-review__img {
  margin-bottom: 15px;
  text-align: center;
}
.p-product-review__body {
  margin-top: 15px;
  line-height: 2;
}
.p-product-review__rates {
  display: flex;
  flex-wrap: wrap;
}
.p-product-review__rate {
  width: 18px;
  height: 18px;
  vertical-align: -0.3em;
  fill: currentColor;
  fill: #d8d8d8;
}
.p-product-review__rate.is-color {
  fill: #000000;
}
/* レビュー 返信 */
.p-product-review-reply {
  box-sizing: border-box;
  margin-top: 30px;
  padding: 15px 0;
  border-top: 1px solid #aaaaaa;
  border-bottom: 1px solid #aaaaaa;
}
.p-product-review-reply__ttl {
  font-weight: bold;
}
.p-product-review-reply__body {
  font-size: 12px;
}
.p-product-review-reply__date {
  font-size: 12px;
}
.p-product-review__btn {
  margin-top: 45px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-product-review__btn {
    margin-top: 30px;
  }
}
.input-prepend.input-append input {
  font-size: 24px;
  padding-top: 11px;
  padding-bottom: 11px;
  width: 100px;
  text-align: right;
}
.p-product-form__error-message:empty {
  display:none;
}


.p-product-img__main {
    border-radius: 24px; 
    overflow: hidden;
    background: #f8f8f8;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}


.p-product-thumb-list {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding: 4px;
}

.p-product-thumb-list__item {
    flex: 0 0 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: grayscale(100%); 
    opacity: 0.6;
}

.p-product-thumb-list__item.is-current,
.p-product-thumb-list__item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.p-product-info {
    flex: 1;
    padding: 40px;
    border-radius: 32px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  background: #fdfdfd;
      max-width: 890px;
  font-family:sans-serif;
      margin: auto;
      margin-bottom: 5rem;
}

.p-product-info__ttl {
  font-size: 30px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 12px;
}

.p-product-info__id {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #aaa;
  margin: 0;
    margin-bottom: 1rem; 
}


.p-product-price {
    margin: 32px 0;
}

.p-product-price__sell {
   font-size: 30px;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    color: #e5560a;
    flex-wrap: wrap;
}

.p-product-price__sell span:last-child {
    font-size: 13px;
    letter-spacing: 0;
    background: #000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px; 
}

.p-product-price__normal {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
}


.c-btn-cart {
    width: 100%;
    height: 72px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 100px; 
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 1.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
}

.c-btn-cart:hover {
    opacity:0.8;
    transform: scale(1.02);
  background:#e5560a;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}



.p-product-form-stock__input input {
    background: transparent;
    border: none;
    width: 40px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}


.p-product__ttl {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.4em;
    color: #000;
    text-transform: uppercase;
    margin: 4rem 0 2rem 0;
    text-align: center;
    position: relative;
}

.p-product__ttl::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #000;
}


.p-product-review__item {
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    padding: 32px;
    transition: 0.3s;
}

.p-product-review__item:hover {
    border-color: #000;
}


@media screen and (max-width: 767px) {
    .p-product-main { display: block; }
    .p-product-info {
        padding: 30px 20px;
        position: relative;
        z-index: 2;
        border-radius: 32px 32px 0 0;
    }
}



.u-overflow-slide {
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;   
    scrollbar-width: none;     
    padding-bottom: 5px;     
}

.u-overflow-slide::-webkit-scrollbar {
    display: none;              
}


.p-product-thumb-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;                 
    margin-top: 20px;
    overflow: visible;       
}

.p-product-thumb-list__item {
    aspect-ratio: 1 / 1;      
    width: 100%;                 
    height: auto;
    border-radius: 12px;        
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
    opacity: 0.6;                
}


.p-product-thumb-list__item.is-current,
.p-product-thumb-list__item:hover {
    opacity: 1;
    border-color: #000;          
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.p-product-thumb-list__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;          
}


@media screen and (max-width: 767px) {
    .p-product-thumb-list {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }
}


.p-product-info__header {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    margin-bottom: 16px;
}


.p-product-action-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    padding: 0 10px;
}

.p-product-price { margin: 0; }


.c-btn-cart {
    background: #e5560a;
    border-radius: 16px;
    height: 64px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}


.p-product-link-list__item a {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #666;
    background: #fff;
    border: 1px solid #eee;
    padding: 12px;
    border-radius: 12px;
    margin-top: 10px;
}
.kounyu{
display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    gap: 1rem;
    width: fit-content;
    margin-top: 1rem;
}
@media screen and (max-width: 767px) {
  .kounyu{
    margin:auto;
    margin-top: 1rem;
  }
}
.p-product-form-stock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff; 
    padding: 12px 16px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
}


.p-product-form-qty-wrapper {
    display: flex;
    align-items: center;
    background: #f0f0f0; 
    border-radius: 12px;
    padding: 4px;
}


.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #ffffff;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.qty-btn:active {
    transform: scale(0.9);
    background: #e0e0e0;
}


.p-product-form-stock__input {
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.p-product-form-stock__input input {
    width: 30px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    appearance: none; 
    margin: 0;
}


.p-product-form-stock__unit {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    margin-left: 2px;
}


.p-product-form-stock__stock {
    text-align: right;
}

.stock-label {
    display: block;
    font-size: 10px;
    color: #aaa;
    margin-bottom: 2px;
    font-weight: 600;
}

.stock-status {
    font-size: 13px;
    font-weight: 700;
    color: #27ae60; 
}

#js-product-num::-webkit-inner-spin-button,
#js-product-num::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#js-product-num {
  -moz-appearance: textfield;
}


.qty-btn {
    user-select: none; 
    -webkit-tap-highlight-color: transparent;
}

.qty-btn:active {
    background-color: #000;
    color: #fff;
}


/* 画像エリアを追従させる */
.p-product-img {
    width: 45%;             /* 幅はデザインに合わせて調整 */      /* 画面の一番上で止まる */
    height: auto;
  max-width: 550px;
}


/* スマホでは追従をオフにする */
@media screen and (max-width: 1024px) {
    .p-product-img {
        width: 100%;
    }
}

.headwrap.is-hidden {
    transform: translateY(0); 
    margin-top: 0; 
}
.headwrap.is-hidden {
    transform: translateY(0);
     margin-top: 0; 
}

.searchbox {
   margin-top: 0;
}
.c-breadcrumbs {
    margin: 0 2rem 1rem auto;
    background: #f0f0f0;
    width: fit-content;
    padding: 0.5rem 25px;
    border-radius: 50px;
}
  @media screen and (max-width: 767px) {
    .c-breadcrumbs {
      margin-right:0;
    }
    .pc_pd{
    display:none!important;
    }
}
 /* --- 商品リスト全体のレイアウト --- */
.item_box,.c-item-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 -10px; /* 横の余白調整 */
}

.item_box li,.c-item-list li {
  width: 50%; /* スマホ時は2列 */
  padding: 0 10px;
}

@media (min-width: 768px) {
  .item_box li,.c-item-list li {
    width: 25%; /* PC時は4列 */
  }
}

/* --- 商品画像 --- */
.item_image, 
.product-list__image,.c-item-list__img {
  width: 100%;
  aspect-ratio: 1 / 1; /* 正方形に統一 */
  object-fit: cover;
  overflow: hidden;
  background-color: #f8f8f8;
  border-radius: 4px;
  border:none;
}
.c-item-list__img{
  margin-bottom:12px;
}
.item_image img,
.product-list__image {
  transition: transform 0.3s ease;
  vertical-align: bottom;
}

.item_image:hover img {
  transform: scale(1.05); /* ホバーで少し拡大 */
}

/* --- 商品情報 --- */
.item_detail {
  padding: 12px 0;
  text-align: center;
}
.c-item-list__txt{
font-weight:normal;
}
.item_name,.c-item-list__ttl {
  font-size: 14px!important;
  line-height: 1.5;
  margin-bottom: 8px;
  height: 3em; /* 2行分に高さを固定 */
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.item_name a {
  text-decoration: none;
  color: #333;
}

.item_name a:hover {
  text-decoration: underline;
}

/* --- 価格周り --- */
.item_price,.c-item-list__price {
  font-weight: bold;
    color: #3d3d3d;
    text-align: right;
    font-size: 15px;
  margin:0;
}

.is-strikethrough, 
.item_price s {
  font-size: 12px;
  color: #999;
  font-weight: normal;
  margin-right: 5px;
}

.is-discount {
  color: #d0021b;
}

.is-soldout, 
.sold_out {
  display: inline-block;
  background: #eee;
  color: #666;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 2px;
  font-weight: normal;
}



/* --- AJAXで読み込む関連商品用の調整 --- */
.related_items_sid, 
.related_items_bid {
  margin-top: 20px;
}

/* 非表示設定（JSでURLを取得するためだけのaタグを隠す） */
.sid_link, .bid_link {
  display: none;
} 
  
  