html {
  height: -webkit-fill-available;
}

.c-pointer.-show {
  opacity: 1;
}

/* 初めに設問のCSS */

.p-first-question {
  position: fixed;
  z-index: 999999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available; /* for iOS Safari */
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #f9f9f9;
}

.p-first-question.-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
}

.p-first-question.-overlay .p-first-question__content {
  margin: 0;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 6px;
  flex: 0;
}

.p-first-question .denko9-10-step-form-header__wrapper {
  width: 100%;
  max-width: 1140px;
}

.p-first-question .footer {
  width: 100%;
}

.p-first-question__mv {
  background-color: #dde8e2;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.p-first-question__mv > img {
  max-width: 980px;
}

.p-first-question__content {
  margin-top: 26px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-height: 320px;
}

.p-first-question__question {
  font-size: 16px;
  font-weight: bold;
}

.p-first-question__buttons {
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 30px;
}

.p-first-question__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 28px;
  padding: 15px 20px;
  width: 100%;
  border-radius: 4px;
  border: 3px solid #05502a;
  background-color: #fff;
  cursor: pointer;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

.p-first-question__button:hover {
  background-color: rgba(221, 232, 226, 0.5);
}

.p-first-question__button-text {
  margin-right: 19px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  pointer-events: none;
}

.p-first-question__button-image {
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  .p-first-question__button-image {
    height: 50px;
  }
}

@media screen and (min-width: 768px) {
  .p-first-question__mv > img {
    max-width: 480px;
  }

  .konno_progress-wrapper .denko9-10-step-form-header__progress-number-box {
    width: 20% !important;
  }
}

/* 会社ロゴのスタイル */
.p-company-logs {
  margin-bottom: 16px;
  padding: 8px 0;
  display: flex;
  justify-content: center;
  column-gap: 20px;
  background: #fff;
}

/* [SP]会社ロゴのスタイル */
@media screen and (max-width: 767px) {
  .p-company-logs {
    margin-bottom: 0;
    flex-wrap: wrap;
    column-gap: 8px;
  }

  .p-company-logos__image {
    height: 38px;
  }
}

/* 光るボタンのCSS */
.btn-primary {
  display: inline-flex;
  color: #fff;
  border-radius: 2px;
  font-size: 16px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.btn-shiny {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block !important;
  padding: 0.5em 1em !important;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* disabled時に光が出ないようにする */
.btn-shiny:has(button:disabled)::after {
  content: none;
  animation: none;
}

/* disabled時に光が出ないようにする */
.btn-shiny:disabled::after {
  content: none;
  animation: none;
}

.btn-shiny::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -20%;
  width: 40px;
  height: 100%;
  transform: scale(2) rotate(20deg);
  background-image: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 10%,
    rgba(255, 255, 255, 0.5) 100%,
    rgba(255, 255, 255, 0) 0%
  );
  animation-name: shiny;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes shiny {
  0% {
    left: -20%;
  }
  10% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}

/* 送信ボタンのオレンジバージョン */
.btn.btn-orange {
  margin-bottom: 20px !important;
  width: 300px !important;
  height: 55px;
  padding: 28px 28px;
  transition: 0.3s ease-in-out !important;
  filter: drop-shadow(1px 3px 3px #aaa);
  font-weight: bold;
  background-color: #f64a00 !important;
  border: none;
}

.btn.btn-orange:disabled {
  background-color: #bdbdbd !important;
}

.btn.btn-orange:hover {
  opacity: 0.7;
}

/* 新着求人の更新日時表示に使用するスタイル */
.p-info-bar {
  height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #dfffea;
  transition: 0.1s ease-in-out;
}

.p-info-bar.-show {
  height: 28px;
}

.p-info-bar__text {
  font-size: 16px;
  font-weight: bold;
  color: #1f1f1f;
}
