@charset "UTF-8";
/**********************************************************************
	研究会情報（page-tourinfo.php / single-tour-info.php）- className : ti-
***********************************************************************/
.ti {
  --ti-ink: #333;
  --ti-sub: #666;
  --ti-line: #dfe3e8;
  --ti-soft: #f7f8f9;
  --ti-navy: #0d4270;
  --ti-yellow: #f5c400;
  max-width: 1000px;
  margin: 0 auto;
  color: var(--ti-ink);
  font-size: 15px;
  line-height: 1.7;
  padding-bottom: 60px;
}
.ti *, .ti *::before, .ti *::after { box-sizing: border-box; }
.ti p { margin: 0; }
.ti .ti-lead { color: var(--ti-sub); margin-bottom: 20px; }

/* 検索ボックス */
.ti-search { border: 1px solid var(--ti-line); background: #fff; margin-bottom: 22px; }
.ti .ti-search h2 {
  font-size: 15px; font-weight: bold; color: var(--ti-navy); margin: 0;
  padding: 10px 16px; background: var(--ti-soft); border-bottom: 1px solid var(--ti-line); border-left: 0;
}
.ti-search-inner { padding: 6px 16px 14px; }
.ti-row { display: grid; grid-template-columns: 6.5em 1fr; gap: 8px 14px; align-items: start; padding: 10px 0; border-bottom: 1px solid #eef0f3; }
.ti-row > .ti-lbl { font-size: 14px; color: var(--ti-sub); padding-top: 3px; }
.ti-opts { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ti-opts label { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; cursor: pointer; }
.ti-opts input, .ti-toggle input { accent-color: var(--ti-navy); width: 16px; height: 16px; }
.ti-dates { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ti input[type="date"], .ti input[type="search"] {
  font: inherit; font-size: 14px; padding: 6px 10px; border: 1px solid var(--ti-line);
  background: #fff; color: inherit; border-radius: 0;
}
.ti input[type="search"] { width: min(420px, 100%); }
.ti-search-foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 12px 0 2px; }
.ti-clear { font: inherit; font-size: 14px; background: #fff; border: 1px solid var(--ti-line); color: var(--ti-sub); padding: 6px 18px; cursor: pointer; }
.ti-clear:hover { border-color: var(--ti-sub); }
.ti-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }

.ti .ti-count { font-size: 14px; color: var(--ti-sub); margin-bottom: 12px; }
.ti .ti-count b { color: var(--ti-ink); font-size: 16px; }

/* 一覧 */
.ti-item { border-top: 2px solid var(--ti-navy); border-bottom: 1px solid var(--ti-line); padding: 16px 0 18px; margin-bottom: 22px; }
.ti-item.ti-ended { opacity: .85; }
.ti-item-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ti .ti-item-ttl { font-size: 17px; font-weight: bold; line-height: 1.5; margin: 0; padding: 0; background: none; border: 0; }
.ti-badge { display: inline-block; font-size: 11.5px; padding: 1px 8px; border: 1px solid var(--ti-line); color: var(--ti-sub); background: var(--ti-soft); white-space: nowrap; }
.ti-badge-open { border-color: var(--ti-navy); color: #fff; background: var(--ti-navy); }
.ti .ti-badge-line { margin-bottom: 16px; }

.ti table.ti-table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 0; }
.ti .ti-table th, .ti .ti-table td { border: 1px solid var(--ti-line); padding: 7px 12px; text-align: left; vertical-align: top; }
.ti .ti-table th { background: var(--ti-soft); color: var(--ti-navy); font-weight: bold; width: 8em; white-space: nowrap; }
.ti-detail-table { font-size: 15px; margin-bottom: 26px; }
.ti .ti-detail-table th { width: 11em; padding: 10px 14px; }
.ti .ti-detail-table td { padding: 10px 14px; }

.ti-item-foot { margin-top: 12px; text-align: right; }
.ti a.ti-btn-detail {
  display: inline-block; text-decoration: none; border: 1px solid var(--ti-navy);
  color: var(--ti-navy); font-weight: bold; padding: 6px 20px; font-size: 14px;
}
.ti a.ti-btn-detail:hover { background: var(--ti-navy); color: #fff; text-decoration: none; }
.ti-empty { border: 1px solid var(--ti-line); background: var(--ti-soft); text-align: center; padding: 36px 20px; color: var(--ti-sub); }
.ti-body { margin-bottom: 24px; }
.ti .ti-note { font-size: 13px; color: var(--ti-sub); background: var(--ti-soft); border: 1px solid var(--ti-line); padding: 12px 14px; margin-bottom: 26px; }
.ti-back-line { text-align: center; }

/* ページ送り */
.ti-pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 26px; }
.ti-pager button {
  font: inherit; font-size: 14px; min-width: 38px; padding: 7px 10px;
  border: 1px solid var(--ti-line); background: #fff; color: var(--ti-ink); cursor: pointer;
}
.ti-pager button[aria-current="true"] { background: var(--ti-navy); border-color: var(--ti-navy); color: #fff; font-weight: bold; }
.ti-pager button:disabled { color: #bbb; cursor: default; }

/* 登録依頼 */
.ti-regbox { margin-top: 40px; border: 1px solid var(--ti-line); background: var(--ti-soft); padding: 22px; text-align: center; }
.ti .ti-regbox p { margin-bottom: 14px; font-weight: bold; color: var(--ti-navy); }
.ti a.ti-btn-reg { display: inline-block; text-decoration: none; background: var(--ti-navy); color: #fff; font-weight: bold; padding: 10px 28px; }
.ti a.ti-btn-reg:hover { filter: brightness(1.15); text-decoration: none; }

@media screen and (max-width: 767px) {
  .ti-row { grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
  .ti .ti-table th { width: 5.5em; font-size: 13px; padding: 6px 8px; }
  .ti .ti-table td { font-size: 13.5px; padding: 6px 8px; }
  .ti .ti-detail-table th { width: 6.5em; padding: 8px; }
  .ti .ti-detail-table td { padding: 8px; }
  .ti .ti-item-ttl { font-size: 16px; }
  .ti a.ti-btn-detail { display: block; text-align: center; }
}

/* ---- 登録依頼フォーム（page-tourinfo-form.php） ---- */
.ti-form { max-width: 900px; }
.ti-steps { display: flex; gap: 6px; margin: 0 0 26px; list-style: none; padding: 0; }
.ti-steps li { flex: 1; text-align: center; font-size: 14px; padding: 8px 4px; background: var(--ti-soft); border: 1px solid var(--ti-line); color: var(--ti-sub); }
.ti-steps li.now { background: var(--ti-navy); border-color: var(--ti-navy); color: #fff; font-weight: bold; }

.ti-frow { display: grid; grid-template-columns: 14em 1fr; border: 1px solid var(--ti-line); border-bottom: 0; }
.ti-frow:last-of-type { border-bottom: 1px solid var(--ti-line); }
.ti-fhead { background: var(--ti-soft); padding: 12px 14px; font-size: 14.5px; display: flex; gap: 8px; align-items: flex-start; }
.ti-fbody { padding: 12px 14px; }
.ti-req { background: var(--ti-red, #d9534f); color: #fff; font-size: 11px; padding: 1px 6px; line-height: 1.7; white-space: nowrap; }
.ti-opt { background: #fff; border: 1px solid var(--ti-line); color: var(--ti-sub); font-size: 11px; padding: 0 6px; line-height: 1.6; white-space: nowrap; }
.ti input[type="text"], .ti input[type="email"], .ti textarea { font: inherit; font-size: 14.5px; padding: 7px 10px; border: 1px solid var(--ti-line); background: #fff; color: inherit; width: 100%; border-radius: 0; }
.ti textarea { min-height: 5.5em; resize: vertical; }
.ti .ti-half { max-width: 16em; }
.ti .ti-hint { font-size: 12.5px; color: var(--ti-sub); margin-top: 4px; }
.ti-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ti-form-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.ti-btn-submit, .ti-btn-back { font: inherit; font-size: 16px; font-weight: bold; padding: 13px 44px; cursor: pointer; border: 1px solid var(--ti-navy); }
.ti-btn-submit { background: var(--ti-navy); color: #fff; }
.ti-btn-submit:hover { filter: brightness(1.15); }
.ti-btn-back { background: #fff; color: var(--ti-navy); }
.ti-btn-back:hover { background: var(--ti-soft); }

.ti-errors { border: 1px solid #d9534f; background: #fdf3f3; padding: 14px 16px; margin-bottom: 20px; }
.ti .ti-errors p { font-weight: bold; color: #b8322e; margin-bottom: 6px; }
.ti-errors ul { margin: 0; padding-left: 1.3em; list-style: disc; font-size: 14px; }
.ti-blank { color: #999; font-size: 13px; }
.ti-done { border: 1px solid var(--ti-line); background: var(--ti-soft); padding: 34px 24px; text-align: center; }
.ti .ti-done-ttl { font-size: 19px; font-weight: bold; color: var(--ti-navy); margin-bottom: 12px; }
.ti-done .ti-back-line { margin-top: 22px; }

@media screen and (max-width: 767px) {
  .ti-frow { grid-template-columns: 1fr; }
  .ti-fhead { padding: 9px 12px; }
  .ti-fbody { padding: 10px 12px; }
  .ti-steps li { font-size: 12.5px; }
  .ti-btn-submit, .ti-btn-back { width: 100%; padding: 13px; }
}
