:root {
  /* カラーパレット */
  --primary: #0055b3;
  --primary-dark: #004294;
  --primary-darker: #00326e;
  --primary-light: #e6f1ff;
  --primary-gradient: linear-gradient(135deg, #0055b3, #0078d7);
  
  --accent: #ff6a39;
  --accent-dark: #e5502e;
  --accent-light: #fff0eb;
  --accent-gradient: linear-gradient(135deg, #ff6a39, #ff8c39);
  
  --success: #27ae60;
  --success-dark: #219653;
  --success-light: #e3fcef;
  
  --warning: #f2c94c;
  --warning-dark: #e0b83c;
  --warning-light: #fef9e7;
  
  --dark: #1a1a2e;
  --dark-blue: #162447;
  --gray-900: #212121;
  --gray-800: #424242;
  --gray-700: #616161;
  --gray-600: #757575;
  --gray-500: #9e9e9e;
  --gray-400: #bdbdbd;
  --gray-300: #e0e0e0;
  --gray-200: #eeeeee;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  
  /* フォント */
  --font-primary: 'Noto Sans JP', sans-serif;
  --font-headings: 'Poppins', 'Noto Sans JP', sans-serif;
  
  /* シャドウ */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 24px rgba(0, 0, 0, 0.14);
  --shadow-xl: 0 24px 32px rgba(0, 0, 0, 0.16);
  
  /* ボーダー */
  --border-radius-sm: 6px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  
  /* トランジション */
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* レイアウト */
  --container-width: 1200px;
  --header-height: 80px;
  --section-spacing: 100px;
}

/* リセットとデフォルトスタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
  color: var(--gray-900);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

p {
  margin-bottom: 1em;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

/* コンテナ */
.container {
  max-width: var(--container-width);
  width: 90%;
  margin: 0 auto;
  padding: 0;
}

/* セクションスタイル */
section {
  padding: var(--section-spacing) 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-headings);
}

.section-title {
  margin-bottom: 20px;
  font-size: 2.5rem;
  background: linear-gradient(to right, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-description {
  color: var(--gray-600);
  font-size: 1.125rem;
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all var(--transition);
  background-color: transparent;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-solid {
  background-color: var(--white);
  box-shadow: var(--shadow);
}

.header-solid .nav-link {
  color: var(--gray-800);
}

.header-solid .nav-link:hover {
  color: var(--primary);
}

.header-solid .logo img {
  /* ダークロゴがある場合に切り替える */
  /* filter: none; */
}

.header-solid .nav-toggle span {
  background-color: var(--primary-dark);
}

header.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow);
}

.header-transparent {
  background-color: transparent;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: auto;
  max-height: 46px;
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-dark);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

nav {
  display: flex;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav ul li {
  position: relative;
  padding: 0 10px;
}

.nav-link {
  color: var(--gray-800);
  font-weight: 500;
  padding: 10px;
  display: block;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 12px rgba(0, 85, 179, 0.2);
}

.nav-cta:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 85, 179, 0.25);
}

.nav-cta-item {
  margin-left: 10px;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
  border: none;
  line-height: 1.4;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
  border-radius: 10px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 6px 15px rgba(0, 85, 179, 0.2);
}

.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 8px 20px rgba(0, 85, 179, 0.3);
  color: white;
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 85, 179, 0.2);
}

.btn-accent {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 6px 15px rgba(255, 106, 57, 0.2);
}

.btn-accent:hover, .btn-accent:focus {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 8px 20px rgba(255, 106, 57, 0.3);
  color: white;
  transform: translateY(-2px);
}

.btn-accent:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(255, 106, 57, 0.2);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover, .btn-outline:focus {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-light {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover, .btn-light:focus {
  background: var(--gray-100);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--primary-dark);
}

.btn-text {
  color: var(--primary);
  padding: 0;
  background: transparent;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-text i {
  transition: transform var(--transition-fast);
}

.btn-text:hover {
  color: var(--primary-dark);
}

.btn-text:hover i {
  transform: translateX(4px);
}

.btn-glow {
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  0% {
      box-shadow: 0 5px 15px rgba(0, 85, 179, 0.2);
  }
  100% {
      box-shadow: 0 8px 25px rgba(0, 85, 179, 0.4);
  }
}

.btn-arrow i {
  transition: transform var(--transition-fast);
}

.btn-arrow:hover i {
  transform: translateX(4px);
}

.btn-circle-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 0;
  flex-direction: column;
}

.pulse-animation {
  position: relative;
}

.pulse-animation::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(0, 85, 179, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
      box-shadow: 0 0 0 0 rgba(0, 85, 179, 0.7);
  }
  70% {
      box-shadow: 0 0 0 10px rgba(0, 85, 179, 0);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(0, 85, 179, 0);
  }
}

/* 星評価の補足説明 */
.rating-note {
  font-size: 0.7rem;
  color: var(--gray-600);
  margin-top: 2px;
  line-height: 1.2;
}

/* アップデート情報バナー */
.update-banner {
  padding: 18px 0;
  background: var(--primary-light);
  width: 100%;
  z-index: 85; 
  position: relative;
  top: auto;
  border-bottom: 1px solid rgba(0, 85, 179, 0.1);
  transition: margin-top var(--transition);
}

.update-content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.update-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.update-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.update-list-vertical p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

/* クッキー同意バナーのスタイル */
#cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f1f1f1;
  padding: 15px;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-consent-buttons {
  margin-top: 10px;
}

#accept-cookies {
  background: #0055b3;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 10px;
}

#reject-cookies {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

/* 導入学校セクション */
.schools-section {
  background-color: #f9fbff;
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
}

.schools-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 30px;
  color: var(--gray-800);
}

.schools-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.schools-column {
  flex: 1;
  max-width: 400px;
  background-color: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.column-header {
  background: var(--primary-light);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.schools-column:nth-child(2) .column-header {
  background: var(--accent-light);
}

.column-icon {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}

.schools-column:nth-child(2) .column-icon {
  color: var(--accent);
}

.column-title {
  font-size: 1.1rem;
  margin: 0;
  color: var(--gray-800);
  font-weight: 600;
}

.schools-list {
  list-style: none;
  padding: 20px 25px;
  margin: 0;
}

.schools-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--gray-200);
  color: var(--gray-700);
  font-size: 0.95rem;
}

.schools-list li:last-child {
  border-bottom: none;
}

/* ヒーローセクション */
.hero {
  padding-top: var(--header-height); /* ヘッダーの高さのみの余白 */
  position: relative;
  overflow: hidden;
  background-color: #f9fbff;
  padding-bottom: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
}

.hero-shapes .shape-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 85, 179, 0.1) 0%, rgba(0, 85, 179, 0) 70%);
  top: -100px;
  right: -50px;
}

.hero-shapes .shape-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 106, 57, 0.1) 0%, rgba(255, 106, 57, 0) 70%);
  bottom: 50px;
  left: 10%;
}

.hero-shapes .shape-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(39, 174, 96, 0.1) 0%, rgba(39, 174, 96, 0) 70%);
  top: 30%;
  left: 5%;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 30px 0;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-update-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius);
  padding: 12px 16px;
  margin-top: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--primary);
  animation: fadeInDown 0.6s ease;
}

.update-message {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.update-text {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.update-link {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.update-link:hover {
  color: var(--primary-dark);
}

.update-link i {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.update-link:hover i {
  transform: translateX(3px);
}

.hero-tagline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.badge-pill {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--white);
  color: var(--primary);
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}

.badge-pill.success {
  background-color: var(--success-light);
  color: var(--success-dark);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: -0.03em;
}

.hero-title-main {
  display: block;
  color: var(--gray-900);
}

.hero-title-sub {
  display: block;
  margin-top: 5px;
}

.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-700);
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-description strong {
  color: var(--primary-dark);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gray-900);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.hero-visual {
  flex: 1;
  max-width: 550px;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.01);
}

.stars {
  color: #f2c94c;
  font-size: 0.875rem;
  margin-bottom: 5px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 問題提起セクション */
.pain-points {
  background-color: var(--white);
  padding-top: 80px;
  padding-bottom: 60px;
}

.section-intro {
  text-align: center;
  margin-bottom: 50px;
}

.section-intro h2 {
  font-size: 2.5rem;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.pain-point-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pain-point-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.pain-point-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.pain-point-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--gray-900);
}

.pain-point-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.solution-intro {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
}

.solution-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 40px;
  width: 2px;
  background-color: var(--primary);
}

.solution-content h3 {
  font-size: 1.75rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.solution-content p {
  color: var(--gray-600);
  margin-bottom: 25px;
}

/* 特長セクション */
.features {
  background-color: var(--gray-100);
  position: relative;
}

.feature-showcase {
  margin-bottom: 60px;
}

.feature-demo {
  max-width: 900px;
  margin: 0 auto;
}

.feature-screen {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ビデオプレーヤーのスタイル */
#videoContainer {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: #000;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.video-showcase {
  background-color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.video-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.preview-image {
  width: 100%;
  height: auto;
  display: block;
}

#promoVideo {
  width: 100%;
  display: none;
}

.play-button-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.play-button {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  transition: transform var(--transition);
}

.play-button i {
  color: var(--primary);
  font-size: 1.5rem;
  margin-left: 5px;
}

.play-button span {
  position: absolute;
  bottom: -40px;
  color: white;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.play-button:hover {
  transform: scale(1.1);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.feature-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--gray-200);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--primary-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.feature-content {
  flex: 1;
}

.feature-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.feature-content p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.feature-points {
  margin-top: 15px;
}

.feature-points li {
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.feature-points li i {
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 0.75rem;
}

.feature-cta-band {
  background: var(--primary-gradient);
  margin-top: 60px;
  padding: 40px 0;
  color: white;
}

.cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cta-content h3 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}t-size: 1.125rem;

/* 採点精度セクション */
.accuracy-section {
  background-color: var(--primary-light);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.accuracy-container {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.accuracy-score {
  flex: 0 0 300px;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.score-value {
  font-family: var(--font-headings);
  font-size: 5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
}

.percent {
  font-size: 2.5rem;
}

.score-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 5px;
}

.score-subtitle {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 10px;
}

.score-verification {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.accuracy-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accuracy-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  gap: 20px;
}

.accuracy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.accuracy-card h3 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.accuracy-card p {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 0;
}

/* 業務効率化セクション */
.efficiency-visual-improved {
  width: 100%;
}

.chart-comparison {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.comparison-title {
  text-align: center;
  margin-bottom: 50px;
}

.comparison-title h3 {
  font-size: 1.6rem;
  margin-bottom: 5px;
  color: var(--gray-900);
}

.comparison-subtitle {
  color: var(--gray-600);
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* 縦棒グラフのコンテナ */
.comparison-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 80px;
  height: 350px; /* グラフの高さを固定 */
  margin-bottom: 40px;
  position: relative;
}

/* 縦棒の基本スタイル */
.comparison-item {
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* 棒グラフ本体 */
.vertical-bar-container {
  width: 100%;
  height: 300px;
  position: relative;
  margin-bottom: 15px;
}

.vertical-bar {
  width: 100%;
  position: absolute;
  bottom: 0;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 15px;
  transition: height 1.5s ease-out;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.vertical-bar.traditional {
  height: 100%;
  background: var(--primary-gradient);
  animation: grow-bar-vertical 1.5s ease-out;
}

.vertical-bar.improved {
  height: 20%;
  background: var(--accent-gradient);
  animation: grow-bar-vertical-delay 1.5s ease-out;
}

/* パーセント表示 */
.vertical-bar-value {
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* グラフ下のラベル */
.comparison-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  position: absolute;
  bottom: -90px;
  width: 100%;
}

.traditional .label-icon {
  color: var(--primary);
}

.improved .label-icon {
  color: var(--accent);
}

.label-text {
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-800);
}

.hours-tag {
  background: var(--gray-800);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 5px;
}

.hours-tag.success {
  background: var(--success);
}

/* 時間表示ボックス - 位置調整 */
.time-detail-box {
  position: absolute;
  background: white;
  border-radius: var(--border-radius);
  padding: 10px 15px;
  box-shadow: var(--shadow);
  z-index: 2;
  min-width: 120px;
}

/* 従来の縦棒の時間詳細ボックス */
.vertical-bar.traditional .time-detail-box {
  left: -140px;
  top: 50px;
  background: var(--primary-light);
}

/* 改善後の縦棒の時間詳細ボックス */
.vertical-bar.improved .time-detail-box {
  right: -140px;
  top: 10px;
  background: var(--accent-light);
}

.time-detail {
  text-align: center;
}

.time-value {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.time-label {
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* 削減効果表示 */
.comparison-result {
  background: var(--success-light);
  border-radius: var(--border-radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 120px; 
  border-left: 4px solid var(--success);
}

.result-icon {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.result-content {
  flex: 1;
}

.result-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--success-dark);
  margin-bottom: 5px;
}

.result-description {
  color: var(--gray-700);
  margin-bottom: 0;
}

.reduction-arrow {
  position: absolute;
  width: 120px; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%) rotate(30deg); 
  z-index: 5;
}

.arrow-line {
  height: 6px;
  background: var(--accent);
  width: 100%;
  position: relative;
}

.arrow-head {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--accent);
}

.reduction-text {
  position: absolute;
  top: -40px;
  width: 100%;
  text-align: center;
  font-weight: 700;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

/* 導入効果セクション */
.results {
  background-color: white;
  padding-top: 100px;
  padding-bottom: 80px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.result-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.result-stat {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 15px;
}

.result-stat span {
  font-size: 1.5rem;
  font-weight: 600;
}

.result-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--gray-800);
}

.result-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 機能紹介セクション */
.how-it-works {
  background-color: var(--gray-100);
  position: relative;
}

.function-tabs {
  max-width: 1000px;
  margin: 0 auto;
}

.tab-controls {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.tab-button {
  padding: 15px 30px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
  flex: 1;
  max-width: 200px;
}

.tab-button.active {
  background: var(--primary-gradient);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
  border-color: transparent;
}

.tab-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  transition: all var(--transition);
}

.tab-button.active .tab-icon {
  background: white;
  color: var(--primary);
}

.tab-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-800);
  transition: color var(--transition);
}

.tab-button.active .tab-label {
  color: white;
}

.tab-content {
  position: relative;
}

.tab-pane {
  display: none;
  position: relative;
}

.tab-pane.active {
  display: block;
  animation: fadeIn var(--transition);
}

.function-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.function-visual {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.function-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.function-details {
  padding-right: 20px;
}

.function-details h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--gray-900);
}

.function-details p {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.function-points {
  margin-top: 20px;
  margin-bottom: 30px;
}

.function-points li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--gray-700);
  line-height: 1.5;
}

.function-points li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--primary);
  font-size: 0.875rem;
  background: var(--primary-light);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.function-note {
  background: var(--primary-light);
  border-radius: var(--border-radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.note-icon {
  width: 30px;
  height: 30px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.function-note p {
  margin-bottom: 0;
  font-size: 0.9375rem;
  color: var(--primary-dark);
}

.usage-examples {
  margin-top: 80px;
  text-align: center;
}

.usage-examples h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--gray-900);
}

.usage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.usage-tag {
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.usage-tag i {
  font-size: 0.75rem;
}

.example-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.example-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  width: 300px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.example-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.example-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 auto 20px;
}

.example-card h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--gray-900);
}

.example-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 導入事例セクション */
.case-studies {
  background-color: white;
  padding-top: 100px;
  padding-bottom: 80px;
}

.case-filter-container {
  text-align: center;
  margin-bottom: 40px;
}

.filters-header {
  margin-bottom: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.case-filters {
  display: inline-flex;
  background: var(--gray-100);
  border-radius: 30px;
  padding: 5px;
  margin: 0 auto 10px;
}

.scene-filters {
  margin-top: 10px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--gray-600);
  transition: all var(--transition);
  cursor: pointer;
}

.filter-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.filter-btn.scene.active {
  background: var(--accent-light);
  color: var(--accent);
}

.case-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.case-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.4s ease forwards;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.case-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: white;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.case-tag + .case-tag {
  top: 55px;
}

.case-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-content h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--gray-900);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.case-results {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.case-result {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-number {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1;
}

.result-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-top: 5px;
}

.case-more {
  text-align: center;
}

/* 画像がない事例カード用のスタイル */
.case-image.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
}

.case-image.no-image.secondary {
  background: var(--accent-light);
}

.case-image.no-image.success {
  background: var(--success-light);
}

.case-icon {
  font-size: 3rem;
  color: var(--primary);
}

.case-icon.secondary {
  color: var(--accent);
}

.case-icon.success {
  color: var(--success);
}

/* 導入事例一覧ページ */
.page-hero {
  background: var(--primary-gradient);
  color: white;
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('../images/hero-pattern.svg');
  background-size: cover;
  opacity: 0.05;
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
  animation: fadeIn 0.8s ease;
}

.page-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 0;
  line-height: 1.7;
  animation: fadeIn 1s ease;
}

/* フィルターセクション */
.filter-section {
  background-color: var(--white);
  padding: 40px 0;
  box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
}

.filter-controls {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

/* 検索ボックス */
.search-box {
  position: relative;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper i {
  position: absolute;
  left: 15px;
  color: var(--gray-500);
}

#searchCases {
  width: 100%;
  padding: 14px 14px 14px 40px;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

#searchCases:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 85, 179, 0.1);
  outline: none;
}

/* フィルターオプション */
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.filter-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  white-space: nowrap;
  margin-right: 5px;
  min-width: 80px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ビューオプション */
.sort-select, .per-page-select {
  padding: 10px 35px 10px 15px;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  background-color: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23616161' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  transition: all 0.3s ease;
}

.sort-select:focus, .per-page-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 85, 179, 0.1);
  outline: none;
}

/* フィルター結果表示 */
.filter-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.results-count {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
}

.results-count span {
  font-weight: 700;
  color: var(--primary);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  animation: scaleIn 0.3s ease;
}

.filter-tag.scene {
  background-color: var(--accent-light);
  color: var(--accent);
}

.tag-text {
  line-height: 1.2;
}

.tag-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 50%;
  transition: all 0.2s ease;
  font-size: 0.75rem;
}

.tag-remove:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

/* 事例一覧セクション */
.all-cases-section {
  padding: 60px 0;
  background-color: var(--gray-100);
}

.all-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}


/* 事例のメタ情報 */
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  border-top: 1px solid var(--gray-200);
  padding-top: 15px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 0.85rem;
}

.meta-item i {
  color: var(--primary);
  font-size: 0.85rem;
}

/* ページネーション */
.all-cases-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pagination-btn {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  padding: 8px 16px;
  color: var(--gray-800);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-light);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--gray-100);
}

.pagination-pages {
  display: flex;
  gap: 8px;
}

/* CTAセクション */
.cases-cta {
  padding: 60px 0;
  background-color: var(--white);
  border-top: 1px solid var(--gray-200);
}

.cta-card {
  background: var(--primary-gradient);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  color: white;
}

.cta-content h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 15px;
}

.cta-action {
  display: flex;
  gap: 15px;
}

/* 読み込み中のプレースホルダー */
.case-placeholder {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.placeholder-image {
  height: 200px;
  background: linear-gradient(110deg, var(--gray-200) 30%, var(--gray-100) 50%, var(--gray-200) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.placeholder-content {
  padding: 25px;
}

.placeholder-title {
  height: 24px;
  width: 80%;
  background: linear-gradient(110deg, var(--gray-200) 30%, var(--gray-100) 50%, var(--gray-200) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 15px;
}

.placeholder-text {
  height: 60px;
  background: linear-gradient(110deg, var(--gray-200) 30%, var(--gray-100) 50%, var(--gray-200) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 20px;
}

.placeholder-meta {
  height: 40px;
  background: linear-gradient(110deg, var(--gray-200) 30%, var(--gray-100) 50%, var(--gray-200) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-top: 20px;
}

/* 「該当事例なし」メッセージ */
.no-cases-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
}

.no-cases-message p {
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.no-cases-message .btn {
  margin: 0 auto;
}

/* 利用者の声 */
.testimonials {
  background: var(--primary-gradient);
  color: white;
  padding: 100px 0;
  position: relative;
}

.section-header.light .section-title {
  color: white;
  background: none;
}

.section-header.light .section-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.section-header.light .section-description {
  color: rgba(255, 255, 255, 0.8);
}

/* 利用者の声フィルター */
.testimonial-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}

.testimonial-filter .testimonial-filter-btn {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 8px 20px;
  transition: all var(--transition);
}

.testimonial-filter .testimonial-filter-btn.active {
  background: white;
  color: var(--primary);
}

/* 利用者の声グリッドレイアウト */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 25px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  height: 125px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.testimonial-details {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.person-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.person-info {
  font-size: 0.9rem;
  color: white;
}

.testimonial-rating {
  color: var(--warning);
  display: flex;
  gap: 2px;
  font-size: 0.8rem;
}

/* ページネーション */
.testimonial-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.pagination-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.pagination-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.pagination-pages {
  display: flex;
  gap: 8px;
}

.page-number {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-800);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-number.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  font-weight: 600;
}

.page-number:hover:not(.active) {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-light);
}

.testimonial-disclaimer {
  text-align: center;
  margin-top: 40px;
}

.testimonial-disclaimer p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin: 0;
}

/* 星評価スタイル */
.star-rating {
  display: inline-flex;
  align-items: center;
  color: var(--warning);
}

.star-rating i {
  margin-right: 2px;
}

.star-rating span {
  margin-left: 4px;
  color: var(--gray-800);
  font-weight: 500;
}

.testimonials .star-rating span {
  color: rgba(255, 255, 255, 0.9);
}

.star-rating.small {
  font-size: 0.75rem;
}

/* 料金プラン */
.pricing {
  background-color: var(--gray-100);
  padding-top: 100px;
  padding-bottom: 80px;
}

.pricing-table {
  max-width: 600px;
  margin: 0 auto 30px;
}

.pricing-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  position: relative;
  border: 1px solid var(--gray-200);
}

.pricing-card.highlighted {
  transform: scale(1.05);
  border: 2px solid var(--primary);
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.highlighted:hover {
  transform: translateY(-5px) scale(1.05);
}

.pricing-popular {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-gradient);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-header {
  padding: 30px;
  background: var(--primary-light);
  text-align: center;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.pricing-price {
  margin-bottom: 10px;
}

.pricing-price .price {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 3rem;
  color: var(--primary-dark);
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--gray-600);
}

.pricing-features {
  padding: 30px;
}

.pricing-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-features ul li {
  padding: 10px 0;
  color: var(--gray-700);
  position: relative;
  padding-left: 30px;
  line-height: 1.5;
}

.pricing-features ul li i {
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--primary);
}

.pricing-note {
  padding: 0 30px 20px;
  text-align: center;
}

.pricing-note p {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-bottom: 5px;
}

.pricing-action {
  padding: 0 30px 30px;
}

.pricing-notes {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-bottom: 50px;
}

.pricing-cta {
  background: var(--primary-light);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-cta-content {
  display: flex;
  gap: 20px;
  align-items: center;
  flex: 1;
}

.cta-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.cta-text {
  flex: 1;
}

.cta-text h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--primary-dark);
}

.cta-text p {
  color: var(--gray-700);
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* 導入の流れ */
.implementation {
  background-color: white;
  padding-top: 100px;
  padding-bottom: 80px;
}

.process-steps {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-light);
}

.process-step {
  display: flex;
  gap: 30px;
  position: relative;
  padding-bottom: 40px;
}

.process-step:last-child {
  padding-bottom: 0;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.25rem;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-content {
  flex: 1;
  padding-top: 10px;
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.step-content p {
  color: var(--gray-600);
  margin-bottom: 0;
  line-height: 1.6;
}

/* よくあるご質問 */
.faq {
  background-color: var(--gray-100);
  padding-top: 100px;
  padding-bottom: 80px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 40px;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  background-color: white;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.faq-category:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.faq-category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 30px;
  background: var(--primary-light);
  border-bottom: 1px solid rgba(0, 85, 179, 0.1);
}

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--primary);
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.category-title {
  font-size: 1.25rem;
  margin: 0;
  color: var(--primary-dark);
  font-weight: 600;
}

.faq-items {
  padding: 10px 0;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 0;
  background: transparent;
  box-shadow: none;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.125rem;
  margin-bottom: 0;
  color: var(--gray-800);
  font-weight: 600;
}

.faq-icon {
  color: var(--primary);
  font-size: 1rem;
}

.faq-icon .fa-minus {
  display: none;
}

.faq-item.active .faq-icon .fa-plus {
  display: none;
}

.faq-item.active .faq-icon .fa-minus {
  display: block;
}

.faq-answer {
  padding: 0 30px;
  height: 0;
  overflow: hidden;
  transition: height var(--transition);
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-more {
  text-align: center;
  margin-top: 40px;
}

.login-note {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 0;
}

/* 利用規約・プライバシーポリシーセクション */
.legal-section {
  background-color: white;
  padding: 80px 0;
  border-top: 1px solid var(--gray-200);
}

.legal-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-card {
  background: var(--gray-100);
  border-radius: var(--border-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.legal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.legal-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.legal-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--gray-900);
}

.legal-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.link-with-underline {
  text-decoration: underline;
  font-weight: 500;
}

/* サービス資料ダウンロードセクション */
.download-section {
  background-color: var(--primary-light);
  padding: 60px 0;
  margin-top: 0;
}

.download-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.download-content {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}

.download-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.download-text {
  flex: 1;
}

.download-text h3 {
  color: var(--primary-dark);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.download-text p {
  color: var(--gray-600);
  margin-bottom: 15px;
}

.download-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.download-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.download-features li i {
  color: var(--primary);
}

.download-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.download-action .btn {
  white-space: nowrap;
  padding-left: 20px;
  padding-right: 20px;
}

.download-note {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin: 0;
  text-align: center;
}

/* 関連コンテンツ */
.related-content {
  background-color: var(--white);
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid var(--gray-200);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.resource-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--gray-200);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.resource-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.resource-card:hover .resource-image img {
  transform: scale(1.05);
}

.resource-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: white;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.resource-content {
  padding: 25px;
}

.resource-content h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--gray-900);
}

.resource-content p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.resources-more {
  text-align: center;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* フッター */
.footer {
  background: var(--dark-blue);
  color: white;
}

.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-row {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

.brand-col {
  padding-right: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  font-size: 0.9375rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 25px;
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 15px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
  font-size: 0.9375rem;
}

.footer-col ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  padding: 25px 0;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.legal-links a:hover {
  color: white;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* 固定CTAボタン */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
}

.floating-cta.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.floating-cta .btn-circle-lg {
  box-shadow: var(--shadow-lg);
}

.floating-cta .btn-circle-lg span {
  font-size: 0.75rem;
  margin-top: 5px;
}

/* 戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 120px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: white;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* ユーティリティクラス */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1.5rem;
}

.pc-only {
  display: initial;
}

.sp-only {
  display: none;
}

/* 事例詳細スタイル */
.case-detail-hero {
  background: var(--primary-gradient);
  color: white;
  padding: 120px 0 40px;
  position: relative;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: white;
}

.current-page {
  color: white;
  font-weight: 500;
}

.case-detail-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.case-detail-content {
  padding: 60px 0;
  background: var(--gray-100);
}

.case-mini-layout {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 0 0 40px;
}

.case-feature-image {
  width: 100%;
  margin-bottom: 40px;
}

.case-feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.case-section {
  padding: 0 40px;
  margin-bottom: 50px;
}

.section-heading {
  font-size: 1.75rem;
  margin-bottom: 25px;
  color: var(--primary-dark);
  position: relative;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray-200);
}

.case-text {
  margin-bottom: 30px;
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.7;
}

.activity-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 25px;
  margin-bottom: 0;
}

.activity-card {
  background: var(--gray-100);
  border-radius: var(--border-radius);
  padding: 25px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.activity-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--gray-800);
}

.activity-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.teacher-comment {
  background: var(--gray-100);
  border-radius: var(--border-radius);
  padding: 30px;
  position: relative;
}

.comment-header {
  margin-bottom: 20px;
}

.teacher-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.teacher-avatar {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.teacher-details h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--gray-800);
}

.teacher-details p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin: 0;
}

.teacher-support {
  background: var(--gray-100);
  border-radius: var(--border-radius);
  padding: 20px 25px;
  margin: 25px 0;
}

.teacher-support h3 {
  font-size: 1.15rem;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.support-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.support-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--gray-700);
}

.support-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.comment-content {
  position: relative;
  padding-left: 25px;
}

.comment-icon {
  color: var(--gray-300);
  font-size: 2rem;
  position: absolute;
  top: -10px;
  left: 0;
}

.comment-content p {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.simple-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.simple-cta .btn {
  min-width: 200px;
}

.case-overview {
  margin-bottom: 40px;
}

.case-summary {
  background-color: var(--primary-light);
  padding: 25px;
  border-radius: var(--border-radius);
  margin-top: -20px;
  position: relative;
}

.case-summary p {
  margin-bottom: 0;
  color: var(--primary-dark);
  font-size: 1.05rem;
  line-height: 1.7;
}

.activity-flow {
  margin-bottom: 30px;
  background-color: var(--gray-100);
  padding: 25px;
  border-radius: var(--border-radius);
}

.activity-flow h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--gray-800);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.activity-detail {
  margin-bottom: 30px;
}

.case-images {
  display: flex;
  gap: 20px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.case-figure {
  margin: 0;
  flex: 1;
  min-width: 250px;
}

.case-figure.full-width {
  width: 100%;
  flex: 100%;
  margin: 25px 0;
}

.case-small-image {
  width: 100%;
  border-radius: var(--border-radius);
  margin-bottom: 10px;
}

figcaption {
  font-size: 0.85rem;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.4;
}

.effect-highlight {
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 20px 25px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  margin-bottom: 30px;
}

.effect-highlight h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.effects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.effect-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.effect-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.effect-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  margin: 0 auto 15px;
}

.effect-card h4 {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.effect-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 0;
  text-align: center;
}

.comment-text {
  line-height: 1.7;
}

.comment-text p {
  margin-bottom: 15px;
}

.summary-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.summary-point {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background-color: var(--white);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition);
}

.summary-point:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.point-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.point-text {
  flex: 1;
}

.point-text h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.point-text p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

.case-conclusion {
  background-color: var(--gray-100);
  padding: 25px;
  border-radius: var(--border-radius);
  margin-top: 20px;
}

.case-conclusion p {
  margin-bottom: 0;
  font-size: 1.05rem;
  color: var(--gray-700);
}

/* アニメーション */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 85, 179, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 85, 179, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 85, 179, 0); }
}

@keyframes shimmer {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* レスポンシブスタイル */
@media (max-width: 1200px) {
  :root {
      --section-spacing: 80px;
  }
  
  .hero-title {
      font-size: 3rem;
  }
  
  .section-title {
      font-size: 2.2rem;
  }
  
  .container {
      width: 90%;
  }
  
  .features-grid {
      grid-template-columns: 1fr 1fr;
  }
  
  .testimonial-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  :root {
      --section-spacing: 70px;
      --header-height: 70px;
  }
  
  .hero-container {
      flex-direction: column;
      padding-top: 60px;
  }
  
  .hero-visual {
      max-width: 100%;
      margin-top: 50px;
  }
  
  .pricing-cta {
      flex-direction: column;
      text-align: center;
  }
  
  .pricing-cta-content {
      flex-direction: column;
      text-align: center;
  }
  
  .cta-icon {
      margin: 0 auto 20px;
  }
  
  .nav-toggle {
      display: flex;
  }
  
  nav {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      max-width: 350px;
      height: 100vh;
      flex-direction: column;
      background: white;
      box-shadow: var(--shadow-lg);
      padding: 100px 40px 40px;
      transition: right var(--transition);
      z-index: 100;
  }
  
  nav.active {
      right: 0;
  }
  
  nav ul {
      flex-direction: column;
      width: 100%;
      align-items: flex-start;
      gap: 0;
  }
  
  nav ul li {
      width: 100%;
      padding: 0;
      border-bottom: 1px solid var(--gray-200);
  }
  
  .nav-link {
      padding: 15px 0;
      width: 100%;
  }
  
  .nav-link::after {
      display: none;
  }
  
  .nav-cta-item {
      margin-left: 0;
      margin-top: 20px;
  }
  
  .nav-cta {
      width: 100%;
      text-align: center;
  }

  .function-grid {
      grid-template-columns: 1fr;
      gap: 30px;
  }
  
  .case-cards {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .results-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
  }
  
  .footer-row {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .download-card {
      flex-direction: column;
      text-align: center;
  }
  
  .download-content {
      flex-direction: column;
  }
  
  .resources-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-grid {
      grid-template-columns: 1fr;
  }
  
  .legal-container {
      grid-template-columns: 1fr;
  }

  .filter-controls {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .view-options {
    justify-content: flex-start;
  }
  
  .all-cases-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
  }
  
  .cta-action {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-action .btn {
    width: 100%;
  }

  .accuracy-container {
    flex-direction: column;
  }
  
  .accuracy-score {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px;
  }

  .comparison-container {
    gap: 40px;
  }
  
  .vertical-bar.traditional .time-detail-box,
  .vertical-bar.improved .time-detail-box {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }

  .reduction-arrow {
    width: 80px;
    transform: translate(-50%, -30%) rotate(30deg);
  }
}

@media (max-width: 768px) {
  :root {
      --section-spacing: 60px;
  }
  
  .hero-container {
      padding-top: 40px;
  }
  
  .hero-title {
      font-size: 2.5rem;
  }
  
  .hero-description {
      font-size: 1.125rem;
  }
  
  .hero-actions {
      flex-direction: column;
      width: 100%;
  }
  
  .hero-actions .btn {
      width: 100%;
  }
  
  .hero-stats {
      justify-content: space-between;
      width: 100%;
  }

  .hero-update-notice {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .update-message {
    width: 100%;
  }
  
  .update-link {
    margin-left: 0;
    margin-top: 8px;
  }
  
  .section-title {
      font-size: 2rem;
  }

  .schools-container {
      flex-direction: column;
      align-items: center;
  }

  .schools-column {
      width: 100%;
  }

  .features-grid {
      grid-template-columns: 1fr;
  }
  
  .feature-item {
      flex-direction: column;
      align-items: flex-start;
  }
  
  .feature-icon {
      margin-bottom: 15px;
  }
  
  .case-cards {
      grid-template-columns: 1fr;
  }
  
  .pc-only {
      display: none;
  }
  
  .sp-only {
      display: initial;
  }
  
  .resources-grid {
      grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 100px 0 50px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .filter-group {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  
  .filter-buttons {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
    flex-wrap: nowrap;
  }
  
  .all-cases-pagination {
    flex-direction: column;
    gap: 20px;
  }
  
  .pagination-info {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .effects-grid {
    grid-template-columns: 1fr;
  }

  .case-images {
      flex-direction: column;
  }

  .case-figure {
      width: 100%;
  }

  .activity-flow {
      padding: 20px 15px;
  }

  .effect-highlight {
      padding: 15px;
  }

  .summary-point {
      padding: 15px;
  }

  .faq-category-header {
    padding: 16px 20px;
  }
  
  .category-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  
  .category-title {
    font-size: 1.1rem;
  }
  
  .faq-question {
    padding: 15px 20px;
  }
  
  .faq-answer {
    padding: 0 20px;
  }
  
  .faq-answer p {
    padding-bottom: 15px;
  }

  .comparison-container {
    gap: 40px;
    height: 350px;
  }
  
  .comparison-item {
    width: 120px;
  }
  
  .vertical-bar-container {
    height: 250px;
  }
  
  .comparison-line {
    top: 200px;
    left: calc(50% - 40px - 60px);
    width: calc(40px + 120px + 40px);
  }
}

@media (max-width: 576px) {
  :root {
      --section-spacing: 50px;
      --header-height: 60px;
  }
  
  html {
      font-size: 14px;
  }
  
  .container {
      width: 92%;
  }
  
  .hero-container {
      padding-top: 30px;
  }
  
  .hero-title {
      font-size: 1.8rem;
  }
  
  .hero-description {
      font-size: 1rem;
  }
  
  .hero-stats {
      gap: 15px;
  }
  
  .stat-item {
      flex: 1;
  }
  
  .stat-value {
      font-size: 1.25rem;
  }
  
  .stat-label {
      font-size: 0.75rem;
  }
  
  .section-title {
      font-size: 1.75rem;
  }
  
  .pain-points-grid {
      grid-template-columns: 1fr;
  }
  
  .results-grid {
      grid-template-columns: 1fr;
  }
  
  .feature-cta-band {
      text-align: center;
  }
  
  .cta-flex {
      flex-direction: column;
      text-align: center;
  }
  
  .cta-button {
      width: 100%;
  }
  
  .cta-button .btn {
      width: 100%;
  }
  
  .play-button {
      width: 60px;
      height: 60px;
  }
  
  .play-button span {
      font-size: 0.75rem;
      bottom: -35px;
      padding: 6px 12px;
  }
  
  .example-cards {
      flex-direction: column;
      align-items: center;
  }
  
  .example-card {
      width: 100%;
  }
  
  .footer-row {
      grid-template-columns: 1fr;
  }
  
  .footer-legal {
      flex-direction: column;
      text-align: center;
  }
  
  .legal-links {
      justify-content: center;
  }
  
  .floating-cta {
      bottom: 20px;
      right: 20px;
  }
  
  .back-to-top {
      bottom: 100px;
      right: 20px;
      width: 40px;
      height: 40px;
      font-size: 0.875rem;
  }
  
  .update-content {
      font-size: 0.85rem;
      flex-direction: column;
      align-items: flex-start;
  }
  
  .case-filters {
      flex-wrap: wrap;
      justify-content: center;
      background: transparent;
      padding: 0;
  }
  
  .filter-btn {
      margin: 2px;
      background: var(--gray-100);
  }
  
  .testimonial-filter {
      flex-wrap: wrap;
      justify-content: center;
  }

  .all-cases-grid {
    grid-template-columns: 1fr;
  }
  
  .case-card {
    max-width: 100%;
  }

  .page-title {
    font-size: 1.8rem;
  }
  
  .pagination-controls {
    width: 100%;
    justify-content: center;
  }
  
  .pagination-pages {
    overflow-x: auto;
    max-width: 200px;
    padding: 0 5px;
  }

  .accuracy-card {
    flex-direction: column;
  }
  
  .card-icon {
    margin-bottom: 15px;
  }

  .comparison-container {
    flex-direction: column;
    height: auto;
    gap: 100px;
    margin-bottom: 20px;
    align-items: center;
  }
  
  .comparison-item {
    width: 200px;
    margin-bottom: 50px;
  }
  
  .vertical-bar-container {
    height: 200px;
  }
  
  .comparison-label {
    bottom: -70px;
  }
  
  .comparison-result {
    margin-top: 60px;
  }
  
  .comparison-line {
    display: none;
  }
  
  .chart-comparison {
    padding: 20px;
  }
  
  .vertical-bar.traditional .time-detail-box {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-top: 30px;
    width: 20%;
  }
  
  .vertical-bar.improved .time-detail-box {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-top: -60px;
    width: 20%;
  }

  .reduction-arrow {
    transform: translate(-50%, 0%) rotate(90deg);
    top: 60%;
    width: 90px;
  }
  
  .result-icon {
    margin: 0 auto;
  }
  
  .reduction-text {
    top: -25px;
    font-size: 0.85rem;
  }

}