/* ==================================================================
   ご案内ページ共通（参加者へのご案内／登壇者へのご案内／利益相反（COI）について）
   見出し・表・ボタンは参加登録ページ（registration.html）と同じデザイン
   ================================================================== */

/* セクション
   ・セクション間（前セクション末尾 → 次の見出し上）: 56px
   ・見出し下 → 最初の要素                          : 14px
   ・セクション内の要素どうし                        : 12px */
.guide-sec {
  margin: 0 0 56px;
  padding: 0;
  color: #333;
  line-height: 1.7;
}

.guide-sec > * {
  margin: 0;
}

.guide-sec > * + * {
  margin-top: 12px;
}

/* 見出し（h3） */
.guide-sec > h3 {
  margin: 0 0 14px;
  padding: 10px 16px 10px 18px;
  border-radius: 6px;
  border-left: 5px solid #1a73ff;
  background: linear-gradient(135deg, #eaf2fd 0%, #f7fbff 100%);
  color: #0b3f73;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08rem;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(11, 92, 171, 0.08);
}

/* 小見出し（h4） */
.guide-sec > h4 {
  padding: 0 0 4px 2px;
  border-bottom: 1px solid #d5e3f5;
  color: #0b3f73;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.guide-sec > * + h4 {
  margin-top: 24px;
}

.guide-sec > h3 + h4 {
  margin-top: 0;
}

/* 本文 */
.guide-sec > p {
  padding: 0 0 0 5px;
  font-size: 1rem;
}

/* 箇条書き */
.guide-sec > ul.guide-list {
  padding: 0 0 0 1.6rem;
}

.guide-sec > ul.guide-list > li {
  list-style: disc;
  padding: 0 0 6px;
}

/* 行頭の点は淡く小さめに */
.guide-sec > ul.guide-list > li::marker {
  color: #a9bdd4;
  font-size: 0.85em;
}

.guide-sec > ul.guide-list > li:last-child {
  padding-bottom: 0;
}

/* ※注記：※の行ごとに※を行頭に出し、2行目以降と続きの行は字下げ */
.guide-sec > p.note {
  padding-left: calc(5px + 1em);
}

.guide-sec > p.note .kome {
  display: block;
  margin-left: -1em;
  padding-left: 1em;
  text-indent: -1em;
}

/* 時刻の範囲は途中で改行しない */
.guide-table td .nw {
  white-space: nowrap;
}

/* 「※」で始まる文：文字色を変えて一段小さく */
.guide-table td .kome,
.guide-sec > ul.guide-list > li.kome,
.guide-sec > p.note {
  color: #708090;
  font-size: 0.9rem;
}

/* 「※」で始まる行：※を行頭記号として出し、2行目以降を字下げ */
.guide-table td .kome {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
}

.guide-sec > ul.guide-list > li.kome {
  list-style: none;
  margin-left: -1em;
  padding-left: 1em;
  text-indent: -1em;
}

/* 表 */
.guide-sec > .table-responsive {
  margin-bottom: 0;
}

.guide-sec .table {
  margin-bottom: 0;
}

.guide-table {
  max-width: 640px;
}

/* 見出しは均等割り。幅は全表で4文字分（字間込み）にそろえ、それより長い項目はその長さまで広がる */
.guide-table th {
  width: calc(4.6em + 2.2rem);
  padding-left: 1.1rem;
  padding-right: 1.1rem;
  background: #f4f7fb;
  text-align: justify;
  text-align-last: justify;
  vertical-align: middle;
  font-weight: 600;
  white-space: nowrap;
}


.guide-table td {
  text-align: left;
}

.guide-table.wide {
  max-width: none;
}

/* 参加者へのご案内：懇親会費の※注記がPCで2行に収まる幅 */
.guide-table.mid {
  max-width: 760px;
}

/* 参加費 */
/* 内容に合わせた幅にする（Bootstrap の .table は width:100%） */
.guide-sec .table.fee-table {
  width: auto;
}

.fee-table td {
  min-width: 9.5rem;
  padding-left: 2rem;
}

.fee-table tbody th {
  vertical-align: middle;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: justify;
  text-align-last: justify;
  font-weight: 600;
  white-space: nowrap;
}

.fee-table td {
  text-align: right;
  white-space: nowrap;
}

.fee-table thead th {
  background: #3c3c3c !important;
  color: #fff;
  text-align: center;
  font-weight: 400;
}

@media (max-width: 575px) {
  .guide-sec > h3 {
    font-size: 1rem;
    padding: 9px 12px 9px 14px;
    border-left-width: 4px;
  }

  /* SPは見出しと内容を縦積み（table〜td をまとめて block にする） */
  .guide-table,
  .guide-table tbody,
  .guide-table tr,
  .guide-table th,
  .guide-table td {
    display: block;
    width: 100%;
  }

  .guide-table th {
    padding: 0.45rem 0.75rem;
    text-align: left;
    text-align-last: auto;
    white-space: normal;
  }

  .guide-table td {
    min-height: 2.6rem;
    padding: 0.6rem 0.75rem;
    border-top: 0;
  }

  .guide-table tr + tr th {
    border-top: 0;
  }

  /* PCだけで効かせる改行（縦積みでは不要） */
  .guide-table th br.pc-br {
    display: none;
  }
}

/* ダウンロードボタン（COI） */
.guide-btn-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.guide-sec > .guide-btn-area {
  margin-top: 20px;
}

.guide-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 260px;
  padding: 18px 36px;
  background: #1a73ff;
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.05rem;
  line-height: 1.4;
  border-radius: 6px;
  text-decoration: none !important;
  transition: 0.3s ease-in-out;
}

.guide-btn:hover {
  opacity: 0.85;
}

.guide-btn i {
  margin-left: 12px;
  font-size: 1.4rem;
}

@media (max-width: 575px) {
  .guide-btn {
    min-width: 0;
    width: 92%;
    padding: 16px 20px;
    font-size: 1.05rem;
  }
}
