/* ========================================
   SOFI WordPress デモサイト — v3 PREMIUM
   最先端IT企業デザイン
   ======================================== */

/* Google Fonts は functions.php で wp_enqueue_style 経由で読込 */

/* ===== リセット & ベース ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #3B82F6;
  --primary-light: #60A5FA;
  --primary-soft: rgba(59, 130, 246, 0.08);
  --primary-glow: rgba(59, 130, 246, 0.25);
  --primary-dark: #2563EB;
  --accent: #10B981;
  --accent-soft: rgba(16, 185, 129, 0.08);
  --accent-glow: rgba(16, 185, 129, 0.25);
  --store: #059669;
  --store-soft: rgba(5, 150, 105, 0.08);
  --partner: #F59E0B;
  --partner-soft: rgba(245, 158, 11, 0.08);
  --partner-glow: rgba(245, 158, 11, 0.25);
  --dark: #0F172A;
  --dark-2: #1E293B;
  --dark-3: #334155;
  --body: #475569;
  --muted: #94A3B8;
  --border: rgba(148, 163, 184, 0.15);
  --border-light: rgba(148, 163, 184, 0.08);
  --bg: #F8FAFC;
  --bg-dark: #0B1120;
  --bg-dark-2: #111827;
  --white: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-dark: rgba(15, 23, 42, 0.8);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===== レイアウト ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section--bg {
  background: var(--bg);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section--store {
  background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 50%, #D1FAE5 100%);
}

/* ===== タイポグラフィ ===== */
h1,
h2,
h3,
h4 {
  line-height: 1.3;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--primary-soft);
  border-radius: 100px;
  border: 1px solid rgba(59, 130, 246, 0.12);
}

.section-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 56px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.section--dark .section-label {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.2);
}

.section--dark .section-title {
  color: var(--white);
}

.section--dark .section-sub {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn--accent {
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.3);
}

.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.btn--partner {
  background: linear-gradient(135deg, var(--partner) 0%, #D97706 100%);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.3);
}

.btn--partner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.btn--outline {
  background: var(--white);
  border-color: var(--border);
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow), 0 0 0 3px var(--primary-soft);
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 15px;
  border-radius: 10px;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 70px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}

.header__logo img:hover {
  opacity: 0.8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--dark);
  background: var(--bg);
}

.nav__partner {
  color: var(--partner) !important;
  font-weight: 700 !important;
}

.nav__partner:hover {
  background: var(--partner-soft) !important;
  color: var(--partner) !important;
}

.header__cta {
  margin-left: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== ページトップ余白 ===== */
.page-top {
  padding-top: 72px;
}

/* ===== ヒーロー ===== */
.hero {
  background: var(--bg-dark);
  position: relative;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(16, 185, 129, 0.1), transparent),
    radial-gradient(ellipse 40% 60% at 10% 60%, rgba(139, 92, 246, 0.08), transparent);
  pointer-events: none;
}

/* グリッドパターン */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 120px 0 100px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.hero__title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #60A5FA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__body {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
  margin-bottom: 40px;
}

.hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* ----- 装飾オービットリング ----- */
.hero__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.08);
  pointer-events: none;
}

.hero__orbit--1 {
  width: 420px;
  height: 420px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbit-spin 30s linear infinite;
}

.hero__orbit--1::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.6);
}

.hero__orbit--2 {
  width: 320px;
  height: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(16, 185, 129, 0.06);
  animation: orbit-spin 22s linear infinite reverse;
}

.hero__orbit--2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 20%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
}

@keyframes orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ----- 中央グロー ----- */
.hero__center-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* ----- フローティングカード共通 ----- */
.hero__float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 24px;
  z-index: 2;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  min-width: 190px;
}

.hero__float-card:hover {
  transform: translateY(-6px) !important;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* カード位置とアニメーション */
.hero__float-card--1 {
  top: 30px;
  left: 10px;
  animation: float-1 6s ease-in-out infinite;
}

.hero__float-card--2 {
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  animation: float-2 7s ease-in-out infinite;
  animation-delay: 1s;
}

.hero__float-card--3 {
  bottom: 30px;
  left: 40px;
  animation: float-3 5.5s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes float-1 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes float-2 {

  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(calc(-50% - 10px));
  }
}

@keyframes float-3 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* ----- カード内部パーツ ----- */
.hero__float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.hero__float-icon--blue {
  background: rgba(96, 165, 250, 0.15);
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.1);
}

.hero__float-icon--green {
  background: rgba(52, 211, 153, 0.15);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.1);
}

.hero__float-icon--purple {
  background: rgba(167, 139, 250, 0.15);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.1);
}

.hero__float-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero__float-value {
  font-size: 28px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #60A5FA, #93C5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero__float-value span {
  font-size: 13px;
  font-weight: 600;
  margin-left: 2px;
}

.hero__float-value--green {
  background: linear-gradient(135deg, #34D399, #6EE7B7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__float-value--purple {
  background: linear-gradient(135deg, #A78BFA, #C4B5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* プログレスバー */
.hero__float-bar {
  margin-top: 10px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.hero__float-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
  animation: bar-grow 2s ease-out 0.5s both;
}

@keyframes bar-grow {
  from {
    width: 0 !important;
  }
}

/* スパークライン */
.hero__float-trend {
  margin-top: 10px;
}

.hero__sparkline {
  width: 100%;
  height: 32px;
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.3));
}

/* 星バッジ */
.hero__float-badge {
  margin-top: 8px;
  font-size: 13px;
  color: #FBBF24;
  letter-spacing: 3px;
}

/* ----- パーティクル ----- */
.hero__particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__particle--1 {
  width: 6px;
  height: 6px;
  background: rgba(96, 165, 250, 0.5);
  top: 18%;
  left: 75%;
  animation: particle-float 8s ease-in-out infinite;
}

.hero__particle--2 {
  width: 4px;
  height: 4px;
  background: rgba(52, 211, 153, 0.4);
  top: 68%;
  right: 15%;
  animation: particle-float 6s ease-in-out infinite 1s;
}

.hero__particle--3 {
  width: 5px;
  height: 5px;
  background: rgba(167, 139, 250, 0.4);
  bottom: 22%;
  left: 18%;
  animation: particle-float 7s ease-in-out infinite 2s;
}

.hero__particle--4 {
  width: 3px;
  height: 3px;
  background: rgba(96, 165, 250, 0.3);
  top: 42%;
  left: 5%;
  animation: particle-float 9s ease-in-out infinite 0.5s;
}

.hero__particle--5 {
  width: 4px;
  height: 4px;
  background: rgba(251, 191, 36, 0.3);
  top: 12%;
  right: 30%;
  animation: particle-float 7.5s ease-in-out infinite 3s;
}

@keyframes particle-float {

  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.4;
  }

  25% {
    transform: translate(8px, -12px);
    opacity: 0.8;
  }

  50% {
    transform: translate(-4px, -20px);
    opacity: 0.5;
  }

  75% {
    transform: translate(12px, -8px);
    opacity: 0.9;
  }
}

/* ===== 実績バー ===== */
.stats-bar {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats-bar__item {
  text-align: center;
  padding: 12px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.stats-bar__item:last-child {
  border-right: none;
}

.stats-bar__num {
  font-size: 36px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  letter-spacing: -0.02em;
}

.stats-bar__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ===== 強みカード ===== */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-card {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.reason-card:hover::before {
  opacity: 1;
}

.reason-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  position: relative;
}

.reason-card__icon--blue {
  background: var(--primary-soft);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.08);
}

.reason-card__icon--green {
  background: var(--accent-soft);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.08);
}

.reason-card__icon--amber {
  background: var(--partner-soft);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.08);
}

.reason-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.reason-card__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ===== サービスエリア（事業別） ===== */
.service-group {
  margin-bottom: 0;
}

.service-group__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

.service-group__header--store {
  border-bottom-color: var(--store);
}

.service-group__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5px 14px;
  border-radius: 6px;
}

.service-group__label--store {
  background: linear-gradient(135deg, var(--accent) 0%, var(--store) 100%);
}

.service-group__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.service-group__note {
  font-size: 13px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(0deg, var(--primary-soft) 0%, transparent 100%);
  transition: height var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.15);
}

.service-card:hover::after {
  height: 60%;
}

.service-card--store {
  border-left: 3px solid var(--store);
}

.service-card--store::after {
  background: linear-gradient(0deg, var(--store-soft) 0%, transparent 100%);
}

.service-card--store:hover {
  border-color: rgba(5, 150, 105, 0.15);
  border-left-color: var(--store);
}

.service-card__icon {
  font-size: 32px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.service-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.service-card__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-card__fee {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.03em;
}

.service-card__fee--blue {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.12);
}

.service-card__fee--store {
  background: var(--store-soft);
  color: var(--store);
  border: 1px solid rgba(5, 150, 105, 0.12);
}

.service-card__link {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.service-card__link:hover {
  color: var(--primary-dark);
  letter-spacing: 0.03em;
}

/* ===== お客様の声 ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-card__text {
  font-size: 14px;
  color: var(--body);
  line-height: 1.9;
  margin-bottom: 24px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.testimonial-card__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.testimonial-card__role {
  font-size: 12px;
  color: var(--muted);
}

/* ===== ページヒーロー（内部ページ） ===== */
.page-hero {
  background: var(--bg-dark);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(59, 130, 246, 0.1), transparent),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(16, 185, 129, 0.06), transparent);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none;
}

.page-hero>.container {
  position: relative;
  z-index: 1;
}

.page-hero__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
  display: inline-block;
  background: rgba(59, 130, 246, 0.12);
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.page-hero__title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.page-hero__sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

/* ===== CTA セクション ===== */
.cta-section {
  background: var(--bg-dark);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(59, 130, 246, 0.15), transparent),
    radial-gradient(ellipse 40% 60% at 20% 20%, rgba(16, 185, 129, 0.08), transparent);
  pointer-events: none;
}

.cta-section>.container {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
  letter-spacing: -0.02em;
}

.cta-section__sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 36px;
}

/* ===== フッター ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 72px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo {
  margin-bottom: 14px;
}

.footer__logo img {
  height: 72px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.4);
}

.footer__heading {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: all var(--transition);
}

.footer__links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer__links .partner-link {
  color: var(--partner) !important;
  font-weight: 600;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--transition);
}

.footer__bottom-links a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ===== カードグリッド（実績等） ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.case-card__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: var(--bg);
  color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.case-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.case-card__challenge {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.case-card__result {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: var(--radius);
  padding: 12px 16px;
}

.case-card__result-icon {
  color: var(--accent);
  font-size: 16px;
}

.case-card__result-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--store);
}

/* ===== フロー図 ===== */
.flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  min-width: 160px;
  flex: 1;
  max-width: 200px;
  transition: all var(--transition);
}

.flow__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.15);
}

.flow__step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 12px;
}

.flow__step-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.flow__step-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.flow__step-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.flow__arrow {
  color: var(--primary);
  font-size: 20px;
  padding: 0 10px;
  margin-top: 44px;
  flex-shrink: 0;
  opacity: 0.4;
}

/* ===== 料金表 ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--white);
  transition: all var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: var(--shadow-glow);
}

.pricing-card--featured::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pricing-card__label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.pricing-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.pricing-card__price {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  margin: 16px 0 8px;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.03em;
}

.pricing-card__note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.pricing-card__list {
  margin-bottom: 32px;
}

.pricing-card__list li {
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--body);
}

.pricing-card__list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.15);
}

.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.2);
}

.faq-item__q {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--dark);
  transition: all var(--transition);
}

.faq-item__q:hover {
  color: var(--primary);
}

.faq-item__q .q-mark {
  color: var(--primary);
  font-weight: 800;
  font-family: 'Inter';
  margin-right: 10px;
  flex-shrink: 0;
  font-size: 14px;
  width: 28px;
  height: 28px;
  background: var(--primary-soft);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-item__q .toggle {
  color: var(--muted);
  font-size: 20px;
  flex-shrink: 0;
  transition: all var(--transition);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg);
}

.faq-item.open .toggle {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}

.faq-item__a {
  padding: 0 24px 24px 62px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  display: none;
}

.faq-item.open .faq-item__a {
  display: block;
}

/* ===== フォーム ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group--full {
  grid-column: 1/-1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.form-group label .req {
  font-size: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  transition: all var(--transition);
  background: var(--white);
  color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  transition: all var(--transition);
  color: var(--body);
}

.checkbox-item:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

/* ===== 会社概要テーブル ===== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.company-table th,
.company-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  text-align: left;
}

.company-table th {
  background: var(--bg);
  font-weight: 700;
  color: var(--dark);
  width: 170px;
  font-size: 13px;
}

.company-table td {
  color: var(--body);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

/* ===== ブログ ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.blog-card__thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  position: relative;
  overflow: hidden;
}

.blog-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.5) 0%, transparent 40%);
  pointer-events: none;
}

.blog-card__body {
  padding: 24px;
}

.blog-card__cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.blog-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.5;
}

.blog-card__date {
  font-size: 12px;
  color: var(--muted);
}

/* ===== フィルタータブ ===== */
.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  color: var(--muted);
}

.filter-tab.active,
.filter-tab:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* ===== パートナーページ専用 ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  text-align: center;
  transition: all var(--transition);
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.benefit-card__icon {
  font-size: 30px;
  margin-bottom: 12px;
}

.benefit-card__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.benefit-card__text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

/* ===== スクロールアニメーション ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* スタガーアニメーション用 */
.fade-up:nth-child(2) {
  transition-delay: 0.08s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.16s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.24s;
}

.fade-up:nth-child(5) {
  transition-delay: 0.32s;
}

.fade-up:nth-child(6) {
  transition-delay: 0.40s;
}

/* ===== ユーティリティ ===== */
.text-center {
  text-align: center;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 56px 0;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 56px 0 48px;
}

.section-divider__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-divider__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ===== 安心バッジ ===== */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.trust-badge__icon {
  color: var(--accent);
  font-size: 14px;
  width: 24px;
  height: 24px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== グロー効果のオーバーレイ ===== */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
}

.glow-orb--blue {
  background: rgba(59, 130, 246, 0.15);
}

.glow-orb--green {
  background: rgba(16, 185, 129, 0.12);
}

.glow-orb--purple {
  background: rgba(139, 92, 246, 0.1);
}

/* ===== カスタムスクロールバー ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-3);
}

/* ===== セレクション ===== */
::selection {
  background: rgba(59, 130, 246, 0.2);
  color: var(--dark);
}

/* ===== レスポンシブ用レイアウトクラス ===== */
/* partner: メリット5カード */
.partner-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* partner: 商材一覧 */
.partner-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* partner: 高額手数料理由3カード */
.partner-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

/* partner: 歓迎+フロー2列 */
.partner-welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* partner: 年間案件バッジ */
.partner-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
}

/* contact: 連絡先+フォーム2列 */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 48px;
  align-items: start;
}

/* pricing: 店舗コンサル料金2列 */
.pricing-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

/* ===== レスポンシブ ===== */

/* --- タブレット (1024px以下) --- */
@media (max-width: 1024px) {
  .partner-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .partner-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- モバイル (768px以下) --- */
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .container {
    padding: 0 20px;
  }

  .header__inner {
    height: 60px;
  }

  .page-top {
    padding-top: 60px;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #ffffff;
    z-index: 9999;
    padding: 24px;
    gap: 4px;
    box-sizing: border-box;
  }

  .nav.open a {
    font-size: 18px;
    font-weight: 600;
    padding: 16px 32px;
    color: var(--dark);
    border-radius: var(--radius);
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .nav.open a:hover {
    background: var(--primary-soft);
    color: var(--primary);
  }

  .nav.open .nav__partner {
    margin-top: 12px;
    background: var(--partner-soft) !important;
    color: var(--partner) !important;
  }

  .header__cta {
    display: none;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 0 60px;
  }

  .hero__visual {
    height: 320px;
    margin: 0 auto;
    max-width: 400px;
  }

  .hero__float-card {
    padding: 14px 16px;
    min-width: 150px;
    border-radius: 12px;
  }

  .hero__float-card--1 {
    top: 10px;
    left: 0;
  }

  .hero__float-card--2 {
    right: -5px;
  }

  .hero__float-card--3 {
    bottom: 10px;
    left: 20px;
  }

  .hero__float-value {
    font-size: 22px;
  }

  .hero__float-label {
    font-size: 10px;
  }

  .hero__float-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
  }

  .hero__float-icon svg {
    width: 16px;
    height: 16px;
  }

  .hero__orbit--1 {
    width: 300px;
    height: 300px;
  }

  .hero__orbit--2 {
    width: 220px;
    height: 220px;
  }

  .hero__btns {
    flex-direction: column;
  }

  .reasons {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .service-grid--two {
    grid-template-columns: 1fr;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid--two {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .flow {
    flex-direction: column;
    align-items: center;
  }

  .flow__arrow {
    transform: rotate(90deg);
    margin-top: 0;
    padding: 4px 0;
  }

  .flow__step {
    max-width: 100%;
    width: 100%;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stats-bar__item {
    border-right: none;
    padding: 8px 0;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .page-hero {
    padding: 60px 0 48px;
  }

  .section-sub {
    margin-bottom: 40px;
  }

  .trust-badges {
    gap: 16px;
    margin-bottom: 32px;
  }

  /* --- partner レスポンシブ --- */
  .partner-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-reasons-grid {
    grid-template-columns: 1fr;
  }

  .partner-welcome-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .partner-stats-badge {
    padding: 20px 24px;
    gap: 12px;
  }

  /* --- contact レスポンシブ --- */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* --- about テーブルレスポンシブ --- */
  .company-table th {
    width: auto;
    min-width: 100px;
    padding: 12px 14px;
    font-size: 12px;
  }

  .company-table td {
    padding: 12px 14px;
    font-size: 13px;
  }

  /* --- カードパディング縮小 --- */
  .reason-card {
    padding: 24px;
  }

  .case-card {
    padding: 24px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .service-card {
    padding: 24px;
  }

  .pricing-card {
    padding: 28px;
  }

  .service-group__header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .partner-hero {
    padding: 60px 0;
  }

  .cta-section {
    padding: 56px 0;
  }
}

/* --- 小型モバイル (480px以下) --- */
@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stats-bar__num {
    font-size: 28px;
  }

  .hero__title {
    font-size: 32px;
  }

  .partner-benefits-grid {
    grid-template-columns: 1fr;
  }

  .partner-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-stats-badge {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    width: 100%;
  }

  .partner-stats-badge>div:last-child {
    text-align: center;
  }

  .faq-item__q {
    padding: 16px;
    font-size: 14px;
  }

  .faq-item__a {
    padding: 0 16px 20px 46px;
  }
}