/******************************/
/* Product */
/******************************/
@media screen and (max-width: 767px) {
  .p-product {
    margin-bottom: 45px;
  }
}

/* form */
.p-product select {
  box-sizing: border-box;
  padding: 5px;
  border: 2px solid #000000;
  border-radius: 0;
  height: 50px;
  line-height: 1.2;
  font-size: 16px;
}
.p-product input[type=text] {
  box-sizing: border-box;
  padding: 5px;
  border: 2px solid #000000;
  border-radius: 0;
  height: 50px;
  line-height: 1.2;
  font-size: 16px;
}

.p-product-img {
  overflow: hidden;
}
.p-product-img .slick-list {
  overflow: visible;
}
.p-product-img .slick-slide {
  opacity: 0.4;
  transition: all ease 0.2s;
}
.p-product-img .slick-slide.slick-active {
  opacity: 1;
}

.p-product-img__main {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 530px;
  text-align: center;
}
@media screen and (max-width: 1023px) {
  .p-product-img__main {
    width: 530px;
  }
}
@media screen and (max-width: 767px) {
  .p-product-img__main {
    width: 80%;
  }
}

.p-product-img__main-item {
  text-align: center;
}
.p-product-img__main-item img {
  margin-left: auto;
  margin-right: auto;
  max-height: 520px;
  max-width: 520px;
}
@media screen and (max-width: 1023px) {
  .p-product-img__main-item img {
    max-height: 530px;
  }
}
@media screen and (max-width: 1023px) {
  .p-product-img__main-item img {
    max-width: 100%;
    max-height: 98%;
  }
}

.p-product-img__thumb {
  margin-top: 25px;
}
@media screen and (max-width: 767px) {
  .p-product-img__thumb {
    margin-top: 15px;
  }
}

.p-product-thumb-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
@media screen and (max-width: 1023px) {
  .p-product-thumb-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}

.p-product-thumb-list__item {
  box-sizing: border-box;
  position: relative;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 12px;
  width: 90px;
}
@media screen and (max-width: 1023px) {
  .p-product-thumb-list__item {
    margin-left: 0;
    margin-right: 10px;
    margin-bottom: 0;
  }
}
@media screen and (max-width: 767px) {
  .p-product-thumb-list__item {
    margin-right: 6px;
    width: 60px;
  }
}
.p-product-thumb-list__item.is-current .p-product-thumb-list__img:before {
  border-color: #000000;
}

.p-product-thumb-list__img {
  overflow: hidden;
  position: relative;
  width: 90px;
  height: 90px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media screen and (max-width: 767px) {
  .p-product-thumb-list__img {
    width: 60px;
    height: 60px;
  }
}
.p-product-thumb-list__img:hover {
  opacity: 0.7;
  cursor: pointer;
}
.p-product-thumb-list__img:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 10;
  padding-top: calc(100% - 4px);
  border: 2px solid transparent;
  transition: all 0.1s ease;
}

/* 商品画像 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;
  }
}

/***** 商品情報 *****/
.p-product-txt {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 45px;
}
@media screen and (max-width: 767px) {
  .p-product-txt {
    display: block;
    margin-top: 30px;
  }
}

.p-product-info {
  box-sizing: border-box;
  padding-right: 40px;
  width: 50%;
}
@media screen and (max-width: 1023px) {
  .p-product-info {
    padding-right: 12px;
  }
}
@media screen and (max-width: 767px) {
  .p-product-info {
    padding-right: 0;
    width: auto;
  }
}

.p-product-info__ttl {
  margin: 0 0 5px 0;
  line-height: 1.4;
  font-size: 30px;
  font-weight: 600;
  word-break: break-all;
}
@media screen and (max-width: 767px) {
  .p-product-info__ttl {
    font-size: 22px;
  }
}
.p-product-info__ttl img {
  vertical-align: middle;
}

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

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

.p-product-price__off {
  color: #a10000;
  font-weight: 500;
}

.p-product-price__sell {
  font-size: 24px;
}
@media screen and (max-width: 767px) {
  .p-product-price__sell {
    font-size: 17px;
  }
}

.p-product-price__sell-off {
  display: inline-block;
  margin-left: 5px;
  padding: 0px 8px;
  border-radius: 3px;
  font-size: 18px;
  background: #cf1110;
  color: #ffffff;
}

.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;
  }
}

.p-product-action {
  box-sizing: border-box;
  padding-left: 40px;
  width: 50%;
}
@media screen and (max-width: 1023px) {
  .p-product-action {
    padding-left: 12px;
  }
}
@media screen and (max-width: 767px) {
  .p-product-action {
    margin-top: 30px;
    padding-left: 0;
    width: auto;
  }
}

/* オプション 値段詳細表 */
.p-product-option-detail {
  margin-top: 25px;
}

.p-product-option-detail__btn {
  position: relative;
  padding: 15px 20px;
  border-top: 2px solid #2d2d2d;
  border-bottom: 2px solid #2d2d2d;
  border-left: 0;
  border-right: 0;
  width: 100%;
  font-size: 15px;
  line-height: 1.4;
  background: transparent;
  text-align: left;
}
.p-product-option-detail__btn:before {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -5px;
  width: 6px;
  height: 6px;
  border-right: 2px solid #a0a0a0;
  border-bottom: 2px solid #a0a0a0;
  transform: rotate(45deg);
  transition: all ease 0.2s;
}
.p-product-option-detail__btn:hover:before {
  border-right-color: #2d2d2d;
  border-bottom-color: #2d2d2d;
}
.p-product-option-detail__btn.is-on:before {
  margin-top: -3px;
  border-right-color: #2d2d2d;
  border-bottom-color: #2d2d2d;
  transform: rotate(-135deg);
}

.p-price-table {
  display: none;
  padding: 30px 30px 20px 30px;
  line-height: 1.4;
  background: #fafafa;
  word-break: break-all;
}
@media screen and (max-width: 1023px) {
  .p-price-table {
    padding: 25px 20px 10px 20px;
  }
}
@media screen and (max-width: 767px) {
  .p-price-table {
    padding: 20px 10px 5px 10px;
  }
}

.p-price-table__heading-wrap {
  display: flex;
  flex-wrap: wrap;
}

.p-price-table__heading {
  box-sizing: border-box;
  padding-bottom: 15px;
  width: 40%;
  font-weight: bold;
}
.p-price-table__heading:nth-child(2) {
  padding-left: 10px;
  width: 60%;
}

.p-price-table__dl {
  display: flex;
  flex-wrap: wrap;
}

.p-price-table__dt {
  box-sizing: border-box;
  padding-top: 15px;
  padding-bottom: 15px;
  border-top: 1px solid #2d2d2d;
  width: 40%;
  font-weight: 600;
}

.p-price-table__dd {
  box-sizing: border-box;
  margin: 0;
  padding-top: 15px;
  border-top: 1px solid #2d2d2d;
  width: 60%;
}

.p-price-table-list__item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  padding-left: 10px;
  border-bottom: 1px solid #2d2d2d;
}
.p-price-table-list__item:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.p-price-table-list__name {
  font-weight: 600;
}

.p-price-table-list__price {
  margin-top: 5px;
}

.p-price-table-list__soldout {
  color: #a10000;
}

.p-price-table__body::after {
  display: block;
  clear: both;
  content: "";
}

.p-price-table__body dt {
  float: left;
  box-sizing: border-box;
  width: 50%;
  padding: 0.7em 0.5em;
  border-top: 1px solid #eaeaea;
}

.p-price-table__body dd {
  overflow: hidden;
  padding: 0;
  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-type: none;
}

.p-price-table__body li {
  padding: 0.7em 0.5em;
  border-bottom: 1px solid #eaeaea;
}

.p-price-table__body li:last-child {
  border-bottom: 0;
}

.p-price-table__name {
  font-weight: bold;
}

/* オプション table */
@media screen and (max-width: 767px) {
  .p-product-option-tbl {
    display: none;
  }
}
.p-product-option-tbl table {
  margin-bottom: 30px;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid #2f2f2f;
  border-radius: 0;
  width: 100%;
}
.p-product-option-tbl table div {
  display: inline-block !important;
}
.p-product-option-tbl th, .p-product-option-tbl td {
  padding: 17px 15px 12px 15px;
  border-top: 1px solid #2f2f2f !important;
  border-bottom: 1px solid #ffffff;
  border-left: 0;
  border-radius: 0 !important;
  text-align: center;
}
.p-product-option-tbl th {
  font-weight: 600;
}
.p-product-option-tbl label {
  display: inline-block !important;
  margin-left: 5px;
  margin-bottom: 0;
}
.p-product-option-tbl input {
  margin-top: 0;
}

.p-product-option-tbl {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 10px;
}

.p-product-option-tbl::-webkit-scrollbar {
  height: 8px;
}

.p-product-option-tbl::-webkit-scrollbar-track {
  background: #f4f4f4;
}

.p-product-option-tbl::-webkit-scrollbar-thumb {
  background: #8f8f8f;
  border-radius: 4px;
}

/* オプション select */
.p-product-option-select {
  margin-bottom: 30px;
}

.p-product-option-select__box {
  margin-bottom: 25px;
}

.p-product-option-select__ttl {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
@media screen and (max-width: 767px) {
  .p-product-option-select__ttl {
    font-size: 13px;
  }
}

/* 名入れ */
.p-product-name {
  margin-bottom: 30px;
}

.p-product-name__box {
  margin-top: 15px;
}

.p-product-name__ttl {
  margin-bottom: 10px;
  line-height: 1;
  font-size: 18px;
  font-weight: 600;
}
@media screen and (max-width: 767px) {
  .p-product-name__ttl {
    font-size: 13px;
  }
}

.p-product-name__body input {
  width: 100%;
}

/* 数量 */
.p-product-form-stock {
  margin-top: 30px;
  margin-bottom: 25px;
}

.p-product-form-stock__ttl {
  margin-bottom: 10px;
  line-height: 1;
  font-size: 18px;
  font-weight: 600;
}
@media screen and (max-width: 767px) {
  .p-product-form-stock__ttl {
    font-size: 13px;
  }
}

.p-product-form-stock__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .p-product-form-stock__box {
    font-size: 13px;
  }
}

.p-product-form-stock__input {
  display: flex;
  align-items: center;
}
.p-product-form-stock__input input {
  margin-right: 5px;
  width: 60px;
}

.p-product-form-stock__unit {
  margin-left: 10px;
}

.p-product-form-stock__stock {
  margin-left: 15px;
}

/* ボタン */
.p-product-form-btn__cart {
  margin-bottom: 10px;
}

.p-product-form-btn-member {
  display: flex;
  flex-wrap: wrap;
  margin-left: -5px;
  margin-right: -5px;
  margin-top: 10px;
}

.p-product-form-btn-member__item {
  box-sizing: border-box;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}

.p-product-form-btn__favorite {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.p-product-form-btn__favorite .c-btn-cart.is-favorite {
  color: #888888;
}
.p-product-form-btn__favorite .c-btn-cart.is-favorite svg {
  position: relative;
  top: 1px;
  margin-right: 5px;
  width: 21px;
  height: 17px;
  fill: #d8d8d8;
}
@media screen and (max-width: 767px) {
  .p-product-form-btn__favorite .c-btn-cart.is-favorite svg {
    width: 18px;
    height: 14px;
  }
}
.p-product-form-btn__favorite .c-btn-cart.is-favorite.is-added {
  color: #2d2d2d;
}
.p-product-form-btn__favorite .c-btn-cart.is-favorite.is-added svg {
  fill: #000000;
}

.p-product-form__error-message {
  margin-top: 15px;
  margin-bottom: 15px;
  color: #a10000;
  text-align: center;
}


/* この商品について問い合わせる */
.p-product-contact__link {
  display: block;
  margin-top: 30px;
  margin-bottom: 25px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #007bff; /* Default button color */
  padding: 10px 20px;
  border-radius: 5px;
}

@media screen and (max-width: 767px) {
  .p-product-contact__link {
    font-size: 14px;
  }
}

/* Specific styles for the LINE button */
.p-product-contact__link.btn-line {
  background-color: #00c300; /* LINE green color */
}

/* Specific styles for the Instagram button */
.p-product-contact__link.btn-instagram {
  background-color: #E1306C; /* Instagram pink color */
}

/* Specific styles for the phone button */
.p-product-contact__link.btn-phone {
  background-color: #ff6600; /* Orange color */
}

/* Add hover effect to phone button */
.p-product-contact__link.btn-phone:hover {
  background-color: #cc5500; /* Darker orange color */
}

/* この商品について問い合わせる */

/* SNS */
.p-product-sns-list {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
}
@media screen and (max-width: 767px) {
  .p-product-sns-list {
    margin-top: 40px;
  }
}

.p-product-sns-list__item {
  margin-right: 20px;
}
.p-product-sns-list__item:last-child {
  margin-right: 0;
}

/* link */
.p-product-link-list {
  margin-top: 40px;
}
@media screen and (max-width: 767px) {
  .p-product-link-list {
    margin-left: 25px;
  }
}

.p-product-link-list__item {
  margin-bottom: 5px;
}
@media screen and (max-width: 767px) {
  .p-product-link-list__item {
    margin-bottom: 20px;
  }
}

/* Image link button(独自ソーシャルボタン) */
.p-line-informaiton-images img {
  width: 50px; /* Adjust the size as needed */
  height: auto;
  margin-right: 10px;
}
.p-line-informaiton-images img:last-child {
  margin-right: 0;
}

/***** 商品詳細 *****/
.p-product__ttl {
  position: relative;
  margin-top: 240px;
  margin-bottom: 45px;
  padding-top: 25px;
  line-height: 1.4;
  font-size: 24px;
  font-weight: bold;
  font-family: "Playfair Display", serif;
  color: #757575;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-product__ttl {
    margin-top: 120px;
    margin-bottom: 30px;
    padding-top: 15px;
    line-height: 1.4;
    font-size: 20px;
  }
}
.p-product__ttl:before {
  content: "";
  position: absolute;
  top: -85px;
  left: 50%;
  height: 85px;
  width: 1px;
  background: #b3b2b2;
}
@media screen and (max-width: 767px) {
  .p-product__ttl:before {
    top: -40px;
    height: 40px;
  }
}

.p-product-detail {
  padding-top: 60px;
}
@media screen and (max-width: 767px) {
  .p-product-detail {
    padding-top: 45px;
  }
}

.p-product-explain {
  margin-left: 100px;
  margin-right: 100px;
}
@media screen and (max-width: 1023px) {
  .p-product-explain {
    margin-left: 75px;
    margin-right: 75px;
  }
}
@media screen and (max-width: 767px) {
  .p-product-explain {
    margin-left: 25px;
    margin-right: 25px;
    width: auto;
  }
}

.p-product-explain__body {
  line-height: 2;
}

.p-product-other {
  width: 530px;
  order: -1;
}
@media screen and (max-width: 1023px) {
  .p-product-other {
    width: auto;
  }
}

/* おすすめ商品 */
.p-product-recommend {
  padding-top: 90px;
}

.p-product-recommend-list {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}
@media screen and (max-width: 767px) {
  .p-product-recommend-list {
    margin-left: -5px;
    margin-right: -5px;
  }
}

.p-product-recommend-list__item {
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
  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: 25px;
}
@media screen and (max-width: 767px) {
  .p-product-recommend-list__img {
    margin-bottom: 10px;
  }
}

.p-product-recommend-list__txt {
  position: relative;
  padding-bottom: 20px;
}

.p-product-recommend-list__ttl {
  font-size: 14px;
  line-height: 1.2;
}
@media screen and (max-width: 767px) {
  .p-product-recommend-list__ttl {
    font-size: 12px;
  }
}

.p-product-recommend-list__price {
  margin-top: 15px;
}
@media screen and (max-width: 767px) {
  .p-product-recommend-list__price {
    margin-top: 5px;
    font-size: 12px;
  }
}
.p-product-recommend-list__price.is-default {
  margin-top: 0;
  text-decoration: line-through;
}
.p-product-recommend-list__price.is-soldout {
  color: #a10000;
}

/* レビュー */
.p-product-review {
  margin-left: 50px;
  margin-right: 50px;
  padding-top: 60px;
}
@media screen and (max-width: 1023px) {
  .p-product-review {
    margin-left: 25px;
    margin-right: 25px;
  }
}
@media screen and (max-width: 767px) {
  .p-product-review {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 30px;
  }
}

.p-product-review__item {
  box-sizing: border-box;
  padding: 30px 50px;
  border-top: 2px solid #2d2d2d;
  border-bottom: 2px solid #2d2d2d;
}
@media screen and (max-width: 767px) {
  .p-product-review__item {
    padding: 25px;
  }
}
.p-product-review__item + .p-product-review__item {
  border-top: 0;
}

.p-product-review__heading {
  margin-bottom: 10px;
}

.p-product-review__ttl {
  margin-top: 15px;
  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;
}
@media screen and (max-width: 767px) {
  .p-product-review-info__item {
    display: block;
  }
}
.p-product-review-info__item.is-type {
  margin-right: 35px;
}

.p-product-review__img {
  margin-top: 20px;
  width: 80px;
  text-align: center;
  position: relative;
}
.p-product-review__img:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: url(https://img.shop-pro.jp/tmpl_img/87/review-icon-zoom.png);
  background-size: 18px 18px;
}

.p-product-review__body {
  line-height: 1.75;
}

.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: #ea872f;
}

/* レビュー 返信 */
.p-product-review-reply {
  box-sizing: border-box;
  margin-top: 20px;
}

.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__none {
  text-align: center;
}

.p-product-review__btn-wrap {
  margin-top: 45px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-product-review__btn-wrap {
    margin-top: 30px;
  }
}

.p-product-review__btn {
  box-sizing: border-box;
  display: inline-block;
  padding: 18px;
  min-width: 370px;
  border: 2px solid #2d2d2d;
  font-size: 18px;
  background: #ffffff;
  color: #2d2d2d;
  text-align: center;
  transition: all ease 0.2s;
}
@media screen and (max-width: 767px) {
  .p-product-review__btn {
    padding: 10px;
    font-size: 14px;
    min-width: 275px;
  }
}
.p-product-review__btn:hover, .p-product-review__btn:focus {
  background: #2d2d2d;
  color: #ffffff;
  text-decoration: none;
}

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


/* --YouTubeサイズ調整-- */
.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* --YouTubeサイズ調整-- */


/* --グループタグリストの調整-- */
.sbd-taglist p.sbd-tab-title {
    border-bottom: 1px solid #DDDDDD;
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 0 10px 10px !important;
}
.sbd-taglist a {
    border: 1px solid #DDDDDD;
    background: none repeat scroll 0 0 #F8F8F8;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    border-radius: 5px 5px 5px 5px;
    color: #0066AA;
    display: inline-block;
    font-size: 12px;
    margin: 15px 5px;
    padding: 5px 10px;
    text-decoration: none;
}
.sbd-taglist a:hover{
    text-decoration: none;
    opacity: 0.7;
}
/* --グループタグリストの調整-- */


/* --関連・一緒に購入ボタンの調整-- */
a.btn-border {
  border: 2px solid #000;
  border-radius: 0;
  background: lightblue; /* 薄いブルーの背景色を設定 */
}

a.btn-border:hover {
  color: #fff;
  background: #0044cc; /* 濃いめのブルーに変更 */
}
/* --関連・一緒に購入ボタンの調整-- */


/* --リンク先へゆっくりスクロール-- */
html { scroll-behavior: smooth;}
/* --リンク先へゆっくりスクロール-- */


/* --オプション表形式の価格を消す-- */
.p-product-option-tbl .table_price {
    display: none;
}
/* --オプション表形式の価格を消す-- */



/******************************/
/* ボタンのロールオーバー */
/******************************/
a:hover img {
  opacity: 0.6;
  filter: alpha(opacity=60);
}
/******************************/
/* ボタンのロールオーバー */
/******************************/


/******************************/
/* --トップへ戻るボタンのスタイル-- */
/******************************/
#scrollToTop {
    display: none;
    position: fixed;
    bottom: 65px; /* トップへ戻るボタンの bottom 位置を調整 */
    right: 15px;
    background-color: #333; /* ダークグレー */
    color: #fff;
    border: none;
    border-radius: 50%; /* 正円にする */
    width: 30px; /* 直径を設定 */
    height: 30px; /* 直径を設定 */
    padding: 0; /* 余白を削除 */
    cursor: pointer;
    text-align: center; /* テキストを中央に配置 */
    line-height: 30px; /* テキストを垂直方向に中央に配置 */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333; /* 二重線の影を追加 */
    transition: transform 0.2s; /* 変化のスムーズ化のためのトランジション */
    z-index: 9999; /* ボタンを最前面に配置 */
}
#scrollToTop:hover {
    transform: scale(1.1); /* ホバー時にボタンをわずかに大きくする */
}

/******************************/
/* --「?」ボタンのスタイル-- */
/******************************/
#scrollToquestion {
    display: none;
    position: fixed;
    bottom: 115px; /* 新しいボタンの bottom 位置を調整 */
    right: 15px;
    background-color: #333; /* ダークグレー */
    color: #fff;
    border: none;
    border-radius: 50%; /* 正円にする */
    width: 30px; /* 直径を設定 */
    height: 30px; /* 直径を設定 */
    padding: 0; /* 余白を削除 */
    cursor: pointer;
    text-align: center; /* テキストを中央に配置 */
    line-height: 30px; /* テキストを垂直方向に中央に配置 */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333; /* 二重線の影を追加 */
    font-size: 18px; /* 文字サイズを設定 */
    transition: transform 0.2s; /* 変化のスムーズ化のためのトランジション */
    z-index: 9999; /* ボタンを最前面に配置 */
}
#scrollToquestion:hover {
    transform: scale(1.1); /* ホバー時にボタンをわずかに大きくする */
}

/******************************/
/* --再へ移動するボタンのスタイル（画像ボタンに更新）--*/
/******************************/
#scrollToAgain {
    display: none;
    position: fixed;
    bottom: 165px; /* 再へ移動するボタンの bottom 位置を調整 */
    right: 15px;
    border: none;
    border-radius: 50%; /* 画像が円形でない場合はこの値を調整する必要があるかもしれません */
    width: 30px; /* 画像のサイズに合わせて調整 */
    height: 30px; /* 画像のサイズに合わせて調整 */
    padding: 0; /* 余白を削除 */
    cursor: pointer;
    background-image: url('https://livedoor.blogimg.jp/natoriya/imgs/f/e/fe1cc462.gif?v=20240404004116'); /* 画像のURLを指定 */
    background-size: cover; /* 画像がボタンサイズにぴったり収まるようにする */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333; /* 二重線の影を追加 */
    transition: transform 0.2s; /* 変化のスムーズ化のためのトランジション */
    z-index: 9999; /* ボタンを最前面に配置 */
}
#scrollToAgain:hover {
    transform: scale(1.1); /* ホバー時にボタンをわずかに大きくする */
}



/******************************/
/* --最後の逸品ボタンのスタイル-- */
/******************************/
#scrollToLastItem {
    display: none;
    position: fixed;
    bottom: 215px; /* 最後の逸品ボタンの bottom 位置を調整 */
    right: 15px;
    background-color: #333; /* ダークグレー */
    color: #fff;
    border: none;
    border-radius: 50%; /* 正円にする */
    width: 30px; /* 直径を設定 */
    height: 30px; /* 直径を設定 */
    padding: 0; /* 余白を削除 */
    cursor: pointer;
    text-align: center; /* テキストを中央に配置 */
    line-height: 30px; /* テキストを垂直方向に中央に配置 */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333; /* 二重線の影を追加 */
    font-size: 18px; /* 文字サイズを設定 */
    transition: transform 0.2s; /* 変化のスムーズ化のためのトランジション */
    z-index: 9999; /* ボタンを最前面に配置 */
}
#scrollToLastItem:hover {
    transform: scale(1.1); /* ホバー時にボタンをわずかに大きくする */
}

/******************************/
/* --ブログへ移動するボタンのスタイル-- */
/******************************/
#scrollToBlog {
    display: none;
    position: fixed;
    bottom: 265px; /* ブログへ移動するボタンの bottom 位置を調整 */
    right: 15px;
    background-color: #333; /* 背景色は画像が読み込まれない時のために設定 */
    border: none;
    border-radius: 50%; /* 正円にする（画像が円形でない場合は調整が必要かもしれません） */
    width: 30px; /* 画像サイズに合わせて調整 */
    height: 30px; /* 画像サイズに合わせて調整 */
    padding: 0; /* 余白を削除 */
    cursor: pointer;
    background-image: url('https://livedoor.blogimg.jp/natoriya/imgs/c/c/ccc89db2.png?v=20240329113302'); /* ここに画像ファイルのパスを指定 */
    background-size: cover; /* 画像がボタンのサイズに合うように調整 */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333; /* 二重線の影を追加 */
    transition: transform 0.2s; /* 変化のスムーズ化のためのトランジション */
    z-index: 9999; /* ボタンを最前面に配置 */
}
#scrollToBlog:hover {
    transform: scale(1.1); /* ホバー時にボタンをわずかに大きくする */
}


/******************************/
/* --トップへ戻るボタンのスタイル-- */
/******************************/
#scrollToTop {
    /* トップへ戻るボタンのスタイル */
}

/******************************/
/* --SPECボタンのスタイル-- */
/******************************/
#scrollToSpec {
    /* 新しいボタンのスタイル */
}

/******************************/
/* --トップへ戻るボタンのスタイル-- */
/******************************/



/******************************/
/* デフォルトのボタンスタイル */
/******************************/
.btn {
    font-size: 16px; /* テキストのフォントサイズ */
    padding: 10px 20px; /* パディング */
    margin: 3px; /* マージンを追加 */
}

/* スマートフォン用のスタイル */
@media screen and (max-width: 767px) {
    .btn.btn-kanren {
        width: 200px; /* ボタンの幅を一律に設定 */
        height: 40px; /* ボタンの高さを一律に設定 */
        display: block; /* ボタンをブロック要素として表示 */
        margin-bottom: 10px; /* ボタン間の縦のマージンを追加 */
        font-size: 16px; /* フォントサイズ */
        padding: 6px 14px; /* パディング */
        text-align: center; /* テキストを水平方向に中央揃え */
        line-height: 40px; /* ボタンの高さと同じ高さで垂直方向に中央揃え */
        background-color: lightblue; /* 薄いブルーの背景色を設定 */
    }
}

/* パソコン用のスタイル */
@media screen and (min-width: 768px) {
    .btn.btn-kanren {
        font-size: 18px; /* パソコン用のフォントサイズ */
        padding: 12px 24px; /* パソコン用のパディング */
    }
}
/******************************/
/* デフォルトのボタンスタイル */
/******************************/



/******************************/
/* 商品詳細h2直下のライン定義 */
/******************************/
.custom-text {
  line-height: 1; /* テキストの行の高さを狭める */
}

.custom-line {
  border-top: 2px solid #000;
  margin: 5px 0; /* 上下のマージンを狭める */
}

.custom-line2 {
  border-top: 0.5px solid #666; /* ラインの色をグレーに変更 */
  margin: 0; /* 上下のマージンを完全になくす */
  padding: 0; /* 上下のパディングもなくす */
}
/******************************/
/* 商品詳細h2直下のライン定義 */
/******************************/


/******************************/
/* 二重打ち消し線 */
/******************************/
.double-strike {
  position: relative;
  text-decoration: none; /* 通常の取り消し線を非表示にする */
}

.double-strike::before,
.double-strike::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid black; /* 2つ目の取り消し線 */
  height: 40%; /* 線の高さを変更 */
  margin-top: 5px; /* 上の線の下に空白を追加（適宜調整） */
}

.double-strike::before {
  top: 0;
}

.double-strike::after {
  bottom: 0;
}
/******************************/
/* 二重打ち消し線 */
/******************************/

/******************************/
/* テーブルのスクロール */
/******************************/
.scroll-hint {
  text-align: center;
  padding: 8px;
  background-color: #ffffff;
}

/* スマートフォンの場合のスタイル */
@media only screen and (max-width: 767px) {
  .scroll-hint {
    display: block; /* スマートフォンでは表示 */
  }
}

/* パソコンの場合のスタイル */
@media only screen and (min-width: 768px) {
  .scroll-hint {
    display: none; /* パソコンでは非表示 */
  }
}

.scrollable-table-container {
  overflow-x: auto;
  border: 1px solid #8d8d8d; /* 枠線を追加 */
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.5); /* 影を追加 */
}
/******************************/
/* テーブルのスクロール */
/******************************/
/* 表の一番上の行の背景色を変更 */
.spec thead tr {
  background-color: #cccccc; /* 背景色を指定 */
}

.spec tbody tr:hover th {
  background-color: #e6f7ff; /* ハイライト色 */
}

/* 追加: ホバー時に行をハイライト */
.spec tbody tr:hover td {
  background-color: #e6f7ff; /* ハイライト色 */
}

/******************************/
/* スペックの文字サイズ */
/******************************/
#spec-content {
  font-size: 18px; /* デフォルトのフォントサイズ */
}

/* スマートフォン用のスタイル */
@media only screen and (max-width: 600px) {
  #spec-content {
    font-size: 14px; /* スマートフォン用のフォントサイズ */
  }
}



/******************************/
/* ブログへ誘導バナー設置サイズ変更 */
/******************************/
/* 通常のスタイル */
.responsive-image {
  width: 80%; /* 通常の幅（PC用） */
}

/* スマートフォン用のスタイル */
@media only screen and (max-width: 600px) {
  .responsive-image {
    width: 100%; /* スマートフォン用の幅 */
    /* 他にも必要なスタイルがあれば追加 */
  }
}



/******************************/
/* 5つボタン */
/******************************/
.button-container-top {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    position: fixed;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    box-sizing: border-box;
}

@media (min-width: 601px) and (max-width: 768px) and (orientation: portrait) {
    .button-container-top {
        top: 70px; /* 調整 */
    }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .button-container-top {
        top: 100px; /* 調整 */
    }
}

@media (min-width: 1025px) {
    .button-container-top {
        top: 100px; /* 既存のデスクトップ用設定 */
    }
}

/* ボタンとドロップダウンボタンのスタイル */
.button, .dropdown > .button {
    flex: 1;
    padding: 1px 0;
    background-color: transparent;
    color: black;
    text-align: center;
    text-decoration: none;
    border: 1.5px solid black; /* 枠線の太さを統一 */
    border-right: none; /* 右側の枠線を削除 */
    font-weight: bold;
    font-size: 12px;
}

/* 最後のボタンだけ右側の枠線を追加 */
.button-container-top .dropdown:last-child > .button {
    border-right: 1.5px solid black; /* 右側の枠線を統一 */
}

/* 既存のスタイルを削除 */
.button:last-child, .dropdown:last-child > .button {
    border-right: none;
}



/******************************/
/* ドロップダウンメニュー(5つボタン用) */
/******************************/
.dropdown {
    position: relative;
    display: flex;
    flex: 1;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border: 1px solid black;
    box-sizing: border-box;
    width: 100%;
    top: 100%; /* プルダウンメニューをボタンの下に配置 */
    
    /* 追加: 右端に近い場合のメニュー表示調整 */
    left: auto;
    right: 0;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
}

/* スマートフォン向けのスタイル調整 */
@media (max-width: 600px) {
    .dropdown-content {
        left: 0; /* プルダウンメニューを画面の左端に合わせる */
        right: auto; /* 右側の位置指定を無効化 */
        min-width: 120px; /* 必要に応じて幅を調整 */
    }
}

/******************************/
/* --お知らせ項目-- */
/******************************/
<style>
  .announcement-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .announcement-item {
    text-align: center;
    flex: 1 1 calc(33% - 20px);
    box-sizing: border-box;
  }
  .announcement-item img {
    width: 100%;
    height: auto;
  }
  @media (max-width: 768px) {
    .announcement-item {
      flex: 1 1 calc(50% - 20px);
    }
  }
  @media (max-width: 480px) {
    .announcement-item {
      flex: 1 1 100%;
    }
  }
</style>