/* ベース設定 */
:root {
  --primary: #1E40AF;
  --primary-green: #12ac50;
  --primary-orange: #F97316;
  --primary-orange-start: #F97316;
  --primary-orange-h3: #F97316;
  --primary-orange-end: #ffcba6;
  --primary-light: #EFF6FF;
  --accent: #F97316;
  --accent-rgb: 249, 115, 22;
  --accent-green: #12ac50;
  --accent-hover: #EA580C;
  --accent-hover-green: #34d875;
  --gray-light: #F9FAFB;
  --gray-medium: #9CA3AF;
  --gray-dark: #4B5563;
  --blue-light: #3B82F6;
  --blue-dark: #1E3A8A;
  --white: #FFFFFF;
  --black: #000000;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --border-radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #000000;
  background-color: #F9FAFB;
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

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

.min-h-screen {
  min-height: 100vh;
}

.bg-gray-50 {
  background-color: #F9FAFB;
}
/* hスタイル */
h2 {
    text-align: center;
}

/* ボタンスタイル */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.btn-primary-orange {
  background-color: var(--primary-orange);
  color: var(--white);
}

.btn-primary-green {
  background-color: var(--primary-green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary);
  opacity: 0.9;
}

.btn-primary-orange:hover {
  background-color: var(--accent-hover);
  opacity: 0.9;
}
.btn-primary-green:hover {
  background-color: var(--accent-hover-green);
  opacity: 0.9;
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
}

.btn-accent-green {
  background-color: var(--accent-green);
  color: var(--white);
}

.btn-accent-green:hover {
  background-color: var(--accent-hover-green);
}

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

.btn-outline-orange {
  border: 2px solid var(--primary-orange);
  color: var(--primary-orange);
  background-color: white;
  padding-left: 4.5rem;
  padding-right: 4.5rem; 
}

.btn-outline-green {
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  background-color: white;
  padding-left: 4.5rem;
  padding-right: 4.5rem; 
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-outline-orange:hover {
  background-color: var(--accent-hover);
  color: var(--white);
}

.btn-outline-green:hover {
  background-color: var(--accent-hover-green);
  color: var(--white);
}

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

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
}

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

.btn-outline-accent:hover {
  background-color: var(--accent);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

/* お問い合わせのサイズ変更用 */
.btn-large-padding {
    /* 現在のデフォルト（0.75rem 1.5rem）よりも左右のパディングを大きくする */
    padding-left: 2.8rem;  /* 数値は資料請求ボタンが現在持っている幅に合わせて調整 */
    padding-right: 3.7rem; /* 数値は資料請求ボタンが現在持っている幅に合わせて調整 */
}

.icon {
  width: 3.0rem;
  height: 3.0rem;
  margin-left: 0.17rem;
}

/* セクションスタイル */
section {
  padding: 5rem 0;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.section-subtitle {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.section-description {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
  color: var(--gray-dark);
}

/* ヒーローセクション */
.hero-section {
  padding: 1rem 0 6rem;
  background: linear-gradient(to bottom right, #EBF4FF, #E0E7FF);
  position: relative;
  overflow: hidden;
}

.bg-decoration {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bg-decoration::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(219, 234, 254, 0.5), transparent);
  transform: skewX(-12deg);
}

.bg-decoration::after {
  content: '';
  position: absolute;
  bottom: -6rem;
  left: -6rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.05), rgba(30, 64, 175, 0.2));
  border-radius: 50%;
  filter: blur(3rem);
}

/* ヒーローセクションのスタイル修正 */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .hero-text {
    width: 50%;
    text-align: left;
    order: 1;
  }
  
  .hero-image-container {
    width: 50%;
    order: 2;
  }
}

.hero-text {
  width: 100%;
  text-align: center;
  padding-top: 2rem;
}

.logo {
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.25rem 1rem;
  font-size: 1.5rem;
  border-radius: var(--border-radius-full);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.headline {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--primary), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.headline .accent {
  color: var(--accent);
}

.divider {
  height: 0.25rem;
  width: 6rem;
  background-color: var(--accent);
  margin: 0 auto 1.5rem;
  border-radius: var(--border-radius-full);
}

@media (min-width: 768px) {
  .divider {
    margin: 0 0 1.5rem;
  }
}

.tagline {
  display: inline-block;
  border-left: 4px solid var(--primary);
  padding-left: 0.7rem;
  padding-right: 1.0rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.3rem;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(0.25rem);
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.tagline p {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gray-dark);
}

/* 実績データを横並びに */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(0.25rem);
  border-radius: var(--border-radius);
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
  transform: translateY(0);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary);
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-md);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
}

.stat-unit {
  font-size: 1.0rem;
  vertical-align: middle;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-dark);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .cta-buttons {
    justify-content: flex-start;
  }
}

.hero-image-container {
  width: 130%;
  position: relative;
}

.hero-image {
  width: 120%;
  height: auto;
}

/* 実績データカードのスタイル */
.primary-border {
  border-top-color: var(--primary);
}

.accent-border {
  border-top-color: var(--accent);
}

.blue-border {
  border-top-color: var(--blue-light);
}

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

.blue-color {
  color: var(--blue-light);
}

.wave-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-decoration svg {
  width: 100%;
  height: 4rem;
  fill: var(--white);
}

/* 問題点セクション */
.problems-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--white), var(--gray-light));
}

.section-header {
  text-align: center;
  margin-bottom: 1rem;
}

.section-title {
  width: 60%;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 4rem;
  color: var(--primary-orange);
  display: inline-block;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background-color: var(--primary-orange);
  border-radius: var(--border-radius-full);
}

.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.problem-card {
  background-color: var(--white);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(0);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}



.problem-icon-container {
  display: flex;
  justify-content: center;
}

.problem-icon {
  background-color: var(--white);
  padding: 1rem;
}

.problem-icon .icon {
  color: var(--accent);
}

.problem-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
  min-height: 3rem;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

.problem-description {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-dark);
}

.problem-description p {
  margin-bottom: 0.75rem;
}

.card-gradient {
  height: 0.25rem;
  background: linear-gradient(to right, var(--primary), var(--blue-light));
  margin-top: auto;
}

.problems-conclusion {
  margin-top: 4rem;
  text-align: center;
  font-size: 20px;
}

.problems-conclusion p {
  display: inline-block;
  background-color: rgba(var(--accent-rgb), 0.1);
  padding: 1rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-dark);
}

.accent-text {
  color: var(--accent);
  font-weight: 700;
}

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

/* 強みセクション */
.strengths-section {
  padding: 5rem 0;
  background-color: var(--gray-light);
}

.strengths-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.strength-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(0);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.strength-image {
  width: 100%;
  overflow: hidden;
}

.strength-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strength-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.strength-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-orange-h3);
}

.strength-description {
  margin-bottom: 0.5rem;
  color: var(--gray-dark);
}

.strength-border {
  height: 0.25rem;
  background-color: var(--primary);
  margin-top: auto;
}

.team-structure {
  text-align: center;
  margin-top: 2.5rem;
}

.team-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.team-diagram {
  border: 1px solid var(--gray-medium);
  background-color: var(--gray-light);
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-placeholder {
  color: var(--gray-medium);
}

/* 実現方法セクション */
.realization-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.realization-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.realization-card {
  background-color: var(--gray-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(0);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.realization-image {
  width: 100%;
  overflow: hidden;
}

.realization-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.realization-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.realization-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.realization-description {
  margin-bottom: 0.5rem;
  color: var(--gray-dark);
}

.realization-border {
  height: 0.25rem;
  background-color: var(--primary);
  margin-top: auto;
}

/* 成功セクション */
.success-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom right, var(--gray-light), var(--white));
  position: relative;
  overflow: hidden;
}

.success-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a5f7a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.success-section::after {
  content: '';
  position: absolute;
  top: 25%;
  right: 25%;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.05), rgba(30, 64, 175, 0.2));
  border-radius: 50%;
  filter: blur(3rem);
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 10;
}

.success-image {
  position: relative;
  flex: 1;
  min-width: 300px;
}

.success-image::before {
  content: '';
  position: absolute;
  inset: -1rem;
  background: linear-gradient(to right, rgba(30, 64, 175, 0.2), rgba(249, 115, 22, 0.2));
  border-radius: var(--border-radius-xl);
  filter: blur(1rem);
  opacity: 0.7;
}

.success-img {
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
  transform: translateY(0);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 10;
}

.success-text {
  flex: 1;
  min-width: 300px;
  padding: 1.5rem;
}

.success-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(to right, var(--primary), var(--blue-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.success-description {
  font-size: 1.125rem;
  color: var(--gray-dark);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.success-stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 2.5rem 0;
}

.success-stat {
  text-align: center;
  padding: 0 1rem;
  flex: 1;
  min-width: 120px;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.success-stat:hover {
  transform: scale(1.05);
}

.stat-number {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-percent {
  font-size: 1.25rem;
  vertical-align: middle;
}

.stat-plus {
  font-size: 1rem;
}

.stat-label {
  color: var(--gray-dark);
}

.success-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 実績セクション */
.results-section {
  padding: 1rem 0;
  background-color: var(--gray-light);
}

.results-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--gray-medium);
}

.tab-button {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-medium);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-button:hover {
  color: var(--primary);
}

.tab-button.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.results-content {
  position: relative;
  overflow: hidden;
}

.case-study {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
  display: none;
}

.case-study.active {
  display: block;
  animation: slideInRight 0.3s ease-out forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.case-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.case-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary);
  font-weight: 700;
}

.case-title {
  font-size: 1.25rem;
}

.case-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.case-column {
  flex: 1;
}

.case-subtitle {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.case-list {
  list-style: none;
}

.case-list li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.case-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.solution-list li::before {
  color: var(--accent);
}

.case-arrow {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.case-arrow .icon {
  background-color: rgba(30, 64, 175, 0.1);
  padding: 0.75rem;
  border-radius: 50%;
  color: var(--primary);
}

.case-results {
  margin-top: 2rem;
}

.results-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.metric-card {
  width: 100%;
  background-color: var(--gray-light);
  padding: 1.1rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  border: 1px solid #e0e0e0;
}
.metric-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.metric-graph {
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.metric-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary);
  transition: height 1s ease-out;
  height: 0;
}

.metric-comparison {
  justify-content: space-between;
  font-size: 0.875rem;
  text-align: center;
  margin: auto;
}

.results-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
}

.cta-text {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* メニューセクション */
.menu-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.menu-item {
  background-color: var(--gray-light);
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
}

/* フローセクション */
.flow-section {
  padding: 5rem 0;
  background-color: var(--gray-light);
}

.flow-desktop {
  display: none;
}

.flow-item {
  background-color: var(--white);
  padding: 1rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  width: 100%;
}

.flow-number {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 auto 0.75rem;
}

.flow-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.flow-description {
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.flow-details {
  text-align: left;
  font-size: 0.75rem;
}

.flow-detail {
  padding-left: 0.75rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.flow-detail::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-arrow .icon {
  background-color: rgba(30, 64, 175, 0.1);
  padding: 0.5rem;
  border-radius: 50%;
  color: var(--primary);
}

/* モバイル用フローセクション */
.flow-mobile {
    display: none;
}

@media (max-width: 1023px) {
    .flow-desktop {
        display: none !important;
    }
    
    .flow-mobile {
        display: block;
        margin-top: 2rem;
    }
    
    .flow-mobile-item {
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 1.5rem;
        margin-bottom: 1rem;
        position: relative;
    }
    
    .flow-mobile-number {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: -15px;
        left: 20px;
        background: var(--primary-green);
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(18, 172, 80, 0.3);
    }
    
    .flow-mobile-number span {
        font-size: 10px;
        font-weight: 600;
        opacity: 0.9;
    }
    
    .flow-mobile-number strong {
        font-size: 24px;
        font-weight: 800;
        line-height: 1;
    }
    
    .flow-mobile-content {
        padding-left: 60px;
        padding-top: 10px;
    }
    
    .flow-mobile-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.5rem;
    }
    
    .flow-mobile-description {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    
    .flow-mobile-details {
        background: #f8f9fa;
        padding: 1rem;
        border-radius: 8px;
        font-size: 0.85rem;
        line-height: 1.8;
    }
    
    .flow-mobile-details ul {
        margin: 0;
        padding-left: 1.2rem;
    }
    
    .flow-mobile-details li {
        color: #555;
        margin-bottom: 0.3rem;
    }
    
    .flow-mobile-details p {
        margin: 0.5rem 0;
        color: #555;
    }
    
    .flow-mobile-arrow {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 30px;
        position: relative;
    }
    
    .flow-mobile-arrow::before {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        border-left: 2px dashed #ddd;
        height: 30px;
    }
    
    .flow-mobile-arrow::after {
        content: '▼';
        color: var(--primary-green);
        font-size: 16px;
        position: absolute;
        background: white;
        padding: 0 8px;
    }
}

/* タブレット用の調整 */
@media (min-width: 768px) and (max-width: 1023px) {
    .flow-mobile-item {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 料金プランセクション */
.pricing-section {
  padding: 2rem 0;
  background-color: var(--white);
  text-align: center;
}

.pricing-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.pricing-plan {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  position: relative;
}

.pricing-plan.recommended {
  border: 2px solid var(--primary);
  transform: scale(1);
}

.plan-badge {
  background-color: var(--accent);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  position: absolute;
  right: 0;
  border-bottom-left-radius: var(--border-radius-lg);
}

.plan-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.75rem 1rem;
  position: relative;
}

.plan-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.plan-price {
  opacity: 0.9;
  font-size: 0.875rem;
}

.plan-features {
  padding: 0.75rem 1rem;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  text-align: left;
}

.feature-check {
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.25rem;
  flex-shrink: 0;
  font-size: 0.875rem;
}

.feature-text {
  font-size: 0.75rem;
}

.pricing-note {
  max-width: 100%;
  margin: 0 auto 0.5rem;
  text-align: right;
  font-size: 0.875rem;
  color: var(--gray-dark);
}

.pricing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* お問い合わせフォーム */
.contact-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.contact-form-container {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.2);
  border-color: var(--primary);
}

.form-textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-success {
  text-align: center;
  padding: 2rem 0;
}

.form-success.hidden {
  display: none;
}

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

.success-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.success-message {
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

/* フッター */
.footer {
  background: linear-gradient(to bottom right, var(--primary), var(--blue-dark));
  color: var(--white);
  padding: 4rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 2.5rem;
  margin-bottom: 1rem;
}

.footer-cta {
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--white);
}

.footer-copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* フローティングCTA */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  transform: translateY(5rem);
  opacity: 0;
  transition: all 0.5s ease;
  max-width: 364px;
  background-color: white;
  border: 3.9px solid var(--accent-green);
  border-radius: 15.6px;
  padding: 20.8px;
  box-shadow: 0 5.2px 26px rgba(0, 0, 0, 0.15);
}

.floating-cta span:first-child {
  display: block;
  color: var(--accent-green);
  font-size: 1.43rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6.5px;
  line-height: 1.5;
}

.floating-cta .btn {
  white-space: normal;
  line-height: 1.4;
  padding: 15.6px 26px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--accent-green);
  color: white;
  font-size: 1.95rem;
  font-weight: 700;
  border-radius: 10.4px;
  width: 100%;
}

.floating-cta .btn span {
  color: white;
  font-size: 1.95rem;
}

.floating-cta .btn:hover {
  background-color: var(--accent-hover-green);
  transform: translateY(-2px);
}

.floating-cta.visible {
  transform: translateY(0);
  opacity: 1;
}

/* レスポンシブデザイン */
@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
  }

  .hero-text {
    width: 50%;
    text-align: left;
  }

  .logo {
    margin-left: 0;
  }

  .divider {
    margin-left: 0;
  }

  .cta-buttons {
    justify-content: flex-start;
  }

  .hero-image-container {
    width: 50%;
  }

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

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

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

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

/*
  .metrics-grid-2 {
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
  }
*/
 .metrics-grid-3 {
   display: grid !important;
   grid-template-columns: 1fr !important;
   gap: 10px !important;
 }
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .case-details {
    flex-direction: row;
    align-items: center;
  }

  .case-arrow {
    margin: 0 1rem;
  }
}

@media (min-width: 1024px) {
  .flow-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
  }

  .flow-item {
    width: 18%;
  }

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

  .pricing-plan.recommended {
    transform: scale(1.05);
  }
}
/* カスタム結果表示のスタイル */
.custom-results {
    margin-top: 1rem;
  }
  
  .custom-results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .custom-result-column {
    margin-bottom: 1.5rem;
  }
  
  .custom-result-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
  }
  
  .custom-chart-container {
    background-color: var(--gray-light);
    padding: 1.25rem;
    border-radius: var(--border-radius-lg);
    width: 50%;
  }
  body h2, 
section h2, 
.container h2 {
  text-align: center !important;
}
  .flow-chart-bars {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
    text-align: left;
  }
  /*
  .flow-chart-bar {
    width: 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  */
  .flow-chart-label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
  
  .flow-chart-column {
    background-color: var(--gray-light);
    width: 100%;
    position: relative;
  }
  
  .flow-chart-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    transition: height 1s ease-out;
    height: 0;
  }
  
  .flow-chart-value {
    font-size: 0.875rem;
    margin-top: 0.5rem;
  }
  
  .flow-chart-highlight {
    background-color: rgba(255, 255, 0, 0.3);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    text-align: center;
  }
  
  .flow-chart-highlight-text {
    font-weight: 700;
  }
  
  .custom-result-details {
    background-color: var(--gray-light);
    padding: 1.25rem;
    border-radius: var(--border-radius-lg);
  }
  
  .custom-result-item {
    margin-top: 1rem;
  }
  
  .custom-result-label {
    font-size: 0.875rem;
  }
  
  .custom-result-value-title {
    font-weight: 700;
    margin-top: 0.5rem;
  }
  
  .custom-result-value-highlight {
    background-color: rgba(255, 255, 0, 0.3);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    margin-top: 0.5rem;
  }
  
  .custom-result-value-label {
    font-weight: 700;
  }
  
  .custom-result-value {
    margin-top: 0.25rem;
  }
  
  @media (min-width: 768px) {
    .custom-results-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .custom-result-column {
      margin-bottom: 0;
    }
  }
  .case-column {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  .case-subtitle {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #0056B3;
    margin-bottom: 15px;
  }
  
  .case-list {
    margin: 0;
    padding-left: 20px;
  }
  
  .case-list li {
    margin-bottom: 8px;
  }
  
  .case-arrow {
    margin: 0 15px;
  }

.case-column-text {
color: var(--accent-hover);
font-weight: 600;
  }
  
  @media (max-width: 768px) {
    .case-details {
      flex-direction: column;
    }
    
    .case-column {
      margin-bottom: 15px;
    }
    
    .case-arrow {
      transform: rotate(90deg);
      margin: 15px 0;
    }
  }
  .menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    background-color: #ffffff;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: white;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border:1px solid #9CA3AF;
}

.menu-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.menu-icon svg {
    width: 100%;
    height: 100%;
    stroke: #333;
}

.menu-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}
.problems-conclusion {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.key-message {
    position: relative;
    max-width: 900px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid #0056B3;
    border-radius: 8px;
    padding: 25px 30px 25px 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite alternate;
}

.key-message:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.key-message-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #0056B3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.key-message-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.key-message-text {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    color: #333;
}

.accent-text {
    color: #FF6F00;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.accent-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FF6F00;
}

.primary-text {
    color: #0056B3;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.primary-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0056B3;
}

@keyframes pulse {
    0% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    100% {
        box-shadow: 0 10px 30px rgba(0, 86, 179, 0.2);
    }
}

@media (max-width: 768px) {
    .key-message {
        padding: 20px 20px 20px 70px;
    }
    
    .key-message-text {
        font-size: 18px;
    }
    
    .key-message-icon {
        left: 15px;
        width: 35px;
        height: 35px;
    }
}
/* そんな悩みを解決し、多くの企業様がCROCOの高品質SEO記事・コンテンツ制作代行をご利用頂いております。 */
#client {
  overflow: hidden;
}
#client .slick-track {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 3500px;
  margin: 20px 0 0 0;
}
#client .slick-track div {
  width: 100px;
  height: 60px;
  margin: 0 20px;
  list-style: none;
}
#client .slick-track div img {
  width: 80%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
#client .slick-track:first-child {
  margin: 0;
}
/* CSSファイルに追加してください */
.enhanced-cta-section {
  position: relative;
  padding: 30px 20px; /* 縦幅を縮小 */
  margin: 30px 0; /* マージンも縮小 */
  text-align: center;
  border-radius: 12px;
  background: #f0f4f8; /* よりはっきりとした単色の背景 */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e7ff;
}

.cta-background {
  display: none; /* ぼんやりした背景効果を削除 */
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-heading {
  font-size: 1.8rem; /* サイズを少し小さく */
  font-weight: 700;
  margin-bottom: 10px; /* マージンを縮小 */
  color: var(--primary);
}

.cta-subheading {
  font-size: 1.3rem;
  color: var(--gray-dark);
  margin-bottom: 20px; /* マージンを縮小 */
}

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

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px; /* パディングを縮小 */
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.primary-button {
  background: var(--accent);
  color: white;
}

.primary-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3);
}

.primary-button-green {
  background: var(--accent-green);
  color: white;
}

.primary-button-green:hover {
  background: var(--accent-hover-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3);
}

.secondary-button {
  background: white;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.secondary-button:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3);
}

.secondary-button-green {
  background: white;
  color: var(--accent);
  border: 2px solid var(--accent-green);
}

.secondary-button-green:hover {
  background: var(--accent-green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3);
}

.button-icon {
  margin-right: 10px;
  font-size: 1.5rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .enhanced-cta-section {
    padding: 25px 15px;
    margin: 20px 0;
  }
  
  .cta-heading {
    font-size: 24px;
  }
  
  .cta-subheading {
    font-size: 16px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 220px;
    padding: 10px 22px;
  }
}
/* 流入数グラフの表示調整用CSS */
.flow-chart-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 20px;
}

.flow-chart-bar {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-chart-bar img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 画像サイズを統一 */
.custom-chart-container {
  border: solid 1px gray;
  background-color: var(--gray-light);
  padding: 20px;
  border-radius: var(--border-radius-lg);
  margin-bottom: 20px;
}

/* 結果表示のグリッドレイアウト調整 */
.custom-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* モバイル表示の調整 */
@media (max-width: 768px) {
  .custom-results-grid {
    grid-template-columns: 1fr;
  }
  
  .flow-chart-bars {
    flex-direction: column;
    align-items: center;
  }
  
  .flow-chart-bar {
    width: 100%;
    max-width: 250px;
    margin-bottom: 15px;
  }
}

/* 画像の高さを揃える */
.flow-chart-bar img {
  width: auto;
  height: 200px; /* 全ての画像の高さを統一 */
  object-fit: contain;
}

/* 画像の説明テキスト */
.flow-chart-label {
  margin-top: 10px;
  font-weight: bold;
  text-align: center;
}

/* 改善結果の表示調整 */
.custom-result-details {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom-result-value-highlight {
  margin-bottom: 10px;
  padding: 10px;
}
/* 離乳食メーカー系企業様の流入数結果表示用スタイル */
.flow-results-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  align-items: flex-start;
}

.flow-result-box {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flow-result-label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.flow-chart-container {
  background-color: var(--gray-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  width: auto;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.flow-chart-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.flow-result-value {
  font-size: 0.9rem;
  font-weight: 600;
}

.flow-result-info {
  flex: 1;
  min-width: 200px;
  background-color: var(--gray-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
}

.flow-result-info-title {
  font-weight: 700;
  margin-bottom: 15px;
}

.flow-result-info-item {
  margin-bottom: 15px;
}

.flow-result-info-subtitle {
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 5px;
}

.flow-result-info-label {
  text-align: center;
  font-weight: 600;
  margin-top: 10px;
}

.flow-result-info-highlight {
  background-color: rgba(255, 255, 0, 0.3);
  padding: 10px;
  border-radius: 6px;
  margin-top: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .flow-results-container {
      flex-direction: column;
  }
  
  .flow-result-box {
      width: 100%;
  }
  
  .flow-result-info {
      width: 100%;
  }
}

/* テキストが蛍光ペンの上に表示される蛍光ペン効果 */
.highlight {
  position: relative; /* 相対位置を設定 */
  display: inline-block; /* インライン要素をブロック化 */
  font-weight: bold; /* テキストを太字に */
  z-index: 1; /* テキスト自体に正のz-indexを設定 */
}

.highlight::after {
  content: ''; /* 擬似要素 */
  position: absolute;
  bottom: 0; /* テキストの下に配置 */
  left: 0;
  width: 100%; /* テキストの幅に合わせる */
  height: 8px; /* 線の太さ */
  background-color: rgb(255, 255, 0); /* 黄色の蛍光ペン風の色 */
  z-index: -1; /* テキストの後ろに配置 */
  border-radius: 2px; /* 角を少し丸く */
}
.flow-chart-container {
  position: relative; /* 子要素の絶対位置指定の基準点にする */
  background-color: var(--gray-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  width: auto;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.flow-chart-container .metric-title {
  position: absolute;
  top: 10px;
  left: 10px;
  font-weight: bold;
  font-size: 14px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 5;
}

/* 強化された実績データスタイル */
        .hero-stats-enhanced {
          background: linear-gradient(135deg, rgba(30, 64, 175, 0.15) 0%, rgba(249, 115, 22, 0.15) 100%); /* 少し濃い目のブランドカラーグラデーション */
          /*
          background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
*/
          border-radius: 10px;
          padding: 1.0rem 0.5rem;
          margin-bottom: 1rem;
          border: 2px solid rgba(30, 64, 175, 0.2);
          box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
          position: relative;
          overflow: hidden;
      }

      .hero-stats-enhanced::before {
          content: '';
          position: absolute;
          top: -50%;
          left: -50%;
          width: 200%;
          height: 200%;
          background: radial-gradient(circle, rgba(30, 64, 175, 0.05) 0%, transparent 70%);
          animation: pulse-bg 3s ease-in-out infinite alternate;
      }

      @keyframes pulse-bg {
          0% { opacity: 0.5; }
          100% { opacity: 1; }
      }

      .stats-header {
          text-align: center;
          margin-bottom: 0.5rem;
          position: relative;
          z-index: 2;
      }

      .stats-title {
          font-size: 2rem;
          font-weight: 800;
          color: var(--primary);
          text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }

      .stats-subtitle {
          font-size: 1.1rem;
          color: var(--gray-dark);
          font-weight: 500;
      }

      .hero-stats-grid {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 1.0rem;
          position: relative;
          z-index: 2;
      }

/* FIX: 実績カードのベース背景（コメント解除版） */
.stat-card-enhanced {
  background: linear-gradient(145deg, #ffffff 0%, #f0f8ff 100%);
  border-radius: 10px;
  padding: 1.0rem 0.0rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 3px solid transparent;
}

/* 左カード（青系）— primary が未定義なので追加 */
.stat-card-enhanced.primary-enhanced {
  background: linear-gradient(145deg, #ffffff 0%, #eef5ff 100%);
}

/* 中カード（オレンジ系） */
.stat-card-enhanced.accent-enhanced {
  background: linear-gradient(145deg, #ffffff 0%, #fff5ee 100%);
}

/* 右カード（青系） */
.stat-card-enhanced.blue-enhanced {
  background: linear-gradient(145deg, #ffffff 0%, #eef5ff 100%);
}
      .stat-card-enhanced::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          height: 6px;
          background: linear-gradient(90deg, var(--primary), var(--blue-light));
          border-radius: 20px 20px 0 0;
      }

      .stat-card-enhanced.accent-enhanced::before {
          background: linear-gradient(90deg, var(--accent), var(--accent-hover));
      }

      .stat-card-enhanced.blue-enhanced::before {
          background: linear-gradient(90deg, var(--blue-light), var(--blue-dark));
      }

      .stat-icon {
          width: 60px;
          height: 60px;
          margin: 0 auto 1rem;
          background: linear-gradient(135deg, var(--primary), var(--blue-light));
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
      }

      .accent-enhanced .stat-icon {
          background: linear-gradient(135deg, var(--accent), var(--accent-hover));
          box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
      }

      .blue-enhanced .stat-icon {
          background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
          box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
      }

      .stat-icon svg {
          width: 30px;
          height: 30px;
          stroke: white;
          stroke-width: 2.5;
      }

      /* 強化された実績データスタイル (既存のルールを修正) */
      .stat-content-enhanced {
        position: relative;
        display: flex;
        flex-direction: column; /* 子要素を縦に並べる */
        align-items: center; /* 横方向の中央揃え */
        /* 上記の flex-direction: column; と align-items: center; は維持 */
      }

      /* stat-number-enhanced と stat-unit-enhanced を囲む .stat-value-group のスタイル */
      .stat-value-group {
        display: flex; /* 数字と単位を横並びにする */
        justify-content: center; /* 横方向の中央揃え */
        align-items: baseline; /* ベースラインで揃える */
        gap: 2px; /* 数字と単位の間隔 */
        /* margin-bottom は stat-label-enhanced の後に来るため不要になるか、調整が必要 */
      }

      .stat-number-enhanced {
          font-size: 2.3rem;
          font-weight: 800;
          color: var(--primary);
          line-height: 1;
          margin-bottom: 0.2rem;
          text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
          background: linear-gradient(135deg, var(--primary), var(--blue-light));
          -webkit-background-clip: text;
          background-clip: text;
          color: transparent;
      }

      .accent-enhanced .stat-number-enhanced {
          background: linear-gradient(135deg, var(--accent), var(--accent-hover));
          -webkit-background-clip: text;
          background-clip: text;
          color: transparent;
      }

      .blue-enhanced .stat-number-enhanced {
          background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
          -webkit-background-clip: text;
          background-clip: text;
          color: transparent;
      }

      .stat-number-enhanced.special {
          font-size: 2.5rem;
          background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
          -webkit-background-clip: text;
          background-clip: text;
          color: transparent;
      }

      .stat-unit-enhanced {
          font-size: 1.0rem;
          font-weight: 600;
          color: var(--gray-dark);
          margin-bottom: 0.5rem;
      }

      .stat-label-enhanced {
          font-size: 1rem;
          font-weight: 600;
          color: var(--gray-dark);
          margin-bottom: 0.3rem;
      }

      .stat-badge {
          display: inline-block;
          background: linear-gradient(135deg, var(--primary), var(--blue-light));
          color: white;
          padding: 0.3rem 0.8rem;
          margin-bottom:7px;
          border-radius: 20px;
          font-size: 0.75rem;
          font-weight: 700;
          text-transform: uppercase;
          letter-spacing: 0.5px;
          box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
      }

      .accent-enhanced .stat-badge {
          background: linear-gradient(135deg, var(--accent), var(--accent-hover));
          box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
      }

      .blue-enhanced .stat-badge {
          background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
          box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
      }

      .stats-footer {
          text-align: center;
          margin-top: 2rem;
          position: relative;
          z-index: 2;
      }

      .stats-note {
          font-size: 0.9rem;
          color: var(--gray-dark);
          font-weight: 500;
          font-style: italic;
          background: rgba(255, 255, 255, 0.8);
          padding: 0.8rem 1.5rem;
          border-radius: 25px;
          display: inline-block;
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      }

/* 問い合わせポップアップ */
.popup-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #ffffff;
    padding: 30px;
    width: 90%;
    max-width: 960px;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .popup-modal {
        padding: 20px;
        width: 95%;
        max-height: 85vh;
    }
}

/* ポップアップモーダル */
.popup-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #ffffff;
    padding: 30px;
    width: 90%;
    max-width: 960px;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.popup-modal.is-visible {
    display: block;
}

/* ポップアップヘッダー */
.popup-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.popup-close-btn {
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.popup-close-btn:hover {
    background: #ddd;
}

/* ポップアップタイトル */
.popup-title {
    text-align: center;
    margin-bottom: 20px;
}

/* ポップアップボディ */
.popup-body {
    padding: 10px;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
}

/* フォームiframe */
.form-iframe {
    width: 100%;
    height: 600px;
    border: none;
}

/* オーバーレイ */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
}

.popup-overlay.is-visible {
    display: block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .popup-modal {
        padding: 20px;
        width: 95%;
        max-height: 95vh;
    }
    
    .popup-body {
        padding: 5px;
        max-height: calc(95vh - 100px);
    }
    
    .form-iframe {
        height: 450px;
    }
    
    .popup-title {
        font-size: 1.8rem;
    }
    
    .popup-close-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .popup-modal {
        padding: 15px;
        width: 98%;
        border-radius: 8px;
    }
    
    .form-iframe {
        height: 400px;
        min-height: 350px;
    }
}

/*グラフ*/
.metric-graph-img {
  width: 100%;
  max-width: 210px;
  height: auto;
}

.metric-graph-img.metric-graph-small {
    max-width: 240px !important;
    height: auto !important;
    margin: 0 auto !important;
}

.achievement-illust {
  max-width: 280px;
  height: auto;
  margin-top: 60px;
}

@media (max-width: 768px) {

  .metric-graph-img,
  .metric-graph-img.metric-graph-small,
  .achievement-illust {
    max-width: 100%;
    margin-top: 30px;
  }
}

/* 事例タブのスタイル */
/* 結果タイトルの基本スタイル */
.results-title {
  margin-bottom: 5px;
  font-size: 1.25rem;
}

/* 結果カラム */
.result-column {
  flex: 1;
  min-width: 0;
  padding-left: 5px;
}

/* メトリクスグリッド */
.metrics-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

/* コンパクトなメトリクスカード 
.metric-card-compact {
  padding: 5px;
}
*/
/* モバイル対応 */
@media (max-width: 768px) {

  /* 親コンテナのフレックス解除 */
  .double-metrics-row {
    display: block !important;
  }

  /* 結果カラムを縦並びに */
  .result-column {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }

  /* タイトルの調整 */
  .results-title {
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
    text-align: center;
    word-break: keep-all;
    line-height: 1.4;
  }

  /* グリッドを1列に変更 */
  .metrics-mobile-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* メトリクスカードの調整 
  .metric-card-compact {
    padding: 10px !important;
    text-align: center;
  }
*/
  /* グラフ画像の調整 */
  .metric-graph-img.metric-graph-small {
    max-width: 80% !important;
    margin: 0 auto;
  }

  /* テキストの折り返し防止 */
  .results-title-mobile {
    white-space: normal;
    overflow-wrap: break-word;
  }
}

/* より小さい画面用 */
@media (max-width: 480px) {
  .results-title {
    font-size: 1rem !important;
  }

  .metric-graph-img.metric-graph-small {
    max-width: 100% !important;
  }
}


/* 結果カラムの基本スタイル */
.result-column-responsive {
  flex: 1;
  min-width: 0;
  padding-left: 5px;
}

/* コンパクトなタイトル */
.results-title-compact {
  margin-bottom: 5px;
  font-size: 1.25rem;
}

/* メトリクスグリッド */
.metrics-grid-responsive {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

/* コンパクトなカード 
.metric-card-compact {
  padding: 5px;
}
*/
/* 小さいタイトル */
.metric-title-small {
  font-size: 14px;
  margin-bottom: 2px;
}

/* 比較セクション */
.metric-comparison-compact {
  min-width: 180px;
  white-space: nowrap;
  overflow: visible;
}

/* メトリクス値のスタイル */
.metric-before {
  font-size: medium;
  font-weight: bold;
}

.metric-after {
  font-size: large;
  font-weight: bold;
}

.metric-unit {
  font-size: small;
}

.metric-arrow {
  display: inline-block;
  margin: 5px 0;
}

/* モバイル対応 */
@media (max-width: 768px) {

  /* カラムを縦並びに */
  .result-column-responsive {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }

  /* タイトルを調整 */
  .results-title-compact {
    font-size: 1rem !important;
    text-align: center;
    margin-bottom: 15px !important;
  }

  /* グリッドを1列に */
  .metrics-grid-responsive {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  /* カードのパディング増加 
  .metric-card-compact {
    padding: 15px !important;
    background: #f8f9fa;
    border-radius: 8px;
  }
*/
  /* 比較部分を中央揃え */
  .metric-comparison-compact {
    min-width: auto !important;
    white-space: normal !important;
    text-align: center;
  }

  /* グラフ画像を中央配置 */
  .metric-graph {
    text-align: center;
  }

  .metric-graph-img.metric-graph-small {
    max-width: 150px !important;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {

  /* さらに小さい画面用 */
  .metric-graph-img.metric-graph-small {
    max-width: 120px !important;
  }

  .metric-before,
  .metric-after {
    font-size: 0.9rem !important;
  }
}

/* styles_v2.css に追加（例） */
.primary-enhanced {
  border-top-color: var(--primary);
}

/* ========================================
   統合メトリクスカードシステム
   ======================================== */

/* ベースカード */
.metric-card {
  background-color: var(--gray-light);
  padding: 1.1rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

/* カードバリエーション（修飾子） */
.metric-card--enhanced {
  background: linear-gradient(145deg, #ffffff 0%, #f0f8ff 100%);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 3px solid transparent;
}

.metric-card--primary {
  border-top: 4px solid var(--primary);
}

.metric-card--accent {
  border-top: 4px solid var(--accent);
}

/* タイトル */
.metric-card__title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

/* グラフコンテナ */
.metric-card__graph {
  margin: 1rem 0;
}

.metric-card__graph img {
  width: 100%;
  max-width: 210px;
  height: auto;
  margin: 0 auto;
}

/* 数値表示 */
.metric-card__value {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.metric-card__unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-dark);
}

.metric-card__label {
  font-size: 0.9rem;
  color: var(--gray-dark);
}

/* 比較表示 */
.metric-card__comparison {
  margin-top: 1rem;
  text-align: center;
}

.metric-card__before,
.metric-card__after {
  display: block;
  margin: 0.5rem 0;
}

.metric-card__after {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent);
}

/* グリッドレイアウト */
.metrics-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* グリッドバリエーション */
.metrics-grid--2col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.metrics-grid--3col {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.metrics-grid--4col {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

  .metrics-grid,
  .metrics-grid--2col,
  .metrics-grid--3col,
  .metrics-grid--4col {
    grid-template-columns: 1fr;
  }

  .metric-card__graph img {
    max-width: 150px;
  }

  .metric-card__value {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .metric-card {
    padding: 0.75rem;
  }

  .metric-card__graph img {
    max-width: 120px;
  }
}

/* 古いクラスから新しいクラスへのマッピング（段階的移行用） */
.stat-card,
#achievements .result-item {
  @extend .metric-card;
}



/* =========================
   不動産タブ（case-1）SPレイアウト修正
   ========================= */
@media (max-width: 768px) {

  /* 1) 2カラムを縦積みに（親の横並びを解除） */
  .double-metrics-row {
    display: block !important;
  }

  /* 2) 左右ブロックのレイアウト安定化（inline styleのflexを打ち消し） */
  .results-row-container {
    display: block !important;
    width: 100% !important;
    padding-right: 0 !important;
    /* 余白が大きい場合の保険 */
  }

  .result-column-responsive {
    width: 100% !important;
    margin-top: 16px !important;
    /* 下段に来たときの間隔 */
  }

  /* 3) メトリクスカードのグリッドを1列に */
  .metrics-grid-responsive {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* 4) 中身の見やすさ（画像と数字ブロック） */
  .metric-graph-img.metric-graph-small {
    max-width: 240px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .metric-comparison-compact .metric-values {
    min-width: auto !important;
    white-space: normal !important;
  }

  /* 任意：タイトルの可読性アップ */
  .results-title,
  .results-title-compact {
    font-size: 1.1rem !important;
    text-align: center !important;
    margin-bottom: 10px !important;
    line-height: 1.4;
  }
}
/* ===========================================
   レスポンシブデザイン強化 - 追加修正
   =========================================== */

/* 480px以下のスマートフォン対応 */
@media (max-width: 480px) {

  /* ヒーローセクション */
  .hero-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }

  .stat-card-enhanced {
    padding: 1rem;
  }

  .stat-number-enhanced {
    font-size: 1.8rem !important;
  }

  .stat-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
  }

  .headline {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .tagline p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    font-size: 1.2rem;
    padding: 0.6rem 1rem;
  }

  /* 問題点セクション */
  .section-title {
    font-size: 1.5rem;
    width: 90%;
  }

  .problem-card img,
  .problem-icon img {
    max-width: 100%;
    height: auto;
  }

  .problem-title {
    font-size: 1.1rem;
    min-height: auto;
  }

  .problem-description {
    font-size: 0.9rem;
  }

  .key-message {
    padding: 20px 15px 20px 60px;
  }

  .key-message-text {
    font-size: 0.95rem;
  }

  .key-message-icon {
    width: 35px;
    height: 35px;
    left: 12px;
  }

  /* 強みセクション */
  .strength-title,
  .realization-title {
    font-size: 1.1rem;
  }

  .strength-description,
  .realization-description {
    font-size: 0.9rem;
  }

  /* 実績タブ */
  .results-tabs {
    gap: 0;
  }

  .tab-button {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    flex: 1;
    min-width: 0;
  }

  .case-title {
    font-size: 1rem;
  }

  .case-subtitle {
    font-size: 1rem;
  }

  .case-list {
    font-size: 0.85rem;
  }

  /* グラフ画像 */
  .metric-graph-img {
    max-width: 100% !important;
  }

  .achievement-illust {
    max-width: 200px;
  }

  /* 料金プラン */
  .pricing-plan {
    margin-bottom: 1rem;
  }

  .plan-name {
    font-size: 1.1rem;
  }

  .plan-price {
    font-size: 0.9rem;
  }

  .feature-text {
    font-size: 0.85rem;
  }

  /* フローティングCTA */
  .floating-cta {
    bottom: 1rem;
    right: 1rem;
    max-width: 280px;
    padding: 15px;
  }

  .floating-cta span:first-child {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .floating-cta .btn {
    font-size: 1.3rem;
    padding: 12px 18px;
    min-height: 60px;
  }

  .floating-cta .btn span {
    font-size: 1.3rem;
  }

  /* CTAセクション */
  .cta-heading {
    font-size: 1.5rem;
  }

  .cta-subheading {
    font-size: 1.1rem;
  }

  .cta-button {
    font-size: 1.2rem;
    padding: 12px 20px;
  }

  /* メニューグリッド */
  .menu-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem;
  }

  .menu-icon {
    width: 40px;
    height: 40px;
  }

  .menu-text {
    font-size: 0.95rem;
  }
}

/* 360px以下の極小デバイス */
@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }

  .headline {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.5rem 0.8rem;
  }

  .floating-cta {
    max-width: 240px;
    padding: 12px;
  }

  .floating-cta span:first-child {
    font-size: 1rem;
  }

  .floating-cta .btn {
    font-size: 1.1rem;
    min-height: 50px;
  }
}

/* 横向きモード対応 */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-section {
    padding: 2rem 0;
  }

  .hero-stats-enhanced {
    padding: 0.75rem 0.5rem;
  }

  .floating-cta {
    bottom: 0.5rem;
    right: 0.5rem;
    max-width: 220px;
  }

  section {
    padding: 3rem 0;
  }
}

/* タブレット縦向き最適化 */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .case-details {
    flex-direction: column;
  }

  .tab-button {
    font-size: 0.95rem;
  }
}

/* 画像の最適化 - 全デバイス */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-image,
.strength-img,
.realization-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* テキストの折り返し防止解除 */
.metric-comparison,
.flow-result-info-label {
  white-space: normal !important;
  word-wrap: break-word;
}

/* スクロール可能なテーブル（将来的な拡張用） */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ポップアップモーダルの改善 */
@media (max-width: 480px) {
  .popup-modal {
    width: 98%;
    max-width: 98%;
    padding: 15px 10px;
    max-height: 90vh;
  }

  .popup-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .form-iframe {
    height: 380px;
  }

  .popup-body {
    padding: 5px;
  }
}
/* ヒーロー画像のスマホ非表示対応 */
@media (max-width: 768px) {
  .hero-image-container {
    display: none !important;
  }

  /* テキスト部分を中央配置に変更 */
  .hero-text {
    width: 100%;
    text-align: center;
  }

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

  /* ロゴを中央に */
  .logo {
    margin-left: auto;
    margin-right: auto;
  }

  /* 区切り線を中央に */
  .divider {
    margin-left: auto;
    margin-right: auto;
  }

  /* CTAボタンを中央に */
  .cta-buttons {
    justify-content: center;
  }
}

/* タブレットでは表示するが、必要に応じて調整可能 */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-image-container {
    width: 45%;
  }

  .hero-text {
    width: 55%;
  }
}
/* 体制図のスマホ非表示対応 */
@media (max-width: 768px) {
  .team-structure {
    display: none !important;
  }
}
/* メニューグリッド - スマホで横3列表示 */
@media (max-width: 768px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px;
  }

  .menu-item {
    padding: 12px 8px;
  }

  .menu-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 8px;
  }

  .menu-text {
    font-size: 0.75rem;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px;
  }

  .menu-item {
    padding: 10px 6px;
  }

  .menu-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 26px;
  }

  .menu-text {
    font-size: 0.7rem;
    line-height: 1.2;
  }
}

/* 360px以下の極小デバイス - さらに調整 */
@media (max-width: 360px) {
  .menu-grid {
    gap: 4px;
  }

  .menu-item {
    padding: 8px 4px;
  }

  .menu-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 5px;
  }

  .menu-text {
    font-size: 0.65rem;
    line-height: 1.2;
  }
}
/* 全セクションのスマホ対応 */
@media (max-width: 768px) {
  section {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  section {
    padding: 1.5rem 0;
  }

  .flow-section {
    padding: 1rem 0 !important;
  }
}
/* 実績イラスト画像のスマホ非表示 */
@media (max-width: 768px) {
  .achievement-illust {
    display: none !important;
  }

  /* または、画像ファイル名で指定する場合 */
  img[src*="achievements_illust"] {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .achievement-illust {
    display: none !important;
  }

  img[src*="achievements_illust"] {
    display: none !important;
  }
}