@charset "UTF-8";

/* =================================================================
 * 旧テーマ（arkfarm_since_240213）の詳細レイアウト（activity / event 共用）
 *  2026-07-07 以前公開の activity・event に適用する（旧 single-activity / single-event 共通の #participation-single-container 構造）。
 *  旧 style.css から participation-* / custom-wysiwyg / calendar を抽出。
 *  ※ calendar-* は activity のみ使用（event は状態分岐＋ボタンのみでカレンダー無し）。
 *  ※ サイドバー / 下部共通セクション / GSAP は再現対象外。
 *  ※ 旧記事は今後更新しないため SCSS ソースは持たず、このファイルを直接管理する。
 *  ※ 旧テーマは html:62.5%(1rem=10px) だったため、font-size の rem は px に変換して固定。
 *  ※ 申込ボタンは旧テーマの共通btnシステム＋外部SVG依存のため、同等見た目を自己完結で再現。
 * ================================================================= */

/* ------------------------------------------------------------------
 * レイアウト
 * ------------------------------------------------------------------ */
#participation-single-container {
  background-color: #E7ECEE;
  padding: 100px 0 120px;
  /* 旧テーマ common の base タイポグラフィ（body継承分）。筑紫ゴシックはFONTPLUS配信（本番のみ） */
  font-family: "TsukuGoPr5-R", "FOT-筑紫ゴシック Pro R", serif;
  color: #393939;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

#participation-single-container .sec-inner {
  position: relative;
}

#participation-single-container .content-width {
  width: calc(100% * 1200 / 1400);
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  #participation-single-container .content-width {
    width: calc(100% * 350 / 390);
  }
}

/* サイドバーを持たないため、本体カラムは中央寄せの単一カラム（旧カード幅≒950pxを踏襲） */
#participation-single-container .content-main {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}

#participation-single-container .content-main-head .content-ttl {
  font-family: "TsukuGoPro-B", "FOT-筑紫ゴシック Pro B", serif;
  font-size: 36px;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0;
}

@media (max-width: 767px) {
  #participation-single-container .content-main-head .content-ttl {
    font-size: 24px;
    line-height: 1.33;
  }
}

#participation-single-container .content-main-head .participation-period {
  margin-top: 20px;
}

@media (max-width: 767px) {
  #participation-single-container .content-main-head .participation-period {
    font-size: 16px;
    letter-spacing: 0;
    margin-top: 17px;
  }
}

#participation-single-container .content-main-inner {
  border-radius: 20px;
  background-color: #fff;
  padding-top: max(54px, calc(100% * 54 / 950));
  padding-right: max(50px, calc(100% * 50 / 950));
  padding-bottom: max(80px, calc(100% * 80 / 950));
  padding-left: max(50px, calc(100% * 50 / 950));
  margin-top: 70px;
}

@media (max-width: 767px) {
  #participation-single-container .content-main-inner {
    margin-top: 25px;
    padding: 40px calc(100% * 20 / 350) 65px;
  }
}

#participation-single-container .participation-thumb {
  width: 100%;
  aspect-ratio: 1.6798418972;
}

@media (max-width: 767px) {
  #participation-single-container .participation-thumb {
    aspect-ratio: 1.8235294118;
  }
}

#participation-single-container .participation-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

#participation-single-container .participation-content {
  margin-top: 90px;
}

@media (max-width: 767px) {
  #participation-single-container .participation-content {
    margin-top: 60px;
  }
}

#participation-single-container .participation-content-ttl {
  position: relative;
  font-weight: 700;
  font-family: "TsukuGoPro-B", "FOT-筑紫ゴシック Pro B", serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
  width: 100%;
  margin: 0;
}

@media (max-width: 767px) {
  #participation-single-container .participation-content-ttl {
    text-align: center;
    font-size: 20px;
    line-height: 1.6;
  }
}

#participation-single-container .participation-content-ttl::before {
  content: "";
  display: block;
  position: absolute;
  background-color: #A11E35;
  top: 50%;
  left: calc(-100% * 70 / 850);
  width: calc(100% * 50 / 850);
  min-width: 50px;
  height: 1px;
}

@media (max-width: 767px) {
  #participation-single-container .participation-content-ttl::before {
    content: unset;
  }
}

/* ------------------------------------------------------------------
 * 開催概要テーブル
 * ------------------------------------------------------------------ */
#participation-overview table {
  width: 100%;
  margin-top: 40px;
}

#participation-overview table tr:first-child th,
#participation-overview table tr:first-child td {
  border-top: 1px solid #C1C6CA;
}

#participation-overview table th,
#participation-overview table td {
  vertical-align: top;
  border-bottom: 1px solid #C1C6CA;
  padding: 1em 0;
}

#participation-overview table th {
  text-align: left;
  width: calc(100% * 200 / 850);
  padding-right: 1em;
}

@media (max-width: 767px) {
  #participation-overview table th {
    display: block;
    font-family: "TsukuGoPro-B", "FOT-筑紫ゴシック Pro B", serif;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 2;
    width: 100%;
    border-bottom: none !important;
    padding: 1em 0 0.2em;
  }
}

#participation-overview table td {
  border-bottom: 1px solid #C1C6CA;
  width: calc(100% * 650 / 850);
}

@media (max-width: 767px) {
  #participation-overview table td {
    display: block;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 2;
    width: 100%;
    border-top: none !important;
    padding: 0.2em 0 1em;
  }
}

#participation-detail .participation-detail-inner {
  margin-top: 40px;
}

#participation-contact .participation-contact-inner {
  margin-top: 40px;
}

/* ------------------------------------------------------------------
 * 本文（.custom-wysiwyg）
 * ------------------------------------------------------------------ */
.custom-wysiwyg p {
  font-weight: 400;
  font-family: "TsukuGoPr5-R", "FOT-筑紫ゴシック Pro R", serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.75;
  margin-bottom: 0;
}

.custom-wysiwyg *:first-child {
  margin-top: 0;
}

.custom-wysiwyg *:last-child {
  margin-bottom: 0;
}

.custom-wysiwyg p strong {
  font-weight: 700;
  font-family: "TsukuGoPro-B", "FOT-筑紫ゴシック Pro B", serif;
}

.custom-wysiwyg p a {
  color: #A11D35;
  text-decoration: underline;
}

/* ------------------------------------------------------------------
 * カレンダー（お申し込み）
 * ------------------------------------------------------------------ */
#participation-contact .available-mark {
  display: flex;
  justify-content: center;
  margin-top: 70px;
}

#participation-contact .available-mark span {
  position: relative;
  padding-left: 42px;
}

#participation-contact .available-mark span::before {
  content: "";
  display: block;
  position: absolute;
  background-color: #E7ECEE;
  top: calc(50% - 14px);
  left: 0;
  width: 28px;
  height: 28px;
}

#participation-contact .calendar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px 0;
  width: calc(100% * 610 / 850);
  max-width: 610px;
  margin-top: 50px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 767px) {
  #participation-contact .calendar-list {
    display: block;
    width: 100%;
    gap: 40px 0;
  }
}

#participation-contact .calendar-list .get-calendar {
  width: 280px;
}

@media (max-width: 767px) {
  #participation-contact .calendar-list .get-calendar {
    margin-left: auto;
    margin-right: auto;
  }
}

.get-calendar .display-year-month {
  text-align: center;
  font-family: "TsukuGoPr5-R", "FOT-筑紫ゴシック Pro R", serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1;
}

.get-calendar table {
  margin-top: 30px;
  width: 100%;
}

@media (max-width: 767px) {
  .get-calendar table {
    margin-top: 10px;
  }
}

.get-calendar td,
.get-calendar th {
  text-align: center;
}

.get-calendar th {
  border-bottom: 1px solid #C1C6CA;
  font-family: "TsukuGoPr5-R", "FOT-筑紫ゴシック Pro R", serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 2.17;
  width: calc(100% / 7);
}

.get-calendar th:first-child {
  color: #A11E35;
}

.get-calendar th:last-child {
  color: #4C788C;
}

.get-calendar th span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 1;
}

.get-calendar td {
  font-family: "TsukuGoPr5-R", "FOT-筑紫ゴシック Pro R", serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.43;
}

.get-calendar td span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 1;
}

#participation-contact .get-calendar td.inhibit span {
  color: #D0D0D0;
}

#participation-contact .get-calendar td.available span {
  color: #393939;
  background-color: #E7ECEE;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

#participation-contact .get-calendar td.available span:hover {
  color: #fff;
  background-color: #A11E35;
  transition: all 0.3s ease;
}

#participation-contact .get-calendar td.available span.active {
  color: #fff;
  background-color: #A11E35;
  transition: all 0.3s ease;
}

/* ------------------------------------------------------------------
 * 申込ボタン（旧共通btnシステムの同等再現・自己完結）
 * ------------------------------------------------------------------ */
#participation-contact .btn-application {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

@media (max-width: 767px) {
  #participation-contact .btn-application {
    margin-top: 40px;
  }
}

.btn-application_link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  padding: 1.1em 3em;
  border-radius: 100px;
  background-color: #A11E35;
  color: #fff;
  font-family: "TsukuGoPr5-R", "FOT-筑紫ゴシック Pro R", serif;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.btn-application_link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.6em;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

.btn-application_link:hover {
  opacity: 0.8;
}

/* 日付未選択のあいだは無効化 */
.btn-application_link.inhibit {
  opacity: 0.3;
  pointer-events: none;
}
