/* ==========================================================================
   しましまファクトリー株式会社 - 明るく親しみやすいライトテーマ
   ========================================================================== */

/* --- 1. 変数定義 & リセット --- */
:root {
  /* 明るく爽やかなカラーパレット */
  --color-primary: #0f172a;          /* 文字や引き締めに使うディープネイビー */
  --color-primary-soft: #334155;     /* 柔らかいネイビー */
  --color-accent: #f59e0b;           /* 親しみのある温かいイエロー/アンバー */
  --color-accent-light: #fef3c7;     /* ごく淡いイエロー背景 */
  --color-accent-hover: #d97706;     /* ホバー時 */
  --color-brand-blue: #2563eb;       /* テック感・信頼感を添えるアクセントブルー */
  --color-brand-blue-light: #eff6ff; /* 淡いブルー背景 */
  
  --color-text-main: #1e293b;        /* メイン文字色（読みやすい濃いグレー） */
  --color-text-muted: #64748b;       /* 補助文字色 */
  --color-text-sub: #94a3b8;         /* キャプション等 */

  --color-bg-white: #ffffff;         /* メイン背景（純白） */
  --color-bg-light: #f8fafc;         /* セクション背景（明るいスレートグレー） */
  --color-bg-warm: #fffbeb;          /* ほんのり温かみのある背景 */
  --color-border: #e2e8f0;           /* 境界線 */
  --color-border-light: #f1f5f9;

  --color-line: #06c755;             /* LINEグリーン */
  --color-line-hover: #05b34c;

  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.1);
  --shadow-accent: 0 8px 20px rgba(245, 158, 11, 0.3);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--color-text-main);
  background-color: var(--color-bg-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

/* --- 2. 共通パーツ --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #b45309;
  background-color: #fef3c7;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-border);
  box-shadow: var(--shadow-subtle);
}

.btn-outline:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-primary-soft);
  transform: translateY(-2px);
}

.btn-line {
  background-color: var(--color-line);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.3);
}

.btn-line:hover {
  background-color: var(--color-line-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(6, 199, 85, 0.4);
}

/* --- 3. ヘッダー --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-wrapper img {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
}

/* WordPress管理バー表示時のヘッダー位置調整 */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-main);
  transition: var(--transition);
  white-space: nowrap !important;
  letter-spacing: -0.01em;
  padding: 6px 2px;
}

.nav-link:hover {
  color: var(--color-accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-switcher {
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.btn-header {
  padding: 9px 18px !important;
  font-size: 0.85rem !important;
  white-space: nowrap !important;
}

/* タブレット・スマホ用ハンバーガーボタン */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1001;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #0f172a;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

.hamburger-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* モバイルドロワーメニュー */
.mobile-drawer {
  display: none;
}

/* --- 4. ヒーローセクション（明るく開放的なトーン） --- */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  padding: 80px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-light);
}

/* 背景の柔らかい装飾パターン */
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(254, 243, 199, 0.7) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(239, 246, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #fde68a;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--color-primary);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  color: #d97706;
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: #fef08a;
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--color-primary-soft);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-features-bar {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  border-top: 1px solid var(--color-border);
  padding-top: 32px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary-soft);
}

.hero-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

/* --- 5. お悩みセクション（絵文字を廃止し洗練されたSVGアイコンへ） --- */
.problems {
  background-color: var(--color-bg-white);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}

.problem-card {
  background: #ffffff;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.problem-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.problem-image-box {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.problem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-card:hover .problem-img {
  transform: scale(1.05);
}

.problem-icon-box.red {
  background-color: #fef2f2;
  color: #ef4444;
}

.problem-icon-box.amber {
  background-color: #fffbeb;
  color: #f59e0b;
}

.problem-icon-box.blue {
  background-color: #eff6ff;
  color: #3b82f6;
}

.problem-icon-svg {
  width: 32px;
  height: 32px;
}

.problem-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.problem-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* --- 6. 選ばれる理由（強み） --- */
.why-section {
  background-color: var(--color-bg-light);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-subtle);
}

.why-card:hover {
  border-color: #f59e0b;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-card-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #b45309;
  background-color: #fef3c7;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.why-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.4;
}

.why-card-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* --- 7. 代表プロフィール（明るいトーン） --- */
.profile-section {
  background-color: #ffffff;
}

.profile-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.profile-visual {
  text-align: center;
}

.profile-avatar-frame {
  width: 190px;
  height: 190px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #3b82f6);
  padding: 4px;
  box-shadow: var(--shadow-md);
}

.profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  border: 4px solid #ffffff;
}

.profile-name-tag {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-primary);
}

.profile-title-tag {
  font-size: 0.85rem;
  color: #b45309;
  font-weight: 700;
  margin-top: 4px;
}

.profile-story-heading {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.profile-story-heading span {
  color: #d97706;
}

.profile-story-text {
  font-size: 0.98rem;
  color: var(--color-primary-soft);
  line-height: 1.9;
  margin-bottom: 20px;
}

.profile-history {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.history-item {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-subtle);
}

.history-year {
  font-size: 0.75rem;
  color: #b45309;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.history-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 4px;
}

/* --- 8. 開発実績（リアルなUI画面モックアップ） --- */
.works-section {
  background-color: var(--color-bg-light);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  justify-content: center;
}

.works-grid:has(.work-card:only-child) {
  display: flex !important;
  justify-content: center !important;
}

.works-grid:has(.work-card:only-child) .work-card {
  max-width: 480px !important;
  width: 100%;
}

.work-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

/* リアルUIプレビュー画面 */
.ui-screen-window {
  height: 220px;
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.ui-window-header {
  height: 28px;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.window-title-bar {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 700;
  margin-left: 8px;
}

.ui-screen-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.ui-screen-image-wrap {
  flex: 1;
  width: 100%;
  height: 192px;
  overflow: hidden;
  background-color: #0f172a;
  position: relative;
}

.ui-screen-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.3s ease;
}

.work-card:hover .ui-screen-image-wrap img {
  transform: scale(1.03);
}

/* =============================================================================
 * 開発実績（Works）UIモック画面専用スタイル（洗練されたアプリ画面UI）
 * ============================================================================= */

/* 1. 実績1：時差予約カレンダー */
.sched-tz-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
  font-size: 0.65rem;
  font-weight: 700;
}
.sched-tz-city {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sched-tz-tokyo { color: #1d4ed8; }
.sched-tz-wib   { color: #059669; }
.sched-tz-arrow { color: #94a3b8; font-size: 0.7rem; }

.sched-week-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}
.sched-grid-slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.sched-slot {
  background-color: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 1px;
  font-size: 0.58rem;
  line-height: 1.25;
  text-align: center;
  min-height: 38px;
}
.sched-slot.booked {
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-weight: 600;
}
.sched-slot.open {
  background-color: #ecfdf5;
  border: 1px dashed #6ee7b7;
  color: #059669;
  font-weight: 700;
}
.sched-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.62rem;
  color: #475569;
  margin-top: 2px;
}
.sched-progress-wrap {
  background: #e2e8f0;
  border-radius: 999px;
  height: 5px;
  overflow: hidden;
  margin-top: 5px;
}
.sched-progress-fill {
  background: linear-gradient(90deg, #2563eb, #10b981);
  height: 100%;
  border-radius: 999px;
}

/* 2. 実績2：POSレジ＆歩合給与 */
.pos-top-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.pos-stat-box {
  flex: 1;
  background-color: #f8fafc;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.stat-title {
  font-size: 0.6rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 2px;
}
.stat-val {
  font-size: 0.95rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.pos-order-table {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 8px;
  margin-bottom: 8px;
}
.pos-order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-size: 0.65rem;
  border-bottom: 1px dashed #f1f5f9;
}
.pos-order-row:last-child {
  border-bottom: none;
}
.failsafe-alert-badge {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 3. 実績3：スマホQR受付＆チケット管理 */
.qr-scanner-ui {
  display: flex;
  gap: 12px;
  align-items: stretch;
  height: 100%;
  width: 100%;
}
.phone-scanner-frame {
  width: 76px;
  min-width: 76px;
  max-width: 76px;
  height: 116px;
  background: #0f172a;
  border-radius: 12px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
  flex-shrink: 0;
  box-sizing: border-box;
}
.scanner-camera-box {
  width: 100%;
  height: 78px;
  background: #1e293b;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}
.scanner-corner {
  position: absolute;
  width: 7px;
  height: 7px;
  border-color: #10b981;
  border-style: solid;
  pointer-events: none;
}
.corner-tl { top: 3px; left: 3px; border-width: 2px 0 0 2px; }
.corner-tr { top: 3px; right: 3px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 3px; left: 3px; border-width: 0 0 2px 2px; }
.corner-br { bottom: 3px; right: 3px; border-width: 0 2px 2px 0; }

.scanner-laser {
  position: absolute;
  top: 48%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  pointer-events: none;
}
.qr-svg-icon {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  stroke: #ffffff;
  display: block;
  margin: auto;
  flex-shrink: 0;
}
.scanner-status-badge {
  background: #10b981;
  color: #ffffff;
  font-size: 0.52rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  text-align: center;
  letter-spacing: 0.02em;
}
.event-data-summary {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ticket-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.65rem;
}
.ticket-status-label {
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 4px;
}
.ticket-status-val {
  font-weight: 800;
  white-space: nowrap;
}
.attendee-recent-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 6px;
  margin-top: 4px;
}
.recent-checkin {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.58rem;
  color: #334155;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recent-checkin:last-child {
  margin-bottom: 0;
}
.checkin-badge {
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 0.52rem;
  flex-shrink: 0;
}

/* 4. 実績4：AppSheet 現場経理・証憑 */
.report-row-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
}
.report-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.65rem;
}
.report-item-cell {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.report-receipt-icon {
  width: 12px;
  height: 12px;
  color: #64748b;
  flex-shrink: 0;
}
.report-badge-ok {
  background-color: #dcfce7;
  color: #15803d;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.55rem;
  flex-shrink: 0;
}
.appsheet-sync-bar {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-bubble-mock {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.65rem;
  margin-bottom: 6px;
  line-height: 1.4;
}

.chat-bubble-ai {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.65rem;
  line-height: 1.4;
}

.failsafe-alert-badge {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-flow-mock {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.step-flow-item {
  flex: 1;
  text-align: center;
  padding: 3px 2px;
  font-size: 0.58rem;
  font-weight: 700;
  border-radius: 4px;
  background: #f1f5f9;
  color: #64748b;
}

.step-flow-item.active {
  background: #2563eb;
  color: #ffffff;
}

.step-flow-item.done {
  background: #dcfce7;
  color: #166534;
}

/* カード本文 */
.work-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.work-tech-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tech-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background-color: var(--color-bg-light);
  color: var(--color-primary-soft);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.work-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.work-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.work-outcome {
  margin-top: auto;
  background-color: #fefce8;
  border-left: 4px solid var(--color-accent);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.work-outcome-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #b45309;
  margin-bottom: 2px;
}

.work-outcome-text {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-primary);
}

/* --- 9. 料金表（Price） --- */
.price-section {
  background-color: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.price-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-subtle);
}

.price-box.featured {
  border: 2px solid #f59e0b;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.15);
  transform: scale(1.02);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f59e0b;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: var(--radius-full);
}

.price-plan-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.price-plan-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  min-height: 44px;
}

.price-amount-box {
  margin: 18px 0 10px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
}

.price-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}

.price-unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.price-leadtime-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  margin-bottom: 20px;
  width: fit-content;
}

.leadtime-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  background: #ffffff;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.leadtime-val {
  font-weight: 800;
  color: #0f172a;
}

.price-box.featured .price-leadtime-badge {
  background: #fef3c7;
  border-color: #fde68a;
}

.price-box.featured .leadtime-label {
  color: #b45309;
  border-color: #fcd34d;
}

.price-box.featured .leadtime-val {
  color: #92400e;
}

.price-list {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.price-list li {
  font-size: 0.92rem;
  color: var(--color-text-main);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-list li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 10px;
  border-right: 2px solid #16a34a;
  border-bottom: 2px solid #16a34a;
  transform: rotate(45deg);
  margin-right: 10px;
  flex-shrink: 0;
}

/* --- 10. 相談の流れ（Flow）& FAQ --- */
.flow-section {
  background-color: var(--color-bg-light);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 70px;
}

.flow-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  border-top: 4px solid #f59e0b;
  box-shadow: var(--shadow-subtle);
  border-left: 1px solid var(--color-border-light);
  border-right: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.flow-step-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: #b45309;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.flow-step-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.flow-step-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-container {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--color-bg-light);
}

.faq-toggle {
  font-size: 1.2rem;
  color: #d97706;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--color-primary-soft);
  font-size: 0.92rem;
  line-height: 1.8;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* --- 11. お問い合わせ（明るく爽やかなCTA） --- */
.cta-section {
  background: linear-gradient(135deg, #fef3c7 0%, #eff6ff 100%);
  border-top: 1px solid #fde68a;
  text-align: center;
  padding: 88px 0;
}

.cta-box {
  max-width: 760px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 18px;
  line-height: 1.35;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--color-primary-soft);
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- 12. フッター --- */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 50px 0 28px;
  font-size: 0.88rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer-copy {
  text-align: center;
  font-size: 0.82rem;
}

/* --- 13. レスポンシブ --- */
@media (max-width: 1120px) {
  .header-container {
    padding: 0 20px;
  }
  .header-nav {
    display: none !important;
  }
  .hamburger-btn {
    display: flex;
  }
  .btn-header {
    padding: 7px 14px !important;
    font-size: 0.8rem !important;
  }

  /* ドロワーメニューのアクティブ展開 */
  .mobile-drawer {
    display: block;
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    height: calc(100vh - 76px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    padding: 32px 24px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.35s;
    overflow-y: auto;
    z-index: 999;
  }
  body.admin-bar .mobile-drawer {
    top: calc(76px + 32px);
    height: calc(100vh - 76px - 32px);
  }
  .mobile-drawer.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
  }
  .drawer-link {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    padding: 12px 8px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-radius: 6px;
  }
  .drawer-link:hover {
    color: var(--color-accent);
    background-color: #f8fafc;
  }
  .drawer-actions {
    margin-top: 16px;
  }
}

@media (max-width: 900px) {
  .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 24px;
  }
  .price-box.featured { transform: none; }
}

@media (max-width: 600px) {
  .section-padding { padding: 64px 0; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-features-bar { flex-direction: column; align-items: center; gap: 14px; }
}

/* ==========================================================================
   追加セクション: About Us, Company, Coconala, メディア掲載枠
   ========================================================================== */

/* --- About Us セクション --- */
.about-section {
  background-color: var(--color-bg-white);
  border-top: 1px solid var(--color-border-light);
}

.about-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.about-lead {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.about-text p {
  font-size: 0.98rem;
  color: var(--color-primary-soft);
  line-height: 1.9;
  margin-bottom: 18px;
}

.about-logo-img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  filter: drop-shadow(0 10px 15px rgba(15, 23, 42, 0.1));
}

/* --- ココナラ実績バナーエリア --- */
.coconala-section {
  background-color: #fffbeb;
  border-top: 1px solid #fef3c7;
  border-bottom: 1px solid #fef3c7;
  padding: 48px 0;
}

.coconala-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 2px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  box-shadow: var(--shadow-sm);
}

.coconala-info {
  flex: 1;
  min-width: 280px;
}

.coconala-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f59e0b;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.coconala-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.coconala-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- 人物タグ（パーソナリティ） --- */
.personality-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.personality-tag {
  font-size: 0.78rem;
  font-weight: 700;
  background-color: #ffffff;
  color: #475569;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

/* --- 会社概要（Company） --- */
.company-section {
  background-color: var(--color-bg-light);
}

.company-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.company-table th,
.company-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.95rem;
}

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

.company-table th {
  width: 28%;
  background-color: #f8fafc;
  color: var(--color-primary-soft);
  font-weight: 700;
  text-align: left;
  vertical-align: top;
}

.company-table td {
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1.7;
}

.company-table td a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: var(--transition);
}

.company-table td a:hover {
  color: #1d4ed8;
  text-decoration-thickness: 2px;
}

/* --- PR動画・記事・メディア展開プレースホルダー --- */
.media-section {
  background-color: #ffffff;
  padding: 80px 0;
  border-top: 1px solid var(--color-border-light);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  justify-content: center;
}

/* 記事が1件のみの場合：横に引き伸ばさず、見やすいカード幅（最大480px）で画面中央に配置 */
.media-grid-single,
.media-grid:has(.media-card:only-child) {
  display: flex !important;
  justify-content: center !important;
}

.media-grid-single .media-card,
.media-grid:has(.media-card:only-child) .media-card {
  max-width: 480px !important;
  width: 100%;
}

.media-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition);
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.media-video-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #0f172a, #334155);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
}

.play-button-icon {
  width: 56px;
  height: 56px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  margin-bottom: 10px;
}

.media-body {
  padding: 24px;
}

.media-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: #2563eb;
  background-color: #eff6ff;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.media-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.media-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 24px;
  }
  .about-logo-img {
    order: -1;
    max-width: 160px;
  }
  .coconala-box {
    text-align: center;
    justify-content: center;
  }
}

/* --- Contact Form 7 理想のモダン2カラムフォームスタイル --- */
.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.wpcf7 {
  margin: 0 auto;
  max-width: 800px;
}

.contact-form-card {
  background: #ffffff;
  padding: 48px 44px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
  border: 1px solid #e2e8f0;
}

@media (max-width: 680px) {
  .contact-form-card {
    padding: 28px 18px;
  }
}

.wpcf7-form {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* グリッド行 */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 680px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-group.full {
  width: 100%;
}

/* ラベル & 必須マーク */
.form-label {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 2px;
}

.required-star {
  color: #ef4444;
  margin-left: 4px;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.badge-required {
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.3;
  margin-left: 6px;
}

/* 任意の文言・バッジは非表示 */
.badge-optional {
  display: none !important;
}

/* 入力コントロール（テキスト、メール、電話、セレクト、テキストエリア） */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea,
.form-control {
  width: 100% !important;
  padding: 12px 16px !important;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  font-family: inherit !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  line-height: 1.5 !important;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus,
.form-control:focus {
  outline: none !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18) !important;
}

/* セレクトボックスの矢印装飾 */
.wpcf7-form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 40px !important;
  cursor: pointer !important;
}

/* テキストエリア */
.wpcf7-form textarea {
  min-height: 140px !important;
  resize: vertical !important;
  line-height: 1.7 !important;
}

/* チェックボックス群（当サイトを知ったきっかけ） */
.wpcf7-checkbox {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px 20px !important;
  padding-top: 6px !important;
}

.wpcf7-list-item {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.wpcf7-list-item label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.92rem !important;
  color: #334155 !important;
  cursor: pointer !important;
  font-weight: 500 !important;
}

.wpcf7-list-item input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  accent-color: #2563eb !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  margin: 0 !important;
}

/* CF7のform-control-wrap */
.wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  position: relative !important;
}

/* 送信ボタン（落ち着いた信頼のブルー） */
.form-submit-wrapper {
  text-align: center;
  margin-top: 16px;
}

.wpcf7-form .wpcf7-submit,
.btn-submit {
  background: #2e78b7 !important;
  background: linear-gradient(180deg, #3884c7 0%, #266da5 100%) !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  padding: 13px 44px !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(38, 109, 165, 0.28) !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
  min-width: 220px !important;
  text-align: center !important;
}

.wpcf7-form .wpcf7-submit:hover,
.btn-submit:hover {
  background: linear-gradient(180deg, #266da5 0%, #1e5987 100%) !important;
  box-shadow: 0 6px 16px rgba(38, 109, 165, 0.38) !important;
  transform: translateY(-1px) !important;
}

/* reCAPTCHA 注記 */
.recaptcha-notice {
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 8px;
  line-height: 1.6;
}

.recaptcha-notice a {
  color: #64748b;
  text-decoration: underline;
}

.recaptcha-notice a:hover {
  color: #2563eb;
}

/* バリデーションエラーメッセージ */
.wpcf7-not-valid-tip {
  color: #ef4444 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  margin-top: 6px !important;
  display: block !important;
}

.wpcf7-response-output {
  border-radius: 8px !important;
  padding: 14px 18px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  margin: 20px 0 0 !important;
  text-align: center !important;
}

div.wpcf7 .wpcf7-mail-sent-ok {
  border-color: #22c55e !important;
  background-color: #f0fdf4 !important;
  color: #15803d !important;
}

div.wpcf7 .wpcf7-mail-sent-ng,
div.wpcf7 .wpcf7-validation-errors {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
  color: #b91c1c !important;
}

/* --- 記事・固定ページ（entry-content）装飾 --- */
.entry-content {
  color: #334155;
  line-height: 1.9;
  font-size: 1.05rem;
}

.entry-content p {
  margin-bottom: 24px;
}

.entry-content h2 {
  color: var(--color-primary);
  font-size: 1.45rem;
  font-weight: 800;
  margin: 48px 0 20px;
  padding: 14px 20px;
  background-color: #f8fafc;
  border-left: 5px solid var(--color-accent);
  border-radius: 0 8px 8px 0;
  line-height: 1.4;
}

.entry-content h3 {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.entry-content h4 {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px 0 12px;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.entry-content blockquote {
  background-color: #f0fdf4;
  border-left: 4px solid #16a34a;
  padding: 16px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-style: normal;
  color: #166534;
}

.entry-content pre {
  background: #0f172a;
  color: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.entry-content code {
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.entry-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* WordPress標準ボタンブロックのスタイル */
.entry-content .wp-block-button {
  margin: 32px 0;
  text-align: center;
}

.entry-content .wp-block-button__link {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff !important;
  padding: 14px 36px;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  transition: all 0.2s ease;
}

.entry-content .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.entry-content table th,
.entry-content table td {
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.entry-content table th {
  background-color: #f8fafc;
  color: var(--color-primary-soft);
  font-weight: 700;
  text-align: left;
  width: 30%;
  vertical-align: top;
}

.entry-content table td {
  color: var(--color-primary);
}

.entry-content ul,
.entry-content ol {
  padding-left: 24px;
  margin: 16px 0 24px;
}

.entry-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

/* 記事下部 CTA ボックス ボタンスタイル */
.btn-cta-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.35) !important;
}

.btn-cta-webform:hover {
  transform: translateY(-2px);
  background-color: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

