/* ============================================================
   商品ページ Feature Block  /  prefix: ff-
   ============================================================

   カラーカスタマイズ（HTMLのstyle属性で上書き）:
     --ff-accent:  アクセントカラー1（ラベル・ボタン・ライン）
     --ff-accent2: アクセントカラー2（現状未使用、拡張用）

   ダークテーマ: <div class="ff-block is-dark">
   セクション非表示: <section class="ff-intro"> に is-hidden を追加
   ============================================================ */

/* ── ユーティリティ ── */
.is-hidden { display: none !important; }

/* ── ブロック本体 ── */
.ff-block {
  --ff-bg:       #ffffff;
  --ff-text:     #1a1a1a;
  --ff-text-sub: #555555;
  --ff-caption:  #555;
  --ff-border:   #e0e0e0;
  --ff-accent:   #1a1a1a;
  --ff-accent2:  #1a1a1a;

  max-width: 1000px;
  margin: 48px auto;
  background: var(--ff-bg);
  color: var(--ff-text);
  font-size: 15px;
  line-height: 1.9;
}
@media (max-width: 834px) {
  .ff-block { margin: 32px auto; }
}

/* ダークテーマ */
.ff-block.is-dark {
  --ff-bg:       #111111;
  --ff-text:     #f0f0f0;
  --ff-text-sub: #aaaaaa;
  --ff-caption:  #777;
  --ff-border:   #333333;
  --ff-accent:   #f0f0f0;
  --ff-accent2:  #f0f0f0;
}

/* ── セクション共通マージン ── */
.ff-kv,
.ff-intro,
.ff-features,
.ff-detail,
.ff-extra {
  margin-bottom: 88px;
}
@media (max-width: 834px) {
  .ff-kv,
  .ff-intro,
  .ff-features,
  .ff-detail,
  .ff-extra {
    margin-bottom: 60px;
  }
  /* KV以外に左右余白 */
  .ff-intro,
  .ff-features,
  .ff-detail,
  .ff-extra {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 834px) {
  .ff-kv,
  .ff-intro,
  .ff-features,
  .ff-detail,
  .ff-extra {
    margin-bottom: 60px;
  }
  /* KV以外に左右余白 */
  .ff-intro,
  .ff-features,
  .ff-detail,
  .ff-extra {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* フィーチャー内のトピック間隔 */
.ff-features .ff-topic {
  margin-bottom: 72px;
}
.ff-features .ff-topic:last-child {
  margin-bottom: 0;
}
@media (max-width: 834px) {
  .ff-features .ff-topic { margin-bottom: 52px; }
}

/* ── セクションラベル（DETAIL / EXTRA など） ── */
.ff-label {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ff-accent);
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.ff-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ff-border);
}


/* ==================================================
   ① キービジュアル
   ================================================== */
.ff-kv { margin-bottom: 50px; }
@media (max-width: 834px) {
.ff-kv { margin-bottom: 30px; }
}
.ff-kv__img {
  display: block;
  width: 100%;
  object-fit: cover;
}


/* ==================================================
   ② 導入文章
   ================================================== */
.ff-intro {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.ff-intro__title {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--ff-text);
  margin: 0 0 28px;
}
.ff-intro__title span {
  font-size: 18px;
}
.ff-intro__text {
  font-size: 16px;
  line-height: 2.4;
  letter-spacing: 0.08em;
  color: var(--ff-text-sub);
  text-align: left;
  margin: 0 0 32px;
}
@media screen and (max-width: 834px) {
.ff-intro__text {
  font-size: 15px;
  line-height: 2;
}
}
.ff-intro__btn-wrap {
  margin-top: 36px;
	text-align: center;
}
@media (max-width: 834px) {
  .ff-intro__title { font-size: 20px; }
}

/* ── ボタン ── */
.ff-btn {
  display: inline-block;
  min-width: 220px;
  padding: 13px 28px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--ff-accent);
  color: var(--ff-bg);
  background: var(--ff-accent);
  transition: background 0.25s, color 0.25s;
}
.ff-btn::after { content: "  →"; }
.ff-btn:hover {
  background: var(--ff-bg);
  color: var(--ff-accent);
}


/* ==================================================
   ③ トピック（左画像・右テキスト / 右画像・左テキスト）
   ================================================== */
.ff-topic__inner {
  display: flex;
  align-items: center;
  gap: 56px;
}
.ff-topic--img-right .ff-topic__inner { flex-direction: row-reverse; }

.ff-topic__media {
  flex: 0 0 50%;
}
.ff-topic__img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.ff-topic__body {
  flex: 1;
  min-width: 0;
}
.ff-topic__title {
  font-size: 21px;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.45;
  color: var(--ff-text);
  margin: 0 0 18px;
}
.ff-topic__text {
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: var(--ff-text-sub);
  margin: 0;
}
@media screen and (max-width: 834px) {
.ff-topic__text {
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.08em;
}
}
@media (max-width: 834px) {
  .ff-topic__inner,
  .ff-topic--img-right .ff-topic__inner {
    flex-direction: column;
    gap: 24px;
  }
  .ff-topic__media {
    flex: none;
    width: 100%;
  }
  .ff-topic__title { font-size: 18px; }
}


/* ==================================================
   ④ ディティール（2列グリッド＋キャプション）
   ================================================== */
.ff-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  row-gap: 0;
}
@media (max-width: 600px) {
  .ff-detail__grid { grid-template-columns: 1fr; }
}

.ff-fig {
  margin: 0 0 30px;
}
.ff-fig img {
  margin: 0 0 20px;
}
@media (max-width: 600px) {
  .ff-fig { margin-bottom: 30px; }
}

.ff-fig img {
  display: block;
  width: 100%;
}
.ff-fig figcaption {
  font-size: 16px;
  color: var(--ff-caption);
  margin-top: 10px;
  line-height: 2;
  letter-spacing: 0.08em;
}
@media screen and (max-width: 834px) {
.ff-fig figcaption {
  font-size: 15px;
  line-height: 1.65;

}
}

/* ==================================================
   ⑤ その他（1列・追加用）
   ================================================== */
.ff-extra__img-wrap {
  margin-bottom: 28px;
  line-height: 0;
}
.ff-extra__img {
  display: block;
  width: 100%;
}
.ff-extra__title {
  font-size: 19px;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--ff-text);
  margin: 0 0 16px;
}
.ff-extra__text {
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.03em;
  color: var(--ff-text-sub);
}


/* ==================================================
   比較表 (ff-compare)
   ================================================== */
.ff-compare-wrap {
  margin-top: 40px;
}
.ff-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--ff-text);
}
.ff-compare thead tr {
  border-bottom: 1px solid var(--ff-border);
}
.ff-compare th {
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ff-caption);
  padding: 0 16px 12px;
  text-align: left;
  white-space: nowrap;
}
.ff-compare th:first-child { padding-left: 0; }
.ff-compare td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--ff-border);
  vertical-align: middle;
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.ff-compare td:first-child { padding-left: 0; }
.ff-compare tbody tr:last-child td { border-bottom: none; }
.ff-compare__swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  flex-shrink: 0;
}
.ff-compare td:first-child {
  display: flex;
  align-items: center;
  font-weight: bold;
}

@media (max-width: 600px) {
  .ff-compare thead { display: none; }
  .ff-compare,
  .ff-compare tbody,
  .ff-compare tr,
  .ff-compare td { display: block; }
  .ff-compare tbody tr {
    border-bottom: 1px solid var(--ff-border);
    padding: 16px 0;
  }
  .ff-compare tbody tr:last-child { border-bottom: none; }
  .ff-compare td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    padding: 4px 0;
    font-weight: normal;
  }
  .ff-compare td::before {
    content: attr(data-label);
    color: var(--ff-caption);
    font-size: 11px;
    letter-spacing: 0.1em;
    min-width: 90px;
    flex-shrink: 0;
  }
  .ff-compare td:first-child {
    font-weight: bold;
    font-size: 14px;
    padding-bottom: 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--ff-border);
  }
  .ff-compare td:first-child::before { display: none; }
}


/* ==================================================
   レンズカードグリッド (ff-lens)
   ================================================== */
.ff-lens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.ff-lens-card {
  border: 1px solid var(--ff-border);
  background: #ffffff;
  padding: 20px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ff-lens-card__swatch {
  width: 80px;
  border-radius: 50%;
  display: block;
  margin-bottom: 12px;
}
.ff-lens-card__name {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: #555;
  margin-bottom: 12px;
}
.ff-lens-card__specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0px 10px;
  font-size: 15px;
  width: 100%;
  text-align: left;
  border-top: 1px solid var(--ff-border);
  padding-top: 12px;
}
.ff-lens-card__specs dt {
  color: var(--ff-caption);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.ff-lens-card__specs dd {
  margin: 0;
  color: var(--ff-text-sub);
}
@media (max-width: 600px) {
  .ff-lens-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
