@charset "utf-8";
/* CSS Document */

    :root {
      --navy: #0b172a;
      --navy2: #1e293b;
      --navy3: #334155;
      --blue: #2563eb;
      --blue-light: #60a5fa;
      --orange: #ea580c;
      --orange-light: #f97316;
      --white: #ffffff;
      --off-white: #f8fafc;
      --text: #0f172a;
      --muted: #64748b;
      --border: #e2e8f0;
      --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
      --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
      --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
      --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Noto Sans JP', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }
    img { max-width: 100%; height: auto; display: block; }

    /* ========= NAVIGATION ========= */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      background: rgba(11, 23, 42, 0.95); backdrop-filter: blur(10px);
      height: 70px; display: flex; align-items: center; padding: 0 40px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1); transition: background 0.3s;
    }
    .nav-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; }
    .nav-logo { display: flex; align-items: center; gap: 12px; }
    .nav-logo-badge { background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: white; font-family: 'Oswald', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 4px 10px; border-radius: 4px; }
    .nav-logo-name { color: var(--white); font-size: 18px; font-weight: 900; letter-spacing: 0.5px; }
    .nav-logo-sub { color: var(--blue-light); font-size: 12px; margin-left: 6px; font-weight: 500; }
    .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
    .nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
    .nav-links a:hover { color: var(--blue-light); }
    .nav-cta { background: var(--orange); color: white !important; padding: 10px 24px; border-radius: 4px; font-weight: 700 !important; transition: background 0.2s, transform 0.2s !important; }
    .nav-cta:hover { background: var(--orange-light) !important; transform: translateY(-1px); }

    /* ========= HERO ========= */
    #hero {
      min-height: 60vh; position: relative;
      display: flex; align-items: center; overflow: hidden; padding-top: 70px;
    }
    .hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 40px 40px; }
    .hero-bg-glow { position: absolute; width: 800px; height: 800px; right: -200px; top: -100px; background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 60%); }
    .hero-inner { max-width: 1200px; margin: 0 auto; padding: 80px 40px; position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
    
    .hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(37, 99, 235, 0.15); border: 1px solid rgba(96, 165, 250, 0.3); color: var(--blue-light); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; padding: 6px 16px; border-radius: 30px; margin-bottom: 24px; animation: fadeInUp 0.7s ease both; }
    .hero-headline { font-size: clamp(36px, 4vw, 48px); font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 16px; animation: fadeInUp 0.7s 0.1s ease both; }
    .hero-headline .accent { color: var(--blue-light); }
    .hero-headline2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 900; color: var(--white); line-height: 1.3; margin-bottom: 24px; animation: fadeInUp 0.7s 0.15s ease both; }
    .hero-headline2 .orange { color: var(--orange-light); }
    .hero-sub { font-size: 16px; color: rgba(255, 255, 255, 0.7); line-height: 1.8; margin-bottom: 40px; animation: fadeInUp 0.7s 0.2s ease both; }
    .hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; animation: fadeInUp 0.7s 0.25s ease both; }
    
    .btn-primary { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: white; padding: 16px 36px; border-radius: 6px; font-size: 16px; font-weight: 700; text-decoration: none; transition: box-shadow 0.2s, transform 0.2s; box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4); }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(234, 88, 12, 0.6); }
    .btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.05); color: white; padding: 16px 32px; border-radius: 6px; font-size: 16px; font-weight: 700; text-decoration: none; border: 1px solid rgba(255,255,255,0.2); transition: background 0.2s; }
    .btn-secondary:hover { background: rgba(255,255,255,0.1); }
    
    .hero-image-wrapper { position: relative; animation: fadeInUp 0.7s 0.3s ease both; }
    .hero-image { border-radius: 12px; box-shadow: var(--shadow-xl); border: 1px solid rgba(255,255,255,0.1); }
    .hero-floating-card { position: absolute; bottom: -20px; left: -20px; background: white; padding: 16px 24px; border-radius: 8px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; animation: float 6s ease-in-out infinite; }
    .hero-floating-card-icon { background: #dcfce7; color: #166534; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
    .hero-floating-card-text { font-weight: 700; font-size: 18px; color: var(--navy2); }
    .hero-floating-card-sub { font-weight: 700; font-size: 18px; color: var(--navy2);  }

    /* ========= SECTION COMMON ========= */
    section { padding: 100px 40px; }
    .section-inner { max-width: 1200px; margin: 0 auto; }
    .section-header { text-align: center; margin-bottom: 60px; }
    .section-label { display: inline-block; font-size: 13px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
    .section-title { font-size: clamp(28px, 3.5vw, 40px); font-weight: 900; color: var(--navy2); line-height: 1.4; }
    .section-rule { width: 60px; height: 4px; background: var(--blue); margin: 20px auto 0; border-radius: 2px; }

    /* ========= PAIN POINTS ========= */
    #pain { background: var(--off-white); }
    .pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
    .pain-card { background: white; border-radius: 12px; padding: 32px 13px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; position: relative; }
    .pain-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #fca5a5; }
    .pain-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 12px 12px 0 0; background: #fca5a5; }
    .pain-img { width: 100px; height: 100px; margin-bottom: 8px; border-radius: 50%; object-fit: cover; border: 3px solid #fee2e2; }
    .pain-text { font-size: 16px; font-weight: 700; color: var(--navy2); line-height: 1.5; }
    
    .pain-solution-arrow { text-align: center; margin-top: 50px; }
    .pain-solution-text { display: inline-block; font-size: 20px; font-weight: 900; color: white; padding: 20px 40px; background: linear-gradient(135deg, var(--blue), #3b82f6); border-radius: 50px; box-shadow: var(--shadow-md); }

    /* ========= PRODUCT OVERVIEW / SOLUTION ========= */
    #solution { background: white; }
    .solution-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
    .solution-content h3 { font-size: 28px; font-weight: 900; color: var(--navy2); margin-bottom: 24px; line-height: 1.4; }
    .solution-content p { font-size: 16px; color: var(--muted); margin-bottom: 32px; line-height: 1.8; }
    .solution-list { display: flex; flex-direction: column; gap: 20px; }
    .solution-item { display: flex; align-items: flex-start; gap: 16px; }
    .solution-icon { background: #eff6ff; color: var(--blue); width: 48px; height: 48px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
    .solution-item h4 { font-size: 18px; font-weight: 700; color: var(--navy2); margin-bottom: 6px; }
    .solution-item p { font-size: 14px; color: var(--muted); margin: 0; }
    .solution-image img { border-radius: 12px; box-shadow: var(--shadow-lg); }

    /* ========= MERITS ========= */
    #merits { background: var(--navy2); color: white; }
    #merits .section-title { color: white; }
    .merits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .merit-card { background: var(--navy3); border-radius: 12px; padding: 40px 32px; text-align: center; position: relative; border: 1px solid rgba(255,255,255,0.05); }
    .merit-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; border-radius: 0 0 12px 12px; background: linear-gradient(90deg, var(--orange), var(--orange-light)); }
    .merit-number { font-family: 'Oswald', sans-serif; font-size: 72px; font-weight: 700; color: var(--orange-light); line-height: 1; margin-bottom: 16px; }
    .merit-number span { font-size: 24px; }
    .merit-label { font-size: 20px; font-weight: 700; color: white; margin-bottom: 12px; }
    .merit-desc { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }

    /* ========= FEATURES ========= */
    #features { background: var(--off-white); }
    .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .feature-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; }
    .feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
    .feature-img { width: 100%; height: 160px; object-fit: cover; }
    .feature-body { padding: 24px; }
    .feature-num { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
    .feature-title { font-size: 18px; font-weight: 700; color: var(--navy2); margin-bottom: 12px; line-height: 1.4; }
    .feature-text { font-size: 14px; color: var(--muted); line-height: 1.6; }

    /* ========= FLOW ========= */
    #flow { background: var(--off-white); }
    .flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
    .flow-step { text-align: center; position: relative; padding: 30px 20px; background: var(--white); border-radius: 12px; border: 1px solid var(--border); }
    .flow-step-num { width: 48px; height: 48px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 700; color: white; }
    .flow-step-title { font-size: 18px; font-weight: 700; color: var(--navy2); margin-bottom: 12px; }
    .flow-step-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

    /* ========= CTA ========= */
    #cta { background: linear-gradient(135deg, var(--orange), #c2410c); padding: 100px 40px; text-align: center; color: white; position: relative; overflow: hidden; }
    .cta-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
    .cta-title { font-size: clamp(32px, 4vw, 48px); font-weight: 900; margin-bottom: 24px; line-height: 1.3; }
    .cta-sub { font-size: 18px; color: rgba(255,255,255,0.9); margin-bottom: 40px; }
    .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
    .btn-white { display: inline-flex; align-items: center; justify-content: center; background: white; color: var(--orange); padding: 18px 48px; border-radius: 50px; font-size: 18px; font-weight: 900; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; box-shadow: var(--shadow-lg); }
    .btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }

    /* ========= FOOTER ========= */
    footer { background: var(--navy); padding: 60px 40px 30px; border-top: 1px solid rgba(255,255,255,0.05); }
    .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
    .footer-logo { color: white; font-size: 20px; font-weight: 900; }
    .footer-links { display: flex; gap: 32px; }
    .footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color 0.2s; }
    .footer-links a:hover { color: white; }
    .footer-copy { color: rgba(255,255,255,0.4); font-size: 12px; margin-top: 20px; }
	.footer-logo img {  width: 330px;  height: auto;  display: block;}

    /* ========= ANIMATIONS ========= */
    @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
    
    .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    /* ========= RESPONSIVE ========= */
    @media (max-width: 992px) {
      .hero-inner, .solution-wrapper { grid-template-columns: 1fr; text-align: center; gap: 40px; }
      .hero-eyebrow, .hero-btns, .solution-item { justify-content: center; text-align: left; }
      .merits-grid, .features-grid, .flow-steps { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      nav { padding: 0 20px; }
      .nav-links { display: none; }
      .merits-grid, .features-grid, .flow-steps { grid-template-columns: 1fr; }
      section { padding: 80px 20px; }
    }

現在のCSSを拝見したところ、導入事例（#casestudy）のレイアウトは、PCでは綺麗に横並び（grid-template-columns: 1fr auto;）になるものの、タブレットやスマホサイズへの変化（メディアクエリ）が指定されていないため、画面幅が狭くなると要素が潰れてレイアウト崩れを起こしてしまいますね。

他セクションのモダンなデザイン（角丸、シャドウ、グラデーションなど）に合わせて見栄えをかっこよくしつつ、レスポンシブで綺麗に折り返されるようにCSSを調整しました。

main.css の中にある /* ========= CASE STUDY ========= */ から /* ========= カルーセル用のスタイル ========= */ の終わりまでを、以下のコードに丸ごと差し替えてみてください。HTMLはいじらなくて大丈夫です！

変更用のCSSコード
CSS
/* ========= CASE STUDY ========= */
#casestudy {
  background: var(--off-white); /* 背景を少し暗くして白いカードを際立たせる */
  padding: 100px 40px;
}

.casestudy-card {
  background: white;
  border-radius: 16px;
  padding: 56px;
  box-shadow: 0 10px 40px -10px rgba(11, 23, 42, 0.08);
  border: 1px solid var(--border);
  border-bottom: 7px solid var(--navy3); /* 左線から上部アクセントラインに変更しモダンに */
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* 背景画像が設定されたスライドでも文字を読みやすくするための白透過レイヤー */
.casestudy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6); 
  z-index: -1;
  border-radius: 16px;
}

/* 業界ラベルの装飾 */
.casestudy-industry {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--white);
  background: rgba(234, 88, 12, 1);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.casestudy-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy2);
  margin-bottom: 20px;
  line-height: 1.5;
}

.casestudy-body {
  font-size: 15px;
  color: var(--navy);
  line-height: 1.8;
}

/* スタッツ（実績数値）エリア */
.casestudy-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.stat-item {
  background: var(--off-white);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時の浮き上がり効果 */
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  background: white;
}

/* 数値をグラデーションにしてインパクトを出す */
.stat-value {
  font-family: 'Oswald', sans-serif;
  font-size: 38px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
  line-height: 1.2;
}
/* 数字の横の単位（%削減など）を小さくする指定を追加 */
.stat-value span {
  font-size: 38px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  margin-left: 4px;
}

.stat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy3);
}

/* ========= カルーセル用のスタイル ========= */
.casestudy-carousel {
  position: relative;
  overflow: hidden;
  padding-bottom: 60px; /* ドットインジケーター用の余白 */
}

/* スライドの初期状態（非表示） */
.casestudy-slide {
  display: none;
  animation: fadeSlide 0.6s ease-in-out;
}

/* アクティブなスライドを表示 */
.casestudy-slide.active {
  display: grid;
  grid-template-columns: 1fr 320px; /* PC時は右側にスタッツを固定幅で配置 */
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* インジケーター（ドット） */
.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

/* 丸からモダンなピル（楕円）デザインに変更 */
.carousel-indicators .dot {
  cursor: pointer;
  height: 8px;
  width: 24px;
  background-color: var(--border); 
  border-radius: 4px;
  display: inline-block;
  transition: background-color 0.3s ease, width 0.3s ease;
}

.carousel-indicators .dot.active, 
.carousel-indicators .dot:hover {
  background-color: var(--blue);
  width: 40px; /* アクティブなドットは横に伸びる */
}

/* ========= レスポンシブ対応 (Case Study) ========= */
@media (max-width: 992px) {
  .casestudy-slide.active {
    grid-template-columns: 1fr; /* タブレット以下では縦積みに変更 */
    gap: 40px;
  }
  .casestudy-card {
    padding: 40px 32px;
  }
  .casestudy-stats {
    grid-template-columns: repeat(3, 1fr); /* スタッツを横並び3列に変更 */
  }
}

@media (max-width: 768px) {
  #casestudy {
    padding: 80px 20px;
  }
  .casestudy-card {
    padding: 32px 20px;
    gap: 32px;
  }
  .casestudy-title {
    font-size: 24px;
  }
  .casestudy-stats {
    grid-template-columns: 1fr; /* スマホではスタッツを再度縦積みに */
  }
  .stat-item {
    padding: 20px;
  }
  .stat-value {
    font-size: 32px;
  }
}

/* --- ここから下を新規追加（課題・導入内容ボックス） --- */
.casestudy-box-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.casestudy-box {
  background: var(--white);
  border-radius: 10px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.casestudy-box-pain {
  border-bottom: 4px solid #f87171; /* 課題は赤系のアクセント */
}

.casestudy-box-solution {
  border-bottom: 4px solid var(--blue-light); /* 導入内容は青系のアクセント */
}

.box-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy2);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.box-icon {
  font-size: 16px;
}

.casestudy-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.casestudy-box li {
  font-size: 13px;
  color: var(--navy3);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.casestudy-box li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  font-weight: 900;
}

/* アイコンの色分け */
.casestudy-box-pain li::before { color: #f87171; }
.casestudy-box-solution li::before { color: var(--blue-light); }

/* --- レスポンシブの追加対応（タブレット・スマホで縦積みにする） --- */
@media (max-width: 992px) {
  .casestudy-box-wrap {
    grid-template-columns: 1fr; /* タブレット以下では縦積み */
    gap: 16px;
  }
}

/* video ////////////////////////////////////////////////////////////// */

.index-video-wrap{
	z-index: -1;
	position: absolute;
	width: 100%;
}

.index-video-size{
	width: 100%;
	height: auto;
}

.index-haikei {
	width: 100%;
	height: auto;
}

.kasou-haikei {
	width: 100%;
	height: auto;
	opacity: 0.8;
}

.video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-top: 30px;
    margin-bottom: 0px;
}

.video iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.video img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

@media all and (max-width: 575px) {
.index-video-wrap{
	top:56px;
	height: 100%;
}

.index-video-size{
	display:none;
}

.index-haikei{
	display:inline;
	height: 100%;
}
}

@media all and (min-width:576px) and (max-width:767px) {
.index-video-wrap{
	top:56px;
	height: 100%;
}

.index-video-size{
	display:none;
}

.index-haikei{
	display:inline;
	height: 100%;
}

}

@media all and (min-width:768px) and (max-width:991px) {
.index-video-wrap{
	top:56px;
}

.index-video-size{
	display:none;
}

.index-haikei{
	display:inline;
}

}

@media all and (min-width:992px) and (max-width:1199px) {
.index-video-wrap{
	top:57px;
}

.index-video-size{
	display:inline;
}

.index-haikei{
	display:none;
}

}

@media all and (min-width:1200px) and (max-width:1399px) {
.index-video-wrap{
	top:0;
}

.index-video-size{
	display:inline;
}

.index-haikei{
	display:none;
}
	
}

@media all and (min-width: 1400px) {
.index-video-wrap{
	top:-100px;
}

.index-video-size{
	display:inline;
}

.index-haikei{
	display:none;
}

}

.casestudy-slide1{
	background-image: url("cont/13.png");
	background-size: cover;
	background-repeat: no-repeat;
}

.casestudy-slide2{
	background-image: url("cont/14.png");
	background-size: cover;
	background-repeat: no-repeat;	
}

.casestudy-slide3{
	background-image: url("cont/15.png");
	background-size: cover;
	background-repeat: no-repeat;		
}

/* ========= 開発実績（テキスト一覧） ========= */

.devresults{
  margin-top: 56px;
  padding: 40px;
  border-radius: 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.devresults-head{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.devresults-label{
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.devresults-title{
  font-size: 24px;
  font-weight: 900;
  color: var(--navy2);
  line-height: 1.3;
  margin-bottom: 6px;
}

.devresults-lead{
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.devresults-badge {
  width: 190px;
  border-radius: 999px;
  padding: 16px 18px;
  background: var(--blue); /* 複雑なグラデーションをやめて単色のブルーに変更 */
  color: white;
  text-align: center;
  box-shadow: var(--shadow-md);
  /* border: 1px solid rgba(...); は不要になるので削除しました */
}

.devresults-badge-top,
.devresults-badge-bottom{
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  opacity: 0.9;
}

.devresults-badge-num{
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  margin: 2px 0 0;
}

.devresults-badge-num span{
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  margin-left: 4px;
}

.devresults-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.devresults-card{
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 22px 22px 18px;
}

.devresults-card--primary{
  border-left: 4px solid var(--blue);
}

.devresults-cardhead{
  margin-bottom: 14px;
}

.devresults-mark{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 10px;
}

.devresults-cardtitle{
  font-size: 16px;
  font-weight: 900;
  color: var(--navy2);
  line-height: 1.4;
  margin-bottom: 6px;
}

.devresults-cardnote{
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.devresults-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.devresults-list li{
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--navy2);
  line-height: 1.7;
}

.devresults-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--orange);
  opacity: 0.9;
}

/* 長い「自動設計＆図面連携系」だけ多段組で密度UP */
.devresults-list--cols{
  column-count: 2;
  column-gap: 20px;
  display: block;
}

.devresults-list--cols li{
  break-inside: avoid;
  margin: 0 0 10px 0;
}

/* --- 業種例ボックスのスタイル --- */
.devresults-industries {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px; /* 下のカード一覧との余白 */
  box-shadow: var(--shadow-sm);
}

.devresults-industries-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy2);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.devresults-industries-title .icon {
  font-size: 18px;
}

.devresults-industries-list {
  display: flex;
  flex-wrap: wrap; /* 画面幅に応じて自動で折り返し */
  gap: 12px;
}

.industry-tag {
  background: #eff6ff;
  color: var(--blue);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  transition: background 0.2s, transform 0.2s;
}

.industry-tag:hover {
  background: #dbeafe;
  transform: translateY(-2px);
}

/* スマホ用の微調整 */
@media (max-width: 768px) {
  .devresults-industries {
    padding: 20px 16px;
  }
  .industry-tag {
    font-size: 13px;
    padding: 6px 14px;
  }
}

/* ========= Responsive ========= */
@media (max-width: 992px){
  .devresults-head{
    grid-template-columns: 1fr;
  }
  .devresults-badge{
    width: 100%;
    border-radius: 14px;
  }
  .devresults-grid{
    grid-template-columns: 1fr;
  }
  .devresults-list--cols{
    column-count: 1;
  }
}

@media (max-width: 768px){
  .devresults{
    padding: 26px 18px;
  }
}

.nav-logo-name img {
    width: 230px;
    height: auto;
    display: block;
}

.devresults-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 下の2つを横並びにするための2カラム設定 */
  gap: 24px;
}

.devresults-card {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

/* 一番上の「自動設計＆図面連携系」を横幅いっぱい（全幅）に広げる魔法 */
.devresults-card--primary {
  grid-column: 1 / -1; 
  border-left: 4px solid var(--blue);
}

.devresults-cardhead {
  margin-bottom: 20px;
}

.devresults-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 10px;
}

.devresults-cardtitle {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy2);
  line-height: 1.4;
  margin-bottom: 6px;
}

.devresults-cardnote {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* リスト全体のレイアウト調整 */
.devresults-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  /* 以前の260pxから320pxに拡大！これで長い文字も極力改行されずに横に並びます */
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px 24px;
}

/* --- (ここから下の .devresults-list--cols や li の指定は変更なしでOKです) --- */

/* レスポンシブ対応（画面が狭いタブレットやスマホ用）の下の方の記述に以下を追加/上書きしてください */
@media (max-width: 992px) {
  .devresults-grid {
    grid-template-columns: 1fr; /* 画面が狭くなったら横並びをやめて全部縦積みに戻す */
  }
  .devresults-card--primary {
    grid-column: auto;
  }
  .devresults-list {
    /* タブレット以下は画面幅に合わせて少し幅を狭める */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}


