/* ============================================================
   ロゴ無限スクロール（ティッカー） - 1社ずつ個別ロゴ
   ============================================================ */
.logo-ticker-section {
  padding: 48px 0 52px;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid #f0f0f0;
}
.logo-ticker-label {
  text-align: center;
  font-size: 13px;
  color: #999;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  font-weight: 400;
}
.logo-ticker-outer {
  position: relative;
  overflow: hidden;
  width: 100%;
}
/* 両端フェード */
.logo-ticker-outer::before,
.logo-ticker-outer::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.logo-ticker-outer::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}
.logo-ticker-outer::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}
/* トラック：2セット並べてシームレスループ */
.logo-ticker-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: logo-ticker-scroll 30s linear infinite;
  will-change: transform;
}
.logo-ticker-track:hover {
  animation-play-state: paused;
}
@keyframes logo-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* 各ロゴ */
.logo-ticker-logo {
  flex: 0 0 auto;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  cursor: default;
}
.logo-ticker-logo:hover {
  opacity: 1;
}
.logo-ticker-logo img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
@media screen and (max-width: 820px) {
  .logo-ticker-section { padding: 32px 0 36px; }
  .logo-ticker-logo { height: 28px; }
  .logo-ticker-track { gap: 36px; }
  .logo-ticker-outer::before,
  .logo-ticker-outer::after { width: 60px; }
}

/* ============================================================
   PICK UP カード（1件のみ・ページ上部）
   ============================================================ */
.pickup-section {
  padding: 56px 0 48px;
  background: #fafafa;
}
.pickup-section > .wrap {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}
.pickup-section-title {
  display: none;
  /* font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8380d;
  margin-bottom: 16px; */
}
.pickup-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  display: flex;
  flex-direction: row;
  transition: box-shadow 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eee;
}
.pickup-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}
.pickup-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #e8380d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 3;
  line-height: 1.5;
}
.pickup-img {
  flex: 0 0 46%;
  max-width: 46%;
  overflow: hidden;
  position: relative;
  min-height: 280px;
}
.pickup-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.pickup-card:hover .pickup-img img {
  transform: scale(1.04);
}
.pickup-body {
  flex: 1;
  padding: 44px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pickup-industry {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #e8380d;
  background: #fff3f0;
  border: 1px solid rgba(232,56,13,0.3);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
  width: fit-content;
}
.pickup-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: #111;
  margin-bottom: 16px;
}
.pickup-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pickup-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #e8380d;
  text-decoration: none;
  border: 1.5px solid #e8380d;
  border-radius: 6px;
  padding: 10px 22px;
  width: fit-content;
  transition: background 0.2s, color 0.2s;
}
.pickup-link:hover {
  background: #e8380d;
  color: #fff;
}
@media screen and (max-width: 1024px) {
  .pickup-body { padding: 36px 36px; }
  .pickup-title { font-size: 20px; }
}
@media screen and (max-width: 820px) {
  .pickup-card { flex-direction: column; }
  .pickup-img { flex: 0 0 auto; max-width: 100%; min-height: 220px; height: 220px; }
  .pickup-body { padding: 28px 24px; }
  .pickup-title { font-size: 18px; }
  .pickup-desc { font-size: 14px; -webkit-line-clamp: 4; }
}
@media screen and (max-width: 500px) {
  .pickup-img { height: 180px; }
  .pickup-title { font-size: 16px; }
  .pickup-body { padding: 20px 16px; }
}

/* ============================================================
   フィルター（業種タグ）
   ============================================================ */
.case-filter-section {
  padding: 36px 0 28px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
}
.case-filter-section > .wrap {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}
.case-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.case-filter-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 100px;
  padding: 7px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  user-select: none;
  letter-spacing: -0.01em;
  line-height: 1.4;
  font-family: inherit;
}
.case-filter-tag:hover {
  border-color: #e8380d;
  color: #e8380d;
}
.case-filter-tag.active {
  background: #e8380d;
  color: #fff;
  border-color: #e8380d;
}
@media screen and (max-width: 820px) {
  .case-filter-section { padding: 20px 0 16px; position: static; }
  .case-filter-tag { font-size: 12px; padding: 5px 12px; }
}

/* ============================================================
   事例カードグリッド（SmartHR風）
   ============================================================ */
.case-grid-section {
  padding: 48px 0 100px;
  background: #fff;
}
.case-grid-section > .wrap {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}
.case-count {
  font-size: 13px;
  color: #999;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.case-count span {
  font-weight: 700;
  color: #333;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.case-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.case-card.hidden {
  display: none;
}
.case-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f5f5f5;
}
.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.case-card:hover .case-card-img img {
  transform: scale(1.05);
}
.case-card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.case-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.case-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #777;
  background: #f4f4f4;
  border-radius: 4px;
  padding: 3px 8px;
  letter-spacing: 0.01em;
}
.case-card-tag.industry {
  color: #e8380d;
  background: #fff3f0;
}
.case-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.025em;
  color: #111;
  margin-bottom: 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-card-company {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.case-card-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #e8380d;
  text-decoration: none;
  margin-top: auto;
}
.case-card-more i {
  font-size: 13px;
  transition: transform 0.2s;
}
.case-card:hover .case-card-more i {
  transform: translateX(3px);
}
/* 絞り込み結果なし */
.case-no-result {
  display: none;
  text-align: center;
  padding: 60px 0;
  color: #bbb;
  font-size: 15px;
  grid-column: 1 / -1;
}
.case-no-result.show {
  display: block;
}
@media screen and (max-width: 1024px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media screen and (max-width: 600px) {
  .case-grid { grid-template-columns: 1fr; gap: 16px; }
  .case-grid-section { padding: 32px 0 60px; }
  .case-card-title { font-size: 14px; }
}

/* ============================================================
   ヒーローセクション リニューアル（subVisual--new）
   ============================================================ */
._s._uses .subVisual--new {
  padding: 150px 0 70px;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 60%, #16213e 100%);
  position: relative;
  overflow: hidden;
}
._s._uses .subVisual--new::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(229,57,53,0.18) 0%, transparent 65%);
  pointer-events: none;
}
._s._uses .subVisual--new .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 2カラムレイアウト */
.hero-inner {
  display: flex;
  align-items: flex-end;
  gap: 64px;
}
.hero-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.hero-visual {
  flex: 0 0 340px;
  position: relative;
  height: 320px;
}

/* アイキャッチ */
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #e53935;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 4px 12px;
  border: 1px solid rgba(229,57,53,0.4);
  border-radius: 20px;
  background: rgba(229,57,53,0.08);
}

/* タイトル */
.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 20px;
}

/* 説明文 */
.hero-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  max-width: 100%;
}

/* 実績数値 */
.hero-stats {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 0;
  flex-wrap: nowrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px;
}
.hero-stat:first-child {
  padding-left: 0;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-num small {
  font-size: 14px;
  font-weight: 600;
  margin-left: 2px;
  color: rgba(255,255,255,0.7);
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* CTAボタン */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e53935;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}
.hero-cta:hover {
  background: #c62828;
  transform: translateY(-1px);
}
.hero-cta::after {
  content: '→';
  font-size: 14px;
}

/* 右側フローティングカード */
.hero-bg-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,57,53,0.12) 0%, rgba(229,57,53,0.04) 50%, transparent 70%);
  border: 1px solid rgba(229,57,53,0.15);
}
.hero-card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 18px;
  white-space: nowrap;
  animation: hero-float 4s ease-in-out infinite;
}
.hero-card-float--1 {
  top: 20px;
  left: 20px;
  animation-delay: 0s;
}
.hero-card-float--2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 1.3s;
}
.hero-card-float--3 {
  bottom: 20px;
  left: 40px;
  animation-delay: 2.6s;
}
.hero-card-icon {
  font-size: 20px;
}
.hero-card-text {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.hero-card-text strong {
  color: #ff6b6b;
  font-weight: 700;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-card-float--2 {
  animation: hero-float-mid 4s ease-in-out infinite;
  animation-delay: 1.3s;
}
@keyframes hero-float-mid {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 8px)); }
}

/* レスポンシブ */
@media screen and (max-width: 1024px) {
  .hero-title { font-size: 40px; }
  .hero-visual { flex: 0 0 280px; height: 280px; }
}
@media screen and (max-width: 820px) {
  ._s._uses .subVisual--new { padding: 48px 0 40px; }
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-visual { flex: none; width: 100%; height: 200px; }
  .hero-title { font-size: 34px; }
  .hero-desc { max-width: 100%; }
  .hero-bg-circle { width: 180px; height: 180px; }
  .hero-card-float--1 { top: 10px; left: 10px; }
  .hero-card-float--2 { top: auto; bottom: 60px; right: 10px; transform: none; }
  .hero-card-float--3 { bottom: 10px; left: 50%; transform: translateX(-50%); }
}
@media screen and (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-stat-num { font-size: 22px; }
  .hero-stat { padding: 0 14px; }
}

/* ============================================================
   ヒーロー右側 CTAパネル
   ============================================================ */
.hero-cta-panel {
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-end;
  align-self: flex-end;
}

/* 注記テキスト */
.hero-stat-note {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.03em;
  margin-top: 2px;
  font-weight: 400;
}

/* CTAカード共通（全て赤ベース） */
.hero-cta-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-radius: 12px;
  background: #e53935;
  border: 1px solid #e53935;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.hero-cta-card:hover {
  background: #c62828;
  border-color: #c62828;
  transform: translateX(3px);
}

/* プライマリも同じ赤 */
.hero-cta-card--primary {
  background: #e53935;
  border-color: #e53935;
}
.hero-cta-card--primary:hover {
  background: #c62828;
  border-color: #c62828;
}

/* アイコン */
.hero-cta-card-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* テキスト */
.hero-cta-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-cta-card-body strong {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}
.hero-cta-card-body small {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  margin-top: 2px;
}

/* 矢印 */
.hero-cta-card-arrow {
  font-size: 20px;
  color: rgba(255,255,255,0.7);
  line-height: 1;
  transition: color 0.2s;
}
.hero-cta-card:hover .hero-cta-card-arrow {
  color: #fff;
}

/* 数値バー 4項目対応（追加オーバーライド） */
.hero-stat-label {
  display: flex;
  flex-direction: column;
}

/* 注記インライン番号 */
.hero-stat-note-inline {
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  vertical-align: super;
  margin-left: 1px;
  font-weight: 400;
}

/* 数値右上の上付き注記番号 */
.hero-stat-sup {
  font-size: 8px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  vertical-align: super;
  margin-left: 1px;
  line-height: 1;
}

/* 注記まとめ（数値バー下） */
.hero-footnotes {
  margin-top: 14px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
  line-height: 1.6;
}

/* レスポンシブ（CTAパネル） */
@media screen and (max-width: 1200px) {
  .hero-cta-panel { flex: 0 0 360px; }
  .hero-inner { gap: 48px; }
}
@media screen and (max-width: 1024px) {
  .hero-title { font-size: 40px; }
  .hero-cta-panel { flex: 0 0 340px; }
  .hero-inner { gap: 40px; }
  .hero-cta-card-body strong { font-size: 14px; }
}
@media screen and (max-width: 820px) {
  ._s._uses .subVisual--new { padding: 60px 0; }
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-cta-panel { flex: none; width: 100%; max-width: 520px; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { min-width: calc(50% - 1px); padding: 16px 16px 0; }
  .hero-stat:first-child { padding-left: 0; }
  .hero-stat-divider { display: none; }
  .hero-desc { max-width: 100%; }
}
@media screen and (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-cta-panel { max-width: 100%; }
  .hero-stat { min-width: calc(50% - 1px); padding: 12px 12px 0; }
  .hero-stat-num { font-size: 22px; }
}

/* ============================================================
   日本語フォント強制適用（コンテンツ全域）
   ============================================================ */
.subVisual--new, .subVisual--new *,
.logo-ticker-section, .logo-ticker-section *,
.pickup-section, .pickup-section *,
.filter-section, .filter-section *,
.cases-grid, .cases-grid *,
.case-card, .case-card *,
.case-card-title, .case-card-body, .case-card-tag,
.pickup-card, .pickup-card *,
.hero-text, .hero-text *,
.hero-stat, .hero-stat *,
.hero-cta-panel, .hero-cta-panel *,
.filter-btn, .cases-count {
  font-family: 'Noto Sans JP', sans-serif !important;
}

/* ロゴ個別サイズ調整 */
/* 横長ロゴ（McDonald's）: max-widthを広げて大きく表示 */
.logo-ticker-logo img[alt="McDonald's"] {
  max-width: 240px;
}
/* SAMSUNG: 楕円余白があるため少し大きく */
.logo-ticker-logo img[alt="SAMSUNG"] {
  max-width: 220px;
}
/* LOTTE: 文字が太く大きいため少し小さく */
.logo-ticker-logo img[alt="LOTTE"] {
  max-width: 120px;
}
/* HYUNDAI MOTOR GROUP: 2行テキストで縦に詰まるため少し小さく */
.logo-ticker-logo img[alt="HYUNDAI MOTOR GROUP"] {
  max-width: 130px;
}
