:root {
  --color-jet: #000000;
  --color-white: #ffffff;
  --color-black: #262626;
  --color-gray: #404040;
  --color-light-gray: #dedede;
  --color-light-blue: #6ec7da;
  --font-en: bebas-neue-pro, sans-serif;
  --font-jp: "A-OTF Gothic MB101 Pr5", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  font-weight: 400;
  line-height: 1.4;
  cursor: auto;
  font-family: var(--font-jp);
}

body.is-fixed {
  overflow: hidden;
}

main {
  flex: 1;
}

main.recruit {
  position: relative;
}

main.recruit::before {
  content: "";
  position: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background-image: url("../img/recruit/recruit-bg-sp.png");
}

.container {
  margin-top: 25.641025641vw;
  margin-bottom: 25.641025641vw;
}

.box {
  display: flex;
  flex-direction: column;
  position: relative;
}

.box + .box {
  margin-top: 7.6923076923vw;
}

.left {
  flex: 1;
  font-weight: 500;
  display: flex;
  align-items: center;
  font-size: 4.1025641026vw;
  margin-bottom: 3.0769230769vw;
}

.left .req {
  background-color: #9e0101;
  color: var(--color-white);
  font-size: 3.3333333333vw;
  margin-left: 2.3076923077vw;
  padding: 0.5128205128vw 2.5641025641vw 0.7692307692vw 2.5641025641vw;
}

.right {
  flex-shrink: 0;
  width: 100%;
  position: relative;
}

.right .select-wrap {
  position: relative;
}

.right .select-wrap::after {
  content: "";
  position: absolute;
  background-image: url("../img/contact/arrow-select.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  top: 40%;
  transform: translateY(-50%);
  right: 0;
  width: 3.5897435897vw;
  height: 1.7948717949vw;
}

.right input,
.right textarea,
.right select {
  width: 100%;
  font-size: 3.8461538462vw;
  padding-bottom: 2.5641025641vw;
  border-bottom: 0.2564102564vw solid var(--color-black);
}

.right input::-moz-placeholder,
.right textarea::-moz-placeholder,
.right select::-moz-placeholder {
  opacity: 0.5;
}

.right input::placeholder,
.right textarea::placeholder,
.right select::placeholder {
  opacity: 0.5;
}

.right select {
  width: 100%;
}

.right select option {
  color: white;
}

.right textarea {
  field-sizing: content;
  height: -moz-fit-content;
  height: fit-content;
  min-height: 30vw;
  resize: none;
}

.form-error {
  margin-bottom: 5.641025641vw;
}

.invalid-message {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 3.5897435897vw;
}

.pi {
  background-color: rgba(38, 38, 38, 0.02);
  padding: 5.1282051282vw 1.2820512821vw 5.1282051282vw 5.1282051282vw;
  margin-top: 7.6923076923vw;
}

.pi .title {
  font-weight: 500;
  display: block;
  font-size: 4.1025641026vw;
  margin-bottom: 4.6153846154vw;
}

.pi .inner {
  max-height: 7lh;
  overflow-y: auto;
  line-height: 2;
  line-height: 2;
  font-size: 3.0769230769vw;
  padding-right: 3.8461538462vw;
}

.pi .list {
  margin-top: 7.6923076923vw;
  margin-bottom: 7.6923076923vw;
}

.pi .list .term {
  line-height: 2;
  font-size: 3.0769230769vw;
}

.pi .list .term:not(:first-child) {
  margin-top: 1lh;
}

.input {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5.1282051282vw;
}

.input input {
  opacity: 0;
  position: absolute;
}

.input input:checked + label::before {
  background-color: #9e0101;
}

.input input:checked + label::after {
  display: block;
}

.input label {
  position: relative;
  padding-left: 5.8974358974vw;
}

.input label::before {
  content: "";
  aspect-ratio: 1/1;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3.8461538462vw;
  border-radius: 1.0256410256vw;
  border: 0.2564102564vw solid var(--color-black);
}

.input label::after {
  content: "";
  position: absolute;
  transform: rotate(-45deg);
  display: none;
  width: 2.5641025641vw;
  height: 1.5384615385vw;
  left: 0.5128205128vw;
  top: 1.7948717949vw;
  border-bottom: 0.5128205128vw solid var(--color-white);
  border-left: 0.5128205128vw solid var(--color-white);
}

.g-recaptcha {
  margin: 7.6923076923vw auto 0;
}

.button {
  display: flex;
  justify-content: center;
  margin-top: 7.6923076923vw;
}

.comp-inner {
  margin: 25.641025641vw auto;
  max-width: 90.5128205128vw;
}

.comp-inner h2 {
  font-weight: 700;
  font-size: 7.1794871795vw;
  margin-bottom: 7.6923076923vw;
  text-align: center;
}

.comp-inner p {
  font-size: 4.1025641026vw;
  text-align: center;
  line-height: 2em;
}

.check-inner {
  margin: 25.641025641vw auto;
  max-width: 90.5128205128vw;
}

.check-inner h2 {
  font-weight: 700;
  font-size: 5.1282051282vw;
  margin-bottom: 7.6923076923vw;
}

.check-inner p {
  font-size: 4.1025641026vw;
}

.flex + .flex {
  margin-top: 5.1282051282vw;
}

.flex .left {
  font-weight: 600;
  font-size: 4.6153846154vw;
  margin-bottom: 1.5384615385vw;
}

.flex .right {
  font-weight: 400;
  font-size: 4.1025641026vw;
}

.step-buttons {
  display: flex;
  flex-direction: column;
  gap: 3.8461538462vw;
}

@media (min-width: 48.0625em) {
  main.recruit::before {
    background-image: url("../img/recruit/recruit-bg.png");
  }

  .container {
    margin: 8.6111111111vw auto 11.6666666667vw;
    max-width: 46.1111111111vw;
  }

  .box {
    flex-direction: row;
  }

  .box + .box {
    margin-top: 3.4722222222vw;
  }

  .left {
    margin-bottom: 0;
    font-size: 1.1111111111vw;
  }

  .left .req {
    font-size: 0.9027777778vw;
    margin-left: 0.625vw;
    padding: 0.1388888889vw 0.6944444444vw 0.2083333333vw 0.6944444444vw;
  }

  .right {
    width: 29.7916666667vw;
  }

  .right .select-wrap {
    width: -moz-fit-content;
    width: fit-content;
  }

  .right .select-wrap::after {
    width: 0.9722222222vw;
    height: 0.4861111111vw;
  }

  .right input,
  .right textarea,
  .right select {
    font-size: 1.0416666667vw;
    border-bottom: 0.1388888889vw solid var(--color-black);
    padding-bottom: 0.6944444444vw;
  }

  .right select {
    width: 23.6111111111vw;
  }

  .right textarea {
    min-height: 8.125vw;
  }

  .form-error {
    margin-bottom: 1.6666666667vw;
  }

  .invalid-message {
    left: auto;
    right: 0;
    font-size: 0.9722222222vw;
  }

  .pi {
    padding: 1.3888888889vw 0.3472222222vw 1.3888888889vw 1.3888888889vw;
    margin-top: 6.0416666667vw;
  }

  .pi .title {
    margin-bottom: 1.25vw;
    font-size: 1.1111111111vw;
  }

  .pi .inner {
    padding-right: 1.0416666667vw;
    font-size: 0.8333333333vw;
  }

  .pi .list {
    margin-top: 2.0833333333vw;
    margin-bottom: 2.0833333333vw;
  }

  .pi .list .term {
    font-size: 0.8333333333vw;
  }

  .input {
    margin-top: 1.3888888889vw;
  }

  .input label {
    padding-left: 1.5972222222vw;
  }

  .input label::before {
    width: 1.0416666667vw;
    border-radius: 0.2777777778vw;
    border: 0.0694444444vw solid var(--color-black);
  }

  .input label::after {
    border-bottom: 0.1388888889vw solid var(--color-white);
    border-left: 0.1388888889vw solid var(--color-white);
    width: 0.6944444444vw;
    height: 0.4166666667vw;
    left: 0.1388888889vw;
    top: 0.4861111111vw;
  }

  .g-recaptcha {
    margin: 2.0833333333vw auto 0;
  }

  .button {
    margin-top: 4.1666666667vw;
  }

  .button button {
    padding: 0.9027777778vw 6.25vw;
  }

  .comp-inner {
    margin: 8.6111111111vw auto 11.6666666667vw;
  }

  .comp-inner h2 {
    font-size: 2.8472222222vw;
    margin-bottom: 1.3888888889vw;
  }

  .comp-inner p {
    font-size: 1.8055555556vw;
  }

  .check-inner {
    margin: 8.6111111111vw auto 11.6666666667vw;
    max-width: 46.1111111111vw;
  }

  .check-inner h2 {
    font-size: 2.2222222222vw;
    margin-bottom: 2.0833333333vw;
  }

  .check-inner p {
    font-size: 1.1805555556vw;
  }

  .flex {
    display: flex;
  }

  .flex + .flex {
    margin-top: 2.0833333333vw;
  }

  .flex .left {
    font-size: 1.25vw;
    margin-bottom: 0.8333333333vw;
  }

  .flex .right {
    font-size: 1.1111111111vw;
  }

  .step-buttons {
    flex-direction: row;
    gap: 1.3888888889vw;
  }
}

@media (min-width: 90em) {
  .container {
    margin: 124px auto 168px;
    max-width: 664px;
  }

  .box + .box {
    margin-top: 50px;
  }

  .left {
    font-size: 16px;
  }

  .left .req {
    margin-left: 9px;
    font-size: 13px;
    padding: 2px 10px 3px 10px;
  }

  .right {
    width: 429px;
  }

  .right .select-wrap::after {
    width: 14px;
    height: 7px;
  }

  .right input,
  .right textarea,
  .right select {
    padding-bottom: 10px;
    font-size: 15px;
    border-bottom: 2px solid var(--color-black);
  }

  .right select {
    width: 340px;
  }

  .right textarea {
    min-height: 117px;
  }

  .form-error {
    margin-bottom: 24px;
  }

  .invalid-message {
    font-size: 14px;
  }

  .pi {
    margin-top: 87px;
    padding: 20px 5px 20px 20px;
  }

  .pi .title {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .pi .inner {
    padding-right: 15px;
    font-size: 12px;
  }

  .pi .list {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .pi .list .term {
    font-size: 12px;
  }

  .input {
    margin-top: 20px;
  }

  .input label {
    padding-left: 23px;
  }

  .input label::before {
    width: 15px;
    border-radius: 4px;
    border: 1px solid var(--color-black);
  }

  .input label::after {
    border-bottom: 2px solid var(--color-white);
    border-left: 2px solid var(--color-white);
    width: 10px;
    height: 6px;
    left: 2px;
    top: 7px;
  }

  .g-recaptcha {
    margin: 30px auto 0;
  }

  .button {
    margin-top: 60px;
  }

  .button button {
    padding: 13px 90px;
  }

  .comp-inner {
    margin: 124px auto 168px;
  }

  .comp-inner h2 {
    font-size: 41px;
    margin-bottom: 20px;
  }

  .comp-inner p {
    font-size: 26px;
  }

  .check-inner {
    margin: 124px auto 168px;
    max-width: 664px;
  }

  .check-inner h2 {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .check-inner p {
    font-size: 17px;
  }

  .flex + .flex {
    margin-top: 30px;
  }

  .flex .left {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .flex .right {
    font-size: 16px;
  }

  .step-buttons {
    gap: 20px;
  }
}