@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap");

::placeholder {
  color: #9b9b9b;
}

select:not(#dataBirthYear) {
  color: #9b9b9b;
  font-size: 3.5vw;

  @media screen and (min-width: 460px) {
    font-size: 16px;
  }
}

body {
  margin: auto;
  color: #555555;
  min-height: 100vh;
  font-family: "Noto Sans JP", sans-serif;

  @media screen and (min-width: 460px) {
    width: 460px;
  }
}

.header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 5px 5px 11px;
}

.logo {
  width: 36%;
  margin: 0;

  img {
    width: 100%;
    max-width: 127px;
    height: auto;
  }
}

.header_img {
  width: 50%;
  max-width: 100%;
  text-align: right;
  img {
    width: 100%;
    max-width: 170px;
    height: auto;
  }
}

form {
  img {
    width: 100%;
  }
}

.chat {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  width: 100%;
  margin-bottom: 27px;
}

.chat-noMargin {
  margin-bottom: 0;
}

.chat-smallMargin {
  margin-bottom: 20px;
}

.thumbnail {
  img {
    width: 45px;
    height: auto;
  }
}

.balloon {
  display: flex;
  align-items: center;
  width: calc(100% - 45px - 7px);
  padding: 12px 16px;
  border-radius: 0 15px 15px 15px;
  background: #fff;
  font-size: 1.3rem;
  text-align: left;
  -webkit-box-shadow: 0 1px 1px 1px transparent;
  box-shadow: 0 1px 1px 1px transparent;

  .balloon-text {
    margin-bottom: 9px;
    margin-top: 0;
    font-size: 16px;
    font-weight: bold;
  }
  .balloon-smallText {
    font-size: 11px;
    font-weight: 400;
    margin: 0;
  }
  .balloon-lineText {
    font-size: 13px;
    font-weight: 400;

    span {
      font-weight: bold;
      color: #fb6592;
      background: linear-gradient(transparent 55%, #fff4a0 0%);
    }
  }
}

.balloon-bigPadding {
  padding: 15px 16px;
}

.pointer-img {
  position: absolute;
  right: 0;
  display: none;
  width: 79px;
  height: 81px;
  background-image: url(../img/img-pointer.png);
  background-size: 94% auto;
  background-repeat: no-repeat;
  opacity: 1;
  animation: hands 2.5s linear 0s infinite;
  transition: 0.4s;
  pointer-events: none;
  z-index: 10;

  @media screen and (min-width: 460px) {
    right: calc(50% - 200px);
  }
}

@keyframes hands {
  0% {
    -webkit-transform: translate(0, 0);
  }

  50% {
    -webkit-transform: translate(-15px, 0);
    background-size: 100% auto;
  }

  75% {
    -webkit-transform: translate(0, 0);
  }

  100% {
    background-size: 95% auto;
  }
}

.fiveStep {
  margin-top: -0.5vw;
  margin-bottom: -3.2vw;

  @media screen and (min-width: 460px) {
    margin-top: -7px;
    margin-bottom: -33px;
  }
}

.formInner {
  padding: 47px 4.8vw 40px;
  background: #f7f7f7;

  @media screen and (min-width: 460px) {
    padding: 67px 20px 40px;
  }

  .hidden {
    display: none;
  }
}

.entryBox {
  margin-bottom: 25px;

  & + .entryBox {
    margin-top: 11.7vw;

    @media screen and (min-width: 460px) {
      margin-top: 53.5px;
    }
  }

  dt {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 0;
    width: 100%;
    font-size: 4.54vw;
    font-weight: bold;

    @media screen and (min-width: 460px) {
      font-size: 21px;
    }
  }

  dd {
    display: flex;
    align-items: center;
  }
}

.entryBoxSmallMargin {
  margin-bottom: 10px;
}

.entryBoxBigMargin {
  margin-top: 16vw !important;
  margin-bottom: 8px;

  @media screen and (min-width: 460px) {
    margin-top: 60px !important;
  }
}

@media screen and (min-width: 460px) {
  #step1 .entryBox,
  #step2 .entryBox,
  #step5 .entryBox {
    margin-bottom: 34px;
  }
}

.required {
  margin-right: 1.6vw;
  padding: 1.1vw 1.7vw;
  background: #fb6592;
  border-radius: 3px;
  font-weight: bold;
  font-size: 2.94vw;
  color: #fff;

  @media screen and (min-width: 460px) {
    margin-right: 7px;
    padding: 5px 8px;
    font-size: 13.5px;
  }
}

.sTx {
  margin-left: 1.2vw;
  font-size: 2.94vw;
  font-weight: normal;

  @media screen and (min-width: 460px) {
    margin-left: 5.5px;
    font-size: 13.5px;
  }
}

.checkbox {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 2vw 1.4vw;

  @media screen and (min-width: 460px) {
    gap: 13.5px 8px;
  }

  li {
    width: calc((96%) / 3);
  }

  input {
    position: absolute;
    opacity: 0;
    visibility: hidden;
  }

  input[type="checkbox"]:not(#dataGsCheck) {
    & + label {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 14.4vw;
      background-color: #fff;
      border: 1px solid #ff88ac;
      border-radius: 10px;
      font-size: 3.5vw;
      box-sizing: border-box;
      text-align: center;

      @media screen and (min-width: 460px) {
        height: 65px;
        font-size: 14.5px;
      }
    }

    &:checked {
      + label {
        background: #ff88ac;
        box-shadow: none;
        border: 1px solid #ff88ac;
        color: #fff;
        font-weight: bold;
      }
    }
  }

  img {
    width: 84%;
    margin: 0 0 0.6vw;

    @media screen and (min-width: 460px) {
      margin: 0 0 2.5px;
    }
  }
}

.checkboxPanelButton li {
  flex: 0 0 49%;
}

.btnTxtDes {
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  align-items: center;
}

.btnNext {
  width: 68%;
  height: 13vw;
  padding: 0 5vw;
  background: #53aae8;
  box-shadow: 4px 8px 8px 0px rgba(228, 177, 183, 0.3);
  border-radius: 50px;
  border: none;
  font-size: 4.3vw;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
  font-family: "Noto Sans JP", sans-serif;


  &[id^="next"]:disabled {
    opacity: 0.3;
    box-shadow: none;
  }

  @media screen and (min-width: 460px) {
    padding: 0 23px;
    height: 59.5px;
    font-size: 17.5px;
  }
}

.radioBg {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #ff88ac;
  border-radius: 5px;

  li {
    display: flex;
    gap: 0 2px;
    padding: 3.7vw;
    box-sizing: border-box;

    @media screen and (min-width: 460px) {
      padding: 15px;
    }

    &:first-child {
      width: 100%;
      justify-content: center;
    }

    &:not(:first-child) {
      width: 50%;
      border-top: 1px solid #ff88ac;
    }

    &:nth-child(2n + 3) {
      border-left: 1px solid #ff88ac;
    }
  }

  input {
    appearance: none;
    width: 14px;
    height: 14px;
    margin: 0 4px 0 0;
    border: 1px solid #cdcdcd;
    border-radius: 50%;
    cursor: pointer;

    &:checked {
      border: 1px solid #ff88ac;

      &:before {
        background: #ff88ac;
      }
    }

    &:before {
      content: "";
      display: block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      margin: 3px;
    }
  }

  label {
    display: flex;
    align-items: center;
    height: 1rem;
    font-size: 3.5vw;
    cursor: pointer;

    @media screen and (min-width: 460px) {
      font-size: 16px;
    }
  }
}

.requestDatebadge {
  margin-left: 5px;
  padding: 1.1vw 1.7vw;
  background: #ff88ac;
  border-radius: 3px;
  font-weight: bold;
  font-size: 2.94vw;
  color: #fff;

  @media screen and (min-width: 460px) {
    padding: 5px 8px;
    font-size: 13.5px;
  }
}

.btnBack {
  width: 32%;
  height: 13vw;
  margin-right: 2.7vw;
  background: #cacaca;
  border: none;
  border-radius: 50px;
  font-size: 4.3vw;
  font-weight: bold;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;

  @media screen and (min-width: 460px) {
    margin-right: 12px;
    height: 59.5px;
    font-size: 17.5px;
  }

  &:before {
    content: none;
  }
}

.appealTextContainer {
  width: fit-content;
  margin: 0 auto;
  padding: 0.4vw 4vw 5.1vw;

  @media screen and (min-width: 460px) {
    padding: 1.8px 18px 23px;
  }
}

.appealText {
  display: inline;
  padding: 0 4px 3px;
  background: linear-gradient(transparent 55%, #f7e344 0%);
  font-size: 4vw;
  font-weight: bold;

  @media screen and (min-width: 460px) {
    font-size: 18.5px;
  }

  span {
    color: #fb6592;
  }
}

.selectContainer {
  position: relative;

  &:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 3%;
    width: 5px;
    height: 5px;
    border-right: 2px solid #ffa5c0;
    border-bottom: 2px solid #ffa5c0;
    transform: translateY(-50%) rotate(45deg);
  }
}

.selectContainer-year {
  &:after {
    right: 8%;
  }
}

.selectContainer-pref {
  &:after {
    right: 14%;
  }
}

.selectContainer-city {
  &:after {
    right: 8%;
  }
}

.selectContainerDataPrefecture {
  width: 34%;
  margin-right: 1.6vw;

  @media screen and (min-width: 460px) {
    margin-right: 7px;
  }
}

.selectContainerDataCity {
  width: 65%;
}

#dataName {
  width: 100%;
}

.selectContainerDataBirthYear {
  width: 100%;
  margin-right: 1vw;

  @media screen and (min-width: 460px) {
    margin-right: 4.5px;
  }
}

#dataTel {
  width: 100%;
}

select {
  width: 100%;
  height: 46px;
  padding: 0px 15px;
  border: 1px solid #ffa5c0;
  border-radius: 5px;
  appearance: none;
  font-size: 3.5vw;
  background-color: #fff;
  color: #555555;
  font-family: "Noto Sans JP", sans-serif;

  @media screen and (min-width: 460px) {
    font-size: 14.5px;
  }
}

.select-year {
  width: 97% !important;
}

.annotationText {
  position: relative;
  margin-top: 3vw;
  padding-left: 16px;
  font-weight: normal;
  font-size: 3.5vw;

  @media screen and (min-width: 460px) {
    margin-top: 13.5px;
    font-size: 16px;
  }

  &:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 13px;
    height: 13px;
    background: url("../img/padlock.svg") no-repeat center / contain;
    transform: translateY(-50%);
  }
}

.job-offer-container {
  display: none;
}

.job-offer-container.is-show {
  display: block;
  width: 100%;
}

.job-offer-container__inner {
  position: relative;
  background-color: #ebebeb;
  border-radius: 5px;
  min-height: clamp(40px, 10.66vw, 50px);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-top: 4px;
  letter-spacing: 0.2px;
}

.job-offer-container__text {
  font-size: clamp(13px, 3.46vw, 16px);
}

.job-offer-container__num {
  display: block;
  position: relative;
  color: #fb6592;
  font-size: clamp(25px, 6.66vw, 30px);
  font-weight: 600;
  padding: 7px 2px 8px 2px;
  min-width: 67px;
  text-align: right;
}

.job-offer-container__num::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(#fff, 1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.job-offer-container__num.is-blur-overlay-hidden::after {
  opacity: 0;
  transition-property: opacity;
  transition-duration: 0.2s;
  transition-delay: 0.1s;
  transition-timing-function: ease-in-out;
}

.job-offer-container__unit {
  color: #fb6592;
  font-size: clamp(13px, 3.46vw, 16px);
  padding-left: 3px;
}

.job-offer-container__attention {
  font-size: 11px;
  text-align: right;
  padding-top: 25px;
  padding-right: 2px;
}

#step4 {
  .birthList {
    margin: -7vw 0 2.6vw;

    @media screen and (min-width: 460px) {
      margin: -32px 0 21px;
    }

    dt {
      margin: 2.7vw auto 3.8vw;

      @media screen and (min-width: 460px) {
        margin: 12px auto 17px;
      }
    }

    dd {
      font-size: 4.3vw;
      font-weight: bold;

      @media screen and (min-width: 460px) {
        font-size: 17.5px;
      }
    }
  }
}

input[type="text"] {
  border: 1px solid #ffa5c0;
  border-radius: 5px;
  padding: 5px 16px;
  font-size: 3.5vw;
  height: 45px;
  box-sizing: border-box;
  line-height: 15px;
  font-family: "Noto Sans JP", sans-serif;

  @media screen and (min-width: 460px) {
    font-size: 16px;
  }
}

input[type="tel"] {
  padding: 5px 8px;
  border: 1px solid #ffa5c0;
  border-radius: 5px;
  font-size: 3.5vw;
  height: 45px;
  box-sizing: border-box;
  line-height: 15px;
  appearance: none;
  font-family: "Noto Sans JP", sans-serif;

  @media screen and (min-width: 460px) {
    font-size: 16px;
  }
}

.gsCheck {
  margin-top: 2rem;
  text-align: center;

  ul {
    display: block;
    width: 100%;
    padding: 0 10px 5px;
  }

  li {
    width: 100%;
    border: none;
  }

  input {
    opacity: 1;
    visibility: visible;
  }

  label {
    background-size: 17px;
    background-position: left 12vw center;
    text-align: center;
    padding: 15px 0 15px 28px;
    line-height: 1.1;
  }
}

.gsPolicy {
  margin-top: 2%;

  a {
    font-size: 12px;
    color: #0042b5;
  }
}

.policyLt {
  margin: 8vw 0 2.2vw;
  text-align: right;
  font-size: 3.2vw;

  @media screen and (min-width: 460px) {
    margin: 36.5px 0 10px;
    font-size: 14.5px;
  }

  a {
    color: #fb6592;
  }
}

.policyLt-last {
  margin: 11vw 7px 4.2vw;

  @media screen and (min-width: 460px) {
    margin: 40px 7px 19px;
  }
}

.btnSubmit {
  position: relative;
  text-align: left;
  width: 70%;
  height: 13vw;
  background: #ff88ac;
  box-shadow: 4px 8px 8px 0px rgba(228, 177, 183, 0.3);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-weight: bold;
  line-height: 1.3;
  font-size: 3.5vw;
  padding: 0 2%;
  font-family: "Noto Sans JP", sans-serif;

  @media screen and (min-width: 460px) {
    height: 59.5px;
    font-size: 16px;
  }

  &:after {
    content: none;
  }

  &[id^="next"]:disabled {
    opacity: 0.3;
    box-shadow: none;
  }
}

.btnSubmitLast {
  font-size: 4.3vw;

  @media screen and (min-width: 460px) {
    font-size: 16px;
  }
}

.loading {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease-in-out;
}

footer {
  padding-top: 5.4vw;

  @media screen and (min-width: 460px) {
    padding-top: 25.5px;
  }
}

.codeBox {
  margin-bottom: 2.7vw;
  padding: 0 4.8vw;

  @media screen and (min-width: 460px) {
    margin-bottom: 12px;
    padding: 0 22px;
  }
}

.codeArea {
  font-size: 2.94vw;

  @media screen and (min-width: 460px) {
    font-size: 13.5px;
  }
}

.pmarkBox {
  display: flex;
  gap: 0 8px;
  margin-bottom: 12px;
  padding: 0 4.8vw;
  font-size: 2.94vw;
  line-height: 1.6;

  @media screen and (min-width: 460px) {
    margin-bottom: 18px;
    padding: 0 23px;
    font-size: 13.5px;
  }

  .bold {
    font-weight: bold;
    font-size: inherit;
  }

  img {
    position: relative;
    top: -1.1vw;
    width: 16%;
    object-fit: contain;

    @media screen and (min-width: 460px) {
      top: -5px;
      width: 66.5px;
    }
  }
}

#lpFooterStep {
  padding: 3.8vw 0;
  background: #555555;
  text-align: center;
  font-size: 2.7vw;
  color: #fff;

  @media screen and (min-width: 460px) {
    padding: 17px 0;
    font-size: 12.5px;
  }
}

.policyLink {
  margin: 0 0 2vw;

  @media screen and (min-width: 460px) {
    margin: 0 0 12px;
  }

  a {
    position: relative;
    display: inline-block;
    margin-right: 0;
    color: #fff;

    &:not(:last-of-type) {
      margin-right: 3.6vw;

      @media screen and (min-width: 460px) {
        margin-right: 15.5px;
      }

      &:after {
        content: "";
        position: absolute;
        top: 50%;
        right: -2.5vw;
        width: 1px;
        height: 10px;
        background: #fff;
        transform: translateY(-50%);

        @media screen and (min-width: 460px) {
          right: -11.5px;
        }
      }
    }
  }
}

.copyright {
  width: 100%;
  font-size: 2.4vw;
  letter-spacing: 0.5px;

  @media screen and (min-width: 460px) {
    font-size: 13px;
  }
}

/* 最初に表示するポップアップ */
.lpStepQuestionPopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 12px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;

  &.close {
    display: none;
  }
}

.modal {
  width: 100%;
  padding: 14vw 4.8vw 10.2vw;
  border-radius: 5px;
  position: relative;
  top: 35%;
  margin: 0 auto;
  background-color: #fff;
  text-align: center;
  box-sizing: border-box;

  @media screen and (min-width: 460px) {
    width: 436px;
    padding: 64px 22px 47px;
  }
}

.modal .modal-content {
  max-width: 430px;
  margin: 0 auto;
}

.popupTitle {
  margin-bottom: 4vw;
  font-size: 4.54vw;
  font-weight: bold;
  color: #555555;

  @media screen and (min-width: 460px) {
    margin-bottom: 18px;
    font-size: 21px;
  }
}

.closeButton {
  display: block;
  width: 74%;
  text-align: center;
  margin: 2vw auto;
  padding: 4.7vw 4.8vw;
  box-shadow: 4px 8px 8px 0px rgba(201, 195, 132, 0.3);
  border-radius: 50px;
  border: none;
  color: #fff;
  font-weight: bold;
  font-size: 4.3vw;
  line-height: 1;
  font-family: "Noto Sans JP", sans-serif;


  @media screen and (min-width: 460px) {
    margin: 12px auto;
    padding: 21.5px 22px;
    font-size: 17.5px;
  }
}

.aprilButton {
  background: #ff88ac;
}

.firstButton {
  background: #53aae8;
}

.secondButton {
  background: #ffc61c;
}

/* 離脱防止POPUP */
#modalLine {
  position: relative;
  display: none;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.modalOverlay {
  width: 100%;
  height: 120%;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.modalInner {
  width: 80vw;
  margin: 0 auto;
  position: fixed;
  margin: auto;
  left: 0;
  right: 0;
  z-index: 1002;
  top: 20vw;

  @media screen and (min-width: 460px) {
    width: 400px;
    top: 50px;
  }
}

.backToHome {
  line-height: 1.5;
  font-family: "Hiragino Maru Gothic Pro";
  color: #fff;
  position: relative;
  font-weight: 900;
}

.modalClose {
  content: "\f00d";
  font-family: FontAwesome;
  display: inline-block;
  position: absolute;
  top: -3vw;
  right: 3vw;
  color: #fff;
  font-weight: normal;

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

.btnClose {
  background: none;
  border: none;
  z-index: 1003;
  top: -5vw;
  right: -9vw;

  @media screen and (min-width: 460px) {
    top: -30px;
    right: -40px;
    font-size: 10px;
  }

  img {
    width: 14vw;
    height: 14vw;

    @media screen and (min-width: 460px) {
      width: 70px;
      height: 70px;
    }
  }
}

.modalImgContainer {
  img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;

    @media screen and (min-width: 460px) {
      margin-top: 40px;
    }
  }
}

/* MKNU-690のチケットにおいてAPI通信の必須を突破するために暫定的に追加。のちに削除予定 */
.sex {
  display: none;
}