/*
  コンテナー
*/
@media screen and (min-width: 600px) {
  .l-content {
    padding-top: 12px !important;
  }
}

.post_content {
  margin-top: 24px !important;
}

/*
  ページタイトル
*/
.c-pageTitle {
  background: transparent !important;
  border-bottom: none !important;
  text-align: center !important;
  margin: 0 !important;
}

.c-pageTitle__inner {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--color_main);
  padding: 8px 24px !important;
  float: none !important;
  border-bottom: 4px solid var(--color_main) !important;
  display: inline-block;
  margin-bottom: 32px !important;
}

/* 
　見出し2（H2）
*/
.post_content h2 {
  position: relative !important;
  background: transparent !important;
  color: #333333 !important;
  padding: 0 0 16px 0 !important;
  border: none !important;
  text-align: center !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  margin-bottom: 40px !important;
  line-height: 1.5 !important;
}

h2#service {
  margin-top: 80px !important;
}

.post_content h2::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 64px !important;
  height: 4px !important;
  background: var(--color_main) !important;
  border-radius: 4px !important;
}

@media (min-width: 900px) {
  .post_content h2 {
    font-size: 28px !important;
    margin-bottom: 48px !important;
  }
}



/*
  下層用ファーストビュー (.p-customFv)
*/
.p-customFv {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.p-customFv__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.8) 0%,
    rgba(30, 58, 138, 0.8) 50%,
    rgba(6, 182, 212, 0.6) 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.p-customFv__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.p-customFv__title {
  text-align: center;
  margin: 0 auto 24px;
  font-size: 40px;
  font-weight: 900;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  display: inline-block;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.02em;
}

.p-customFv__copy {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
  color: #f8fafc;
  margin: 0 0 40px 0;
  letter-spacing: 0.05em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.p-customFv__btnWrap {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.p-customFv__btn {
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  color: #ffffff !important;
  padding: 24px 64px;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  box-shadow:
    0 8px 24px rgba(59, 130, 246, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}

.p-customFv__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  transition: 0.7s;
}

.p-customFv__btn:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow:
    0 16px 40px rgba(14, 165, 233, 0.7),
    inset 0 2px 0 rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
}

.p-customFv__btn:hover::before {
  left: 150%;
}

@media (max-width: 599px) {
  .p-customFv {
    padding-top: 64px;
    padding-bottom: 64px;
    min-height: 480px;
    background-position: center center;
  }
  .p-customFv__title {
    font-size: 24px;
  }
  .p-customFv__copy {
    font-size: 16px;
  }
}

#main_content .p-toc {
  display: none;
}

/* =========================================================
   【1. リセット & ベースタイポグラフィ】
   ========================================================= */
/* SWELLのデフォルトスタイルを強制リセットし、折り返しを最適化 */
body .post_content .service-wrapper *,
body .post_content .role-wrapper *,
body .post_content .speed-wrapper *,
body .post_content .issue-wrapper *,
body .post_content .service-detail-wrapper *,
body .post_content .strength-wrapper *,
body .post_content .case-wrapper *,
body .post_content .faq-wrapper *,
body .post_content .flow-wrapper *,
body .post_content .profile-wrapper * {
  border-color: #e2e8f0;
  word-break: auto !important;
  overflow-wrap: break-word !important;
  box-sizing: border-box !important;
}

/* スマホ時の<br>タグによる不自然な改行を無効化 */
@media (max-width: 599px) {
  body .post_content br {
    display: none !important;
  }
}

body .post_content section:first-child {
  margin-top: 0 !important;
}

/* テキストの基本スタイル */
body .post_content p {
  color: #374151 !important;
  line-height: 1.8 !important;
  font-size: 16px !important;
  margin-bottom: 24px !important;
}

/* =========================================================
   【2. 共通セクション設定】
   ========================================================= */
/*
  サイドバーあり（2カラム）前提のため、横幅の制限(max-width)を解除。
  SWELLのメインコンテンツエリア幅に合わせて自然に100%広がります。
*/
body .post_content .service-wrapper,
body .post_content .role-wrapper,
body .post_content .speed-wrapper,
body .post_content .issue-wrapper,
body .post_content .service-detail-wrapper,
body .post_content .strength-wrapper,
body .post_content .case-wrapper,
body .post_content .faq-wrapper,
body .post_content .flow-wrapper,
body .post_content .profile-wrapper {
  margin-top: 80px !important;
  margin-bottom: 80px !important;
  width: 100% !important;
}

@media (min-width: 900px) {
  body .post_content .service-wrapper,
  body .post_content .role-wrapper,
  body .post_content .speed-wrapper,
  body .post_content .issue-wrapper,
  body .post_content .service-detail-wrapper,
  body .post_content .strength-wrapper,
  body .post_content .case-wrapper,
  body .post_content .faq-wrapper,
  body .post_content .flow-wrapper,
  body .post_content .profile-wrapper {
    margin-top: 100px !important;
    margin-bottom: 100px !important;
  }
}

/* =========================================================
   【3. 共通見出し（H2, H3）】
   ========================================================= */
body .post_content h2 {
  position: relative !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  text-align: center !important;
  margin-bottom: 64px !important;
  padding-bottom: 24px !important;
  border: none !important;
  background: transparent !important;
  letter-spacing: 0.05em !important;
}

body .post_content h2::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 80px !important;
  height: 6px !important;
  background: linear-gradient(90deg, #3b82f6, #ec4899) !important;
  border-radius: 24px !important;
}

@media (max-width: 899px) {
  body .post_content h2 {
    font-size: 26px !important;
    margin-bottom: 48px !important;
  }
}

body .post_content h3 {
  font-size: 24px !important;
  font-weight: 900 !important;
  color: #1e293b !important;
  margin-top: 72px !important;
  margin-bottom: 32px !important;
  padding: 12px 0 12px 24px !important;
  border: none !important;
  border-left: 6px solid #3b82f6 !important;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.1),
    transparent
  ) !important;
  border-radius: 0 12px 12px 0 !important;
  text-align: left !important;
}

/* =========================================================
   【4. リスト（ul, ol）のプロフェッショナル化】
   ========================================================= */
body .post_content ul:where(:not([class]), .wp-block-list) {
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 32px !important;
}

body .post_content ul:where(:not([class]), .wp-block-list) > li {
  position: relative !important;
  padding-left: 32px !important;     /* 青いチェックの余白を少し広げて圧迫感を減らす */
  margin-bottom: 16px !important;    /* 行間を広げて可読性を高める */
  color: #374151 !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;       /* テキスト側の行間を少し余裕を持たせる */
}

body .post_content ul:where(:not([class]), .wp-block-list) > li::before {
  content: "" !important;
  position: absolute !important;
  left: 4px !important;
  top: 8px !important;               /* 位置を少し下げる */
  width: 5px !important;             /* チェックアイコンを少し小さくする */
  height: 10px !important;
  border-right: 2px solid #2563eb !important; /* 少し細くして洗練された印象に */
  border-bottom: 2px solid #2563eb !important;
  transform: rotate(45deg) !important;
}

/* =========================================================
   【5. できること（アンカーリンクカード群）など】
   ========================================================= */
body .post_content .service-card,
body .post_content .solve-card {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 16px !important;
  padding: 0 !important;
  box-shadow: 0 8px 24px rgba(31, 38, 135, 0.05) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin: 0 !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
}

body .post_content .solve-cards .swell-block-box-menu__inner {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
}

@media (max-width: 767px) {
  body .post_content .solve-cards .swell-block-box-menu__inner {
    grid-template-columns: 1fr !important;
  }
}

body .post_content .service-card p,
body .post_content .solve-card .swell-block-box-menu__link {
  margin: 0 !important;
  padding: 32px 24px !important;
  position: relative !important;
  z-index: 2 !important;
}

body .post_content .service-card p a,
body .post_content .solve-card .swell-block-box-menu__text {
  color: #1e3a8a !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  line-height: 1.8 !important;
  word-break: auto-phrase !important; /* 不自然な改行を防ぐ */
  overflow-wrap: anywhere !important;
}

body .post_content .service-card:hover,
body .post_content .solve-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: #93c5fd !important;
}

body .post_content .service-card::after,
body .post_content .solve-card::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1),
    rgba(236, 72, 153, 0.1)
  ) !important;
  opacity: 0 !important;
  transition: opacity 0.4s ease !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

body .post_content .service-card:hover::after,
body .post_content .solve-card:hover::after {
  opacity: 1 !important;
}

/* =========================================================
   【6. 内部施策などのカラム内カード（新規・既存）】
   ========================================================= */
body .post_content .role-wrapper .wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 32px !important;
  margin-top: 40px !important;
  margin-bottom: 56px !important;
}

@media (max-width: 767px) {
  body .post_content .role-wrapper .wp-block-columns {
    grid-template-columns: 1fr !important;
  }
}

body .post_content .role-wrapper .wp-block-column {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 20px !important;
  padding: 32px !important;
  margin: 0 !important;
  width: 100% !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

body .post_content .role-wrapper .wp-block-column h4 {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #1e293b !important;
  border-bottom: 2px dashed #cbd5e1 !important;
  padding-bottom: 16px !important;
  margin-bottom: 24px !important;
  text-align: center !important;
}

body .post_content .role-wrapper .wp-block-column ol {
  padding-left: 20px !important;
  color: #334155 !important;
  font-weight: 700 !important;
  margin-bottom: 0 !important;
  font-size: 15px !important;
}

body .post_content .role-wrapper .wp-block-column ol li {
  margin-bottom: 12px !important;
}

/* =========================================================
   【7. ボックス装飾（メリット・課題など）】
   ========================================================= */
body .post_content .role-box,
body .post_content .role-box-gray,
body .post_content .issue-box,
body .post_content .issue-box-blue,
body .post_content .issue-box-red {
  border-radius: 16px !important;
  padding: 32px 40px !important;
  margin: 48px 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 10px 40px -5px rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
  overflow: hidden !important;
}

@media (max-width: 599px) {
  body .post_content .role-box,
  body .post_content .role-box-gray,
  body .post_content .issue-box,
  body .post_content .issue-box-blue,
  body .post_content .issue-box-red {
    padding: 24px 20px !important;
  }
}

body .post_content .role-box::before,
body .post_content .role-box-gray::before,
body .post_content .issue-box::before,
body .post_content .issue-box-blue::before,
body .post_content .issue-box-red::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 8px !important;
  height: 100% !important;
}

body .post_content .role-box::before,
body .post_content .role-box-gray::before,
body .post_content .issue-box::before {
  background: linear-gradient(180deg, #9ca3af, #6b7280) !important;
}
body .post_content .issue-box-blue::before {
  background: linear-gradient(180deg, #3b82f6, #6366f1) !important;
}
body .post_content .issue-box-red::before {
  background: linear-gradient(180deg, #ef4444, #f43f5e) !important;
}

body .post_content .role-box p:first-child strong,
body .post_content .issue-box-blue p:first-child strong,
body .post_content .issue-box-red p:first-child strong {
  font-size: 18px !important;
  font-weight: 900 !important;
  margin-bottom: 16px !important;
  display: block !important;
  letter-spacing: 0.05em !important;
}

body .post_content .role-box p:first-child strong {
  color: #374151 !important;
}
body .post_content .issue-box-blue p:first-child strong {
  background: linear-gradient(90deg, #1d4ed8, #4338ca) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
body .post_content .issue-box-red p:first-child strong {
  background: linear-gradient(90deg, #b91c1c, #be123c) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body .post_content .role-box ul,
body .post_content .issue-box-blue ul,
body .post_content .issue-box-red ul {
  margin-bottom: 0 !important;
}

/* =========================================================
   【8. サービス詳細（各プランのカード化）】
   ========================================================= */
body .post_content .service-item-box {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 24px !important;
  padding: 48px !important;
  margin-bottom: 64px !important;
  border: 1px solid rgba(255, 255, 255, 1) !important;
  box-shadow: 0 20px 40px -10px rgba(30, 58, 138, 0.08) !important;
  position: relative !important;
  overflow: hidden !important;
}

body .post_content .service-item-box::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 6px !important;
  background: linear-gradient(90deg, #3b82f6, #06b6d4) !important;
}

@media (max-width: 599px) {
  body .post_content .service-item-box {
    padding: 32px 20px !important;
    border-radius: 20px !important;
  }
}

body .post_content .service-item-box h3 {
  font-size: 26px !important;
  color: #0f172a !important;
  border-bottom: none !important;
  padding-bottom: 12px !important;
  margin-bottom: 24px !important;
  border-left: none !important;
  text-align: center !important;
}

/* 料金表（テーブル） */
body .post_content .service-item-box figure.wp-block-table {
  margin-top: 32px !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02) !important;
}

body .post_content .service-item-box figure.wp-block-table table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
}

body .post_content .service-item-box figure.wp-block-table td {
  padding: 20px 24px !important;
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background: transparent !important;
}

@media (max-width: 599px) {
  body .post_content .service-item-box figure.wp-block-table td {
    display: block !important;
    padding: 16px !important;
    text-align: center !important;
  }
  body .post_content .service-item-box figure.wp-block-table tr {
    border-bottom: 1px solid #e2e8f0 !important;
    display: block !important;
  }
  body .post_content .service-item-box figure.wp-block-table td {
    border-bottom: none !important;
  }
}

body .post_content .service-item-box figure.wp-block-table tr:last-child td {
  border-bottom: none !important;
}

body .post_content .service-item-box figure.wp-block-table td:first-child {
  color: #475569 !important;
  font-weight: 800 !important;
  background: #f8fafc !important;
}

body .post_content .service-item-box figure.wp-block-table td:last-child {
  font-size: 24px !important;
  font-weight: 900 !important;
  color: #2563eb !important;
  text-align: right !important;
}

@media (max-width: 599px) {
  body .post_content .service-item-box figure.wp-block-table td:last-child {
    text-align: center !important;
  }
}

/* =========================================================
   【9. 早見表（マトリクス）】
   ========================================================= */
body .post_content figure.service-choice-table {
  overflow-x: auto !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
  margin-top: 40px !important;
  border: 1px solid #e5e7eb !important;
  display: block !important;
}

body .post_content figure.service-choice-table table {
  min-width: 980px !important;
  border: none !important;
  margin: 0 !important;
}

body .post_content figure.service-choice-table th {
  background: #1e293b !important;
  color: #ffffff !important;
  padding: 16px !important;
  border: 1px solid #334155 !important;
  font-size: 14px !important;
  white-space: nowrap !important;
  min-width: 140px !important;
}

body .post_content figure.service-choice-table td {
  padding: 12px !important;
  border: 1px solid #e5e7eb !important;
  font-weight: 700 !important;
  text-align: center !important;
  font-size: 13px !important;
  min-width: 140px !important;
}

.wp-block-table > table tr > :first-child:not(.-no1) {
  min-width: 140px !important;
}

/* =========================================================
   【10. よくある質問（FAQ）】
   ========================================================= */
body .post_content .faq-item {
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 24px 32px !important;
  margin-bottom: 20px !important;
  border: 1px solid #e5e7eb !important;
  border-left: 6px solid #2563eb !important;
}

body .post_content .faq-item h4 {
  position: relative !important;
  padding-left: 36px !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  margin-bottom: 12px !important;
  border: none !important;
}

body .post_content .faq-item h4::before {
  content: "Q" !important;
  position: absolute !important;
  left: 0 !important;
  top: -2px !important;
  width: 24px !important;
  height: 24px !important;
  background: #eff6ff !important;
  color: #2563eb !important;
  border-radius: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

body .post_content .faq-item p {
  position: relative !important;
  padding-left: 36px !important;
  margin-bottom: 0 !important;
  font-size: 15px !important;
}

body .post_content .faq-item p:first-of-type::before {
  content: "A" !important;
  position: absolute !important;
  left: 0 !important;
  top: 2px !important;
  width: 24px !important;
  height: 24px !important;
  background: #f1f5f9 !important;
  color: #4b5563 !important;
  border-radius: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

/* =========================================================
   【11. コンサルティングの流れ（タイムライン）】
   ========================================================= */
body .post_content .flow-item-box {
  margin-bottom: 64px !important;
  padding: 48px 40px !important;
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05) !important;
}

@media (max-width: 599px) {
  body .post_content .flow-item-box {
    padding: 32px 20px !important;
  }
}

body .post_content .flow-item-box h3 {
  margin-top: 0 !important;
  margin-bottom: 32px !important;
  text-align: center !important;
}

body .post_content .flow-item-box ol {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 16px !important;
  border-left: 2px solid #e2e8f0 !important;
  counter-reset: flow-step !important;
}

body .post_content .flow-item-box ol li {
  position: relative !important;
  padding-left: 40px !important;
  margin-bottom: 40px !important;
}

body .post_content .flow-item-box ol li::before {
  counter-increment: flow-step !important;
  content: counter(flow-step) !important;
  position: absolute !important;
  left: -20px !important;
  top: -4px !important;
  width: 40px !important;
  height: 40px !important;
  background: linear-gradient(135deg, #3b82f6, #06b6d4) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  box-shadow:
    0 4px 10px rgba(59, 130, 246, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.4) !important;
}

body .post_content .flow-item-box ol li strong {
  display: block !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  margin-bottom: 8px !important;
}

body .post_content .flow-item-box ol li:last-child {
  margin-bottom: 0 !important;
}

/* =========================================================
   【12. 強みセクション（Gridレイアウト）】
   ========================================================= */
body .post_content .strength-wrapper .wp-block-columns {
  display: grid !important;
  grid-template-columns: 1fr 2fr !important;
  gap: 32px !important;
  align-items: center !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 32px !important;
  margin-bottom: 32px !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03) !important;
}

@media (max-width: 767px) {
  body .post_content .strength-wrapper .wp-block-columns {
    grid-template-columns: 1fr !important;
    padding: 20px !important;
    gap: 20px !important;
  }
}

body .post_content .strength-wrapper .wp-block-column {
  margin: 0 !important;
  width: 100% !important;
}

body .post_content .strength-wrapper .wp-block-column h3 {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  padding: 0 0 12px 0 !important;
  border: none !important;
  border-bottom: 1px solid #e5e7eb !important;
  font-size: 18px !important;
}

body .post_content .strength-wrapper .wp-block-image img {
  border-radius: 8px !important;
  width: 100% !important;
  height: auto !important;
}

/* =========================================================
   【13. クライアントの例（ロゴ群）】
   ========================================================= */
body .post_content .clients-wrapper {
  margin: 40px 0 !important;
}

body .post_content .clients-logos {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  justify-content: center !important;
  margin-bottom: 16px !important;
}

body .post_content .clients-logos .wp-block-column {
  flex: 0 1 calc(25% - 12px) !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  body .post_content .clients-logos .wp-block-column {
    flex: 0 1 calc(50% - 8px) !important;
  }
}

body .post_content .clients-logos img {
  filter: grayscale(100%) opacity(50%) !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
}

body .post_content .clients-logos img:hover {
  filter: grayscale(0%) opacity(100%) !important;
}

/* =========================================================
   【14. 共通CTAボタン】
   ========================================================= */
body .post_content .wp-block-buttons {
  margin: 64px 0 !important;
  display: flex !important;
  justify-content: center !important;
}

body .post_content .wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  padding: 24px 64px !important;
  border-radius: 8px !important;
  border: none !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

body .post_content .wp-block-button__link:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 32px rgba(59, 130, 246, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.4) !important;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
}

@media (max-width: 599px) {
  body .post_content .wp-block-button__link {
    width: 100% !important;
    text-align: center !important;
    font-size: 16px !important;
    padding: 16px 32px !important;
  }
}



/* =========================================================
/* =========================================================
   【16. お問い合わせフォームの装飾】
   ========================================================= */
.wpcf7 {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 24px !important;
  padding: 56px 48px !important;
  margin: 64px auto !important;
  box-shadow: 0 20px 40px -10px rgba(30, 58, 138, 0.08) !important;
  max-width: 800px;
  width: 100% !important;
  box-sizing: border-box;
}

@media (max-width: 599px) {
  .wpcf7 {
    padding: 32px 20px !important;
    border-radius: 16px !important;
    margin: 40px auto !important;
  }
}

/* フォーム内見出し (h2要素が使われているため) */
body .post_content .wpcf7 h2 {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin-top: 48px !important;
  margin-bottom: 16px !important;
  padding: 0 0 12px 0 !important;
  border-bottom: 2px dashed #cbd5e1 !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
}

body .post_content .wpcf7 h2::after {
  display: none !important; /* 中央のグラデーション線を無効化 */
}

@media (max-width: 599px) {
  body .post_content .wpcf7 h2 {
    font-size: 18px !important;
    margin-top: 32px !important;
  }
}

/* 必須・任意 ラベル */
.wpcf7 .form-must,
.wpcf7 .form-free {
  font-size: 12px !important;
  padding: 4px 12px !important;
  border-radius: 4px !important;
  margin-right: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em !important;
  line-height: 1 !important;
  display: inline-block !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
}

.wpcf7 .form-free {
  background: #94a3b8 !important;
}

.wpcf7 p {
  color: #475569 !important;
  line-height: 1.8 !important;
  margin-bottom: 16px !important;
  font-size: 15px !important;
}

.wpcf7 .contact-example {
  font-size: 13px !important;
  color: #94a3b8 !important;
  margin-top: -8px !important;
}

/* フォーム入力要素共通 */
body .post_content .wpcf7 input[type="text"],
body .post_content .wpcf7 input[type="email"],
body .post_content .wpcf7 input[type="url"],
body .post_content .wpcf7 textarea,
body .post_content .wpcf7 select {
  width: 100% !important;
  max-width: 100% !important;
  padding: 16px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  font-size: 16px !important;
  color: #0f172a !important;
  transition: all 0.3s ease !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
}

body .post_content .wpcf7 input:focus,
body .post_content .wpcf7 textarea:focus,
body .post_content .wpcf7 select:focus {
  outline: none !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2) !important;
  background: #ffffff !important;
}

.wpcf7 textarea {
  resize: vertical !important;
  min-height: 160px !important;
}

/* ラジオボタン・チェックボックス */
.wpcf7 .wpcf7-list-item {
  display: block !important;
  margin-bottom: 16px !important;
  margin-left: 0 !important;
}

.wpcf7 .wpcf7-list-item label {
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
}

body .post_content .wpcf7 .wpcf7-list-item input[type="radio"],
body .post_content .wpcf7 .wpcf7-list-item input[type="checkbox"] {
  margin-right: 12px !important;
  width: auto !important;
  transform: scale(1.3) !important;
  accent-color: #2563eb !important;
  box-shadow: none !important;
}

/* 条件分岐グループ（アコーディオン） */
.wpcf7 [data-class="wpcf7cf_group"] {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  padding-top: 24px !important;
  border-top: 1px dashed #cbd5e1 !important;
}

@media (max-width: 599px) {
  .wpcf7 [data-class="wpcf7cf_group"] {
    margin-top: 20px !important;
    padding-top: 20px !important;
  }
}

/* プライバシーポリシー同意 */
.wpcf7 .privacy-box {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  padding: 24px !important;
  border-radius: 16px !important;
  text-align: center !important;
  margin-top: 40px !important;
  box-shadow: 0 8px 24px rgba(31, 38, 135, 0.05) !important;
}

.wpcf7 .privacy-box .wpcf7-list-item {
  margin-bottom: 0 !important;
  display: inline-block !important;
}

/* 送信ボタン */
.wpcf7 .wp-block-buttons {
  margin-top: 48px !important;
  display: flex !important;
  justify-content: center !important;
}

body .post_content .wpcf7 .wpcf7-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  padding: 24px 64px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  width: auto !important;
  max-width: 100% !important;
}

body .post_content .wpcf7 .wpcf7-submit:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 16px 32px rgba(59, 130, 246, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.4) !important;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
}
