/*
Theme Name: PRMS
Theme URI: https://sgr-llc.jp/prms
Author: SGR
Description: PRMS(パルムス) 広告主・広告代理店・広告塔をマッチングするPRプラットフォーム用オリジナルテーマ
Version: 1.3.1
Text Domain: sgr-prms
*/

/* ==========================================================================
   PRMS トップページ
   ========================================================================== */

:root {
  --color-navy: #10203f;
  --color-navy-dark: #0a1528;
  --color-navy-light: #1c3560;
  --color-accent: #a3232f;
  --color-accent-dark: #841c26;
  --color-bg: #f6f7f9;
  --color-white: #ffffff;
  --color-text: #222222;
  --color-text-sub: #666666;
  --color-border: #e1e4e9;
  --font-base: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --width-inner: 1120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

.section-inner {
  width: 100%;
  max-width: var(--width-inner);
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: 1.75rem;
  text-align: center;
  color: var(--color-navy);
  margin-bottom: 28px;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 14px auto 0;
}

.section-lead {
  text-align: center;
  color: var(--color-text-sub);
  margin-bottom: 40px;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

main section {
  padding: 72px 0;
}

/* Button
   ---------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(16, 32, 63, 0.18);
}

.btn-primary {
  background: var(--color-navy-light);
  color: var(--color-white);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-accent:hover {
  box-shadow: 0 8px 16px rgba(163, 35, 47, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 1px solid var(--color-navy);
}

.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-login {
  border: 1px solid var(--color-navy);
  color: var(--color-navy);
  padding: 8px 20px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn-login:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

/* Header
   ---------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.header-inner {
  max-width: var(--width-inner);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-navy);
  white-space: nowrap;
}

.logo span {
  font-size: 0.75rem;
  font-weight: normal;
  margin-left: 4px;
}

.site-nav ul {
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--color-text);
}

.site-nav a:hover {
  color: var(--color-navy);
}

/* Hero
   ---------------------------------------------------------------------- */

.hero {
  padding: 0;
  background: var(--color-navy-dark);
}

.hero-visual {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-visual img {
  width: 100%;
  height: auto;
}

/* CTA (広告主・広告代理店・広告塔への導線)
   ---------------------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  padding: 56px 0;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(circle at 88% 85%, rgba(163, 35, 47, 0.16), transparent 50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: var(--width-inner);
  margin: 0 auto;
  padding: 0 24px;
  color: var(--color-white);
  text-align: center;
}

.cta-lead {
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

.cta-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-actions .btn {
  min-width: 220px;
}

.cta-actions .btn span {
  display: block;
  font-size: 0.75rem;
  font-weight: normal;
  margin-top: 4px;
  opacity: 0.85;
}

/* Stats
   ---------------------------------------------------------------------- */

.stats {
  background: var(--color-bg);
  padding: 48px 0;
}

.stats-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.stats-list li {
  text-align: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 24px 22px;
  min-width: 148px;
  box-shadow: 0 2px 10px rgba(16, 32, 63, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(16, 32, 63, 0.12);
}

.stats-list .num {
  display: block;
  font-size: 2.25rem;
  font-weight: bold;
  color: var(--color-navy);
  line-height: 1;
}

.stats-list .num .unit {
  font-size: 0.9rem;
  font-weight: normal;
  margin-left: 2px;
}

.stats-list .label {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--color-text-sub);
}

.stats-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8rem;
  color: #999999;
}

/* Sponsors slider
   ---------------------------------------------------------------------- */

.sponsors {
  background: var(--color-white);
}

.slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.slider-arrow:hover {
  background: var(--color-bg);
}

.sponsor-card {
  flex: 0 0 260px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-white);
  height: 180px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(16, 32, 63, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(16, 32, 63, 0.12);
}

.sponsor-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.sponsor-card-link:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 4px;
  border-radius: 3px;
}

.sponsor-name {
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-navy);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-navy);
}

.sponsor-meta {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  line-height: 1.8;
}

.sponsor-card-more {
  display: inline-block;
  margin-top: auto;
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: bold;
  text-align: right;
}

/* Ad slots slider
   ---------------------------------------------------------------------- */

.adslots {
  background: var(--color-bg);
}

.adslot-card {
  flex: 0 0 260px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-white);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(16, 32, 63, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.adslot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(16, 32, 63, 0.12);
}

.adslot-title {
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-navy);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-navy);
}

.adslot-meta {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  line-height: 1.8;
}

.adslot-list {
  margin-top: 8px;
}

.adslot-list li {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  padding: 6px 0;
  border-bottom: 1px dashed var(--color-border);
}

.adslot-list li:last-child {
  border-bottom: none;
}

/* Scheme diagram
   ---------------------------------------------------------------------- */

.scheme {
  background: var(--color-white);
}

.scheme-diagram {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px;
  background: radial-gradient(circle at 50% 40%, rgba(16, 32, 63, 0.05), transparent 70%), var(--color-bg);
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(16, 32, 63, 0.06);
}

.scheme-diagram img {
  width: 100%;
  height: auto;
}

.scheme-purpose {
  margin: 28px auto 0;
  text-align: center;
  color: var(--color-text-sub);
  font-size: calc(1rem + 1pt);
  line-height: 1.75;
}

.scheme-purpose p {
  margin: 0;
}

.scheme-purpose p + p {
  margin-top: 3px;
}

.scheme-purpose .scheme-purpose-title {
  margin-bottom: 8px;
  color: var(--color-navy);
  font-weight: bold;
}

/* Flow
   ---------------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.flow-table-wrap {
  overflow-x: auto;
}

.flow-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
}

.flow-table th,
.flow-table td {
  border: 1px solid var(--color-border);
  padding: 12px 14px;
  font-size: 0.85rem;
  text-align: center;
  vertical-align: middle;
}

.flow-table thead th {
  color: var(--color-navy);
  font-weight: bold;
  border-bottom: 2px solid var(--color-navy);
}

.flow-table-corner {
  border: none;
  background: none;
}

.flow-role {
  width: 130px;
  background: var(--color-bg);
  color: var(--color-navy);
  font-weight: bold;
  text-align: left;
}

.flow-phase {
  background: var(--color-bg);
  color: var(--color-navy);
  font-weight: bold;
}

.flow-search p {
  color: var(--color-text-sub);
  line-height: 1.9;
}

.flow-table-status td {
  font-size: 0.8rem;
  color: var(--color-text-sub);
}

.flow-table-status th,
.flow-table-fee th {
  border: none;
}

.flow-table-fee td {
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--color-white);
}

.flow-table-fee td:first-of-type {
  background: var(--color-navy-light);
}

.flow-table-fee td:last-child {
  background: var(--color-accent);
}

/* Pricing
   ---------------------------------------------------------------------- */

.pricing {
  background: var(--color-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(16, 32, 63, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(16, 32, 63, 0.12);
}

.pricing-card.is-highlight {
  border: 2px solid var(--color-accent);
}

.pricing-card-head {
  padding: 18px 24px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-white);
  background: var(--color-navy-light);
}

.pricing-card.is-highlight .pricing-card-head {
  background: var(--color-accent);
}

.pricing-card-body {
  padding: 28px 24px 32px;
}

.pricing-label {
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.pricing-features li {
  position: relative;
  font-size: 0.85rem;
  color: var(--color-text-sub);
  padding: 6px 0 6px 22px;
  border-bottom: 1px dashed var(--color-border);
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--color-accent);
  font-weight: bold;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-card.is-highlight .pricing-features > li.pricing-feature-plus {
  display: block;
  padding: 10px 0;
  border-bottom: none;
  color: var(--color-accent);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.pricing-card.is-highlight .pricing-features > li.pricing-feature-plus::before {
  content: none !important;
  display: none !important;
}

.pricing-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--color-text-sub);
  text-align: center;
}

.pricing-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.85rem;
  font-weight: normal;
  text-align: left;
}

.pricing-table th {
  color: var(--color-text-sub);
}

.pricing-table td {
  text-align: right;
  color: var(--color-navy);
  font-weight: bold;
  white-space: nowrap;
}

.pricing-table td span {
  font-weight: normal;
  color: var(--color-text-sub);
  margin-left: 2px;
}

.pricing-table tr:last-child th,
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* Footer
   ---------------------------------------------------------------------- */

.site-footer {
  background: var(--color-navy-dark);
  color: var(--color-white);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: bold;
}

.footer-logo span {
  display: block;
  font-size: 0.75rem;
  font-weight: normal;
  color: #9aa5b8;
  margin-top: 4px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: #d3d8e2;
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-operator {
  font-size: 0.8rem;
  color: #b7bfcf;
}

.footer-operator a {
  color: inherit;
  text-decoration: underline;
}

.footer-operator a:hover {
  color: var(--color-white);
}

.copyright {
  font-size: 0.75rem;
  color: #7c869c;
}

/* Generic page content (会員登録/会員一覧/マッチング申請/入会退会/料金案内 等)
   ---------------------------------------------------------------------- */

.page-content-wrap {
  padding: 64px 24px;
  max-width: var(--width-inner);
  margin: 0 auto;
}

.page-content-wrap .section-title {
  margin-bottom: 32px;
}

.page-content {
  color: var(--color-text);
  line-height: 1.9;
}

.page-content h2 {
  font-size: 1.3rem;
  color: var(--color-navy);
  margin: 32px 0 12px;
}

.page-content p {
  margin-bottom: 16px;
}

.page-content ul {
  list-style: disc;
  margin: 0 0 16px 1.4em;
}

.page-content ol {
  list-style: decimal;
  margin: 0 0 16px 1.4em;
}

.page-content ul.pricing-features {
  list-style: none;
  margin: 0;
}

.page-content .text-center {
  text-align: center;
}

/* お知らせ・注意書きボックス
   ---------------------------------------------------------------------- */

.page-content .notice-box {
  background: var(--color-bg);
  border-left: 4px solid var(--color-accent);
  border-radius: 4px;
  padding: 16px 20px;
  color: var(--color-text-sub);
  font-size: 0.9rem;
}

/* 会員一覧・検索案内
   ---------------------------------------------------------------------- */

.prms-member-search-guide {
  position: relative;
  margin: 0 auto 28px;
  padding: 18px 54px 18px 22px;
  border-left: 4px solid var(--color-accent);
  border-radius: 4px;
  background: var(--color-bg);
  color: var(--color-text-sub);
  line-height: 1.7;
}

.prms-member-search-guide::after {
  content: "↓";
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--color-accent);
  font-size: 1.35rem;
  font-weight: bold;
  transform: translateY(-50%);
}

.prms-member-search-guide strong,
.prms-member-search-guide span {
  display: block;
}

.prms-member-search-guide strong {
  margin-bottom: 2px;
  color: var(--color-navy);
  font-size: 1.05rem;
}

/* ProfileGridの会員区分カード全体をクリック可能に見せる。 */
.page-content .pmagic .pm-group-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-content .pmagic .pm-group-card:hover,
.page-content .pmagic .pm-group-card:focus-within {
  z-index: 1;
  border-color: var(--color-accent);
  box-shadow: 0 8px 22px rgba(16, 32, 63, 0.14);
  transform: translateY(-3px);
}

.page-content .pmagic .pm-group-card .pm-group-title {
  transition: background-color 0.2s ease;
}

.page-content .pmagic .pm-group-card:hover .pm-group-title,
.page-content .pmagic .pm-group-card:focus-within .pm-group-title {
  background-color: rgba(163, 35, 47, 0.08);
}

.page-content .pmagic .pm-group-card:hover .pm-group-cards-shortcode-title,
.page-content .pmagic .pm-group-card:focus-within .pm-group-cards-shortcode-title {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 既存のタイトルリンクをカード全体へ広げる。 */
.page-content .pmagic .pm-group-card .pm-group-cards-shortcode-title::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .page-content .pmagic .pm-group-card {
    transition: none;
  }

  .page-content .pmagic .pm-group-card:hover,
  .page-content .pmagic .pm-group-card:focus-within {
    transform: none;
  }
}

@media (max-width: 600px) {
  .prms-member-search-guide {
    padding: 16px 42px 16px 16px;
  }

  .prms-member-search-guide::after {
    right: 16px;
  }
}

/* Stripe決済完了ページ
   ---------------------------------------------------------------------- */

.payment-complete-message {
  max-width: 720px;
  margin: 0 auto;
}

.payment-complete-message .section-cta {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
}

/* WordPressの自動整形でボタン間に挿入される改行を無効化する。 */
.payment-complete-message .section-cta br {
  display: none;
}

.payment-complete-message .section-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

@media (max-width: 480px) {
  .payment-complete-message .section-cta {
    flex-direction: column;
  }

  .payment-complete-message .section-cta .btn {
    width: 100%;
    min-width: 0;
  }
}

/* Stripe料金表(埋め込みウィジェット)
   ---------------------------------------------------------------------- */

.stripe-embed-wrap {
  max-width: 640px;
  margin: 48px auto 0;
}

.stripe-embed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.stripe-embed-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(16, 32, 63, 0.05);
}

.stripe-embed-card-head {
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-navy);
}

@media (max-width: 768px) {
  .stripe-embed-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Form 7 フォーム
   ---------------------------------------------------------------------- */

.page-content .wpcf7 {
  max-width: 640px;
  margin: 32px auto 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 32px 28px;
  box-shadow: 0 2px 10px rgba(16, 32, 63, 0.05);
}

.page-content .wpcf7-form p {
  margin-bottom: 20px;
}

.page-content .wpcf7-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.page-content .wpcf7-form-control-wrap {
  display: block;
}

.page-content .wpcf7-form .wpcf7-form-control {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-content .wpcf7-form textarea.wpcf7-form-control {
  min-height: 140px;
  resize: vertical;
}

.page-content .wpcf7-form .wpcf7-form-control:focus {
  outline: none;
  border-color: var(--color-navy-light);
  box-shadow: 0 0 0 3px rgba(16, 32, 63, 0.1);
}

.page-content .wpcf7-form select.wpcf7-form-control {
  cursor: pointer;
}

.page-content .wpcf7-form p:has(input.wpcf7-submit) {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}

.page-content .wpcf7-form input.wpcf7-submit {
  display: inline-block;
  width: auto;
  min-width: 200px;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-content .wpcf7-form input.wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(163, 35, 47, 0.28);
}

.page-content .wpcf7-spinner {
  margin: 0 0 0 12px;
}

.page-content .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--color-accent);
}

.page-content .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* 会員登録ハブページ:立場を選ぶボタン
   ---------------------------------------------------------------------- */

.page-content ul.role-select-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(100%, 620px);
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
}

.role-select-actions li {
  width: 100%;
  margin: 0;
}

.role-select-actions .btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 72px;
  padding: 14px 20px;
  line-height: 1.5;
  text-align: center;
}

.role-select-actions .btn span {
  display: block;
  font-size: 0.75rem;
  font-weight: normal;
  margin-top: 4px;
  opacity: 0.85;
}

/* 会員プロフィール下部のログイン・有料会員・マッチング申請案内
   ---------------------------------------------------------------------- */

/* 広告主登録フォーム「企業HP」はURL入力欄だけを表示する。 */
input[name="company_url[text]"] {
  display: none !important;
}

.prms-profile-action {
  max-width: 960px;
  margin: 32px auto;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-red);
  border-radius: 6px;
  background: var(--color-white);
  box-shadow: 0 4px 16px rgba(16, 32, 63, 0.08);
  text-align: center;
}

/* 会員登録フォーム：個人情報保護方針への同意案内 */
.pmagic .pmrow:has(#privacy_consent) .pm-field-input {
  min-width: 0;
}

.pmagic .pmrow:has(#privacy_consent) .pmradio {
  display: block;
  float: none;
  width: 100%;
}

.pmagic .pmrow:has(#privacy_consent) .pm-radio-option {
  display: flex;
  float: none;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0;
}

.pmagic .pmrow:has(#privacy_consent) #privacy_consent {
  flex: 0 0 auto;
  width: auto;
  margin: 4px 0 0;
}

.pmagic .prms-privacy-consent-note {
  box-sizing: border-box;
  display: block;
  clear: both;
  width: 100%;
  max-width: 100%;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--color-accent);
  border-radius: 3px;
  background: var(--color-bg);
  color: var(--color-text-sub);
  font-size: 0.9rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.pmagic .prms-privacy-consent-note a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prms-profile-action h2 {
  margin: 0 0 12px;
  color: var(--color-navy);
  font-size: 1.25rem;
}

.prms-profile-action p {
  margin: 0 0 20px;
}

.prms-profile-action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.prms-profile-action-approved {
  margin-bottom: 0 !important;
  color: var(--color-navy);
  font-weight: bold;
}

@media (max-width: 768px) {
  .role-select-actions .btn {
    min-height: 64px;
    padding: 12px 16px;
  }

  .prms-profile-action {
    margin: 24px 16px;
    padding: 22px 16px;
  }

  .prms-profile-action-buttons .btn {
    width: 100%;
  }
}

/* Responsive
   ---------------------------------------------------------------------- */

@media (max-width: 768px) {
  main section {
    padding: 48px 0;
  }

  .site-nav {
    display: none;
  }

  .cta {
    padding: 40px 0;
  }

  .slider-arrow {
    display: none;
  }

  .sponsor-card {
    flex: 0 0 220px;
  }

  .adslot-card {
    flex: 0 0 220px;
  }

  .cta-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .stats-list {
    gap: 24px 32px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* PRMSサービス資料ダウンロード */
.prms-document-download {
  margin: 40px auto 0;
  padding: 32px 24px;
  max-width: 760px;
  text-align: center;
  background: #f5f6f8;
  border-radius: 6px;
}

.prms-document-download__text {
  margin: 0 0 20px;
  color: #555;
  font-size: 16px;
  line-height: 1.8;
}

.prms-document-download__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 320px;
  padding: 15px 28px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  background: #b2212d;
  border: 2px solid #b2212d;
  border-radius: 4px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.prms-document-download__button:hover,
.prms-document-download__button:focus-visible {
  color: #b2212d;
  text-decoration: none;
  background: #fff;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .prms-document-download {
    margin-top: 28px;
    padding: 24px 16px;
  }

  .prms-document-download__button {
    width: 100%;
    min-width: 0;
    font-size: 15px;
  }
}