/* ===============================
RESET（最低限）
=============================== */
.testwrap * {
  box-sizing: border-box;
}

.testwrap {
  width: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  color: #333;
  line-height: 1.7;
}

a {
	text-decoration: none;
}

/* ===============================
画像
=============================== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===============================
見出し
=============================== */
h3 {
  font-size: 1.4rem;
  font-weight: 600;
  border-left: 5px solid #0d6fb8;
  padding-left: 12px;
  margin: 40px 0 20px;
}

/* ===============================
セクション余白
=============================== */
section {
  margin-bottom: 50px;
  padding: 0 10px;
}

/* ===============================
リード文
=============================== */
.lead {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* ===============================
Feature
=============================== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature {
  background-image: url("../image/product-image-bk01.jpg");
  background-repeat: repeat;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #e0eaf5;
}

.feature h4,
.feature-stocking h4 {
  font-size: 1.3rem;
  color: #0d6fb8;
  margin-bottom: 10px;
}

.feature p,
.feature-stocking p {
  font-size: 1rem;
  line-height: 1.6;
}

.feature-lead {
  font-weight: 600;
  margin-bottom: 8px;
}

/* ===============================
Feature 横並び
=============================== */

.feature-row,
.feature-stock-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.feature-text,
.stock-text {
  flex: 1.2;
}

.feature-image,
.stock-image {
  flex: 0.8;
}

.feature-image img {
  width: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.stock-image img {
  width: 90%;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* ===============================
ストッキング特徴
=============================== */
.feature-stocking {
  background-image: url("../image/product-image-bk02.jpg");
  margin-top: 30px;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.feature-stocking h5 {
  font-size: 1.2rem;
  color: #0d6fb8;
  margin: 8px 0 4px;
}

.feature-stocking ul {
  padding-left: 18px;
}

.feature-stocking li {
  font-size: 1rem;
  margin-bottom: 6px;
}

/* ===============================
CTA
=============================== */
.cta {
  text-align: center;
  margin: 30px 0;
}

.button {
  display: inline-block;
  background: linear-gradient(135deg, #0d6fb8, #0a5fa0);
  color: #fff;
  padding: 6px 18px;
  font-size: 0.8rem;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.2s;
}

.button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ===============================
テーブル
=============================== */
.tbstyle {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 50px;
}

.tbstyle tr:nth-child(even) {
  background: #fafafa;
}

.tbstyle td {
  padding: 10px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
}

.tbstyle img {
  max-width: 60px;
}

.toprec {
  font-weight: bold;
  color: #0d6fb8;
  border-bottom: 2px solid #0d6fb8;
  background: #fff !important;
}

/* ===============================
HowTo
=============================== */
.howto-img {
  text-align: center;
  margin: 20px 0;
}

.howto-text,
.howto-text-block,
.howto-note li,
.howto-pdf a {
  font-size: 1rem;
}

.howto-video-wrap {
  gap: 24px;
  margin-bottom: 30px;
}

.howto-text-block,
.howto-video {
  flex: 1;
}

.howto-video video {
  width: 100%;
  border-radius: 8px;
}

/* PDFリンク */
.howto-pdf {
  text-align: center;
  margin-bottom: 30px;
}

/* 注意点 */
.howto-note {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
}

.howto-note h4 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* ===============================
SP対応
=============================== */
@media (max-width: 768px) {

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .feature-stock-inner,
  .howto-video-wrap {
    flex-direction: column;
  }

  .feature-text,
  .feature-image,
  .stock-text,
  .stock-image {
    width: 100%;
  }

  .tbstyle td {
    font-size: 0.85rem;
    padding: 8px;
  }

  h3 {
    font-size: 1.2rem;
  }
}

/* ===============================
Feature 縦レイアウト強制
=============================== */
.feature-row {
  flex-direction: column;
}

/* テキスト → 画像の順に整える */
.feature-text {
  width: 100%;
}

.feature-image {
  width: 100%;
  margin-top: 10px;
}

/* 画像整形 */
.feature-image img {
  width: auto;
  border-radius: 8px;
}

/* 複数画像のとき */
.feature-image img + img {
  margin-top: 10px;
}

/* ===============================
マトリクス（table版）
=============================== */
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  text-align: center;
  font-size: 0.95rem;
}

/* ヘッダー */
.matrix-table th {
  background: #0d6fb8;
  color: #fff;
  padding: 10px;
  font-weight: 600;
}

/* セル */
.matrix-table td {
  border: 1px solid #e5e5e5;
  padding: 12px 8px;
  vertical-align: middle;
}

/* カラー列 */
.matrix-color {
  font-weight: 600;
  width: 120px;
}

/* カラー画像 */
.matrix-color img {
  max-width: 60px;
  margin: 0 auto 6px;
}

/* ボタン調整 */
.matrix-table .button {
  padding: 6px 10px;
  font-size: 0.85rem;
  display: inline-block;
}

/* 行ホバー */
.matrix-table tr:hover td {
  background: #f5f9ff;
}

/* ===============================
SP対応
=============================== */
@media (max-width: 768px) {

  .matrix-table {
    font-size: 0.85rem;
  }

  .matrix-color {
    width: auto;
  }

  .matrix-color img {
    max-width: 50px;
  }

  .matrix-table th,
  .matrix-table td {
    padding: 8px 6px;
  }
}