/*-- Activity 調整用 ----------------------------------------*/
/* 1. 全体背景は黒 */
.act-section {
  background-color: #000;
  padding: 60px 0;
}

/* 2. コンテナを白く角丸にする */
.act-container {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 40px; /* 大きめの角丸 */
  padding: 60px;       /* 内部の余白 */
  box-sizing: border-box;
}

/* 3. 各カードの共通設定（背景・角丸なし） */
.act-card {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background: transparent;
  border-radius: 0;
}

/* PC用：交互に反転 */
.act-card.is-reverse {
  flex-direction: row-reverse;
}

/* 4. 画像エリアのみ角丸 */
.act-img-wrap {
  flex: 0 0 50%;
  border-radius: 20px; /* ここに角丸 */
  overflow: hidden;
  line-height: 0;
}

.act-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* 5. 写真なしパターンのスタイル */
.act-text-only {
  width: 100%;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px dashed #eee; /* 項目間の区切り（任意） */
}

.act-text-only:last-child {
  border-bottom: none;
}

.act-body {
  flex: 1;
}

.act-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.act-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

/* --- モバイル対応 --- */
@media screen and (max-width: 767px) {
  .act-container {
    padding: 30px 20px;
    border-radius: 20px;
    width: 95%; /* 画面端に少し余白 */
  }

  .act-card, .act-card.is-reverse {
    flex-direction: column; /* 常に縦一列 */
    gap: 20px;
  }

  .act-img-wrap, .act-body {
    width: 100%;
  }
}