/* ============================================================
   voice.html / profile.html / qa.html 専用レイヤー
   2026-07-30 新設（残タスク⑥のうち3枚）。

   この3枚はナビで「信用」の並び（お客様の声・プロフィール・よくある質問）。
   中身は一字も変えず、見た目だけを他の統一済みページに合わせる。

   共通の作法（丸ゴシック・角ゼロ・墨罫・硬い影・ボタン・ロゴ・ナビ）は
   renewal-framework.css と warhol-taro-theme.css が持つ。ここは3枚固有だけ。

   色のルール（renewal-framework.css と同じ）
   ── 新しい色は作らない。--rf-* と --c1（赤）だけを使う。
   ── 黄色のラベル（.section-label）は warhol-taro-theme.css のものをそのまま使う。
      統一済みページ（session.html 等）も同じ見えなので、ここだけ変えない。

   捨てたもの（元は dark テーマの名残）
   ── .hero-tw-circles / .section-circle-deco … ティール(#72C9B2)の発光する円。
      紙地では意味を持たず、統一済みページにも存在しない。非表示にした。
      要素自体は消していないので、戻すのは display の1行を外すだけ。
   ── 角丸（border-radius）とティールの細罫。角ゼロ＋3pxの墨罫へ。
   ============================================================ */

/* 赤の使い分け（session.html が決めた線をそのまま使う。新色ではない）
   ── 罫・下線・面塗り  … --c1 (#E63329)
   ── 紙の上に置く赤い文字 … --tp-red-text (#A81C14) ＝ session.html の --se-red-text
      --c1 のまま小さい文字に使うとコントラストが 4.24 でAAに届かないため。
   ── 紙文字を乗せる赤い面 … --rf-body-fill (#D92B1F)＝rf が「4.5を満たす深さ」として
      用意している方。--c1 の面に紙文字だと 4.24 で足りない。 */
.page-voice,
.page-profile,
.page-qa { --tp-red-text: #A81C14; }

/* ------------------------------------------------------------
   00 3枚の共通部（ヒーロー・セクションの間合い・CTAの飾り）
   ------------------------------------------------------------ */
.page-voice .page-hero,
.page-profile .page-hero,
.page-qa .page-hero {
  padding: clamp(104px, 14vw, 168px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 3px solid var(--rf-ink);
  background: var(--rf-paper);
}
.page-voice .page-hero h1,
.page-profile .page-hero h1,
.page-qa .page-hero h1 {
  font-family: var(--rf-display);
  font-weight: 800;
  font-size: clamp(30px, 5.2vw, 52px);
  line-height: 1.34;
  letter-spacing: 0.01em;
  color: var(--rf-ink);
  margin-bottom: 22px;
}
.page-voice .page-hero-desc,
.page-profile .page-hero-desc,
.page-qa .page-hero-desc {
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 500;
  line-height: 2;
  color: var(--rf-muted);
  max-width: 44em;
}

/* dark テーマの名残（上のコメント参照） */
.page-voice .hero-tw-circles,
.page-profile .hero-tw-circles,
.page-qa .hero-tw-circles,
.page-profile .section-circle-deco { display: none; }

.page-profile .section,
.page-qa .section { padding: clamp(56px, 8vw, 96px) 0; }

/* 黄色のCTA帯の上にある3つの点。ティールの発光する円だったので、
   帯と同じ語彙（角ゼロ・平ら・墨）に置き換える。 */
.page-voice .cta-circle,
.page-profile .cta-circle,
.page-qa .cta-circle {
  width: 12px;
  height: 12px;
  border-radius: 0;
  border: 2px solid var(--rf-ink);
  background: transparent;
  box-shadow: none;
  margin-top: 0;
}
.page-voice .cta-circles .cta-circle:nth-child(2),
.page-profile .cta-circles .cta-circle:nth-child(2),
.page-qa .cta-circles .cta-circle:nth-child(2) {
  background: var(--rf-ink);
  margin-top: 0;
}
.page-voice .section-cta h2,
.page-profile .section-cta h2,
.page-qa .section-cta h2 {
  font-family: var(--rf-display);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.45;
}

/* ------------------------------------------------------------
   01 voice.html
   ------------------------------------------------------------ */

/* カテゴリの帯（sticky）。藍色ベタ → 墨地。
   開いたナビ（nav-poster.css）と同じ「墨地＋黄のアクティブ」に揃える。 */
.page-voice .voice-cat-nav {
  background: var(--rf-ink) !important;
  border-bottom: 3px solid var(--rf-ink) !important;
  backdrop-filter: none;
}
.page-voice .voice-cat-nav a {
  font-family: var(--rf-display);
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  padding: 15px 20px;
  border-bottom: 4px solid transparent !important;
}
.page-voice .voice-cat-nav a:hover,
.page-voice .voice-cat-nav a.active {
  color: #F2C542 !important;              /* warhol の --wt-yellow と同値 */
  border-bottom-color: #F2C542 !important;
}

.page-voice .voice-section {
  padding: clamp(56px, 8vw, 92px) 0;
  border-bottom: 3px solid var(--rf-ink);
}
.page-voice .voice-section-alt { background: var(--rf-paper-2); }
.page-voice .voice-section h2 {
  font-family: var(--rf-display);
  font-weight: 800;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.4;
  color: var(--rf-ink);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page-voice .voice-grid { gap: 20px; }

/* 声のカード。3pxの墨罫＋硬い影＝skincare / session の面と同じ作り。 */
.page-voice .voice-card {
  position: relative;
  background: var(--rf-paper);
  border: 3px solid var(--rf-ink);
  border-left: 3px solid var(--rf-ink);
  border-radius: 0;
  box-shadow: 5px 5px 0 var(--rf-ink);
  padding: 34px 26px 22px;
}
.page-voice .voice-section-alt .voice-card { background: var(--rf-paper); }

/* 引用符。ティールの薄い飾りだったので、赤で立たせる。
   カードの罫の内側に収める（外に出すと影とぶつかる）。 */
.page-voice .voice-card::before {
  content: '\201C';
  font-family: var(--rf-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: var(--c1);
  position: absolute;
  top: 12px;
  left: 20px;
}
.page-voice .voice-card p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 2;
  color: var(--rf-ink);
  margin: 22px 0 20px;
  padding-top: 0;
}
/* 発言者。文中に埋もれないよう、小さな面にする。 */
.page-voice .voice-card footer {
  display: inline-block;
  font-family: var(--rf-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rf-ink);
  background: var(--rf-paper-2);
  border: 2px solid var(--rf-ink);
  padding: 4px 10px;
}

/* ------------------------------------------------------------
   02 profile.html
   ------------------------------------------------------------ */
.page-profile .prof-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-top: 8px;
}
.page-profile .prof-photo { flex-shrink: 0; width: 160px; }
.page-profile .prof-photo img {
  width: 100%;
  display: block;
  border: 3px solid var(--rf-ink);
  border-radius: 0;
  box-shadow: 6px 6px 0 var(--rf-ink);
}
.page-profile .prof-info { flex: 1; }
.page-profile .prof-name {
  font-family: var(--rf-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 6px;
  color: var(--rf-ink);
}
.page-profile .prof-name-sub {
  font-family: var(--rf-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--tp-red-text);
  margin: 0 0 20px;
}
.page-profile .prof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.page-profile .prof-tag {
  font-family: var(--rf-display);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 0;
  border: 2px solid var(--rf-ink);
  background: var(--rf-paper);
  color: var(--rf-ink);
}
.page-profile .prof-location {
  font-size: 13px;
  line-height: 1.9;
  color: var(--rf-muted);
}

/* 3事業。1枚ずつの面にして、番号ではなく記号を残したまま角を落とす。 */
.page-profile .activity-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.page-profile .activity-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 26px;
  background: var(--rf-paper);
  border: 3px solid var(--rf-ink);
  border-radius: 0;
  box-shadow: 5px 5px 0 var(--rf-ink);
}
.page-profile .activity-icon {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: var(--rf-body-fill);
  color: var(--rf-paper);
  border: 2px solid var(--rf-ink);
  font-size: 17px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.page-profile .activity-body h3 {
  font-family: var(--rf-display);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 8px;
  color: var(--rf-ink);
}
.page-profile .activity-body p {
  font-size: 13.5px;
  color: var(--rf-muted);
  margin: 0;
  line-height: 1.95;
}
.page-profile .activity-body a {
  color: var(--rf-ink);
  font-weight: 700;
  border-bottom: 2px solid var(--c1);
}

/* 大切にしていること。丸い点 → 赤い短い罫（skincare の .sk-stance-list と同じ） */
.page-profile .stance-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.page-profile .stance-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.page-profile .stance-dot {
  width: 14px;
  height: 3px;
  border-radius: 0;
  background: var(--c1);
  flex-shrink: 0;
  margin-top: 14px;
}
.page-profile .stance-item p {
  font-size: 14.5px;
  color: var(--rf-muted);
  margin: 0;
  line-height: 1.95;
}
.page-profile .stance-item strong {
  color: var(--rf-ink);
  font-weight: 700;
}

/* 合う・合わない。左右で地を変えて、読む前に2つだと分かるようにする。 */
.page-profile .fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}
.page-profile .fit-card {
  padding: 28px 26px;
  border-radius: 0;
  background: var(--rf-paper);
  border: 3px solid var(--rf-ink);
  box-shadow: 5px 5px 0 var(--rf-ink);
}
.page-profile .fit-card--no { background: var(--rf-paper-2); }
.page-profile .fit-card h3 {
  font-family: var(--rf-display);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--rf-ink);
  color: var(--rf-ink);
  letter-spacing: 0.02em;
}
.page-profile .fit-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-profile .fit-card ul li {
  font-size: 14px;
  color: var(--rf-muted);
  line-height: 1.9;
  padding-left: 22px;
  position: relative;
}
.page-profile .fit-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 3px;
  border-radius: 0;
  background: var(--c1);
}
/* 「向いていません」側は赤で押さない。同じ形のまま墨の細い罫にする。 */
.page-profile .fit-card--no ul li::before { background: var(--rf-line); }

/* ------------------------------------------------------------
   03 qa.html
   ------------------------------------------------------------ */
.page-qa .qa-category { margin-bottom: clamp(44px, 6vw, 72px); }
.page-qa .qa-category:last-child { margin-bottom: 0; }
.page-qa .qa-category-label {
  font-family: var(--rf-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--tp-red-text);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.page-qa .qa-category-title {
  font-family: var(--rf-display);
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 26px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--rf-ink);
  color: var(--rf-ink);
}

.page-qa .qa-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* 罫線だけの一覧 → 1問1面。開閉が面の単位で分かる。
   warhol-taro-theme.css は .qa-item に桃色の影を当てているので、
   ここで墨へ返す（統一済みページの影は全部墨）。 */
.page-qa details.qa-item {
  background: var(--rf-paper);
  border: 3px solid var(--rf-ink);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--rf-ink);
}
.page-qa details.qa-item[open] { box-shadow: 4px 4px 0 var(--c1); }

.page-qa summary.qa-q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--rf-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--rf-ink);
  line-height: 1.7;
  user-select: none;
}
.page-qa summary.qa-q::-webkit-details-marker { display: none; }
.page-qa summary.qa-q:focus-visible {
  outline: 3px solid var(--c1);
  outline-offset: 2px;
}
.page-qa .qa-q-icon {
  width: 26px;
  height: 26px;
  border-radius: 0;
  background: var(--rf-ink);
  color: var(--rf-paper);
  font-family: var(--rf-display);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.page-qa .qa-q-text { flex: 1; }
/* 上下に揺れ続ける矢印だったが、統一済みページに動く飾りは無い。
   開いたときの回転だけ残す。 */
.page-qa .qa-q-arrow {
  flex-shrink: 0;
  color: var(--c1);
  font-size: 13px;
  margin-top: 5px;
  animation: none;
  transition: transform 0.2s ease;
}
.page-qa details[open] .qa-q-arrow { transform: rotate(180deg); }

.page-qa .qa-a {
  padding: 0 20px 22px calc(26px + 14px + 20px);
  font-size: 14px;
  color: var(--rf-muted);
  line-height: 1.95;
}
.page-qa .qa-a p { margin: 0 0 14px; }
.page-qa .qa-a p:last-child { margin-bottom: 0; }
.page-qa .qa-a strong { color: var(--rf-ink); font-weight: 700; }
.page-qa .qa-a a {
  color: var(--rf-ink);
  font-weight: 700;
  border-bottom: 2px solid var(--c1);
}
.page-qa .qa-a ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.page-qa .qa-a ul li {
  position: relative;
  padding-left: 20px;
}
.page-qa .qa-a ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 3px;
  background: var(--c1);
}
.page-qa .qa-a code {
  font-family: monospace;
  font-size: 0.88em;
  background: var(--rf-paper-2);
  border: 1px solid var(--rf-line);
  border-radius: 0;
  padding: 2px 6px;
}
.page-qa .qa-a .qa-note {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--rf-paper-2);
  border-left: 4px solid var(--c1);
  font-size: 13.5px;
  line-height: 1.9;
}

/* ------------------------------------------------------------
   04 幅の広いとき
   ------------------------------------------------------------ */
@media (min-width: 769px) {
  .page-profile .prof-card {
    flex-direction: row;
    gap: 44px;
    align-items: center;
  }
  .page-profile .prof-photo { width: 220px; }
  .page-profile .fit-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .page-qa .qa-q-arrow { transition: none; }
}
