/* =====================================================
   VENEX 家事疲れ 売れ型LP01（上下セット直結）
   prototypes/housework-fatigue-set/ からの W2 移植版
   - 変数・リセットはすべて .p-hfset 配下にスコープ
     （layout.liquid の共通CSS / common-header / common-footer と共存するため）
   ===================================================== */

/* ----- Variables（.p-hfset スコープ） ----- */
.p-hfset {
  /* Color */
  --c-bg:          #fdfbf6;   /* 生成りベース */
  --c-cream:       #f5efe2;   /* セクション交互背景 */
  --c-white:       #ffffff;
  --c-text:        #3c3631;   /* 濃茶（本文） */
  --c-text-soft:   #6d645c;
  --c-brown:       #a4795f;   /* 見出しブラウン（既存LP踏襲） */
  --c-orange:      #ef8200;   /* VENEXブランドオレンジ = CTA */
  --c-orange-dark: #d67300;
  --c-green:       #4a7a5a;   /* 信頼・サブ訴求 */
  --c-green-soft:  #e8f0ea;
  --c-navy:        #41506b;   /* オファー帯背景 */
  --c-line:        #e2d9c8;
  --c-red:         #d9362a;   /* MADE IN JAPAN */

  /* Fonts */
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "YuMincho", serif;
  --font-sans:  "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  /* Layout */
  --container-w: 1040px;
  --container-w-narrow: 820px;
  --container-px: clamp(20px, 5vw, 40px);
  --section-py-pc: 96px;
  --section-py-sp: 60px;

  /* Typography */
  --fs-h1:   clamp(30px, 4.6vw, 48px);
  --fs-h2:   clamp(24px, 3vw, 34px);
  --fs-h3:   clamp(17px, 2vw, 20px);
  --fs-body: 15px;
  --fs-small: 13px;
  /* 注記は本文同等の視認性を保つ（12px未満・薄色化は禁止） */
  --fs-note: 13px;
}

/* ----- Scoped reset ----- */
.p-hfset,
.p-hfset *,
.p-hfset *::before,
.p-hfset *::after { box-sizing: border-box; }

.p-hfset {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
.p-hfset img { max-width: 100%; height: auto; display: block; border: none; }
.p-hfset ul, .p-hfset ol { list-style: none; padding: 0; margin: 0; }
.p-hfset p, .p-hfset dl, .p-hfset dd, .p-hfset figure { margin: 0; }
.p-hfset h1, .p-hfset h2, .p-hfset h3 { margin: 0; font-weight: 500; line-height: 1.5; }
.p-hfset a { color: inherit; text-decoration: none; }
.p-hfset button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
.p-hfset :focus-visible { outline: 2px solid var(--c-orange); outline-offset: 3px; }

.p-hfset .pc-only { display: block; }
.p-hfset .sp-only { display: none; }
@media (max-width: 768px) {
  .p-hfset .pc-only { display: none; }
  .p-hfset .sp-only { display: inline; }
}

/* =====================================================
   共通パーツ
   ===================================================== */
.p-hfset .hf-section {
  padding: var(--section-py-pc) 0;
  scroll-margin-top: 100px; /* common-header を考慮。本番実測後に微調整 */
}
@media (max-width: 768px) {
  .p-hfset .hf-section { padding: var(--section-py-sp) 0; }
}
.p-hfset .hf-section__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.p-hfset .hf-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.24em;
  color: var(--c-brown);
  text-align: center;
  margin-bottom: 12px;
}

.p-hfset .hf-h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  letter-spacing: 0.1em;
  color: var(--c-brown);
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* 注記 — 本文と同等の視認性（サイズ13px・本文同系色）を必ず維持する */
.p-hfset .hf-note {
  font-size: var(--fs-note);
  line-height: 1.8;
  color: var(--c-text);
}
.p-hfset .hf-note a { text-decoration: underline; text-underline-offset: 3px; }

/* CTAボタン */
.p-hfset .hf-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 300px;
  min-height: 60px;
  padding: 12px 40px;
  background: var(--c-orange);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(239, 130, 0, 0.32);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}
.p-hfset .hf-btn:hover {
  background: var(--c-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(239, 130, 0, 0.4);
}
.p-hfset .hf-btn span {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  opacity: 0.95;
}
.p-hfset .hf-btn--lg { min-width: 340px; min-height: 68px; }
.p-hfset .hf-btn--men {
  background: var(--c-navy);
  box-shadow: 0 6px 18px rgba(65, 80, 107, 0.3);
}
.p-hfset .hf-btn--men:hover {
  background: #34415a;
  box-shadow: 0 10px 24px rgba(65, 80, 107, 0.4);
}
@media (max-width: 768px) {
  .p-hfset .hf-btn, .p-hfset .hf-btn--lg { min-width: 0; width: 100%; max-width: 420px; }
}

/* バッジ */
.p-hfset .hf-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  border-radius: 4px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  color: var(--c-text);
}
.p-hfset .hf-badge span { font-size: 10px; font-weight: 500; }
.p-hfset .hf-badge--medical { border-color: var(--c-brown); color: var(--c-brown); }
.p-hfset .hf-badge--japan { border-color: var(--c-red); color: var(--c-red); }

/* ----- Animation (fade-up) — フェイルセーフ設計 -----
 * 要素はデフォルトで表示。JSが .is-visible を付けたときだけアニメ再生。
 * 初期 opacity:0 は本番でJSが死ぬと永続非表示になるため使用禁止。 */
@keyframes hf-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.p-hfset [data-anim="fade-up"].is-visible {
  animation: hf-fade-up 0.8s ease both;
}
@media (prefers-reduced-motion: reduce) {
  .p-hfset [data-anim="fade-up"].is-visible { animation: none; }
}

/* =====================================================
   1. FV
   ===================================================== */
.p-hfset .hf-fv {
  background: linear-gradient(160deg, #f7f1e4 0%, var(--c-bg) 65%);
  border-bottom: 1px solid var(--c-line);
}
.p-hfset .hf-fv__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--container-px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.p-hfset .hf-fv__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.p-hfset .hf-fv__heading {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.45;
  color: var(--c-brown);
  margin-bottom: 20px;
}
.p-hfset .hf-fv__sub {
  font-size: clamp(14px, 1.6vw, 16px);
  margin-bottom: 24px;
}
.p-hfset .hf-fv__price {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 26px;
}
.p-hfset .hf-fv__price-main {
  font-size: 15px;
  display: flex; flex-wrap: wrap; gap: 4px 18px;
}
.p-hfset .hf-fv__price-pair { white-space: nowrap; }
.p-hfset .hf-fv__price-main strong {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.02em;
}
.p-hfset .hf-fv__price-main span span { font-size: 12px; }
.p-hfset .hf-fv__price-sub {
  font-size: 13px; font-weight: 700; color: var(--c-green);
}
.p-hfset .hf-fv__image img {
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(60, 54, 49, 0.14);
}

/* FV メンズ行（画像左・説明右） */
.p-hfset .hf-fv__inner--men {
  grid-template-columns: 0.9fr 1.1fr;
  border-top: 1px solid var(--c-line);
  padding-top: clamp(32px, 4.5vw, 52px);
}
.p-hfset .hf-fv__men-image img {
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(60, 54, 49, 0.14);
}
.p-hfset .hf-fv__men-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.24em;
  color: var(--c-brown);
  margin-bottom: 8px;
}
.p-hfset .hf-fv__men-heading {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: 0.08em;
  color: var(--c-brown);
  margin-bottom: 12px;
}
.p-hfset .hf-fv__men-desc { font-size: 14px; margin-bottom: 20px; }

@media (max-width: 768px) {
  .p-hfset .hf-fv__inner { grid-template-columns: 1fr; padding-top: 24px; gap: 20px; }
  .p-hfset .hf-fv__image { order: -1; }
  .p-hfset .hf-fv__image img,
  .p-hfset .hf-fv__men-image img {
    max-height: 42vh;
    width: auto;
    margin-inline: auto;
    object-fit: contain;
  }
  .p-hfset .hf-fv__cta { width: 100%; max-width: 420px; }
}

/* =====================================================
   2. 共感
   ===================================================== */
.p-hfset .hf-empathy { background: var(--c-bg); }
.p-hfset .hf-empathy__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  margin-bottom: clamp(36px, 5vw, 56px);
}
.p-hfset .hf-empathy__item {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 28px 24px;
}
.p-hfset .hf-empathy__item-num {
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--c-orange);
  margin-bottom: 10px;
}
.p-hfset .hf-empathy__item-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  color: var(--c-brown);
  margin-bottom: 10px;
}
.p-hfset .hf-empathy__item-text { font-size: 14px; }
.p-hfset .hf-empathy__lead {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2.2vw, 22px);
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--c-text);
}
.p-hfset .hf-empathy__lead strong { color: var(--c-brown); font-weight: 600; }
@media (max-width: 768px) {
  .p-hfset .hf-empathy__list { grid-template-columns: 1fr; }
}

/* =====================================================
   3. メカニズム
   ===================================================== */
.p-hfset .hf-mechanism { background: var(--c-cream); }
.p-hfset .hf-mechanism__body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: var(--container-w);
  margin: 0 auto;
}
.p-hfset .hf-mechanism__text p { margin-bottom: 16px; }
.p-hfset .hf-mechanism__text strong { color: var(--c-brown); }
.p-hfset .hf-mechanism__image img { border-radius: 12px; }
@media (max-width: 768px) {
  .p-hfset .hf-mechanism__body { grid-template-columns: 1fr; }
}

/* =====================================================
   4. 商品提示
   ===================================================== */
.p-hfset .hf-product { background: var(--c-bg); }
.p-hfset .hf-product__name {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 19px);
  text-align: center;
  letter-spacing: 0.08em;
  margin: -24px 0 32px;
}
.p-hfset .hf-product__name span { font-size: 0.75em; color: var(--c-text-soft); margin-left: 6px; }
.p-hfset .hf-product__tabs {
  display: flex; justify-content: center; gap: 0;
  margin-bottom: 36px;
}
.p-hfset .hf-product__tab {
  min-width: 160px;
  padding: 12px 28px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--c-text-soft);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.p-hfset .hf-product__tab:first-child { border-radius: 999px 0 0 999px; }
.p-hfset .hf-product__tab:last-child { border-radius: 0 999px 999px 0; border-left: none; }
.p-hfset .hf-product__tab.is-active {
  background: var(--c-brown);
  border-color: var(--c-brown);
  color: #fff;
}
.p-hfset .hf-product__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.p-hfset .hf-product__panel[hidden] { display: none; }
.p-hfset .hf-product__image img {
  border-radius: 12px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
}
.p-hfset .hf-product__detail-name {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--c-brown);
  margin-bottom: 14px;
}
.p-hfset .hf-product__price { margin-bottom: 18px; }
.p-hfset .hf-product__price strong {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.p-hfset .hf-product__price span { font-size: 13px; margin-left: 6px; }
.p-hfset .hf-product__spec {
  border-top: 1px solid var(--c-line);
  margin-bottom: 20px;
}
.p-hfset .hf-product__spec div {
  display: flex; gap: 16px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--c-line);
  font-size: 14px;
}
.p-hfset .hf-product__spec dt {
  flex: 0 0 4.5em;
  font-weight: 700;
  color: var(--c-text-soft);
}
@media (max-width: 768px) {
  .p-hfset .hf-product__panel { grid-template-columns: 1fr; }
}

/* =====================================================
   5. 選ばれる理由
   ===================================================== */
.p-hfset .hf-reasons { background: var(--c-cream); }
.p-hfset .hf-reasons__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
.p-hfset .hf-reasons__item {
  background: var(--c-white);
  border-radius: 12px;
  padding: 32px 26px;
  text-align: center;
}
.p-hfset .hf-reasons__item-num {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  color: var(--c-orange);
  line-height: 1.2;
  margin-bottom: 14px;
}
.p-hfset .hf-reasons__item-num span { font-size: 0.5em; }
.p-hfset .hf-reasons__item-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  color: var(--c-brown);
  margin-bottom: 10px;
}
.p-hfset .hf-reasons__item-text { font-size: 14px; text-align: left; }
@media (max-width: 768px) {
  .p-hfset .hf-reasons__list { grid-template-columns: 1fr; }
}

/* =====================================================
   6. 着用シーン
   ===================================================== */
.p-hfset .hf-scene { background: var(--c-cream); }
.p-hfset .hf-scene__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
.p-hfset .hf-scene__item {
  background: var(--c-white);
  border-radius: 12px;
  overflow: hidden;
}
.p-hfset .hf-scene__item-image {
  background: var(--c-bg);
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.p-hfset .hf-scene__item-image img { max-height: 100%; width: auto; }
.p-hfset .hf-scene__item-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  color: var(--c-brown);
  padding: 18px 22px 0;
}
.p-hfset .hf-scene__item-text { font-size: 14px; padding: 8px 22px 24px; }
@media (max-width: 768px) {
  .p-hfset .hf-scene__list { grid-template-columns: 1fr; }
}

/* =====================================================
   CTA行（最終CTAセクションで使用）
   ===================================================== */
.p-hfset .hf-offer__cta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 16px;
}

/* =====================================================
   8. FAQ
   ===================================================== */
.p-hfset .hf-faq { background: var(--c-bg); }
.p-hfset .hf-faq__list { max-width: var(--container-w-narrow); margin: 0 auto; }
.p-hfset .hf-faq__item {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  margin-bottom: 12px;
}
.p-hfset .hf-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 48px 18px 22px;
  font-weight: 700;
  position: relative;
}
.p-hfset .hf-faq__item summary::-webkit-details-marker { display: none; }
.p-hfset .hf-faq__item summary::before { content: "Q. "; color: var(--c-orange); }
.p-hfset .hf-faq__item summary::after {
  content: "＋";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--c-brown);
  font-weight: 400;
}
.p-hfset .hf-faq__item[open] summary::after { content: "－"; }
.p-hfset .hf-faq__item p {
  padding: 0 22px 20px;
  font-size: 14px;
}
.p-hfset .hf-faq__item p a { color: var(--c-brown); text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================
   9. 最終CTA
   ===================================================== */
.p-hfset .hf-last {
  background: linear-gradient(160deg, var(--c-cream) 0%, var(--c-bg) 70%);
  text-align: center;
}
.p-hfset .hf-last__heading {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 38px);
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: var(--c-brown);
  margin-bottom: 18px;
}
.p-hfset .hf-last__text { margin-bottom: 32px; }

