/* ============================================================
   entry.css — ご応募フォームページ固有スタイル
============================================================ */

/* ----------------------------------------------------------
   Page Hero
---------------------------------------------------------- */
.ent-hero {
  margin-top: var(--header-height);
  background: var(--color-bg-gray);
  min-height: 288px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.ent-hero__inner {
  text-align: center;
}

.ent-hero__en {
  font-family: 'Manrope', sans-serif;
  font-size: 48px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 2.4px;
  line-height: 1;
  margin-bottom: 20px;
}

.ent-hero__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 3.6px;
  line-height: 1;
  margin-bottom: 20px;
}

.ent-hero__triangles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--color-primary);
  font-size: 12px;
}

/* ----------------------------------------------------------
   Section
---------------------------------------------------------- */
.ent-section {
  padding: 120px 0;
}

.ent-inner {
  max-width: 848px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------------------------
   Section Head
---------------------------------------------------------- */
.ent-section-head {
  text-align: center;
  margin-bottom: 80px;
}

.ent-label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.ent-label-icon {
  font-size: 7px;
  color: var(--color-primary);
  display: block;
  line-height: 1;
}

.ent-label {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.8px;
  line-height: 1;
}

.ent-section-heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 4.8px;
  line-height: 1;
}

/* ----------------------------------------------------------
   Intro Text
---------------------------------------------------------- */
.ent-intro {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 2;
  margin-bottom: 100px;
}

.ent-intro__link {
  color: #2172e3;
  text-decoration: underline;
}

/* ----------------------------------------------------------
   Form Layout
---------------------------------------------------------- */
.ent-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ent-field {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ----------------------------------------------------------
   Field Label Row
---------------------------------------------------------- */
.ent-field__label-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ent-field__name {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1;
}

/* ----------------------------------------------------------
   Badges
---------------------------------------------------------- */
.ent-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 3px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  flex-shrink: 0;
}

.ent-badge--required {
  background: #ed6a02;
}

.ent-badge--optional {
  background: #888;
}

/* ----------------------------------------------------------
   Text Inputs
---------------------------------------------------------- */
.ent-input {
  width: 100%;
  height: 48px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  padding: 0 16px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.ent-input:focus {
  border-color: var(--color-primary);
}

.ent-input::placeholder {
  color: #888;
}

.ent-input--age {
  width: 50px;
  padding: 0 8px;
  text-align: center;
}

.ent-input--zip {
  width: 160px;
}

/* ----------------------------------------------------------
   Textarea
---------------------------------------------------------- */
.ent-textarea {
  width: 100%;
  height: 160px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  padding: 12px 16px;
  box-sizing: border-box;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}

.ent-textarea:focus {
  border-color: var(--color-primary);
}

.ent-textarea::placeholder {
  color: #888;
}

/* ----------------------------------------------------------
   Age Row
---------------------------------------------------------- */
.ent-age-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ent-age-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1;
}

/* ----------------------------------------------------------
   Radio Buttons
---------------------------------------------------------- */
.ent-radios {
  display: flex;
  align-items: center;
  gap: 40px;
}

.ent-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.ent-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #888;
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: border-color 0.15s;
}

.ent-radio input[type="radio"]::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: scale(0);
  transition: transform 0.15s;
}

.ent-radio input[type="radio"]:checked {
  border-color: var(--color-primary);
}

.ent-radio input[type="radio"]:checked::before {
  transform: scale(1);
}

.ent-radio__label {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1;
}

/* ----------------------------------------------------------
   Submit Button
---------------------------------------------------------- */
.ent-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.ent-btn {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--color-primary);
  color: #fff;
  height: 48px;
  padding: 0 16px 0 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s;
}

.ent-btn:hover {
  background: var(--color-primary-dark);
}

.ent-btn__icon {
  display: block;
  width: 20px;
  height: 15px;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   Header — Active link
---------------------------------------------------------- */
.header__nav-link--active {
  color: var(--color-primary);
}

/* ----------------------------------------------------------
   Mobile (≤768px)
---------------------------------------------------------- */
@media (max-width: 768px) {
  .ent-hero {
    padding: 56px 0 48px;
  }

  .ent-hero__en {
    font-size: 32px;
  }

  .ent-section {
    padding: 80px 0;
  }

  .ent-section-heading {
    font-size: 24px;
  }

  .ent-intro {
    font-size: 16px;
    margin-bottom: 64px;
  }

  .ent-field__name {
    font-size: 16px;
  }

  .ent-input {
    font-size: 16px;
  }

  .ent-textarea {
    font-size: 16px;
  }

  .ent-input--zip {
    width: 140px;
  }
}
