/* =========================================================
   catalog.css — 製品・実績ページ共通「編集部・カタログ調」上書き
   対象: pitauri.html / yado-yoyaku.html / tantan-ec.html / homesharing-payment.html
   依存: fly.css（--brand / --accent / --border など）
   読み込み順: 各ページの <style> の後（上書きが目的）
   2026-09-16: pitauri.html のインライン v4 ブロックを切り出し、他 3 ページに横展開
========================================================= */
body { counter-reset: pt-sec pt-fc; }

/* ---- 見出し：中央揃え＋短い下線 → 左揃え＋上罫線＋章番号 ---- */
.section-title {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 48px;
  padding-top: 20px;
  margin-bottom: 40px;
  border-top: 2px solid #1b1b1b;
  counter-increment: pt-sec;
}
.section-title h2 {
  display: block;
  padding-bottom: 0;
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.3;
}
.section-title h2::after { content: none; }
.section-title h2::before {
  content: counter(pt-sec, decimal-leading-zero);
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--brand);
  margin-bottom: 10px;
}
.section-title .subtitle {
  flex: 1 1 320px;
  max-width: 560px;
  margin: 0 0 4px;
  font-size: 15px;
}
.related-services .section-title { border-top: 0; padding-top: 0; }
.related-services .section-title h2::before { content: none; }
.ov-lead, .pv-intro { text-align: left; }

/* ---- ヒーロー：pill バッジ → 罫線タグ、CTA は四角＋矢印、左揃え ---- */
.page-hero .container { text-align: left; }
.page-hero p { margin-left: 0; }
.page-hero .pt-hero-title { font-size: 52px; letter-spacing: -.01em; }
.page-hero .pt-hero-title small { max-width: 640px; }
.pt-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.pt-hero-badge {
  margin: 0;
  border-radius: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,.55);
  font-weight: 500;
  padding: 7px 14px;
}
.pt-hero-badge.is-accent { font-weight: 700; }
.page-hero .btn-cta { border-radius: 0 !important; padding-right: 52px !important; position: relative; }
.page-hero .btn-cta::after { content: "→"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: 'Montserrat', sans-serif; }
.pt-hero-shot { border-radius: 0; box-shadow: 0 24px 48px -24px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.18); }
@media (max-width: 767px) { .page-hero .pt-hero-title { font-size: 34px; } }

/* ---- 箇条書き：✔丸 ×41 → ダッシュ＋罫線 ---- */
.feature-list li .fa, .ov-points li .fa { display: none; }
.feature-list li { padding: 7px 0; border-bottom: 1px solid #e9e9e9; gap: 10px; }
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before, .ov-points li::before {
  content: "—";
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
  line-height: inherit;
}
.feature-card-body.is-compact .feature-list li { padding: 6px 0; }
.ov-points { justify-content: flex-start; gap: 8px 32px; }
.ov-points li { gap: 8px; }

/* ---- 再生ボタン：中央の正円 → 左下の黒いラベル「▶ 動画で見る 51秒」 ---- */
.pv-play, .ovp-play {
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  padding: 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%);
}
.pv-play-icon {
  width: auto; height: auto;
  border-radius: 0;
  background: #1b1b1b;
  color: #ffe066;
  font-size: 12px;
  padding: 9px 10px 9px 13px;
  box-shadow: none;
  transition: background .2s;
}
.pv:hover .pv-play-icon, .pvs-slide:hover .pv-play-icon, .ovp-play:hover .pv-play-icon { transform: none; background: var(--brand); color: #fff; }
.pv-play-text {
  background: #1b1b1b;
  color: #fff;
  font-size: 14px;
  padding: 7px 14px 7px 4px;
  text-shadow: none;
  line-height: 1.5;
  transition: background .2s;
}
.pv:hover .pv-play-text, .pvs-slide:hover .pv-play-text, .ovp-play:hover .pv-play-text { background: var(--brand); }
.pv-play-text small { opacity: .8; }
.pv-play-icon, .pv-play-text { height: 36px; display: flex; align-items: center; box-sizing: border-box; }
.pv-play-text { padding-top: 0; padding-bottom: 0; }
.pv-play-icon { padding-top: 0; padding-bottom: 0; }
/* 機能カードの右下ボタンも同じラベルに */
.fc-play { gap: 0; }
.fc-play .fc-play-icon {
  width: auto; height: auto;
  border-radius: 0;
  background: #1b1b1b;
  color: #ffe066;
  font-size: 11px;
  padding: 8px 8px 8px 12px;
  box-shadow: none;
}
.fc-play .fc-play-icon, .fc-play small { height: 30px; display: flex; align-items: center; box-sizing: border-box; padding-top: 0; padding-bottom: 0; }
.fc-play small { background: #1b1b1b; padding-right: 12px; padding-left: 4px; text-shadow: none; font-weight: 600; line-height: 1.5; }
@media (hover: hover) {
  .fc-media:hover .fc-play .fc-play-icon { transform: none; background: var(--brand); color: #fff; }
  .fc-media:hover .fc-play small { background: var(--brand); }
}
.fc-scrim { background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35) 65%, rgba(0,0,0,.82) 100%); }
.fc-copy { right: 120px; }
@media (max-width: 767px) { .fc-copy { right: 112px; } }
.fc-copy h3 { font-size: 20px; }
/* スライドショー・プレイヤーの部品 */
.pvs, .ovp, .pvm-box { border-radius: 0; }
.ovp { box-shadow: none; border: 1px solid #1b1b1b; }
.pvs-cap { border-radius: 0; background: #fff; color: #1b1b1b; padding: 5px 10px; }
.pvs-cap .fa { color: var(--brand); }
.pvs-arrow { width: 36px; height: 36px; border-radius: 0; box-shadow: none; background: #1b1b1b; color: #fff; }
.pvs-arrow:hover { background: var(--brand); }
.pvs-dots button::after { border-radius: 0; }
.pvs-dots button.is-on::after { border-radius: 0; }
.ovp-chapters button, .pvm-langs button, .ovp-fs { border-radius: 0; }
.pvm-close { border-radius: 0; }
.ovp-chapters { background: #1b1b1b; }
.ovp-bar { background: #1b1b1b; }
.ov-details, .ov-details .ov-body > p { border-radius: 0; }

/* ---- 機能カード：角丸・浮遊影・丸アイコン → 直線・上罫線・章番号 ---- */
.feature-card {
  position: relative;
  border-radius: 0;
  border-top: 2px solid #1b1b1b;
}
.feature-card:hover { box-shadow: none; transform: none; border-color: #1b1b1b; }
.features-grid .feature-card { counter-increment: pt-fc; }
.features-grid .feature-card::before {
  content: counter(pt-fc, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  z-index: 3;
  pointer-events: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  background: #1b1b1b;
  padding: 6px 10px 5px;
  line-height: 1;
}
.feature-card-body .feature-icon { display: none; }
.feature-ai-tag { border-radius: 0; }

/* ---- 2 エディション ---- */
.edition-card { border-radius: 0; border-top: 2px solid #1b1b1b; }
.edition-card .edition-tag {
  border-radius: 0;
  background: transparent;
  color: #1b1b1b;
  border: 1px solid #1b1b1b;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ---- 画面で見る流れ・導入の流れ：丸数字 → 大きな数字 ---- */
.screen-step { border-radius: 0; border-top: 2px solid #1b1b1b; }
.screen-step-num {
  width: auto; height: auto;
  line-height: 1;
  border-radius: 0;
  background: transparent;
  color: var(--brand);
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.screen-step-num::before { content: "0"; }
.pt-flow-steps::before { background: #d9d9d9; left: 27px; }
.pt-flow-step-num {
  border-radius: 0;
  background: #fff;
  color: #1b1b1b;
  border: 2px solid #1b1b1b;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
}
.pt-flow-step-num::before { content: "0"; }

/* ---- 管理機能チップ・料金・補助金・事例・FAQ ---- */
.admin-chip-list li { border-radius: 0; border-color: #cfcfcf; }
.tag-included, .tag-excluded { border-radius: 0; }
.subsidy-box { border-radius: 0; border: 2px solid #1b1b1b; }
.subsidy-notice { border-radius: 0; }
.case-card, .shot-card, .service-card, .fly-faq-item { border-radius: 0; }
.service-card:hover { transform: none; }
.fly-faq-item { border-top: 2px solid #1b1b1b; }

/* ---- CTA ---- */
.cta-bar .btn-cta { border-radius: 0; }


/* ---- v5: 動画カードのポスターを実画面に。見出し・リードは本文へ ---- */
.fc-media.is-screen { aspect-ratio: 1200 / 750; background: #eef4fb; }
.fc-media.is-screen .fc-poster { object-position: center top; }
.feature-card-body.is-compact h3 { font-size: 19px; font-weight: 700; color: var(--text); margin: 0 0 4px; line-height: 1.4; }
.feature-card-body.is-compact .fc-lead { font-size: 14px; color: var(--text-light); line-height: 1.7; margin: 0 0 12px; }
.feature-card-body.is-compact .feature-ai-tag { margin-left: 6px; }

/* ---- v5: 「これまで → いま」（各カード 1 行。サイト内の事実だけを書く） ---- */
.fc-ba {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0 0 12px;
  padding: 10px 14px;
  background: var(--bg-light);
  border-left: 3px solid #1b1b1b;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
}
.fc-ba b {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: #8a8a8a;
  padding: 1px 6px;
  margin-right: 6px;
  vertical-align: 1px;
}
.fc-ba .ba-then { color: var(--text-light); }
.fc-ba .ba-arrow { color: var(--brand); font-weight: 700; }
.fc-ba .ba-now { font-weight: 700; }
.fc-ba .ba-now b { background: var(--brand); }
.fc-ba a { text-decoration: underline; }
section { counter-reset: pt-fc; }

/* ---- 実績ページ（tantan-ec / homesharing-payment）の丸部品 ---- */
.page-hero-banner { border-radius: 0; box-shadow: 0 24px 48px -24px rgba(0,0,0,.6); }
.effect-point .ep-icon { border-radius: 0; background: #fff; color: #1b1b1b; border: 1px solid #1b1b1b; }
.effect-banner { background: #1b1b1b; }
.effect-stat { border-left: 1px solid rgba(255,255,255,.25); }
.effect-stat .e-val { color: var(--accent); }

/* ---- インライン style の角丸ノート（border-radius:0 6px 6px 0）を直線に ---- */
[style*="border-radius:0 6px 6px 0"] { border-radius: 0 !important; }
