/* 基本リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ヒーローセクション */
.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3% 10%;
  padding-bottom: 4%;
  background-color: #fff;
}

.hero-content {
  max-width: 50%;
  padding-left: 10%;
  padding-top: 3%;
}

.tagline {
  font-size: 14px;
  color: #333;
  font-weight: bold;
  letter-spacing: 1px;
  padding-left: 2%;
  margin-bottom: 10px;
}

.logo {
  width: 70%;
  margin-bottom: 20px;
}

.animated-section {
  text-align: left;
}

/* アニメーション共通 */
.animated-slide {
  display: inline-block;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-in-out;
}

.sub-title {
  font-size: 22px;
  line-height: 1.7;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: #333;
  margin-bottom: 20px;
}

.gradient-text {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 1.5px;
  background-image: linear-gradient(to right, #7c9eb2, #d6a35e, #a1b945, #66b4b2, #4a8db3, #9f8ac9, #d17f93); /* 少し鮮やかな色調のグラデーション */
  -webkit-background-clip: text; /* グラデーションを文字に適用 */
  color: transparent; /* 文字自体の色を透明にして、背景のグラデーションを表示 */
  display: inline-block;
}

.highlight {
  font-weight: bold;
  color: #333;
  letter-spacing: 1.5px;
}

.cta-button {
  display: inline-block;
  padding: 15px 38px;
  background-color: #75cabe;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-top: 30px;
}

.cta-button:hover {
  color: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px); /* ボタンが少し浮き上がる */
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex;
  align-items: center;
}

.hero-image img {
  max-width: 80%;
  height: auto;
}

/* 画像アニメーション */
.fade-in-bottom {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-bottom.show {
  opacity: 1;
  transform: translateY(0);
}

/* アワードセクション */
.awards-section {
  background: linear-gradient(to right, #fffae2, #e5f0e6,#d3eaf3);
  text-align: center;
  padding: 22px 0;
}

.awards-content img {
  max-width: 60%;
  height: auto;
}


/* パートナーロゴ */
/* スライダー全体のコンテナ */
.slider-container {
  overflow: hidden;
  width: 100%; /* 必要に応じて調整 */
}

/* スライドを横に並べてアニメーション */
.slides {
  display: flex;
  width: 200%; /* 2つのスライドセット（各スライドの幅100%分） */
  animation: slide 50s linear infinite; /* 20秒でスライドする */
  animation-delay: 0.5s; /* アニメーション開始まで1秒の遅延を追加 */
}

/* 各スライド（1セット分） */
.slide {
  display: flex;
  flex: 1 0 100%; /* 幅を100%に設定して横並びにする */
  justify-content: space-between; /* ロゴ間にスペースを均等に設定 */
}

/* アニメーション：スライドを左に移動 */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* 2セット分の幅が動く */
  }
}

.slide img {
  width: 4%; /* 各画像の幅 */
  margin: 10px; /* 画像間のスペース調整 */
}


/* セクション全体 */
.kasanare-section {
  position: relative; /* 背景の配置基準 */
  padding: 20px;
  text-align: center;
  color: #333;
  width: 100%;
  background: #fafafa;
  overflow: hidden; /* 背景外を隠す */
  z-index: 1; /* 背景より前に表示 */
}


/* 見出し */
.section-heading {
  font-size: 16px;
  font-weight: bold;
  color: #75cabe;
  margin-bottom: 8px;
  letter-spacing: 2px;
  margin-top: 50px;
  z-index: 2; /* 背景より前に表示 */
  position: relative; /* 疑似要素との競合を防ぐ */
}

/* メインタイトル */
.kasanare-main-title {
  display: flex; /* Flexboxを有効にする */
  align-items: flex-end; /* 子要素を下揃えにする */
  justify-content: center;
  gap: 6px;
  z-index: 2; /* 背景より前に表示 */
  position: relative; /* 疑似要素との競合を防ぐ */
}

.kasanare-logo {
  width: auto;
  max-height: 60px;
  z-index: 2; /* 背景より前に表示 */
  position: relative; /* 疑似要素との競合を防ぐ */
}

.main-subtitle {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
}

/* 説明文 */
.kasanare-description {
  font-size: 18px;
  line-height: 1.8;
  margin: 0px auto;
  max-width: 950px;
  margin-top: 30px;
  z-index: 2; /* 背景より前に表示 */
  position: relative; /* 疑似要素との競合を防ぐ */
}

.kasanare-description2 {
  font-size: 14px;
  line-height: 1.8;
  margin: 0px auto;
  max-width: 950px;
  margin-bottom: 30px;
  z-index: 2; /* 背景より前に表示 */
  position: relative; /* 疑似要素との競合を防ぐ */
}

/* 画像セクション */
.service-image-section {
  display: none;
  justify-content: space-around;
  align-items: center;
  margin-top: 40px;
  z-index: 2; /* 背景より前に表示 */
  position: relative; /* 疑似要素との競合を防ぐ */
}

.service-image {
  flex: 1; /* フレックス要素として設定 */
  text-align: center; /* 中央揃え */
}

.service-image img{
  max-width: 900px; /* 画像の幅を親要素に合わせる */
  width: 50%;
  height: auto; /* 縦横比を保持 */
}


/*Kasanareの特徴*/
.kinou-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
  justify-content: center; /* コンテナ全体を中央揃え */
  align-items: center;
  max-width: 900px;
  width: 80%;
  margin: 0 auto;
  margin-top: 20px;
}

.kinou-card {
  position: relative;
  background-color: #fff;
  border-radius: 50px;
  border: solid 2px #d0ebe7;
  text-align: left;
  padding: 10px;
  align-items: center;
  min-width: 250px; /* モバイル対応 */
  width: 250px;
  height: 250px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* 自然な影 */
  backdrop-filter: blur(10px); /* 背景ぼかし */
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden; /* 擬似要素がはみ出さないように */
}

/* 疑似要素で塗りつぶしアニメーション */
.kinou-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #d4f0eb, #bfe6df);
  transform: translateY(-100%); /* 初期状態で上に隠す */
  transition: transform 0.4s ease-in-out;
}

/* ホバー時に疑似要素を下にスライドさせて塗りつぶす */
.kinou-card:hover::before {
  transform: translateY(0);
}

/* 疑似要素の上にコンテンツを表示 */
.kinou-card > * {
  position: relative;
  z-index: 1;
}


.kinou-icon {
  width: 120px;
  align-items: center;
  margin: 0 auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.1s ease-in-out, transform 0.3s ease-in-out;
}

.kinou-card-subtitle {
background: linear-gradient(to right, #fffae2, #e5f0e6, #d3eaf3);
  color: #333;
  font-size: 12px;
  padding: 5px 20px;
  border-radius: 20px;
  display: inline-block;
  margin: 0 auto;
  margin-bottom: 0px;
  transition: opacity 1s ease-out; /* 表示時は遅く（ゆっくり出る） */
}

.kinou-card-subtitle2 {
background: linear-gradient(to right, #d3eaf3, #d9def6, #dbd1f4);
  color: #333;
  font-size: 12px;
  padding: 5px 20px;
  border-radius: 20px;
  display: inline-block;
  margin: 0 auto;
  margin-bottom: 0px;
  transition: opacity 1s ease-out; /* 表示時は遅く（ゆっくり出る） */
}


.kinou-card-title {
  font-size: 15px;
  font-weight: bold;
  margin: 0 auto;
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease-in-out;
}


.kinou-card:hover .kinou-icon{
  opacity: 0;
}

.kinou-card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央配置 */
  border-radius: 50px;
  border: solid 2px #75cabe;
  text-align: center;
  padding: 20px;
  width: 250px;
  height: 250px;
  opacity: 0;
  visibility: hidden;
  font-size: 13px;
  letter-spacing: 0.2px;
  line-height: 1.5;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, transform 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ホバー時に説明文を表示 */
.kinou-card:hover .kinou-card-content {
  opacity: 1;
  visibility: visible;
}

/* テクノロジーピースセクション */
/* 全体セクションのスタイル */
.peace-section {
  background-color: #fff;
  padding: 40px 60px; /* セクション内余白 */
  margin: 0 auto;
  max-width: 100%; /* セクションの最大幅 */
  z-index: 2; /* 背景より前に表示 */
  position: relative; /* 疑似要素との競合を防ぐ */
}

/* 全体のコンテナ */
.peace-container {
  display: flex;
  align-items: flex-start; /* 子要素を上揃え */
  justify-content: space-between;
  flex-wrap: wrap; /* レスポンシブ対応 */
  align-items: center;
  margin: 0 auto;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 25px; /* 角を少し丸く */
  max-width: 1170px;
  border: solid, 4px, #eee;
  padding: 30px;
}

/* 左側のテキストエリア */
.peace-text {
  flex: 1;
  max-width: 57%; /* 左側の最大幅 */
  text-align: left; /* テキストを左揃えに設定 */
  padding: 0px 30px;
}

.peace-text p{
  color: #333;
}

.core-technology {
  display: inline-block; /* 必須：インライン要素をブロック化 */
  position: relative; /* 吹き出し用の位置基準 */
  font-size: 12px;
  font-weight: bold;
  color: #fff; /* テキストの色 */
  background: linear-gradient(45deg, #ffef9a, #e2e47d, #67b9d8); /* 指定されたグラデーション */
  background-size: 100% 600%; /* グラデーションのスムーズな見た目 */
  padding: 6px 22px; /* 内側の余白 */
  border-radius: 20px; /* 吹き出し部分の丸み */
  margin-bottom: 20px; /* 下部余白 */
}

.core-technology::after {
  content: ""; /* 吹き出しの先端部分 */
  position: absolute;
  bottom: -5px; /* 吹き出しの先端の位置 */
  left: 20px; /* 吹き出しの開始位置を調整 */
  width: 0; /* 初期状態で幅を0 */
  height: 0; /* 初期状態で高さを0 */
  border-style: solid;
  border-width: 8px 8px 0 8px; /* 吹き出しの三角形サイズ */
  border-color: #e2e47d transparent transparent transparent; /* 吹き出しの先端の色 */
}


.main-title {
  font-size: 22px; /* 見出しのサイズ */
  font-weight: bold;
  color: #6cc4d4;
  letter-spacing: 2px;
}

.main-title2 {
  font-size: 22px; /* 見出しのサイズ */
  font-weight: bold;
  letter-spacing: 2px;
}

.peace-description {
  font-size: 13px; /* 本文のフォントサイズ */
  line-height: 1.8; /* 行間を広く */
  color: #333; /* やや薄めのダークグレー */
  margin-top: 10px;
  font-weight: bold;
  padding-bottom: 10px;
}

/* 右側の画像エリア */
.peace-visual {
  flex: 1;
  max-width: 44%; /* 画像エリアの最大幅 */
  text-align: center; /* 中央揃え */
}

.peace-visual img{
  max-width: 100%; /* 画像エリアの最大幅 */
}


/* 全体セクションのスタイル */

.service-section {
  text-align: center;
  color: #333;
  width: 100%;
  background: #fafafa;
  padding-bottom: 50px;
}


/* 各サービス項目のスタイル */
.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0px;
  width: 70%;
  margin: 0px auto;
}

/* テキスト部分 */
.service-text {
  flex: 1;
  text-align: left;
}

.service-title {
  font-size: 22px;
  font-weight: bold;
  color: #646464;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.highlite {

color: #333;
display: inline-block;
position: relative;
text-decoration: none; /* デフォルトの下線を削除 */
}

.highlite::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0; /* 下線の位置 */
  width: 100%;
  height: 5px; /* 下線の太さ */
  background: linear-gradient(to right, #7c9eb2, #d6a35e, #a1b945, #66b4b2, #4a8db3, #9f8ac9, #d17f93);
  border-radius: 10px; /* 丸みをつける */
}


.service-description {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
}

.service-img{
  width: 40%;
  margin: 0 auto;
  padding: 30px; /* 内側の余白を削除 */
  margin: 0; /* 外側の余白を削除 */
}

  /* 左に寄せるセクション */
.section-left {
  margin-left: 150px; /* 左に寄せる */
}

/* 右に寄せるセクション */
.section-right {
  margin-right: 150px; /* 右に寄せる */
}

/* ピースの説明セクション */
.pieces-section {
  position: relative; /* 背景の配置基準 */
  text-align: center;
  color: #333;
  width: 100%;
  background: #fff; /* グラデーション背景 */
  overflow: hidden; /* 背景外を隠す */
  z-index: 1; /* 背景より前に表示 */
  padding-bottom: 50px;
}

.pieces-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 40px;
  margin: 0 auto;
  justify-items: center; /* 中央揃え */
  width: 1100px;
  z-index: 2; /* 背景より前に表示 */
  position: relative; /* 疑似要素との競合を防ぐ */
}

.piece-item {
  background-color: #fafafa;
  border-radius: 50%; /* 丸い形状 */
  width: 270px; /* アイテムの幅 */
  height: 270px; /* アイテムの高さ */
  display: flex; /* Flexboxを適用 */
  flex-direction: column; /* 縦並び */
  align-items: center; /* 水平方向で中央揃え */
  justify-content: center; /* 垂直方向で中央揃え */
  text-align: center; /* テキストを中央揃え */
  padding: 10px;
}

.piece-icon {
  width: 100px;
  height: 100px;
}

.piece-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.piece-item ul {
  padding: 0;
  list-style: none; /* リストマーカーを削除 */
  font-size: 12px;
  color: #555;
  width: 80%;
}

.piece-item ul li {
  font-size: 12px;
  color: #333;
  margin-bottom: 1px;
}

/* Caseセクション */
.case_section {
  margin: 0 auto;
  text-align: center;
  align-items: center;
  width: 100%;
  background: linear-gradient(to right, #fffae2, #e5f0e6,#d3eaf3);
  padding-top: 30px;
  position: relative; /* 背景の配置基準 */
  overflow: hidden; /* 背景外を隠す */
  z-index: 1; /* 背景より前に表示 */
  padding-bottom: 70px;
}

.case_container {
  text-align: center;
  align-items: center;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  width: 80%;
  margin-top: 80px;
  align-items: flex-start; /* 子要素を上揃え */
}

.case-image-section {
  text-align: center;
  max-width: 45%;
  align-items: right;
  margin-left: 30px;
}

.case-main-image {
  max-width: 90%;
  height: auto;
  border-radius: 50px;
}

.case-number {
  padding-top: 20px;
  text-align: right;
  font-size: 16px;
  width: 5%;
  margin: 0;
}

.case-text-section {
  flex: 1;
  text-align: left;
}

.case-text-header {
  display: flex;
  align-items: left;
  margin-bottom: 10px;
  padding-top: 20px;
  margin-left: 1%;
}

.case-text-header p{
  font-size: 22px;
  font-weight: bold;
  color: #333;
  letter-spacing: 1px;
}

.case-description {
  font-size: 14px;
  color: #333;
  margin-bottom: 30px;
}

/* テクノロジーピースリスト */
.case-technology-pieces p {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.case-line {
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: #333;
  width: 300px;
  margin-bottom: 20px;
}

.case-technology-pieces ul {
  list-style: none;
  padding: 0;
}

.case-technology-pieces li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  font-size: 14px;
  color: #333;
}

.inline-icon {
  width: 20px; /* 画像の幅 */
  height: 20px; /* 画像の高さ */
  margin-right: 3px; /* 文字との間隔 */
  vertical-align: top; /* 文字とアイコンの縦位置を揃える */
}


.cta-button-section {
  width: 100%;
  background: linear-gradient(to right, #fffae2, #e5f0e6, #d3eaf3);
  display: flex;
  flex-direction: column; /* これで縦方向に要素が並ぶ */
  justify-content: center; /* 縦方向で中央揃え */
  align-items: center; /* 横方向で中央揃え */
  color: #333;
  text-align: center;
  padding: 70px 20px; /* 上下70px, 左右20pxに調整 */
  padding-bottom: 100px;
}

.cta-moji {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  letter-spacing: 1.5px;
  margin-bottom: 1px; /* ボタンとの間に少しスペースを空ける */
}

.cta-button2 {
  display: inline-block;
  padding: 18px 38px;
  background-color: #75cabe;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 2; /* 背景に隠れるように */
}

.cta-button2:hover {
  color: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px); /* ボタンが少し浮き上がる */
  z-index: 2; /* 背景に隠れるように */
}


/*VOICEセクション*/
.voice-section {
  background-color: #fafafa;
  padding: 40px 60px; /* セクション内余白 */
  margin: 0 auto;
  text-align: center;
  max-width: 100%; /* セクションの最大幅 */
  z-index: 2; /* 背景より前に表示 */
  position: relative; /* 疑似要素との競合を防ぐ */
}

    .voice-award {
      display: flex; /* フレックスボックスで横並びに */
      justify-content: center; /* 中央揃え */
      align-items: center; /* 縦方向の揃え */
      gap: 20px; /* 画像間の隙間 */
      padding: 20px;
      margin-top: 20px;
    }

    /* 画像のスタイル */
    .voice-award img {
      max-width: 100%; /* 幅をレスポンシブに */
      height: auto; /* アスペクト比を保持 */
      max-height: 200px; /* 最大高さを設定（必要に応じて変更） */
    }

    .voice-container {
      background-color: white;
      border: 4px solid #898887;
      border-radius: 20px;
      padding: 30px 50px;
      max-width: 80%;
      margin: 40px auto;
      text-align: left;
    }

.voice-tag {
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 0 20px;
  margin-bottom: 10px;
  position: relative; /* 擬似要素を使用するため */
}

.voice-tag::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px; /* テキストからの距離 */
  width: 100%;
  height: 2px; /* 線の太さ */
  background-color: #a6a6a6; /* 線の色 */
}

    .voice-sub {
      display: inline-block;
      background-color: #48464f;
      color: #fff;
      font-size: 12px;
      padding: 5px 50px;
      border-radius: 20px;
      margin-left: 40px;
    }

    .voice-subtitle {
      display: inline-block;
      background-color: #fff;
      color: #333;
      font-weight: bold;
      font-size: 14px;
      padding: 5px 10px;
      border-radius: 4px;
      margin-left: 0px;
    }
    .voice-title {
      font-size: 24px;
      font-weight: bold;
      color: #333;
      margin-top: 20px;
    }
    .voice-highlight {
      background: linear-gradient(
        to right,
        rgba(255, 233, 112, 0.2),
        rgba(255, 208, 5, 0.2),
        rgba(152, 216, 108, 0.2),
        rgba(84, 140, 187, 0.2),
        rgba(172, 122, 255, 0.2)
      );
      display: inline-block;
      padding: 10px 40px;
      border-radius: 50px;
    }
    .voice-content {
      font-size: 14px;
      color: #333;
      margin-top: 10px;
      margin-left: 40px;
      line-height: 1.6;
    }
    .voice-source {
      font-size: 12px;
      color: #333;
      margin-top: 20px;
      padding-left: 40px;
    }
    .voice-source a {
      color: #333; /* 通常時のリンク色 */
      font-weight: bold;
    }

    /* ホバー時の効果 */
    voice-source a:hover {
      color: #0056b3; /* ホバー時のリンク色 */
      text-decoration: none; /* ホバー時に下線を表示 */
      transition: color 0.3s ease; /* なめらかな色変化 */
    }

@media (max-width: 768px) {

/* ヒーローセクション */
.hero-section {
  display: block;
  padding: 20px 10%;
  background-color: #fff;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.hero-content {
  padding-left: 0;
  padding-top: 10%;
  text-align: center;
  max-width: 100%;
}

.tagline {
  font-size: 12px;
  color: #333;
  font-weight: bold;
  letter-spacing: 1px;
  padding-left: 2%;
  margin-bottom: 10px;
}

.logo {
  width: 80%;
  margin-bottom: 20px;
}

.animated-section {
  text-align: left;
}

/* アニメーション共通 */
.animated-slide {
  display: inline-block;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-in-out;
}

.sub-title {
  font-size: 18px;
  line-height: 1.7;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.gradient-text {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1.5px;
  background-image: linear-gradient(to right, #7c9eb2, #d6a35e, #a1b945, #66b4b2, #4a8db3, #9f8ac9, #d17f93);
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
}

.highlight {
  font-weight: bold;
  color: #333;
  letter-spacing: 1.5px;
}

.cta-button {
  display: inline-block;
  padding: 15px 25px;
  background-color: #75cabe;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin: 10px 0;
  margin-bottom: 20px;
}

.cta-button:hover {
  color: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

/* ヒーロー画像 */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.hero-image img {
  max-width: 80%;
  height: auto;
}

/* 画像アニメーション */
.fade-in-bottom {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-bottom.show {
  opacity: 1;
  transform: translateY(0);
}

/* アワードセクション */
.awards-section {
  background: linear-gradient(to right, #fffae2, #e5f0e6, #d3eaf3);
  text-align: center;
  padding: 15px 0;
}

.awards-content img {
  max-width: 100%;
  height: auto;
}
  
  
/* スライダーコンテナ */
.slider-container {
  overflow: hidden;
  width: 100%; /* 画面幅に合わせる */
}

/* スライド全体（アニメーションを付けて無限ループ） */
.slides {
  display: flex;
  flex-wrap: nowrap; /* 画像を横並びに */
  width: calc(100% * 2); /* 2セット分の幅 (1セット100%、もう1セットを繰り返す) */
  animation: slide 30s linear infinite; /* アニメーションでスライドする */
}

/* 各スライド（1セット分） */
.slide {
  display: flex;
  flex: 0 0 auto; /* 画像の幅に合わせる */
  justify-content: flex-start; /* 左詰め */
  padding: 0 10px; /* 画像間の余白を調整 */
}

/* 画像のスタイル（サイズ調整） */
.slide img {
  width: 80px;  /* 画像の横幅を80pxに設定 */
  height: auto;  /* 高さは自動調整 */
  margin: 5px;   /* 画像間のスペース調整 */
}

/* スライドの動き（無限ループ） */
@keyframes slide {
  0% {
    transform: translateX(0); /* 最初の位置 */
  }
  100% {
    transform: translateX(-375%); /* 1セット分スライド（全画像の幅に合わせる） */
  }
}  

/* セクション全体 */
.kasanare-section {
  position: relative;
  padding: 15px;
  text-align: center;
  color: #333;
  background: #fafafa;
  overflow: hidden;
}

/* 見出し */
.section-heading {
  font-size: 16px;
  font-weight: bold;
  color: #75cabe;
  margin-bottom: 8px;
  letter-spacing: 2px;
  margin-top: 30px;
}

/* メインタイトル */
.kasanare-main-title {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  width: 90%;
  margin: 0 auto;
}

.kasanare-logo {
  max-height: 50px;
}

.main-subtitle {
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;
}

/* 説明文 */
.kasanare-description {
  font-size: 12px;
  line-height: 1.8;
  margin: 15px auto;
  max-width: 90%;
  margin-top: 20px;
}

/* 画像セクション */
.service-image-section {
  display: block;
  margin-top: 30px;
}

.service-image {
  text-align: center;
}

.service-image img {
  width: 80%;
  height: auto;
}
  
  @media (max-width: 768px) {
  /* スクロールラッパーの設定 */
.scroll-wrapper {
  overflow-x: scroll; /* auto ではなく scroll に固定 */
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none; /* Firefox用 */
  -ms-overflow-style: none; /* IE/Edge用 */

  /* スクロールバー非表示 for Chrome/Safari */
  &::-webkit-scrollbar {
    display: none;
  }
}

  /* カードコンテナの設定 */
.kinou-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  padding: 10px 16px;
}

  /* 各カードの設定 */
.kinou-card {
  flex: 0 0 auto;
  width: 230px;
  scroll-snap-align: center;
}

  /* インジケーターのベース */
.indicator-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 8px;
}

  /* インジケーター */
.indicator {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
}
.indicator.active {
  background-color: #75cabe;
}



/* ピースセクション */
.peace-section {
  display: none;
  background-color: #fafafa;
  text-align: center;
  width: 100%;
  padding: 0;
}

.peace-container {
  display: block;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  max-width: 90%;
  text-align: center;
}

.peace-text {
  text-align: left;
  padding: 0px;
  max-width: 100%;
}

.core-technology {
  display: inline-block;
  position: relative;
  font-size: 10px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(45deg, #ffef9a, #e2e47d, #67b9d8);
  background-size: 100% 600%;
  padding: 6px 15px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.core-technology::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 0 8px;
  border-color: #e2e47d transparent transparent transparent;
}
  
  .main-title2, .main-title {
  font-size: 16px;
  }

.peace-description {
  font-size: 12px;
  line-height: 1.8;
  color: #333;
  margin-top: 10px;
  font-weight: normal;
}

/* 右側の画像エリア */
.peace-visual {
  text-align: center;
  max-width: 100%;
}

.peace-visual img {
  width: 90%;
  height: auto;
}

/* サービスセクション */
.service-section {
  text-align: center;
  background: #fafafa;
  padding-bottom: 50px;
}

.service-item {
  display: block;
  padding: 50px 0;
  margin: 0 auto;
}
  
  .service-img {
  max-width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .service-img img{
  display: none;
  }

.service-text {
  text-align: left;
}

.service-title {
  font-size: 16px;
  margin-bottom: 15px;
  letter-spacing: 2px;
}



.service-description {
  font-size: 12px;
  line-height: 1.8;
}

/* ピースの説明セクション */
.pieces-section {
  text-align: center;
  color: #333;
  background: #fff;
  padding: 50px 0;
  max-width: 100%;
}

.pieces-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2列表示 */
  gap: 10px;
  padding-top: 40px;
  margin: 0 auto;
  justify-items: center;
  width: 90%;
}

.piece-item {
  background-color: #fafafa;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}

.piece-icon {
  width: 80px;
  height: 80px;
}

.piece-name {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.piece-item ul {
  padding: 0;
  list-style: none;
  font-size: 10px;
  color: #555;
  width: 80%;
}

.piece-item ul li {
  font-size: 12px;
  color: #333;
  margin-bottom: 1px;
}

/* Caseセクション */
.case_section {
  padding: 20px;
}



/* 各ケースのコンテナ */
.case_container {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}

.case-image-section {
 max-width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  margin-top: -20px;
  }

.case-main-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
}

.case-number {
  display:none;
}

.case-text-section {
  width: 100%;
  padding: 0;
  margin: 0;
  text-align: left;
  margin-top: -50px;
}

.case-text-header p {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.case-line {
  margin-top: 10px;
  border: 1px solid #ccc;
}

.case-description {
  font-size: 14px;
  color: #666;
  margin-top: 15px;
}

.case-technology-pieces p {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
  text-align: left;
}

.case-technology-pieces ul {
  list-style: none;
  padding: 0;
}

.case-technology-pieces li {
  font-size: 12px;
  color: #333;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.inline-icon {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
  
  /* VOICEセクション モバイル最適化 */
.voice-section {
  background-color: #fafafa;
  padding: 20px; /* モバイル向けに余白を調整 */
  margin: 0 auto;
  text-align: center;
  max-width: 100%; /* セクションの最大幅 */
  z-index: 2; /* 背景より前に表示 */
  position: relative; /* 疑似要素との競合を防ぐ */
}

.voice-award {
  display: flex;
  flex-direction: column; /* モバイルで縦並びに */
  justify-content: center;
  align-items: center;
  gap: 15px; /* 画像間の隙間を調整 */
  padding: 10px; /* モバイル向けに余白を調整 */
}

.voice-award img {
  max-width: 100%; /* モバイルで画像を小さく表示 */
  height: auto;
  max-height: 200px; /* 最大高さをモバイル向けに調整 */
}

.voice-container {
  background-color: white;
  border: 4px solid #898887;
  border-radius: 20px;
  padding: 20px; /* モバイル向けに余白を調整 */
  max-width: 90%; /* モバイルで幅を縮小 */
  margin: 20px auto; /* モバイル向けに間隔を縮小 */
  text-align: left;
  margin-top: 30px;
}
  
  .voice-items {
  display: flex;
  flex-direction: column; /* 縦並びに配置 */
  align-items: flex-start; 
}

.voice-tag {
  text-align: left;
  font-size: 14px; /* フォントサイズを調整 */
  font-weight: bold;
  letter-spacing: 1px;
  padding: 0 10px;
  margin-bottom: 10px;
  margin-top: 0;
  position: relative;
}

.voice-tag::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px; /* テキストからの距離を縮小 */
  width: 100%;
  height: 1px; /* 線の太さを調整 */
  background-color: #a6a6a6;
}

.voice-sub {
  background-color: #48464f;
  color: #fff;
  font-size: 10px; /* フォントサイズを縮小 */
  padding: 5px 20px; /* 余白を調整 */
  border-radius: 20px;
  margin-top: 20px;
  margin-left: 0;
}

.voice-subtitle {
  display: inline-block;
  background-color: #fff;
  color: #333;
  font-weight: bold;
  font-size: 12px; /* フォントサイズを縮小 */
  padding: 5px 8px; /* 余白を調整 */
  border-radius: 4px;
  margin-left: 0;
}

.voice-title {
  font-size: 15px; /* フォントサイズを調整 */
  font-weight: bold;
  color: #333;
  margin-top: 20px;
}

.voice-highlight {
  background: linear-gradient(
    to right,
    rgba(255, 233, 112, 0.2),
    rgba(255, 208, 5, 0.2),
    rgba(152, 216, 108, 0.2),
    rgba(84, 140, 187, 0.2),
    rgba(172, 122, 255, 0.2)
  );
  display: inline-block;
  padding: 5px 20px; /* 余白を調整 */
  border-radius: 50px;
}

.voice-content {
  font-size: 12px; /* フォントサイズを調整 */
  color: #333;
  margin-top: 20px;
  margin-left: 10px; /* 左余白を縮小 */
  line-height: 1.6;
  margin-bottom: 10px;
}

.voice-source {
  font-size: 10px; /* フォントサイズを調整 */
  color: #333;
  margin-top: 10px;
  padding-left: 10px; /* 左余白を縮小 */
}

.voice-source a {
  color: #999;
  font-weight: bold;
}

.voice-source a:hover {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

}