@charset "UTF-8";
/* =========================================================
   次世代リーダーズフォーラム2027 申込フォーム（style.css と併用）
   ========================================================= */
.form-page {
  background: var(--cream);
}
.form-page .header-wrap {
  position: static;
} /* フォームではヘッダーを追従させない */
[hidden] {
  display: none !important;
} /* hidden属性を確実に効かせる（請求先欄など） */
.fp-back {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 0;
}
.fp-back::before {
  content: "‹ ";
}
.fp-band {
  background: var(--blue);
  color: #fff;
  border-bottom: var(--border);
}
.fp-band__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 24px;
}
.fp-band__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
}
.fp-band__info {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}
.fp-form {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.fp-lead {
  margin-bottom: 32px;
  font-size: 15px;
}
.fp-block {
  margin: 0 0 28px;
  padding: 28px 30px 30px;
  background: #fff;
  border: var(--border);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--yellow);
  min-width: 0;
}
.fp-block__title {
  float: left;
  width: 100%;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 0;
  font-size: 20px;
  font-weight: 900;
}
.fp-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  font-family: var(--ff-en);
  font-size: 15px;
}
.fp-badge {
  padding: 2px 10px;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.fp-badge--opt {
  background: #8E95A3;
}
.fp-block__title + * {
  clear: both;
}
.fp-note {
  margin: 8px 0 18px;
  font-size: 13.5px;
  color: var(--gray);
}
.fp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
.fp-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fp-group--full {
  grid-column: 1 / -1;
}
.fp-group label {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.req, .opt {
  display: inline-block;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  background: var(--pink);
}
.opt {
  background: #8E95A3;
}
.fp-input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 2px solid #C5CCD8;
  border-radius: 10px;
  -webkit-appearance: none;
  appearance: none;
}
textarea.fp-input {
  min-height: 110px;
  resize: vertical;
}
.fp-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 69, 224, .2);
}
.fp-select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2314161F' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.fp-input.is-invalid {
  border-color: var(--pink);
  background-color: #FFF4F8;
}
.fp-msg {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pink);
}
.fp-check, .fp-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.fp-check input, .fp-radio input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--blue);
}
.fp-check--self {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--pale-yellow);
  border-radius: 10px;
}
.fp-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fp-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 2px solid #C5CCD8;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
}
.fp-option input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: none;
  accent-color: var(--blue);
}
.fp-option:has(input:checked) {
  border-color: var(--blue);
  background: #F2F4FE;
}
.fp-option-wrap .fp-bill {
  margin: 0 0 0 18px;
  padding: 18px 0 4px 20px;
  border-left: 3px solid var(--blue);
}
.fp-bill:not([hidden]) {
  animation: fpOpen .25s ease;
}
@keyframes fpOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fp-participants {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fp-person {
  padding: 18px 20px 20px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--cream);
}
.fp-person__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.fp-person__title {
  font-weight: 900;
  font-size: 16px;
}
.fp-person__no {
  font-family: var(--ff-en);
  margin-left: 4px;
}
.fp-person__title .fp-badge {
  margin-left: 10px;
  vertical-align: 2px;
}
.fp-person__remove {
  padding: 6px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  background: #fff;
  border: 2px solid #C5CCD8;
  border-radius: 999px;
  cursor: pointer;
}
.fp-person:first-child .fp-person__remove {
  display: none;
}
.fp-add {
  margin-top: 16px;
  width: 100%;
  min-height: 52px;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  color: var(--blue);
  background: #fff;
  border: 2px dashed var(--blue);
  border-radius: 12px;
  cursor: pointer;
}
.fp-add[disabled] {
  opacity: .4;
  cursor: not-allowed;
}
.fp-agree {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 28px;
  padding: 22px 24px;
  background: #fff;
  border: 2px solid #C5CCD8;
  border-radius: 14px;
}
.fp-agree__cancel {
  font-size: 14px;
  line-height: 1.8;
}
.fp-agree__title {
  font-weight: 900;
}
.fp-agree a {
  color: var(--blue);
}
.fp-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.fp-error {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #FFF4F8;
  border: 2px solid var(--pink);
  border-radius: 10px;
  color: var(--pink);
  font-weight: 700;
  font-size: 14px;
}
.fp-submit {
  text-align: center;
}
.fp-submit .btn {
  min-width: 320px;
}
.fp-submit .btn[disabled] {
  opacity: .6;
  cursor: wait;
  transform: none;
}
/* 完了画面 */
.fp-thanks {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 22, 31, .55);
}
.fp-thanks[hidden] {
  display: none;
}
.fp-thanks__card {
  max-width: 560px;
  width: 100%;
  max-height: 100%;
  overflow: auto;
  padding: 32px 30px;
  background: #fff;
  border: var(--border);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--yellow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.fp-thanks__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}
.fp-thanks__title {
  font-size: 22px;
  font-weight: 900;
}
.fp-thanks__text {
  align-self: stretch;
  text-align: left;
}
.fp-thanks__alert {
  width: 100%;
  margin: 6px 0;
  padding: 12px 16px;
  background: var(--pale-yellow);
  border-radius: 10px;
  text-align: left;
  font-size: 13.5px;
}
.fp-thanks__alert-title {
  font-weight: 900;
}
@media (max-width: 640px) {
  .fp-back {
    font-size: 12px;
  }
  .fp-band__inner {
    padding: 26px 18px;
  }
  .fp-form {
    padding: 28px 14px 60px;
  }
  .fp-block {
    padding: 20px 16px 22px;
    box-shadow: 4px 4px 0 var(--yellow);
  }
  .fp-block__title {
    font-size: 18px;
  }
  .fp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fp-person {
    padding: 16px 14px;
  }
  .fp-submit .btn {
    min-width: 0;
    width: 100%;
  }
}
/* 確認画面 */
.fp-confirm__title {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 900;
}
.fp-cf-block {
  margin: 0 0 20px;
  padding: 22px 26px 18px;
  background: #fff;
  border: var(--border);
  border-radius: 16px;
}
.fp-cf-block h3 {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 900;
}
.fp-cf-block h4 {
  margin: 14px 0 4px;
  font-size: 15px;
  font-weight: 900;
  color: var(--blue);
}
.fp-cf {
  margin: 0;
}
.fp-cf > div {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 20px;
  padding: 8px 0;
  border-bottom: 1px dashed #C5CCD8;
}
.fp-cf dt {
  flex: 0 0 170px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gray);
}
.fp-cf dd {
  flex: 1 1 260px;
  margin: 0;
  font-size: 15px;
  word-break: break-all;
  white-space: pre-wrap;
}
.fp-confirm__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}
.fp-back-btn {
  min-height: 56px;
  padding: 0 28px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
}
.fp-confirm__actions .btn[disabled] {
  opacity: .6;
  cursor: wait;
  transform: none;
}
@media (max-width: 640px) {
  .fp-cf-block {
    padding: 18px 16px 14px;
  }
  .fp-cf dt {
    flex-basis: 100%;
  }
  .fp-confirm__actions {
    flex-direction: column-reverse;
  }
  .fp-confirm__actions > * {
    width: 100%;
  }
}