/**
 * e-Smart BPM 製品ランディングページ専用スタイル
 *
 * - すべてのセレクタを `.esb-page` でスコープ化（他ページへの漏洩防止）
 * - CSS変数は `--esb-` プレフィックス
 * - 親サイトCSS（style.css / sp.css）の後に読み込む（functions.php で制御）
 *
 * Git管理: github.com/plc-partners-com/e-smart-bpm-product-page
 * 配置先: /wp-content/themes/plc-partners/css/e-smart-bpm-lp.css
 */

/* ===== 確認・完了ページのヘッダー背景色を補う =====
 * <header> 自体は position:fixed で表示されているが、
 * 親テーマは body の特定クラス（page-id 等）で背景色を付与している模様で、
 * 子ページ（page-child / page-finish / page-confirm）では背景が抜け、
 * 白背景に白文字となりロゴ・ナビが見えなくなる。
 * ここでは page-child 系のページに限定して背景色を補う。
 * 入力ページ（page-e-smart-bpm）には影響しない。
 */
body.esb-page.page-child > #wrapper > header {
  background: #1a3a6b;
}

/* ===== Noto Sans JP をページ配下に適用 ===== */
.esb-page,
.esb-page input,
.esb-page textarea,
.esb-page select,
.esb-page button {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", sans-serif;
}

/* ===== カラー変数 ===== */
.esb-page {
  --esb-primary: #1a3a6b;
  --esb-primary-light: #2a5298;
  --esb-accent: #0088cc;
  --esb-accent-light: #e8f4fd;
  --esb-dark: #1c1c23;
  --esb-gray-bg: #f5f6f8;
  --esb-text: #333;
  --esb-white: #fff;
  --esb-border: #dde1e6;
  --esb-gradient: linear-gradient(135deg, #1a3a6b 0%, #0c3476 100%);
}

/* ===== ページ内リンクナビ =====
 * NOTE: 親テーマの固定ヘッダーとの重なりに注意。
 * デプロイ後に位置調整が必要な場合は `top` を調整する。
 */
.esb-page .page-link-block {
  background: var(--esb-primary);
  padding: 8px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
}
.esb-page .page-link-block ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.esb-page .page-link-block ul li {
  margin: 0 12px;
}
.esb-page .page-link-block ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}
.esb-page .page-link-block ul li a.active {
  color: #fff;
  border-bottom: 2px solid #fff;
  padding-bottom: 4px;
}
.esb-page .page-link-block ul li a.btn {
  background: #fff;
  color: var(--esb-primary);
  padding: 6px 20px;
  border-radius: 4px;
  font-weight: bold;
}
.esb-page .page-link-block ul li a.btn:hover {
  background: var(--esb-accent-light);
  opacity: 1;
}

/* ===== HERO ===== */
.esb-page .esb-hero {
  background: var(--esb-dark);
  color: #fff;
  padding: 220px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* スライドショー背景 */
.esb-page .esb-hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.esb-page .esb-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: esbHeroFade 40s step-end infinite;
}
.esb-page .esb-hero-slide:nth-child(1) { animation-delay: 0s; }
.esb-page .esb-hero-slide:nth-child(2) { animation-delay: 5s; }
.esb-page .esb-hero-slide:nth-child(3) { animation-delay: 10s; }
.esb-page .esb-hero-slide:nth-child(4) { animation-delay: 15s; }
.esb-page .esb-hero-slide:nth-child(5) { animation-delay: 20s; }
.esb-page .esb-hero-slide:nth-child(6) { animation-delay: 25s; }
.esb-page .esb-hero-slide:nth-child(7) { animation-delay: 30s; }
.esb-page .esb-hero-slide:nth-child(8) { animation-delay: 35s; }
@keyframes esbHeroFade {
  0%    { opacity: 1; }
  12.5% { opacity: 0; }
  100%  { opacity: 0; }
}
/* オーバーレイ（紺グラデーション半透明） */
.esb-page .esb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,107,0.75) 0%, rgba(12,52,118,0.75) 100%);
  z-index: 1;
}
.esb-page .esb-hero .inner-block {
  position: relative;
  z-index: 2;
}
.esb-page .esb-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  z-index: 2;
}
.esb-page .esb-hero .product-name {
  font-size: 48px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.esb-page .esb-hero .product-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}
.esb-page .esb-hero .catch {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 16px;
  white-space: nowrap;
}
.esb-page .esb-hero .sub-catch {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.esb-page .esb-hero .cta-area {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.esb-page .esb-hero .cta-btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  letter-spacing: 0.05em;
  transition: 0.3s ease;
}
.esb-page .esb-hero .cta-btn.primary {
  background: #fff;
  color: var(--esb-primary);
}
.esb-page .esb-hero .cta-btn.primary:hover {
  background: var(--esb-accent-light);
  opacity: 1;
}
.esb-page .esb-hero .cta-btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.esb-page .esb-hero .cta-btn.secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  opacity: 1;
}

/* ===== 共通セクション ===== */
.esb-page .esb-section {
  padding: 80px 0;
}
.esb-page .esb-section.bg-gray {
  background: var(--esb-gray-bg);
}
.esb-page .esb-section .section-label {
  text-align: center;
  font-size: 14px;
  color: var(--esb-accent);
  letter-spacing: 0.15em;
  font-weight: bold;
  margin-bottom: 8px;
}
.esb-page .esb-section .section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: var(--esb-primary);
  margin-bottom: 50px;
  line-height: 1.5;
}
.esb-page .esb-section .section-title span {
  display: block;
  font-size: 15px;
  color: #666;
  font-weight: normal;
  margin-top: 8px;
}

/* ===== ISSUE ===== */
.esb-page .issue-list {
  display: flex;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.esb-page .issue-card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border-top: 4px solid var(--esb-accent);
  text-align: center;
}
.esb-page .issue-card .issue-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--esb-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.esb-page .issue-card .issue-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--esb-primary);
  margin-bottom: 12px;
}
.esb-page .issue-card .issue-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

/* ===== CONCEPT ===== */
.esb-page .concept-content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.esb-page .concept-content .concept-lead {
  font-size: 16px;
  line-height: 2;
  color: #444;
  margin-bottom: 40px;
}
/* ===== コンセプトフロー（AS-IS群 → 大矢印 → TO-BE群） ===== */
.esb-page .concept-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
}
.esb-page .concept-flow-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--esb-accent-light);
  border-radius: 8px;
  padding: 16px 20px;
}
.esb-page .concept-flow-group .group-label {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.15em;
  color: var(--esb-accent);
  margin: 0;
}
.esb-page .concept-flow-items {
  display: flex;
  gap: 12px;
}
.esb-page .concept-flow-item {
  background: #fff;
  border: 1px solid var(--esb-border);
  border-radius: 8px;
  padding: 20px 24px;
  min-width: 180px;
  text-align: center;
}
.esb-page .concept-flow-item.highlight {
  background: var(--esb-primary);
  color: #fff;
  border-color: var(--esb-primary);
}
.esb-page .concept-flow-item .flow-label {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}
.esb-page .concept-flow-item.highlight .flow-label {
  color: rgba(255,255,255,0.7);
}
.esb-page .concept-flow-item .flow-title {
  font-size: 14px;
  font-weight: bold;
}
/* 大矢印 + 中央ラベル */
.esb-page .concept-flow-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px;
  flex-shrink: 0;
}
.esb-page .concept-flow-bridge .bridge-arrow {
  font-size: 28px;
  line-height: 1;
  color: var(--esb-accent);
  font-weight: bold;
}
.esb-page .concept-flow-bridge .bridge-label {
  font-size: 13px;
  font-weight: bold;
  color: var(--esb-accent);
  margin: 8px 0 0;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
}
.esb-page .concept-pillars {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  justify-content: space-between;
}
.esb-page .concept-pillar {
  background: var(--esb-accent-light);
  border-radius: 8px;
  padding: 20px 24px;
  flex: 1;
  text-align: left;
}
.esb-page .concept-pillar .pillar-num {
  font-size: 32px;
  font-weight: bold;
  color: var(--esb-accent);
  margin-bottom: 8px;
  line-height: 1;
}
.esb-page .concept-pillar .pillar-title {
  font-size: 15px;
  font-weight: bold;
  color: var(--esb-primary);
  margin-bottom: 6px;
}
.esb-page .concept-pillar .pillar-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}
.esb-page .trademark-mini {
  font-size: 11px;
  color: #888;
}

/* ===== FEATURES ===== */
.esb-page .features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.esb-page .feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.esb-page .feature-card .feature-badge {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--esb-gradient);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.esb-page .feature-card .feature-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--esb-primary);
  margin-bottom: 10px;
}
.esb-page .feature-card .feature-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

/* ===== FUNCTION ===== */
.esb-page .function-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.esb-page .function-item {
  background: #fff;
  border: 1px solid var(--esb-border);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
}
.esb-page .function-item .func-num {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  background: var(--esb-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 14px;
}
.esb-page .function-item .func-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--esb-primary);
  margin-bottom: 8px;
}
.esb-page .function-item .func-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}
.esb-page .function-item.construction {
  border-color: var(--esb-accent);
  background: var(--esb-accent-light);
}
.esb-page .function-item.construction .func-badge {
  display: inline-block;
  background: var(--esb-accent);
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

/* ===== USE CASE ===== */
.esb-page .usecase-list {
  display: flex;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.esb-page .usecase-card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.esb-page .usecase-card .uc-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.esb-page .usecase-card .uc-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--esb-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--esb-accent);
}
.esb-page .usecase-card .uc-list {
  list-style: none;
  padding: 0;
}
.esb-page .usecase-card .uc-list li {
  font-size: 14px;
  color: #555;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.esb-page .usecase-card .uc-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--esb-accent);
  font-weight: bold;
}

/* ===== BENEFIT ===== */
.esb-page .benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.esb-page .benefit-item {
  background: #fff;
  border-radius: 8px;
  padding: 28px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.esb-page .benefit-item .benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--esb-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.esb-page .benefit-item .benefit-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--esb-primary);
  margin-bottom: 6px;
}
.esb-page .benefit-item .benefit-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* ===== PLAN（料金） ===== */
.esb-page .plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 40px;
}
.esb-page .plan-card {
  background: #fff;
  border-radius: 12px;
  border: 2px solid var(--esb-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.esb-page .plan-card.recommended {
  border-color: var(--esb-accent);
  box-shadow: 0 4px 24px rgba(0,136,204,0.15);
}
.esb-page .plan-card .plan-header {
  background: var(--esb-gray-bg);
  padding: 24px 24px 20px;
  text-align: center;
  border-bottom: 1px solid var(--esb-border);
}
.esb-page .plan-card.recommended .plan-header {
  background: var(--esb-primary);
  color: #fff;
  border-bottom-color: var(--esb-primary);
}
.esb-page .plan-card .plan-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 4px;
}
.esb-page .plan-card.recommended .plan-label {
  color: rgba(255,255,255,0.7);
}
.esb-page .plan-card .plan-name {
  font-size: 20px;
  font-weight: bold;
  color: var(--esb-primary);
  margin-bottom: 8px;
}
.esb-page .plan-card.recommended .plan-name {
  color: #fff;
}
.esb-page .plan-card .plan-concept {
  font-size: 13px;
  color: #666;
}
.esb-page .plan-card.recommended .plan-concept {
  color: rgba(255,255,255,0.85);
}
/* インラインstyleから抽出したフィット文言 */
.esb-page .plan-card .plan-concept.plan-fit {
  margin-top: 6px;
  font-size: 12px;
  color: var(--esb-accent);
}
.esb-page .plan-card.recommended .plan-concept.plan-fit.recommended-fit {
  color: rgba(255,255,255,0.9);
}
.esb-page .plan-card .plan-features {
  padding: 24px;
  flex-grow: 1;
}
.esb-page .plan-card .plan-features ul {
  list-style: none;
  padding: 0;
}
.esb-page .plan-card .plan-features li {
  font-size: 14px;
  color: #555;
  padding: 8px 0;
  padding-left: 22px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}
.esb-page .plan-card .plan-features li:last-child {
  border-bottom: none;
}
.esb-page .plan-card .plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--esb-accent);
  font-weight: bold;
}

.esb-page .plan-options {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.esb-page .plan-option-card {
  background: #fff;
  border: 1px solid var(--esb-border);
  border-radius: 8px;
  padding: 24px 28px;
}
.esb-page .plan-option-card .opt-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--esb-primary);
  margin-bottom: 8px;
}
.esb-page .plan-option-card .opt-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}
.esb-page .plan-note {
  max-width: 1100px;
  margin: 30px auto 0;
  font-size: 13px;
  color: #888;
  line-height: 1.8;
}

/* ===== FLOW（導入の進め方） ===== */
.esb-page .flow-steps {
  display: flex;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto 40px;
  align-items: flex-start;
}
.esb-page .flow-step {
  flex: 1;
  text-align: center;
  position: relative;
}
.esb-page .flow-step .step-num {
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  background: var(--esb-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
}
.esb-page .flow-step .step-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--esb-primary);
  margin-bottom: 6px;
}
.esb-page .flow-step .step-period {
  font-size: 13px;
  color: var(--esb-accent);
  font-weight: bold;
  margin-bottom: 12px;
}
.esb-page .flow-step .step-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}
.esb-page .flow-arrow {
  flex-shrink: 0;
  margin-top: 20px;
  font-size: 28px;
  color: var(--esb-accent);
}

/* ===== TRIAL & SUBSIDY ===== */
.esb-page .trial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.esb-page .trial-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.esb-page .trial-card .trial-badge {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 16px;
}
.esb-page .trial-card .trial-badge.green {
  background: #27ae60;
}
.esb-page .trial-card .trial-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--esb-primary);
  margin-bottom: 12px;
}
.esb-page .trial-card .trial-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

/* ===== CONTACT ===== */
/* 「まずは1か月、無料でお試しください」文言（旧インラインstyle） */
.esb-page .above-form-catch {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: var(--esb-primary);
  margin-bottom: 8px;
}
.esb-page .esb-contact .catch {
  text-align: center;
  font-size: 15px;
  color: #555;
  margin-bottom: 40px;
}
.esb-page .form-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.esb-page .form-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: bold;
  font-size: 14px;
  width: 200px;
  vertical-align: top;
  background: var(--esb-gray-bg);
  border-bottom: 1px solid #fff;
}
.esb-page .form-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--esb-border);
}
.esb-page .form-table input[type="text"],
.esb-page .form-table input[type="email"],
.esb-page .form-table input[type="tel"],
.esb-page .form-table textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--esb-border);
  border-radius: 4px;
  font-size: 14px;
}
.esb-page .form-table select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--esb-border);
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
}
.esb-page .form-table textarea {
  height: 120px;
  resize: vertical;
}
.esb-page .form-table .required::after {
  content: "必須";
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: normal;
}
.esb-page .form-submit {
  text-align: center;
  margin-top: 30px;
}
.esb-page .form-submit .submit-btn {
  display: inline-block;
  background: var(--esb-primary);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 16px 60px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}
.esb-page .form-submit .submit-btn:hover:not(:disabled) {
  background: var(--esb-primary-light);
  opacity: 1;
}
.esb-page .form-submit .submit-btn:disabled {
  background: #bbb;
  cursor: not-allowed;
}
.esb-page .form-privacy {
  max-width: 800px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 13px;
  color: #666;
}
.esb-page .form-privacy a {
  color: var(--esb-accent);
  text-decoration: underline;
}

/* MW WP Form の form-table セル内のリンク（個人情報保護方針など）を視認可能に */
.esb-page .form-table th a,
.esb-page .form-table td a {
  color: var(--esb-accent);
  text-decoration: underline;
}
.esb-page .form-table th a:hover,
.esb-page .form-table td a:hover {
  color: var(--esb-primary);
  text-decoration: underline;
}

/* MW WP Form が確認画面で出力するボタン群（戻る・送信する） */
.esb-page .mw_wp_form .form-submit input[type="submit"],
.esb-page .mw_wp_form .form-submit button[type="submit"] {
  display: inline-block;
  background: var(--esb-primary);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 16px 60px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin: 0 8px;
}

/* ===== 商標注記 ===== */
.esb-page .trademark-note {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0 0;
  font-size: 12px;
  color: #999;
  text-align: left;
}

/* ===== パンくずリスト ===== */
.esb-page .breadcrumb-block {
  border-top: 1px solid #ccc;
  line-height: 50px;
  height: 50px;
  font-size: 14px;
}
.esb-page .breadcrumb-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.esb-page .breadcrumb-block ul li {
  display: inline;
  position: relative;
  color: #333;
}
.esb-page .breadcrumb-block ul li + li {
  margin-left: 40px;
}
.esb-page .breadcrumb-block ul li + li::before {
  background: url(https://www.plc-partners.com/wp-content/themes/plc-partners/img/common/arrow_right_black.svg) no-repeat center center;
  background-size: 6px 10px;
  content: "";
  display: block;
  height: 6px;
  position: absolute;
  width: 10px;
  bottom: 0;
  top: 0;
  left: -25px;
  margin: auto;
}
.esb-page .breadcrumb-block ul li a {
  color: #333;
  text-decoration: none;
}
.esb-page .breadcrumb-block ul li a:hover {
  color: #238db0;
  text-decoration: underline;
}

/* ===== レスポンシブ（SP: 640px以下） ===== */
@media screen and (max-width: 640px) {
  .esb-page .outer-block {
    min-width: 100%;
  }
  .esb-page .inner-block {
    width: 100%;
    padding: 0 20px;
  }

  .esb-page .page-link-block {
    display: none !important;
  }

  .esb-page .esb-hero {
    padding: 100px 20px 60px;
  }
  .esb-page .esb-hero .product-name {
    font-size: 32px;
  }
  .esb-page .esb-hero .catch {
    font-size: 20px;
    white-space: normal;
  }
  .esb-page .esb-hero .cta-area {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .esb-page .esb-hero .cta-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .esb-page .esb-section {
    padding: 50px 0;
  }
  .esb-page .esb-section .section-title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .esb-page .issue-list,
  .esb-page .usecase-list {
    flex-direction: column;
  }

  .esb-page .features-grid,
  .esb-page .function-grid,
  .esb-page .plan-grid,
  .esb-page .benefit-grid,
  .esb-page .plan-options,
  .esb-page .trial-grid {
    grid-template-columns: 1fr;
  }

  .esb-page .form-table th,
  .esb-page .form-table td {
    display: block;
    width: 100%;
  }
  .esb-page .form-table th {
    padding: 12px 16px 4px;
    border-bottom: none;
  }
  .esb-page .form-table td {
    padding: 4px 16px 12px;
  }

  .esb-page .concept-flow {
    flex-direction: column;
    gap: 16px;
  }
  .esb-page .concept-flow-items {
    flex-direction: column;
  }
  .esb-page .concept-flow-bridge .bridge-arrow {
    transform: rotate(90deg);
    font-size: 28px;
  }
  .esb-page .concept-pillars {
    flex-direction: column;
    align-items: center;
  }
  .esb-page .concept-pillar {
    max-width: 100%;
  }

  .esb-page .flow-steps {
    flex-direction: column;
  }
  .esb-page .flow-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }

  .esb-page .feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .esb-page .benefit-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
