#effect {
  background: linear-gradient(145deg, #55a86b, #02e6ffbb);
  background-image: url("../img/effect.webp");
  background-size: cover;
  padding: 100px 20px 80px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#effect-title {
  font-size: 42px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* レスポンシブ対応 - 1200px以下で1列 */
@media (max-width: 1200px) {
  #effect {
    padding: 80px 20px 60px 20px;
  }
  
  #effect-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  #effect-items {
    grid-template-columns: 1fr !important;
    gap: 35px;
    margin-top: 60px;
    margin-bottom: 70px;
    max-width: 600px;
  }
  
  .effect-item {
    min-height: 340px;
    padding: 40px 30px 35px 30px;
  }
}

/* スマホサイズ */
@media (max-width: 768px) {
  #effect {
    padding: 60px 20px;
  }
  
  #effect-title {
    font-size: 24px;
  }
  
  #effect-items {
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
    max-width: 500px;
  }
  
  .effect-item {
    min-height: 320px;
    padding: 35px 25px 30px 25px;
  }
  
  .effect-item-icon {
    margin-bottom: 25px;
  }
  
  .effect-item img {
    width: 120px;
    height: 120px;
  }
  
  .effect-item-content h3 {
    font-size: 17px;
  }
  
  .effect-item p {
    font-size: 14px;
  }
  
  /* 資料ダウンロードボタンのレスポンシブ */
  #effect .effect-download-btn {
    height: 45px;
    line-height: 45px;
    padding: 0 25px;
    font-size: 15px;
  }
}

/* 小さいスマホサイズ */
@media (max-width: 480px) {
  #effect-title {
    font-size: 20px;
  }
  
  .effect-item {
    min-height: 300px;
    padding: 30px 20px 25px 20px;
  }
  
  .effect-item img {
    width: 110px;
    height: 110px;
  }
  
  .effect-item-content h3 {
    font-size: 16px;
  }
  
  .effect-item p {
    font-size: 13px;
  }
  
  /* 小さいスマホ用のボタンサイズ */
  #effect .effect-download-btn {
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    font-size: 14px;
  }
}

#effect-items {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 70px;
  margin-bottom: 80px;
  padding: 0 20px;
}

.effect-item {
  opacity: 0;
  background: #ffffff;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 8px 32px rgba(85, 168, 107, 0.08);
  border: 1px solid rgba(85, 168, 107, 0.1);
  padding: 45px 30px 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 360px;
}

.effect-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(85, 168, 107, 0.18);
  border-color: rgba(85, 168, 107, 0.3);
}

.effect-item-icon {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.effect-item img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
  transition: all 0.3s ease;
}

.effect-item:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.effect-item-content {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.effect-item-content h3 {
  font-size: 19px;
  color: #1f2937;
  margin: 0 0 18px 0;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.effect-item p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
}

/* 強調テキストのスタイル */
.effect-highlight {
  font-weight: bold;
  color: #dc2626;
  font-size: 1.1em;
}

.effect-number {
  font-weight: bold;
  color: #059669;
  font-size: 1.15em;
}

/* 効果カードのカテゴリータイトル */
.effect-item-category {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 11px;
  color: #ffffff;
  background: #f97316;
  padding: 8px 16px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  z-index: 1;
  text-transform: uppercase;
}

/* 導入効果セクション専用のテキストリンク */
#effect .orange-btn {
  height: auto;
  line-height: normal;
  padding: 0;
  padding-bottom: 4px;
  background: none;
  color: #ffffff;
  text-decoration: none;
  border-radius: 0;
  border-bottom: 2px solid #ffffff;
  transition: all 0.3s ease-out;
  position: relative;
}

/* 資料ダウンロードボタン用の通常ボタンスタイル */
#effect .effect-download-btn {
  height: 50px;
  line-height: 50px;
  padding: 0 30px;
  background-image: linear-gradient(145deg, #f3b541, #ff8d8d 70%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease-out;
  font-size: 16px;
  font-weight: 600;
  border: none;
  box-shadow: 0 8px 20px rgba(243, 181, 65, 0.3);
}

#effect .orange-btn:hover {
  color: #f0f0f0;
  border-bottom-color: #f0f0f0;
  transform: none;
  box-shadow: none;
}

#effect .orange-btn:hover::after {
  transform: translateX(4px);
}

/* 資料ダウンロードボタンのホバー効果 */
#effect .effect-download-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(243, 181, 65, 0.5);
}

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}