/* TOC - 目次デザイン調整 */
#toc_container {
  background: #fff;
  border: none;
  border-radius: 8px;
  padding: 24px 32px 32px;
  margin: 32px 0;
}

#toc_container .toc_title {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: #666;
  font-weight: 600;
  text-align: left;
  margin-bottom: 12px;
  padding-bottom: 10px;
}

#toc_container .toc_list {
  margin: 0;
  padding: 0;
}

#toc_container .toc_list li a {
  display: block;
  padding: 10px 12px;
  color: #333;
  font-size: 0.9375rem;
  line-height: 1.6;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.15s, color 0.15s;
}

#toc_container .toc_list li a:hover {
  background-color: #f5f7fa;
  color: #0066C8;
  text-decoration: none;
}

#toc_container .toc_list li a .toc_number {
  color: #0066C8;
  font-weight: 600;
  margin-right: 8px;
}

/* .button01 → .c-button.is-lg.is-primary 相当 */
/* .l-post-content .button01 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 558px;
  margin: 24px auto;
  padding: 35px 24px;
  background-color: #0066C8;
  color: #fff;
  border: 1px solid #0066C8;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.l-post-content .button01:hover {
  background-color: #fff;
  color: #111;
  border-color: #0066C8;
  text-decoration: none;
  opacity: 1;
} */

/* h2 上余白調整 */
.l-post-content h2 {
  margin-top: 3rem;
}

@media (max-width: 750px) {
  .l-post-content h2 {
    margin-top: 1.5rem;
  }
}

.l-post-content {
    line-height: 2;
}

/* 登壇者ボックス (.borderBox, .speaker) */
.l-post-content .borderBox,
.l-post-content .speaker {
  background: #fff;
  border: 1px solid #e0e4eb;
  border-radius: 8px;
  padding: 24px 32px;
  margin: 24px 0;
}

.l-post-content .borderBox .pat10 > span {
  display: inline-block;
  background-color: #0066C8 !important;
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.l-post-content .borderBox .fwBold {
  font-weight: 700;
}

.l-post-content .borderBox .fs7L {
  font-size: 1.375rem;
  line-height: 1.4;
}

.l-post-content .borderBox .fsS {
  font-size: 0.875rem;
  color: #666;
}

.l-post-content .borderBox .fs2S {
  display: block;
  font-size: 0.8125rem;
  color: #666;
  margin-top: 4px;
}

.l-post-content .borderBox .mat10 {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: #444;
}

/* .speaker 子要素 */
.l-post-content .speaker .speaker_speaker {
  display: inline-block;
  background-color: #0066C8;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.l-post-content .speaker .speaker_name {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.l-post-content .speaker .speaker_position {
  font-size: 0.8125rem;
  color: #666;
  margin-top: 4px;
}

.l-post-content .speaker .speaker_desc {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: #444;
}

@media (max-width: 750px) {
  .l-post-content .borderBox,
  .l-post-content .speaker {
    padding: 16px 20px;
  }

  .l-post-content .borderBox .fs7L,
  .l-post-content .speaker .speaker_name {
    font-size: 1.125rem;
  }
}

/* CF7 チェックボックス・ラジオ: label 不在時の補正
   CF7 は <label> を出力せず <span class="wpcf7-list-item"> を使うため、
   .is-border label 向けのスタイルを .wpcf7-list-item にも適用する。
   input を枠全体に広げて、枠内どこでもクリック可能にする。
--------------------------------------------------------------- */
.c-block-document__form {
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px 0 0 8px;
}
.c-forms__checkbox.is-border .wpcf7-list-item,
.c-forms__radio.is-border .wpcf7-list-item {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 11px 8px;
  border: 1px solid #C4C9D3;
  border-radius: 3px;
}

.c-forms__checkbox.is-border .wpcf7-list-item:focus-within,
.c-forms__radio.is-border .wpcf7-list-item:focus-within {
  border-color: #0097D8;
}

.c-forms__checkbox.is-border .wpcf7-list-item > input[type="checkbox"],
.c-forms__radio.is-border .wpcf7-list-item > input[type="radio"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  z-index: 1;
}

.c-forms__checkbox.is-border .wpcf7-list-item > input[type="checkbox"] + .wpcf7-list-item-label::before,
.c-forms__radio.is-border .wpcf7-list-item > input[type="radio"] + .wpcf7-list-item-label::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #C4C9D3;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 10px;
  flex-shrink: 0;
  transition: background-color 0.15s, border-color 0.15s;
}

.c-forms__radio.is-border .wpcf7-list-item > input[type="radio"] + .wpcf7-list-item-label::before {
  border-radius: 50%;
}

.c-forms__checkbox.is-border .wpcf7-list-item > input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
  background-color: #0066C8;
  border-color: #0066C8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5L6.5 11.5L12.5 4.5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.c-forms__radio.is-border .wpcf7-list-item > input[type="radio"]:checked + .wpcf7-list-item-label::before {
  border-color: #0066C8;
  background: radial-gradient(circle, #0066C8 40%, transparent 41%);
}

.c-forms__checkbox .wpcf7-list-item-label,
.c-forms__radio .wpcf7-list-item-label {
  display: flex;
  align-items: center;
  margin-left: 0;
}
