/* 分類詳細ページ（用途・業種・表現方法・活用先・予算・長さ・制作期間）の共通デザイン。
   body.promov-taxonomy-detail は対象の詳細ページだけに付与され、一覧ページや対象外タームには付かない。 */
body.promov-taxonomy-detail { background: #fff; color: var(--pv-ink); font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Noto Sans JP", Meiryo, sans-serif; }

/* 親テーマが出力するナビ本体は維持し、対象の分類詳細だけで見た目を共有する。 */
body.promov-taxonomy-detail #header-navigation { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--pv-border); background: #fff; box-shadow: none; }

@media (min-width: 1024px) {
  body.promov-taxonomy-detail #header-navigation .cactus-nav-main { background: #fff !important; color: var(--pv-ink) !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-container { width: 100%; max-width: 1200px; margin-right: auto; margin-left: auto; padding-right: 40px !important; padding-left: 40px !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-row { position: relative; display: flex; flex-flow: row nowrap !important; align-items: center; width: 100%; height: 70px; margin: 0 !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-row::before,
  body.promov-taxonomy-detail #header-navigation .cactus-row::after { display: none !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-nav-left:not(.cactus-only-main-menu) { position: relative !important; z-index: 2; float: none !important; flex: 0 0 auto; width: auto !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-logo,
  body.promov-taxonomy-detail #header-navigation .cactus-logo > a { display: block; width: 128px; height: 30px; padding: 0; }
  body.promov-taxonomy-detail #header-navigation .cactus-logo > a { background: url("../img/Black_Line_Logo_promov.png") no-repeat center / contain !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-logo img { width: 100%; height: 100%; opacity: 0 !important; visibility: hidden !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-open-left-sidebar,
  body.promov-taxonomy-detail #header-navigation .cactus-user-login,
  body.promov-taxonomy-detail #header-navigation .cactus-nav-right { display: none !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-only-main-menu { position: absolute !important; z-index: 1; inset: 0 !important; display: block !important; float: none !important; width: 100% !important; max-width: none !important; padding: 0 !important; border: 0; }
  body.promov-taxonomy-detail #header-navigation .cactus-only-main-menu > .cactus-main-menu { display: block; height: 100%; padding: 0 !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-main-menu > ul.nav { position: relative; display: flex !important; align-items: center; justify-content: center !important; gap: 2px; width: 100%; height: 100%; margin: 0; padding: 0; }
  body.promov-taxonomy-detail #header-navigation .cactus-main-menu > ul.nav > li { float: none !important; flex: 0 0 auto; }
  body.promov-taxonomy-detail #header-navigation .cactus-main-menu > ul.nav > li > a { width: auto !important; padding: 9px 7px !important; line-height: 1.2; white-space: nowrap !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-main-menu > ul.nav > li.promov-nav-estimate { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  body.promov-taxonomy-detail #header-navigation .cactus-main-menu > ul.nav > li.promov-nav-estimate > a { width: auto !important; margin: 0 !important; padding: 11px 16px !important; border-radius: var(--pv-r-md); background: var(--pv-accent); color: #fff !important; font-size: 14px !important; font-weight: 800; white-space: nowrap !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-main-menu > ul.nav > li.promov-nav-estimate > a:hover,
  body.promov-taxonomy-detail #header-navigation .cactus-main-menu > ul.nav > li.promov-nav-estimate > a:focus-visible { background: #e05240; color: #fff !important; box-shadow: 0 6px 16px rgba(216, 65, 47, 0.24); }
  body.promov-taxonomy-detail #header-navigation .cactus-main-menu > ul.nav > li.promov-nav-estimate > a:focus-visible { outline: 3px solid rgba(216, 65, 47, 0.38); outline-offset: 3px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  body.promov-taxonomy-detail #header-navigation .cactus-container { padding-right: 24px !important; padding-left: 24px !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-logo,
  body.promov-taxonomy-detail #header-navigation .cactus-logo > a { width: 96px; height: 24px; }
}

@media (max-width: 1023px) {
  body.promov-taxonomy-detail #header-navigation .cactus-nav-main { background: #fff !important; color: var(--pv-ink) !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-container { width: 100%; margin: 0 auto; padding: 0 18px !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-row,
  body.promov-taxonomy-detail #header-navigation .cactus-row.magin-30px { position: relative; display: flex !important; flex-flow: row nowrap !important; align-items: center; justify-content: flex-start !important; width: 100%; height: 58px; margin: 0 !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-row::before,
  body.promov-taxonomy-detail #header-navigation .cactus-row::after { display: none !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-nav-left:not(.cactus-only-main-menu) { position: static !important; order: 1; float: none !important; flex: 0 0 auto; width: auto !important; max-width: none !important; left: auto !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-logo,
  body.promov-taxonomy-detail #header-navigation .cactus-logo > a { display: block; width: 116px; height: 28px; padding: 0; }
  body.promov-taxonomy-detail #header-navigation .cactus-logo > a { background: url("../img/Black_Line_Logo_promov.png") no-repeat center / contain !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-logo img { width: 100%; height: 100%; opacity: 0 !important; visibility: hidden !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-open-left-sidebar,
  body.promov-taxonomy-detail #header-navigation .cactus-user-login { display: none !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-only-main-menu { position: static !important; order: 2; display: block !important; float: none !important; flex: 0 0 auto; width: auto !important; max-width: none !important; margin: 0 0 0 auto !important; padding: 0 !important; border: 0; }
  body.promov-taxonomy-detail #header-navigation .cactus-only-main-menu > .cactus-main-menu { display: block !important; padding: 0 !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-main-menu > ul.nav { display: flex !important; align-items: center; width: auto !important; margin: 0 !important; padding: 0 !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-main-menu > ul.nav > li { display: none !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-main-menu > ul.nav > li.promov-nav-estimate { display: block !important; float: none !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-main-menu > ul.nav > li.promov-nav-estimate > a { display: flex; align-items: center; justify-content: center; width: auto !important; min-height: 40px; margin: 0 !important; padding: 0 12px !important; border-radius: var(--pv-r-md); background: var(--pv-accent); color: #fff !important; font-size: 11px !important; font-weight: 800; line-height: 1; white-space: nowrap !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-main-menu > ul.nav > li.promov-nav-estimate > a:hover,
  body.promov-taxonomy-detail #header-navigation .cactus-main-menu > ul.nav > li.promov-nav-estimate > a:focus-visible { background: #e05240; color: #fff !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-nav-right { position: static !important; order: 3; display: flex !important; float: none !important; flex: 0 0 40px; align-items: center; justify-content: flex-end; width: 40px !important; max-width: 40px !important; margin: 0 0 0 8px !important; padding: 0 !important; right: auto !important; left: auto !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-nav-right::before { display: none !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-open-menu-mobile { display: block !important; margin: 0 !important; padding: 0 !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-open-menu-mobile > ul { margin: 0 !important; padding: 0 !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-open-menu-mobile > ul > li > a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0; padding: 0; border: 1px solid var(--pv-border); border-radius: var(--pv-r-md); background: #fff; color: var(--pv-ink) !important; font-size: 0 !important; }
  body.promov-taxonomy-detail #header-navigation .cactus-open-menu-mobile > ul > li > a > i { margin: 0; color: var(--pv-ink) !important; font-size: 20px !important; }
}

body.promov-taxonomy-detail .promov-objective-detail { max-width: none; margin: 0; padding: 0; overflow-x: clip; }
body.promov-taxonomy-detail .promov-objective-detail__breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: calc(100% - 40px); max-width: 1120px; margin: 0 auto 28px; padding-top: 28px; color: var(--pv-faint); font-size: 13px; }
body.promov-taxonomy-detail .promov-objective-detail__breadcrumb a { color: var(--pv-soft); text-decoration: none; }
body.promov-taxonomy-detail .promov-objective-detail__hero { width: 100%; margin: 0 0 60px; padding: 64px max(20px, calc((100vw - 1120px) / 2)) 68px; box-sizing: border-box; border-bottom: 1px solid var(--pv-border); background: radial-gradient(1200px 340px at 50% -60px, var(--pv-accent-tint), transparent 70%), linear-gradient(180deg, #fbfcfd, var(--pv-surface)); }
body.promov-taxonomy-detail .promov-objective-detail__hero-inner { width: 100%; max-width: 1120px; margin: 0 auto; }
body.promov-taxonomy-detail .promov-objective-detail__header { width: 100%; margin: 0 auto; text-align: center; }
body.promov-taxonomy-detail .promov-objective-detail__header h1 { max-width: 760px; margin: 0 auto; color: var(--pv-ink); font-size: 32px; font-weight: 800; line-height: 1.45; letter-spacing: -0.02em; text-wrap: balance; }
body.promov-taxonomy-detail .objective-detail-title__accent { color: #d8412f; }
body.promov-taxonomy-detail .promov-objective-detail__header p { max-width: 820px; margin: 18px auto 0; color: var(--pv-soft); font-size: 14px; line-height: 1.9; }
body.promov-taxonomy-detail .promov-archive-filter,
body.promov-taxonomy-detail .promov-archive-sort { box-sizing: border-box; border: 1px solid var(--pv-border); border-radius: var(--pv-r-lg); background: #fff; box-shadow: var(--pv-sh-md); }
body.promov-taxonomy-detail .promov-archive-filter { width: 100%; max-width: 940px; margin: 30px auto 18px; padding: 22px 24px 24px; }
body.promov-taxonomy-detail .promov-archive-filter__keyword input,
body.promov-taxonomy-detail .promov-archive-filter__fields select,
body.promov-taxonomy-detail .promov-archive-sort__field select { min-height: 42px; margin-bottom: 0; border: 1px solid var(--pv-border); border-radius: var(--pv-r-md); background: var(--pv-surface); color: var(--pv-ink); }
body.promov-taxonomy-detail .promov-archive-filter__keyword label,
body.promov-taxonomy-detail .promov-archive-filter__fields label > span,
body.promov-taxonomy-detail .promov-archive-sort__field > span,
body.promov-taxonomy-detail .promov-archive-sort__direction legend { color: var(--pv-soft); font-size: 11px; font-weight: 800; letter-spacing: 0.02em; }
body.promov-taxonomy-detail .promov-archive-filter__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.promov-taxonomy-detail .promov-archive-filter__actions { margin-top: 18px; }
body.promov-taxonomy-detail .promov-archive-filter__actions .promov-archive-sort__submit,
body.promov-taxonomy-detail .promov-archive-sort > .promov-archive-sort__submit { min-height: 42px; border-radius: var(--pv-r-md); background: var(--pv-accent); }
body.promov-taxonomy-detail .promov-archive-filter__actions a { color: var(--pv-accent); }
body.promov-taxonomy-detail .promov-archive-sort { display: grid; align-items: flex-end; grid-template-columns: minmax(0, 1fr) auto auto; width: 100%; max-width: 940px; margin: 0 auto; padding: 16px 18px; }
body.promov-taxonomy-detail .promov-archive-sort__field { min-width: 0; }
body.promov-taxonomy-detail .promov-archive-sort__direction span { min-height: 42px; box-sizing: border-box; border-color: var(--pv-border); }
body.promov-taxonomy-detail .promov-archive-sort__direction input:checked + span { border-color: var(--pv-accent); background: var(--pv-accent); }
body.promov-taxonomy-detail .promov-objective-detail > .ppg-section { width: calc(100% - 40px); max-width: 1120px; margin: 0 auto 40px; }

/* /video-search/ の「検索条件」ボックス。構造・文言・ロジックは無改変のまま、
   フィルター・並び替えカードと同じ白カードのトンマナに合わせる。 */
body.promov-taxonomy-detail .promov-video-search-summary { box-sizing: border-box; width: 100%; max-width: 940px; margin: 18px auto 0; padding: 20px 24px; border: 1px solid var(--pv-border); border-radius: var(--pv-r-lg); background: #fff; box-shadow: var(--pv-sh-md); }
body.promov-taxonomy-detail .promov-video-search-summary h2 { margin: 0 0 10px; color: var(--pv-soft); font-size: 11px; font-weight: 800; letter-spacing: 0.02em; }
body.promov-taxonomy-detail .promov-video-search-summary p { margin: 0; color: var(--pv-ink); font-size: 13.5px; line-height: 1.8; }
body.promov-taxonomy-detail .promov-video-search-conditions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.promov-taxonomy-detail .promov-video-search-conditions li { padding: 6px 12px; border: 1px solid var(--pv-border); border-radius: var(--pv-r-md); background: var(--pv-surface); color: var(--pv-ink); font-size: 12.5px; font-weight: 700; }
body.promov-taxonomy-detail .promov-video-search-count { margin: 14px 0 0; color: var(--pv-soft); font-size: 12.5px; font-weight: 700; }
body.promov-taxonomy-detail .promov-video-search-clear { display: inline-block; margin-top: 8px; color: var(--pv-accent); font-size: 12.5px; font-weight: 700; text-decoration: none; }
body.promov-taxonomy-detail .promov-video-search-clear:hover,
body.promov-taxonomy-detail .promov-video-search-clear:focus-visible { text-decoration: underline; }
body.promov-taxonomy-detail .promov-pagination { margin: 32px auto 0; }
body.promov-taxonomy-detail .promov-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.promov-taxonomy-detail .promov-pagination ul.page-numbers > li { margin: 0; padding: 0; }
body.promov-taxonomy-detail .promov-pagination .page-numbers a,
body.promov-taxonomy-detail .promov-pagination .page-numbers span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 10px; box-sizing: border-box; border: 1px solid var(--pv-border); border-radius: var(--pv-r-md); background: #fff; color: var(--pv-ink); font-size: 13px; font-weight: 700; line-height: 1; text-decoration: none; }
body.promov-taxonomy-detail .promov-pagination .page-numbers .current { border-color: var(--pv-accent); background: var(--pv-accent); color: #fff; }
body.promov-taxonomy-detail .promov-objective-detail-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 28px; align-items: center; width: calc(100% - 80px); max-width: 1120px; margin: 4px auto 64px; padding: 34px 40px; overflow: hidden; border-radius: var(--pv-r-xl); background: radial-gradient(460px 200px at 88% 30%, rgba(216, 65, 47, 0.32), transparent 70%), linear-gradient(120deg, #1b1f24, #2a2f36); text-align: left; }
body.promov-taxonomy-detail .promov-objective-detail-cta p { grid-column: 1; grid-row: 1; margin: 0 0 6px; color: #c4a29b; font-size: 12.5px; font-weight: 700; }
body.promov-taxonomy-detail .promov-objective-detail-cta h2 { grid-column: 1; grid-row: 2; margin: 0; color: #fff; font-size: 21px; font-weight: 800; line-height: 1.5; }
body.promov-taxonomy-detail .promov-objective-detail-cta a { grid-column: 2; grid-row: 1 / 3; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 30px; border-radius: var(--pv-r-md); background: var(--pv-accent); color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
body.promov-taxonomy-detail .promov-objective-detail-cta a:hover,
body.promov-taxonomy-detail .promov-objective-detail-cta a:focus-visible { background: #e05240; color: #fff !important; box-shadow: 0 6px 16px rgba(216, 65, 47, 0.24); }
body.promov-taxonomy-detail .promov-objective-detail-cta a:focus-visible { outline: 3px solid rgba(216, 65, 47, 0.38); outline-offset: 3px; }
body.promov-taxonomy-detail .promov-objective-detail-footer { padding: 48px 40px 26px; border-top: 1px solid var(--pv-border); background: var(--pv-surface); color: var(--pv-ink); }
body.promov-taxonomy-detail footer.promov-theme-footer { background: #fff !important; }
body.promov-taxonomy-detail .promov-objective-detail-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; width: 100%; max-width: 1120px; margin: 0 auto; padding-bottom: 40px; }
body.promov-taxonomy-detail .promov-objective-detail-footer__title { display: inline-block; width: 150px; height: 30px; margin: 0 0 14px; }
body.promov-taxonomy-detail .promov-objective-detail-footer__title img { display: block; width: 150px; height: 30px; object-fit: contain; }
body.promov-taxonomy-detail .promov-objective-detail-footer__desc { max-width: 280px; margin: 0; color: var(--pv-soft); font-size: 12px; line-height: 1.85; opacity: 1; }
body.promov-taxonomy-detail .promov-objective-detail-footer__heading { margin: 0 0 14px; color: var(--pv-ink); font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; }
body.promov-taxonomy-detail .promov-objective-detail-footer__col ul { margin: 0; padding: 0; list-style: none; }
body.promov-taxonomy-detail .promov-objective-detail-footer__col li { margin-bottom: 10px; }
body.promov-taxonomy-detail .promov-objective-detail-footer__col a { color: var(--pv-soft); font-size: 12.5px; opacity: 1; text-decoration: none; }
body.promov-taxonomy-detail .promov-objective-detail-footer__col a:hover,
body.promov-taxonomy-detail .promov-objective-detail-footer__col a:focus-visible { color: var(--pv-accent); text-decoration: none; }
body.promov-taxonomy-detail .promov-objective-detail-footer__copyright { max-width: 1120px; margin: 0 auto; padding-top: 32px; border-top: 1px solid var(--pv-border); color: var(--pv-faint); font-size: 11px; opacity: 1; }

@media (max-width: 1199px) {
  body.promov-taxonomy-detail .promov-archive-filter__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body.promov-taxonomy-detail .promov-objective-detail__breadcrumb { width: calc(100% - 36px); margin-bottom: 20px; padding-top: 20px; }
  body.promov-taxonomy-detail .promov-objective-detail__hero { margin-bottom: 34px; padding: 38px 18px 42px; }
  body.promov-taxonomy-detail .promov-objective-detail__header h1 { font-size: 24px; line-height: 1.5; }
  body.promov-taxonomy-detail .promov-objective-detail__header p { box-sizing: border-box; width: calc(100% - 32px); max-width: none; margin: 14px auto 0; font-size: 13px; line-height: 1.85; text-align: left; }
  body.promov-taxonomy-detail .promov-archive-filter { margin-top: 24px; padding: 16px; }
  body.promov-taxonomy-detail .promov-archive-filter__fields { grid-template-columns: 1fr; }
  body.promov-taxonomy-detail .promov-archive-filter__actions { gap: 10px; }
  body.promov-taxonomy-detail .promov-archive-filter__actions .promov-archive-sort__submit,
  body.promov-taxonomy-detail .promov-archive-sort > .promov-archive-sort__submit { width: 100%; }
  body.promov-taxonomy-detail .promov-archive-sort { grid-template-columns: 1fr; align-items: stretch; padding: 16px; }
  body.promov-taxonomy-detail .promov-archive-sort__field,
  body.promov-taxonomy-detail .promov-archive-sort__direction,
  body.promov-taxonomy-detail .promov-archive-sort__submit { width: 100%; }
  body.promov-taxonomy-detail .promov-objective-detail > .ppg-section { width: calc(100% - 32px); }
  body.promov-taxonomy-detail .promov-video-search-summary { margin-top: 16px; padding: 16px; }
  body.promov-taxonomy-detail .promov-objective-detail-cta { display: block; width: calc(100% - 36px); margin: 6px auto 48px; padding: 24px; text-align: center; }
  body.promov-taxonomy-detail .promov-objective-detail-cta p,
  body.promov-taxonomy-detail .promov-objective-detail-cta h2 { text-align: center !important; }
  body.promov-taxonomy-detail .promov-objective-detail-cta h2 { font-size: 19px; }
  body.promov-taxonomy-detail .promov-objective-detail-cta a { width: 100%; margin-top: 16px; }
  body.promov-taxonomy-detail .promov-objective-detail-footer { padding: 36px 24px 22px; text-align: center; }
  body.promov-taxonomy-detail .promov-objective-detail-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 32px; }
  body.promov-taxonomy-detail .promov-objective-detail-footer__title,
  body.promov-taxonomy-detail .promov-objective-detail-footer__title img,
  body.promov-taxonomy-detail .promov-objective-detail-footer__desc { margin-right: auto; margin-left: auto; }
  body.promov-taxonomy-detail .promov-objective-detail-footer__col { width: 100%; min-width: 0; text-align: left; }
  body.promov-taxonomy-detail .promov-objective-detail-footer__heading { margin-bottom: 8px; text-align: left; }
  body.promov-taxonomy-detail .promov-objective-detail-footer__col ul { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2px 16px; width: 100%; text-align: left; }
  body.promov-taxonomy-detail .promov-objective-detail-footer__col li { flex: 0 1 auto; min-width: 0; margin: 0; }
  body.promov-taxonomy-detail .promov-objective-detail-footer__col a { display: inline-flex; align-items: center; min-height: 32px; max-width: 100%; overflow-wrap: anywhere; }
  body.promov-taxonomy-detail .promov-objective-detail-footer__copyright { text-align: center; }
}
