input {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
  -moz-border-radius: 0;
       border-radius: 0;
  background-color: #fff;
  display: inline-block;
  vertical-align: middle;
  border: solid 1px #f06292;
}

input[type="radio"] {
  -webkit-appearance: radio;
     -moz-appearance: radio;
          appearance: radio;
  width: auto;
  -moz-border-radius: 100%;
       border-radius: 100%;
  position: absolute;
  opacity: 0;
}

input[type="radio"]:checked ~ .radio-label:after {
  opacity: 1;
}

textarea {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
  background-color: #fff;
  display: inline-block;
  vertical-align: middle;
  border: solid 1px #f06292;
  width: 100%;
  resize: none;
  overflow: auto;
}

select {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -moz-border-radius: 0;
       border-radius: 0;
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
  display: inline-block;
  vertical-align: middle;
  border: none;
  background: #fff url("../img/apply-form/arrow_select.png") 100% center no-repeat;
  -moz-background-size: auto 100%;
       background-size: auto 100%;
  border: solid 1px #f06292;
}

select::-ms-expand {
  display: none;
}

label {
  display: inline-block;
  vertical-align: middle;
}

.radio-label {
  position: relative;
  padding-left: 25px;
}

.radio-label:before, .radio-label:after {
  content: '';
  display: block;
  -moz-border-radius: 50%;
       border-radius: 50%;
  position: absolute;
}

.radio-label:before {
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: solid 1px #f06292;
  background-color: #fff;
}

.radio-label:after {
  opacity: 0;
  left: 5px;
  top: 50%;
  -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #f06292;
}

.flex-list {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 8px;
}

.flex-list li + li {
  margin-left: 3em;
}

.required {
  color: #f06292;
}

.required-mark {
  color: #f44336;
}

.error-text {
  color: #f44336;
  margin: 0;
}

@media screen and (min-width: 768px), print {
  .for-sp {
    display: none !important;
  }
  .apply-title {
    width: 814px;
    margin: 0 auto;
  }
  .apply-index__lede {
    line-height: 1.6;
  }
  .apply-confirm .form-item__block-head {
    padding-top: 0;
  }
  .apply-confirm .form-item__block-body {
    padding-top: 0.4em;
  }
  .apply-complete h2 {
    color: #f06292;
    text-align: center;
    font-size: 3.1rem;
    font-weight: normal;
    margin-top: 65px;
  }
  .apply-complete__lede {
    text-align: center;
    font-size: 1.8rem;
    margin-top: 35px;
  }
  .apply-complete .btn-area {
    margin-top: 65px;
  }
  .form-item {
    width: 774px;
    border-collapse: collapse;
    margin: 50px auto 0;
  }
  .form-item__block {
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: dotted 1px #fbd3e1;
  }
  .form-item__block-head {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    text-align: left;
    font-weight: normal;
    font-size: 1.8rem;
    width: 210px;
    padding-left: 25px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    color: #707070;
    vertical-align: top;
    padding-top: 4px;
    line-height: 1.2;
  }
  .form-item__block-head p {
    line-height: 1.2;
    margin: 0;
  }
  .form-item__block-head span {
    display: block;
    font-size: 1rem;
  }
  .form-item__block-body {
    width: -webkit-calc(100% - 210px);
    width: -moz-calc(100% - 210px);
    width: calc(100% - 210px);
    font-size: 1.4rem;
  }
  .form-item__block-body small {
    font-size: 1.3rem;
  }
  .form-item__block dl {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
  }
  .form-item__block dl + dl {
    margin-top: 10px;
  }
  .form-item__block dl dt {
    width: 108px;
    padding-top: 0.7em;
  }
  .form-item__block dl small {
    display: block;
    margin-top: 4px;
  }
  .form-policy {
    font-size: 1rem;
    text-align: center;
    margin-top: 20px;
  }
  .form-policy a {
    color: #f06292;
  }
  .form-policy a:hover {
    -webkit-transition: opacity 0.3s cubic-bezier(0.35, 0.3, 0.3, 0.87);
    -o-transition: opacity 0.3s cubic-bezier(0.35, 0.3, 0.3, 0.87);
    -moz-transition: opacity 0.3s cubic-bezier(0.35, 0.3, 0.3, 0.87);
    transition: opacity 0.3s cubic-bezier(0.35, 0.3, 0.3, 0.87);
  }
  .form-policy a:hover:hover {
    opacity: .7;
  }
  .btn-area {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: 40px;
  }
  .btn-area [class*="btn-"] {
    width: 324px;
    height: 74px;
    -moz-border-radius: 37px;
         border-radius: 37px;
    cursor: pointer;
  }
  .btn-area [class*="btn-"] a {
    -moz-border-radius: 37px;
         border-radius: 37px;
  }
  .btn-area [class*="btn-form"] {
    border: none;
    text-indent: -99999px;
    background-repeat: no-repeat;
    background-position: center center;
    -moz-background-size: contain;
         background-size: contain;
  }
  .btn-area [class*="btn-form"]:hover {
    -webkit-transition: opacity 0.3s cubic-bezier(0.35, 0.3, 0.3, 0.87);
    -o-transition: opacity 0.3s cubic-bezier(0.35, 0.3, 0.3, 0.87);
    -moz-transition: opacity 0.3s cubic-bezier(0.35, 0.3, 0.3, 0.87);
    transition: opacity 0.3s cubic-bezier(0.35, 0.3, 0.3, 0.87);
  }
  .btn-area [class*="btn-form"]:hover:hover {
    opacity: .7;
  }
  .btn-area [class*="btn-form"] + [class*="btn"] {
    margin-left: 20px;
  }
  .btn-form-submit {
    background-image: url("../img/apply-form/btn_submit.png");
  }
  .btn-form-confirm {
    background-image: url("../img/apply-form/btn_confirm.png");
  }
  .btn-form-back {
    background-image: url("../img/apply-form/btn_back.png");
  }
  .btn-top a {
    display: block;
    line-height: 70px;
    font-size: 2.4rem;
    text-align: center;
    color: #fff;
    background-color: #f06292;
    border: solid 2px #f06292;
  }
  .btn-top a:hover {
    background-color: #fff;
    color: #f06292;
  }
  .btn-top a:hover .yellow {
    color: inherit;
  }
  .btn-top .yellow {
    color: #ffeb3b;
  }
  input, textarea, select {
    font-size: 1.3rem;
    padding: 8px;
    -moz-border-radius: 3px;
         border-radius: 3px;
  }
  input[type="text"], input[type="tel"], input[type="email"], input[type="number"] {
    min-height: 35px;
    min-width: 350px;
    margin: 0 2px;
  }
  input[type="radio"] {
    margin: 0px 6px 6px;
  }
  input.input--age {
    width: 88px;
    min-width: 0;
  }
  textarea {
    height: 152px;
  }
  select {
    min-width: 80px;
    padding-right: 50px;
  }
}

@media screen and (max-width: 767px) {
  .apply-title {
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url("../img/apply-form/title_index_sp.png");
    -moz-background-size: cover;
         background-size: cover;
    width: 100vw;
    height: 29.5vw;
    text-indent: -9999px;
    margin: -50px -20px 0;
  }
  .apply-index__lede {
    font-size: 1.4rem;
    line-height: 1.6;
  }
  .apply-confirm .form-item__block-head {
    padding-top: 0;
  }
  .apply-confirm .form-item__block-body {
    padding-top: 0.4em;
  }
  .apply-complete .apply-title {
    background-image: url("../img/apply-form/title_complete_sp.png");
  }
  .apply-complete h2 {
    color: #f06292;
    text-align: center;
    font-size: 2.15rem;
    font-weight: normal;
    margin-top: 25px;
    line-height: 1.4;
  }
  .apply-complete__lede {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 27.5px;
  }
  .apply-complete .btn-area {
    margin-top: 35px;
  }
  .form-item {
    width: 91.26467vw;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 35px auto 0;
  }
  .form-item__block {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    border-bottom: dotted 1px #fbd3e1;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .form-item__block-head {
    text-align: left;
    font-weight: normal;
    font-size: 1.6rem;
    width: 33.24641vw;
    color: #707070;
    vertical-align: top;
    padding-top: 4px;
    line-height: 1.4;
  }
  .form-item__block-head p {
    line-height: 1.2;
    margin: 0;
  }
  .form-item__block-head span {
    display: block;
    font-size: 0.9rem;
  }
  .form-item__block-body {
    width: 58.01825vw;
    font-size: 1.3rem;
  }
  .form-item__block-body small {
    font-size: 1.15rem;
    display: block;
    margin-top: 4px;
  }
  .form-item__block dl {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
  }
  .form-item__block dl + dl {
    margin-top: 12px;
  }
  .form-item__block dl dt {
    width: 25.42373vw;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    padding-top: 0.7em;
  }
  .form-item__block dl dd {
    width: 65.84094vw;
  }
  .form-item__block--norow {
    display: block;
  }
  .form-item__block--norow .form-item__block-head {
    padding-top: 0;
  }
  .form-item__block--norow .form-item__block-body {
    width: 100%;
    margin-top: 12.5px;
  }
  .form-policy {
    font-size: 1rem;
    text-align: center;
    margin-top: 15px;
  }
  .form-policy a {
    color: #f06292;
  }
  .btn-area {
    margin-top: 32.5px;
  }
  .btn-area [class*="btn-"] {
    width: 100%;
    max-width: 360px;
    height: 62px;
    -moz-border-radius: 31px;
         border-radius: 31px;
    cursor: pointer;
    margin: auto;
  }
  .btn-area [class*="btn-"] a {
    -moz-border-radius: 8.08344vw;
         border-radius: 8.08344vw;
  }
  .btn-area [class*="btn-form"] {
    border: none;
    text-indent: -99999px;
    -moz-background-size: contain;
         background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
  }
  .btn-area [class*="btn-form"] + [class*="btn-form"] {
    margin-top: 20px;
  }
  .btn-form-submit {
    background-image: url("../img/apply-form/btn_submit.png");
  }
  .btn-form-confirm {
    background-image: url("../img/apply-form/btn_confirm.png");
  }
  .btn-form-back {
    background-image: url("../img/apply-form/btn_back.png");
  }
  .btn-top a {
    display: block;
    line-height: 62px;
    font-size: 1.8rem;
    text-align: center;
    color: #fff;
    background-color: #f06292;
  }
  .btn-top a:hover {
    background-color: #fff;
    color: #f06292;
  }
  .btn-top a:hover .yellow {
    color: inherit;
  }
  .btn-top .yellow {
    color: #ffeb3b;
  }
  input, textarea, select {
    font-size: 1.3rem;
    padding: 5px;
    -moz-border-radius: 3px;
         border-radius: 3px;
  }
  input[type="text"], input[type="tel"], input[type="email"], input[type="number"] {
    min-height: 32px;
    min-width: 100%;
    margin: 0 2px;
  }
  input[type="radio"] {
    margin: 0px 6px 6px;
  }
  input.input--age {
    width: 13.03781vw;
    min-width: 0;
  }
  textarea {
    height: 137.5px;
  }
  select {
    min-width: 22.58931vw;
    padding-right: 35px;
  }
}
