
.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-section.is-dark,
.b-sec-body.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-section.is-light,
.b-sec-body.is-light {
  --ff-bg:       #ffffff;
  --ff-text:     #1a1a1a;
  --ff-text-sub: #555555;
  --ff-caption:  #555;
  --ff-border:   #e0e0e0;
  --ff-accent:   #1a1a1a;
  --ff-accent2:  #1a1a1a;
}

/* ── セクション（出力の <section> 単位） ── */
.ff-section { display: block; margin-bottom: 96px; }
.ff-section:last-child { margin-bottom: 0; }
@media (max-width: 834px) {
  .ff-section { margin-bottom: 64px; }
}
/* 背景テーマを指定したセクションは背景色＋余白を持つ */
.ff-section.is-dark, .ff-section.is-light,
.b-sec-body.is-dark, .b-sec-body.is-light {
  background: var(--ff-bg);
  color: var(--ff-text);
  padding: 56px 24px;
}
.ff-section.is-dark > :last-child, .ff-section.is-light > :last-child { margin-bottom: 0; }
@media (max-width: 834px) {
  .ff-section.is-dark, .ff-section.is-light,
  .b-sec-body.is-dark, .b-sec-body.is-light { padding: 40px 16px; }
}

/* ── セクション共通マージン ── */
.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-vs) ── 列が増えると横スクロール
   ================================================== */
.ff-vs-wrap {
  margin-bottom: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ff-vs {
  border-collapse: collapse;
  font-size: 16px;
  color: var(--ff-text);
}
table.ff-vs tr {
  background-color: transparent !important;
}
.ff-vs th,
.ff-vs td {
  border-bottom: 1px solid var(--ff-border);
  padding: 18px 14px;
  text-align: center;
  vertical-align: middle;
  min-width: 150px;
}
.ff-vs thead th { vertical-align: top; }
/* 先頭の見出し列（固定） */
.ff-vs__corner,
.ff-vs__label {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 92px;
  width: 92px;
  background: var(--ff-bg);
}
.ff-vs__corner { border-bottom: 1px solid var(--ff-border); }
.ff-vs__label {
  font-size: 14px;
  font-weight: normal;
  color: var(--ff-caption);
  letter-spacing: 0.04em;
}
/* 商品列ヘッダー */
.ff-vs__img {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  margin: 0 auto 10px;
}
.ff-vs__name {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: #1f6fb2;
  text-decoration: none;
  margin-bottom: 12px;
  text-align: center;
}
.ff-vs__name:hover { text-decoration: underline; }
.is-dark .ff-vs__name { color: #6fb6f0; }
.ff-vs__btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid var(--ff-accent);
  border-radius: 4px;
  color: var(--ff-bg);
  background: var(--ff-accent);
  white-space: nowrap;
}
.ff-vs__btn:hover { opacity: 0.85; }


/* ==================================================
   レンズカードグリッド (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;
  }
}


/* ==================================================
   汎用パーツ（順不同・繰り返し可）
   ================================================== */

/* どこにでも置ける1枚画像（全幅） */
.ff-image { margin-bottom: 40px; }
.ff-image img { display: block; width: 100%; }
.ff-image figcaption {
  font-size: 14px;
  color: var(--ff-caption);
  margin-top: 12px;
  line-height: 1.9;
  letter-spacing: 0.06em;
}
@media (max-width: 834px) {
  .ff-image { margin-bottom: 28px; }
}

/* 左寄せの文章ブロック（見出し任意） */
.ff-text {
  margin-bottom: 88px;
}
.ff-text__title {
  font-size: 21px;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.45;
  color: var(--ff-text);
  margin: 0 0 18px;
}
.ff-text__body {
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: var(--ff-text-sub);
  margin: 0;
}
@media (max-width: 834px) {
  .ff-text { margin-bottom: 60px; padding-left: 20px; padding-right: 20px; }
  .ff-text__title { font-size: 18px; }
  .ff-text__body { font-size: 15px; line-height: 2; }
}

/* 小見出し（独立・直後の文章にくっつく） */
.ff-heading {
  font-size: 21px;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.45;
  color: var(--ff-text);
  margin: 0 0 18px;
}
/* 文章（独立） */
.ff-body {
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: var(--ff-text-sub);
  margin: 0 0 40px;
}
@media (max-width: 834px) {
  .ff-heading { font-size: 18px; }
  .ff-body { font-size: 15px; line-height: 2; margin-bottom: 28px; }
  .ff-heading, .ff-body { padding-left: 20px; padding-right: 20px; }
}

/* ボタンを並べる行（中央寄せ・複数可） */
.ff-btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 834px) {
  .ff-btn-row { margin-bottom: 28px; padding-left: 20px; padding-right: 20px; }
}

/* 汎用テーブル（スペック表など・スマホで縦積み） */
.ff-table-wrap { margin-bottom: 40px; }
@media (max-width: 834px) {
  .ff-table-wrap { margin-bottom: 28px; padding-left: 20px; padding-right: 20px; }
}
.ff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  color: var(--ff-text);
}
.ff-table th,
.ff-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--ff-border);
  text-align: left;
  vertical-align: middle;
  line-height: 1.6;
  letter-spacing: 0.03em;
}
.ff-table th {
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ff-caption);
  white-space: nowrap;
}
.ff-table th:first-child,
.ff-table td:first-child { padding-left: 0; }
.ff-table tbody th { font-weight: bold; color: var(--ff-text); text-transform: none; font-size: 16px; }
@media (max-width: 600px) {
  .ff-table thead { display: none; }
  .ff-table, .ff-table tbody, .ff-table tr, .ff-table td { display: block; }
  .ff-table tr {
    border-bottom: 1px solid var(--ff-border);
    padding: 14px 0;
  }
  .ff-table tr:last-child { border-bottom: none; }
  .ff-table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    border-bottom: none;
    padding: 4px 0;
  }
  .ff-table td::before {
    content: attr(data-label);
    color: var(--ff-caption);
    font-size: 11px;
    letter-spacing: 0.1em;
    min-width: 90px;
    flex-shrink: 0;
  }
}
