/* ---------------------------------------------------------------------------
// entry form — LP design (section-09)
--------------------------------------------------------------------------- */
.entry-form-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.entry-form-logo img {
  width: 32.3rem;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.entry-form {
  --ef-orange: #FF6E00;
  --ef-blue: #0062D3;
  --ef-text: #000;
  --ef-muted: #666;
  --ef-line: #e6eaf0;
  --ef-bg: #f7f9fc;
  --ef-danger: #e11d48;
  --ef-success: #0f9d58;
  --ef-radius: 2rem;
  --ef-gradient: linear-gradient(90deg,
      #0060CC 0%,
      #0093E8 18%,
      #00BEBD 32%,
      #13C04F 42%,
      #8DCC21 52%,
      #FFC903 65%,
      #FF930F 80%,
      #FF541D 100%);

  margin-top: 4rem;
  color: var(--ef-text);
  font-size: 1.5rem;
  line-height: 1.6;
}

.entry-form *,
.entry-form *::before,
.entry-form *::after {
  box-sizing: border-box;
}

.entry-form input,
.entry-form select {
  font: inherit;
}

.entry-form__card {
  position: relative;
  background: #fff;
  border-radius: var(--ef-radius);
  overflow: hidden;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 98, 211, 0.08);
}

.entry-form__card::before {
  content: "";
  display: block;
  height: .4rem;
  background: var(--ef-gradient);
}

.entry-form__form {
  padding: 3.2rem 3.6rem 3.6rem;
}

.entry-form__block + .entry-form__block {
  margin-top: 3.2rem;
  padding-top: 3.2rem;
  border-top: 1px solid var(--ef-line);
}

.entry-form__heading {
  margin: 0 0 2rem;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.entry-form__lead {
  margin: 0;
  font-size: 1.3rem;
  color: var(--ef-muted);
  line-height: 1.6;
}

.entry-form__row {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  gap: 1.2rem 2rem;
  align-items: start;
  margin-bottom: 1.8rem;
}

.entry-form__row.entry-form__lead-row {
  margin-top: -0.8rem;
  margin-bottom: .4rem;
  align-items: center;
}

.entry-form__lead-row > .entry-form__label:empty {
  visibility: hidden;
}

.entry-form__row[hidden],
.entry-form__free-wrap[hidden] {
  display: none !important;
}

.entry-form__row:last-child {
  margin-bottom: 0;
}

.entry-form__label {
  padding-top: 1.4rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
}

/* 苗字／名前の小ラベル分を足して、他項目と同様に input と上下中央揃え */
.entry-form__row:has(.entry-form__field-label) .entry-form__label {
  padding-top: calc(1.4rem + 1.2rem * 1.6 + 0.5rem);
}

.entry-form__req {
  display: inline-block;
  margin-left: .6rem;
  padding: .15rem .55rem;
  border-radius: .4rem;
  background: var(--ef-orange);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  vertical-align: middle;
}

.entry-form__fields {
  min-width: 0;
}

.entry-form__fields.--2col,
.entry-form__fields.--3col {
  display: grid;
  gap: 1.2rem;
}

.entry-form__fields.--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.entry-form__fields.--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-form__field {
  min-width: 0;
}

.entry-form__field-label {
  display: block;
  margin-bottom: .5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ef-muted);
}

.entry-form__control,
.entry-form__field input:not([type="checkbox"]):not([type="radio"]),
.entry-form__field select {
  width: 100%;
  min-height: 4.8rem;
  padding: 0 1.4rem;
  border: 1px solid #d7dde6;
  border-radius: 1rem;
  background: var(--ef-bg);
  color: var(--ef-text);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.entry-form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.4rem center;
  padding-right: 3.6rem;
}

.entry-form__field input:not([type="checkbox"]):not([type="radio"]):hover,
.entry-form__field select:hover {
  border-color: rgba(0, 98, 211, .35);
}

.entry-form__field input:not([type="checkbox"]):not([type="radio"]):focus,
.entry-form__field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--ef-blue);
  box-shadow: 0 0 0 3px rgba(0, 98, 211, .12);
}

.entry-form__field input:not([type="checkbox"]):not([type="radio"]).is-error,
.entry-form__field select.is-error {
  border-color: var(--ef-danger);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, .1);
}

.entry-form__hint {
  margin: .6rem 0 0;
  font-size: 1.2rem;
  color: var(--ef-muted);
  line-height: 1.5;
}

.entry-form__error {
  display: none;
  margin: .5rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ef-danger);
}

.entry-form__field.is-invalid .entry-form__error,
.entry-form__agree-wrap.is-invalid .entry-form__error {
  display: block;
}

.entry-form__notice {
  display: none;
  margin-top: .8rem;
  padding: 1.2rem 1.4rem;
  border-radius: 1rem;
  background: #fff7ed;
  border: 1px solid rgba(255, 110, 0, .28);
  color: #9a4a00;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
}

.entry-form__notice.is-show {
  display: block;
}

.entry-form__field [data-univ-filter] {
  margin-bottom: .8rem;
}

.entry-form__check {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.5;
}

.entry-form__check input {
  width: 1.8rem;
  height: 1.8rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--ef-orange);
  appearance: auto;
}

.entry-form__check input:focus {
  outline: 2px solid var(--ef-orange);
  outline-offset: 2px;
  box-shadow: none;
}

.entry-form__check input:hover {
  border: none;
  box-shadow: none;
}

.entry-form__free-wrap {
  margin-top: 1rem;
}

[data-univ-master].is-free-mode,
[data-univ-faculty-row].is-free-mode,
[data-univ-dept-row].is-free-mode {
  opacity: .45;
  pointer-events: none;
}

[data-univ-free-row] > .entry-form__label:empty {
  visibility: hidden;
}

.entry-thanks__booking {
  margin-top: 2.8rem;
  padding: 2rem 1.6rem;
  border-radius: 1.2rem;
  background: rgba(255, 110, 0, 0.08);
  border: 1px solid rgba(255, 110, 0, 0.22);
  text-align: center;
}

.entry-thanks__booking-lead {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
}

.entry-thanks__booking-actions {
  margin-top: 1.6rem;
}

.entry-thanks__booking-note {
  margin: 2.4rem 0 0;
  font-size: 1.2rem;
  color: var(--ef-muted);
  line-height: 1.5;
}

.entry-thanks__booking-skip {
  margin: 2.4rem 0 0;
  padding: 1.2rem 1.4rem;
  border-radius: 1rem;
  background: #fff7ed;
  border: 1px solid rgba(255, 110, 0, .28);
  color: #9a4a00;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

a.entry-form__submit--booking {
  background: #0f766e;
}

a.entry-form__submit--booking:hover {
  color: #0f766e;
  border-color: #0f766e;
}

.entry-form__agree-wrap {
  margin-top: 3.2rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--ef-line);
  text-align: center;
}

.entry-form__agree {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.entry-form__agree span {
  line-height: 1.7;
}

.entry-form__agree input {
  width: 1.8rem;
  height: 1.8rem;
  margin: 0;
  accent-color: var(--ef-orange);
}

.entry-form__agree a {
  color: var(--ef-blue);
  text-decoration: none;
  font-weight: 700;
}

.entry-form__agree a:hover {
  text-decoration: underline;
}

.entry-form__actions {
  margin-top: 2.4rem;
  text-align: center;
}

button.entry-form__submit {
  width: min(100%, 32.8rem);
  height: 6.4rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .8rem;
  border: 1px solid #fff;
  border-radius: 100vh;
  background: var(--ef-orange);
  color: #fff;
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
  box-shadow: 0 1rem 1rem 0 rgba(145, 145, 145, 0.25);
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
}

button.entry-form__submit svg {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
}

button.entry-form__submit svg path {
  stroke: currentColor;
  transition: stroke .3s;
}

button.entry-form__submit:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ef-orange);
  border-color: var(--ef-orange);
  box-shadow: 0 10px 10px 0 rgba(0, 98, 211, 0.15);
}

button.entry-form__submit:disabled {
  cursor: not-allowed;
  opacity: .5;
  filter: grayscale(.3);
  box-shadow: none;
}

.entry-form__status {
  min-height: 2rem;
  margin: 1.4rem 0 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ef-muted);
}

.entry-form__status.is-error {
  color: var(--ef-danger);
}

.entry-form__status.is-success {
  color: var(--ef-success);
}

/* ---------------------------------------------------------------------------
// thanks page
--------------------------------------------------------------------------- */
.entry-thanks__body {
  padding: 5.6rem 3.6rem 4.8rem;
  text-align: center;
}

.entry-thanks__lead {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.5;
}

.entry-thanks__text {
  margin: 1.6rem 0 0;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.8;
  color: var(--ef-muted);
}

/* ---------------------------------------------------------------------------
// terms page
--------------------------------------------------------------------------- */
.entry-terms__body {
  padding: 4rem 3.6rem 4.8rem;
}

.entry-terms .ttlA > span {
  white-space: nowrap;
}

.entry-terms__lead {
  margin: 0 0 1.6rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.8;
}

.entry-terms__intro {
  margin: 0 0 3rem;
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--ef-muted);
}

.entry-terms__section + .entry-terms__section {
  margin-top: 2.6rem;
}

.entry-terms__section h2 {
  margin: 0 0 .8rem;
  font-size: 1.8rem;
  font-weight: 800;
}

.entry-terms__section p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.9;
}

.entry-terms__section ul {
  margin: .8rem 0 0;
  padding-left: 1.8rem;
  font-size: 1.4rem;
  line-height: 1.9;
}

.entry-terms__section li + li {
  margin-top: .2rem;
}

.entry-terms__company {
  margin-top: 3.2rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.entry-thanks .entry-form__actions {
  margin-top: 3.2rem;
}

a.entry-form__submit {
  width: min(100%, 32.8rem);
  height: 6.4rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .8rem;
  border: 1px solid #fff;
  border-radius: 100vh;
  background: var(--ef-orange);
  color: #fff;
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  box-shadow: 0 1rem 1rem 0 rgba(145, 145, 145, 0.25);
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
}

a.entry-form__submit svg {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
}

a.entry-form__submit svg path {
  stroke: currentColor;
  transition: stroke .3s;
}

a.entry-form__submit:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ef-orange);
  border-color: var(--ef-orange);
  box-shadow: 0 10px 10px 0 rgba(0, 98, 211, 0.15);
}

@media screen and (max-width: 768px) {
  .entry-form-logo {
    margin-bottom: 1.6rem;
  }

  .entry-form-logo img {
    width: 27rem;
  }

  .entry-form {
    margin-top: 3rem;
  }

  .entry-form__card {
    border-radius: 1.6rem;
  }

  .entry-form__form {
    padding: 2.4rem 1.8rem 2.8rem;
  }

  .entry-form__row {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .entry-form__label,
  .entry-form__row:has(.entry-form__field-label) .entry-form__label {
    padding-top: 0;
  }

  .entry-form__fields.--2col,
  .entry-form__fields.--3col {
    gap: .8rem;
  }

  .entry-form__agree {
    gap: .6rem;
    font-size: 1.2rem;
  }

  .entry-form__agree span {
    white-space: nowrap;
  }

  button.entry-form__submit,
  a.entry-form__submit {
    width: 100%;
    height: 5.6rem;
    font-size: 1.4rem;
  }

  .entry-thanks__body {
    padding: 4rem 1.8rem 3.2rem;
  }

  .entry-thanks__lead {
    font-size: 1.8rem;
  }

  .entry-thanks__text {
    margin-top: 1.2rem;
    font-size: 1.4rem;
  }

  .entry-terms__body {
    padding: 3rem 1.8rem 3.2rem;
  }

  .entry-terms__lead {
    font-size: 1.4rem;
  }

  .entry-terms__intro,
  .entry-terms__section p,
  .entry-terms__section ul,
  .entry-terms__company {
    font-size: 1.3rem;
  }

  .entry-terms__section h2 {
    font-size: 1.6rem;
  }
}
