/* =====================================================================
   GMO Connect Internship — エントリーフォーム (new playful world view)
===================================================================== */

:root {
  --pink:        #ff5b9e;
  --pink-2:      #ff7eb6;
  --pink-3:      #ffb6d8;
  --pink-bg:     #fff0f6;
  --blue:        #4d8bff;
  --blue-2:      #5da0ff;
  --blue-3:      #b9d4ff;
  --teal:        #2ec8d0;
  --orange:      #ff9a3c;
  --purple:      #8d6dff;
  --yellow:      #ffd84d;
  --yellow-2:    #ffe27a;
  --ink:         #1a1340;
  --text:        #4a4068;
  --text-light:  #8a82a8;
  --line:        #efe6f2;
  --paper:       #fffbf7;
  --bg:          #fdfaff;

  --font-jp:     "Zen Kaku Gothic New", "Hiragino Sans", system-ui, sans-serif;
  --font-round:  "Zen Maru Gothic", "Zen Kaku Gothic New", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.apply-page {
  background:
    radial-gradient(ellipse 60% 50% at 12% 8%, #fff0f6 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 12%, #eaf2ff 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 95%, #fff5e0 0%, transparent 60%),
    linear-gradient(180deg, #fffafd 0%, #fdfaff 100%);
  min-height: 100vh;
  font-family: var(--font-jp);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.apply-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(40,30,80,.04);
}
.apply-header__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.apply-header .brand { display: inline-flex; align-items: center; }
.apply-header .brand__logo { height: 20px; width: auto; display: block; }
.apply-header__back {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-round);
  padding: 6px 12px;
  border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.apply-header__back:hover { color: var(--pink); background: var(--pink-bg); }

/* ---------- Page wrapper ---------- */
.apply {
  padding: 32px 20px 60px;
  position: relative;
  overflow: hidden;
}
.apply::before,
.apply::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 22px;
  border-radius: 999px;
  pointer-events: none;
  opacity: .55;
  z-index: 0;
}
.apply::before {
  top: 60px;
  left: -60px;
  background: linear-gradient(90deg, transparent, var(--pink-3) 40%, var(--pink-2) 70%, transparent);
  transform: rotate(-22deg);
}
.apply::after {
  top: 180px;
  right: -50px;
  background: linear-gradient(90deg, transparent, var(--blue-3) 40%, var(--blue-2) 70%, transparent);
  transform: rotate(-18deg);
}
.apply__inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---------- Heading ---------- */
.apply__head {
  text-align: center;
  margin: 12px 0 40px;
}
.apply__eyebrow {
  font-family: "Inter", var(--font-round);
  font-size: 12.5px;
  letter-spacing: .22em;
  color: var(--pink);
  font-weight: 700;
  margin: 0 0 12px;
}
.apply__title {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: .04em;
  position: relative;
  display: inline-block;
}
.apply__title::before,
.apply__title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28px;
  height: 3px;
  background: var(--pink);
  border-radius: 999px;
}
.apply__title::before { left: -44px; transform: translateY(-50%); }
.apply__title::after  { right: -44px; transform: translateY(-50%); }
.apply__lead {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.85;
  font-weight: 500;
  margin: 0;
}
.apply__lead strong { color: var(--pink); font-weight: 800; }

/* ---------- Form card ---------- */
.apply-form {
  background: #fff;
  border: 2px solid #ffe5ef;
  border-radius: 22px;
  padding: 36px 32px 32px;
  box-shadow: 0 16px 40px rgba(255,91,158,.08), 0 4px 12px rgba(40,30,80,.05);
}

.apply-form__group {
  margin-bottom: 24px;
}
.apply-form__group:last-of-type { margin-bottom: 0; }

.apply-label,
label.apply-label,
span.apply-label {
  display: block;
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: .03em;
}

.apply-required {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 6px;
  letter-spacing: .04em;
  vertical-align: 1px;
  font-family: var(--font-jp);
}

.apply-hint {
  font-size: 12px;
  color: var(--text-light);
  margin: -4px 0 10px;
  line-height: 1.6;
  font-weight: 500;
}

.apply-cluster-title {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--blue);
  margin: 14px 0 8px;
  letter-spacing: .04em;
}

/* ---------- Input ---------- */
.apply-input {
  width: 100%;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: #faf8fc;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  outline: none;
}
.apply-input::placeholder { color: var(--text-light); font-weight: 400; }
.apply-input:focus {
  border-color: var(--pink);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,91,158,.12);
}

.apply-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'><path d='M1 1l6 7 6-7' stroke='%23ff5b9e' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.apply-textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--font-jp);
}

/* ---------- Radio / Check rows ---------- */
.apply-radio-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.apply-radio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.apply-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.apply-radio,
.apply-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #faf8fc;
  border: 2px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .12s ease, background .12s ease;
  user-select: none;
  font-family: var(--font-jp);
}
.apply-radio:hover,
.apply-check:hover {
  border-color: var(--pink-2);
  background: #fff;
}
.apply-radio input,
.apply-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--pink);
  margin: 0;
  flex-shrink: 0;
}
.apply-radio:has(input:checked),
.apply-check:has(input:checked) {
  border-color: var(--pink);
  background: var(--pink-bg);
}
.apply-radio:has(input:checked) span,
.apply-check:has(input:checked) span { color: var(--pink); }

/* consent row */
.apply-form__consent {
  background: #fffbf2;
  border: 2px dashed #ffd84d;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 32px;
}
.apply-check--consent {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 13px;
}
.apply-check--consent:hover { background: transparent; }
.apply-check--consent a {
  color: var(--blue);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

/* ---------- Submit button ---------- */
.apply-form__actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.btn.btn--primary,
#apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(90deg, #ff7eb6, #ff5b9e);
  border: none;
  border-radius: 999px;
  padding: 16px 44px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255,91,158,.32), 0 4px 0 #d61f6a;
  transition: transform .12s ease, box-shadow .15s ease;
  letter-spacing: .04em;
}
#apply-btn:hover,
.btn.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255,91,158,.36), 0 6px 0 #d61f6a;
}
#apply-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 12px rgba(255,91,158,.2);
}
.btn--lg { padding: 16px 44px; font-size: 16px; }

/* ---------- Status message ---------- */
.apply-msg {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
  font-weight: 600;
  display: none;
}
.apply-msg--success {
  display: block;
  background: #e8fff2;
  color: #0a7a3f;
  border: 2px solid #b6f0c8;
}
.apply-msg--error {
  display: block;
  background: #fff0f0;
  color: #c81e3e;
  border: 2px solid #ffc9d2;
}

/* ---------- Footer ---------- */
.footer.footer--apply {
  margin-top: 40px;
}
.footer--apply .footer__bottom {
  background: #f6f3fa;
}
.footer--apply .footer__bottom-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer--apply .footer__legal {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.footer--apply .footer__legal a {
  font-size: 11.5px;
  color: var(--text);
  font-weight: 600;
}
.footer--apply .footer__legal a:hover { color: var(--pink); }
.footer--apply .footer__copy {
  font-family: "Inter", var(--font-round);
  font-size: 11px;
  color: var(--text-light);
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .apply { padding: 24px 14px 40px; }
  .apply-form { padding: 26px 20px 24px; border-radius: 18px; }
  .apply__head { margin: 8px 0 28px; }
  .apply__title { font-size: 22px; }
  .apply__title::before,
  .apply__title::after { display: none; }
  .apply__lead { font-size: 12.5px; }
  .apply-form__group { margin-bottom: 20px; }
  .apply-label { font-size: 13px; }
  .apply-input { font-size: 14px; padding: 11px 14px; border-radius: 10px; }
  .apply-radio-grid,
  .apply-check-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .apply-radio,
  .apply-check { padding: 8px 10px; font-size: 12px; gap: 6px; }
  #apply-btn,
  .btn.btn--primary { font-size: 14.5px; padding: 14px 30px; }
}



/* Header対策 */

header {
    margin-top: 0px !important;
}
	    
@media screen and (max-width:768px) {
header {
	    margin-top: 0px;
	}
}

/* サイトシール対策 20250707改訂*/

.corporate_logo {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 10px;
  display: flex;
  justify-content: start;
}

.corporate_logo img {
  height: 18px;
  width: auto;

}

@media only screen and (max-width: 768px) {
  .corporate_logo {
    justify-content: center;
  }
}

.site_seal {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.site_seal img{
    width: 115px;
    height: 57px;
}
.site_seal div.site_seal_left {
  padding: 40px 5px 40px 115px;
}
.site_seal div.site_seal_center {
  padding: 40px 5px 0px 5px;
}
.site_seal div.site_seal_right {
  padding: 40px 115px 40px 5px;
}

@media only screen and (max-width: 768px) {

  .site_seal {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
  }


  .site_seal a {
    display: block !important;
  }

  .site_seal div.site_seal_left {
    padding: 40px 5px 40px 0px;
  }
  .site_seal div.site_seal_center {
    padding: 0px 5px 0px 5px;
  }
  .site_seal div.site_seal_right {
    padding: 40px 0px 40px 5px;
  }

}

.footer_area_bg {
  background-color: #fff;

}

