
#ns-shopping-guide {
  clear: both;
  box-sizing: border-box;
  margin: 24px 0;
  padding: 20px;
  border: 1px solid #c9dfe4;
  border-left: 4px solid #287286;
  border-radius: 6px;
  background: #f4f9fa;
  color: #333;
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
}
#ns-shopping-guide .ns-cta-title {
  margin: 0 0 12px;
  padding: 0;
  background: none;
  border: 0;
  color: #245c6a;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.6;
}
#ns-shopping-guide p {
  margin: 0 0 12px;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
}
#ns-shopping-guide .ns-cta-note {
  font-size: 14px;
}
#ns-shopping-guide .ns-cta-button {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 16px;
  padding: 13px 12px;
  border-radius: 5px;
  background: #245f70;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
}
#ns-shopping-guide .ns-cta-button:hover {
  background: #194958;
}
#ns-shopping-guide .ns-cta-button:focus-visible {
  outline: 3px solid #a33f63;
  outline-offset: 3px;
}
#ns-shopping-guide .ns-cta-product-photo {
  width: 100%;
  max-width: 320px;
  margin: 20px auto;
  padding: 0;
}

#ns-shopping-guide .ns-cta-product-photo a {
  display: block;
  border-radius: 6px;
}

#ns-shopping-guide .ns-cta-product-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
}

#ns-shopping-guide .ns-cta-product-photo figcaption {
  margin-top: 8px;
  color: #555;
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
}

#ns-shopping-guide .ns-cta-product-photo a:focus-visible {
  outline: 3px solid #a33f63;
  outline-offset: 3px;
}
/* 石の紹介：写真と基本情報 */
.stone_cont .ns-stone-profile {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 28px;
  padding: 0;
  color: #333;
  line-height: 1.7;
}

/* 石名 */
.stone_cont .ns-stone-profile__title {
  margin: 0 0 18px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid #c9dfe4;
  background: none;
  color: #245c6a;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
}

.stone_cont .ns-stone-profile__title .ns-stone-profile__alias {
  display: inline-block;
  white-space: nowrap;
}

.stone_cont .ns-stone-profile__english {
  display: block;
  margin-top: 3px;
  color: #6a7477;
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 0.06em;
}

/* 基本は縦並び */
.stone_cont .ns-stone-profile__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

/* 写真 */
.stone_cont .ns-stone-profile__figure {
  min-width: 0;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 0;
}

.stone_cont .ns-stone-profile__image {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
}

.stone_cont .ns-stone-profile__caption {
  margin-top: 8px;
  color: #687478;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

/* 基本情報 */
.stone_cont .ns-stone-profile__table {
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.7;
}

.stone_cont .ns-stone-profile__table caption {
  margin: 0;
  padding: 0 0 10px;
  color: #245c6a;
  font-size: 15px;
  font-weight: bold;
  text-align: left;
  caption-side: top;
}

.stone_cont .ns-stone-profile__table th,
.stone_cont .ns-stone-profile__table td {
  box-sizing: border-box;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid #dce6e8;
  text-align: left;
  vertical-align: top;
}

.stone_cont .ns-stone-profile__table th {
  width: 7.5em;
  background: #f0f6f7;
  color: #365760;
  font-weight: normal;
  white-space: nowrap;
}

.stone_cont .ns-stone-profile__table td {
  background: #fff;
  overflow-wrap: anywhere;
}

.stone_cont .ns-stone-profile__detail {
  color: #687478;
  font-size: 12px;
}

/* パソコン：写真を左、表を右 */
@media screen and (min-width: 1000px) {
  .stone_cont .ns-stone-profile__layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 22px;
  }
}
/* パソコン：写真とキャプションを上下中央に配置 */
@media screen and (min-width: 1000px) {
  .stone_cont .ns-stone-profile__figure {
    align-self: center;
  }
}
/* 石の解説本文：スマートフォンでの読みやすさを調整 */
.stone_cont > p {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 1.5em;
  padding: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
  overflow-wrap: anywhere;
}

/* 解説の見出し */
.stone_cont > h2 {
  margin: 30px 0 18px;
  padding: 12px 10px;
  font-size: 19px;
  line-height: 1.5;
}

/* 取り扱いなどの注意書き */
.stone_cont > p.tips {
  color: #555;
  font-size: 14px;
  line-height: 1.85;
}

/* 小さい画面では本文の左右に余白を確保 */
@media screen and (max-width: 599px) {
  .stone_cont {
    padding-right: 16px;
    padding-left: 16px;
  }
}
/* パソコン：解説本文を少し大きくする */
@media screen and (min-width: 1000px) {
  .stone_cont > p {
    font-size: 17px;
    line-height: 1.9;
  }

  .stone_cont > h2 {
    font-size: 21px;
  }

  .stone_cont > p.tips {
    font-size: 15px;
  }
}
/* 石のページの商品一覧 */
.product_index.ns-stone-products {
  box-sizing: border-box;
  padding: 12px 10px;
}

/* 一覧の見出し */
.product_index.ns-stone-products > h3 {
  width: 100%;
  margin: 0 0 16px;
  padding: 12px 10px;
  font-size: 19px;
  line-height: 1.5;
}

/* スマートフォン・PCともに2列 */
.product_index.ns-stone-products > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 商品ごとの枠 */
.product_index.ns-stone-products > ul > li {
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid #dce6e8;
  border-radius: 6px;
  background: #fff;
}

/* 商品名 */
.product_index.ns-stone-products > ul > li > a {
  display: block;
  color: #333;
  font-size: 15px;
  line-height: 1.65;
  text-align: left;
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* 縦横比の違う写真も、同じ高さの範囲に収める */
.product_index.ns-stone-products > ul > li > a > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 0 10px;
  background: #fff;
}

/* 価格 */
.product_index.ns-stone-products > ul > li > a > span {
  display: block;
  width: auto;
  padding-top: 6px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
}

/* 値引き前の価格 */
.product_index.ns-stone-products > ul > li > a > span > s {
  color: #777;
  font-size: 13px;
  font-weight: normal;
}

/* 完売表示 */
.product_index.ns-stone-products > ul > li > a > p {
  font-size: 13px;
  line-height: 1.5;
}

/* キーボード操作時にも選択位置を明示 */
.product_index.ns-stone-products > ul > li > a:focus-visible {
  outline: 3px solid #287286;
  outline-offset: 4px;
}

/* PC */
@media screen and (min-width: 1000px) {
  .product_index.ns-stone-products > ul {
    gap: 18px;
  }

  .product_index.ns-stone-products > ul > li {
    padding: 14px;
  }

  .product_index.ns-stone-products > ul > li > a {
    font-size: 16px;
  }

  .product_index.ns-stone-products > h3 {
    font-size: 21px;
  }
}
/* 商品一覧の価格：BASEに合わせて右揃え */
.product_index.ns-stone-products > ul > li > a > span {
  text-align: right;
}
/* 完売表示：日本語で明確に、読みやすく */
.product_index.ns-stone-products > ul > li > a > p {
  box-sizing: border-box;
  padding: 6px 4px;
  background: #555;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  border-radius: 3px;
}
/* 商品一覧の案内 */
.product_index.ns-stone-products > p.ns-stone-products__guide {
  position: static;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  background: none;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}

/* 同じ行の価格をカード下端に揃える */
.product_index.ns-stone-products > ul > li {
  display: flex;
  flex-direction: column;
}

.product_index.ns-stone-products > ul > li > a {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* 商品名の長さに応じて価格の上に余白を取る */
.product_index.ns-stone-products > ul > li > a > span:first-of-type {
  margin-top: auto;
  padding-top: 12px;
}

/* LPの商品一覧を白背景に統一 */
.product_index.ns-stone-products { background-color: #fff; }
