/******************************/
/* Product */
/******************************/
.p-product {
  margin-bottom: 90px;
}
/* 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-between;
}
@media screen and (max-width: 1030px) {
  .p-product-main {
    display: block;
  }
}
.p-product-img {
  width: 530px;
}
@media screen and (max-width: 1030px) {
  .p-product-img {
    width: auto;
    margin-bottom: 45px;
  }
}
@media screen and (max-width: 767px) {
  .p-product-img {
    margin-left: -20px;
    margin-right: -20px;
    width: auto;
  }
}
.p-product-img__main {
  text-align: center;
}
@media screen and (max-width: 1030px) {
  .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: auto !important;
  max-width: 100%;
  max-height: 100%;
  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: 1030px) {
  .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;
  padding-left: 4px;
  padding-right: 4px;
  width: 20%;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media screen and (max-width: 1030px) {
  .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: 1030px) {
  .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: 1030px) {
  .p-product-thumb-list__img {
    width: 90px;
  }
}
@media screen and (max-width: 767px) {
  .p-product-thumb-list__img {
    width: 60px;
    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;
  width: auto !important;
  max-width: 100%;
  max-height: 100%;
  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;
  }
}
/* 商品詳細 全体カード */
.p-product-detail {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 75px;
  padding: 30px;
  border-radius: 12px;                    /* 柔らかい角丸 */
  background-color: #ffffff;              /* 背景白 */
  box-shadow: 0 8px 20px rgba(31, 48, 85, 0.15), 0 4px 10px rgba(31, 48, 85, 0.1); /* 濃紺系の影で立体感 */
  color: #1f3055;                         /* 高級感のある濃紺文字 */
  transition: all 0.3s ease;
}

/* ホバーで浮き上がる演出 */
.p-product-detail:hover {
  box-shadow: 0 12px 30px rgba(31, 48, 85, 0.2), 0 6px 15px rgba(31, 48, 85, 0.15);
  transform: translateY(-2px);
}

/* スマホ対応 */
@media screen and (max-width: 1030px) {
  .p-product-detail {
    display: block;
    padding: 20px;
  }
}

/* 商品説明部分 */
.p-product-explain {
  width: 410px;
  color: #1f3055;  /* 濃紺文字で高級感 */
}

@media screen and (max-width: 1030px) {
  .p-product-explain {
    margin-bottom: 40px;
    width: auto;
  }
}

/* 他の商品部分 */
.p-product-other {
  width: 530px;
  order: -1;
}

@media screen and (max-width: 1030px) {
  .p-product-other {
    width: auto;
    margin-top: 20px;
  }
}


/* おすすめ商品 */
.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;
}
.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;
}



















/* ================================ */
/* Q&Aカード 完全版 */
/* ================================ */
.p-product-qa {
  background-color: #eaf4fc;       /* 薄い青背景 */
  border: 1px solid #4682b4;       /* 濃い青枠 */
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  color: #fffff9;                  /* 濃紺文字 */
  transition: all 0.3s ease;
}

/* ホバーで少し浮き上がる演出 */
.p-product-qa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* 質問部分 */
.p-product-qa__question {
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #fffff9;
}

/* 回答部分 */
.p-product-qa__answer {
  line-height: 1.6;
  font-size: 14px;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .p-product-qa {
    padding: 0.8rem;
    font-size: 14px;
  }
}




















.marker {
  background: rgba(0, 96, 141, 0.15); /* 濃紺ベースの薄い透け感 */
  padding: 0 6px;
  border-radius: 6px;                 /* 丸みを強めに */
  line-height: 1.5;
  font-weight: 600;
  color: #1f3055;                     /* 濃紺文字で統一感 */
  transition: background 0.3s ease;
}

.marker:hover {
  background: rgba(0, 96, 141, 0.25); /* ホバーで少し濃くして目立たせる */
}























.p-product strong {
  font-weight: 700;
  color: #00608d;
  background: linear-gradient(transparent 60%, #cce7f3 60%);
}
















/* 商品タイトル（h1） */
.p-product__ttl {
  font-weight: 700;
  background: linear-gradient(90deg, #002b5c, #00608d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 見出し（h2） */
.p-product h2 {
  font-weight: 600;
  color: #00608d;
  border-bottom: 2px solid #a2c2e6; /* 下に薄いライン */
  padding-bottom: 4px;
  margin-bottom: 0.8em;
}
























/* 全体の枠 */
.p-product-qa {
  margin-bottom: 1.2em;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

/* 質問部分 */
.p-product-qa__question {
  background: #a2c2e6;   /* 濃い青で質問を目立たせる */
  color: #fff;           /* 白文字 */
  font-weight: 600;
  padding: 0.6em 1em;
}

/* 答え部分 */
.p-product-qa__answer {
  background: #f9f9f9;   /* 薄いグレーで落ち着いた背景 */
  color: #333;
  padding: 0.8em 1em;
  line-height: 1.6;
}














.p-product-icons {
  display: flex;         /* 横並び */
  gap: 12px;             /* 画像の間に余白 */
  align-items: center;   /* 高さを揃える */
}

.p-product-icons img {
  width: 80px;   /* 統一サイズ */
  height: auto;  /* 縦横比を保持 */
}





.p-product-icons {
  display: flex;         
  gap: 12px;             
  align-items: center;   
}

.p-product-icons img {
  width: auto;           /* 横は自動 */
  height: 60px;          /* 高さを固定して揃える */
  object-fit: contain;   /* 画像を縮小して枠内に収める */
}


