/* Custom CSS for GWS LP */

/* --- Design Tokens --- */
:root {
  --color-primary: #1A2B4C;        /* ディープネイビー（信頼・誠実） */
  --color-primary-light: #2A3F66;
  --color-primary-dark: #0E1A33;
  --color-secondary: #4285F4;      /* Google Blue */
  --color-accent: #F26522;         /* ウォームオレンジ（行動・対面） */
  --color-accent-hover: #D94B0B;
  
  --color-bg-light: #FFFFFF;
  --color-bg-alt: #F8F9FB;         /* セクション背景の切り替え用 */
  --color-bg-dark: #12203B;
  
  --color-text-dark: #333333;
  --color-text-muted: #666666;
  --color-text-light: #FFFFFF;
  
  --color-success: #34A853;       /* Google Green */
  --color-warning: #FBBC05;       /* Google Yellow */
  --color-danger: #EA4335;        /* Google Red */
  
  --font-japanese: 'Noto Sans JP', sans-serif;
  --font-english: 'Outfit', sans-serif;
  
  --transition-speed: 0.3s;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  
  --box-shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --box-shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --box-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* --- Base & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-japanese);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary-dark);
}

p {
  margin-bottom: 1.5rem;
}

strong {
  font-weight: 700;
}

/* --- Layout Elements --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.margin-center { margin-left: auto; margin-right: auto; }
.max-width-600 { max-width: 600px; }
.max-width-800 { max-width: 800px; }

.sp-only { display: none; }
.pc-only { display: block; }

/* --- Section Global --- */
section {
  padding: 6.5rem 0;
}

.section-tag {
  display: inline-block;
  background-color: rgba(66, 133, 244, 0.1);
  color: var(--color-secondary);
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.section-tag-white {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-text-light);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--color-primary-dark);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 4rem;
}

.text-white { color: var(--color-text-light) !important; }
.text-white-opacity { color: rgba(255, 255, 255, 0.8) !important; }
.text-orange { color: var(--color-accent) !important; }
.text-google-blue { color: var(--color-secondary) !important; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-japanese);
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  font-size: 1rem;
  box-shadow: var(--box-shadow-sm);
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-text-light);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-md);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-secondary), #34a853);
  color: var(--color-text-light);
}

.btn-secondary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-md);
}

.btn-large {
  font-size: 1.15rem;
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-header {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-md);
}

/* --- Interactive Hover Effects --- */
.card-pop {
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.card-pop:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg) !important;
}

/* --- Header --- */
.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-left: 1px solid #ddd;
  padding-left: 0.5rem;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone-link {
  color: var(--color-primary);
  text-decoration: none;
  font-family: var(--font-english);
  font-weight: 800;
  font-size: 1.35rem;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: right;
}

.phone-num-row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.phone-link i {
  color: var(--color-accent);
  font-size: 1.15rem;
}

.phone-sub {
  font-size: 0.7rem;
  font-family: var(--font-japanese);
  color: var(--color-text-muted);
  font-weight: 400;
}

/* --- Hero Section (FV) --- */
.section-hero {
  background-color: #ffffff;
  padding: 7.5rem 0 6.5rem;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
  min-height: 620px;
  display: flex;
  align-items: center;
}

/* Background Image and Gradient Mask Wrapper */
.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 58%; /* 右側に大きく配置 */
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    #ffffff 42%,
    rgba(255, 255, 255, 0.95) 52%,
    rgba(255, 255, 255, 0.6) 65%,
    rgba(255, 255, 255, 0) 100%
  );
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* 右側は背景画像が見えるように空ける */
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 560px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-text-light);
  font-weight: 700;
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(26, 43, 76, 0.1);
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-primary-dark);
}

.text-highlight {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary-light);
  margin-bottom: 1.5rem;
  line-height: 1.45;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-features-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.015);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  font-weight: 700;
  color: var(--color-text-dark);
}

.hero-tag-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.06);
  background: rgba(255, 255, 255, 0.95);
}

.hero-tag-item i {
  color: var(--color-success);
  font-size: 1.1rem;
}

/* Hero Actions & Inline Google Badge */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  width: 100%;
}

.google-badge-inline {
  display: inline-flex;
  align-items: center;
}

.google-partner-badge-inline {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Responsive FV adjustments */
@media (max-width: 991px) {
  .hero-bg-img {
    width: 65%;
  }
  .hero-bg-overlay {
    background: linear-gradient(
      to right,
      #ffffff 0%,
      #ffffff 35%,
      rgba(255, 255, 255, 0.95) 50%,
      rgba(255, 255, 255, 0.7) 65%,
      rgba(255, 255, 255, 0) 100%
    );
  }
}

@media (max-width: 768px) {
  .section-hero {
    padding: 6rem 0 4rem;
    min-height: auto;
  }
  
  .hero-container {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  
  .hero-content {
    align-items: center !important;
    text-align: center !important;
    max-width: 100% !important;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
  }
  
  .hero-features-tags {
    justify-content: center;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .google-badge-inline {
    justify-content: center;
    width: 100%;
  }
  
  .hero-bg-img {
    width: 100%;
    opacity: 0.18; /* スマホではテキスト優先でかなり薄くする */
    object-position: center center;
  }
  
  .hero-bg-overlay {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.85) 100%
    );
  }
}

.nexus-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.nexus-line {
  stroke-dasharray: 6 6;
  animation: nexus-dash-flow 30s linear infinite;
}

@keyframes nexus-dash-flow {
  to {
    stroke-dashoffset: -1000;
  }
}

/* Central Hub Styles */
.hub-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  z-index: 3;
}

.hub-logo-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(26, 43, 76, 0.12);
  border: 4px solid #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  z-index: 4;
  overflow: hidden;
}

.hub-g-logo {
  width: 35%;
  height: auto;
  object-fit: contain;
}

.hub-gemini-logo {
  width: 32%;
  height: auto;
  object-fit: contain;
  animation: pulse-gemini 3s ease-in-out infinite;
}

.hub-pulse {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  border: 2px solid rgba(66, 133, 244, 0.15);
  animation: pulse-wave 2.5s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
  z-index: 2;
}

@keyframes pulse-gemini {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(160, 98, 255, 0)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(160, 98, 255, 0.4)); }
}

@keyframes pulse-wave {
  0% { transform: scale(0.8); opacity: 0.8; }
  50% { opacity: 0.3; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Surrounding Node Styles */
.nexus-node {
  position: absolute;
  background: #ffffff;
  border-radius: var(--border-radius-md);
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  z-index: 3;
  width: max-content;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nexus-node:hover {
  transform: scale(1.05) translateY(-3px) !important;
  box-shadow: 0 15px 30px rgba(66, 133, 244, 0.1);
  border-color: rgba(66, 133, 244, 0.2);
}

.node-icon-wrapper {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
  flex-shrink: 0;
}

.node-icon-wrapper img {
  width: 65%;
  height: 65%;
  object-fit: contain;
}

.node-label {
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

/* Specific Node Position and Animation */
.node-gmail {
  top: 15%;
  left: 2%;
  border-left: 3px solid var(--color-danger);
  animation: fv-float-slow 6s ease-in-out infinite;
}

.node-calendar {
  top: 15%;
  right: 2%;
  border-left: 3px solid var(--color-warning);
  animation: fv-float-medium 5s ease-in-out infinite;
}

.node-drive {
  bottom: 18%;
  left: -2%;
  border-left: 3px solid var(--color-secondary);
  animation: fv-float-medium 5.5s ease-in-out infinite;
}

.node-meet {
  bottom: 18%;
  right: -2%;
  border-left: 3px solid var(--color-secondary);
  animation: fv-float-slow 5.8s ease-in-out infinite;
}

.node-chat {
  top: -2%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 3px solid var(--color-success);
  animation: fv-float-slow 6.5s ease-in-out infinite;
}

/* Floating Animations */
@keyframes fv-float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes fv-float-medium {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.google-badge-container {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.google-partner-badge {
  display: block;
  max-width: 150px;
  height: auto;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: var(--box-shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
}

/* --- Pain Section (共感) --- */
.section-pain {
  background-color: var(--color-bg-alt);
}

.pain-bubbles-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 0;
}

.pain-bubble-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--transition-speed) ease;
}

.pain-bubble-card:hover {
  transform: translateY(-3px);
}

.bubble-meta {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  padding-left: 0.5rem;
}

.bubble-meta i {
  margin-right: 0.25rem;
}

.speech-bubble {
  position: relative;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--border-radius-md);
  padding: 1.5rem 2.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  width: 100%;
  text-align: left;
}

/* 吹き出しのしっぽ（左側発言用） */
.bubble-left .speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 25px;
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #e2e8f0 transparent;
  display: block;
  width: 0;
}

.bubble-left .speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 25px;
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #fff transparent;
  display: block;
  width: 0;
}

/* 右側発言用 */
.bubble-right {
  align-items: flex-end;
}

.bubble-right .speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 25px;
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #e2e8f0 transparent;
  display: block;
  width: 0;
}

.bubble-right .speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -9px;
  right: 25px;
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #fff transparent;
  display: block;
  width: 0;
}



.speech-bubble p {
  margin-bottom: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.7;
}

.font-orange { color: var(--color-accent); }
.font-blue { color: var(--color-secondary); }
.font-green { color: var(--color-success); }
.font-red { color: var(--color-danger); }

/* --- Solution Section (解決策) --- */
.section-solution {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  position: relative;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.solution-block {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.solution-header {
  padding: 1.5rem 2rem;
  background-color: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-user-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  background-color: var(--color-secondary);
  color: #fff;
  padding: 0.2rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.solution-header h3 {
  color: var(--color-text-light);
  font-size: 1.35rem;
}

.solution-body {
  padding: 2rem;
}

.solution-compare {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.compare-box {
  padding: 1.25rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
}

.compare-before {
  background-color: rgba(234, 67, 53, 0.1);
  border: 1px solid rgba(234, 67, 53, 0.2);
  color: #f7d2d0;
}

.compare-after {
  background-color: rgba(52, 168, 83, 0.15);
  border: 1px solid rgba(52, 168, 83, 0.3);
  color: #d1f3d8;
}

.compare-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.label-before {
  background-color: var(--color-danger);
  color: #fff;
}

.label-after {
  background-color: var(--color-success);
  color: #fff;
}

.compare-arrow {
  display: flex;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.5rem;
}

/* AI Assistant Box */
.ai-assistant-box {
  background: linear-gradient(135deg, #ffffff 0%, #f3f6ff 100%);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--box-shadow-lg);
  position: relative;
  border-left: 8px solid var(--color-secondary);
}

.ai-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ai-badge {
  display: inline-flex;
}

.ai-badge-star {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-japanese);
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #a062ff, var(--color-secondary));
  color: #fff;
  padding: 0.35rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(160, 98, 255, 0.3);
}

.ai-content h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  color: var(--color-primary-dark);
}

.ai-content p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* --- Case Studies Section (事例) --- */
.section-cases {
  background-color: var(--color-bg-light);
}

.tab-container {
  margin-top: 2rem;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  border-bottom: 2px solid #eef1f6;
  padding-bottom: 0;
  margin-bottom: 4rem;
}

.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-japanese);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-muted);
  padding: 1rem 0.5rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-speed) ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0;
}

.tab-btn:hover {
  color: var(--color-secondary);
}

.tab-btn.active {
  color: var(--color-secondary);
  border-bottom: 3px solid var(--color-secondary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3.5rem;
  align-items: center;
}

.case-badge {
  display: inline-block;
  background-color: rgba(242, 101, 34, 0.1);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.25rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.case-info h3 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.case-scenario {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.sc-box {
  padding: 2rem 1.25rem;
  border-radius: var(--border-radius-md);
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-speed) ease;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.sc-box:hover {
  transform: translateY(-2px);
}

.sc-before {
  border-top: 4px solid var(--color-danger);
  background: linear-gradient(180deg, rgba(234, 67, 53, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
}

.sc-after {
  border-top: 4px solid var(--color-success);
  background: linear-gradient(180deg, rgba(52, 168, 83, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
  box-shadow: 0 10px 25px rgba(52, 168, 83, 0.05);
}

.sc-box-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 900;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.sc-before .sc-box-header {
  color: var(--color-danger);
}

.sc-after .sc-box-header {
  color: var(--color-success);
}

.sc-box-header i {
  font-size: 1.25rem;
}

.sc-arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-primary-light);
  font-size: 1.25rem;
  width: 42px;
  height: 42px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: var(--box-shadow-sm);
  border: 1px solid #e2e8f0;
  z-index: 2;
}

.case-quote {
  border-top: 1px dashed #ddd;
  border-bottom: 1px dashed #ddd;
  padding: 1.5rem 0;
  margin-bottom: 1.5rem;
}

.case-quote p {
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 0.5rem;
}

.case-quote cite {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: normal;
  display: block;
  text-align: right;
}

.case-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.case-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-md);
  width: 100%;
  max-width: 260px; /* 巨大表示を防ぐための制限 */
  height: auto;
}

/* --- Strengths Section --- */
.section-strengths {
  background-color: var(--color-bg-alt);
}

.strength-card {
  background-color: var(--color-bg-light);
  padding: 3.5rem 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.strength-icon {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.strength-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.strength-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.strength-lead {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 1.25rem !important;
}

.strength-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.strength-list li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.strength-list li i {
  position: absolute;
  left: 0;
  top: 0.25rem;
  color: var(--color-accent);
  font-size: 0.9rem;
}

.strength-list li:last-child {
  margin-bottom: 0;
}

/* --- Comparison Section (比較表) --- */
.section-comparison {
  background-color: var(--color-bg-light);
}

.table-container {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-md);
  border: 1px solid #e2e8f0;
  padding-top: 1.5rem; /* Pushes the table content down to make space for the badge */
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
  margin-top: 0; /* Remove margin-top since padding-top is on container */
}

.comparison-table th, .comparison-table td {
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.comparison-table th {
  background-color: var(--color-bg-alt);
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: 1rem;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.comparison-table th:first-child {
  text-align: left;
}

.col-highlight {
  background-color: rgba(242, 101, 34, 0.03) !important;
  border-left: 2px solid var(--color-accent) !important;
  border-right: 2px solid var(--color-accent) !important;
}

thead th.col-highlight {
  background-color: rgba(242, 101, 34, 0.08) !important;
  border-top: 4px solid var(--color-accent) !important;
  padding-top: 1.5rem !important; /* Restored to normal padding since the badge is now positioned outside the cell */
}

.comparison-table tr:last-child td.col-highlight {
  border-bottom: 4px solid var(--color-accent) !important;
}

.recommend-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.recommend-badge {
  position: absolute;
  top: -40px; /* Positioned relative to the inner div to sit above the th border */
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  box-shadow: var(--box-shadow-sm);
  white-space: nowrap;
  z-index: 5;
}

.row-title {
  font-weight: 700;
  color: var(--color-primary-dark);
  width: 20%;
  background-color: var(--color-bg-alt);
}

.rank-icon {
  font-family: var(--font-english);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.rank-best { color: var(--color-success); }
.rank-good { color: var(--color-warning); }
.rank-bad { color: var(--color-danger); }

.td-desc {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 0.5rem;
  line-height: 1.6;
}

.row-summary {
  background-color: #f8fafc;
}

.text-stars {
  color: var(--color-warning);
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.text-stars-disabled {
  color: #cbd5e1;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

/* --- Steps Section --- */
.section-steps {
  background-color: var(--color-bg-alt);
  padding: 6rem 0;
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.75rem;
  max-width: 1200px;
  margin: 5rem auto 0 auto;
  position: relative;
  padding-left: 0;
}

/* Connecting gradient line */
.steps-timeline::before {
  content: "";
  display: block;
  position: absolute;
  top: 50px;
  left: 10%;
  width: 80%;
  height: 4px;
  background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #34a853, #a062ff);
  z-index: 1;
  border-radius: 2px;
  opacity: 0.4;
}

.step-item {
  position: relative;
  margin-bottom: 0;
  background-color: var(--color-bg-light);
  padding: 3.25rem 1.25rem 2rem 1.25rem;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  z-index: 2;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.step-item.step-1 { border-top: 5px solid #4285f4; }
.step-item.step-2 { border-top: 5px solid #ea4335; }
.step-item.step-3 { border-top: 5px solid #fbbc05; }
.step-item.step-4 { border-top: 5px solid #34a853; }
.step-item.step-5 { border-top: 5px solid #a062ff; }

.step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.step-item:hover .step-number {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.step-item:hover .step-icon {
  transform: scale(1.15) rotate(5deg);
}

.step-item:last-child {
  margin-bottom: 0;
}

@media (min-width: 769px) {
  .step-item:not(:last-child)::after {
    display: none;
  }
}

.step-number {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-english);
  font-weight: 800;
  font-size: 1.35rem;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
}

.step-1 .step-number { background: linear-gradient(135deg, #4285f4, #1a73e8); }
.step-2 .step-number { background: linear-gradient(135deg, #ea4335, #c5221f); }
.step-3 .step-number { background: linear-gradient(135deg, #fbbc05, #e3a200); }
.step-4 .step-number { background: linear-gradient(135deg, #34a853, #1e7e34); }
.step-5 .step-number { background: linear-gradient(135deg, #a062ff, #7c3aed); }

.step-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.step-1 .step-icon { color: #4285f4; }
.step-2 .step-icon { color: #ea4335; }
.step-3 .step-icon { color: #fbbc05; }
.step-4 .step-icon { color: #34a853; }
.step-5 .step-icon { color: #a062ff; }

.step-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-body h3 {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.4;
}

.step-body p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.6;
  text-align: left;
}

/* Step Highlight */
.step-highlight {
  border-top: 5px solid var(--color-accent);
  border-left: none;
  background-color: rgba(242, 101, 34, 0.01);
  box-shadow: var(--box-shadow-md);
}

.step-highlight .step-number {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  color: #fff;
}

.step-badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

/* --- Pricing Section --- */
.section-pricing {
  background-color: var(--color-bg-light);
}

.pricing-card {
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
  border: 2px solid #eef1f6;
  overflow: hidden;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.pricing-header {
  background-color: var(--color-primary);
  color: #fff;
  padding: 1.5rem;
}

.pricing-header h3 {
  color: #fff;
  font-size: 1.35rem;
  margin: 0;
}

.pricing-body {
  padding: 3rem;
}

.pricing-price {
  margin-bottom: 1.5rem;
}

.price-sub {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.price-main {
  font-family: var(--font-english);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent);
}

.price-unit {
  font-size: 1.5rem;
  font-weight: 700;
}

.price-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.pricing-divider {
  border: none;
  border-top: 1px solid #eef1f6;
  margin: 2rem 0;
}

.pricing-features p {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.pricing-example {
  background-color: var(--color-bg-alt);
  padding: 1.75rem;
  border-radius: var(--border-radius-md);
  margin-top: 2rem;
  text-align: left;
}

.pricing-example h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
}

.example-math {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.example-math strong {
  color: var(--color-accent);
  font-size: 1.5rem;
}

.example-quote {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 0;
}

.pricing-disclaimer {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* --- FAQ Section --- */
.section-faq {
  background-color: var(--color-bg-alt);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 3rem;
}

.faq-item {
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-japanese);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  transition: background-color var(--transition-speed);
}

.faq-question:hover {
  background-color: rgba(0, 0, 0, 0.01);
}

.faq-q-badge {
  background-color: var(--color-primary);
  color: #fff;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-english);
  font-weight: 800;
  font-size: 0.95rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.faq-q-text {
  flex-grow: 1;
  padding-right: 1rem;
}

.faq-icon {
  font-size: 1rem;
  color: var(--color-text-muted);
  transition: transform var(--transition-speed);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
  padding: 0 2rem 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.5rem;
}

.faq-a-badge {
  background-color: var(--color-accent);
  color: #fff;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-english);
  font-weight: 800;
  font-size: 0.95rem;
  margin-right: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* --- Contact & CTA Section --- */
.section-contact {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
  color: #fff;
}

.cta-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  margin-top: 3.5rem;
  margin-bottom: 4rem;
}

.cta-main-box {
  background-color: #fff;
  color: var(--color-text-dark);
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
}

.cta-main-box h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
}

.badge-required {
  background-color: var(--color-danger);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-weight: 700;
  margin-left: 0.25rem;
  vertical-align: middle;
}

.form-group input, .form-group textarea {
  font-family: var(--font-japanese);
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  transition: border-color var(--transition-speed);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.cta-sub-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius-lg);
  color: #fff;
}

.cta-sub-box h3 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-sub-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.book-preview-container {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
}

.book-img {
  max-height: 220px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.book-title {
  font-size: 1rem;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.cta-sub-box label {
  color: #fff;
}

.phone-contact-large {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3.5rem;
}

.phone-cta-lead {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.phone-num-large {
  font-family: var(--font-english);
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition-speed);
}

.phone-num-large:hover {
  color: var(--color-accent);
}

.phone-num-large i {
  color: var(--color-accent);
  font-size: 2.75rem;
}

.phone-cta-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 3rem 0;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.company-info {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.copyright {
  margin-bottom: 0;
}

/* --- Utilities --- */
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.rounded {
  border-radius: var(--border-radius-md);
}

/* --- Fade In Animations for Scroll --- */
.animate-box {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-box.appeared {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .hero-features-tags {
    justify-content: center;
  }
  
  .case-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .case-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .cta-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  section {
    padding: 3.5rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .fv-floating-badge {
    display: none !important;
  }
  
  .hero-container {
    min-height: auto !important;
  }

  /* Optimize Hero Mockup for mobile view */
  .hero-visual {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 2.5rem auto 0 auto !important;
    opacity: 1 !important;
    z-index: 3 !important;
  }
  
  .hub-center {
    width: 80px !important;
    height: 80px !important;
  }
  
  .nexus-node {
    padding: 0.4rem 0.6rem !important;
    gap: 0.35rem !important;
  }
  
  .node-icon-wrapper {
    width: 1.35rem !important;
    height: 1.35rem !important;
  }
  
  .node-label {
    font-size: 0.575rem !important;
  }
  
  .google-badge-container {
    bottom: -20px !important;
  }
  
  .google-partner-badge {
    max-width: 120px !important;
  }
  
  .hero-title {
    font-size: 2rem !important;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1.1rem !important;
  }
  
  .hero-container {
    gap: 2rem !important;
  }
  
  .section-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
  }
  
  .sp-only {
    display: block;
  }
  
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .pain-bubbles-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  

  
  .header-contact .btn-header {
    display: none; /* スマホではヘッダーのCTAボタンを非表示、または電話のみにする */
  }
  
  .tab-buttons {
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  
  .tab-btn {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }
  
  .case-scenario {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .sc-arrow-wrapper {
    transform: rotate(90deg);
    margin: 0.25rem auto;
  }
  
  .steps-timeline {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-left: 0;
    max-width: 500px;
    margin: 4rem auto 0 auto;
    position: relative;
  }
  
  /* Vertical timeline line for mobile */
  .steps-timeline::before {
    content: "";
    display: block;
    position: absolute;
    top: 30px;
    left: 28px;
    width: 4px;
    height: calc(100% - 60px);
    background: linear-gradient(180deg, #4285f4, #ea4335, #fbbc05, #34a853, #a062ff);
    z-index: 1;
    border-radius: 2px;
    opacity: 0.4;
  }
  
  .step-item {
    padding: 1.75rem 1.5rem 1.75rem 4.5rem;
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
    z-index: 2;
  }
  
  .step-item:not(:last-child)::after {
    display: none;
  }

  .step-number {
    left: 28px;
    top: 2rem;
    transform: translate(-50%, 0);
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.15rem;
  }

  .step-item:hover .step-number {
    transform: translate(-50%, 0) scale(1.08);
  }
  
  .step-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    height: 40px;
  }
  
  .step-body {
    align-items: flex-start;
  }
  
  .step-body h3 {
    margin-top: 0.25rem;
    font-size: 1.1rem;
    text-align: left;
  }
  
  .step-body p {
    text-align: left;
  }
  
  .pricing-body {
    padding: 1.75rem;
  }
  
  .price-main {
    font-size: 3rem;
  }
  
  .phone-num-large {
    font-size: 2rem;
  }
  
  .phone-num-large i {
    font-size: 1.75rem;
  }
}

/* --- AI Section (リッチ化) --- */
.section-ai {
  background: linear-gradient(135deg, #ffffff 0%, #f4f6ff 100%);
  position: relative;
  overflow: hidden;
}

.section-tag-ai {
  background: linear-gradient(135deg, rgba(160, 98, 255, 0.1), rgba(66, 133, 244, 0.1));
  color: #a062ff;
  border: 1px solid rgba(160, 98, 255, 0.2);
}

.ai-rich-container {
  max-width: 1000px;
  margin: 0 auto;
}

.ai-intro-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 3rem;
  box-shadow: 0 15px 35px rgba(160, 98, 255, 0.04);
  border: 1px solid rgba(160, 98, 255, 0.08);
  border-left: 6px solid #a062ff;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.ai-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #a062ff, var(--color-secondary));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(160, 98, 255, 0.3);
}

.ai-intro-text h3 {
  font-size: 1.35rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.ai-intro-text p {
  color: var(--color-text-muted);
  margin-bottom: 0;
  font-size: 1rem;
}

.ai-examples-grid {
  margin-bottom: 1rem;
}

.ai-example-card {
  background: #fff;
  border-radius: var(--border-radius-md);
  padding: 2.25rem 1.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.ai-card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-bottom-left-radius: var(--border-radius-sm);
}

.ai-dialog {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dialog-user {
  background-color: rgba(0, 0, 0, 0.015);
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  border-left: 3px solid var(--color-primary-light);
}

.dialog-user p {
  margin-bottom: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.dialog-label {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.dialog-arrow {
  text-align: center;
  color: #a062ff;
  font-size: 1.1rem;
  margin: -0.25rem 0;
}

.dialog-ai {
  background: linear-gradient(180deg, rgba(160, 98, 255, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(160, 98, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  box-shadow: 0 6px 15px rgba(160, 98, 255, 0.03);
}

.dialog-ai p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  line-height: 1.6;
}

.dialog-label-ai {
  display: block;
  font-size: 0.7rem;
  color: #a062ff;
  margin-bottom: 0.25rem;
  font-weight: 900;
}

.text-small {
  font-size: 0.85rem !important;
}

@media (max-width: 991px) {
  .ai-intro-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
}

/* --- Features Guide Page Styles (基本機能ガイド) --- */
.features-hero-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.features-hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.features-hero-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.features-list-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* 機能ガイド一覧の2カラムレイアウト（目次サイドバー ＋ カード一覧） */
.features-list-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.features-list-sidebar {
  position: sticky;
  top: 100px;
  background-color: #fff;
  padding: 1.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.sidebar-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eef1f6;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-title i {
  color: var(--color-accent);
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-dark);
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  transition: all var(--transition-speed) ease;
  line-height: 1.4;
}

.sidebar-menu li a:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-secondary);
}

.sidebar-menu li a i {
  font-size: 0.95rem;
  width: 1.25rem;
  text-align: center;
}

.feature-detail-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--box-shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

/* ツールごとの上部ボーダー色 */
.feature-card-gmail { border-top: 5px solid var(--color-danger); }
.feature-card-calendar { border-top: 5px solid var(--color-warning); }
.feature-card-drive { border-top: 5px solid var(--color-secondary); }
.feature-card-docs { border-top: 5px solid var(--color-success); }
.feature-card-meet { border-top: 5px solid var(--color-secondary); }
.feature-card-chat { border-top: 5px solid var(--color-success); }
.feature-card-forms { border-top: 5px solid #a062ff; }
.feature-card-gemini { border-top: 5px solid #a062ff; }
.feature-card-security { border-top: 5px solid var(--color-primary); }
.feature-card-multidevice { border-top: 5px solid var(--color-warning); }

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.feature-card-icon {
  font-size: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-card-meta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-card-title {
  font-size: 1.65rem;
  font-weight: 900;
  margin: 0;
  color: var(--color-primary-dark);
}

.feature-card-lead {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.feature-card-desc {
  color: var(--color-text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* スマホ等の中間〜小画面レスポンシブ */
@media (max-width: 991px) {
  .features-list-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .features-list-sidebar {
    display: none;
  }

  .feature-detail-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .features-hero-title {
    font-size: 1.85rem;
  }
  
  .features-hero-subtitle {
    font-size: 1rem;
  }
  
  .feature-detail-card {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  
  .feature-card-header {
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .feature-card-icon {
    font-size: 2.25rem;
  }
  
  .feature-card-title {
    font-size: 1.35rem;
  }
  
  .feature-card-lead {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

/* --- Restructured Pricing Styles (ライセンス費用 ＆ 設定・導入支援費用の分離) --- */

/* 月額ライセンスプランカード（PC横並び、スマホ縦並び） */
.plans-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  text-align: left;
}

.plan-card-item {
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  border: 1px solid #cbd5e1;
  padding: 2.5rem 2rem;
  box-shadow: var(--box-shadow-sm);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.plan-card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-md);
}

.plan-card-item.recommended {
  border: 3px solid var(--color-accent);
  box-shadow: var(--box-shadow-lg);
  background-color: rgba(242, 101, 34, 0.01);
  transform: scale(1.03);
  z-index: 2;
}

.plan-card-item.recommended:hover {
  transform: translateY(-5px) scale(1.03);
}

.plan-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  box-shadow: var(--box-shadow-sm);
  white-space: nowrap;
  z-index: 3;
}

.plan-card-header {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.plan-card-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  display: block;
}

.plan-card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-top: 0.5rem;
}

.plan-card-price {
  font-family: var(--font-english);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1;
}

.plan-card-item.recommended .plan-card-price {
  color: var(--color-accent);
}

.plan-card-unit {
  font-size: 1rem;
  font-weight: 700;
  margin-left: 0.25rem;
  color: var(--color-text-dark);
}

.plan-card-tax {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 0.1rem;
  text-align: center;
}

.plan-card-use {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 1.5rem;
  text-align: center;
  min-height: 2.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-card-features li {
  font-size: 0.9rem;
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.4;
}

.plan-card-features li i {
  font-size: 1.05rem;
  width: 1.5rem;
  text-align: center;
}

/* レスポンシブ調整（タブレット・スマホ） */
@media (max-width: 991px) {
  .plans-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
  .plan-card-item.recommended {
    transform: none;
  }
  .plan-card-item.recommended:hover {
    transform: translateY(-5px);
  }
}

.plan-price-box {
  display: block;
  margin-top: 0.5rem;
}

.plan-price {
  font-family: var(--font-english);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.plan-price-unit {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-left: 0.15rem;
}

.col-recommend .plan-price {
  color: var(--color-warning) !important;
  font-size: 1.85rem;
}

.plan-price-sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 0.25rem;
}

.col-recommend .plan-name {
  color: #fff !important;
}

.col-recommend .plan-price-unit {
  color: #fff !important;
}

.col-recommend .plan-price-sub {
  color: rgba(255, 255, 255, 0.85) !important;
}

.license-recommend-badge {
  background-color: var(--color-warning);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.5rem;
  box-shadow: var(--box-shadow-sm);
  letter-spacing: 0.05em;
}

.scroll-guide {
  display: none;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

.td-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-top: 0.25rem;
}

.td-badge-primary {
  background-color: rgba(66, 133, 244, 0.1);
  color: var(--color-secondary);
}

.td-badge-accent {
  background-color: rgba(242, 101, 34, 0.1);
  color: var(--color-accent);
}

/* 設定・導入支援費用カード */
.pricing-support-card {
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(242, 101, 34, 0.2);
  box-shadow: 0 20px 45px rgba(242, 101, 34, 0.04);
  overflow: hidden;
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  text-align: left;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.pricing-support-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.support-card-header {
  background-color: var(--color-primary);
  color: #fff;
  padding: 1.75rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.support-card-header h3 {
  color: #fff;
  font-size: 1.45rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.support-card-header h3 i {
  color: var(--color-accent);
}

.support-card-price-box {
  text-align: right;
}

.support-card-price-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  display: block;
}

.support-card-price {
  font-family: var(--font-english);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-warning);
  line-height: 1;
}

.support-card-price span {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.support-card-body {
  padding: 3rem 3.5rem;
}

.support-card-lead {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 2rem;
  border-left: 4px solid var(--color-accent);
  padding-left: 0.75rem;
}

.support-inclusions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3.5rem;
  margin-bottom: 1rem;
}

.support-inclusion-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.support-inclusion-icon {
  color: var(--color-accent);
  font-size: 1.35rem;
  margin-top: 0.15rem;
}

.support-inclusion-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--color-primary-dark);
}

.support-inclusion-text p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

.support-card-footer {
  background-color: var(--color-bg-alt);
  padding: 1.5rem 2.5rem;
  border-top: 1px solid #eef1f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.support-card-footer p {
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.support-card-highlight-badge {
  background-color: var(--color-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

/* スマホ等での調整 */
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  
  .scroll-guide {
    display: block;
  }
  
  .license-table-wrapper {
    margin-top: 1.5rem;
  }
  
  .support-card-header {
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .support-card-price-box {
    text-align: left;
    margin-top: 0.5rem;
  }
  
  .support-card-body {
    padding: 1.5rem;
  }
  
  .support-card-lead {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }
  
  .support-inclusions {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  }
}

/* --- Toggle Switch & Sticky Bottom CTA Styles --- */

/* Tab Menu Container */
.contact-tab-container {
  width: 100%;
  margin-bottom: 2.5rem;
  margin-top: 1rem;
}

.contact-tabs {
  display: flex; /* Changed from inline-flex to flex */
  width: 100%; /* Match the horizontal width of the form */
  gap: 0.5rem;
  background-color: #e2e8f0; /* Soft capsule background */
  padding: 6px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-tab-btn {
  background: transparent;
  border: none;
  color: #64748b; /* Highly readable contrast for inactive state */
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.75rem 2.25rem;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center; /* Center horizontally */
  flex: 1; /* Expand equally to fill the switch width */
  gap: 0.5rem;
  font-family: var(--font-japanese);
  border-radius: 40px;
  overflow: hidden;
  z-index: 1;
}

.contact-tab-btn:hover {
  color: #1c275f;
}

.contact-tab-btn.active {
  color: #ffffff !important; /* White text on blue gradient background for perfect contrast */
}

/* Beautiful pop-up bubble background for the active tab */
.tab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #02a0e9 0%, #1a73e8 100%);
  border-radius: 40px;
  box-shadow: 0 4px 14px rgba(2, 160, 233, 0.3);
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  z-index: -1;
}

.contact-tab-btn.active .tab-indicator {
  transform: scale(1);
  opacity: 1;
}

/* Toggle Panels Container */
.contact-toggle-panel {
  display: none;
}

.contact-toggle-panel.active {
  display: block;
  animation: fadeInPanel 0.4s ease-in-out forwards;
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Container Card Layout */
.contact-form-card {
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  padding: 4rem 3.5rem;
  box-shadow: var(--box-shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed) ease;
}

.form-card-title {
  font-size: 1.45rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
  font-weight: 900;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.form-card-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.5;
}

/* Sticky Bottom CTA Bar (White, Orange Top Border) */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff; /* White background */
  border-top: 4px solid #eb6100; /* 4px solid orange top border */
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08); /* Soft shadows */
  z-index: 999;
  padding: 1rem 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.sticky-cta-bar.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sticky-cta-text-wrapper {
  display: flex;
  flex-direction: column;
}

.sticky-cta-title {
  color: #1c275f;
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: 0.1rem;
}

.sticky-cta-subtitle {
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 0;
}

.sticky-cta-buttons {
  display: flex;
  gap: 0.75rem;
}

.btn-sticky-cta {
  font-size: 0.9rem !important;
  padding: 0.75rem 1.75rem !important;
  font-weight: 700;
  border-radius: 8px !important; /* Rounded corners */
  transition: all var(--transition-speed) ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-sticky-cta-consult {
  background-color: #eb6100 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(235, 97, 0, 0.2);
}

.btn-sticky-cta-consult:hover {
  background-color: #d45500 !important;
}

.btn-sticky-cta-download {
  background-color: #02a0e9 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(2, 160, 233, 0.2);
}

.btn-sticky-cta-download:hover {
  background-color: #0290d0 !important;
}

/* Extra margin at the bottom of the body so content isn't hidden behind the sticky bar */
body {
  padding-bottom: 0;
  transition: padding-bottom 0.3s ease;
}

body.has-sticky-cta {
  padding-bottom: 85px; /* Aligns with sticky bar height */
}

/* Responsive Styles */
@media (max-width: 991px) {
  .contact-form-card {
    padding: 3rem 2rem;
  }
  .form-card-title {
    font-size: 1.25rem;
    flex-direction: column;
    gap: 0.35rem;
  }
}

@media (max-width: 768px) {
  body.has-sticky-cta {
    padding-bottom: 75px;
  }
  
  .sticky-cta-bar {
    padding: 0.75rem 0;
  }
  
  .sticky-cta-container {
    padding: 0 0.5rem;
  }
  
  .sp-hide {
    display: none !important;
  }
  
  .sticky-cta-buttons {
    width: 100%;
    gap: 0.4rem;
  }
  
  .btn-sticky-cta {
    flex: 1;
    font-size: 0.8rem !important;
    padding: 0.75rem 0.25rem !important;
    text-align: center;
    border-radius: var(--border-radius-sm) !important;
    gap: 0.25rem !important;
  }
}

/* --- Tablet Header Responsive Fixes --- */
@media (max-width: 1024px) {
  .header-container {
    padding: 0.75rem 1rem;
  }
  .header-contact {
    gap: 0.75rem; /* Narrow down spacing */
  }
  .phone-link {
    font-size: 1.1rem; /* Slightly smaller phone link */
  }
  .btn-header {
    font-size: 0.825rem;
    padding: 0.5rem 0.85rem;
  }
}

@media (max-width: 900px) {
  /* Hide sub nav buttons on medium sizes to prevent header overflow */
  #header-nav-link,
  #header-download-button {
    display: none !important;
  }
}




