/* プロモブ公開側デザイン用トークン。既存の内部識別子とは分離する。 */
:root {
  --pv-ink: #14181d;
  --pv-soft: #5b6572;
  --pv-faint: #8a929b;
  --pv-surface: #f5f7f8;
  --pv-surface2: #edf0f2;
  --pv-surface3: #e3e8ec;
  --pv-border: #e2e6ea;
  --pv-border-strong: #cbd1d7;
  --pv-accent: #d8412f;
  --pv-accent-dk: #ad2e1f;
  --pv-accent-tint: #fceeeb;
  --pv-r-sm: 6px;
  --pv-r-md: 9px;
  --pv-r-lg: 12px;
  --pv-r-xl: 16px;
  --pv-sh-md: 0 4px 14px rgba(20, 24, 29, 0.06);
  --pv-sh-lg: 0 10px 28px rgba(20, 24, 29, 0.09);
  --pv-t: 0.15s ease;
}

/*
 * The active theme limits ordinary page content to a narrow reading column.
 * Scope this override to the dashboard shortcode page so public pages retain
 * the theme's layout.
 */
body.promov-dashboard-page .single-page-content.single-content,
body.promov-dashboard-page .body-content,
body.promov-dashboard-page .entry-content,
body.promov-dashboard-page .post-content {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

body.promov-dashboard-page .promov-dashboard__header,
body.promov-dashboard-page .promov-tab-content,
body.promov-dashboard-page .promov-case-table-wrap,
body.promov-dashboard-page .promov-dashboard form {
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
}

.promov-dashboard {
  width: calc(100% - 64px);
  max-width: 1240px;
  margin: 1.5rem auto 72px;
  padding: 0;
}

/* Keep the dashboard itself constrained; only its theme parents are fluid. */
body.promov-dashboard-page .promov-dashboard {
  width: calc(100% - 64px);
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

.promov-consult-form,
.promov-join-form,
.promov-company-block,
.promov-companies-grid,
.promov-expression-archive {
  max-width: 1200px;
  margin: 1.5rem auto;
  padding: 0 16px;
}

.promov-dashboard__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.promov-dashboard__logout {
  margin: 1rem 0 0;
}

.promov-dashboard__logout a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #555;
  background: #fff;
  text-decoration: none;
}

.ppg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ppg-card {
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  overflow: hidden;
  background: #fff;
  transition: border-color var(--pv-t), box-shadow var(--pv-t), transform var(--pv-t);
}

.ppg-card:hover {
  border-color: var(--pv-border-strong);
  box-shadow: var(--pv-sh-lg);
  transform: translateY(-2px);
}

.ppg-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ppg-body {
  padding: 0.75rem;
}

.ppg-post-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.ppg-post-title a {
  color: var(--pv-ink);
  text-decoration: none;
}

.ppg-company-name {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: #666;
}

.ppg-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ppg-pill {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.75rem;
  background: var(--pv-surface);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-sm);
  color: var(--pv-soft);
  text-decoration: none;
}

a.ppg-pill:hover {
  border-color: var(--pv-border-strong);
  color: var(--pv-accent);
}

a.ppg-pill:focus-visible {
  outline: 2px solid var(--pv-accent);
  outline-offset: 2px;
}

.ppg-section {
  margin: 0 0 40px;
}

.ppg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 15px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--pv-border);
}

.ppg-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--pv-ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ppg-title::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 19px;
  background: var(--pv-accent);
  border-radius: 2px;
}

.ppg-more {
  flex: 0 0 auto;
  color: var(--pv-soft);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: color var(--pv-t);
}

.ppg-more:hover {
  color: var(--pv-accent);
}

.promov-video-search-results,
.promov-video-search-form {
  max-width: 1200px;
  margin: 1.5rem auto;
  padding: 0 16px;
}

.promov-video-search-results-inner > h1 {
  margin: 0 0 1rem;
}

.promov-video-search-form {
  margin: 0;
  padding: 22px 24px 24px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  box-shadow: var(--pv-sh-md);
  background: #fff;
}

.promov-video-search-field label {
  display: block;
  margin-bottom: 5px;
  color: var(--pv-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.promov-video-search-field input,
.promov-video-search-field select {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-md);
  background: var(--pv-surface);
  color: var(--pv-ink);
  font-size: 13px;
  transition: border-color var(--pv-t), background var(--pv-t);
}

.promov-video-search-field input:focus,
.promov-video-search-field select:focus {
  outline: none;
  border-color: var(--pv-accent);
  background: #fff;
}

.promov-video-search-field input {
  padding: 0.6rem 0.75rem;
}

.promov-video-search-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.promov-video-search-submit {
  display: block;
  min-width: 220px;
  margin: 1.25rem auto 0;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: var(--pv-r-md);
  background: var(--pv-accent);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  transition: background var(--pv-t);
}

.promov-video-search-submit:hover {
  background: var(--pv-accent-dk);
}

.promov-video-search-summary {
  margin: 1.5rem 0;
  padding: 1rem;
  border-left: 3px solid #e63838;
  background: #f8f8f8;
}

.promov-video-search-summary h2 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.promov-video-search-conditions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promov-video-search-count {
  margin: 0.8rem 0;
  font-weight: 700;
}

.promov-video-search-clear,
.promov-video-search-empty-actions a {
  color: #c92f2f;
  text-decoration: underline;
}

.promov-video-search-empty {
  padding: 2rem 1rem;
  text-align: center;
}

.promov-video-search-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.promov-video-search-pagination {
  margin: 2rem 0;
  text-align: center;
}

.promov-video-search-pagination .page-numbers {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0;
  list-style: none;
}

.promov-video-search-pagination a,
.promov-video-search-pagination span {
  display: block;
  padding: 0.4rem 0.65rem;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
}

.promov-video-search-pagination .current {
  border-color: #e63838;
  background: #e63838;
  color: #fff;
}

.promov-home-notices {
  width: 100%;
  box-sizing: border-box;
  padding: 48px 16px;
  background: #fff;
}

/* お知らせ一覧（/news/）は assets/css/notices.css の共通トンマナへ移したため、
   以下の旧定義からは .promov-notices-archive / .promov-notices-list を外してある。
   トップページのお知らせ（.promov-home-notices__*）とお知らせ個別ページ
   （.promov-notice-single）は、引き続きこの定義を使う。 */
.promov-home-notices__inner {
  max-width: 960px;
  margin: 0 auto;
}

.promov-home-notices__heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.promov-home-notices__heading-row h2 {
  margin: 0;
}

.promov-home-notices__heading-row a {
  color: #c92f2f;
  text-decoration: none;
}

.promov-home-notices__heading-row a:hover {
  text-decoration: underline;
}

.promov-home-notices__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #ddd;
  list-style: none;
}

.promov-home-notices__list li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #ddd;
}

.promov-home-notices__list time,
.promov-notice-single__header time {
  color: #666;
  font-size: 0.9rem;
}

.promov-home-notices__list a {
  color: #222;
  text-decoration: none;
}

.promov-home-notices__list a:hover {
  color: #c92f2f;
  text-decoration: underline;
}

.promov-notice-single {
  box-sizing: border-box;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 0 16px 64px;
}

.promov-notice-single__header {
  margin-bottom: 32px;
}

.promov-notice-single {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
}

.promov-notice-single__header time {
  display: block;
  margin-bottom: 12px;
}

.promov-notice-single__content {
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.promov-video-taxonomy-archive {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px;
}

.promov-video-taxonomy-archive__header {
  margin-bottom: 32px;
}

.promov-archive-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 0 0 24px;
  padding: 14px;
  border: 1px solid #e2e2e2;
  background: #fafafa;
}

.promov-archive-sort__field {
  min-width: 210px;
}

.promov-archive-sort__field > span,
.promov-archive-sort__direction legend {
  display: block;
  margin-bottom: 6px;
  color: #333;
  font-size: 0.82rem;
  font-weight: 700;
}

.promov-archive-sort__field select {
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
}

.promov-archive-sort__direction {
  display: flex;
  margin: 0;
  padding: 0;
  border: 0;
}

.promov-archive-sort__direction legend {
  width: 100%;
}

.promov-archive-sort__direction label {
  position: relative;
  cursor: pointer;
}

.promov-archive-sort__direction input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.promov-archive-sort__direction span {
  display: block;
  min-width: 64px;
  padding: 9px 12px;
  border: 1px solid #ccc;
  background: #fff;
  text-align: center;
}

.promov-archive-sort__direction label:first-of-type span {
  border-radius: 4px 0 0 4px;
}

.promov-archive-sort__direction label:last-of-type span {
  margin-left: -1px;
  border-radius: 0 4px 4px 0;
}

.promov-archive-sort__direction input:checked + span {
  position: relative;
  z-index: 1;
  border-color: #e63838;
  background: #e63838;
  color: #fff;
}

.promov-archive-sort__direction input:focus-visible + span {
  outline: 2px solid #222;
  outline-offset: 2px;
}

.promov-archive-sort__submit {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background: #333;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.promov-archive-filter {
	max-width: 1280px;
	margin: 0 auto 32px;
	padding: 20px;
	border: 1px solid #e4e7eb;
	border-radius: 8px;
	background: #fff;
}

.promov-archive-filter__current {
	margin: 0 0 16px;
	font-weight: 700;
}

.promov-archive-filter__keyword input,
.promov-archive-filter__fields select {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	border: 1px solid #c9d0d8;
	border-radius: 4px;
	background: #fff;
	padding: 8px 10px;
}

.promov-archive-filter__keyword {
	margin-bottom: 14px;
}

.promov-archive-filter__keyword label,
.promov-archive-filter__fields label > span {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
}

.promov-archive-filter__fields {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.promov-archive-filter__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 20px;
}

.promov-archive-filter__actions a {
	color: #3559e9;
	font-size: 14px;
}

.promov-consult-form__title {
  margin: 0 0 0.75rem;
}

.promov-consult-form__lead {
  margin: 0 0 1.25rem;
  line-height: 1.7;
  color: #444;
}

.promov-consult-complete {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
}
.promov-consult-complete h1,
.promov-consult-complete h2 {
  margin-top: 0;
}
.promov-consult-complete__number {
  font-size: 1.05rem;
}
.promov-consult-complete__date {
  color: #555;
}
.promov-consult-complete__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* 送信完了ページ（/estimate/complete/、お問い合わせ完了ページ）だけ、他の共通カード
   （.promov-estimate .promov-form 等）と同じトークン・角丸・シャドウに揃える。 */
:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete {
  max-width: none;
  padding: 28px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  background: #fff;
  box-shadow: var(--pv-sh-md);
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__lead {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pv-accent-tint);
  color: var(--pv-accent);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete h2 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--pv-ink);
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__lead p {
  margin: 0;
  font-size: 14px;
  color: var(--pv-soft);
  line-height: 1.95;
}

/* /privacy/ の本文（.promov-editorial-policy__body）と同じ文字サイズ・行間に揃える。 */
:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete > p {
  font-size: 14px;
  color: var(--pv-soft);
  line-height: 1.95;
}

/* 一般お問い合わせ完了ページの案内文は、左揃えのままカード中央に配置する。 */
body.promov-general-contact-complete-page .promov-consult-complete > p {
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__meta {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--pv-surface);
  border-radius: var(--pv-r-md);
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__number,
:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__date {
  flex: 1;
  margin: 0;
  font-size: 12.5px;
  color: var(--pv-ink);
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__date {
  border-left: 1px solid var(--pv-border);
  padding-left: 16px;
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__number span,
:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__date span {
  display: block;
  margin-bottom: 3px;
  color: var(--pv-faint);
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__number strong,
:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__date strong {
  font-weight: 700;
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__flow {
  border-top: 1px solid var(--pv-border);
  padding-top: 18px;
  margin: 4px 0 20px;
}

/* estimateはh3、制作会社掲載お問い合わせはh2（文言・見出しレベルは変更しないため）。 */
:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__flow :is(h2, h3) {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pv-ink);
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__flow ol {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: promov-consult-complete-step;
}

/* strong と p は<li>直下の兄弟要素のため、<li>をflexにすると横並びになってしまう。
   バッジは絶対配置にして、見出し→本文は通常のブロックの流れで縦に積む。 */
:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__flow li {
  position: relative;
  padding-left: 34px;
  counter-increment: promov-consult-complete-step;
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__flow li::before {
  content: counter(promov-consult-complete-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pv-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* バッジ（::before）は22px固定の丸のため、見出しの行の高さも22pxに揃えて
   数字と見出しの中心を一致させる（行の上端はliの上端に揃っているが、
   通常のline-heightだと文字が行の下側に寄って見えるためズレていた）。 */
:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__flow li strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
  color: var(--pv-ink);
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__flow li p {
  margin: 0;
  font-size: 14px;
  color: var(--pv-soft);
  line-height: 1.95;
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__actions .promov-btn {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pv-r-md);
  font-size: 12.5px;
  font-weight: 700;
  background: var(--pv-accent);
  color: #fff !important;
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__actions .promov-btn:hover,
:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__actions .promov-btn:focus-visible {
  background: var(--pv-accent-dk);
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__actions .promov-btn--secondary {
  border: 1px solid var(--pv-border-strong);
  background: #fff;
  color: var(--pv-ink) !important;
}

:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__actions .promov-btn--secondary:hover,
:is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__actions .promov-btn--secondary:focus-visible {
  border-color: var(--pv-accent);
  color: var(--pv-accent) !important;
  background: #fff;
}

/* 一般お問い合わせ完了ページは、トップページへの導線をカード中央に配置する。 */
body.promov-general-contact-complete-page .promov-consult-complete__actions {
  justify-content: center;
}

@media (max-width: 767px) {
  :is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete {
    padding: 20px;
  }

  :is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__meta {
    flex-direction: column;
    gap: 12px;
  }

  :is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__date {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--pv-border);
    padding-top: 12px;
  }

  :is(body.promov-estimate-complete-page, body.promov-listing-contact-complete-page, body.promov-general-contact-complete-page) .promov-consult-complete__actions {
    flex-direction: column;
  }

  body.promov-general-contact-complete-page .promov-consult-complete__actions {
    align-items: center;
  }
}

.promov-reference-box {
  margin: 0 0 1.25rem;
  padding: 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fafafa;
}

.promov-reference-box__label {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.promov-reference-box__title,
.promov-reference-box__url {
  margin: 0.25rem 0;
}


/* 制作会社カードは .promov-companies-archive 配下で全面的に上書きする。
   ここは動画詳細ページの会社ブロックなど、一覧以外で使う最小限の基本形だけを残す。 */
.promov-company-card {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  padding: 1rem;
  background: #fff;
}

.promov-company-card__logo,
.promov-company-card__thumb {
  flex: 0 0 180px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--pv-r-md);
  background: var(--pv-surface);
}

.promov-company-card__logo img,
.promov-company-card__thumb img,
.promov-company-card__image {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  display: block;
}

.promov-company-card__image--logo {
  box-sizing: border-box;
  object-fit: contain;
  padding: 1rem;
}

.promov-company-card__logo .promov-company-logo__placeholder,
.promov-company-card__thumb .promov-company-logo__placeholder {
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.promov-company-card__body {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.5rem;
}

.promov-company-card__title,
.promov-company-card__location,
.promov-company-card__headline,
.promov-company-card__cases {
  margin: 0;
}

.promov-company-card__headline {
  font-weight: 700;
}

.promov-company-card__location,
.promov-company-block__location {
  color: var(--pv-soft);
}

.promov-company-card__actions,
.promov-company-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.promov-company-block__title {
  margin-top: 0;
}

.promov-company-block__actions {
  margin-top: 1rem;
}

@media (max-width: 1199px) {
  .ppg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promov-video-search-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ppg-grid {
    grid-template-columns: 1fr;
  }

  .promov-video-search-form {
    padding: 1rem;
  }

  .promov-video-search-filters {
    grid-template-columns: 1fr;
  }

  .promov-archive-filter {
    padding: 16px;
  }

  .promov-archive-filter__fields {
    grid-template-columns: 1fr;
  }

  .promov-archive-filter__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .promov-archive-filter__actions .promov-archive-sort__submit {
    width: 100%;
  }

  .promov-video-search-submit {
    width: 100%;
    min-width: 0;
  }

  .ppg-title {
    font-size: 16px;
  }

  .promov-video-search-empty-actions {
    flex-direction: column;
  }

  .promov-home-notices {
    padding: 36px 16px;
  }

  .promov-home-notices__heading-row {
    align-items: flex-end;
  }

  .promov-home-notices__list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .promov-archive-sort {
    align-items: stretch;
  }

  .promov-archive-sort__field,
  .promov-archive-sort__submit {
    width: 100%;
  }

  .promov-company-card {
    flex-direction: column;
  }

  .promov-company-card__thumb {
    flex-basis: auto;
    min-height: 180px;
  }

}

.promov-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

.promov-tabs a {
  padding: 0.4rem 0.8rem;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
}

.promov-tabs a.is-active {
  background: #d9251d;
  color: #fff;
}

.promov-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #d9251d;
  color: #fff !important;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.promov-notice {
  padding: 0.75rem 1rem;
  background: #eef9ee;
  border: 1px solid #b8e0b8;
  border-radius: 4px;
}

.promov-notice--error {
  background: #fff3f3;
  border-color: #f0b4b4;
}

/* 管理パネル上部の案内と、直後の入力枠が接しないようにする。 */
.promov-tab-content > .promov-notice {
	margin: 0 0 16px;
}

/* =========================================================================
   制作会社管理画面：ホームタブ（0.9.171）
   -------------------------------------------------------------------------
   サマリーカードと、アカウントタブを併合したパネル。承認済みモック
   docs/design-proposals/company-dashboard-v1/ の cdv-summary / cdv-panel を
   踏襲し、サイト全体の --pv-* トークン（本ファイル冒頭で定義済み）を使う。
   影は既存の共通トークン --pv-sh-md（ごく薄い影）をそのまま流用する。
   ========================================================================= */

.pdh-title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--pv-ink);
}

.pdh-title--account {
  margin-top: 44px;
}

.pdh-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pdh-summary__card {
  padding: 22px 20px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  background: #fff;
  box-shadow: var(--pv-sh-md);
}

.pdh-summary__label {
  margin: 0 0 10px;
  color: var(--pv-soft);
  font-size: 13px;
  font-weight: 700;
}

.pdh-summary__value {
  margin: 0;
  color: var(--pv-ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.pdh-panel {
  padding: 24px 28px 28px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  background: #fff;
  box-shadow: var(--pv-sh-md);
}

.pdh-panel--narrow {
  max-width: 640px;
}

/* アカウント更新後の案内と、直後の白い入力枠を分ける。 */
.promov-home > .promov-home__account-notice {
  margin: 0 0 20px;
}

.pdh-panel__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--pv-ink);
}

.pdh-panel__title--spaced {
  margin-top: 28px;
}

/* 掲載問い合わせフォームと同じ、丸型の必須表示。 */
.pdh-panel .promov-required {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	margin-left: 8px;
	padding: 1px 7px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	vertical-align: middle;
}

.pdh-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
}

.pdh-help {
  margin: 0 0 14px;
  color: var(--pv-soft);
  font-size: 12.5px;
  line-height: 1.7;
}

.pdh-panel__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--pv-border);
}

.pdh-panel__label {
  color: var(--pv-soft);
  font-size: 13px;
  font-weight: 700;
}

.pdh-panel__value {
  color: var(--pv-ink);
  font-size: 15px;
  font-weight: 700;
}

/* 案件詳細。制作会社向けLP（/for-production-companies/）の「参考動画と希望条件が
   紐づいた状態で相談が届きます」欄のカード（.pclp-inquiry__card）と同じ見た目にする。
   .pclp-* は当該ページ限定のCSSにあり、管理画面へ読み込ませるとスタイル漏れの
   危険があるため、値だけを移植して .pdh-lead-* として持つ。 */
.pdh-lead-card {
  overflow: hidden;
  max-width: 880px;
  margin: 0 0 20px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  background: #fff;
  box-shadow: var(--pv-sh-md);
}

/* 案件種別・ステータスを示す帯。薄い赤（キーカラーの淡色）。文字は濃い墨のまま。 */
.pdh-lead-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 28px;
  border-bottom: 1px solid #f0ece6;
  background: #fdf1ee;
}

.pdh-lead-card__headTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #141820;
  font-size: clamp(15px, 0.93rem + 0.15vw, 17px);
  font-weight: 700;
  line-height: 1.6;
}

.pdh-lead-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pv-accent);
}

.pdh-lead-card__status {
  color: #7c8695;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.pdh-lead-card__status--unopened {
  color: var(--pv-accent);
}

.pdh-lead-card__body {
  padding: 24px 28px;
}

.pdh-lead-label {
  margin: 0;
  color: #7c8695;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.pdh-lead-section {
  margin-top: 26px;
}

.pdh-lead-refName {
  margin: 8px 0 0;
  color: #141820;
  font-size: clamp(15px, 0.93rem + 0.15vw, 17px);
  font-weight: 700;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.pdh-lead-refName a {
  color: var(--pv-accent);
}

/* 希望条件。ラベル｜値の罫線リスト。 */
.pdh-lead-cond {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  padding: 0;
  border-top: 1px solid #f0ece6;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
  font-size: 13px;
  line-height: 1.7;
}

.pdh-lead-cond li {
  display: grid;
  gap: 4px 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0ece6;
  grid-template-columns: minmax(0, 1fr);
}

.pdh-lead-cond b {
  color: var(--pv-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.pdh-lead-cond span {
  color: #141820;
  font-weight: 400;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.pdh-lead-cond a {
  color: var(--pv-accent);
  font-weight: 700;
}

/* 発注担当者の連絡先。他の希望条件と混ざらないよう淡いベージュ面で独立させる。 */
.pdh-lead-contact {
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid #f0ece6;
  border-radius: var(--pv-r-md);
  background: #f7f4f0;
}

@media (max-width: 559px) {
  .pdh-lead-card__head {
    padding-right: 16px;
    padding-left: 16px;
  }

  .pdh-lead-card__body {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (min-width: 560px) {
  .pdh-lead-cond li {
    grid-template-columns: 10em minmax(0, 1fr);
    align-items: baseline;
  }
}

.pdh-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pv-soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.pdh-back-link:hover {
  color: var(--pv-ink);
}

.pdh-field {
  margin: 0 0 22px;
}

.pdh-field label {
  display: block;
  margin: 0 0 8px;
  color: var(--pv-soft);
  font-size: 13px;
  font-weight: 700;
}

.pdh-input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-md);
  background: var(--pv-surface);
  color: var(--pv-ink);
  font-size: 14px;
  box-sizing: border-box;
}

.pdh-input:focus-visible {
  outline: 2px solid var(--pv-accent);
  outline-offset: 1px;
}

.pdh-fieldset {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.pdh-fieldset legend {
  margin: 0 0 12px;
  padding: 0;
  color: var(--pv-ink);
  font-size: 14px;
  font-weight: 800;
}

.pdh-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--pv-soft);
  font-size: 13.5px;
  line-height: 1.7;
  cursor: pointer;
}

.pdh-checkbox:last-child {
  margin-bottom: 0;
}

.pdh-checkbox input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--pv-accent);
}

.pdh-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--pv-border);
}

.pdh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--pv-r-md);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.pdh-btn--primary {
  border: 0;
  background: var(--pv-accent);
  color: #fff;
}

.pdh-btn--primary:hover,
.pdh-btn--primary:focus-visible {
  background: #e2604f;
  color: #fff;
}

/* 補助ボタン。白だと「グレーのボタン」に見えないため、薄いグレーで塗る。
   編集（--outline）・削除（--danger）は白のままにして役割の差を残す。 */
.pdh-btn--secondary {
  border: 1px solid var(--pv-border);
  background: var(--pv-surface);
  color: var(--pv-ink);
}

.pdh-btn--secondary:hover,
.pdh-btn--secondary:focus-visible {
  border-color: var(--pv-faint);
  background: var(--pv-surface2);
  color: var(--pv-ink);
}

.pdh-btn:focus-visible {
  outline: 2px solid var(--pv-accent);
  outline-offset: 2px;
}

.pdh-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.pdh-btn--primary:disabled:hover {
  background: var(--pv-accent);
}

.pdh-btn--small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 12.5px;
}

/* -------------------------------------------------------------------------
   会社情報タブ：複数パネルのフォーム（見出し・入力欄・テキストエリア・ロゴ・
   都道府県チェックボックス）。一覧カードに表示する制作事例（.promov-card-cases__*）は
   既に --pv-* トークンで実装済みのため、ここでは触れない（0.9.173）。
   ------------------------------------------------------------------------- */

.pdh-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pdh-textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-md);
  background: var(--pv-surface);
  color: var(--pv-ink);
  font-size: 14px;
  line-height: 1.7;
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
}

.pdh-textarea:focus-visible {
  outline: 2px solid var(--pv-accent);
  outline-offset: 1px;
}

.pdh-counter {
  margin: 8px 0 0;
  color: var(--pv-faint);
  font-size: 12px;
  text-align: right;
}

.pdh-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pdh-field--logo {
  margin-bottom: 0;
}

.pdh-logo-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pdh-logo-preview {
  flex: none;
  width: 80px;
  height: 80px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-md);
  background: var(--pv-surface);
  object-fit: contain;
}

.pdh-logo-upload {
  flex: 1;
  min-width: 0;
}

.pdh-file {
  display: block;
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--pv-soft);
}

.pdh-checkbox--compact {
  margin: 0;
  font-size: 12.5px;
}

.pdh-check-actions {
  display: flex;
  gap: 10px;
  margin: 0 0 14px;
}

.pdh-checkboxes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px 14px;
}

.pdh-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pv-soft);
  font-size: 13px;
  cursor: pointer;
}

.pdh-check-label input {
  flex: none;
  width: 16px;
  height: 16px;
  accent-color: var(--pv-accent);
}

.pdh-form__submit {
  display: flex;
	flex-wrap: wrap;
  justify-content: flex-start;
	gap: 12px;
}

.pdh-email-change-form {
	margin-top: 20px;
}

.pdh-withdrawal-note {
	margin-top: 14px;
	color: var(--pv-soft);
	font-size: 12px;
	line-height: 1.7;
	max-width: 100%;
}

.pdh-withdrawal-note summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	cursor: pointer;
	list-style: none;
	user-select: none;
	outline: none;
}

.pdh-withdrawal-note summary::-webkit-details-marker {
	display: none;
}

.pdh-withdrawal-note summary::after {
	content: "";
	flex: none;
	width: 5px;
	height: 5px;
	margin-top: -1px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.18s ease;
}

.pdh-withdrawal-note[open] summary::after {
	transform: rotate(225deg);
}

.pdh-withdrawal-note summary:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pdh-withdrawal-note__body,
.pdh-withdrawal-note p {
	margin: 0 !important;
	padding: 0;
	max-width: 100%;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.pdh-withdrawal-note__body {
	margin-top: 8px !important;
}

.pdh-withdrawal-note__title {
	color: var(--pv-ink);
	font-weight: 700;
	line-height: 1.7;
}

.pdh-publication-required-notice {
	flex-basis: 100%;
	margin: 0 0 4px;
}

.pdh-panel__value--email {
	margin: 0;
	padding: 12px 14px;
	border-radius: var(--pv-r-sm);
	background: var(--pv-surface2);
}

/* -------------------------------------------------------------------------
   汎用：セクション見出し行・統計カード（件数・残高）
   ------------------------------------------------------------------------- */

.pdh-summary--compact {
  grid-template-columns: repeat(2, minmax(0, 260px));
  margin-bottom: 28px;
}

/* -------------------------------------------------------------------------
   事例管理タブ：ステータスタブ・操作バー・並び替えチップ・事例カード
   ------------------------------------------------------------------------- */

.pdh-statustabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.pdh-statustabs__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--pv-border);
  border-radius: 999px;
  background: #fff;
  color: var(--pv-soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.pdh-statustabs__item strong {
  font-weight: 800;
}

.pdh-statustabs__item.is-active {
  border-color: var(--pv-accent);
  background: var(--pv-accent);
  color: #fff;
}

.pdh-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 20px;
}

.pdh-sortbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
}

.pdh-sortbar__label {
  margin-right: 4px;
  color: var(--pv-soft);
  font-size: 12.5px;
  font-weight: 700;
}

.pdh-sort-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border: 1px solid var(--pv-border);
  border-radius: 999px;
  background: #fff;
  color: var(--pv-soft);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.pdh-sort-chip.is-current {
  border-color: var(--pv-accent);
  background: var(--pv-accent-tint);
  color: var(--pv-accent);
}

.pdh-case-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 24px;
}

.pdh-case-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--pv-border-strong);
  border-radius: var(--pv-r-lg);
  background: #fff;
  box-shadow: var(--pv-sh-md);
}

.pdh-case-card__thumb {
  flex: none;
  width: 176px;
  height: 99px;
  border-radius: var(--pv-r-sm);
  background: var(--pv-surface2);
  object-fit: cover;
}

.pdh-case-card__thumb-empty {
  flex: none;
  width: 176px;
  height: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pv-r-sm);
  background: var(--pv-surface2);
  color: var(--pv-faint);
  font-size: 11.5px;
}

.pdh-case-card__body {
  flex: 1;
  min-width: 0;
}

.pdh-case-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
}

.pdh-case-card__title {
  margin: 0 0 8px;
  color: var(--pv-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.pdh-case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--pv-faint);
  font-size: 12.5px;
}

.pdh-case-card__meta a {
  color: var(--pv-soft);
}

.pdh-case-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* 編集＝白背景・赤枠線・赤文字（通常操作として分かりやすく、保存ボタンほど強くしない）。 */
.pdh-btn--outline {
  border: 1px solid var(--pv-accent);
  background: #fff;
  color: var(--pv-accent);
}

.pdh-btn--outline:hover,
.pdh-btn--outline:focus-visible {
  background: var(--pv-accent-tint);
  color: var(--pv-accent);
}

/* 削除＝抑制された赤（保存ボタンと同じ強さのソリッド赤にはしない）。旧 .promov-btn--danger とは別物。 */
.pdh-btn--danger {
  border: 1px solid #d99490;
  background: #fff;
  color: #a51d18;
}

.pdh-btn--danger:hover,
.pdh-btn--danger:focus-visible {
  background: var(--pv-accent-tint);
  color: #a51d18;
}

.pdh-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.pdh-status--publish {
  color: #0f6e56;
  background: #e1f5ee;
}

.pdh-status--draft {
  color: #5f5e5a;
  background: #f1efe8;
}

.pdh-status--excluded {
  color: #a51d18;
  background: var(--pv-accent-tint);
}

.pdh-status--unavailable {
  color: #805900;
  background: #fff4d6;
}

/* -------------------------------------------------------------------------
   案件一覧・クレジット：データテーブル・ページネーション・空状態
   ------------------------------------------------------------------------- */

.pdh-table-wrap {
  overflow-x: auto;
  margin: 0 0 20px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  background: #fff;
  box-shadow: var(--pv-sh-md);
}

/* 直後の注記を表に近づける（必要ポイント表など）。 */
.pdh-table-wrap--tight {
  margin-bottom: 6px;
}

.pdh-table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 13px;
}

/* videopro/style.css の `table:not(#wp-calendar) thead + tbody > tr:nth-child(odd/even)` が
   :not(#id) を使いID相当の詳細度（1,1,4）を持つため、通常のクラス指定（0,2,2）では勝てず、
   縞模様の背景（奇数行 rgba(215,215,215,.18)）が常に優先されてしまう
   （ホバーだけでなく、通常表示時も縞模様が出てしまっていた）。
   このテーブルではその縞模様を使わない設計のため、!importantで明示的に打ち消す。 */
.pdh-table tbody tr {
  background: transparent !important;
}

.pdh-table--clickable-rows tbody tr {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.pdh-table--clickable-rows tbody tr:hover {
  background: var(--pv-surface3) !important;
}

.pdh-table--clickable-rows tbody tr:focus-visible {
  outline: 2px solid var(--pv-accent);
  outline-offset: -2px;
}

.pdh-table th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--pv-border);
  background: var(--pv-surface);
  color: var(--pv-soft);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.pdh-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--pv-border);
  color: var(--pv-ink);
  white-space: nowrap;
}

/* 案件詳細の募集状況・開封情報は同じテーブルの器を使い、外側パネルを重ねない。 */
.promov-dashboard .pdh-lead-card,
.promov-dashboard .pdh-table-wrap--recruitment,
.promov-dashboard .pdh-table-wrap--unlock-info {
  max-width: 880px;
}

.promov-dashboard .pdh-lead-section--recruitment > .pdh-lead-label,
.promov-dashboard .pdh-lead-section--unlock-info > .pdh-lead-label {
  color: var(--pv-ink);
}

.promov-dashboard .pdh-lead-section--recruitment {
  margin-top: 0;
  margin-bottom: 28px;
}

.promov-dashboard .pdh-table-wrap--recruitment,
.promov-dashboard .pdh-table-wrap--unlock-info {
  margin-bottom: 0;
}

.promov-dashboard .pdh-table--recruitment,
.promov-dashboard .pdh-table--unlock-info {
  min-width: 0;
  table-layout: auto;
}

.promov-dashboard .pdh-table--recruitment th,
.promov-dashboard .pdh-table--recruitment td,
.promov-dashboard .pdh-table--unlock-info th,
.promov-dashboard .pdh-table--unlock-info td {
  writing-mode: horizontal-tb;
  white-space: normal;
  overflow-wrap: anywhere;
}

.promov-dashboard .pdh-table--recruitment th,
.promov-dashboard .pdh-table--unlock-info th {
  word-break: keep-all;
}

.promov-dashboard .pdh-table--recruitment tbody th,
.promov-dashboard .pdh-table--unlock-info tbody th {
  /* 親テーマのtable/th指定より優先し、両テーブルの行見出しを同じ太さに揃える。 */
  font-weight: 800 !important;
}

.promov-dashboard .pdh-table--recruitment td,
.promov-dashboard .pdh-table--unlock-info td {
  word-break: break-word;
}

.promov-dashboard .pdh-table--recruitment__col-label,
.promov-dashboard .pdh-table--unlock-info__col-label {
  width: 10em;
}

/* ポイント履歴はメモ列を残り幅へ自然に配分し、長文をセル内で折り返す。 */
.promov-dashboard .pdh-table-wrap--points-history .pdh-table {
  min-width: 0;
  table-layout: auto;
}

.promov-dashboard .pdh-table-wrap--points-history .pdh-table td {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pdh-table tbody tr:last-child td {
  border-bottom: 0;
}

.pdh-table a {
  color: var(--pv-accent);
  font-weight: 700;
  text-decoration: none;
}

.pdh-table a:hover {
  text-decoration: underline;
}

.pdh-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pdh-pagination a,
.pdh-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-sm);
  color: var(--pv-soft);
  font-size: 13px;
  text-decoration: none;
}

.pdh-pagination .current {
  border-color: var(--pv-accent);
  background: var(--pv-accent);
  color: #fff;
  font-weight: 800;
}

.pdh-empty {
  padding: 48px 24px;
  border: 1px dashed var(--pv-border);
  border-radius: var(--pv-r-lg);
  background: #fff;
  color: var(--pv-soft);
  font-size: 13.5px;
  text-align: center;
}

/* ポイントタブ：保有ポイントの単位表記 */
.pdh-summary__unit {
  margin-left: 4px;
  color: var(--pv-soft);
  font-size: 14px;
  font-weight: 700;
}

.pdh-points-purchase {
  margin-top: 28px;
}

.pdh-points-purchase p {
  margin: 0;
  color: var(--pv-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

/* 購入パックは横1列。767px以下では2カラムへ折り返す。 */
.pdh-purchase-grid {
  display: grid;
  gap: 12px;
  margin: 4px 0 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 767px) {
  .pdh-purchase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pdh-purchase-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-md);
  background: var(--pv-surface);
  text-align: center;
}

.pdh-purchase-card__points {
  color: var(--pv-ink);
  font-size: 22px;
  font-weight: 800;
}

.pdh-purchase-card__points span {
  margin-left: 2px;
  font-size: 13px;
  font-weight: 700;
}

.pdh-purchase-card__price {
	margin-bottom: 6px;
	color: var(--pv-soft);
	font-size: 13px;
}

.pdh-purchase-card__tax {
	margin-left: 2px;
	font-size: 11px;
}

.pdh-purchase-card__btn {
  width: 100%;
}

/* 案件予算ごとの必要ポイント表：金額列は左、ポイント列は右寄せ・強調 */
.pdh-points-tiers td:last-child,
.pdh-points-tiers th:last-child {
  text-align: right;
}

/* 親テーマ由来の詳細度・キャッシュに左右されず確実に反映させるため!importantを使う
   （0.9.177で.pdh-table tbody tr背景に適用した対策と同じ考え方）。 */
.pdh-points-tiers td:last-child {
  color: var(--pv-accent) !important;
  font-weight: 800 !important;
}

/* 制作会社用お知らせ（ホームタブ、最新の開催中1件をピン留め）。
   お知らせ個別ページ（.nd-panel）と同じ「上端5pxのブランド赤罫線」で統一する。 */
.pdh-notice-card {
  margin-bottom: 28px;
  padding: 24px 28px 28px;
  border: 1px solid var(--pv-border);
  border-top: 5px solid var(--pv-accent);
  border-radius: var(--pv-r-lg);
  background: #fff;
  box-shadow: var(--pv-sh-md);
}

.pdh-notice-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--pv-accent-tint);
  color: var(--pv-accent-dk);
  font-size: 11.5px;
  font-weight: 800;
}

.pdh-notice-card__date {
  margin-left: 8px;
  color: var(--pv-faint);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pdh-notice-card__title {
  margin: 6px 0 0;
  color: var(--pv-ink);
  font-size: 17px;
  font-weight: 800;
}

.pdh-notice-card__body {
  margin-top: 10px;
  color: var(--pv-soft);
  font-size: 13.5px;
  line-height: 1.9;
}

.pdh-notice-card__body ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.pdh-notice-card__body p + ul,
.pdh-notice-card__body ul + p {
  margin-top: 8px;
}

/* 履歴：タイトルのみのリンク一覧（既存お知らせウィジェットと同じ形式） */
.pdh-notice-history {
  margin: 0 0 28px;
  padding: 0;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  background: #fff;
  list-style: none;
  overflow: hidden;
}

.pdh-notice-history li + li {
  border-top: 1px solid var(--pv-border);
}

.pdh-notice-history a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 18px;
  color: var(--pv-ink);
  text-decoration: none;
}

.pdh-notice-history a:hover {
  background: var(--pv-surface);
}

.pdh-notice-history time {
  flex: none;
  color: var(--pv-faint);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pdh-notice-history a span {
  min-width: 0;
  flex: 1;
  font-size: 13.5px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.pdh-notice-archive-link {
  margin: 0 0 28px;
  font-size: 13.5px;
  font-weight: 700;
  text-align: right;
}

.pdh-notice-history a .pdh-notice-history__status {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--pv-surface2);
  color: var(--pv-soft);
  font-size: 11.5px;
  font-weight: 800;
}

/* 履歴テーブルの獲得/利用バッジ */
.pdh-points-type {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.pdh-points-type--earn {
  background: var(--pv-surface2);
  color: var(--pv-soft);
}

.pdh-points-type--use {
  background: var(--pv-accent-tint);
  color: var(--pv-accent-dk);
}

@media (max-width: 1023px) {
  .pdh-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdh-checkboxes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .pdh-field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pdh-checkboxes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pdh-logo-row {
    flex-direction: column;
  }

  .pdh-form__submit .pdh-btn {
    width: 100%;
  }

	.pdh-form__submit {
		gap: 8px;
	}

  .pdh-summary--compact {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .pdh-case-card {
    flex-direction: column;
  }

  .pdh-case-card__thumb,
  .pdh-case-card__thumb-empty {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .pdh-toolbar {
    flex-direction: column;
  }

  .pdh-toolbar .pdh-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .pdh-summary {
    grid-template-columns: 1fr;
  }

  .pdh-summary__value {
    font-size: 26px;
  }

  .pdh-panel {
    padding: 20px;
  }

  .pdh-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pdh-btn {
    width: 100%;
  }

  .pdh-statustabs__item {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .pdh-checkboxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdh-panel__head {
    flex-direction: column;
  }
}

.promov-fieldset {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}

.promov-fieldset legend {
  font-weight: 600;
  padding: 0 0.25rem;
}

.promov-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.35rem 0.75rem;
}

.promov-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.promov-form .description {
  display: block;
  margin-top: 0.35rem;
  color: #666;
  font-size: 0.9rem;
}

/* 制作事例登録・編集フォーム */
.promov-case-form .promov-case-form__field {
  margin: 0 0 2rem;
}

.promov-case-form .promov-case-form__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.5rem;
}

.promov-case-form .promov-case-form__label {
  color: #222;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.promov-case-form .promov-case-form__header .promov-required,
.promov-case-form .promov-case-form__header .promov-optional {
  margin-left: 0;
}

.promov-case-form .promov-case-form__control {
  margin: 0;
}

.promov-case-form .promov-case-form__help {
  margin-top: 0.5rem;
  color: #666;
  font-size: 0.875rem;
  line-height: 1.6;
}

.promov-case-form .promov-case-form__example,
.promov-case-form .promov-case-form__note {
  margin: 0;
}

.promov-case-form .promov-case-form__tips {
  margin: 0.6rem 0 0;
  padding: 0.7rem 0.9rem 0.7rem 2rem;
  color: #5f5f5f;
  background: #f7f8fa;
  border-radius: 4px;
}

.promov-case-form .promov-case-form__tips li + li {
  margin-top: 0.35rem;
}

@media (max-width: 480px) {
  .promov-case-form .promov-case-form__field {
    margin-bottom: 1.75rem;
  }

  .promov-case-form .promov-case-form__tips {
    padding-right: 0.75rem;
    padding-left: 1.7rem;
  }
}

/* -----------------------------------------------------------------------
 * 制作会社向け公開ログイン／パスワード再設定
 * デザインは docs/design-proposals/company-auth-v1 のモックに合わせる。
 * 見出し・説明文を含むカード本体を対象にする。
 * 影・角丸は https://stg.promov.jp/contact/ のフォームカードと同じ値
 * （--pv-sh-md / --pv-r-lg）を使う。
 * ----------------------------------------------------------------------- */
.promov-company-login {
  width: calc(100% - 32px);
  max-width: 600px;
  margin: 64px auto 96px;
}
.promov-company-login__card {
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  background: #fff;
  box-shadow: var(--pv-sh-md);
}
/* 1項目しかないパスワード再設定は縦の間延びを抑える */
.promov-company-login__card--compact {
  padding-bottom: clamp(28px, 3.4vw, 40px);
}
.promov-company-login h1 {
  margin: 0 0 12px;
  color: var(--pv-ink);
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.promov-company-login__intro {
  margin: 0 0 28px;
  color: var(--pv-soft);
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
}
.promov-company-login form > p:not(.promov-company-login__remember) {
  margin: 0 0 20px;
}
.promov-company-login label {
  display: block;
  margin-bottom: 8px;
  color: var(--pv-ink);
  font-size: 14px;
  font-weight: 700;
}
.promov-company-login input[type="text"],
.promov-company-login input[type="password"] {
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-sm);
  background: #fff;
  color: var(--pv-ink);
  font: inherit;
  font-size: 15px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.promov-company-login input[type="text"]::placeholder,
.promov-company-login input[type="password"]::placeholder {
  color: var(--pv-faint);
}
.promov-company-login input[type="text"]:focus,
.promov-company-login input[type="password"]:focus {
  border-color: var(--pv-accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--pv-accent-tint);
}
.promov-company-login input:focus-visible {
  outline: 2px solid var(--pv-accent);
  outline-offset: 1px;
}
.promov-company-login__remember {
  display: flex;
  align-items: center;
  margin: 4px 0 24px;
}
.promov-company-login__remember label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--pv-soft);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}
.promov-company-login__remember input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--pv-accent);
}
.promov-company-login button {
  display: block;
  width: 100%;
  min-height: 50px;
  height: auto;
  padding: 10px 12px 9px;
  margin: 4px 0 0;
  border: 0;
  border-radius: var(--pv-r-sm);
  background: var(--pv-accent);
  color: #fff;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  transition: background-color .16s ease;
}
.promov-company-login button:hover {
  background: #e2604f;
  color: #fff;
}
.promov-company-login button:focus-visible {
  outline: 2px solid var(--pv-accent-dk);
  outline-offset: 2px;
}
.promov-company-login__remember,
.promov-company-login__reset {
  margin: 0 0 20px;
}
.promov-company-login__reset {
  margin: 22px 0 0;
  text-align: center;
}
.promov-company-login__reset a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pv-faint);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .16s ease;
}
.promov-company-login__reset a:hover {
  color: var(--pv-accent);
}
.promov-company-login__reset a:focus-visible {
  outline: 2px solid var(--pv-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.promov-company-login__back-arrow {
  flex: none;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
}
.promov-company-login__error,
.promov-company-login__success {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-left: 4px solid transparent;
  border-radius: var(--pv-r-sm);
  font-size: 14px;
  line-height: 1.7;
}
.promov-company-login__error {
  border-left-color: var(--pv-accent);
  background: var(--pv-accent-tint);
  color: var(--pv-accent-dk);
}
.promov-company-login__success {
  border-left-color: #2f8f5b;
  background: #eaf6ef;
  color: #1f6b43;
}
.promov-company-login__trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
}
@media (max-width: 560px) {
  .promov-company-login {
    margin-top: 40px;
  }
  .promov-company-login__card {
    padding: 28px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .promov-company-login input[type="text"],
  .promov-company-login input[type="password"],
  .promov-company-login button,
  .promov-company-login__reset a {
    transition: none;
  }
}

.promov-required {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: #d9251d;
  border-radius: 3px;
  vertical-align: middle;
}

.promov-optional {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.8rem;
  color: #888;
}

.promov-check-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.promov-btn--small {
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

.promov-btn--secondary {
  background: #666;
}

.promov-disclosure {
  margin-top: 1.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 0.75rem 1rem;
}

.promov-disclosure__summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.promov-disclosure__summary::-webkit-details-marker {
  display: none;
}

.promov-disclosure__body {
  margin-top: 1rem;
}

.promov-case-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.promov-case-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #eee;
}

.promov-case-list__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.promov-case-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.promov-case-toolbar .promov-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
}

.promov-case-public-sort.is-active {
  border-color: var(--pv-accent);
  background: var(--pv-accent);
  color: #fff !important;
}

.promov-case-public-sort.is-active:hover,
.promov-case-public-sort.is-active:focus-visible {
  border-color: var(--pv-accent-dk);
  background: var(--pv-accent-dk);
}

.promov-case-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.promov-case-counts__item {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 8.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.promov-case-counts__item:hover,
.promov-case-counts__item:focus-visible,
.promov-case-counts__item.is-current {
  border-color: #555;
  color: inherit;
  text-decoration: none;
}

.promov-case-counts__item.is-current {
  box-shadow: inset 0 0 0 1px #555;
}

.promov-case-counts__item span,
.promov-case-counts__item small {
  color: #666;
  font-size: 0.85rem;
}

.promov-case-counts__item strong {
  font-size: 1.4rem;
}

.promov-case-table-wrap {
  width: 100%;
  overflow-x: hidden;
}

.promov-case-list-section {
  scroll-margin-top: 7rem;
}

.promov-case-sort-mobile {
  display: none;
}

.promov-case-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.promov-case-table__col-status { width: 90px; }
.promov-case-table__col-date { width: 110px; }
.promov-case-table__col-thumbnail { width: 176px; }
.promov-case-table__col-actions { width: 230px; }

.promov-lead-table__col-type { width: 115px; }
.promov-lead-table__col-status { width: 85px; }
.promov-lead-table__col-date { width: 105px; }
.promov-lead-table__col-budget { width: 125px; }
.promov-lead-table__col-count { width: 80px; }

.promov-case-table th {
  white-space: nowrap;
}

.promov-case-sort-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.promov-case-sort-link:hover,
.promov-case-sort-link:focus-visible {
  color: var(--pv-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.promov-case-sort-link:focus-visible,
.promov-case-sort-chip:focus-visible,
.promov-case-public-sort:focus-visible {
  outline: 2px solid var(--pv-accent);
  outline-offset: 2px;
}

.promov-case-sort-link__indicator {
  color: #888;
  opacity: 0.45;
  font-size: 0.82em;
  line-height: 1;
}

.promov-case-sort-link.is-current .promov-case-sort-link__indicator {
  color: var(--pv-accent);
  opacity: 1;
}

.promov-case-table td {
  min-width: 0;
  overflow-wrap: anywhere;
}

.promov-case-table td small {
  overflow-wrap: anywhere;
}

.promov-case-table__title-text,
.promov-case-video-link {
  display: block;
}

.promov-case-video-link {
  margin-top: 0.4rem;
}

.promov-case-video-link--mobile {
  display: none;
}

.promov-case-table__thumbnail {
  width: 176px;
  padding: 0 !important;
}

.promov-case-table__thumbnail img {
  display: block;
  width: 176px;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #f2f2f2;
}

.promov-case-thumbnail-empty {
  display: grid;
  width: 176px;
  aspect-ratio: 16 / 9;
  place-items: center;
  color: #777;
  background: #f2f2f2;
  font-size: 0.8rem;
}

.promov-case-status {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: #444;
  background: #eee;
  font-size: 0.8rem;
  white-space: nowrap;
}

.promov-case-status--publish {
  color: #176b35;
  background: #e8f6ed;
}

.promov-case-status--pending {
  color: #805900;
  background: #fff4d6;
}

.promov-case-status--excluded {
  color: #7a2d2d;
  background: #f8e8e8;
}

.promov-case-title-preview {
  display: block;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f7f7f7;
  font-weight: 600;
}

.promov-case-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.promov-case-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.8rem;
}

.promov-case-actions a,
.promov-case-actions button {
  white-space: nowrap;
}

.promov-link-btn--danger {
  color: #a51d18;
}

.promov-case-danger-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e5e5;
}

.promov-case-secondary-action {
  margin: 0;
}

.promov-btn--danger {
  background: #a51d18;
}

.promov-case-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 1.25rem 0 0;
}

.promov-case-pagination .page-numbers {
  display: inline-block;
  min-width: 2rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
}

.promov-case-pagination .page-numbers.current {
  color: #fff;
  border-color: #333;
  background: #333;
}

.promov-video-thumbnail-preview {
  max-width: 480px;
  margin-top: 0.75rem;
}

.promov-video-thumbnail-preview[hidden] {
  display: none;
}

.promov-video-thumbnail-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f2f2f2;
}

@media (max-width: 900px) {
  .promov-dashboard {
    width: calc(100% - 32px);
  }

  body.promov-dashboard-page .promov-dashboard {
    width: calc(100% - 32px);
  }

  .promov-case-table-wrap {
    overflow-x: hidden;
  }

  .promov-case-public-sort--desktop {
    display: none !important;
  }

  .promov-case-sort-mobile {
    display: block;
    margin: 0 0 1rem;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f8f8f8;
  }

  .promov-case-sort-mobile__label {
    display: block;
    margin: 0 0 0.45rem;
    color: #555;
    font-size: 0.85rem;
    font-weight: 600;
  }

  .promov-case-sort-mobile__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .promov-case-sort-mobile .promov-case-sort-link,
  .promov-case-sort-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.45rem 0.7rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #333;
    line-height: 1.3;
    text-decoration: none;
    white-space: normal;
  }

  .promov-case-sort-mobile .promov-case-sort-link:hover,
  .promov-case-sort-mobile .promov-case-sort-link:focus-visible,
  .promov-case-sort-chip:hover,
  .promov-case-sort-chip:focus-visible {
    border-color: var(--pv-accent);
    color: var(--pv-accent);
    text-decoration: none;
  }

  .promov-case-sort-mobile .promov-case-sort-link.is-current,
  .promov-case-sort-chip.is-active {
    border-color: var(--pv-accent);
    background: var(--pv-accent);
    color: #fff !important;
  }

  .promov-case-sort-mobile .promov-case-sort-link.is-current .promov-case-sort-link__indicator {
    color: currentColor;
  }

  .promov-case-table {
    min-width: 0;
  }

  .promov-case-table thead,
  .promov-lead-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .promov-table.promov-case-table,
  .promov-table.promov-case-table tbody,
  .promov-table.promov-case-table tr,
  .promov-table.promov-case-table td {
    display: block;
    width: 100%;
  }

	.promov-table.promov-case-table tr {
		display: flex;
		flex-direction: column;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
  }

	.promov-table.promov-case-table td:nth-child(3) { order: 1; }
	.promov-table.promov-case-table td:nth-child(1) { order: 2; }
	.promov-table.promov-case-table td:nth-child(4) { order: 3; }
	.promov-table.promov-case-table td:nth-child(2) { order: 4; }
	.promov-table.promov-case-table td:nth-child(5) { order: 5; }

  .promov-table.promov-case-table td {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid #eee;
  }

  .promov-table.promov-case-table td::before {
    content: attr(data-label);
    font-weight: 600;
  }

  .promov-table.promov-case-table td:last-child {
    border-bottom: 0;
  }

  .promov-table.promov-lead-table tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
  }

  .promov-table.promov-lead-table td:nth-child(1) { order: 1; }
  .promov-table.promov-lead-table td:nth-child(2) { order: 2; }
  .promov-table.promov-lead-table td:nth-child(3) { order: 3; }
  .promov-table.promov-lead-table td:nth-child(4) { order: 4; }
  .promov-table.promov-lead-table td:nth-child(5) { order: 5; }
  .promov-table.promov-lead-table td:nth-child(6) { order: 6; }
  .promov-table.promov-lead-table td:nth-child(7) { order: 7; }
  .promov-table.promov-lead-table td:nth-child(8) { order: 8; }
  .promov-table.promov-lead-table td:nth-child(9) { order: 9; }

  .promov-table.promov-lead-table td {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid #eee;
  }

  .promov-table.promov-lead-table td::before {
    content: attr(data-label);
    font-weight: 600;
  }

  .promov-table.promov-lead-table td:last-child {
    border-bottom: 0;
  }

  .promov-case-table__thumbnail {
    display: block !important;
    width: 100%;
    padding: 0 !important;
  }

  .promov-case-table__thumbnail img,
  .promov-case-thumbnail-empty {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .promov-table.promov-case-table td.promov-case-table__thumbnail::before {
    display: none;
  }

  .promov-case-video-link--desktop {
    display: none;
  }

  .promov-case-video-link--mobile {
    display: block;
  }
}

.promov-inline-form {
  display: inline;
  margin: 0;
}

.promov-link-btn {
  background: none;
  border: none;
  color: #d9251d;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font: inherit;
}

.promov-radio-list .promov-check-label {
  display: block;
}

.ppg-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

.promov-single-highlight {
  margin: 28px auto 40px;
  max-width: 960px;
  padding: 16px 0 0;
  border-top: 1px solid #eee;
}

.promov-single-highlight-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
}

.promov-single-highlight-body {
  margin: 0;
  line-height: 1.7;
  color: #444;
  white-space: pre-wrap;
}

.promov-video-embed {
  margin-bottom: 1.5rem;
}

.promov-single-inquiry {
  margin: 0 0 1rem;
}


.promov-form input[type="text"],
.promov-form input[type="email"],
.promov-form input[type="url"],
.promov-form input[type="tel"],
.promov-form select,
.promov-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.promov-company-block {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fafafa;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: start;
  gap: 2rem;
  max-width: 1200px;
  box-sizing: border-box;
}

.promov-company-block__logo {
  width: 200px;
  aspect-ratio: 1 / 1;
  padding: 1rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f5f6f8;
}

.promov-company-block__logo .promov-company-logo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.promov-company-block__logo .promov-company-logo__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promov-company-block__content {
  min-width: 0;
}

.promov-company-block__title {
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   制作会社一覧（/find-production-companies/）
   トップページと同じ 1200px コンテナ / 1120px 実効幅へ揃える。
   ══════════════════════════════════════════════════════════════ */

.promov-companies-archive__empty {
  margin: 0;
  color: var(--pv-soft);
}

.promov-companies-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto 34px;
  padding: 0;
}

/* カードの5要素はすべて直接の子。スマートフォンで grid-template-areas により
   「制作事例 → ボタン」の順へ入れ替えるため、中間ラッパーを作らない。 */
:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 200px;
  grid-template-areas:
    "logo names actions"
    "logo main  actions"
    "cases cases cases";
  align-content: start;
  column-gap: 24px;
  row-gap: 0;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  background: #fff;
  box-shadow: var(--pv-sh-md);
  padding: 24px;
  transition: box-shadow var(--pv-t), transform var(--pv-t);
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card:hover {
  box-shadow: var(--pv-sh-lg);
  transform: translateY(-2px);
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__logo {
  grid-area: logo;
  align-self: start;
  flex: none;
  width: 140px;
  height: 140px;
  min-height: 0;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-md);
  background: var(--pv-surface);
  overflow: hidden;
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__logo img,
:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__logo .promov-company-logo__img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  display: block;
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__logo .promov-company-logo__placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--pv-faint);
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__names {
  grid-area: names;
  min-width: 0;
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  /* 行間を詰めるのは半レディング（(行高-文字高)/2）が住所との間隔に上乗せされるため。
     margin だけを 0 にしても見た目の間隔は縮まらない。 */
  line-height: 1.3;
  letter-spacing: -0.01em;
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__location {
  margin: 0;
  color: var(--pv-soft);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__main {
  grid-area: main;
  min-width: 0;
  align-self: start;
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__headline {
  margin: 11px 0 0;
  color: var(--pv-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__features {
  margin: 14px 0 0;
}

/* 3項目を1列3行で並べる。2列にすると3項目目だけ折り返されて不自然になる。 */
:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__strengths {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__strengths li {
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-md);
  background: var(--pv-surface);
  padding: 9px 12px;
  color: var(--pv-ink);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.65;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* 150文字の全文を表示する。line-clamp や三点リーダーは使わない。 */
:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__desc {
  margin: 14px 0 0;
  color: var(--pv-soft);
  font-size: 12.5px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__actions {
  grid-area: actions;
  align-self: start;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 9px;
  margin-top: 0;
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__actions .promov-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--pv-r-md);
  background: var(--pv-accent);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  text-align: center;
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__actions .promov-btn:hover {
  background: var(--pv-accent-dk);
}

/* 共通 .promov-btn が color:#fff !important を持つため、
   白背景の副ボタンは !important で打ち消さないと白文字のまま見えなくなる。 */
:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__actions .promov-btn--secondary {
  min-height: 40px;
  border: 1px solid var(--pv-border-strong);
  background: #fff;
  color: var(--pv-ink) !important;
  font-size: 13px;
  font-weight: 700;
}

:is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__actions .promov-btn--secondary:hover {
  background: var(--pv-surface);
  color: var(--pv-ink) !important;
}

/* ── カード内の制作事例 ── */
.promov-company-card__caselist {
  grid-area: cases;
  border-top: 1px solid var(--pv-border);
  margin-top: 20px;
  padding-top: 16px;
}

.promov-company-card__caselist-title {
  margin: 0 0 11px;
  font-size: 12px;
  font-weight: 800;
  color: var(--pv-soft);
  letter-spacing: 0.02em;
}

.promov-company-card__casegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.promov-company-case {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.promov-company-case__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border-radius: var(--pv-r-md);
  background: var(--pv-surface2);
  overflow: hidden;
}

.promov-company-case__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promov-company-case__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 7px 0 0;
  color: var(--pv-ink);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  transition: color var(--pv-t);
}

.promov-company-case:hover .promov-company-case__title,
.promov-company-case:focus-visible .promov-company-case__title {
  color: var(--pv-accent);
  text-decoration: underline;
  text-decoration-color: var(--pv-accent);
}

/* ── ページネーション（分類詳細ページと同一仕様） ── */
.promov-companies-archive .promov-pagination {
  margin: 0 0 34px;
}

.promov-companies-archive .promov-pagination ul.page-numbers,
.promov-notices .promov-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promov-companies-archive .promov-pagination ul.page-numbers > li,
.promov-notices .promov-pagination ul.page-numbers > li {
  margin: 0;
  padding: 0;
}

.promov-companies-archive .promov-pagination .page-numbers a,
.promov-companies-archive .promov-pagination .page-numbers span,
.promov-notices .promov-pagination .page-numbers a,
.promov-notices .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;
}

.promov-companies-archive .promov-pagination .page-numbers .current,
.promov-notices .promov-pagination .page-numbers .current {
  border-color: var(--pv-accent);
  background: var(--pv-accent);
  color: #fff;
}

/* ══ 1024–1199px ══ */
@media (max-width: 1199px) {
  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card {
    grid-template-columns: 120px minmax(0, 1fr) 180px;
    column-gap: 20px;
  }

  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__logo {
    width: 120px;
    height: 120px;
  }
}

/* ══ 768–1023px：ナビはモバイル、ページ本体はPC・タブレット共通ベース ══ */
@media (max-width: 1023px) {
  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card {
    grid-template-columns: 110px minmax(0, 1fr);
    grid-template-areas:
      "logo names"
      "main main"
      "actions actions"
      "cases cases";
    column-gap: 18px;
  }

  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__logo {
    width: 110px;
    height: 110px;
  }

  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 16px;
  }

  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__actions .promov-btn {
    flex: 1 1 240px;
  }

  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__actions .promov-btn--secondary {
    flex: 1 1 160px;
  }

  .promov-company-card__casegrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ══ 767px以下：スマートフォン。制作事例をボタンより先に見せる ══ */
@media (max-width: 767px) {
  .promov-company-block {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .promov-company-block__logo {
    width: 120px;
    justify-self: center;
  }

  .promov-company-block__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .promov-company-block__actions .promov-btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .promov-companies-grid {
    gap: 16px;
    margin-bottom: 22px;
  }

  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "logo names"
      "main main"
      "cases cases"
      "actions actions";
    column-gap: 12px;
    padding: 16px;
  }

  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card:hover {
    transform: none;
    box-shadow: var(--pv-sh-md);
  }

  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__logo {
    width: 72px;
    height: 72px;
  }

  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__title {
    font-size: 16px;
    line-height: 1.35;
  }

  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__location {
    font-size: 12px;
    line-height: 1.65;
  }

  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__headline {
    font-size: 13.5px;
  }

  .promov-company-card__caselist {
    margin-top: 14px;
    padding-top: 13px;
  }

  .promov-company-card__casegrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .promov-company-case__title {
    font-size: 12px;
    line-height: 1.55;
  }

  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__actions {
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid var(--pv-border);
    margin-top: 14px;
    padding-top: 13px;
  }

  /* 縦並びでは flex-basis が「高さ」になるため、タブレット幅で指定した flex を必ず解除する。
     解除側は 1023px 側の指定（詳細度 0,3,0）と同じ詳細度で書くこと。
     `__actions > *`（0,2,0）では負けて、ボタンが高さ240pxのまま残る。 */
  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__actions .promov-btn,
  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__actions .promov-btn--secondary {
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__actions .promov-btn {
    min-height: 48px;
    font-size: 14px;
  }

  :is(.promov-companies-archive, .promov-company-detail, .promov-video-detail) .promov-company-card__actions .promov-btn--secondary {
    min-height: 44px;
    font-size: 13.5px;
  }
}

.promov-table {
  width: 100%;
  border-collapse: collapse;
}

.promov-table th,
.promov-table td {
  border: 1px solid #ddd;
  padding: 0.5rem;
  text-align: left;
}

.promov-dl dt {
  font-weight: 600;
  margin-top: 0.5rem;
}

.promov-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.75rem;
  background: #eee;
  border-radius: 3px;
}

@media (max-width: 600px) {
  .promov-tabs {
    flex-direction: column;
  }
}

/* 共通お問い合わせCTA */
.promov-estimate-cta {
  width: calc(100% - 40px);
  max-width: 1200px;
  box-sizing: border-box;
  margin: 20px auto;
  padding: 44px 24px;
  text-align: center;
  border-radius: 12px;
  background: #fff2f1;
}

.promov-estimate-cta p {
  margin: 0 0 8px;
  color: #8b211d;
  font-weight: 700;
}

.promov-estimate-cta h2 {
  margin: 0 0 24px;
  font-size: clamp(22px, 3vw, 30px);
}

.promov-estimate-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  background: #df2119;
}

.promov-estimate-cta a:hover,
.promov-estimate-cta a:focus-visible {
  background: #e05240;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(216, 65, 47, 0.24);
}

.promov-estimate-cta a:focus-visible {
  outline: 3px solid rgba(216, 65, 47, 0.38);
  outline-offset: 3px;
}

.promov-contact-cta {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 4.5rem 1.25rem;
  background: #d8412f;
  color: #fff;
  text-align: center;
}
.promov-contact-cta__inner {
  max-width: 960px;
  margin: 0 auto;
}
.promov-contact-cta__eyebrow {
  margin: 0 0 0.65rem;
  color: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
}
.promov-contact-cta__title {
  margin: 0;
  color: inherit;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
}
.promov-contact-cta__separator {
  display: block;
  width: 44px;
  height: 2px;
  margin: 1.4rem auto 1.6rem;
  background: currentColor;
}
.promov-contact-cta__button {
  display: inline-flex;
  min-width: 230px;
  min-height: 52px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border: 2px solid #fff;
  border-radius: 10px;
  background: #fff;
  color: #d8412f;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.promov-contact-cta__button:hover,
.promov-contact-cta__button:focus-visible {
  background: transparent;
  color: #fff;
  text-decoration: none;
}
.promov-contact-cta__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.promov-contact-cta + .promov-site-footer {
  margin-top: 0;
}

/* 一般お問い合わせフォームの送信先案内。Contact Form 7 の既存設定には触れない。 */
.promov-general-contact-guidance {
  margin: 0 0 28px;
  padding: 16px;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  background: #f8f8f8;
  color: #333;
}
.promov-general-contact-guidance__title {
  margin: 0 0 8px;
  font-weight: 700;
}
.promov-general-contact-guidance ul {
  margin: 0;
  padding-left: 1.25em;
}
.promov-general-contact-guidance li + li {
  margin-top: 6px;
}
.promov-general-contact-guidance a {
  font-weight: 700;
}

@media (max-width: 782px) {
	.promov-estimate-cta {
		width: calc(100% - 32px);
		padding: 34px 18px;
	}

  .promov-contact-cta {
    padding: 3.25rem 1.25rem;
  }
  .promov-contact-cta__eyebrow {
    font-size: 0.9rem;
  }
  .promov-contact-cta__button {
    width: min(100%, 300px);
  }
  .promov-general-contact-guidance {
    padding: 12px 10px;
  }
}

/* -------------------------------------------------------------------------
   0.9.282：制作会社ダッシュボードのモバイル表示
   案件・ポイントの少数列テーブルだけをカード／2列へ変換する。
   その他の大規模テーブルの横スクロール方針は変更しない。
   ------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.promov-dashboard .promov-tabs {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 2px;
		flex-wrap: nowrap;
		margin-bottom: 1rem;
	}

	.promov-dashboard .promov-tabs a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-width: 0;
		min-height: 44px;
		box-sizing: border-box;
		padding: 6px 2px;
		font-size: 11px;
		line-height: 1.35;
		text-align: center;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.promov-dashboard .pdh-table-wrap--leads,
	.promov-dashboard .pdh-table-wrap--points-history,
	.promov-dashboard .pdh-table-wrap--points-tiers {
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table,
	.promov-dashboard .pdh-table-wrap--points-tiers .pdh-table {
		display: block;
		width: 100%;
		min-width: 0;
		table-layout: auto;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table colgroup,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table colgroup {
		display: none;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table thead,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table thead,
	.promov-dashboard .pdh-table-wrap--points-tiers .pdh-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table tbody,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table tbody,
	.promov-dashboard .pdh-table-wrap--points-tiers .pdh-table tbody {
		display: block;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table tbody,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table tbody {
		display: grid;
		gap: 16px;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table:not(#wp-calendar) tbody tr,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table:not(#wp-calendar) tbody tr {
		display: block;
		margin: 0;
		padding: 4px 12px;
		/* 親テーマのtable/tr指定より確実に優先し、件数カードと同じ外枠を残す。 */
		border: 1px solid var(--pv-border) !important;
		border-radius: var(--pv-r-lg);
		background: #fff !important;
		box-shadow: var(--pv-sh-md);
		overflow: hidden;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table td,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table td {
		display: grid;
		grid-template-columns: minmax(6em, 35%) minmax(0, 1fr);
		gap: 8px;
		min-width: 0;
		box-sizing: border-box;
		padding: 10px 0;
		border-bottom: 1px solid var(--pv-border);
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table td:last-child,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table td:last-child {
		border-bottom: 0;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table td::before,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table td::before {
		color: var(--pv-soft);
		font-size: 11px;
		font-weight: 700;
		line-height: 1.6;
		content: attr(data-label);
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table td > *,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table td > * {
		min-width: 0;
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.promov-dashboard .pdh-table-wrap--points-history .pdh-points-type {
		justify-self: start;
	}

	.promov-dashboard .pdh-table-wrap--points-tiers .pdh-table tbody tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 12px;
		align-items: center;
		margin: 0;
		padding: 10px 0;
		border-bottom: 1px solid var(--pv-border);
	}

	.promov-dashboard .pdh-table-wrap--points-tiers .pdh-table tbody tr:last-child {
		border-bottom: 0;
	}

	.promov-dashboard .pdh-table-wrap--points-tiers .pdh-table td {
		min-width: 0;
		padding: 0;
		border: 0;
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.promov-dashboard .pdh-table-wrap--points-tiers .pdh-table td:last-child {
		text-align: right;
		white-space: nowrap;
	}
}

/* タブレット相当の幅ではPC用の多列テーブルが潰れるため、
   案件一覧とポイント履歴だけをモバイルと同じ独立カードへ切り替える。 */
@media (min-width: 768px) and (max-width: 1199px) {
	.promov-dashboard .pdh-table-wrap--leads,
	.promov-dashboard .pdh-table-wrap--points-history {
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table {
		display: block;
		width: 100%;
		min-width: 0;
		table-layout: auto;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table colgroup,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table colgroup,
	.promov-dashboard .pdh-table-wrap--leads .pdh-table thead,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table tbody,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table tbody {
		display: grid;
		gap: 16px;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table:not(#wp-calendar) tbody tr,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table:not(#wp-calendar) tbody tr {
		display: block;
		margin: 0;
		padding: 4px 16px;
		border: 1px solid var(--pv-border) !important;
		border-radius: var(--pv-r-lg);
		background: #fff !important;
		box-shadow: var(--pv-sh-md);
		overflow: hidden;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table:not(#wp-calendar) td,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table:not(#wp-calendar) td {
		display: grid;
		grid-template-columns: minmax(8em, 30%) minmax(0, 1fr);
		gap: 12px;
		min-width: 0;
		box-sizing: border-box;
		padding: 10px 0 !important;
		border: 0;
		border-bottom: 1px solid var(--pv-border);
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table td:last-child,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table td:last-child {
		border-bottom: 0;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table td::before,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table td::before {
		color: var(--pv-soft);
		font-size: 11px;
		font-weight: 700;
		line-height: 1.6;
		content: attr(data-label);
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table td > *,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table td > * {
		min-width: 0;
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.promov-dashboard .pdh-table-wrap--points-history .pdh-points-type {
		justify-self: start;
	}
}

/* 案件一覧・ポイント履歴は、狭い画面では見出しと値を明確な2列カードにする。
   既存のカード外枠は維持し、親テーマのtableセル指定より確実に優先する。 */
@media (max-width: 1199px) {
	.promov-dashboard .pdh-table-wrap--leads .pdh-table:not(#wp-calendar) tbody tr,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table:not(#wp-calendar) tbody tr {
		padding: 0;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table:not(#wp-calendar) tbody tr > td,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table:not(#wp-calendar) tbody tr > td {
		display: grid;
		grid-template-columns: 104px minmax(0, 1fr);
		column-gap: 12px;
		align-items: center;
		min-width: 0;
		min-height: 46px;
		box-sizing: border-box;
		padding: 0 12px 0 0 !important;
		border: 0;
		border-bottom: 1px solid var(--pv-border) !important;
		background: #fff;
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table:not(#wp-calendar) tbody tr > td::before,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table:not(#wp-calendar) tbody tr > td::before {
		display: flex;
		align-self: stretch;
		align-items: center;
		min-width: 0;
		box-sizing: border-box;
		padding: 10px 12px;
		border-right: 2px solid var(--pv-border-strong);
		background: var(--pv-surface);
		color: var(--pv-soft);
		font-size: 11px;
		font-weight: 700;
		line-height: 1.5;
		white-space: nowrap;
		content: attr(data-label);
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table:not(#wp-calendar) tbody tr > td:last-child,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table:not(#wp-calendar) tbody tr > td:last-child {
		border-bottom: 0 !important;
	}

	.promov-dashboard .pdh-table-wrap--leads .pdh-table:not(#wp-calendar) tbody tr > td > *,
	.promov-dashboard .pdh-table-wrap--points-history .pdh-table:not(#wp-calendar) tbody tr > td > * {
		min-width: 0;
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
}

/* PCでは必要ポイント表だけを読みやすい幅に抑え、親パネルの左端へ揃える。
   モバイルのviewport内カード表示には影響させない。 */
@media (min-width: 768px) {
	.promov-dashboard .pdh-table-wrap--points-tiers {
		box-sizing: border-box;
		width: 100%;
		max-width: 480px;
		margin-left: 0;
		margin-right: auto;
		justify-self: start;
		align-self: start;
	}

	.promov-dashboard .pdh-table-wrap--points-tiers .pdh-table {
		min-width: 0;
	}

	/* 外側の余白を増やして両列を中央方向へ寄せ、列間の空白を抑える。 */
	.promov-dashboard .pdh-table-wrap--points-tiers .pdh-table:not(#wp-calendar) :is(th, td):first-child {
		padding-left: 44px !important;
	}

	.promov-dashboard .pdh-table-wrap--points-tiers .pdh-table:not(#wp-calendar) :is(th, td):last-child {
		padding-right: 44px !important;
	}
}

/* 共通フッター（PROMOV_ADDITIONAL_FINAL_FIXES §3） */
.promov-site-footer {
  width: 100%;
  box-sizing: border-box;
  padding: 2.5rem 1.25rem 1.5rem;
  background: #1a1a1a;
  color: #f5f5f5;
}
.promov-site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.promov-site-footer__title {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.promov-site-footer__title img {
  display: block;
  width: 128px;
  height: auto;
}
.promov-site-footer__desc {
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.85;
}
.promov-site-footer__heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.promov-site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.promov-site-footer__col li {
  margin: 0 0 0.5rem;
}
.promov-site-footer__col a {
  color: inherit;
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.85;
}
.promov-site-footer__col a:hover {
  opacity: 1;
  text-decoration: underline;
}
.promov-site-footer__copyright {
  max-width: 1080px;
  margin: 1.75rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  opacity: 0.7;
}

@media (max-width: 767px) {
  .promov-site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .promov-site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .promov-site-footer__inner {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
 * トップページ 案A確定版
 * docs/design/mockup/promov-homepage-redesign-final.html の内側画面のみを再現する。
 * テーマと共通部品のマークアップは保持し、トップと7分類の一覧ページに影響範囲を限定する。
 * -------------------------------------------------------------------------- */

body:is(.home, .promov-taxonomy-overview-page) {
  padding-top: 0 !important;
  background: #fff;
  color: var(--pv-ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Noto Sans JP", Meiryo, sans-serif;
}

/* ヘッダー */
body:is(.home, .promov-taxonomy-overview-page) #header-navigation {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--pv-border);
  background: #fff;
  box-shadow: none;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-nav-main {
  background: #fff !important;
  color: var(--pv-ink) !important;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px !important;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-row {
  display: flex;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start !important;
  width: 100%;
  height: 70px;
  margin: 0 !important;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-row::before,
body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-row::after {
  display: none !important;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-nav-left,
body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-nav-right {
  float: none;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-nav-left:not(.cactus-only-main-menu) {
  position: static !important;
  order: 1;
  flex: 0 0 auto;
  width: auto !important;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-only-main-menu {
  position: static !important;
  order: 2;
  display: block;
  flex: 1 1 0;
  width: auto !important;
  min-width: 0;
  padding: 0 !important;
  border: 0;
  text-align: right;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-nav-right {
  order: 3;
  display: none;
  width: auto !important;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-logo {
  width: 128px;
  height: 30px;
  padding: 0;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-logo > a {
  width: 128px;
  height: 30px;
  background: url("../img/Black_Line_Logo_promov.png") no-repeat center / contain;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-logo img {
  display: none !important;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-open-left-sidebar,
body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-user-login {
  display: none !important;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-only-main-menu > .cactus-main-menu {
  display: block;
  padding: 0 0 0 20px;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  margin: 0;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li {
  float: none;
  flex: 0 0 auto;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li > a {
  padding: 9px 8px;
  border-radius: var(--pv-r-sm);
  background: transparent;
  color: var(--pv-soft) !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: color var(--pv-t), background var(--pv-t);
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li > a:hover,
body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li > a:focus-visible {
  background: var(--pv-surface);
  color: var(--pv-ink) !important;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li:last-child > a {
  margin-left: 5px;
  padding: 11px 16px;
  border-radius: var(--pv-r-md);
  background: var(--pv-accent);
  color: #fff !important;
  font-weight: 800;
}

body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li:last-child > a:hover,
body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li:last-child > a:focus-visible {
  background: var(--pv-accent-dk);
  color: #fff !important;
}

/* ヒーロー（0.9.160前後の実装を基準に、検索UI以外の表示だけを復元） */
body.home #cactus-body-container .body-content > #top_fv {
  min-height: 0 !important;
  padding: 64px 40px 68px !important;
  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));
  color: var(--pv-ink) !important;
}

body.home #top_fv > .wp-block-cover__image-background,
body.home #top_fv > .wp-block-cover__background {
  display: none !important;
}

body.home #top_fv .wp-block-cover__inner-container {
  width: 100%;
  max-width: none;
}

body.home #top_fv #top_fv_froup {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 !important;
  border: 0 !important;
  color: var(--pv-ink) !important;
}

body.home #top_fv #top_fv_froup .wp-block-spacer {
  display: none !important;
}

/* p:first-of-type は「pタグとして最初」を表すだけで、h1変換後に残るサブテキストの
   <p>（h1の直後で、pとしては唯一＝先頭）も一致してしまう。:not(h1 + p) で
   「h1の直後ではない」条件を足し、見出し用ルールとサブテキスト用ルールが
   同じ要素へ二重に当たらないようにする（0.9.189で発覚した衝突の修正）。 */
body.home #top_fv #top_fv_froup > .wp-block-group__inner-container > :is(h1, p:first-of-type):not(h1 + p) {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  color: var(--pv-accent) !important;
  font-size: 32px !important;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}

body.home #top_fv #top_fv_froup > .wp-block-group__inner-container > :is(h1 + p, p:nth-of-type(2)) {
  max-width: 820px;
  margin: 18px auto 0;
  padding: 0;
  color: var(--pv-soft) !important;
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
}

body.home #top_fv .br-sp {
  display: none;
}

/* 検索パネル */
body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 940px;
  margin: 30px auto 0 !important;
  padding: 22px 24px 24px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  background: #fff;
  box-shadow: var(--pv-sh-md);
  color: var(--pv-ink);
  text-align: left;
}

body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-keyword {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-filters {
  display: contents;
}

body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-field {
  min-width: 0;
}

body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-field label {
  margin-bottom: 5px;
  color: var(--pv-soft) !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-field input,
body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-field select {
  min-height: 42px;
  margin: 0;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-md);
  background-color: var(--pv-surface);
  color: var(--pv-ink);
  font-size: 13px;
}

body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-field input:focus,
body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-field select:focus {
  border-color: var(--pv-accent);
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(216, 65, 47, 0.1);
}

body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-submit {
  grid-column: 4;
  grid-row: 3;
  align-self: end;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 0 18px;
  border-radius: var(--pv-r-md);
  background: #d63e2c;
  font-size: 14px;
  line-height: 1.3;
}

body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-submit:hover,
body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-submit:focus-visible {
  background: var(--pv-accent-dk);
}

/* 用途別の制作事例 */
body.home .body-content > .group_second {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 0 !important;
}

body.home .group_second > .wp-block-group__inner-container {
  width: 100%;
  max-width: none;
}

body.home .group_second #group_second_spacer {
  display: none !important;
}

body.home .group_second .ppg-section,
body.promov-taxonomy-overview-page .promov-taxonomy-overview__sections .ppg-section {
  margin: 0 0 52px;
}

body.home .group_second .ppg-head,
body.promov-taxonomy-overview-page .promov-taxonomy-overview__sections .ppg-head {
  padding-bottom: 15px;
  margin-bottom: 22px;
}

body.home .group_second .ppg-grid,
body.promov-taxonomy-overview-page .promov-taxonomy-overview :is(.promov-taxonomy-overview__sections, .promov-taxonomy-overview__results) .ppg-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

body.home .group_second .ppg-card,
body.promov-taxonomy-overview-page .promov-taxonomy-overview .ppg-card {
  min-width: 0;
  border-radius: var(--pv-r-lg);
}

body.home .group_second .ppg-thumb,
body.promov-taxonomy-overview-page .promov-taxonomy-overview .ppg-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--pv-surface2);
}

body.home .group_second .ppg-thumb img,
body.promov-taxonomy-overview-page .promov-taxonomy-overview .ppg-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

body.home .group_second .ppg-thumb::before,
body.promov-taxonomy-overview-page .promov-taxonomy-overview .ppg-thumb::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 50% auto auto 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 24, 29, 0.42);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

body.home .group_second .ppg-thumb::after,
body.promov-taxonomy-overview-page .promov-taxonomy-overview .ppg-thumb::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

body.home .group_second .ppg-body,
body.promov-taxonomy-overview-page .promov-taxonomy-overview .ppg-body {
  padding: 14px 15px 16px;
}

body.home .group_second .ppg-post-title,
body.promov-taxonomy-overview-page .promov-taxonomy-overview .ppg-post-title {
  min-height: 2.9em;
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.6;
}

body.home .group_second .ppg-meta-row,
body.promov-taxonomy-overview-page .promov-taxonomy-overview .ppg-meta-row {
  gap: 6px;
  margin-top: 11px;
}

body.home .group_second .ppg-pill,
body.promov-taxonomy-overview-page .promov-taxonomy-overview .ppg-pill {
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

/* 下部CTA */
body:is(.home, .promov-taxonomy-overview-page) .promov-estimate-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:is(.home, .promov-taxonomy-overview-page) .promov-estimate-cta p {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 6px;
  color: #c4a29b;
  font-size: 12.5px;
  font-weight: 700;
}

body:is(.home, .promov-taxonomy-overview-page) .promov-estimate-cta h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
}

body:is(.home, .promov-taxonomy-overview-page) .promov-estimate-cta a {
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 48px;
  padding: 0 30px;
  border-radius: var(--pv-r-md);
  background: #d63e2c;
  font-size: 14px;
  font-weight: 800;
}

body:is(.home, .promov-taxonomy-overview-page) .promov-estimate-cta a:hover,
body:is(.home, .promov-taxonomy-overview-page) .promov-estimate-cta a:focus-visible {
  background: #e05240;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(216, 65, 47, 0.24);
}

body:is(.home, .promov-taxonomy-overview-page) .promov-estimate-cta a:focus-visible {
  outline: 3px solid rgba(216, 65, 47, 0.38);
  outline-offset: 3px;
}

/* フッター */
body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer {
  padding: 48px 40px 26px;
  border-top: 1px solid var(--pv-border);
  background: var(--pv-surface);
  color: var(--pv-ink);
}

body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__inner {
  width: 100%;
  max-width: 1120px;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}

body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__title {
  width: 150px;
  height: 30px;
  margin: 0 0 14px;
  overflow: visible;
  background: none;
}

body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__title img {
  width: 150px;
  height: 30px;
  object-fit: contain;
}

body:is(.home, .promov-taxonomy-overview-page) footer.promov-theme-footer {
  background: #fff !important;
}

#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/objective/"],
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/industry/"],
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/expression/"],
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/distribution/"],
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/budget/"],
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/duration/"],
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/production-period/"] {
  font-size: 0 !important;
  text-align: center;
}

#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/objective/"]::before,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/industry/"]::before,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/expression/"]::before,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/distribution/"]::before,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/budget/"]::before,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/duration/"]::before,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/production-period/"]::before,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/objective/"]::after,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/industry/"]::after,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/expression/"]::after,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/distribution/"]::after,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/budget/"]::after,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/duration/"]::after,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/production-period/"]::after {
  display: block;
  text-align: center;
}

#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/objective/"]::before { content: "用途"; }
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/industry/"]::before { content: "業種"; }
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/expression/"]::before { content: "表現方法"; }
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/distribution/"]::before { content: "活用先"; }
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/budget/"]::before { content: "予算"; }
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/duration/"]::before { content: "長さ"; }
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/production-period/"]::before { content: "制作期間"; }

#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/objective/"]::before,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/industry/"]::before,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/expression/"]::before,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/distribution/"]::before,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/budget/"]::before,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/duration/"]::before,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/production-period/"]::before {
  font-size: 11px;
  color: var(--pv-ink);
  font-weight: 800;
  line-height: 1.2;
}

#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/objective/"]::after,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/industry/"]::after,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/expression/"]::after,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/distribution/"]::after,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/budget/"]::after,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/duration/"]::after,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/production-period/"]::after {
  content: "から探す";
  margin-top: 3px;
  color: var(--pv-faint);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.2;
}

#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/objective/"] > i,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/industry/"] > i,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/expression/"] > i,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/distribution/"] > i,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/budget/"] > i,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/duration/"] > i,
#header-navigation .cactus-main-menu > ul.nav > li > a[href$="/production-period/"] > i {
  display: none !important;
}

#header-navigation .cactus-main-menu > ul.nav > li > a:hover::before,
#header-navigation .cactus-main-menu > ul.nav > li > a:hover::after,
#header-navigation .cactus-main-menu > ul.nav > li > a:focus-visible::before,
#header-navigation .cactus-main-menu > ul.nav > li > a:focus-visible::after {
  color: var(--pv-accent);
}

body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__desc {
  max-width: 280px;
  color: var(--pv-soft);
  font-size: 12px;
  line-height: 1.85;
  opacity: 1;
}

body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__heading {
  margin-bottom: 14px;
  color: var(--pv-ink);
  font-size: 11.5px;
  letter-spacing: 0.03em;
}

body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__col li {
  margin-bottom: 10px;
}

body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__col a {
  color: var(--pv-soft);
  font-size: 12.5px;
  opacity: 1;
}

body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__col a:hover,
body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__col a:focus-visible {
  color: var(--pv-accent);
  text-decoration: none;
}

body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__copyright {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--pv-border);
  color: #69727c;
  font-size: 11px;
  opacity: 1;
}

@media (max-width: 1199px) {
  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-container {
    padding: 0 24px !important;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-logo,
  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-logo > a {
    width: 96px;
    height: 24px;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-only-main-menu > .cactus-main-menu {
    padding-left: 10px;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-only-main-menu {
    max-width: calc(100% - 106px);
    white-space: normal;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li > a {
    width: 48px;
    padding: 8px 4px;
    font-size: 9px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/objective/"]::before,
  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/industry/"]::before,
  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/expression/"]::before,
  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/distribution/"]::before,
  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/budget/"]::before,
  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/duration/"]::before,
  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/production-period/"]::before {
    font-size: 9px;
  }

  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/objective/"]::after,
  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/industry/"]::after,
  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/expression/"]::after,
  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/distribution/"]::after,
  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/budget/"]::after,
  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/duration/"]::after,
  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/production-period/"]::after {
    font-size: 8px;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li:nth-last-child(-n + 2) > a {
    width: auto;
    white-space: nowrap;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li:last-child > a {
    margin-left: 3px;
    padding: 10px 11px;
  }

  body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-submit {
    grid-column: auto;
    grid-row: auto;
  }

  body.home .group_second .ppg-grid,
  body.promov-taxonomy-overview-page .promov-taxonomy-overview :is(.promov-taxonomy-overview__sections, .promov-taxonomy-overview__results) .ppg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-container {
    padding: 0 18px !important;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-row {
    height: 58px;
    justify-content: space-between !important;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-logo,
  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-logo > a {
    width: 116px;
    height: 28px;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-only-main-menu {
    display: block !important;
    flex: 0 0 auto;
    width: auto !important;
    max-width: none;
    white-space: nowrap;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-only-main-menu > .cactus-main-menu {
    padding: 0;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav {
    display: block;
    width: auto;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li {
    display: none;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li:last-child {
    display: block;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li:last-child > a {
    width: auto;
    margin: 0;
    padding: 10px 12px;
    font-size: 10px;
    white-space: nowrap;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-nav-right {
    display: block;
    margin: 0 !important;
    padding: 0;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-nav-right::before {
    display: none;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-open-menu-mobile {
    display: block;
    padding: 0;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-open-menu-mobile > ul {
    margin: 0;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-open-menu-mobile > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-r-md);
    background: #fff;
    color: var(--pv-ink) !important;
    font-size: 0;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-open-menu-mobile > ul > li > a > i {
    margin: 0;
    color: var(--pv-ink) !important;
    font-size: 20px;
  }

  body.home #cactus-body-container .body-content > #top_fv {
    padding: 38px 18px 42px !important;
  }

  /* デスクトップ側と同じ理由で :not(h1 + p) を足す（0.9.189）。 */
  body.home #top_fv #top_fv_froup > .wp-block-group__inner-container > :is(h1, p:first-of-type):not(h1 + p) {
    font-size: 24px !important;
    line-height: 1.5;
  }

  body.home #top_fv #top_fv_froup > .wp-block-group__inner-container > :is(h1 + p, p:nth-of-type(2)) {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.85;
  }

  body.home #top_fv .br-sp {
    display: inline;
  }

  body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-form {
    grid-template-columns: 1fr;
    margin-top: 24px !important;
    padding: 16px;
  }

  body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-keyword,
  body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-submit {
    grid-column: 1;
  }

  body:is(.home, .promov-taxonomy-overview-page) :is(#top_fv, .promov-taxonomy-overview__hero) .promov-video-search-submit {
    min-height: 46px;
    margin-top: 2px;
  }

  body.home .body-content > .group_second {
    padding: 34px 18px 0 !important;
  }

  body.home .group_second .ppg-section,
  body.promov-taxonomy-overview-page .promov-taxonomy-overview__sections .ppg-section {
    margin-bottom: 34px;
  }

  body.home .group_second .ppg-title,
  body.promov-taxonomy-overview-page .promov-taxonomy-overview__sections .ppg-title {
    font-size: 16px;
  }

  body.home .group_second .ppg-grid,
  body.promov-taxonomy-overview-page .promov-taxonomy-overview :is(.promov-taxonomy-overview__sections, .promov-taxonomy-overview__results) .ppg-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.home .group_second .ppg-post-title,
  body.promov-taxonomy-overview-page .promov-taxonomy-overview .ppg-post-title {
    min-height: 0;
    font-size: 13px;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-estimate-cta {
    display: block;
    width: calc(100% - 36px);
    margin: 6px auto 48px;
    padding: 24px;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-estimate-cta h2 {
    font-size: 19px;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-estimate-cta a {
    width: 100%;
    margin-top: 16px;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer {
    padding: 36px 18px 22px;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
    padding-bottom: 44px;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__brand {
    grid-column: 1 / -1;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__copyright {
    padding-top: 40px;
  }
}

@media (max-width: 400px) {
  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__inner {
    grid-template-columns: 1fr;
  }
}

/* PCグローバルナビ：分類名を上段、導線を下段に統一する。 */
@media (min-width: 1024px) {
  #header-navigation .cactus-main-menu > ul.nav {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
  }

  #header-navigation .cactus-main-menu > ul.nav > li > a:is(
    [href$="/objective/"],
    [href$="/industry/"],
    [href$="/expression/"],
    [href$="/distribution/"],
    [href$="/budget/"],
    [href$="/duration/"],
    [href$="/production-period/"],
    [href$="/find-production-companies/"]
  ) {
    color: inherit !important;
    font-size: 0 !important;
    text-align: center;
    opacity: 1;
  }

  #header-navigation .cactus-main-menu > ul.nav > li > a:is(
    [href$="/objective/"],
    [href$="/industry/"],
    [href$="/expression/"],
    [href$="/distribution/"],
    [href$="/budget/"],
    [href$="/duration/"],
    [href$="/production-period/"],
    [href$="/find-production-companies/"]
  )::before,
  #header-navigation .cactus-main-menu > ul.nav > li > a:is(
    [href$="/objective/"],
    [href$="/industry/"],
    [href$="/expression/"],
    [href$="/distribution/"],
    [href$="/budget/"],
    [href$="/duration/"],
    [href$="/production-period/"],
    [href$="/find-production-companies/"]
  )::after {
    display: block;
    color: inherit !important;
    text-align: center;
  }

  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/find-production-companies/"]::before {
    content: "制作会社";
  }

  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/find-production-companies/"]::after {
    content: "を探す";
  }

  #header-navigation .cactus-main-menu > ul.nav > li > a:is(
    [href$="/objective/"],
    [href$="/industry/"],
    [href$="/expression/"],
    [href$="/distribution/"],
    [href$="/budget/"],
    [href$="/duration/"],
    [href$="/production-period/"],
    [href$="/find-production-companies/"]
  )::before {
    font-size: 14px !important;
    font-weight: 800;
    line-height: 1.2;
    opacity: 1;
  }

  #header-navigation .cactus-main-menu > ul.nav > li > a:is(
    [href$="/objective/"],
    [href$="/industry/"],
    [href$="/expression/"],
    [href$="/distribution/"],
    [href$="/budget/"],
    [href$="/duration/"],
    [href$="/production-period/"],
    [href$="/find-production-companies/"]
  )::after {
    margin-top: 3px;
    font-size: 11px !important;
    font-weight: 400;
    line-height: 1.2;
    opacity: 0.72;
  }

  #header-navigation .cactus-main-menu > ul.nav > li > a[href$="/estimate/"] {
    font-size: 14px !important;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li > a:is(
    [href$="/objective/"],
    [href$="/industry/"],
    [href$="/expression/"],
    [href$="/distribution/"],
    [href$="/budget/"],
    [href$="/duration/"],
    [href$="/production-period/"],
    [href$="/find-production-companies/"]
  )::before {
    color: var(--pv-accent) !important;
  }

  body:is(.home, .promov-taxonomy-overview-page) #header-navigation .cactus-main-menu > ul.nav > li > a:is(
    [href$="/objective/"],
    [href$="/industry/"],
    [href$="/expression/"],
    [href$="/distribution/"],
    [href$="/budget/"],
    [href$="/duration/"],
    [href$="/production-period/"],
    [href$="/find-production-companies/"]
  )::after {
    color: var(--pv-faint) !important;
  }

  #header-navigation .cactus-main-menu > ul.nav > li > a:is(
    [href$="/objective/"],
    [href$="/industry/"],
    [href$="/expression/"],
    [href$="/distribution/"],
    [href$="/budget/"],
    [href$="/duration/"],
    [href$="/production-period/"],
    [href$="/find-production-companies/"]
  )::before {
    color: var(--pv-accent) !important;
  }

  #header-navigation .cactus-main-menu > ul.nav > li > a:hover::before,
  #header-navigation .cactus-main-menu > ul.nav > li > a:hover::after,
  #header-navigation .cactus-main-menu > ul.nav > li > a:focus-visible::before,
  #header-navigation .cactus-main-menu > ul.nav > li > a:focus-visible::after {
    color: var(--pv-accent) !important;
  }
}

/* --------------------------------------------------------------------------
 * 共通グローバルナビ 0.9.92
 * 1200px枠の左右にロゴと見積もりを置き、主要導線を中央へ固定する。
 * -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  body.promov-single-global-navigation #header-navigation .cactus-nav-main {
    background: #fff !important;
    color: var(--pv-ink) !important;
  }

  body.promov-single-global-navigation #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-single-global-navigation #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-single-global-navigation #header-navigation .cactus-row::before,
  body.promov-single-global-navigation #header-navigation .cactus-row::after {
    display: none !important;
  }

  body.promov-single-global-navigation #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-single-global-navigation #header-navigation .cactus-logo,
  body.promov-single-global-navigation #header-navigation .cactus-logo > a {
    display: block;
    width: 128px;
    height: 30px;
    padding: 0;
  }

  body.promov-single-global-navigation #header-navigation .cactus-logo > a {
    background: url("../img/Black_Line_Logo_promov.png") no-repeat center / contain !important;
  }

  body.promov-single-global-navigation #header-navigation .cactus-logo img {
    display: none !important;
  }

  body.promov-single-global-navigation #header-navigation .cactus-open-left-sidebar,
  body.promov-single-global-navigation #header-navigation .cactus-user-login,
  body.promov-single-global-navigation #header-navigation .cactus-nav-right {
    display: none !important;
  }

  body.promov-single-global-navigation #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-single-global-navigation #header-navigation .cactus-only-main-menu > .cactus-main-menu {
    display: block;
    height: 100%;
    padding: 0 !important;
  }

  body.promov-single-global-navigation #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-single-global-navigation #header-navigation .cactus-main-menu > ul.nav > li {
    float: none !important;
    flex: 0 0 auto;
  }

  body.promov-single-global-navigation #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-single-global-navigation #header-navigation .cactus-main-menu > ul.nav > li > a:is(
    [href$="/objective/"],
    [href$="/industry/"],
    [href$="/expression/"],
    [href$="/distribution/"],
    [href$="/budget/"],
    [href$="/duration/"],
    [href$="/production-period/"],
    [href$="/find-production-companies/"]
  )::after {
    color: #5b6572 !important;
    opacity: 1 !important;
  }

  body.promov-single-global-navigation #header-navigation .cactus-main-menu > ul.nav > li.promov-nav-estimate {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  body.promov-single-global-navigation #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-single-global-navigation #header-navigation .cactus-main-menu > ul.nav > li.promov-nav-estimate > a:hover,
  body.promov-single-global-navigation #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-single-global-navigation #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;
  }
}

/* 1024〜1199pxは文字サイズを維持し、ロゴと外側余白だけを圧縮する。 */
@media (min-width: 1024px) and (max-width: 1199px) {
  body.promov-single-global-navigation #header-navigation .cactus-container {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  body.promov-single-global-navigation #header-navigation .cactus-logo,
  body.promov-single-global-navigation #header-navigation .cactus-logo > a {
    width: 96px;
    height: 24px;
  }
}

/* テーマのモバイル切替に合わせ、1023px以下では見積もりとバーガーだけを右側へ置く。 */
@media (max-width: 1023px) {
  body.promov-single-global-navigation #header-navigation .cactus-nav-main {
    background: #fff !important;
    color: var(--pv-ink) !important;
  }

  body.promov-single-global-navigation #header-navigation .cactus-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 18px !important;
  }

  body.promov-single-global-navigation #header-navigation .cactus-row,
  body.promov-single-global-navigation #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-single-global-navigation #header-navigation .cactus-row::before,
  body.promov-single-global-navigation #header-navigation .cactus-row::after {
    display: none !important;
  }

  body.promov-single-global-navigation #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-single-global-navigation #header-navigation .cactus-logo,
  body.promov-single-global-navigation #header-navigation .cactus-logo > a {
    display: block;
    width: 116px;
    height: 28px;
    padding: 0;
  }

  body.promov-single-global-navigation #header-navigation .cactus-logo > a {
    background: url("../img/Black_Line_Logo_promov.png") no-repeat center / contain !important;
  }

  body.promov-single-global-navigation #header-navigation .cactus-logo img {
    display: none !important;
  }

  body.promov-single-global-navigation #header-navigation .cactus-open-left-sidebar,
  body.promov-single-global-navigation #header-navigation .cactus-user-login {
    display: none !important;
  }

  body.promov-single-global-navigation #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-single-global-navigation #header-navigation .cactus-only-main-menu > .cactus-main-menu {
    display: block !important;
    padding: 0 !important;
  }

  body.promov-single-global-navigation #header-navigation .cactus-main-menu > ul.nav {
    display: flex !important;
    align-items: center;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.promov-single-global-navigation #header-navigation .cactus-main-menu > ul.nav > li {
    display: none !important;
  }

  body.promov-single-global-navigation #header-navigation .cactus-main-menu > ul.nav > li.promov-nav-estimate {
    display: block !important;
    float: none !important;
  }

  body.promov-single-global-navigation #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-single-global-navigation #header-navigation .cactus-main-menu > ul.nav > li.promov-nav-estimate > a:hover,
  body.promov-single-global-navigation #header-navigation .cactus-main-menu > ul.nav > li.promov-nav-estimate > a:focus-visible {
    background: #e05240;
    color: #fff !important;
  }

  body.promov-single-global-navigation #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-single-global-navigation #header-navigation .cactus-nav-right::before {
    display: none !important;
  }

  body.promov-single-global-navigation #header-navigation .cactus-open-menu-mobile {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.promov-single-global-navigation #header-navigation .cactus-open-menu-mobile > ul {
    margin: 0 !important;
    padding: 0 !important;
  }

  body.promov-single-global-navigation #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-single-global-navigation #header-navigation .cactus-open-menu-mobile > ul > li > a > i {
    margin: 0;
    color: var(--pv-ink) !important;
    font-size: 20px !important;
  }
}

/* トップページのスマートフォン表示だけ、文章とフッターの整列を補正する（0.9.95）。 */
@media (max-width: 767px) {
  body:is(.home, .promov-taxonomy-overview-page) .promov-estimate-cta p,
  body:is(.home, .promov-taxonomy-overview-page) .promov-estimate-cta h2 {
    text-align: center !important;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer {
    padding: 36px 24px 22px;
    text-align: center;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 32px;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__brand {
    grid-column: auto;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__title,
  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__title img,
  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__desc {
    margin-right: auto;
    margin-left: auto;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__col {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__col .promov-site-footer__heading {
    margin-bottom: 8px;
    text-align: left;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__col ul {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2px 16px;
    width: 100%;
    text-align: left;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__col li {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__col a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-site-footer__copyright {
    text-align: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   制作会社管理パネル：所在地入力 と 一覧カードに表示する制作事例
   ══════════════════════════════════════════════════════════════ */
.promov-address-fields {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 14px;
  margin: 10px 0 0;
}

.promov-address-fields label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--pv-soft);
}

.promov-address-fields input {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-md);
  background: var(--pv-surface);
  color: var(--pv-ink);
  font-size: 13px;
  padding: 0 12px;
}

.promov-optional {
  margin-left: 4px;
  color: var(--pv-faint);
  font-size: 11px;
  font-weight: 700;
}

.promov-card-cases__status {
  margin: 10px 0 14px;
}

.promov-card-cases__status > span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pv-border);
  border-radius: 999px;
  background: var(--pv-surface);
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--pv-soft);
}

.promov-card-cases__label {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--pv-soft);
}

.promov-card-cases__selected {
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-md);
  background: var(--pv-surface);
  padding: 14px;
  margin: 0 0 16px;
}

.promov-card-cases__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promov-card-cases__row {
  display: grid;
  grid-template-columns: 26px 80px minmax(0, 1fr) 108px;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-md);
  padding: 9px 11px;
}

.promov-card-cases__no {
  font-size: 13px;
  font-weight: 800;
  color: var(--pv-accent);
  text-align: center;
}

.promov-card-cases__thumb,
.promov-card-cases__pickthumb {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--pv-r-sm);
  background: var(--pv-surface2);
  overflow: hidden;
}

.promov-card-cases__thumb img,
.promov-card-cases__pickthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promov-card-cases__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
}

.promov-card-cases__ops {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.promov-iconbtn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-sm);
  background: #fff;
  color: var(--pv-soft);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.promov-iconbtn:hover:not(:disabled) {
  border-color: var(--pv-border-strong);
  color: var(--pv-ink);
}

.promov-iconbtn:disabled {
  opacity: 0.35;
  cursor: default;
}

.promov-card-cases__none,
.promov-card-cases__empty {
  margin: 0;
  font-size: 12px;
  color: var(--pv-faint);
}

.promov-card-cases__pick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 12px;
}

.promov-card-cases__pickitem {
  position: relative;
  display: block;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-md);
  background: #fff;
  padding: 8px;
  cursor: pointer;
}

.promov-card-cases__pickitem.is-selected {
  border: 2px solid var(--pv-accent);
  background: var(--pv-accent-tint);
  padding: 7px;
}

.promov-card-cases__pickitem.is-disabled {
  background: var(--pv-surface);
  opacity: 0.55;
  cursor: default;
}

.promov-card-cases__pickitem input[type="checkbox"] {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  width: 20px;
  height: 20px;
  margin: 0;
}

.promov-card-cases__picktitle {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 7px 0 0;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .promov-card-cases__pick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .promov-address-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .promov-card-cases__row {
    grid-template-columns: 24px 64px minmax(0, 1fr);
    grid-template-areas:
      "no thumb title"
      "ops ops ops";
    row-gap: 9px;
  }

  .promov-card-cases__no { grid-area: no; }
  .promov-card-cases__thumb { grid-area: thumb; }
  .promov-card-cases__title { grid-area: title; }

  .promov-card-cases__ops {
    grid-area: ops;
    justify-content: flex-start;
  }

  .promov-iconbtn {
    width: 44px;
    height: 38px;
  }

  .promov-card-cases__pick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 一覧掲載用説明文 */
.promov-list-description textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 96px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-md);
  background: var(--pv-surface);
  color: var(--pv-ink);
  font-size: 13px;
  line-height: 1.8;
  padding: 10px 12px;
}

.promov-notice--warning {
  border-left: 3px solid var(--pv-accent);
  background: var(--pv-accent-tint);
  color: var(--pv-ink);
  border-radius: 0;
}

/* ══════════════════════════════════════════════════════════════
   制作会社個別ページ（/company/{slug}/）
   会社情報エリアは一覧カードのCSSをそのまま共有する（上の :is() スコープ）。
   ここには個別ページ固有の差分だけを置く。
   ══════════════════════════════════════════════════════════════ */

/* 一覧カードは複数枚が縦に並ぶ前提だが、個別ページは1枚だけ置く。 */
.promov-company-detail .promov-company-card--detail {
  grid-template-areas:
    "logo names actions"
    "logo main  actions";
  margin: 0 0 28px;
}

/* 会社名はページのH1。フォントとウェイトは一覧と共有し、サイズだけ個別ページ用に上げる。 */
.promov-company-detail .promov-company-card__title {
  font-size: 28px;
  /* 住所との間隔は半レディングが上乗せされるため、一覧と同じ見た目にするには行間も詰める。 */
  line-height: 1.25;
}

/* 会社紹介文は省略せず全文を出す。段落と改行は保存内容のまま。 */
.promov-company-detail__profile,
.promov-editorial-policy__body {
  margin: 0 0 34px;
  padding: 24px 0 0;
  border-top: 1px solid var(--pv-border);
  color: var(--pv-ink);
  font-size: 14px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

/* 編集方針・プライバシーポリシーは会社紹介本文と同じタイポグラフィを共有する。
   固定ページ側の外枠が余白と区切り線を担当するため、本文には文字組みだけを適用する。 */
.promov-editorial-policy__body {
  margin: 0;
  padding: 0;
  border-top: 0;
}

.promov-company-detail__profile-body p,
.promov-editorial-policy__body p {
  margin: 0;
  padding: 8px 0 7px;
}

.promov-company-detail__profile-body > *:first-child {
  margin-top: 0;
}

.promov-company-detail__profile-body > *:last-child {
  margin-bottom: 0;
}

.promov-company-detail__profile-body a {
  color: var(--pv-accent);
}

/* CTAとの間隔は CTA 側の margin-top で作る。ここは 0 にして相殺の余地をなくす。 */
.promov-company-detail__cases {
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--pv-border);
}

/* 会社紹介・対応地域・制作事例の3つで共有するセクション見出し。
   赤い縦線は .ppg-title と同じ仕様（4×19px / --pv-accent / radius 2px）。 */
.promov-company-detail__section-title,
.promov-editorial-policy__body h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  padding: 6px 0 5px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--pv-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.promov-company-detail__section-title::before,
.promov-editorial-policy__body h2::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 19px;
  border-radius: 2px;
  background: var(--pv-accent);
}

.promov-company-detail__empty {
  margin: 0;
  color: var(--pv-soft);
  font-size: 14px;
}

/* 事例は 1024px以上で4列、それ以下は2列。素の .ppg-grid は 4→2→1 のため上書きする。 */
.promov-company-detail .ppg-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.promov-company-detail .promov-pagination {
  margin: 28px 0 0;
}

.promov-company-detail .promov-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promov-company-detail .promov-pagination ul.page-numbers > li {
  margin: 0;
  padding: 0;
}

.promov-company-detail .promov-pagination .page-numbers a,
.promov-company-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;
}

.promov-company-detail .promov-pagination .page-numbers .current {
  border-color: var(--pv-accent);
  background: var(--pv-accent);
  color: #fff;
}

@media (max-width: 1023px) {
  .promov-company-detail .promov-company-card--detail {
    grid-template-areas:
      "logo names"
      "main main"
      "actions actions";
  }

  .promov-company-detail .ppg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .promov-company-detail .promov-company-card__title {
    font-size: 22px;
    line-height: 1.4;
  }

  .promov-company-detail .promov-company-card--detail {
    grid-template-areas:
      "logo names"
      "main main"
      "actions actions";
  }

  /* 縦並びでは flex-basis が高さになるため、1023px側の指定を同じ詳細度で解除する。 */
  .promov-company-detail .promov-company-card__actions .promov-btn {
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    font-size: 14px;
  }

  .promov-company-detail .ppg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .promov-company-detail__profile,
  .promov-editorial-policy__body,
  .promov-company-detail .promov-company-detail__cases {
    padding-top: 18px;
  }

  .promov-editorial-policy__body {
    padding-top: 0;
  }

  .promov-company-detail__section-title,
  .promov-editorial-policy__body h2 {
    font-size: 17px;
  }
}

/* ── 対応地域 ── */
.promov-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.promov-company-detail__areas {
  margin: 0 0 34px;
  padding: 24px 0 0;
  border-top: 1px solid var(--pv-border);
}

.promov-company-detail__areas-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}

/* 見出しは h2 単独。補助ラベルは別要素にして読み上げでも区別できるようにする。 */
.promov-company-detail__areas-heading .promov-company-detail__section-title {
  margin: 0;
}

.promov-company-detail__areas-summary {
  border: 1px solid var(--pv-accent);
  border-radius: 999px;
  background: var(--pv-accent-tint);
  padding: 3px 10px;
  color: var(--pv-accent);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0;
}

.promov-company-detail__areas-empty {
  margin: 0;
  color: var(--pv-soft);
  font-size: 14px;
}

.promov-company-detail__areas-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promov-company-detail__area-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.promov-company-detail__area-region {
  margin: 0;
  padding-top: 4px;
  color: var(--pv-soft);
  font-size: 12.5px;
  font-weight: 800;
}

.promov-company-detail__area-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

/* 表示専用のラベル。リンクでもボタンでもないため hover 効果は付けない。 */
.promov-company-detail__area-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-sm);
  background: var(--pv-surface);
  color: var(--pv-faint);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.promov-company-detail__area-label.is-active {
  border-color: var(--pv-accent);
  background: var(--pv-accent);
  color: #fff;
}

@media (max-width: 767px) {
  .promov-company-detail__areas {
    padding-top: 18px;
  }

  /* 地方名を上、ラベルをその下へ折り返す。 */
  .promov-company-detail__area-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .promov-company-detail__area-region {
    padding-top: 0;
  }

}

/* 制作会社個別ページの下部CTA。
   見た目は分類一覧ページと同じ共通CTA（.promov-estimate-cta）をそのまま使い、
   ここでは制作事例セクションとの間隔だけを足す。
   隣接 margin の相殺で間隔が変わらないよう、直前の要素の margin-bottom は 0 にしてある。 */
.promov-company-detail .promov-estimate-cta.promov-company-detail__cta {
  margin-top: 64px;
  margin-bottom: 64px;
}

@media (max-width: 1023px) {
  .promov-company-detail .promov-estimate-cta.promov-company-detail__cta {
    margin-top: 56px;
    margin-bottom: 56px;
  }
}

@media (max-width: 767px) {
  .promov-company-detail .promov-estimate-cta.promov-company-detail__cta {
    margin-top: 40px;
    margin-bottom: 40px;
  }
}

/* ── 制作事例カードのタグ折り返し（制作会社個別ページ限定） ──
   共通カードの .ppg-pill は white-space: nowrap のため、個別ページのスマホ2列表示では
   長いタグがカード幅を超え、.ppg-card の overflow: hidden（サムネイルの角丸用）で右端が切れていた。
   overflow は外さず、個別ページのタグだけ折り返しを許可して解決する。
   詳細度は既存の body.promov-taxonomy-overview-page .promov-taxonomy-overview .ppg-pill と同値のため、
   後勝ちで効く。他ページ（トップ・分類詳細・会社一覧・事例一覧・事例個別）の .ppg-pill は変更しない。 */
body.promov-taxonomy-overview-page .promov-company-detail .ppg-meta,
body.promov-taxonomy-overview-page .promov-company-detail .ppg-meta-row {
  min-width: 0;
}

body.promov-taxonomy-overview-page .promov-company-detail .ppg-pill {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* ══════════════════ 動画個別ページ ══════════════════
   外枠・フォント・CTA・フッター・会社カード・共通タグは、
   body.promov-taxonomy-overview-page と .promov-video-detail のスコープで
   分類一覧／制作会社ページと同じ定義を共有する。ここには固有の差分だけを書く。 */

.promov-video-detail-page {
  overflow-x: hidden;
}

/* 親テーマのリセットに依存せず、padding を幅の内側で計算する。 */
.promov-video-detail,
.promov-video-detail * {
  box-sizing: border-box;
}

.promov-video-detail__title {
  margin: 0 0 22px;
  color: var(--pv-accent);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* パンくずの現在位置。長い動画タイトルでも枠外へ出さない。 */
.promov-video-detail .promov-taxonomy-overview__breadcrumb [aria-current="page"] {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* ── 動画プレーヤー ──
   oEmbed が iframe へ width/height 属性を直接書き込むため、!important でないと 16:9 が崩れる。 */
.promov-video-detail__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--pv-r-lg);
  background: #000;
}

.promov-video-detail__player iframe,
.promov-video-detail__player video,
.promov-video-detail__player embed,
.promov-video-detail__player object {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* ── プレーヤー直下の会社指定ボタン ──
   素の .promov-btn は旧色 #d9251d・角丸4px のため、会社カードのボタンと同じ指定へ揃える。 */
.promov-video-detail__lead-cta {
  margin-top: 26px;
  text-align: center;
}

.promov-video-detail__lead-cta-note {
  margin: 0 0 12px;
  color: var(--pv-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

.promov-video-detail__lead-cta .promov-btn {
  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);
  font-size: 14.5px;
  font-weight: 800;
  text-align: center;
}

.promov-video-detail__lead-cta .promov-btn:hover,
.promov-video-detail__lead-cta .promov-btn:focus-visible {
  background: var(--pv-accent-dk);
}

/* ── セクション見出し（制作会社個別ページと同一） ── */
.promov-video-detail__section-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  color: var(--pv-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.promov-video-detail__section-title::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 19px;
  border-radius: 2px;
  background: var(--pv-accent);
}

.promov-video-detail__details,
.promov-video-detail__company,
.promov-video-detail__similar {
  margin: 64px 0 0;
}

/* ── 動画の詳細情報 ── */
.promov-video-detail__specs {
  margin: 0;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  overflow: hidden;
  background: #fff;
}

.promov-video-detail__specs-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 18px 24px;
  border-bottom: 1px solid var(--pv-border);
}

.promov-video-detail__specs-row:last-child {
  border-bottom: 0;
}

.promov-video-detail__specs-row dt {
  margin: 0;
  color: var(--pv-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.promov-video-detail__specs-row dd {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: var(--pv-ink);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* 制作のポイントは詳細情報の最終行。タグ行と違い上端そろえ＋本文の行間にする。
   全文を表示し、line-clamp や三点リーダーは使わない。 */
.promov-video-detail__specs-row.is-note {
  align-items: start;
}

.promov-video-detail__specs-row dd.is-note {
  display: block;
  font-weight: 400;
  line-height: 1.9;
}

/* ── 似た動画 ──
   素の .ppg-grid は 1199px以下で2列に落ちるため、1024px以上は4列を維持する。 */
.promov-video-detail .ppg-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* ── 下部CTA ──
   共通コンポーネントの左右余白（width: calc(100% - 80px)）は
   すでに __inner の内側にいるため打ち消し、間隔だけを足す。 */
.promov-video-detail .promov-estimate-cta.promov-video-detail__cta,
body:is(.home, .promov-taxonomy-overview-page) .promov-video-detail .promov-estimate-cta {
  width: 100%;
  margin: 64px auto;
}

@media (max-width: 1023px) {
  .promov-video-detail__details,
  .promov-video-detail__company,
  .promov-video-detail__similar {
    margin-top: 56px;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-video-detail .promov-estimate-cta {
    margin: 56px auto;
  }

  .promov-video-detail .ppg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .promov-video-detail__title {
    font-size: 21px;
    line-height: 1.45;
    margin-bottom: 16px;
  }

  .promov-video-detail__section-title {
    font-size: 17px;
    margin-bottom: 14px;
  }

  .promov-video-detail__details,
  .promov-video-detail__company,
  .promov-video-detail__similar {
    margin-top: 40px;
  }

  body:is(.home, .promov-taxonomy-overview-page) .promov-video-detail .promov-estimate-cta {
    margin: 40px auto;
  }

  .promov-video-detail__lead-cta {
    margin-top: 20px;
  }

  .promov-video-detail__lead-cta .promov-btn {
    display: flex;
    width: 100%;
  }

  .promov-video-detail__specs-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 18px;
  }


  .promov-video-detail__lead-cta-note {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .promov-video-detail .ppg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* ── 詳細情報のタグ折り返し ──
   詳細度は既存の body.promov-taxonomy-overview-page .promov-taxonomy-overview .ppg-pill と同値(0,3,1)。
   後勝ちさせるため、必ずこの位置（ファイル末尾側）に置くこと。
   .promov-video-detail .ppg-pill（0,2,0）では負けて nowrap のまま残る。 */
body.promov-taxonomy-overview-page .promov-video-detail .promov-video-detail__specs-row dd {
  min-width: 0;
}

body.promov-taxonomy-overview-page .promov-video-detail .ppg-pill {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 4px 11px;
  font-size: 12.5px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* ══════════════════ 簡単見積もりページ ══════════════════
   外枠・パンくず・フッター・ボタンは body.promov-taxonomy-overview-page の
   共通定義を共有する。ここには入力フォーム固有の差分だけを書く。
   入力項目・name属性・必須設定・バリデーションは変更しない（見た目のみ）。 */

.promov-estimate,
.promov-estimate * {
  box-sizing: border-box;
}

/* 入力欄は読みやすい1カラム幅に収める。__inner の 1120px は他ページと共有したまま。 */
.promov-estimate .promov-consult-form {
  width: 100%;
  max-width: 720px;
  /* ヒーロー側が下余白を持つため、ここでは上余白を足さない。 */
  margin: 0 auto 64px;
  padding: 0;
}

/* 送信完了ページ（/estimate/complete/）も、フォームと同じ読みやすい1カラム幅に収める。 */
.promov-estimate-complete,
.promov-estimate-complete * {
  box-sizing: border-box;
}

.promov-estimate-complete .promov-consult-form {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 64px;
  padding: 0;
}

/* ── 参照情報ボックス ── */
.promov-estimate .promov-reference-box {
  margin: 0 0 24px;
  padding: 20px 24px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  background: #fff;
}

.promov-estimate .promov-reference-box__label {
  margin: 0 0 6px;
  color: var(--pv-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.promov-estimate .promov-reference-box__title {
  margin: 0;
  color: var(--pv-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.promov-estimate .promov-reference-box__url {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.promov-estimate .promov-reference-box__url a {
  color: var(--pv-soft);
}

/* 動画と制作会社の両方を指定した場合の区切り。表記は制作会社指定フォームと同じ。 */
.promov-estimate .promov-reference-box__company {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--pv-border);
}

.promov-estimate .promov-reference-box__link {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

.promov-estimate .promov-reference-box__link a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--pv-accent);
  font-weight: 700;
  text-decoration: none;
}

.promov-estimate .promov-reference-box__link a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.promov-estimate .promov-reference-box__link a:hover,
.promov-estimate .promov-reference-box__link a:focus-visible {
  text-decoration: underline;
}

/* ── 一般フォームの案内ボックス ──
   送信ボタンより目立たせない。副ボタンだけを使う。 */
.promov-estimate-guide {
  margin: 0 0 24px;
  padding: 18px 22px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  background: var(--pv-surface);
}

.promov-estimate-guide__text {
  margin: 0;
  color: var(--pv-soft);
  font-size: 13.5px;
  line-height: 1.9;
}

.promov-estimate-guide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}

.promov-estimate-guide__actions .promov-btn {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pv-border-strong);
  border-radius: var(--pv-r-md);
  background: #fff;
  color: var(--pv-ink) !important;
  font-size: 13px;
  font-weight: 700;
}

.promov-estimate-guide__actions .promov-btn:hover,
.promov-estimate-guide__actions .promov-btn:focus-visible {
  border-color: var(--pv-accent);
  color: var(--pv-accent) !important;
  background: #fff;
}

/* ── フォーム本体 ── */
.promov-estimate .promov-form {
  padding: 28px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-lg);
  background: #fff;
  box-shadow: var(--pv-sh-md);
}

/* 親テーマ videopro が p へ当てる padding: 8px 0 7px を打ち消す
   （company-register.css と同じ理由。実機で確認済み）。 */
.promov-estimate .promov-form > p {
  margin: 0 0 20px;
  padding: 0;
}

.promov-estimate .promov-form > p:last-child {
  margin-bottom: 0;
}

.promov-estimate .promov-form__hidden {
  display: none !important;
}

.promov-estimate .promov-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 20px;
}

.promov-estimate .promov-form-grid > p {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.promov-estimate .promov-form label {
  display: block;
  color: var(--pv-ink);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.7;
}

.promov-estimate .promov-form input[type="text"],
.promov-estimate .promov-form input[type="email"],
.promov-estimate .promov-form input[type="url"],
.promov-estimate .promov-form input[type="tel"],
.promov-estimate .promov-form select,
.promov-estimate .promov-form textarea {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  /* 親テーマが input へ当てる margin-bottom: 20px を打ち消す。 */
  margin: 7px 0 0;
  padding: 10px 13px;
  border: 1px solid var(--pv-border-strong);
  border-radius: var(--pv-r-md);
  background: #fff;
  color: var(--pv-ink);
  /* 16px 未満にすると iOS が入力時にページを拡大するため下げない。 */
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.promov-estimate .promov-form textarea {
  min-height: 132px;
  resize: vertical;
}

.promov-estimate .promov-form input:focus,
.promov-estimate .promov-form select:focus,
.promov-estimate .promov-form textarea:focus {
  outline: 2px solid var(--pv-accent-tint);
  outline-offset: 0;
  border-color: var(--pv-accent);
}

.promov-estimate .promov-form .description,
.promov-estimate .promov-field-note {
  display: block;
  margin: 7px 0 0;
  color: var(--pv-faint);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.8;
}

.promov-estimate .promov-required {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: var(--pv-r-sm);
  background: var(--pv-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── 選択肢（制作本数・動画の長さ・表現方法・他社提案） ── */
.promov-estimate .promov-fieldset {
  margin: 0 0 20px;
  padding: 18px 20px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-md);
  background: var(--pv-surface);
}

.promov-estimate .promov-fieldset legend {
  padding: 0 6px;
  color: var(--pv-ink);
  font-size: 13.5px;
  font-weight: 700;
}

.promov-estimate .promov-fieldset .promov-field-note {
  margin: 0 0 12px;
}

.promov-estimate .promov-radio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.promov-estimate .promov-radio-list .promov-check-label {
  display: inline-flex;
}

.promov-estimate .promov-checkboxes {
  gap: 10px 20px;
}

/* ラベル全体をクリックできるよう、入力とテキストを1つの label に収めたまま整える。 */
.promov-estimate .promov-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  color: var(--pv-ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  cursor: pointer;
}

.promov-estimate .promov-check-label input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--pv-accent);
}

/* 法定同意は既存の選択項目と分けて、送信直前に表示する。
   文字サイズ・色・チェックボックスの余白は company-register の同意チェックボックス
   （.promov-company-register__checkbox）と揃える。 */
.promov-estimate .promov-form__consent {
	margin: 0 0 20px;
	padding: 0;
	color: var(--pv-ink);
	font-size: 13.5px;
	line-height: 1.7;
}

/* .promov-estimate .promov-form label（詳細度 0,2,1）が bold を当てているため、
   その上のセレクタでは font-weight: 400 が書いてあっても打ち消せない
   （このセレクタ単体は 0,2,0 で負ける）。label を要素として明示し詳細度で確実に勝つ。 */
.promov-estimate .promov-form label.promov-form__consent-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--pv-ink);
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.7;
	cursor: pointer;
}

.promov-estimate .promov-form__consent input[type="checkbox"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	/* align-items: flex-start は行の上端に揃うだけで、テキストの文字は行送りぶん
	   四角より下から始まるため、実機で実測しながら上マージンで補正する（6px）。 */
	margin: 6px 0 0;
	accent-color: var(--pv-accent);
}

.promov-estimate .promov-form__consent a {
	color: var(--pv-accent);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.promov-estimate .promov-form__consent a:focus-visible,
.promov-estimate .promov-form__consent input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--pv-accent);
	outline-offset: 2px;
}

.promov-estimate .promov-form__error {
	margin: 0 0 20px;
	padding: 12px 14px;
	border: 1px solid #e7b8b3;
	border-radius: var(--pv-r-md);
	color: #a32920;
	background: #fff7f6;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.7;
}

/* ── 送信ボタン ── */
.promov-estimate .promov-form [data-promov-lead-submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 44px;
  border-radius: var(--pv-r-md);
  background: var(--pv-accent);
  font-size: 15px;
  font-weight: 800;
}

.promov-estimate .promov-form__submit {
  display: flex;
  justify-content: center;
}

.promov-estimate .promov-form [data-promov-lead-submit]:hover,
.promov-estimate .promov-form [data-promov-lead-submit]:focus-visible {
  background: var(--pv-accent-dk);
}

@media (max-width: 767px) {
  .promov-estimate .promov-consult-form {
    margin-bottom: 40px;
  }

  .promov-estimate .promov-form {
    padding: 18px;
  }

  .promov-estimate .promov-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .promov-estimate .promov-reference-box {
    padding: 16px 18px;
  }

  .promov-estimate .promov-fieldset {
    padding: 14px 16px;
  }

  .promov-estimate .promov-checkboxes {
    grid-template-columns: minmax(0, 1fr);
  }

  .promov-estimate .promov-radio-list {
    flex-direction: column;
    gap: 6px;
  }

  .promov-estimate .promov-form [data-promov-lead-submit] {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    padding: 0 20px;
  }

  .promov-estimate-guide {
    padding: 14px 16px;
  }

  .promov-estimate-guide__actions {
    flex-direction: column;
    gap: 8px;
  }

  .promov-estimate-guide__actions .promov-btn {
    width: 100%;
  }
}
