/* ========================================
   OFG一覧ページ 専用CSS
   ======================================== */

/* 一覧カード全体 */
.group .sec02 .inner {
  /* display: flex; */
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid #e5e5e5;
}

/* 左側画像エリア */
.group .sec02 .inner .photoBox {
  flex: 0 0 220px;
}

/* 画像 */
.group .sec02 .inner .photoBox img {
  display: block;
  width: 100%;
  height: auto;
  float: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

/* スマホ用タイトル（画像下） */
.group .sec02 .inner .photoBox .ttl.sp {
  display: none;
}

/* 右側本文 */
.group .sec02 .inner .textBox {
  flex: 1 1 auto;
  min-width: 0;
}

/* PC用タイトル */
.group .sec02 .inner .textBox .headLine03.pc {
  margin: 0 0 14px;
  line-height: 1.5;
}

/* 本文 */
.group .sec02 .inner .textBox .txt {
  margin: 0 0 14px;
  line-height: 1.9;
  word-break: break-word;
}

/* 次回開催まわりを少し強調 */
.group .sec02 .inner .textBox .txt strong {
  font-weight: 700;
}

/* 詳細ボタン */
.group .sec02 .inner .comBtn {
  margin-top: 18px;
}

.group .sec02 .inner .comBtn .ofg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 20px;
  border: 1px solid #f08332;
  border-radius: 4px;
  text-decoration: none;
  line-height: 1.4;
  transition: opacity 0.2s ease;
}

.group .sec02 .inner .comBtn .ofg-btn:hover {
  opacity: 0.8;
}

/* ========================================
   Tablet
   ======================================== */
@media (max-width: 896px) {
  .group .sec02 .inner {
    gap: 18px;
  }

  .group .sec02 .inner .photoBox {
    flex: 0 0 160px;
  }

  .group .sec02 .inner .textBox .txt {
    line-height: 1.8;
  }
}

/* ========================================
   Smartphone
   ======================================== */
@media (max-width: 767px) {
  .group .sec02 .inner {
    display: block;
    padding: 22px 0;
  }

  .group .sec02 .inner .photoBox {
    width: 100%;
    margin: 0 0 14px;
    text-align: center;
  }

  .group .sec02 .inner .photoBox img {
    width: 100%;
    max-width: 180px;
    margin: 0 auto 10px;
  }

  /* スマホでは画像下タイトルを表示 */
  .group .sec02 .inner .photoBox .ttl.sp {
    display: block;
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
    margin: 0 auto 12px;
  }

  /* スマホではPCタイトルを非表示 */
  .group .sec02 .inner .textBox .headLine03.pc {
    display: none;
  }

  .group .sec02 .inner .textBox {
    width: 100%;
  }

  .group .sec02 .inner .textBox .txt {
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 12px;
  }

  .group .sec02 .inner .comBtn {
    margin-top: 16px;
  }

  .group .sec02 .inner .comBtn .ofg-btn {
    display: flex;
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
  }

    .group .sec02 .inner .photoBox .ttl {
    padding-left: 0px!important;
    text-decoration: none;
  }
}

/* ========================================
   Small smartphone
   ======================================== */
@media (max-width: 414px) {
  .group .sec02 .inner .photoBox img {
    max-width: 160px;
  }

  .group .sec02 .inner .photoBox .ttl.sp {
    font-size: 18px;
  }

  .group .sec02 .inner .textBox .txt {
    font-size: 13px;
  }
}