/* ===============================================
   GOOD CONNECT - Main Stylesheet
   Pure CSS converted from React + Tailwind
   =============================================== */

/* ===== CSS CUSTOM PROPERTIES (Design Tokens) ===== */
:root {
  /* Colors - Light Mode */
  --color-background: hsl(0, 0%, 100%);
  --color-foreground: hsl(220, 40%, 20%);
  --color-primary: hsl(220, 40%, 20%);
  --color-primary-foreground: hsl(0, 0%, 100%);
  --color-orange: hsl(27, 85%, 55%);
  --color-orange-light: hsl(27, 85%, 65%);
  --color-orange-dark: hsl(27, 85%, 45%);
  --color-muted: hsl(0, 2%, 96%);
  --color-muted-foreground: hsl(220, 10%, 50%);
  --color-card: hsl(0, 0%, 100%);
  --color-card-border: hsl(200, 75%, 70%, 0.7);
  --color-card-border-hover: hsl(200, 80%, 55%, 0.95);
  --color-border: hsl(0, 0%, 85%);
  --color-input: hsl(0, 0%, 85%);
  --color-accent-blue: hsl(200, 70%, 55%);
  --color-accent-blue-light: hsl(200, 80%, 65%);
  --color-accent-blue-dark: hsl(210, 80%, 40%);
  --color-border-soft-blue: hsl(204, 70%, 82%);
  --color-border-strong-blue: hsl(210, 80%, 45%);
  --color-separator-blue: hsl(210, 80%, 40%);
  --color-separator-blue-strong: hsl(210, 90%, 35%);
  --color-gradient-primary: linear-gradient(135deg, var(--color-accent-blue) 0%, var(--color-accent-blue-dark) 100%);
  --color-gradient-button: linear-gradient(135deg, hsl(27, 85%, 55%) 0%, hsl(27, 85%, 45%) 100%);
  --color-gradient-card: linear-gradient(135deg, hsl(0, 0%, 100%) 0%, hsl(200, 20%, 99%) 100%);
  --color-gradient-card-hover: linear-gradient(135deg, hsl(200, 20%, 99%) 0%, hsl(200, 22%, 97%) 100%);
  --color-gradient-section: linear-gradient(135deg, hsl(200, 8%, 98%) 0%, hsl(200, 8%, 96%) 100%);
  --color-gradient-section-alt: linear-gradient(135deg, hsl(200, 5%, 98%) 0%, hsl(200, 8%, 96%) 100%);

  /* Typography */
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-mono: 'Inter', monospace;

  /* Spacing Scale */
  --spacing-1: 0.25rem;   /* 4px */
  --spacing-2: 0.5rem;    /* 8px */
  --spacing-3: 0.75rem;   /* 12px */
  --spacing-4: 1rem;      /* 16px */
  --spacing-6: 1.5rem;    /* 24px */
  --spacing-8: 2rem;      /* 32px */
  --spacing-10: 2.5rem;   /* 40px */
  --spacing-12: 3rem;     /* 48px */
  --spacing-16: 4rem;     /* 64px */
  --spacing-20: 5rem;     /* 80px */
  --spacing-24: 6rem;     /* 96px */
  --spacing-32: 8rem;     /* 128px */

  /* Border Radius - More modern and stylish */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows - Enhanced for 3D effect */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.15), 0 2px 4px -1px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 4px 10px -2px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.2), 0 8px 16px -4px rgba(0, 0, 0, 0.1);
  --shadow-button: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow-button-hover: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);

  /* Transitions - Smooth and elegant */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.5rem; /* 40px */
}

h2 {
  font-size: 2rem; /* 32px */
}

h3 {
  font-size: 1.5rem; /* 24px */
}

p {
  line-height: 1.8;
  margin-bottom: var(--spacing-6);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  width: 100%;
  max-width: 80rem; /* 1280px */
  margin: 0 auto;
  padding: 0 var(--spacing-6);
}

.container-narrow {
  max-width: 48rem; /* 768px */
  margin: 0 auto;
}

.section {
  padding: var(--spacing-20) 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: hsl(0, 0%, 80%);
  border-radius: 0 0 var(--radius-full) var(--radius-full);
  opacity: 0.6;
  z-index: 2;
}

.section-lg {
  padding: var(--spacing-32) 0;
  position: relative;
}

.section-lg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: hsl(0, 0%, 80%);
  border-radius: 0 0 var(--radius-full) var(--radius-full);
  opacity: 0.6;
  z-index: 2;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--spacing-8);
}

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

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

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

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

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: var(--spacing-2);
}

.gap-4 {
  gap: var(--spacing-4);
}

.gap-6 {
  gap: var(--spacing-6);
}

.gap-8 {
  gap: var(--spacing-8);
}

.gap-12 {
  gap: var(--spacing-12);
}

/* Text Alignment */
.text-center {
  text-align: center;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3) var(--spacing-8);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
  box-shadow: var(--shadow-button);
}

.btn-primary {
  background: var(--color-gradient-button);
  color: white;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 16px rgba(27, 85%, 55%, 0.25),
    0 2px 6px rgba(27, 85%, 45%, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-orange-light) 0%, var(--color-orange) 100%);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 
    0 12px 32px rgba(27, 85%, 55%, 0.3),
    0 6px 12px rgba(27, 85%, 45%, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-color: var(--color-orange-dark);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-foreground);
  border: 2px solid var(--color-border);
}

.btn-outline:hover {
  background-color: var(--color-muted);
  box-shadow: var(--shadow-button);
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: var(--spacing-5) var(--spacing-12);
  font-size: 1.125rem;
  font-weight: 600;
  min-width: 280px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  transition: all var(--transition-base);
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}

/* ===== CARDS ===== */
.card {
  background: linear-gradient(135deg, hsl(0, 0%, 100%) 0%, hsl(200, 20%, 99.8%) 100%);
  border: 1.5px solid var(--color-border-soft-blue);
  border-radius: var(--radius-xl);
  padding: var(--spacing-8);
  transition: all var(--transition-base);
  box-shadow: 
    0 2px 8px rgba(22, 115, 155, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(90deg, 
    var(--color-accent-blue) 0%, 
    hsl(200, 70%, 58%) 50%,
    var(--color-accent-blue-dark) 100%);
  opacity: 0;
  transition: all var(--transition-base);
  box-shadow: 0 4px 16px rgba(22, 115, 155, 0.25);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(22, 115, 155, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(27, 85%, 55%, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
  animation: elegantShimmer 4s ease-in-out infinite;
}

@keyframes elegantShimmer {
  0%, 100% { 
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% { 
    opacity: 0.2;
    transform: translate(-50%, -50%) rotate(180deg);
  }
}

.card:hover {
  box-shadow: 
    0 24px 48px rgba(22, 115, 155, 0.12),
    0 12px 24px rgba(22, 115, 155, 0.08),
    0 0 0 1px rgba(22, 115, 155, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-6px) scale(1.01);
  border-color: var(--color-accent-blue);
  border-width: 1.5px;
  background: linear-gradient(135deg, hsl(0, 0%, 100%) 0%, hsl(200, 15%, 99.5%) 100%);
}

.card:hover::before {
  opacity: 1;
  height: 3px;
  box-shadow: 0 2px 8px rgba(22, 115, 155, 0.3);
}

.card:hover::after {
  opacity: 0.4;
  animation: elegantShimmer 3s ease-in-out infinite;
}

.card-lg {
  padding: var(--spacing-8);
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: var(--spacing-8);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-2);
  color: var(--color-foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--spacing-3) var(--spacing-4);
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--color-input);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px hsla(200, 65%, 55%, 0.1), var(--shadow-md);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.required {
  color: var(--color-accent-blue);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 4px solid var(--color-accent-blue);
  z-index: 50;
  transition: box-shadow var(--transition-base);
  box-shadow: var(--shadow-lg), 0 2px 8px rgba(22, 115, 155, 0.15);
  position: relative;
}

.header::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-separator-blue-strong), var(--color-accent-blue));
  opacity: 0.6;
  box-shadow: 0 2px 4px rgba(22, 115, 155, 0.35);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  padding: 0 var(--spacing-6);
  max-width: 80rem;
  margin: 0 auto;
}

.header-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-6);
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-list li {
  margin: 0;
  padding: 0;
}

.header-nav a {
  color: var(--color-foreground);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.header-nav a:hover {
  color: var(--color-accent-blue);
}

.header-nav-list a {
  color: var(--color-foreground);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.header-nav-list a:hover {
  color: var(--color-accent-blue);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-foreground);
  transition: color var(--transition-base);
}

.mobile-menu-btn:hover {
  color: var(--color-accent-blue);
}

.mobile-menu-btn svg {
  width: 100%;
  height: 100%;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  z-index: 40;
  padding: var(--spacing-4);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .header-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu .header-nav-list li {
  margin: 0;
  padding: 0;
}

.mobile-menu a {
  display: block;
  padding: var(--spacing-2) var(--spacing-3);
  font-weight: 500;
  color: var(--color-foreground);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: background-color var(--transition-base);
  line-height: 1.4;
}

.mobile-menu a:hover {
  background-color: var(--color-muted);
  color: var(--color-accent-blue);
}

.mobile-menu .btn-primary {
  width: 100%;
  margin-top: var(--spacing-3);
  padding: var(--spacing-3);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--spacing-20) var(--spacing-6);
  margin-top: 4.5rem; /* Header height */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(0px) !important;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.02)
  );
  z-index: 1;
}

/* TOPページのヒーローセクション専用スタイル */
body.home .hero-overlay,
body.page-template-front-page .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08),
    rgba(0, 0, 0, 0.04),
    rgba(0, 0, 0, 0.01)
  ) !important;
}

body.home .hero-bg img,
body.page-template-front-page .hero-bg img {
  filter: blur(0px) !important;
  opacity: 1 !important;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  text-align: center;
  color: white;
  padding: var(--spacing-8) var(--spacing-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.hero-content .container {
  text-align: center !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content p,
.hero-content .hero-title,
.hero-content .hero-subtitle {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-6);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: center;
}

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

.hero-title-highlight::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-gradient-button);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.875rem;
  margin-bottom: var(--spacing-8);
  opacity: 0.95;
  line-height: 1.7;
  font-weight: 400;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-content .btn-primary {
  margin-top: var(--spacing-8);
  font-size: 1.375rem;
  padding: var(--spacing-6) var(--spacing-16);
  min-width: 320px;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-20);
  position: relative;
  padding-bottom: var(--spacing-6);
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color-gradient-button);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: var(--spacing-6);
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.7;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  text-align: center;
}

.service-icon {
  width: 7rem;
  height: 7rem;
  margin: 0 auto var(--spacing-4);
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid hsl(0, 0%, 85%);
  background: hsl(0, 0%, 98%);
  padding: 0.5rem;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 0 0 3px rgba(0, 0, 0, 0.05),
    inset 0 2px 4px rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  transition: all var(--transition-base);
  position: relative;
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-blue) 0%, var(--color-accent-blue-dark) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    0 8px 24px rgba(22, 115, 155, 0.35),
    0 0 0 5px rgba(22, 115, 155, 0.18),
    inset 0 2px 4px rgba(255, 255, 255, 0.6);
  border-color: var(--color-accent-blue-dark);
  border-width: 5px;
}

.service-card:hover .service-icon::before {
  opacity: 0.3;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.service-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--spacing-3);
  line-height: 1.4;
}

.service-description {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
  margin: 0;
}

/* ===== FLOW SECTION ===== */
#flow.section,
#flow.section.bg-white {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(240, 248, 255, 0.8) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 248, 240, 0.8) 100%
  ) !important;
  overflow: hidden;
}

#flow.section::before,
#flow.section.bg-white::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 2px 2px, rgba(22, 115, 155, 0.08) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.6;
  z-index: 0;
}

#flow.section::after,
#flow.section.bg-white::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(255, 149, 0, 0.03) 50%, transparent 70%),
    linear-gradient(-45deg, transparent 30%, rgba(22, 115, 155, 0.03) 50%, transparent 70%);
  background-size: 100px 100px;
  z-index: 0;
  pointer-events: none;
}

#flow .container {
  position: relative;
  z-index: 1;
}

.flow-container {
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.flow-step {
  display: flex;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-8);
  align-items: stretch;
}

.flow-step-image {
  width: 48%;
  height: 250px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid white;
  transition: all var(--transition-base);
}

.flow-step:hover .flow-step-image {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
  border-color: var(--color-accent-blue);
}

.flow-step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-lg);
}

.flow-step-content {
  flex: 1;
  background: linear-gradient(135deg, hsl(200, 45%, 96%) 0%, hsl(200, 55%, 93%) 100%);
  padding: var(--spacing-10);
  border-radius: var(--radius-lg);
  border: 3px solid hsl(200, 65%, 65%);
  box-shadow: var(--shadow-md), inset 0 2px 4px rgba(255, 255, 255, 0.5);
  position: relative;
  height: 250px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  overflow: hidden;
}

.flow-step-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-blue) 0%, var(--color-accent-blue-light) 100%);
  opacity: 0.6;
  transition: opacity var(--transition-base), height var(--transition-base);
}

.flow-step:hover .flow-step-content {
  background: linear-gradient(135deg, hsl(200, 45%, 98%) 0%, hsl(200, 55%, 95%) 100%);
  border-color: var(--color-accent-blue);
  border-width: 3px;
  box-shadow: var(--shadow-lg), 0 0 0 3px rgba(200, 65%, 55%, 0.1), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  transform: translateX(4px);
}

.flow-step:hover .flow-step-content::before {
  opacity: 1;
  height: 5px;
  box-shadow: 0 2px 8px rgba(200, 65%, 55%, 0.4);
}

.flow-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent-blue) 0%, var(--color-accent-blue-light) 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-3);
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(200, 65%, 55%, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.flow-step-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: var(--spacing-4);
}

.flow-step-description {
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.flow-arrow {
  text-align: center;
  margin: var(--spacing-6) 0;
  color: hsl(200, 65%, 55%);
}

.flow-arrow svg {
  width: 2rem;
  height: 2rem;
}

/* ===== STRENGTH BOXES ===== */
.strength-box {
  display: flex;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, hsl(0, 0%, 100%) 0%, hsl(200, 20%, 99.8%) 100%);
  border: 1.5px solid var(--color-border-soft-blue);
  transition: all var(--transition-base);
  box-shadow: 
    0 2px 8px rgba(22, 115, 155, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  position: relative;
  backdrop-filter: blur(10px);
}

.strength-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--color-gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base), height var(--transition-base);
  z-index: 1;
}

.strength-box:hover {
  border-color: var(--color-accent-blue);
  border-width: 1.5px;
  box-shadow: 
    0 24px 48px rgba(22, 115, 155, 0.12),
    0 12px 24px rgba(22, 115, 155, 0.08),
    0 0 0 1px rgba(22, 115, 155, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-6px) scale(1.01);
  background: linear-gradient(135deg, hsl(0, 0%, 100%) 0%, hsl(200, 15%, 99.5%) 100%);
}

.strength-box:hover::before {
  opacity: 1;
  height: 3px;
  box-shadow: 0 2px 8px rgba(22, 115, 155, 0.3);
}

.strength-box-image {
  width: 35%;
  flex-shrink: 0;
  overflow: hidden;
  height: 250px;
  min-height: 250px;
  max-height: 250px;
  position: relative;
  border-right: 4px solid hsl(0, 0%, 85%);
  transition: all var(--transition-base);
}

.strength-box-image::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 0;
  background: var(--color-accent-blue);
  opacity: 0;
  z-index: 1;
}

.strength-box:hover .strength-box-image {
  border-right-color: var(--color-accent-blue);
  border-right-width: 5px;
}

.strength-box:hover .strength-box-image::after {
  width: 5px;
  opacity: 1;
}

.strength-box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.strength-box-content {
  flex: 1;
  padding: var(--spacing-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.strength-box-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-2);
  color: hsl(200, 65%, 45%);
  padding-bottom: var(--spacing-3);
  border-bottom: 3px solid hsl(200, 65%, 60%);
  background: linear-gradient(135deg, transparent 0%, hsl(200, 65%, 98%) 100%);
  padding-left: var(--spacing-2);
  padding-right: var(--spacing-2);
  margin-left: calc(-1 * var(--spacing-2));
  margin-right: calc(-1 * var(--spacing-2));
  border-radius: var(--radius-sm);
}

.strength-box-description {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-top: var(--spacing-2);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ===== CASE STUDY CARDS ===== */
.case-card-icon {
  width: 5rem;
  height: 5rem;
  margin-bottom: var(--spacing-6);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 3px solid var(--color-accent-blue);
  background: linear-gradient(135deg, hsl(200, 30%, 98%) 0%, white 100%);
  padding: 0.25rem;
  box-shadow: 0 4px 12px rgba(22, 115, 155, 0.2);
}

.case-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-3);
}

.case-company {
  font-size: 1.25rem;
  font-weight: 600;
}

.case-industry {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

.case-result {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent-blue);
  margin-bottom: var(--spacing-4);
}

.case-description {
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-6);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.case-metrics {
  padding-top: var(--spacing-4);
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--color-muted-foreground);
}

/* ===== PRICING ===== */
.pricing-item {
  text-align: center;
  background: linear-gradient(135deg, hsl(0, 0%, 100%) 0%, hsl(200, 30%, 99.5%) 100%);
  border: 2px solid var(--color-border-soft-blue);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  box-shadow: 
    0 4px 12px rgba(22, 115, 155, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.pricing-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--color-gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base), height var(--transition-base);
}

.pricing-item:hover {
  border-color: var(--color-accent-blue);
  border-width: 1.5px;
  transform: translateY(-6px) scale(1.01);
  box-shadow: 
    0 24px 48px rgba(22, 115, 155, 0.12),
    0 12px 24px rgba(22, 115, 155, 0.08),
    0 0 0 1px rgba(22, 115, 155, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  background: linear-gradient(135deg, hsl(0, 0%, 100%) 0%, hsl(200, 15%, 99.5%) 100%);
}

.pricing-item:hover::before {
  opacity: 1;
  height: 3px;
  box-shadow: 0 2px 8px rgba(22, 115, 155, 0.3);
}

.pricing-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
  margin-bottom: var(--spacing-5);
  line-height: 1.5;
}

.pricing-item .mb-4 {
  margin-bottom: var(--spacing-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-accent-blue);
  font-family: var(--font-mono);
  line-height: 1.1;
  display: block;
  margin-bottom: var(--spacing-1);
  letter-spacing: -0.02em;
}

.pricing-unit {
  font-size: 1rem;
  color: var(--color-muted-foreground);
  display: block;
  line-height: 1.5;
  font-weight: 400;
  margin-top: var(--spacing-1);
}

.pricing-description {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-top: var(--spacing-4);
  line-height: 1.6;
  text-align: center;
}

.pricing-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-8);
}

@media (max-width: 768px) {
  .pricing-options {
    grid-template-columns: 1fr;
    gap: var(--spacing-3);
  }
}

/* Ensure pricing button wrapper is not affected by grid */
.pricing-options + .pricing-button-wrapper {
  grid-column: 1 / -1;
  width: 100%;
}

.pricing-option {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-base);
  width: 100%;
}

.pricing-option:hover {
  background-color: hsl(200, 30%, 98%);
}

.pricing-option > .flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  width: 100%;
}

.pricing-checkmark {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-accent-blue) 0%, var(--color-accent-blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(27, 85%, 55%, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pricing-option-label {
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.5;
  flex: 1;
}

.pricing-option-price {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--color-accent-blue);
  font-weight: 600;
  white-space: nowrap;
  margin-left: var(--spacing-2);
}

.pricing-button-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

.card.card-lg .pricing-button-wrapper,
.card.card-lg > .pricing-button-wrapper,
div.card.card-lg .pricing-button-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin: 0 auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
  clear: both !important;
  overflow: visible !important;
}

/* Override any text-align from parent */
.card.card-lg {
  text-align: left;
}

.card.card-lg .pricing-button-wrapper {
  text-align: center !important;
}

.pricing-button-wrapper .btn,
.card.card-lg .pricing-button-wrapper .btn,
.card.card-lg > .pricing-button-wrapper .btn,
div.card.card-lg .pricing-button-wrapper .btn {
  margin: 0 auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: inline-flex !important;
  flex-shrink: 0 !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  float: none !important;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 56rem;
  margin: 0 auto;
}

.faq-item {
  background: transparent;
  margin-bottom: var(--spacing-4);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}


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

.faq-item .faq-question {
  width: 100%;
  padding: var(--spacing-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  cursor: pointer;
  transition: all var(--transition-base);
  background: linear-gradient(135deg, hsl(0, 0%, 100%) 0%, hsl(200, 20%, 99.8%) 100%);
  border: 1.5px solid var(--color-border-soft-blue) !important;
  border-radius: var(--radius-lg);
  box-shadow: 
    0 2px 8px rgba(22, 115, 155, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.faq-item .faq-question::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--color-gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base), height var(--transition-base);
}

.faq-item .faq-question:hover {
  color: var(--color-accent-blue);
  box-shadow: 
    0 8px 24px rgba(22, 115, 155, 0.1),
    0 4px 12px rgba(22, 115, 155, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  border-color: var(--color-accent-blue) !important;
  border-width: 1.5px !important;
  background: linear-gradient(135deg, hsl(0, 0%, 100%) 0%, hsl(200, 15%, 99.5%) 100%);
  transform: translateX(2px);
}

.faq-item .faq-question:hover::before {
  opacity: 1;
  height: 4px;
}

.faq-icon {
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--spacing-4);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 var(--spacing-6) var(--spacing-6) var(--spacing-10);
  color: var(--color-muted-foreground);
  line-height: 1.8;
  border-left: 4px solid var(--color-accent-blue);
  background: linear-gradient(90deg, hsl(200, 30%, 98%) 0%, transparent 100%);
  padding-left: var(--spacing-8);
  margin-left: var(--spacing-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background-color: var(--color-primary);
  padding: var(--spacing-20) 0;
}

.contact-section .section-header {
  color: white;
}

.contact-section .section-title,
.contact-section .section-subtitle {
  color: white;
}

.contact-section .section-subtitle {
  opacity: 0.9;
}

.contact-success {
  text-align: center;
  padding: var(--spacing-10);
}

.contact-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  background-color: hsla(27, 85%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-6);
}

.contact-success-title {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-6);
}

.contact-success-message {
  color: var(--color-muted-foreground);
  line-height: 1.8;
  margin-bottom: var(--spacing-8);
}

/* ===== Contact Form 7 スタイル ===== */
/* Contact Form 7のフォーム要素を既存デザインに合わせる */
.wpcf7-form {
  width: 100%;
  max-width: 100%;
}

/* フォームグループ（各フィールドのコンテナ） */
.wpcf7-form .form-group {
  margin-bottom: var(--spacing-6);
}

/* ラベルスタイル */
.wpcf7-form label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--spacing-3);
  color: var(--color-foreground);
  font-size: 1rem;
  line-height: 1.5;
}

/* フォームコントロールのラッパー */
.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: var(--spacing-2);
}

/* 入力フィールドの共通スタイル */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea {
  width: 100%;
  padding: var(--spacing-3) var(--spacing-4);
  font-size: 1rem;
  line-height: 1.5;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: white;
  color: var(--color-foreground);
  transition: all var(--transition-base);
  font-family: inherit;
  box-sizing: border-box;
}

/* プレースホルダーのスタイル */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: var(--color-muted-foreground);
  opacity: 0.7;
}

/* フォーカス時のスタイル */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px hsla(200, 65%, 55%, 0.1);
}

/* テキストエリアのスタイル */
.wpcf7-form textarea {
  min-height: 10rem;
  resize: vertical;
  line-height: 1.6;
}

/* 送信ボタンのスタイル */
.wpcf7-form .wpcf7-submit {
  width: 100%;
  padding: var(--spacing-4) var(--spacing-12);
  font-size: 1.125rem;
  font-weight: 500;
  background-color: var(--color-orange);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-button);
  margin-top: var(--spacing-6);
  font-family: inherit;
}

.wpcf7-form .wpcf7-submit:hover {
  background-color: hsl(27, 85%, 50%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-hover);
}

.wpcf7-form .wpcf7-submit:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.wpcf7-form .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  background-color: var(--color-muted-foreground);
}

/* ローディング中のスタイル */
.wpcf7-form .wpcf7-submit.ajax-loader {
  position: relative;
}

.wpcf7-form .wpcf7-submit.ajax-loader::after {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-left: var(--spacing-2);
  border: 2px solid white;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* レスポンスメッセージ（成功・エラー） */
.wpcf7-response-output {
  margin-top: var(--spacing-6);
  padding: var(--spacing-4);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* 成功メッセージ */
.wpcf7-mail-sent-ok {
  background-color: hsla(142, 71%, 45%, 0.1);
  border: 1px solid hsla(142, 71%, 45%, 0.3);
  color: hsl(142, 71%, 35%);
}

/* エラーメッセージ */
.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-spam,
.wpcf7-validation-errors {
  background-color: hsla(0, 84%, 60%, 0.1);
  border: 1px solid hsla(0, 84%, 60%, 0.3);
  color: hsl(0, 84%, 50%);
}

/* 個別フィールドのエラーメッセージ */
.wpcf7-not-valid-tip {
  color: hsl(0, 84%, 50%);
  font-size: 0.875rem;
  margin-top: var(--spacing-2);
  display: block;
  line-height: 1.4;
}

/* エラーがあるフィールドのスタイル */
.wpcf7-form-control-wrap .wpcf7-not-valid {
  border-color: hsl(0, 84%, 50%);
  background-color: hsla(0, 84%, 60%, 0.05);
}

.wpcf7-form-control-wrap .wpcf7-not-valid:focus {
  border-color: hsl(0, 84%, 50%);
  box-shadow: 0 0 0 3px hsla(0, 84%, 60%, 0.1);
}

/* 必須マーカー（アスタリスク） */
.wpcf7-form label .wpcf7-required {
  color: hsl(0, 84%, 50%);
  margin-left: 0.25rem;
  font-weight: 600;
}

/* アクセシビリティ: スクリーンリーダー用のテキストを非表示 */
.wpcf7-form .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  word-wrap: normal !important;
}

/* スパム対策の非表示フィールド */
.wpcf7-form .wpcf7-form-control-wrap.hidden {
  display: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="url"],
  .wpcf7-form textarea {
    font-size: 16px; /* iOSのズームを防ぐ */
  }

  .wpcf7-form .wpcf7-submit {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: 1rem;
  }
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  background-color: var(--color-primary);
  color: white;
  padding: var(--spacing-16) 0;
  overflow: hidden;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    hsla(220, 40%, 20%, 0.9),
    hsla(220, 40%, 20%, 0.85),
    hsla(220, 40%, 20%, 0.8)
  );
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-6);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-3);
}

.footer-description {
  color: hsla(0, 0%, 100%, 0.8);
  line-height: 1.5;
  font-size: 1.125rem;
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-nav a {
  color: hsla(0, 0%, 100%, 0.8);
  transition: color var(--transition-base);
  font-size: 1.125rem;
  padding: 0.125rem 0;
  line-height: 1.4;
}

.footer-nav a:hover {
  color: var(--color-accent-blue);
}

.footer-heading {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: var(--spacing-2);
  line-height: 1.3;
}

.footer-info {
  color: hsla(0, 0%, 100%, 0.8);
  line-height: 1.5;
  font-size: 1rem;
}

.footer-info p {
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.2);
  padding-top: var(--spacing-6);
  text-align: center;
}

.footer-copyright {
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 0.875rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* ===== BACKGROUND UTILITIES ===== */
.bg-muted {
  background: linear-gradient(135deg, hsl(0, 0%, 98%) 0%, hsl(200, 10%, 97%) 100%);
  position: relative;
  border-top: 2px solid hsl(0, 0%, 90%);
  border-bottom: 2px solid hsl(0, 0%, 90%);
}

.bg-muted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

.bg-muted::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: hsl(0, 0%, 85%);
  opacity: 0.5;
  z-index: 0;
}

.bg-muted > * {
  position: relative;
  z-index: 1;
}

.bg-white {
  background-color: white;
  position: relative;
  border-top: 2px solid rgba(22, 115, 155, 0.07);
  border-bottom: 2px solid rgba(22, 115, 155, 0.07);
}

/* Flow section overrides bg-white */
#flow.section.bg-white {
  background-color: transparent;
  background: linear-gradient(135deg, 
    rgba(240, 248, 255, 0.8) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 248, 240, 0.8) 100%
  ) !important;
}

.bg-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(22, 115, 155, 0.04) 100%);
  pointer-events: none;
  z-index: 0;
}

.bg-white > * {
  position: relative;
  z-index: 1;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Tablets and Small Desktops (1024px and below) */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--spacing-4);
  }
  
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Testimonial cards - 2 columns on tablets */
  .grid.grid-cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .flow-step-content {
    height: auto;
    min-height: 200px;
  }
  
  .flow-step-image {
    height: 180px;
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  /* Container */
  .container {
    padding: 0 var(--spacing-6);
  }
  
  .container-narrow {
    padding: 0 var(--spacing-6);
  }
  
  /* Hero Section */
  .hero {
    min-height: 50vh;
    padding: var(--spacing-12) var(--spacing-4) var(--spacing-8);
  }
  
  .hero-section {
    padding: 2rem 1.5rem;
  }
  
  .hero-content {
    text-align: center;
    padding: var(--spacing-6) var(--spacing-4);
  }
  
  /* Typography */
  .hero-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-4);
    line-height: 1.3;
    text-align: center;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-6);
    line-height: 1.6;
    text-align: center;
  }
  
  .hero-content .btn-primary {
    min-width: auto;
    width: 100%;
    max-width: 320px;
    padding: var(--spacing-4) var(--spacing-8);
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 2.125rem;
    margin-bottom: var(--spacing-4);
  }
  
  .section-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-4);
  }
  
  /* スマホ版: 全てのテキストをさらに大きく */
  body {
    font-size: 1.125rem;
  }
  
  p {
    font-size: 1.125rem;
    line-height: 1.7;
  }
  
  /* スマホ版: h3タグを大きく */
  h3 {
    font-size: 1.125rem !important;
  }
  
  /* Header */
  .header-container {
    padding: 0 var(--spacing-4);
  }
  
  .header-logo {
    font-size: 1.5rem;
  }
  
  .header-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  /* モバイルメニューのテキスト */
  .mobile-menu a {
    font-size: 1.125rem;
  }
  
  .mobile-menu .btn-primary {
    font-size: 1.125rem;
  }
  
  /* Grid */
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr !important;
  }
  
  /* Force testimonial cards to single column on mobile */
  .grid.grid-cols-3 {
    grid-template-columns: 1fr !important;
  }
  
  .grid {
    gap: var(--spacing-4);
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-4);
  }
  
  .footer-brand {
    margin-bottom: var(--spacing-2);
  }
  
  .footer-description {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0;
  }
  
  .footer-heading {
    margin-bottom: var(--spacing-1);
    font-size: 1.25rem;
    line-height: 1.3;
  }
  
  .footer-info {
    font-size: 0.9375rem;
    line-height: 1.4;
  }
  
  .footer-info p {
    margin-bottom: 0.125rem;
    line-height: 1.3;
  }
  
  .footer-nav {
    gap: 0;
  }
  
  .footer-nav a {
    font-size: 1rem;
    padding: 0.0625rem 0;
    line-height: 1.3;
  }
  
  .footer-bottom {
    padding-top: var(--spacing-4);
  }
  
  /* Pricing Options */
  .pricing-options {
    grid-template-columns: 1fr;
  }
  
  /* スマホ版: オプションサービスのテキストをさらに大きく */
  .pricing-option-label {
    font-size: 1.125rem !important;
  }
  
  .pricing-option-price {
    font-size: 1.125rem !important;
  }
  
  .card.card-lg h3.strength-title {
    font-size: 1.625rem !important;
  }
  
  /* Spacing */
  .section {
    padding: var(--spacing-12) 0;
  }
  
  .section-lg {
    padding: var(--spacing-16) 0;
  }
  
  .section-header {
    margin-bottom: var(--spacing-10);
  }
  
  /* Text wrapping improvements for mobile */
  .section-subtitle {
    line-height: 1.7;
    padding: 0 var(--spacing-4);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .section-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    padding: 0 var(--spacing-4);
  }
  
  .service-description,
  .strength-box-description,
  .flow-step-description,
  .testimonial-description,
  .staff-description {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.75;
  }
  
  /* Flow */
  .flow-step {
    flex-direction: column;
    gap: var(--spacing-4);
  }
  
  .flow-step-image {
    width: 100%;
    height: auto;
    aspect-ratio: 7 / 3;
  }
  
  .flow-step-content {
    width: 100%;
    height: auto;
    min-height: auto;
  }
  
  /* Strength Boxes */
  .strength-box {
    flex-direction: column;
  }
  
  .strength-box-image {
    width: 100%;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
  }
  
  .strength-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  
  /* Service Cards */
  .service-icon {
    width: 6.5rem;
    height: 6.5rem;
    margin-bottom: var(--spacing-3);
  }
  
  .service-title {
    font-size: 1.25rem; /* 20px */
    margin-bottom: var(--spacing-2);
  }
  
  .service-description {
    font-size: 1rem; /* 16px */
    line-height: 1.6;
  }
  
  /* Cards */
  .card {
    padding: var(--spacing-6);
  }
  
  .card-lg {
    padding: var(--spacing-8);
  }
  
  /* Staff Cards */
  .staff-image {
    width: 8rem;
    height: 8rem;
  }
  
  /* Company Page */
  .company-hero-image {
    height: 18rem;
    margin-bottom: 2rem;
  }
  
  .company-info-row {
    flex-direction: column;
    gap: var(--spacing-5);
    padding-left: var(--spacing-2);
    padding-right: var(--spacing-2);
  }
  
  /* 会社概要ページのカード内のスペースをコンパクトに */
  .card.card-lg > div[style*="gap"] {
    gap: 1.5rem !important;
  }
  
  /* Testimonial Cards */
  .testimonial-image-wrapper {
    height: 10rem;
  }
  
  .testimonial-content {
    padding: 1rem;
  }
  
  /* Buttons */
  .btn-lg {
    min-width: auto;
    width: 100%;
    max-width: 100%;
    padding: var(--spacing-4) var(--spacing-8);
    font-size: 1.125rem;
  }
  
  .btn {
    font-size: 1.125rem;
  }
  
  /* スマホ版: 全てのテキスト要素をさらに大きく */
  .service-description,
  .strength-box-description,
  .flow-step-description,
  .testimonial-description,
  .staff-description {
    font-size: 1rem !important; /* 16px */
  }
  
  /* スマホ版: 強みセクションのタイトルを大きく */
  .strength-box-title {
    font-size: 1.25rem !important; /* 20px */
  }
  
  .flow-step-title {
    font-size: 1.25rem !important;
  }
  
  .flow-step-description {
    font-size: 1rem !important;
  }
  
  .testimonial-company {
    font-size: 1.125rem !important;
  }
  
  .testimonial-description {
    font-size: 1rem !important;
  }
  
  .staff-name {
    font-size: 1.625rem !important;
  }
  
  .staff-position {
    font-size: 1rem !important;
  }
  
  .staff-description {
    font-size: 1.0625rem !important;
  }
  
  /* Forms */
  .form-input,
  .form-textarea {
    font-size: 16px; /* iOS zoom prevention */
  }
}

/* Small Tablets and Large Phones (640px and below) */
@media (max-width: 640px) {
  .container {
    padding: 0 var(--spacing-5);
  }
  
  .container-narrow {
    padding: 0 var(--spacing-5);
  }
  
  .hero {
    min-height: 55vh;
    padding: var(--spacing-12) var(--spacing-3) var(--spacing-8);
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.0625rem;
  }
  
  .section-title {
    font-size: 1.875rem;
  }
  
  .section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    padding: 0 var(--spacing-2);
  }
  
  .section {
    padding: var(--spacing-12) 0;
  }
  
  /* Enhanced text wrapping for small screens */
  p, .service-description, .strength-box-description,
  .flow-step-description, .testimonial-description,
  .staff-description, .section-subtitle {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.75;
  }
  
  .section-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.35;
    padding: 0 var(--spacing-2);
  }
  
  .hero-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.35;
  }
  
  .hero-subtitle {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.65;
    padding: 0 var(--spacing-4);
  }
  
  .section-lg {
    padding: var(--spacing-16) 0;
  }
  
  .service-icon {
    width: 5rem;
    height: 5rem;
  }
  
  .flow-step-image {
    height: 160px;
  }
  
  .strength-box-image {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }
  
  .strength-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  
  .pricing-amount {
    font-size: 2.5rem;
  }
  
  .staff-image {
    width: 6rem;
    height: 6rem;
  }
  
  .staff-name {
    font-size: 1.5rem;
  }
  
  .company-hero-image {
    height: 14rem;
  }
  
  .company-hero-title {
    font-size: 1.5rem;
  }
  
  .company-hero-subtitle {
    font-size: 1rem;
  }
}

/* Small Phones (480px and below) */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 var(--spacing-4);
  }
  
  .container-narrow {
    padding: 0 var(--spacing-4);
  }
  
  .hero {
    min-height: 45vh;
    padding: var(--spacing-8) var(--spacing-2) var(--spacing-4);
  }
  
  .hero-section {
    padding: 1.5rem 1rem;
  }
  
  .hero-title {
    font-size: 1.625rem;
    margin-bottom: var(--spacing-4);
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-4);
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-3);
  }
  
  .section-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    padding: 0 var(--spacing-4);
    margin-bottom: var(--spacing-3);
  }
  
  /* 小さなスマホ版: 全てのテキストをさらに大きく */
  body {
    font-size: 1.0625rem;
  }
  
  p {
    font-size: 1.0625rem;
    line-height: 1.7;
  }
  
  /* 小さなスマホ版: h3タグを大きく */
  h3 {
    font-size: 1.125rem !important;
  }
  
  .section {
    padding: var(--spacing-12) 0;
  }
  
  .section-lg {
    padding: var(--spacing-16) 0;
  }
  
  .section-header {
    margin-bottom: var(--spacing-8);
  }
  
  /* Maximum text wrapping for very small screens */
  body {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  p, .service-description, .strength-box-description,
  .flow-step-description, .testimonial-description,
  .staff-description, .section-subtitle, .hero-subtitle {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.8;
    hyphens: auto;
  }
  
  .section-title, .hero-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    padding: 0 var(--spacing-4);
  }
  
  /* Improve readability for long text */
  .testimonial-description {
    font-size: 1rem;
    line-height: 1.8;
  }
  
  .staff-description {
    font-size: 1.0625rem;
    line-height: 1.8;
  }
  
  .strength-box-description {
    font-size: 1rem;
    line-height: 1.8;
  }
  
  .flow-step-description {
    font-size: 0.9375rem;
    line-height: 1.8;
  }
  
  .service-description {
    font-size: 1rem; /* 16px */
    line-height: 1.8;
  }
  
  .service-title {
    font-size: 1.25rem !important; /* 20px */
  }
  
  .flow-step-title {
    font-size: 1.1875rem !important;
  }
  
  .testimonial-company {
    font-size: 1.0625rem !important;
  }
  
  .btn-lg {
    font-size: 1.0625rem !important;
  }
  
  .btn {
    font-size: 1.0625rem !important;
  }
  
  .section-lg {
    padding: var(--spacing-12) 0;
  }
  
  .section-header {
    margin-bottom: var(--spacing-12);
  }
  
  .header-container {
    padding: 0 var(--spacing-2);
    height: 4rem;
  }
  
  .header-logo {
    font-size: 1.5rem;
  }
  
  .service-icon {
    width: 5.5rem;
    height: 5.5rem;
    margin-bottom: var(--spacing-3);
  }
  
  .service-title {
    font-size: 1.0625rem;
    margin-bottom: var(--spacing-2);
  }
  
  .service-description {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
  
  /* モバイルメニューのテキスト */
  .mobile-menu a {
    font-size: 1.125rem;
  }
  
  .mobile-menu .btn-primary {
    font-size: 1.125rem;
  }
  
  .flow-step-image {
    height: auto;
    aspect-ratio: 7 / 3;
  }
  
  .flow-step-content {
    padding: var(--spacing-6);
  }
  
  .flow-step-title {
    font-size: 1.125rem;
  }
  
  .flow-step-description {
    font-size: 0.8125rem;
  }
  
  .strength-box-image {
    height: 180px;
    min-height: 180px;
    max-height: 180px;
  }
  
  .strength-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  
  .strength-box-content {
    padding: var(--spacing-6);
  }
  
  .strength-box-title {
    font-size: 1.25rem; /* 20px */
  }
  
  .strength-box-description {
    font-size: 1rem; /* 16px */
  }
  
  .card {
    padding: var(--spacing-4);
  }
  
  .card-lg {
    padding: var(--spacing-6);
  }
  
  .pricing-amount {
    font-size: 2rem;
  }
  
  .pricing-label {
    font-size: 0.9375rem;
  }
  
  /* スマホ版（480px以下）: オプションサービスのテキストをさらに大きく */
  .pricing-option-label {
    font-size: 1.0625rem !important;
  }
  
  .pricing-option-price {
    font-size: 1.0625rem !important;
  }
  
  .card.card-lg h3.strength-title {
    font-size: 1.5rem !important;
  }
  
  .pricing-description {
    font-size: 0.8125rem;
  }
  
  .staff-image {
    width: 5rem;
    height: 5rem;
  }
  
  .staff-name {
    font-size: 1.25rem;
  }
  
  .staff-description {
    font-size: 1rem;
  }
  
  .company-hero-image {
    height: 12rem;
    margin-bottom: 1.5rem;
  }
  
  .company-hero-title {
    font-size: 1.25rem;
  }
  
  .company-hero-subtitle {
    font-size: 0.9375rem;
  }
  
  .company-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .testimonial-image-wrapper {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  
  .testimonial-image-container {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  
  .testimonial-company {
    font-size: 1rem;
  }
  
  .testimonial-description {
    font-size: 0.8125rem;
  }
  
  .btn {
    padding: var(--spacing-2) var(--spacing-6);
    font-size: 0.9375rem;
  }
  
  .btn-lg {
    padding: var(--spacing-3) var(--spacing-6);
    font-size: 0.9375rem;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: var(--spacing-4);
  }
  
  .faq-answer-content {
    font-size: 0.875rem;
    padding: 0 var(--spacing-4) var(--spacing-4) var(--spacing-6);
  }
  
  .footer {
    padding: var(--spacing-12) 0;
  }
  
  .footer-brand {
    font-size: 1.25rem;
  }
  
  .footer-heading {
    font-size: 1rem;
  }
  
  /* Mobile menu adjustments */
  .mobile-menu {
    top: 4rem;
    padding: var(--spacing-3);
  }
  
  .mobile-menu a {
    padding: var(--spacing-1) var(--spacing-3);
    line-height: 1.3;
  }
  
  .mobile-menu .btn-primary {
    margin-top: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-3);
    line-height: 1.4;
  }
  
  .mobile-menu-btn {
    width: 2rem;
    height: 2rem;
  }
  
  /* Ensure images are responsive */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }
  
  /* Improve touch targets */
  button,
  a,
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ===== UTILITY CLASSES ===== */
.mb-4 {
  margin-bottom: var(--spacing-4);
}

.mb-6 {
  margin-bottom: var(--spacing-6);
}

.mb-8 {
  margin-bottom: var(--spacing-8);
}

.mb-12 {
  margin-bottom: var(--spacing-12);
}

.mt-16 {
  margin-top: var(--spacing-16);
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* Responsive visibility utilities */
/* Note: These classes work with <br class="hidden sm:block"> pattern */
/* For <br> tags with responsive classes */
br.hidden {
  display: none;
}

@media (min-width: 640px) {
  br.hidden.sm\:block {
    display: block;
  }
}

@media (min-width: 768px) {
  br.hidden.md\:block {
    display: block;
  }
}

/* ===== ADDITIONAL PAGE UTILITIES ===== */

/* Hero Sections */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary), hsl(220, 40%, 25%));
  color: white;
  padding: 5rem 1.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsla(220, 40%, 20%, 0.85),
    hsla(220, 40%, 20%, 0.8),
    hsla(220, 40%, 25%, 0.85)
  );
  z-index: 1;
}

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

.hero-content .container {
  text-align: center !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content p,
.hero-content .hero-title,
.hero-content .hero-subtitle {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center !important;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.5rem;
  opacity: 0.9;
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  text-align: center !important;
  line-height: 1.7;
  font-weight: 400;
}

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-1 {
  flex: 1;
}

.gap-4 {
  gap: var(--spacing-4);
}

.gap-6 {
  gap: var(--spacing-6);
}

.gap-8 {
  gap: var(--spacing-8);
}

/* Staff/Team Member Styles */
.staff-image {
  width: 10rem;
  height: 10rem;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 4px solid hsla(27, 85%, 55%, 0.2);
}

.staff-number-badge {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background: hsla(220, 40%, 20%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.staff-name {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.375rem;
  line-height: 1.3;
}

.staff-position {
  color: var(--color-muted-foreground);
  font-weight: 500;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.staff-description {
  font-size: 1rem;
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
  margin: 0;
}

/* Staff Detail Page */
.staff-detail-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-foreground);
}

.staff-detail-content p {
  margin-bottom: var(--spacing-6);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.staff-detail-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .staff-detail-content {
    font-size: 0.9375rem;
    line-height: 1.8;
  }
  
  .staff-detail-content p {
    margin-bottom: var(--spacing-4);
  }
}

/* Testimonial Styles */
.testimonial-image-container {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.testimonial-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.testimonial-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-4);
}

.testimonial-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-blue);
}

.testimonial-comment {
  background: var(--color-muted);
  padding: var(--spacing-4);
  border-radius: var(--radius-md);
  line-height: 1.8;
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  background: var(--color-muted);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 500;
}

/* Column/Article Card Styles */
.column-card {
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.column-image-container {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.column-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.column-card:hover .column-image {
  transform: scale(1.05);
}

.column-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  background: hsla(27, 85%, 55%, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
}

.column-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--spacing-4);
}

.column-link {
  display: flex;
  align-items: center;
  color: var(--color-accent-blue);
  font-weight: 500;
  font-size: 0.875rem;
}

.column-arrow {
  margin-left: 0.25rem;
  transition: transform var(--transition-base);
}

.column-card:hover .column-arrow {
  transform: translateX(0.25rem);
}

/* Company Page Styles */
.company-hero-image {
  position: relative;
  height: 24rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 4rem;
}

.company-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(220, 40%, 20%, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  color: white;
}

.company-info-row {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-5);
  padding-bottom: 1.5rem;
  padding-left: var(--spacing-2);
  padding-right: var(--spacing-2);
  border-bottom: 1px solid var(--color-border);
}

.company-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.company-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background: hsla(27, 85%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-label {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.company-value {
  font-size: 1.125rem;
  line-height: 1.8;
}

/* Text Utilities */
.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

@media (max-width: 768px) {
  .text-3xl {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .text-3xl {
    font-size: 1.375rem;
  }
}

@media (max-width: 480px) {
  .text-3xl {
    font-size: 1.25rem;
  }
}

.text-4xl {
  font-size: 2.25rem;
}

.text-primary {
  color: var(--color-primary);
}

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

.text-muted {
  color: var(--color-muted-foreground);
}

.text-white {
  color: white;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.line-height-relaxed {
  line-height: 1.8;
}

/* Padding/Margin Utilities */
.p-4 {
  padding: var(--spacing-4);
}

.p-8 {
  padding: var(--spacing-8);
}

.p-12 {
  padding: var(--spacing-12);
}

.py-4 {
  padding-top: var(--spacing-4);
  padding-bottom: var(--spacing-4);
}

.py-8 {
  padding-top: var(--spacing-8);
  padding-bottom: var(--spacing-8);
}

.py-12 {
  padding-top: var(--spacing-12);
  padding-bottom: var(--spacing-12);
}

.px-4 {
  padding-left: var(--spacing-4);
  padding-right: var(--spacing-4);
}

.px-6 {
  padding-left: var(--spacing-6);
  padding-right: var(--spacing-6);
}

.mt-4 {
  margin-top: var(--spacing-2);
}

.mt-6 {
  margin-top: var(--spacing-6);
}

.mt-8 {
  margin-top: var(--spacing-8);
}

/* Background Utilities */
/* .bg-white is defined above with enhanced styling */

.bg-muted {
  background-color: var(--color-muted);
}

.bg-primary {
  background-color: var(--color-primary);
}

/* Border Utilities */
.rounded-full {
  border-radius: var(--radius-full);
}

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

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

/* Object Fit */
.object-cover {
  object-fit: cover;
}

/* Width/Height */
.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

/* Aspect Ratio */
.aspect-video {
  aspect-ratio: 16 / 9;
}

/* Max Width */
.max-w-4xl {
  max-width: 56rem;
}

.max-w-full {
  max-width: 100%;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

/* Staff Page Responsive */
@media (max-width: 768px) {
  .staff-image {
    width: 9rem;
    height: 9rem;
  }
  
  /* Staff card flex layout adjustment - Force vertical layout on mobile */
  /* Target all possible flex-row combinations in staff cards */
  .card.card-lg .flex.flex-row,
  .card.card-lg > .flex.flex-row,
  .card.card-lg > div > .flex.flex-row,
  section .card.card-lg .flex.flex-row,
  .section .card.card-lg .flex.flex-row,
  main .card.card-lg .flex.flex-row,
  .main-offset .card.card-lg .flex.flex-row,
  .card.card-lg .flex.flex-row.items-start {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: var(--spacing-3) !important;
  }
  
  /* Override inline styles */
  .card.card-lg .flex.flex-row[style*="gap"] {
    gap: var(--spacing-3) !important;
  }
  
  .card.card-lg .flex-shrink-0:first-child,
  .card.card-lg > .flex.flex-row > .flex-shrink-0:first-child,
  section .card.card-lg .flex.flex-row > .flex-shrink-0:first-child,
  main .card.card-lg .flex.flex-row > .flex-shrink-0:first-child,
  .card.card-lg .flex.flex-row > .flex-shrink-0:first-child {
    order: 1;
    margin-bottom: var(--spacing-3);
  }
  
  .card.card-lg .flex-1,
  .card.card-lg > .flex.flex-row > .flex-1,
  section .card.card-lg .flex.flex-row > .flex-1,
  main .card.card-lg .flex.flex-row > .flex-1,
  .card.card-lg .flex.flex-row > .flex-1 {
    order: 2;
    text-align: center !important;
    width: 100%;
  }
  
  .card.card-lg .flex-shrink-0:last-child,
  .card.card-lg > .flex.flex-row > .flex-shrink-0:last-child,
  section .card.card-lg .flex.flex-row > .flex-shrink-0:last-child,
  main .card.card-lg .flex.flex-row > .flex-shrink-0:last-child,
  .card.card-lg .flex.flex-row > .flex-shrink-0:last-child {
    order: 3;
    margin-top: var(--spacing-3);
  }
  
  /* Staff card spacing adjustments */
  .card.card-lg .mb-4 {
    margin-bottom: var(--spacing-2) !important;
  }
  
  /* Reduce gap between staff cards on mobile */
  .section .flex.flex-col.gap-8[style*="gap"] {
    gap: 1.5rem !important;
  }
  
  .staff-number-badge {
    width: 3rem;
    height: 3rem;
  }
  
  .staff-number {
    font-size: 1.5rem;
  }
  
  .staff-name {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
  }
  
  .staff-position {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
  
  .staff-description {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (max-width: 640px) {
  .staff-image {
    width: 8rem;
    height: 8rem;
  }
  
  .staff-name {
    font-size: 1.625rem;
    margin-bottom: 0.25rem;
  }
  
  .staff-position {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
  
  .staff-description {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
  
  /* Ensure staff cards are vertical on small tablets */
  .card.card-lg .flex.flex-row,
  .card.card-lg > .flex.flex-row,
  section .card.card-lg .flex.flex-row {
    flex-direction: column !important;
  }
  
  /* Testimonial cards - single column on small tablets */
  .grid.grid-cols-3 {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .staff-image {
    width: 7rem;
    height: 7rem;
  }
  
  .staff-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
  }
  
  .staff-position {
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
  }
  
  .staff-description {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
  
  .staff-number-badge {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .staff-number {
    font-size: 1.25rem;
  }
  
  /* Reduce card spacing on mobile */
  .card.card-lg {
    padding: var(--spacing-6) !important;
  }
  
  /* 会社概要ページのカード内のスペースをコンパクトに */
  .card.card-lg > div[style*="gap"] {
    gap: 1.25rem !important;
  }
  
  .company-info-row {
    padding-left: var(--spacing-2) !important;
    padding-right: var(--spacing-2) !important;
    padding-bottom: var(--spacing-3) !important;
    gap: var(--spacing-3) !important;
  }
  
  /* 会社概要ページのカード内のスペースをコンパクトに */
  .card.card-lg > div[style*="gap"] {
    gap: 1.25rem !important;
  }
  
  .card.card-lg .mb-4 {
    margin-bottom: var(--spacing-2) !important;
  }
  
  /* Reduce gap between staff cards on small mobile */
  .section .flex.flex-col.gap-8[style*="gap"] {
    gap: 1.25rem !important;
  }
}

/* Column Page Responsive */
@media (max-width: 768px) {
  .column-title {
    font-size: 1rem;
  }
  
  /* スマホ版: 横7:縦3の比率 */
  .column-image-container {
    height: auto;
    aspect-ratio: 7 / 3;
    width: 100%;
  }
}

@media (max-width: 480px) {
  /* スマホ版: 横7:縦3の比率を維持 */
  .column-image-container {
    height: auto;
    aspect-ratio: 7 / 3;
    width: 100%;
  }
  
  .column-title {
    font-size: 0.9375rem;
  }
}

/* Company Page Responsive */
@media (max-width: 768px) {
  .company-hero-image {
    height: 18rem;
    margin-bottom: 2rem;
  }
  
  .company-hero-overlay {
    padding: 1.5rem;
  }
  
  .company-hero-title {
    font-size: 1.5rem;
  }
  
  .company-hero-subtitle {
    font-size: 1rem;
  }
  
  .company-info-row {
    flex-direction: column;
    gap: var(--spacing-4);
    padding-bottom: var(--spacing-4);
    padding-left: var(--spacing-2);
    padding-right: var(--spacing-2);
  }
  
  .company-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (max-width: 640px) {
  .company-hero-image {
    height: 14rem;
  }
  
  .company-hero-title {
    font-size: 1.25rem;
  }
  
  .company-hero-subtitle {
    font-size: 0.9375rem;
  }
}

@media (max-width: 480px) {
  .company-hero-image {
    height: 12rem;
    margin-bottom: 1.5rem;
  }
  
  .company-hero-overlay {
    padding: 1rem;
  }
  
  .company-hero-title {
    font-size: 1.125rem;
  }
  
  .company-hero-subtitle {
    font-size: 0.875rem;
  }
  
  .company-icon {
    width: 2rem;
    height: 2rem;
  }
  
  .company-label {
    font-size: 0.8125rem;
  }
  
  .company-value {
    font-size: 1rem;
  }
}

/* Word Break and Text Wrapping */
.break-all {
  word-break: break-all;
}

/* CTA Text Styling */
.cta-text {
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.cta-text br {
  display: none;
}

@media (min-width: 768px) {
  .cta-text {
    line-height: 1.6;
  }
  
  .cta-text br.hidden.md\:block {
    display: block;
  }
}

@media (max-width: 767px) {
  .cta-text {
    line-height: 1.8;
    padding: 0 var(--spacing-4);
    font-size: 1.5rem;
  }
  
  .cta-text br {
    display: none;
  }
}

@media (max-width: 640px) {
  .cta-text {
    font-size: 1.375rem;
    line-height: 1.8;
    padding: 0 var(--spacing-3);
  }
}

@media (max-width: 480px) {
  .cta-text {
    font-size: 1.25rem;
    line-height: 1.85;
    padding: 0 var(--spacing-2);
  }
}

/* Japanese text wrapping improvements */
body, p, div, span, h1, h2, h3, h4, h5, h6 {
  word-break: normal;
  overflow-wrap: break-word;
}

/* Prevent long URLs or text from breaking layout */
a, .testimonial-company, .staff-name {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Improve text readability */
.section-title,
.hero-title {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Long text descriptions */
.service-description,
.strength-box-description,
.flow-step-description,
.testimonial-description,
.staff-description,
.section-subtitle,
.hero-subtitle {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Main Content Offset (for fixed header) */
.main-offset {
  padding-top: 4.5rem;
}

/* Mobile CTA Button */
.mobile-cta-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Description Section Padding */
.description-section {
  padding: 3rem 0;
}

/* Company Hero Title */
.company-hero-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.company-hero-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* ===== TESTIMONIAL CARDS (Case Studies Section) ===== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  box-shadow: 
    0 2px 8px rgba(22, 115, 155, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: all var(--transition-base);
  border: 1.5px solid var(--color-border-soft-blue);
  background: linear-gradient(135deg, hsl(0, 0%, 100%) 0%, hsl(200, 20%, 99.8%) 100%);
  position: relative;
  backdrop-filter: blur(10px);
}


.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--color-gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base), height var(--transition-base);
  z-index: 1;
}

.testimonial-card:hover {
  box-shadow: 
    0 24px 48px rgba(22, 115, 155, 0.12),
    0 12px 24px rgba(22, 115, 155, 0.08),
    0 0 0 1px rgba(22, 115, 155, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-6px) scale(1.01);
  border-color: var(--color-accent-blue);
  border-width: 1.5px;
  background: linear-gradient(135deg, hsl(0, 0%, 100%) 0%, hsl(200, 15%, 99.5%) 100%);
}

.testimonial-card:hover::before {
  opacity: 1;
  height: 3px;
  box-shadow: 0 2px 8px rgba(22, 115, 155, 0.3);
}

/* お客様の声セクション専用のコンパクトスタイル */
#cases .section {
  padding: var(--spacing-8) 0;
}

#cases .section-header {
  margin-bottom: var(--spacing-8);
  padding-bottom: var(--spacing-3);
}

#cases .grid {
  gap: var(--spacing-4);
}

#cases .testimonial-image-wrapper {
  height: 11rem;
}

#cases .testimonial-content {
  padding: 0.875rem;
  gap: 0.5rem;
}

#cases .testimonial-company {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

#cases .testimonial-description {
  font-size: 0.875rem;
  line-height: 1.6;
}

#cases .testimonial-tags {
  gap: 0.375rem;
  margin-top: 0.375rem;
}

#cases .testimonial-tag {
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
}

/* お客様の声ページ（testimonials）専用のコンパクトスタイル */
.testimonials-page .testimonial-image-container {
  height: 12rem !important;
}

.testimonials-page .grid.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 56rem;
  margin: 0 auto;
}

.testimonials-page .card {
  padding: 0 !important;
}

.testimonials-page .card > div[style*="padding: 2rem"] {
  padding: 1rem !important;
}

.testimonials-page .case-company {
  font-size: 1rem !important;
  margin-bottom: var(--spacing-3) !important;
}

.testimonials-page .grid.grid-cols-2.gap-4 {
  gap: var(--spacing-3) !important;
  margin-bottom: var(--spacing-3) !important;
}

.testimonials-page .grid.grid-cols-2.gap-4 p[style*="font-size: 1.5rem"] {
  font-size: 1.125rem !important;
}

.testimonials-page .grid.grid-cols-2.gap-4 p[style*="font-size: 1.125rem"] {
  font-size: 0.9375rem !important;
}

.testimonials-page .testimonial-badge {
  font-size: 0.75rem !important;
  padding: 0.25rem 0.625rem !important;
}

.testimonials-page div[style*="background: var(--color-muted)"] {
  padding: 0.75rem !important;
  margin-bottom: 0 !important;
}

.testimonials-page div[style*="background: var(--color-muted)"] p {
  font-size: 0.8125rem !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.testimonials-page .grid.grid-cols-2.gap-4 > div {
  margin-bottom: var(--spacing-2) !important;
}

.testimonials-page .grid.grid-cols-2.gap-4 p[style*="font-size: 0.875rem"][style*="color: var(--color-muted-foreground)"] {
  font-size: 0.75rem !important;
  margin-top: 0.75rem !important;
}

.testimonials-page .grid.grid-cols-2.gap-8 {
  gap: var(--spacing-6) !important;
}

.testimonials-page .section {
  padding: var(--spacing-10) 0 !important;
}

.testimonials-page div[style*="display: flex"][style*="flex-wrap: wrap"] {
  gap: 0.5rem !important;
  margin-bottom: 0.75rem !important;
}

.testimonials-page .container {
  padding-left: var(--spacing-5) !important;
  padding-right: var(--spacing-5) !important;
}

.testimonials-page .grid.grid-cols-2.gap-4 p[style*="font-size: 0.875rem"][style*="color: var(--color-muted-foreground)"][style*="margin-bottom: 0.25rem"] {
  font-size: 0.8125rem !important;
}

.testimonial-image-wrapper {
  width: 100%;
  height: 12rem;
  overflow: hidden;
  background-color: var(--color-muted);
  flex-shrink: 0;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.testimonial-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.testimonial-company {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.testimonial-description {
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
  margin: 0;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
}

.testimonial-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.testimonial-tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--color-accent-blue-dark);
  border: 2px solid var(--color-accent-blue);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, hsl(200, 30%, 98%) 0%, white 100%);
  white-space: nowrap;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(22, 115, 155, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-image-wrapper {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  
  .testimonial-image-container {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  
  .testimonial-content {
    padding: 0.875rem;
    gap: 0.625rem;
  }
  
  .testimonial-company {
    font-size: 1rem;
  }
  
  .testimonial-description {
    font-size: 0.875rem;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Case study section title wrapping */
  .section-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
  }
}
