/*
Theme Name: Socious Child
Template: twentytwentyfive
Text Domain: socious-child
Version: 0.1.1
Description: Socious child theme aligning visuals with the Socious frontend.
*/

/* ─────────────────────────────────────────────────────────
   製品（app.socious.jp）準拠のブランドカラー定義
   Hue=222 / Sat=45% - 製品フロントエンド index.css と完全一致
   ───────────────────────────────────────────────────────── */
:root {
  --socious-brand-hsl:         222 45% 25%;  /* #1F2D4D - 製品 --brand-500 と同一 */
  --socious-brand-hover-hsl:   222 45% 32%;  /* #2A4265 */
  --socious-surface-hsl:       222 45% 13%;
  --socious-muted-foreground:  0 0% 70%;
}

/* LPページのリンク（本文） */
.home a,
.page a { color: hsl(var(--socious-brand-hsl)); }
.home a:hover,
.page a:hover { color: hsl(var(--socious-brand-hover-hsl)); text-decoration: underline; }

/* ナビゲーション（上部メニュー）とサイトタイトルをブランド色に統一 */
.wp-site-blocks .wp-block-navigation a,
.wp-site-blocks .wp-block-navigation .wp-block-navigation-item__content,
.wp-site-blocks .wp-block-site-title a {
  color: hsl(var(--socious-brand-hsl));
}
.wp-site-blocks .wp-block-navigation a:hover,
.wp-site-blocks .wp-block-site-title a:hover {
  color: hsl(var(--socious-brand-hover-hsl));
}

/* ボタン（コアブロック） */
.wp-block-button__link {
  background-color: hsl(var(--socious-brand-hsl));
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}
.wp-block-button__link:hover {
  background-color: hsl(var(--socious-brand-hover-hsl));
}

/* アウトラインボタン */
.is-style-outline .wp-block-button__link {
  background-color: transparent;
  border: 2px solid hsl(var(--socious-brand-hsl));
  color: hsl(var(--socious-brand-hsl));
}
.is-style-outline .wp-block-button__link:hover {
  background-color: hsl(var(--socious-brand-hsl));
  color: #fff;
}

/* 古い矢羽根フローのスタイルは削除されました */
/* 新しいステップデザインはファイル末尾に記載 */


/* ===== CTA ボタンスタイル（黄色スタイルを削除） ===== */
/* このセクションは削除されました。CTAボタンはネイビーのみを使用します */

/* ========================================
   LP用 品質重視デザインシステム
   ======================================== */

/* LPページのみフォントサイズリセット */
.home .has-xl-font-size,
.home .has-large-font-size,
.home .has-medium-font-size,
.home .has-small-font-size,
.home .has-3-xl-font-size,
.home .has-lg-font-size,
.home .has-sm-font-size,
.page .has-xl-font-size,
.page .has-large-font-size,
.page .has-medium-font-size,
.page .has-small-font-size,
.page .has-3-xl-font-size,
.page .has-lg-font-size,
.page .has-sm-font-size {
  font-size: inherit !important;
}

/* 投稿ページの見出し階層 */
.single h1,
.single-post h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.single h2,
.single-post h2 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: #1a1a1a;
}

.single h3,
.single-post h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.single h4,
.single-post h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 1.5rem;
  margin-bottom: 0.875rem;
  color: #1a1a1a;
}

/* 投稿ページの段落と箇条書き */
.single p,
.single-post p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #4a4a4a;
}

.single ul,
.single-post ul,
.single ol,
.single-post ol {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #4a4a4a;
}

.single ul li,
.single-post ul li,
.single ol li,
.single-post ol li {
  margin-bottom: 0.5rem;
}

/* ========================================
   ヘッダー - モダンで洗練されたデザイン
   ======================================== */
header {
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 0.375rem 0 !important;
}

header > *,
header .wp-block-group {
  padding-top: 0.375rem !important;
  padding-bottom: 0.375rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

header .wp-block-group.alignwide,
header .wp-block-group.alignfull,
header .wp-block-group .wp-block-group {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

/* WordPressのスペーシング変数を上書き */
header {
  --wp--preset--spacing--30: 0.25rem !important;
  --wp--preset--spacing--40: 0.25rem !important;
  --wp--preset--spacing--50: 0.25rem !important;
}

header .wp-block-site-title {
  font-size: 1rem;
  margin: 0;
  padding: 0;
}

header .wp-block-site-title a {
  font-size: 1.125rem !important;
  font-weight: 600;
  color: hsl(222, 45%, 35%);
  text-decoration: none;
  transition: color 0.2s ease;
}

header .wp-block-site-title a:hover {
  color: hsl(222, 45%, 45%);
}

header .wp-block-navigation {
  font-size: 0.875rem;
}

header .wp-block-navigation-item {
  font-size: 0.875rem !important;
}

header .wp-block-navigation-item a {
  color: #4a4a4a;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  transition: all 0.2s ease;
}

header .wp-block-navigation-item a:hover {
  color: hsl(222, 45%, 45%);
  background: rgba(0, 0, 0, 0.03);
  border-radius: 6px;
}

/* LPページのヘッダーサイズ縮小 */
.home header,
.page header,
header {
  padding: 0.375rem 0 !important;
}

.home header .wp-block-site-title a,
.page header .wp-block-site-title a,
header .wp-block-site-title a {
  font-size: 0.9375rem !important;
}

.home header .wp-block-navigation,
.page header .wp-block-navigation,
header .wp-block-navigation {
  font-size: 0.75rem !important;
}

.home header .wp-block-navigation-item,
.page header .wp-block-navigation-item,
header .wp-block-navigation-item {
  font-size: 0.75rem !important;
}

.home header .wp-block-navigation-item a,
.page header .wp-block-navigation-item a,
header .wp-block-navigation-item a {
  padding: 0.25rem 0.5rem !important;
}

/* フッターの文字サイズと背景色 */
footer {
  font-size: 0.875rem;
  background: #1a1a1a !important;
  color: #ffffff;
}

footer .wp-block-heading {
  font-size: 1rem !important;
  font-weight: 600;
  color: #ffffff !important;
}

footer p,
footer li {
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

footer a,
footer .wp-block-navigation a,
footer .wp-block-navigation-item a {
  color: rgba(255, 255, 255, 0.9) !important;
}

footer a:hover,
footer .wp-block-navigation a:hover,
footer .wp-block-navigation-item a:hover {
  color: #ffffff !important;
}

/* ヒーローセクション - 製品ブランドカラー準拠・強化版 */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #722F8D 0%, #4969B1 100%) !important;
  padding: 4rem 0 !important;
  overflow: hidden;
}

.hero-section .wp-block-columns {
  min-height: 600px;
  align-items: center;
  background: none !important;
  background-color: transparent !important;
}

.hero-section .wp-block-column {
  background: none !important;
  background-color: transparent !important;
}

/* ヒーローセクション内の全ての関連クラスから背景を削除 */
.hero-section .is-vertically-aligned-center,
.hero-section .wp-block-column.is-vertically-aligned-center,
.hero-section .alignwide,
.hero-section .are-vertically-aligned-center,
.hero-section .size-large,
.hero-section .wp-block-image.size-large,
.hero-section figure.size-large {
  background: none !important;
  background-color: transparent !important;
}

/* グローバル：全ての画像ブロックから背景色を削除 */
.wp-block-image,
.wp-block-image figure,
figure.wp-block-image,
.wp-block-image.size-large,
.wp-block-image.size-large figure,
figure.wp-block-image.size-large {
  background: none !important;
  background-color: transparent !important;
}

.wp-block-image img,
.wp-block-image.size-large img {
  background: none !important;
  background-color: transparent !important;
}

/* ホバー時も背景色を表示しない */
.wp-block-image:hover,
.wp-block-image figure:hover,
figure.wp-block-image:hover,
.wp-block-image img:hover,
.wp-block-image.size-large:hover,
.wp-block-image.size-large figure:hover,
.wp-block-image.size-large img:hover {
  background: none !important;
  background-color: transparent !important;
}

.hero-section h1 {
  font-size: clamp(1.5rem, 5vw, 3rem) !important;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #FFFFFF;
  white-space: nowrap;
}

.hero-section p {
  font-size: 1.125rem !important;
  line-height: 1.7;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  display: flex;
}

.hero-features-center {
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9375rem;
  color: #ffffff;
  font-weight: 500;
}

.hero-features li::before {
  content: "✓ ";
  color: #FACC15;
  font-weight: 700;
  margin-right: 0.25rem;
}

/* Meta認証カード */
.meta-feature-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
}

.meta-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: hsl(222, 45%, 85%);
}

.meta-feature-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.meta-feature-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

/* Meta認証セクション - パターン1: タイトルに認証アイコン */
.meta-single-card {
  background: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid #10b981;
}

.meta-single-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0;
}

.meta-single-card p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #444;
}

/* Meta認証セクション - パターン2: カード内に大きな認証バッジ */
.meta-badge-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
  border: 2px solid #10b981;
}

.meta-large-badge {
  margin: 0 0 1.5rem 0 !important;
}

.meta-large-badge i {
  font-size: 4rem;
  color: #10b981;
  display: inline-block;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.meta-badge-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0;
}

.meta-badge-card p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #444;
}

/* Meta認証セクション - パターン3: 背景に認証マークのウォーターマーク */
.meta-certification-pattern-3 {
  position: relative;
  overflow: hidden;
}

.meta-certification-pattern-3::before {
  content: '\f3ed';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  font-size: 20rem;
  color: rgba(16, 185, 129, 0.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.meta-watermark-card {
  background: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid #10b981;
  position: relative;
  z-index: 1;
}

.meta-watermark-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0;
}

.meta-watermark-card p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #444;
}

/* 差別化ポイント */
.wp-block-image img {
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* おすすめ・課題カード（白背景セクション用） */
.problem-card {
  background: #ffffff;
  padding: 2rem 1.75rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
  height: 100%;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.problem-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #1a1a1a;
}

.problem-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.problem-card li {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 0.875rem;
  padding-left: 1.75rem;
  position: relative;
}

.problem-card li::before {
  content: "❌";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.875rem;
}

/* チェックリスト（白文字・グラデーション背景用） */
.checklist-white {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist-white li {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 0.875rem;
  padding-left: 1.75rem;
  position: relative;
  color: rgba(255, 255, 255, 0.95);
}

.checklist-white li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

/* ユースケースカード */
.usecase-card {
  background: #ffffff;
  padding: 2rem 1.75rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
  height: 100%;
}

.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.usecase-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #1a1a1a;
}

.before-after {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 1rem;
}

.effect {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(222, 45%, 35%);
  margin: 0;
}

/* 料金テーブル */
.pricing-table {
  margin-top: 3rem;
  overflow-x: auto;
}

.pricing-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
}

.pricing-table thead {
  background: linear-gradient(135deg, #7E96CE, #9DB3D4);
}

.pricing-table thead th {
  padding: 1.25rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-table thead th:last-child {
  border-right: none;
}

.pricing-table tbody td {
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #f9f9f9;
  text-align: center;
  font-size: 0.9375rem;
  color: #4a4a4a;
}

.pricing-table tbody td:last-child {
  border-right: none;
}

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

.pricing-table tbody tr:nth-child(even) {
  background: #fafafa;
}

/* ニュース項目 */
.news-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.news-item:hover {
  background-color: #fafafa;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 0.5rem;
}

.news-item h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.6;
}

.news-item h4 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-item h4 a:hover {
  color: hsl(222, 45%, 45%);
}

/* LPページのセクション見出し統一 */
.home h2.wp-block-heading,
.page h2.wp-block-heading {
  font-size: 2rem !important;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.home h3.wp-block-heading,
.page h3.wp-block-heading {
  font-size: 1.375rem !important;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.home h4.wp-block-heading,
.page h4.wp-block-heading {
  font-size: 1.125rem !important;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

/* LPページの本文サイズ統一 */
.home p,
.page p {
  font-size: 1rem !important;
  line-height: 1.7;
  color: #4a4a4a;
}

.home ul li,
.home ol li,
.page ul li,
.page ol li {
  font-size: 0.9375rem !important;
  line-height: 1.7;
}

/* CTA Features リスト */
.cta-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9375rem !important;
  color: rgba(255, 255, 255, 0.95);
}

.cta-features li {
  font-size: 0.9375rem !important;
}

.cta-features li::before {
  content: "✓ ";
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  margin-right: 0.25rem;
}

/* Feature List スタイル */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 0.875rem;
  padding-left: 1.75rem;
  position: relative;
  color: #4a4a4a;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: hsl(222, 45%, 45%);
  font-weight: 700;
}

/* CTAボタン - ゴールド（LP内で最も目立つ要素） */
.wp-block-button.cta-main .wp-block-button__link,
.cta-main .wp-block-button__link {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%) !important;
  color: #78350F !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4) !important;
  font-size: 1.125rem !important;
  font-weight: 700;
  padding: 1rem 2rem !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  animation: none !important;
}

.wp-block-button.cta-main .wp-block-button__link:hover,
.cta-main .wp-block-button__link:hover {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5) !important;
}

.wp-block-button.cta-main::after,
.cta-main::after {
  display: none !important;
}

/* スムーススクロール */
html {
  scroll-behavior: smooth;
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* よくある質問 - カード形式 */
.wp-block-details {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-size: 1rem !important;
}

.wp-block-details:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: hsl(222, 45%, 75%);
}

.wp-block-details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem !important;
  line-height: 1.6;
  color: #1a1a1a;
  padding-right: 2rem;
  position: relative;
  list-style: none;
}

.wp-block-details summary::-webkit-details-marker {
  display: none;
}

.wp-block-details summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  color: hsl(222, 45%, 45%);
  transition: transform 0.3s ease;
}

.wp-block-details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.wp-block-details p {
  font-size: 0.9375rem !important;
  line-height: 1.8;
  color: #666;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* 矢羽根フローを洗練されたステップデザインに変更 */
.arrow-section {
  padding: 4rem 0 !important;
}

.arrow-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 1000px;
}

.arrow-step {
  position: relative;
  background: linear-gradient(135deg, #7E96CE, #9DB3D4);
  color: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.5;
}

.arrow-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.arrow-step small {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  margin-top: 0.5rem;
  opacity: 0.9;
}

@media (min-width: 769px) {
  .arrow-step::after {
    content: "→";
    position: absolute;
    right: -1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: hsl(222, 45%, 45%);
    font-weight: 700;
  }

  .arrow-step:last-child::after {
    display: none;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero-section .wp-block-columns {
    min-height: auto;
    flex-direction: column-reverse;
  }

  .hero-section h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
    text-align: center;
  }

  .hero-section p {
    text-align: center;
  }

  .hero-features {
    justify-content: center;
    font-size: 0.875rem;
  }

  .pricing-table table {
    min-width: 600px;
  }

  .cta-features {
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9375rem;
  }

  .arrow-flow {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
    max-width: 100%;
  }

  .arrow-step {
    padding: 1.5rem 1rem;
  }

  /* スマホ表示時のヒーローセクション画像サイズ調整 */
  .hero-section .wp-block-image,
  .hero-section figure.wp-block-image {
    max-width: 90% !important;
  }

  .hero-section .wp-block-image img,
  .hero-section figure.wp-block-image img {
    max-width: 100% !important;
  }

  /* arrow-sectionの横幅調整 */
  .arrow-section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* 3つの差別化ポイントの2番目のセクション：スマホで画像とテキストの順序を逆転 */
  .has-white-background-color > .alignwide:nth-of-type(2) .wp-block-columns {
    display: flex;
    flex-direction: column;
  }

  .has-white-background-color > .alignwide:nth-of-type(2) .wp-block-column:first-child {
    order: 2;
  }

  .has-white-background-color > .alignwide:nth-of-type(2) .wp-block-column:last-child {
    order: 1;
  }
}

/* ========================================
   WordPressデフォルトグラデーションのオーバーライド
   ======================================== */

/* シアン→紫グラデーションをブランドカラーに置き換え */
.has-vivid-cyan-blue-to-vivid-purple-gradient-background {
  background: linear-gradient(135deg, #643B95 0%, #4969B1 100%) !important;
}

/* テキスト色を白に調整 */
.has-vivid-cyan-blue-to-vivid-purple-gradient-background.has-white-color,
.has-vivid-cyan-blue-to-vivid-purple-gradient-background .has-white-color,
.has-vivid-cyan-blue-to-vivid-purple-gradient-background h2,
.has-vivid-cyan-blue-to-vivid-purple-gradient-background p,
.has-vivid-cyan-blue-to-vivid-purple-gradient-background li {
  color: #FFFFFF !important;
}

/* 最終CTAセクションのフォントサイズを調整 */
.has-vivid-cyan-blue-to-vivid-purple-gradient-background p.has-xl-font-size {
  font-size: 1.125rem !important;
}

/* XLフォントサイズを適切なサイズに調整 */
.has-xl-font-size {
  font-size: 1.25rem !important;
  line-height: 1.6 !important;
}


/* プラン・料金セクション */
.plan-section {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #10b981;
}

.paid-plan-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.paid-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: #10b981;
}

.paid-plan-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.plan-target {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border-radius: 8px;
}

.plan-feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  color: #444;
  line-height: 1.6;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.paid-plan-card .has-sm-font-size {
  font-size: 0.875rem !important;
  color: #666;
  margin-top: 1.5rem;
}

/* ========================================
   ヒーローセクション背景：ネットワークアニメーション（Canvas版）
   ======================================== */

.hero-network-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* ヒーローセクションのコンテンツを前面に */
.hero-section > *:not(.hero-network-animation) {
  position: relative;
  z-index: 1;
}

/* ヒーローセクションの画像サイズ修正 */
.hero-section .wp-block-image,
.hero-section figure.wp-block-image {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section .wp-block-image img,
.hero-section figure.wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: transform 0.3s ease;
}

.hero-section .wp-block-image img:hover,
.hero-section figure.wp-block-image img:hover {
  box-shadow: none !important;
  transform: scale(1.02);
}

/* ========================================
   固定ページ（LP以外）のスタイル
   ======================================== */

/* 固定ページのコンテンツエリア */
.page:not(.home) .entry-content,
.page:not(.home) .wp-block-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: #ffffff;
}

/* 固定ページの見出し */
.page:not(.home) .entry-content h1,
.page:not(.home) .wp-block-post-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  border-bottom: 3px solid hsl(222, 45%, 35%);
  padding-bottom: 0.75rem;
}

.page:not(.home) .entry-content h2,
.page:not(.home) .wp-block-post-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: #1a1a1a;
  padding-left: 1rem;
  border-left: 4px solid hsl(222, 45%, 45%);
}

.page:not(.home) .entry-content h3,
.page:not(.home) .wp-block-post-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.page:not(.home) .entry-content h4,
.page:not(.home) .wp-block-post-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 1.5rem;
  margin-bottom: 0.875rem;
  color: #1a1a1a;
}

/* 固定ページの段落 */
.page:not(.home) .entry-content p,
.page:not(.home) .wp-block-post-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #4a4a4a;
}

/* 固定ページの箇条書き */
.page:not(.home) .entry-content ul,
.page:not(.home) .wp-block-post-content ul {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: #4a4a4a;
}

.page:not(.home) .entry-content ul li,
.page:not(.home) .wp-block-post-content ul li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

.page:not(.home) .entry-content ul li::marker,
.page:not(.home) .wp-block-post-content ul li::marker {
  color: hsl(222, 45%, 45%);
}

.page:not(.home) .entry-content ol,
.page:not(.home) .wp-block-post-content ol {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: #4a4a4a;
}

.page:not(.home) .entry-content ol li,
.page:not(.home) .wp-block-post-content ol li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

.page:not(.home) .entry-content ol li::marker,
.page:not(.home) .wp-block-post-content ol li::marker {
  color: hsl(222, 45%, 45%);
  font-weight: 600;
}

/* 固定ページの引用 */
.page:not(.home) .entry-content blockquote,
.page:not(.home) .wp-block-post-content blockquote {
  background: #f9fafb;
  border-left: 4px solid hsl(222, 45%, 45%);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: #666;
  border-radius: 0 8px 8px 0;
}

.page:not(.home) .entry-content blockquote p,
.page:not(.home) .wp-block-post-content blockquote p {
  margin-bottom: 0;
}

/* 固定ページのテーブル */
.page:not(.home) .entry-content table,
.page:not(.home) .wp-block-post-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.page:not(.home) .entry-content table thead,
.page:not(.home) .wp-block-post-content table thead {
  background: hsl(222, 45%, 35%);
}

.page:not(.home) .entry-content table thead th,
.page:not(.home) .wp-block-post-content table thead th {
  padding: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-align: left;
}

.page:not(.home) .entry-content table tbody td,
.page:not(.home) .wp-block-post-content table tbody td {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  color: #4a4a4a;
}

.page:not(.home) .entry-content table tbody tr:last-child td,
.page:not(.home) .wp-block-post-content table tbody tr:last-child td {
  border-bottom: none;
}

.page:not(.home) .entry-content table tbody tr:nth-child(even),
.page:not(.home) .wp-block-post-content table tbody tr:nth-child(even) {
  background: #f9fafb;
}

/* 固定ページのコードブロック */
.page:not(.home) .entry-content pre,
.page:not(.home) .wp-block-post-content pre {
  background: #1a1a1a;
  color: #e5e7eb;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.page:not(.home) .entry-content code,
.page:not(.home) .wp-block-post-content code {
  background: #f0f0f0;
  color: #d97706;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: 'Courier New', monospace;
}

.page:not(.home) .entry-content pre code,
.page:not(.home) .wp-block-post-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* 固定ページの画像 */
.page:not(.home) .entry-content .wp-block-image,
.page:not(.home) .wp-block-post-content .wp-block-image {
  margin: 2rem 0;
}

.page:not(.home) .entry-content .wp-block-image img,
.page:not(.home) .wp-block-post-content .wp-block-image img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page:not(.home) .entry-content .wp-block-image figcaption,
.page:not(.home) .wp-block-post-content .wp-block-image figcaption {
  font-size: 0.875rem;
  color: #999;
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}

/* ========================================
   アーカイブページ（カテゴリー一覧など）のスタイル
   ======================================== */

/* アーカイブページのコンテナ */
.archive .site-main,
.category .site-main,
.blog .site-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* アーカイブページのタイトル */
.archive .page-header,
.category .page-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid hsl(222, 45%, 35%);
}

.archive .page-title,
.category .page-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.archive .archive-description,
.category .category-description {
  font-size: 1rem;
  color: #666;
  margin-top: 1rem;
  line-height: 1.7;
}

/* 投稿リスト */
.archive article,
.category article,
.blog article {
  background: #ffffff;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.archive article:hover,
.category article:hover,
.blog article:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: hsl(222, 45%, 75%);
}

/* 投稿タイトル */
.archive .entry-title,
.category .entry-title,
.blog .entry-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.archive .entry-title a,
.category .entry-title a,
.blog .entry-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.archive .entry-title a:hover,
.category .entry-title a:hover,
.blog .entry-title a:hover {
  color: hsl(222, 45%, 45%);
}

/* 投稿メタ情報 */
.archive .entry-meta,
.category .entry-meta,
.blog .entry-meta {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.archive .entry-meta a,
.category .entry-meta a,
.blog .entry-meta a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}

.archive .entry-meta a:hover,
.category .entry-meta a:hover,
.blog .entry-meta a:hover {
  color: hsl(222, 45%, 45%);
}

/* 投稿抜粋 */
.archive .entry-summary,
.category .entry-summary,
.blog .entry-summary {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 1rem;
}

/* 続きを読むリンク */
.archive .more-link,
.category .more-link,
.blog .more-link {
  display: inline-block;
  color: hsl(222, 45%, 45%);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.archive .more-link:hover,
.category .more-link:hover,
.blog .more-link:hover {
  color: hsl(222, 45%, 35%);
  transform: translateX(4px);
}

.archive .more-link::after,
.category .more-link::after,
.blog .more-link::after {
  content: " →";
}

/* ページネーション */
.archive .pagination,
.category .pagination,
.blog .pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.archive .pagination a,
.category .pagination a,
.blog .pagination a,
.archive .pagination span,
.category .pagination span,
.blog .pagination span {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #4a4a4a;
  text-decoration: none;
  transition: all 0.2s ease;
}

.archive .pagination a:hover,
.category .pagination a:hover,
.blog .pagination a:hover {
  background: hsl(222, 45%, 35%);
  color: #ffffff;
  border-color: hsl(222, 45%, 35%);
}

.archive .pagination .current,
.category .pagination .current,
.blog .pagination .current {
  background: hsl(222, 45%, 35%);
  color: #ffffff;
  border-color: hsl(222, 45%, 35%);
  font-weight: 600;
}

/* ========================================
   レスポンシブ対応（固定ページ・アーカイブ）
   ======================================== */

@media (max-width: 768px) {
  .page:not(.home) .entry-content,
  .page:not(.home) .wp-block-post-content {
    padding: 2rem 1rem;
  }

  .page:not(.home) .entry-content h1,
  .page:not(.home) .wp-block-post-content h1 {
    font-size: 1.75rem;
  }

  .page:not(.home) .entry-content h2,
  .page:not(.home) .wp-block-post-content h2 {
    font-size: 1.5rem;
  }

  .archive .site-main,
  .category .site-main,
  .blog .site-main {
    padding: 2rem 1rem;
  }

  .archive .page-title,
  .category .page-title {
    font-size: 1.75rem;
  }

  .archive article,
  .category article,
  .blog article {
    padding: 1.5rem;
  }
}

/* ========================================
   固定ヘッダー（スティッキーヘッダー）
   ======================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
