/* ============================================
   DL Contact Trigger Plugin - Styles
   申し込みのきっかけ セクション
   ============================================ */

/* ラジオボタン横並び */
.trigger-wrap .wpcf7-radio .wpcf7-list-item {
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

/* 条件付き入力欄（配布企業名・紹介者名） */
.trigger-conditional {
  margin-top: 0.75rem;
  padding: 1rem 1.25rem;
  background: #f8f7f3;
  border-left: 3px solid #C5B074;
  border-radius: 2px;
}
.trigger-conditional label {
  display: block;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* -------------------------------------------- sp */
@media screen and (max-width: 767px) {
  .trigger-wrap .wpcf7-radio .wpcf7-list-item {
    display: block;
    margin-right: 0;
  }
}

/* ガイドリンク */
.guide-link {
  display: inline-block;
  font-size: 0.8125rem;
  color: #fff;
  background: #C5B074;
  text-decoration: none;
  margin-left: 0.5rem;
  padding: 0.2em 0.75em;
  border-radius: 3px;
  white-space: nowrap;
  vertical-align: middle;
}
.guide-link:hover {
  background: #b09a5c;
  color: #fff;
}

/* ============================================
   ガイド画像モーダル
   ============================================ */
#guide-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}
#guide-modal-overlay.is-active {
  display: flex;
}
#guide-modal {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
#guide-modal img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
#guide-modal-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 40px; height: 40px;
  border: none;
  background: #fff;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
#guide-modal-close:hover {
  background: #f0f0f0;
}
