@charset "UTF-8";
.topics {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.5rem; /* 適度な余白 */
  border: 1px solid #ccc; /* 1pxの薄いグレーのボーダー */
  border-radius: 12px;     /* 四隅を丸く */
  background-color: #fff;  /* 白背景（任意） */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* 軽い影（任意） */
  margin-bottom: 5rem;

}

.Topics .topics-inr .topics-text h2.topics-h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.topics-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #444;
}

.bullets {
  list-style: none;
  padding-left: 0;
}

.bullets li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.5em;
  line-height: 1.6;
}

.bullets li::before {
  content: '●';
  position: absolute;
  left: 0;
  top: 0.5em; /* 位置微調整：中央に揃える */
  color: #6BB2CC;
  font-size: 0.8em;
  line-height: 1;
}

.topics-img-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.topics-img-list li {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.topics-img-list img {
  width: 100%;
  height: auto;
  display: block;
}

/* デスクトップ対応（横並び） */
@media (min-width: 768px) {
  .topics {
    flex-direction: row;
    align-items: flex-start;
  }

  .topics-text {
    flex: 1;
    max-width: 45%;
  }

  .topics-img {
    flex: 1;
  }
}