/*!
Theme Name: creative-one
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: EC-CUBEバージョンアップ代行サービス専用テーマ
Version: 2.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: creative-one
Tags: custom-background, custom-logo, custom-menu, featured-images
*/

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:      #ff6b00;
  --orange-h:    #e55e00;
  --orange-light:#fff3e8;
  --dark:        #0d0d1e;
  --dark-2:      #13132a;
  --dark-3:      #1a1a35;
  --dark-card:   #1e1e3a;
  --white:       #ffffff;
  --text:        #1e1e2e;
  --text-mid:    #555570;
  --text-light:  #9090b0;
  --bg:          #f8f8fc;
  --border:      #e8e8f0;
  --radius:      10px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER
============================================================ */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
#masthead.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo-img {
  height: 32px;
  width: auto;
  display: block;
  max-width: 180px;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--orange);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}
.logo-icon span:first-child {
  font-size: 9px;
  font-weight: 900;
  color: white;
  letter-spacing: 0.02em;
}
.logo-icon span:last-child {
  font-size: 7px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}
.logo-text-wrap { line-height: 1.25; }
.logo-name {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
}
.logo-sub {
  display: block;
  font-size: 10px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.05em;
}

#site-navigation { display: flex; align-items: center; }
#primary-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0; padding: 0;
}
#primary-menu li a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s;
}
#primary-menu li a:hover { color: var(--orange); }

.header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-header-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  color: white;
  background: var(--orange);
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 3px 12px rgba(255,107,0,0.45);
}
.btn-header-contact:hover { background: var(--orange-h); transform: translateY(-1px); color: white; }

.mobile-contact-btn { display: none; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(255,107,0,0.45);
  transition: all 0.2s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.btn-orange:hover { background: var(--orange-h); transform: translateY(-2px); color: white; }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-outline-dark:hover { border-color: var(--orange); color: var(--orange); }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-outline-light:hover { border-color: var(--orange); color: var(--orange); }

/* ============================================================
   SECTION COMMON
============================================================ */
.section { padding: 88px 0; }
.section-dark { background: var(--dark-2); }
.section-gray { background: var(--bg); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-title {
  font-size: 30px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 0;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 12px auto 0;
}
.section-title.light { color: white; }
.section-title.light::after { background: var(--orange); }

/* ============================================================
   HERO
============================================================ */
.hero {
  padding-top: 0;
  background-color: #0d0d1e;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,13,30,0.72) 0%, rgba(13,13,30,0.35) 55%, transparent 100%);
}
.hero-inner {
  display: block;
  padding: 120px 24px 80px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 18px;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: 42px;
  font-weight: 900;
  color: white;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  line-height: 1.9;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ヒーロー右カード */
.hero-right { position: relative; }
.hero-mockup {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.hero-mockup img { width: 100%; height: auto; }
.hero-mockup-placeholder {
  background: linear-gradient(135deg, #1a1a35, #2a2a50);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  border-radius: 16px;
}

/* 移行カード */
.migration-card {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  background: white;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  min-width: 200px;
}
.migration-card-title {
  font-size: 11px;
  color: var(--text-mid);
  margin-bottom: 12px;
  text-align: center;
}
.migration-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.migration-ver {
  text-align: center;
}
.migration-ver .ver-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.migration-ver .ver-label { font-size: 11px; font-weight: 700; color: var(--text-mid); }
.migration-arrow { font-size: 20px; color: var(--orange); font-weight: 900; }
.migration-checks { list-style: none; padding: 0; }
.migration-checks li {
  font-size: 12px;
  color: var(--text-mid);
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.migration-checks li::before { content: '✓'; color: var(--orange); font-weight: 700; }

/* ============================================================
   STATS BAR
============================================================ */
.stats-bar {
  background: var(--dark);
  padding: 48px 0;
  border-top: 1px solid rgba(255,107,0,0.2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.stat-item { }
.stat-icon-wrap {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
  color: var(--orange);
}
.stat-num {
  display: block;
  font-size: 52px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.stat-num .unit { font-size: 22px; font-weight: 700; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.65); }
.stat-note { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 12px; text-align: right; grid-column: 1/-1; }

/* ============================================================
   PROBLEMS
============================================================ */
.problems { background: white; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.problem-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.2s;
}
.problem-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.pc-badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.pc-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--orange-light);
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.problem-card h3 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.5; }
.problem-card p { font-size: 13px; color: var(--text-mid); line-height: 1.7; }

/* ============================================================
   FLOW
============================================================ */
.flow { background: var(--bg); }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(100% / 12);
  width: calc(100% - 100% / 6);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--orange) 0, var(--orange) 8px, transparent 8px, transparent 16px);
}
.flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}
.flow-num {
  width: 72px;
  height: 72px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
  border: 4px solid white;
  box-shadow: 0 0 0 3px rgba(255,107,0,0.25);
}
.flow-step h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.flow-step p { font-size: 12px; color: var(--text-mid); line-height: 1.7; }

/* ============================================================
   REASONS
============================================================ */
.reasons { background: var(--dark-2); }
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.reason-card {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(255,107,0,0.15);
  transition: all 0.2s;
}
.reason-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}
.reason-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,107,0,0.12);
  border-radius: 16px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 1px solid rgba(255,107,0,0.25);
}
.reason-card h3 { font-size: 15px; font-weight: 700; color: white; margin-bottom: 10px; }
.reason-card p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.8; }

/* ============================================================
   PRICING
============================================================ */
.pricing { background: white; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.price-card {
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  transition: all 0.2s;
}
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--orange);
  box-shadow: 0 8px 40px rgba(255,107,0,0.2);
}
.price-badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.price-card-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.price-card-sub { font-size: 13px; color: var(--text-mid); margin-bottom: 20px; }
.price-num {
  font-size: 38px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.price-num .unit { font-size: 16px; font-weight: 500; }
.price-tax { font-size: 12px; color: var(--text-light); margin-bottom: 24px; }
.price-list { list-style: none; padding: 0; margin-bottom: 28px; }
.price-list li {
  font-size: 13px;
  color: var(--text-mid);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-list li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.btn-price {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  border: 2px solid var(--border);
  color: var(--text);
}
.btn-price:hover { border-color: var(--orange); color: var(--orange); }
.btn-price.featured-btn {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
  box-shadow: 0 4px 16px rgba(255,107,0,0.4);
}
.btn-price.featured-btn:hover { background: var(--orange-h); color: white; }
.price-note { text-align: center; font-size: 13px; color: var(--text-light); }

/* ============================================================
   CASES
============================================================ */
.cases { background: var(--bg); }
.cases-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.cases-more { font-size: 14px; color: var(--orange); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.cases-more:hover { text-decoration: underline; }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.case-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--orange); }
.case-img {
  height: 160px;
  background: linear-gradient(135deg, #f0f0f8, #e0e0f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-mid);
  overflow: hidden;
  position: relative;
}
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 4px;
}
.case-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--orange);
  color: white;
}
.case-body { padding: 16px; }
.case-cat { font-size: 12px; color: var(--text-mid); margin-bottom: 6px; }
.case-body h3 { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.5; margin-bottom: 8px; }
.case-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-mid);
}
.case-flow .arrow { color: var(--orange); font-weight: 700; }
.case-details { font-size: 12px; color: var(--text-mid); margin-top: 6px; }

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  padding: 88px 0;
  text-align: center;
  border-top: 1px solid rgba(255,107,0,0.2);
}
.cta-section h2 { font-size: 32px; font-weight: 900; color: white; margin-bottom: 16px; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 40px; line-height: 1.8; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
============================================================ */
#colophon { background: #080814; color: rgba(255,255,255,0.6); }
.footer-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-icon {
  width: 34px; height: 34px;
  background: var(--orange);
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.footer-logo-icon span:first-child { font-size: 8px; font-weight: 900; color: white; }
.footer-logo-icon span:last-child { font-size: 6px; font-weight: 700; color: rgba(255,255,255,0.8); }
.footer-logo-name { font-size: 13px; font-weight: 700; color: white; }
.footer-brand p { font-size: 13px; line-height: 1.9; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col ul { padding: 0; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before { content: '›'; color: var(--orange); font-weight: 700; }
.footer-col ul li a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ページトップ */
.page-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(255,107,0,0.5);
  transition: all 0.2s;
  text-decoration: none;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}
.page-top.visible { opacity: 1; pointer-events: auto; }
.page-top:hover { transform: translateY(-3px); background: var(--orange-h); color: white; }

/* ============================================================
   FAQ TOP（簡易版）
============================================================ */
.faq-top { background: var(--bg); }
.faq-top-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.faq-top-item {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s;
}
.faq-top-item:hover { border-color: var(--orange); }
.faq-top-q {
  background: var(--dark);
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-top-q::before {
  content: 'Q';
  width: 24px;
  height: 24px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}
.faq-top-a {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ============================================================
   FAQ PAGE
============================================================ */
.faq-cat-nav {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 68px;
  z-index: 100;
}
.faq-cat-list {
  display: flex;
  gap: 4px;
  padding: 12px 0;
  overflow-x: auto;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.faq-cat-btn {
  display: inline-block;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  border-radius: 999px;
  border: 1.5px solid var(--border);
  white-space: nowrap;
  transition: all 0.2s;
}
.faq-cat-btn:hover, .faq-cat-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

.faq-section { }
.faq-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.faq-section-icon { font-size: 28px; }
.faq-section-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
}
.faq-check-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.faq-check-list li {
  font-size: 13px;
  color: var(--text-mid);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.7;
}
.faq-check-list li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}
.faq-a p { font-size: 14px; color: var(--text-mid); line-height: 1.85; margin-bottom: 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-note {
  font-size: 12px;
  background: #fff8f0;
  border-left: 3px solid var(--orange);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  color: var(--text-mid);
  margin-top: 10px;
}

/* ============================================================
   PAGE HERO（固定ページ共通）
============================================================ */
.page-hero {
  background: var(--dark);
  padding: 120px 0 64px;
  text-align: center;
  border-bottom: 1px solid rgba(255,107,0,0.2);
}
.page-hero-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 16px;
}
.page-hero-title {
  font-size: 36px;
  font-weight: 900;
  color: white;
  line-height: 1.45;
  margin-bottom: 16px;
}
.page-hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   SERVICE PAGE
============================================================ */
.service-intro {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
}
.service-section-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  margin: 12px 0 20px;
  line-height: 1.45;
}
.service-intro-text p { color: var(--text-mid); line-height: 1.9; margin-bottom: 16px; }
.service-intro-text strong { color: var(--text); }
.service-intro-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.intro-badge {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  border-left: 4px solid var(--orange);
}
.intro-badge-num {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 4px;
}
.intro-badge-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* バージョングリッド */
.version-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.version-card {
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.2s;
}
.version-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); }
.version-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
  color: white;
}
.version-badge.v2 { background: #6366f1; }
.version-badge.v3 { background: #0ea5e9; }
.version-badge.v4 { background: var(--orange); }
.version-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.version-list { padding: 0; margin-bottom: 16px; }
.version-list li {
  font-size: 13px;
  color: var(--text-mid);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.version-list li::before { content: '›'; color: var(--orange); font-weight: 700; }
.version-note {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.7;
  background: var(--bg);
  padding: 12px;
  border-radius: 8px;
}

/* おすすめバナー */
.recommend-banner {
  background: var(--dark);
  border-radius: 16px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  border-left: 4px solid var(--orange);
}
.recommend-label {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.recommend-banner-left h3 { font-size: 20px; font-weight: 900; color: white; margin-bottom: 6px; }
.recommend-banner-left p { font-size: 13px; color: rgba(255,255,255,0.6); }
.recommend-features { display: flex; flex-direction: column; gap: 14px; }
.recommend-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.rf-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.recommend-feature strong { display: block; font-size: 14px; color: white; margin-bottom: 2px; }
.recommend-feature span { font-size: 12px; color: rgba(255,255,255,0.6); }

/* 対応内容詳細グリッド */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.detail-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.2s;
}
.detail-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.detail-icon { font-size: 32px; margin-bottom: 14px; }
.detail-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.detail-list { padding: 0; margin-bottom: 16px; }
.detail-list li {
  font-size: 13px;
  color: var(--text-mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}
.detail-list li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.detail-note {
  font-size: 12px;
  color: var(--text-mid);
  background: var(--bg);
  padding: 12px 14px;
  border-radius: 8px;
  border-left: 3px solid var(--orange);
  line-height: 1.7;
}
.detail-note strong { color: var(--orange); }

/* 納期グリッド */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}
.schedule-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
}
.schedule-icon { font-size: 32px; margin-bottom: 12px; display: block; }
.schedule-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.schedule-period {
  font-size: 22px;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 12px;
}
.schedule-card p { font-size: 13px; color: var(--text-mid); line-height: 1.7; }
.schedule-note { text-align: center; font-size: 13px; color: var(--text-light); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q, .faq-a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.8;
}
.faq-q { background: var(--bg); font-weight: 700; color: var(--text); }
.faq-a { background: white; color: var(--text-mid); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.faq-icon-a { background: var(--dark); }

/* ============================================================
   PRIVACY POLICY
============================================================ */
.privacy-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.privacy-intro {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 12px;
}
.privacy-update {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}
.privacy-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.privacy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.privacy-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.privacy-num {
  width: 32px;
  height: 32px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}
.privacy-section p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 12px;
}
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
.privacy-list li {
  font-size: 14px;
  color: var(--text-mid);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
}
.privacy-list li::before {
  content: '›';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 16px;
}
.privacy-contact-box {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px 28px;
  border-left: 4px solid var(--orange);
  margin-top: 16px;
}
.privacy-contact-box p {
  margin-bottom: 6px !important;
}
.privacy-contact-box a {
  color: var(--orange);
  font-weight: 600;
}
.privacy-contact-box a:hover { text-decoration: underline; }

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.contact-intro { margin-bottom: 32px; }
.contact-form-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}
.contact-intro p { font-size: 14px; color: var(--text-mid); line-height: 1.8; }

/* フォーム */
.contact-form { display: flex; flex-direction: column; gap: 0; }
.cf-section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.05em;
  padding: 20px 0 12px;
  border-bottom: 2px solid var(--orange);
  margin-bottom: 24px;
  margin-top: 16px;
}
.cf-section-label:first-child { margin-top: 0; }
.cf-group { margin-bottom: 20px; }
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cf-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.cf-hint {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 2px;
  line-height: 1.5;
}
.cf-badge-required {
  display: inline-block;
  background: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.cf-input, .cf-textarea, .cf-select {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.cf-input:focus, .cf-textarea:focus, .cf-select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.12);
}
.cf-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.cf-textarea { resize: vertical; min-height: 90px; line-height: 1.7; }
.cf-privacy {
  margin: 20px 0 28px;
  padding: 16px;
  background: var(--bg);
  border-radius: 8px;
}
.cf-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
  cursor: pointer;
}
.cf-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
  cursor: pointer;
  flex-shrink: 0;
}
.cf-checkbox-label a { color: var(--orange); font-weight: 600; }
.cf-submit-wrap { text-align: center; }
.cf-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,107,0,0.4);
  transition: all 0.2s;
  font-family: inherit;
}
.cf-submit-btn:hover { background: var(--orange-h); transform: translateY(-2px); }
.cf-submit-note { font-size: 12px; color: var(--text-light); margin-top: 12px; }

/* CF7のカスタマイズ（使用時） */
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-textarea,
.wpcf7-form .wpcf7-select {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s;
  font-family: inherit;
}

/* CF7フォーム専用クラス（form-l / form-r / form-attr） */
.form-l {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  padding: 0;
  line-height: 1.5;
}
.form-l p {
  margin: 0;
  padding: 0;
}
.form-r {
  margin-bottom: 20px;
}
.form-r input[type="text"],
.form-r input[type="email"],
.form-r input[type="tel"],
.form-r input[type="url"],
.form-r select,
.form-r textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.form-r input:focus,
.form-r select:focus,
.form-r textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.12);
}
.form-r textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.7;
}
.form-attr {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 4px;
}

/* CF7 送信ボタン */
.wpcf7-form input[type="submit"] {
  background: var(--orange);
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 48px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,107,0,0.4);
  transition: all 0.2s;
  font-family: inherit;
  margin-top: 8px;
}
.wpcf7-form input[type="submit"]:hover {
  background: var(--orange-h);
  transform: translateY(-2px);
}

/* CF7 バリデーションメッセージ */
.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  display: block;
}
.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
  font-size: 13px;
  color: #ef4444;
  border: 1px solid #ef4444;
  background: #fef2f2;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 12px;
}
.wpcf7-mail-sent-ok {
  font-size: 14px;
  color: #16a34a;
  border: 1px solid #16a34a;
  background: #f0fdf4;
  padding: 14px 16px;
  border-radius: 8px;
  margin-top: 12px;
}
.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.12);
}
.wpcf7-form input[type="submit"] {
  background: var(--orange);
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 48px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,107,0,0.4);
  transition: all 0.2s;
  font-family: inherit;
}
.wpcf7-form input[type="submit"]:hover { background: var(--orange-h); }

/* サイドバー */
.contact-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.contact-sidebar-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.csb-icon { font-size: 26px; margin-bottom: 10px; }
.contact-sidebar-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.contact-sidebar-card p { font-size: 13px; color: var(--text-mid); line-height: 1.8; }
.contact-sidebar-card strong { color: var(--orange); }

.contact-sidebar-flow {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 22px;
}
.csb-flow-title { font-size: 14px; font-weight: 700; color: white; margin-bottom: 16px; }
.csb-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.csb-flow-step:last-child { margin-bottom: 0; }
.csb-step-num {
  width: 26px; height: 26px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}
.csb-flow-step strong { display: block; font-size: 13px; color: white; margin-bottom: 2px; }
.csb-flow-step p { font-size: 12px; color: rgba(255,255,255,0.6); margin: 0; }

/* ============================================================
   VERSIONS PAGE
============================================================ */
.ver-block {
  margin-bottom: 56px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.ver-block-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: linear-gradient(135deg, #1a1a35, #13132a);
}
.ver-block-badge {
  width: 56px;
  height: 56px;
  background: #6366f1;
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}
.ver-badge-v3 { background: #0ea5e9; }
.ver-badge-v4 { background: var(--orange); }
.ver-block-title { font-size: 20px; font-weight: 900; color: white; margin-bottom: 4px; }
.ver-block-sub { font-size: 13px; color: rgba(255,255,255,0.6); }
.ver-block-status { margin-left: auto; flex-shrink: 0; }
.ver-status-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.status-eol { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.status-active { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }

.ver-table-wrap { overflow-x: auto; }
.ver-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ver-table thead th {
  background: var(--bg);
  padding: 12px 24px;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.ver-table tbody td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: middle;
}
.ver-table tbody tr:last-child td { border-bottom: none; }
.ver-table tbody tr:hover td { background: var(--bg); }
.ver-row-recommended td { background: #fff8f0 !important; }
.ver-ok { color: #16a34a; font-weight: 700; }
.ver-ask { color: #d97706; font-weight: 700; }
.ver-best { color: var(--orange); font-weight: 700; }
.ver-recommend-badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.ver-block-note {
  background: #f0f0fa;
  padding: 16px 24px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}
.ver-note-orange { background: #fff8f0; }

.plugin-compat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plugin-compat-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}
.pc-ver-badge {
  display: inline-block;
  color: white;
  font-size: 13px;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.plugin-compat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.plugin-compat-card p { font-size: 13px; color: var(--text-mid); line-height: 1.8; }

/* ============================================================
   CASES PAGE
============================================================ */
.cases-preparing-notice {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: white;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 56px 48px;
  box-shadow: var(--shadow);
}
.cpn-icon { font-size: 48px; margin-bottom: 20px; }
.cpn-title { font-size: 24px; font-weight: 900; color: var(--text); margin-bottom: 20px; }
.cpn-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 36px;
}
.cpn-desc strong { color: var(--text); }
.cpn-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cpn-stat { text-align: center; }
.cpn-stat-num {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.cpn-stat-num span { font-size: 16px; font-weight: 700; }
.cpn-stat-label { font-size: 12px; color: var(--text-mid); }
.cpn-note {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 28px;
}

.cases-grid-page {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.case-card-page {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
}
.case-card-page:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--orange); }
.case-img-page {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 56px;
}
.case-img-apparel   { background: linear-gradient(135deg, #e8e8f8, #d0d0f0); }
.case-img-food      { background: linear-gradient(135deg, #fdf0e8, #fad8b0); }
.case-img-interior  { background: linear-gradient(135deg, #e8f4e8, #c8e8c8); }
.case-img-cosmetics { background: linear-gradient(135deg, #fce8f4, #f0c0e0); }
.case-img-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
}
.case-ver-tag {
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.case-img-content { position: relative; z-index: 1; }
.case-body-page { padding: 24px; }
.case-genre {
  display: inline-block;
  font-size: 11px;
  color: var(--text-mid);
  background: var(--bg);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.case-body-page h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 14px; line-height: 1.5; }
.case-detail-list { list-style: none; padding: 0; margin-bottom: 16px; }
.case-detail-list li {
  font-size: 13px;
  color: var(--text-mid);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}
.case-detail-list li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.case-result {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
  background: #fff8f0;
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 3px solid var(--orange);
}
.case-result-label {
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
  margin-top: 1px;
}

/* ============================================================
   BLOG（一覧・詳細共通）
============================================================ */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* 記事カード（一覧） */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--orange); }
.blog-card-img-link { display: block; }
.blog-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--bg);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, #1a1a35, #2a2a50);
}
.blog-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.blog-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 10px;
  flex: 1;
}
.blog-card-title a { color: var(--text); }
.blog-card-title a:hover { color: var(--orange); }
.blog-card-excerpt { font-size: 13px; color: var(--text-mid); line-height: 1.8; margin-bottom: 14px; }
.blog-card-more { font-size: 13px; color: var(--orange); font-weight: 600; margin-top: auto; }

/* ページネーション */
.blog-pagination { text-align: center; }
.blog-pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  transition: all 0.2s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}
.blog-pagination .prev, .blog-pagination .next { width: auto; padding: 0 16px; }

.blog-empty {
  text-align: center;
  padding: 64px;
  color: var(--text-light);
  font-size: 16px;
}

/* サイドバー */
.blog-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 24px; }
.blog-widget {
  background: white;
  border-radius: var(--radius);
  padding: 22px;
  border: 1.5px solid var(--border);
}
.blog-widget-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
}
.blog-cat-list { padding: 0; }
.blog-cat-list li { border-bottom: 1px solid var(--border); }
.blog-cat-list li:last-child { border-bottom: none; }
.blog-cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 4px;
  font-size: 13px;
  color: var(--text-mid);
  transition: color 0.2s;
}
.blog-cat-list li a:hover { color: var(--orange); }
.blog-cat-count {
  background: var(--bg);
  color: var(--text-light);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.blog-recent-list { padding: 0; }
.blog-recent-list li { border-bottom: 1px solid var(--border); }
.blog-recent-list li:last-child { border-bottom: none; }
.blog-recent-list li a {
  display: block;
  padding: 9px 4px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  transition: color 0.2s;
}
.blog-recent-list li a:hover { color: var(--orange); }
.blog-recent-date { display: block; font-size: 11px; color: var(--text-light); margin-bottom: 3px; }

.blog-widget-cta { background: var(--dark); border-color: rgba(255,107,0,0.3); }
.blog-widget-cta p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 14px; }

/* 検索フォーム */
.search-form { display: flex; gap: 8px; width: 100%; }
.search-field {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  font-size: 13px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  box-sizing: border-box;
}
.search-field:focus { outline: none; border-color: var(--orange); }
.search-submit {
  padding: 9px 16px;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================================
   SINGLE POST
============================================================ */
.single-wrap { background: var(--bg); }
.single-article { background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.single-thumb { }
.single-thumb img { width: 100%; max-height: 420px; object-fit: cover; }
.single-header { padding: 36px 40px 24px; border-bottom: 1px solid var(--border); }
.single-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-light);
}
.single-cat {
  background: var(--orange-light);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}
.single-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.5;
}
.single-content {
  padding: 36px 40px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}
.single-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--orange);
}
.single-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}
.single-content p { margin-bottom: 20px; }
.single-content ul, .single-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.single-content li { margin-bottom: 8px; }
.single-content a { color: var(--orange); text-decoration: underline; }
.single-content strong { font-weight: 700; }
.single-content img { max-width: 100%; border-radius: 8px; margin: 20px 0; }
.single-content blockquote {
  border-left: 4px solid var(--orange);
  background: var(--bg);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-style: normal;
  color: var(--text-mid);
}
.single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.single-content th, .single-content td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.single-content th { background: var(--dark); color: white; font-weight: 700; }

/* タグ */
.single-tags {
  padding: 16px 40px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.single-tag {
  font-size: 12px;
  color: var(--text-mid);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
}

/* 前後ナビ */
.single-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.single-nav-prev, .single-nav-next { padding: 20px 24px; }
.single-nav-next { border-left: 1px solid var(--border); text-align: right; }
.single-nav-prev a, .single-nav-next a { display: block; color: var(--text-mid); transition: color 0.2s; }
.single-nav-prev a:hover, .single-nav-next a:hover { color: var(--orange); }
.snav-label { display: block; font-size: 11px; color: var(--text-light); margin-bottom: 4px; }
.snav-title { font-size: 13px; font-weight: 600; line-height: 1.5; }

/* ============================================================
   VERSION LP
============================================================ */
.vlp-hero {
  background: var(--dark);
  padding: 100px 0 64px;
  border-bottom: 1px solid rgba(255,107,0,0.2);
}
.vlp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
}
.vlp-hero-title {
  font-size: 32px;
  font-weight: 900;
  color: white;
  line-height: 1.4;
  margin-bottom: 16px;
}
.vlp-hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 32px;
}
.vlp-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* 移行カード */
.vlp-migration-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.vlp-migration-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 0.1em;
}
.vlp-migration-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.vlp-ver-box {
  flex: 1;
  border: 2px solid;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}
.vlp-ver-label {
  display: inline-block;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.vlp-ver-num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}
.vlp-arrow {
  font-size: 22px;
  color: var(--orange);
  font-weight: 900;
  flex-shrink: 0;
}
.vlp-check-list { list-style: none; padding: 0; }
.vlp-check-list li {
  font-size: 13px;
  color: var(--text-mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.vlp-check-list li:last-child { border-bottom: none; }
.vlp-check-list li::before { content: '✓'; color: var(--orange); font-weight: 700; }

/* 実績バー */
.vlp-stats { background: var(--dark-2); padding: 28px 0; }
.vlp-stats-inner {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.vlp-stat { text-align: center; }
.vlp-stat strong { display: block; font-size: 26px; font-weight: 900; color: var(--orange); margin-bottom: 4px; }
.vlp-stat span { font-size: 12px; color: rgba(255,255,255,0.6); }

/* 本文コンテンツ */
.vlp-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}
.vlp-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--orange);
}
.vlp-content h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.vlp-content p { margin-bottom: 18px; }
.vlp-content ul, .vlp-content ol { padding-left: 24px; margin-bottom: 18px; }
.vlp-content li { margin-bottom: 6px; }
.vlp-content strong { font-weight: 700; }

/* 移行ポイントグリッド */
.vlp-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.vlp-point-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}
.vlp-point-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.vlp-point-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.vlp-point-card p { font-size: 13px; color: var(--text-mid); line-height: 1.8; }

/* 料金グリッド */
.vlp-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vlp-price-card {
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.2s;
}
.vlp-price-card:hover { box-shadow: var(--shadow-lg); }
.vlp-price-featured { border-color: var(--orange); box-shadow: 0 4px 24px rgba(255,107,0,0.15); }
.vlp-price-badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.vlp-price-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.vlp-price-num {
  font-size: 30px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}
.vlp-price-num span { font-size: 16px; font-weight: 500; }
.vlp-price-period { font-size: 12px; color: var(--text-light); margin-bottom: 16px; }
.vlp-price-list { list-style: none; padding: 0; }
.vlp-price-list li {
  font-size: 13px;
  color: var(--text-mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.vlp-price-list li::before { content: '✓'; color: var(--orange); font-weight: 700; }

@media (max-width: 1024px) {
  .vlp-hero-inner { grid-template-columns: 1fr; }
  .vlp-hero-badge { display: none; }
  .vlp-price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .vlp-hero-title { font-size: 22px; }
  .vlp-points-grid { grid-template-columns: 1fr; }
  .vlp-stats-inner { gap: 28px; }
}

/* ============================================================
   DEFAULT PAGE (page.php)
============================================================ */
.default-page-content { max-width: 800px; margin: 0 auto; }
.default-page-thumb {
  margin-bottom: 36px;
  border-radius: var(--radius);
  overflow: hidden;
}
.default-page-thumb img { width: 100%; height: auto; }
.default-page-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}
.default-page-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--orange);
}
.default-page-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}
.default-page-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 10px;
}
.default-page-body p { margin-bottom: 20px; }
.default-page-body ul, .default-page-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.default-page-body li { margin-bottom: 8px; }
.default-page-body a { color: var(--orange); text-decoration: underline; }
.default-page-body strong { font-weight: 700; }
.default-page-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 20px 0;
}
.default-page-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.default-page-body th, .default-page-body td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
  line-height: 1.7;
}
.default-page-body th {
  background: var(--dark);
  color: white;
  font-weight: 700;
}
.default-page-body tr:nth-child(even) td { background: var(--bg); }
.default-page-body blockquote {
  border-left: 4px solid var(--orange);
  background: var(--bg);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  color: var(--text-mid);
}
.edit-link a {
  font-size: 12px;
  color: var(--text-light);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ============================================================
   TOP BLOG SECTION
============================================================ */
.top-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.top-blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.top-blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.top-blog-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--dark-3);
}
.top-blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.top-blog-card:hover .top-blog-img { transform: scale(1.04); }
.top-blog-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}
.top-blog-cat {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.top-blog-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.top-blog-date {
  font-size: 12px;
  color: var(--text-light);
}
.top-blog-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.top-blog-excerpt {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 768px) {
  .top-blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COMPANY PAGE
============================================================ */
.company-mission {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: block;
}
.company-mission p {
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 14px;
}
.company-section-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--text);
  margin: 12px 0 20px;
}
.company-mission-stats {
  background: var(--dark);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.company-stat {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.company-stat:last-child { border-bottom: none; padding-bottom: 0; }
.company-stat-num {
  display: block;
  font-size: 40px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.1;
}
.company-stat-num span { font-size: 20px; }
.company-stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  letter-spacing: .05em;
}

/* 会社概要テーブル */
.company-table-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 160px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.company-table td { color: var(--text-mid); }
.company-table tr:first-child th,
.company-table tr:first-child td { border-top: 1px solid var(--border); }

/* 強み */
.company-strengths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.company-strength-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.cs-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--orange);
  opacity: .25;
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
}
.cs-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.cs-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* マップ */
.company-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .company-strengths { grid-template-columns: 1fr; gap: 24px; }
  .company-table th { width: 100px; font-size: 13px; }
  .company-table th, .company-table td { padding: 14px 16px; font-size: 13px; }
}

/* ============================================================
   HISTORY PAGE
============================================================ */

/* ダークヒーロー */
.page-hero-dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.page-hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,107,0,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-dark .page-hero-label { color: var(--orange); }
.page-hero-dark .page-hero-title { color: white; }
.page-hero-dark .page-hero-desc  { color: rgba(255,255,255,0.7); }

/* サマリーバー */
.hist-summary-bar {
  background: var(--dark-2);
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hist-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hist-summary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hist-summary-item:last-child { border-right: none; }
.hist-summary-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.1;
}
.hist-summary-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: .05em;
}

/* タイムライン全体 */
.hist-section { background: var(--bg); }
.hist-timeline {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 48px;
}

/* エラ（世代ブロック） */
.hist-era {
  position: relative;
  padding-left: 48px;
}
.hist-era-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hist-era-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.hist-era-v1 { background: #8b5cf6; }
.hist-era-v2 { background: #6366f1; }
.hist-era-v3 { background: #0ea5e9; }
.hist-era-v4 { background: var(--orange); }
.hist-era-year {
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
}

/* 縦ライン */
.hist-era-line {
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--border), transparent);
}

/* アイテム */
.hist-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hist-item {
  position: relative;
  padding-left: 40px;
}
.hist-item-dot {
  position: absolute;
  left: -23px;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px currentColor;
  z-index: 1;
}
.hist-dot-v1 { background: #8b5cf6; color: #8b5cf6; }
.hist-dot-v2 { background: #6366f1; color: #6366f1; }
.hist-dot-v3 { background: #0ea5e9; color: #0ea5e9; }
.hist-dot-v4 { background: var(--orange); color: var(--orange); }
.hist-dot-latest {
  width: 18px;
  height: 18px;
  left: -25px;
  top: 18px;
  box-shadow: 0 0 0 3px var(--orange), 0 0 12px rgba(255,107,0,0.4);
}

/* カード */
.hist-item-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.hist-item-card:hover { box-shadow: var(--shadow-lg); }
.hist-item-highlight .hist-item-card {
  border-color: rgba(99,102,241,0.3);
  background: linear-gradient(135deg, #fff 0%, #f5f5ff 100%);
}
.hist-card-latest {
  border-color: rgba(255,107,0,0.4) !important;
  background: linear-gradient(135deg, #fff 0%, #fff8f3 100%) !important;
}

.hist-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hist-ver-tag {
  font-size: 13px;
  font-weight: 700;
  background: var(--dark);
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
}
.hist-date {
  font-size: 12px;
  color: var(--text-light);
}

/* ステータスバッジ */
.hist-status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: .04em;
}
.hist-status-eol    { background: #f1f1f8; color: #888; }
.hist-status-warn   { background: #fff3cd; color: #b45309; }
.hist-status-ok     { background: #e8f5e9; color: #2e7d32; }
.hist-status-latest { background: var(--orange); color: white; }
.hist-popular-badge {
  font-size: 11px;
  font-weight: 700;
  background: #6366f1;
  color: white;
  padding: 2px 10px;
  border-radius: 20px;
}

.hist-item-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.hist-item-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 12px;
}
.hist-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hist-features li {
  font-size: 13px;
  color: var(--text-mid);
  padding-left: 18px;
  position: relative;
}
.hist-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 11px;
}
.hist-danger-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 14px;
  background: #fff0f0;
  border: 1px solid #fca5a5;
  border-left: 4px solid #ef4444;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.65;
  color: #b91c1c;
}
.hist-danger-note svg { flex-shrink: 0; margin-top: 2px; }
.hist-latest-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(255,107,0,0.08);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}

/* 移行対応グリッド */
.hist-migration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hist-mig-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hist-mig-from, .hist-mig-to {
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hist-mig-badge {
  display: inline-block;
  color: white;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
}
.hist-mig-arrow {
  font-size: 24px;
  color: var(--orange);
  font-weight: 900;
}
.hist-mig-note {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  text-align: left;
}
.hist-mig-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  margin-top: 4px;
}
.hist-mig-link:hover { text-decoration: underline; }

/* ============================================================
   SERVER MIGRATION PAGE
============================================================ */
.server-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.server-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}
.server-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.server-list { list-style: none; padding: 0; }
.server-list li {
  font-size: 13px;
  color: var(--text-mid);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.server-list li:last-child { border-bottom: none; }
.server-list li::before { content: '›'; color: var(--orange); font-weight: 700; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .flow-steps::before { display: none; }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .single-header, .single-content, .single-tags { padding-left: 24px; padding-right: 24px; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #primary-menu, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { position: relative; }
  .mobile-contact-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--orange);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
  }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
  .contact-form-area { width: 100%; min-width: 0; }
  .cf-row { grid-template-columns: 1fr; gap: 0; }
  .wpcf7 { width: 100%; }
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="url"],
  .wpcf7 input[type="tel"],
  .wpcf7 select,
  .wpcf7 textarea { width: 100%; box-sizing: border-box; }
  .hero h1 { font-size: 28px; }
  .hero-eyebrow { font-size: 14px; }
  .section-title { font-size: 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .single-title { font-size: 20px; }
  .single-nav { grid-template-columns: 1fr; }
  .single-nav-next { border-left: none; border-top: 1px solid var(--border); text-align: left; }
  .problem-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .section { padding: 56px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hist-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .hist-timeline { padding-left: 0; }
  .hist-era { padding-left: 0; }
  .hist-era-label { flex-direction: column; gap: 4px; margin-bottom: 20px; }
  .hist-era-line { left: 14px; }
  .hist-item { padding-left: 40px; }
  .hist-item-dot { left: 8px; }
  .hist-migration-grid { grid-template-columns: 1fr; }
}
