@charset "UTF-8";

/*　▼commonに切り替わったら移動　*/
  
#wrapper {
  background: var(--color-bg);
}

/* =====================
  apply
===================== */

#apply .apply_ttl {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}

.form_cnts {
  border-radius: 24px;
  box-shadow: var(--box-shadow);
}

:is(#apply, #apply_end) .form :is(.radio, .check) input {
  display: block;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  white-space: nowrap;
  position: absolute;
}

:is(#apply, #apply_end) .form :is(input:not([type="radio"]):not([type="checkbox"]), select, textarea, button):focus-visible {
  outline: 3px solid var(--color-main);
  outline-offset: 2px;
}

:is(#apply, #apply_end) .form :is(.radio, .check) input:focus-visible + label {
  outline: 3px solid var(--color-main);
  outline-offset: 2px;
}

#apply [data-required-radios].is_error .radio label {
  background: rgba(235, 106, 140, 0.1);
  border-color: var(--color-red);
}

/* =====================
  apply_end
===================== */

#apply_end .apply_question_ttl label {
  font-weight: 700;
  line-height: 1.5;
}

#apply_end .check > li.is_stored_expired {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

#apply_end .stored_expired_note {
  color: var(--color-gray);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

#apply_end .apply_other_input {
  margin-top: 8px;
}

#apply_end .apply_form_validation_error {
  margin: 0 0 15px;
}

#apply_end .apply_choice_group_ttl {
  display: block;
  width: 100%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin: 15px 0 8px;
}

#apply_end .form_item > fieldset[data-required-checks] {
  margin-top: 15px;
}

#apply_end .form_item > fieldset[data-required-checks] > .apply_choice_group_ttl {
  margin-top: 0;
}

#apply_end .apply_required_radio_group.is_error .radio label,
#apply_end .form_item[data-required-radios].is_error .radio label,
#apply_end [data-required-checks].is_error .check label {
  background: rgba(235, 106, 140, 0.1);
  border-color: var(--color-red);
}

#apply_end .apply_start_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

#apply_end .apply_start_list > li {
  width: auto;
}

#apply_end .apply_start_list .search_start_month_first {
  grid-column-start: 1;
}

#apply_end .apply_col_first {
  grid-column-start: 1;
}

#apply_end .apply_priority_list label {
  padding-left: 40px;
}

#apply_end .apply_priority_list label::before {
  content: attr(data-priority);
  width: 18px;
  height: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-main);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

#apply_end .apply_priority_check:checked + label::before {
  display: flex;
}

#page_apply_end #apply_end .apply_priority_other {
	margin-top: 15px;
}

/*-------------------------------------------*/
/*  PC
/*-------------------------------------------*/

@media screen and (min-width:900px) {

  /* =====================
    container
  ===================== */

  /*　▼commonに切り替わったら移動　*/  

  #wrapper {
    overflow: clip;
  }

  #container {
    padding: 0 0 80px;
  }

  .inner {
    max-width: 90%;
  }

  /* =====================
    apply
  ===================== */

  #apply {
    padding-top: 0;
  }
  
  #apply .apply_ttl {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .form_cnts {
    padding: 25px 50px 60px;
  }

  /* =====================
    apply_end
  ===================== */

  #apply_end {
    padding-top: 0;
  }

  #apply_end .form_cnts {
    border-radius: 24px;
    box-shadow: var(--box-shadow);
    padding: 25px 50px 60px;
  }

  #apply_end .apply_question_ttl label {
    font-size: 16px;
    margin-bottom: 10px;
  }

  #apply_end .horizontal._col2 > .apply_col_first {
    margin-right: calc((100% + 10px) / 2);
  }

}

/*-------------------------------------------*/
/*  SP
/*-------------------------------------------*/

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

  /* =====================
    container
  ===================== */

  /*　▼commonに切り替わったら移動　*/  

  #container {
    padding-bottom: 20px;
  }

  /* =====================
    apply
  ===================== */
  
  #apply .apply_ttl {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .form_cnts {
    border-radius: 0;
    box-shadow: none;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .form_cnts::before {
    content: '';
    width: calc(100% + 20px);
    height: 45px;
    border-radius: 30px 30px 0 0;
    background: #fff;
    position: absolute;
    top: -15px;
    left: 0;
    transform: translateX(-10px);
    z-index: -1;
  }

  /* =====================
    apply_end
  ===================== */
  
  #apply_end .apply_question_ttl label {
    font-size: 14px;
  }

  #apply_end .form_cnts {
    padding: 10px 0 30px;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  #apply_end .form_cnts::before {
    content: '';
    width: calc(100% + 20px);
    height: 45px;
    border-radius: 30px 30px 0 0;
    background: #fff;
    position: absolute;
    top: -15px;
    left: 0;
    transform: translateX(-10px);
    z-index: -1;
  }

  #apply_end .horizontal._col2 > .apply_col_first {
    margin-right: calc((100% + 6px) / 2);
  }

}
