:root {
  --primary: #4A6FDC;
  --primary-light: #E5EDFF;
  --secondary: #34C759;
  --text: #333333;
  --text-light: #666666;
  --background: #FFFFFF;
  --border: #EAEAEA;
  --accent: #FF9500;
}

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

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: #F9FAFC;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダーセクション */
header {
  background-color: var(--background);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* レスポンシブ時のヘッダー高さ調整 */
@media (max-width: 992px) {
  header {
    padding: 10px 0;
    /* 上下のパディングを小さくして高さを調整 */
  }

  .header-content {
    min-height: 50px;
    /* 最小の高さを設定 */
  }

  /* ハンバーガーメニューの位置調整 */
  .hamburger-menu {
    display: block !important;
    position: absolute;
    right: 20px;
    top: 50%;
    /* 上下中央に配置 */
    transform: translateY(-50%);
    /* 中央揃えの調整 */
    z-index: 1000;
  }

  .header-left img {
    height: 40px;
    /* ロゴの高さも少し小さく */
  }
}

/* さらに小さい画面サイズでの調整 */
@media (max-width: 576px) {
  header {
    padding: 8px 0;
    /* さらに小さく */
  }

  .header-left img {
    height: 35px;
    /* ロゴをもう少し小さく */
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
  z-index: 1000;
}

.hamburger-icon {
  width: 30px;
  height: 22px;
  position: relative;
}

.hamburger-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
  top: 0px;
}

.hamburger-icon span:nth-child(2) {
  top: 9px;
}

.hamburger-icon span:nth-child(3) {
  top: 18px;
}

.hamburger-icon.open span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.hamburger-icon.open span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
}

.header-buttons {
  display: flex;
  gap: 15px;
}

.header-buttons a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-buttons a i {
  margin-right: 8px;
  font-size: 18px;
}

/* ナビゲーション */
nav {
  margin-right: 30px;
  /* PCでの表示時にナビとボタンの間に余白を追加 */
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--primary);
}

/* ボタン共通スタイル */
.button {
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button {
  background: linear-gradient(135deg, var(--primary), #3a5fc1);
  color: white;
  border: none;
}

.cta-button:hover {
  background: linear-gradient(135deg, #3a5fc1, var(--primary));
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(74, 111, 220, 0.25);
}

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

.login-button:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(74, 111, 220, 0.15);
}

.cta-button-large {
  background-color: white;
  color: var(--primary);
  padding: 15px 40px;
  font-size: 18px;
  border-radius: 50px;
}

.cta-button-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ヒーローセクション */
.hero {
  padding: 80px 0;
  text-align: center;
  border-radius: 0 0 30px 30px;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  color: var(--primary);
}

.hero p {
  font-size: 24px;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 40px;
}

.hero-image {
  margin-top: 40px;
  max-width: 100%;
}

.top-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.highlight-underline {
  position: relative;
  display: inline-block;
  z-index: 1;
  /* 追加 */
}

.highlight-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 100%;
  height: 18px;
  background-color: rgba(255, 255, 0, 0.8);
  /* 不透明度を上げて見やすく */
  z-index: -1;
  border-radius: 3px;
}

/* セクション共通スタイル */
.section {
  padding: 80px 0;
}

.section h2.section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.container h2.section-title {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 36px;
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 100%;
  height: 12px;
  background-color: rgba(255, 255, 0, 0.8);
  z-index: -1;
  border-radius: 3px;
}


/* 課題提示セクション */
.pain-points-section {
  padding: 60px 0;
  position: relative;
  border-radius: 30px;
  margin: 60px 0;
}

.pain-points-title {
  text-align: center;
  font-size: 36px;
  color: var(--text);
  margin-bottom: 50px;
  position: relative;
}

.pain-points-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.pain-points-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.pain-point-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  display: flex;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.pain-point-card:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.pain-point-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.pain-point-card:hover:after {
  transform: scaleX(1);
}

.pain-point-icon {
  background: linear-gradient(135deg, var(--primary), #3451b2);
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(74, 111, 220, 0.2);
  color: white;
  font-size: 34px;
}

.pain-point-content h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.pain-point-content p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

.pain-points-message {
  text-align: center;
  margin-top: 40px;
  position: relative;
}

.pain-points-message p {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  background: -webkit-linear-gradient(var(--primary), #3451b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 10px 30px;
  margin-bottom: 15px;
}

.arrow-down {
  animation: bounce 2s infinite;
  margin-top: 10px;
  display: inline-block;
  font-size: 24px;
  color: var(--primary);
}

.arrow-down i {
  font-size: 28px;
  color: var(--primary);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-15px);
  }

  60% {
    transform: translateY(-7px);
  }
}

/* 特徴カード */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.feature-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  background-color: var(--primary-light);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 28px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-light);
  font-size: 16px;
}

/* 強化された特徴カード */
.benefits-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 980px;
  margin: 0 auto;
}

.benefit-card-enhanced {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.benefit-card-enhanced:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.benefit-icon-wrapper {
  background: linear-gradient(135deg, var(--primary), #3451b2);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.benefit-icon-large {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  margin-bottom: 15px;
}

.benefit-content {
  padding: 30px 35px;
  flex-grow: 1;
  position: relative;
}

.benefit-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  line-height: 1.3;
}

.benefit-divider {
  height: 3px;
  width: 60px;
  background-color: var(--secondary);
  margin-bottom: 15px;
}

.benefit-text {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
}

.benefit-text:last-child {
  margin-bottom: 0;
}

.benefit-text strong {
  color: var(--text);
}

.benefit-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--secondary);
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

/* FAQ セクション */
.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 40px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-category-header {
  background: var(--primary);
  color: white;
  padding: 20px 25px;
}

.faq-category-header h3 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

/* アコーディオン */
.accordion {
  padding: 15px 25px;
  background-color: #fff;
  border-radius: 0 0 8px 8px;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-button {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s, background-color 0.3s;
}

.accordion-button:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.accordion-button.active {
  color: var(--primary);
}

.accordion-button i {
  transition: transform 0.3s;
}

.accordion-button.active i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
}

.accordion-content p {
  color: var(--text-light);
  margin: 10px 0 15px;
  line-height: 1.8;
  font-size: 16px;
}

.accordion-content ul {
  color: var(--text-light);
  margin: 15px 0 15px 20px;
  line-height: 1.8;
}

.accordion-content ul li {
  margin-bottom: 8px;
}

.accordion-content strong {
  color: var(--text);
}

.active .accordion-content {
  max-height: 2000px;
  /* 十分な高さを確保 */
}

/* セットアップリスト */
.setup-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.setup-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  background-color: #f8f9fc;
  padding: 15px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.setup-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.setup-list i {
  color: var(--primary);
  font-size: 20px;
  margin-right: 15px;
  margin-top: 3px;
}

.setup-item {
  display: flex;
  flex-direction: column;
}

.setup-item strong {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--text);
}

.setup-item span {
  font-size: 14px;
  color: var(--text-light);
}

/* CTA セクション */
.cta-section {
  background: linear-gradient(135deg, var(--primary), #3451b2);
  padding: 80px 0;
  text-align: center;
  border-radius: 30px;
  margin: 80px auto;
  max-width: 1160px;
}

.cta-section h2 {
  color: white;
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* フッター */
footer {
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

.footer-info {
  max-width: 300px;
}

.footer-info p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
}

.social-links a {
  color: var(--text-light);
  margin-right: 15px;
  font-size: 18px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--primary);
}

.footer-links h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 14px;
}

/* 活用事例セクション */
.use-cases-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.use-case-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.use-case-header {
  background: linear-gradient(135deg, var(--primary), #3451b2);
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.use-case-icon {
  background-color: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 26px;
  flex-shrink: 0;
}

.use-case-header h3 {
  color: white;
  font-size: 22px;
  margin: 0;
}

.use-case-content {
  padding: 30px;
}

.use-case-section {
  margin-bottom: 30px;
}

.use-case-section:last-child {
  margin-bottom: 0;
}

.use-case-section h4 {
  font-size: 22px;
  /* 18pxから22pxに変更 */
  color: var(--primary);
  margin-bottom: 20px;
  /* 15pxから20pxに変更 */
  display: flex;
  align-items: center;
  gap: 12px;
  /* 10pxから12pxに変更 */
  font-weight: 700;
  /* 通常のフォント太さから太字に変更 */
  letter-spacing: 0.5px;
  /* 文字間隔を少し広げて視認性向上 */
}

.use-case-section h4 i {
  color: var(--secondary);
  font-size: 24px;
  /* アイコンのサイズも大きくする */
}

.use-case-section p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 15px;
}

.use-case-section p strong {
  color: var(--text);
}

.use-case-section p:last-child {
  margin-bottom: 0;
}

.use-case-section a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.use-case-section a:hover {
  text-decoration: underline;
}

.use-case-results {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.use-case-results li {
  background-color: #f8f9fc;
  border-left: 4px solid var(--secondary);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 0 8px 8px 0;
}

.use-case-results li strong {
  color: var(--text);
  display: block;
  margin-bottom: 5px;
}

.use-cases-message {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
  background-color: var(--primary-light);
  border-radius: 12px;
}

.use-cases-message p {
  color: var(--primary);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

/* 料金プランセクション */
.pricing-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  /* overflow-x: autoは残し、overflow-yを非表示に設定 */
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0;
  /* 上下のパディングを少し増やす */
}

.pricing-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 35px 20px;
  min-width: 250px;
  width: calc(25% - 15px);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  /* 高さを揃えるための設定 */
  align-self: stretch;
}

/* 「おすすめ」タグのあるカードの高さ調整 */
.pricing-card.recommended {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  /* 高さを計算して調整 */
  margin-top: 10px;
  margin-bottom: 10px;
}


.pricing-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(74, 111, 220, 0.2);
}

.pricing-header {
  text-align: center;
  margin-bottom: 25px;
}

.pricing-icon {
  background: linear-gradient(135deg, var(--primary-light), #d8e3ff);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--primary);
  font-size: 28px;
}

.pricing-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.pricing-subtitle {
  font-size: 14px;
  color: var(--text-light);
}

.pricing-price {
  text-align: center;
  margin-bottom: 25px;
  padding: 15px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.price-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 5px;
}

.price-period {
  font-size: 14px;
  color: var(--text-light);
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: 25px;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
}

.pricing-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

.pricing-features li i {
  color: var(--secondary);
  margin-right: 10px;
  font-size: 16px;
  margin-top: 3px;
}

.pricing-features .pricing-note {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 10px;
  font-style: italic;
}

.pricing-button {
  display: block;
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pricing-button:hover {
  background: linear-gradient(135deg, var(--primary), #3a5fc1);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(74, 111, 220, 0.25);
}

.pricing-notes {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-notes p {
  margin-bottom: 10px;
  font-size: 18px;
}


/* レスポンシブデザイン */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  nav {
    margin-right: 0;
    width: 100%;
  }

  nav ul {
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }

  nav ul li {
    margin: 0 15px 10px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 20px;
  }

  .hero-description {
    font-size: 20px;
  }

  /* ハイライトアンダーラインのレスポンシブ対応 */
  .highlight-underline::after {
    bottom: 10px;
    /* スマホ表示時は下部の位置を調整 */
    height: 10px;
    /* スマホ表示時は高さも調整 */
  }

  .hero-image {
    margin-top: 30px;
  }

  .section-title {
    font-size: 30px;
  }

  .feature-card {
    min-width: 100%;
  }

  .pain-points-container {
    grid-template-columns: 1fr;
  }

  .pain-point-card {
    flex-direction: column;
    text-align: center;
  }

  .pain-point-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .pain-points-message p {
    font-size: 20px;
    padding: 10px 15px;
  }

  .header-buttons {
    margin-top: 20px;
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info,
  .footer-links {
    margin-bottom: 30px;
    width: 100%;
  }

  .benefit-card-enhanced {
    flex-direction: column;
  }

  .benefit-icon-wrapper {
    padding: 20px;
    flex-direction: row;
    justify-content: flex-start;
    min-width: auto;
  }

  .benefit-icon-large {
    margin-bottom: 0;
    margin-right: 15px;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .benefit-label {
    position: absolute;
    top: 30px;
    left: 80px;
  }

  .use-case-header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .use-case-icon {
    margin-bottom: 10px;
  }

  .use-case-content {
    padding: 20px;
  }

  .use-case-results li {
    padding: 15px;
  }

  /* 料金プランの縦並び */
  .pricing-container {
    flex-direction: column;
    /* 縦並びに変更 */
    flex-wrap: wrap;
    align-items: center;
    /* 中央揃え */
    overflow-x: visible;
    /* 横スクロール解除 */
    overflow-y: visible;
    /* 縦スクロール解除 */
  }

  .pricing-card {
    width: 100%;
    /* 幅を100%に */
    max-width: 320px;
    margin-bottom: 20px;
    /* カード間のマージン追加 */
  }

  .pricing-card:last-child {
    margin-bottom: 0;
    /* 最後のカードのマージンを削除 */
  }

  .pricing-card.recommended {
    transform: scale(1);
    margin-top: 20px;
    margin-bottom: 20px;
    border: 2px solid var(--primary);
    order: -1;
    /* おすすめプランを最初に表示 */
  }

  .pricing-card.recommended:hover {
    transform: translateY(-5px);
  }
}

/* ヘッダーナビゲーション横並び修正 */
.header-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* navとbuttons部分を両端に配置 */
}

/* レスポンシブ対応のためのスタイル修正 */
@media (max-width: 992px) {
  .hamburger-menu {
    display: block !important;
    /* !importantを追加して確実に表示 */
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 1000;
  }

  .header-content {
    position: relative;
    justify-content: flex-start;
  }

  .header-nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: flex;
    flex-direction: column;
    /* モバイル表示では縦並びに */
    justify-content: flex-start;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
  }

  nav ul li {
    margin: 0 0 20px 0 !important;
    /* !importantを追加して確実に適用 */
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 10px 0;
    font-size: 18px;
  }

  .header-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    align-items: flex-start;
    width: 100%;
  }

  .header-buttons a {
    width: 100%;
    justify-content: center;
  }
}

/* 既存のレスポンシブルール修正 - この部分の順序を変更 */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row !important;
    /* !importantを追加して確実に適用 */
    text-align: left;
    position: relative;
  }

  /* ハンバーガーメニューは992pxメディアクエリで制御するため、こちらでは何も指定しない */
  /* 他の既存のスタイルは維持 */
}

.pricing-cta-note {
  margin-top: 15px;
  color: #666;
  font-size: 18px;
}

/* 料金プランセクションのスタイル */
.pricing-cards-container {
  display: table;
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto 40px;
}

.pricing-card {
  display: table-cell;
  width: 25%;
  /* 4つのプランなら各20% */
  padding: 0;
  margin: 0;
  vertical-align: top;
  border-right: 1px solid #eaeaea;
}

.pricing-card:last-child {
  border-right: none;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  z-index: 2;
  position: relative;
}

/* おすすめプラン */
.pricing-card.recommended {
  transform: scale(1.02);
  z-index: 2;
  position: relative;
}

.pricing-card.recommended:hover {
  transform: scale(1.02) translateY(-5px);
}

.pricing-header {
  padding: 25px 20px;
  text-align: center;
  background: linear-gradient(45deg, #f8f9fa, #ffffff);
  border-bottom: 1px solid #f0f0f0;
}

.pricing-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, #4a90e2, #67b8e3);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.pricing-title {
  font-size: 22px;
  margin: 0 0 5px;
  color: #333;
}

.pricing-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #f0f4f9;
  color: #4a90e2;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.pricing-price {
  padding: 25px 20px 15px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  background: rgba(248, 249, 250, 0.4);
}

.price-amount {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
}

.price-period {
  display: block;
  font-size: 15px;
  color: #7f8c8d;
  margin-top: 5px;
}

.price-yearly {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #4a90e2;
  font-weight: 500;
}

.price-custom {
  font-size: 26px;
  font-weight: 700;
  color: #2c3e50;
}

.pricing-features {
  padding: 25px 20px;
  flex-grow: 1;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}

.pricing-features li i {
  color: #4a90e2;
  margin-right: 8px;
  margin-top: 3px;
  flex-shrink: 0;
}

.pricing-note {
  font-size: 13px;
  color: #888;
  margin-top: 15px;
  border-top: 1px dashed #eee;
  padding-top: 15px;
}

.pricing-button {
  display: block;
  text-align: center;
  background: #4a90e2;
  color: white;
  text-decoration: none;
  padding: 14px 10px;
  font-weight: 600;
  border-radius: 6px;
  margin: 0 20px 20px;
  transition: all 0.3s;
}

.pricing-button:hover {
  background: #3a78c2;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* エンタープライズプラン */
/* エンタープライズプランのスタイル */
.enterprise-plan-container {
  margin: 60px auto 40px;
  max-width: 900px;
}

.enterprise-plan-box {
  background: #fff;
  border: 1px solid #e0e6ff;
  border-radius: 12px;
  padding: 35px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.enterprise-plan-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(135deg, #4a90e2, #67b8e3);
}

.enterprise-icon {
  background: linear-gradient(135deg, #4a90e2, #67b8e3);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 30px;
}

.enterprise-icon i {
  font-size: 32px;
}

.enterprise-content {
  flex-grow: 1;
  padding-right: 30px;
}

.enterprise-content h3 {
  font-size: 24px;
  margin: 0 0 15px;
  color: #333;
  position: relative;
  display: inline-block;
}

.enterprise-content h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #4a90e2;
}

.enterprise-content p {
  margin: 0 0 20px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.enterprise-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.enterprise-features li {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #333;
}

.enterprise-features li i {
  color: #4a90e2;
  margin-right: 10px;
  font-size: 14px;
}

.enterprise-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.btn-enterprise {
  background: linear-gradient(135deg, #4a90e2, #67b8e3);
  color: white;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-enterprise:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
  color: white;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .enterprise-plan-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .enterprise-icon {
    margin: 0 auto 20px;
  }

  .enterprise-content {
    padding-right: 0;
    margin-bottom: 25px;
  }

  .enterprise-content h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .enterprise-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .enterprise-features li {
    justify-content: center;
  }

  .enterprise-action {
    width: 100%;
    justify-content: center;
  }
}

/* 比較表 */
.pricing-compare {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  padding: 25px;
  margin: 40px 0;
}

.pricing-compare-title {
  font-size: 22px;
  margin: 0 0 25px;
  text-align: center;
  color: #2c3e50;
}

.pricing-table-wrapper {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.pricing-table th,
.pricing-table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #eaeaea;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.pricing-table thead th {
  background: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
  position: sticky;
  top: 0;
}

.pricing-table tbody tr:hover {
  background-color: rgba(248, 249, 250, 0.5);
}

/* FAQ */
.pricing-faq {
  margin-top: 40px;
}

.pricing-faq-item {
  background: white;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.pricing-faq-item h4 {
  color: #2c3e50;
  font-size: 18px;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
}

.pricing-faq-item h4 i {
  color: #4a90e2;
  margin-right: 10px;
}

.pricing-faq-item p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* 注釈 */
.pricing-notes {
  margin-top: 30px;
  font-size: 14px;
  color: #777;
}

.pricing-notes p {
  margin-bottom: 5px;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  .pricing-cards-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    /* さらに狭く */
  }
}

@media (max-width: 768px) {
  .pricing-cards-container {
    display: block;
  }

  .pricing-card {
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 20px;
    border-right: none;
    border-bottom: 1px solid #eaeaea;
  }

  .pricing-card:last-child {
    border-bottom: none;
  }

  .pricing-card.recommended {
    transform: scale(1);
  }

  .pricing-card.recommended:hover {
    transform: translateY(-5px);
  }
}
