/* 共通・リセット */

*,
*::before,
*::after {
  box-sizing: border-box;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

body,
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

input,
button,
select {
  font: inherit;
}

input[type=text],
input[type=tel],
input[type=email] {
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  background: #fff;
}

input[type=radio] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  background: transparent;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

html,
body {
  font-family: "游明朝",YuMincho,"ヒラギノ明朝 Pr6 W6","Hiragino Mincho Pro","HGS明朝E","ＭＳ Ｐ明朝","MS PMincho",serif;
  color: #111;
}

body {
  background: #fff;
}

input {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.AppContainer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  max-width: 640px;
  margin: 0 auto;
}

.InputList {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

.InputList__item {
  width: 48%;
  min-height: 120px;
  margin-bottom: 10px;
}

.Input__checkBox {
  display: none;
}

.Input__checkBox:checked+.Input__label {
  color: #fff;
  background: #dd5281;
  box-shadow: 3px 3px 3px rgba(0,0,0,.2);
}

.Input__label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  min-height: 120px;
  height: 100%;
  padding: 8px 12px 10px;
  color: #333;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 3px 3px 3px rgba(0,0,0,.2);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: all .1s ease-in-out;
}

.Input__label span {
  display: block;
}

.Input__label::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  margin-bottom: 4px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

input.InputText {
  background: transparent;
}

/* 質問見出し */

.ContentsHeader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  width: 100%;
  background-color: #f4f4f4;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0;
}

.ContentsHeader .Message {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ContentsHeader .Message .Message__text {
  font-size: 1.2rem;
  font-weight: normal;
  color: #333;
}

/* メイン画像・ステップ表示 */

.lpMv img {
  display: block;
  width: 100%;
  height: auto;
}

.Progress__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #a657ac;
  color: #fff;
}

.Progress__list {
  display: flex;
  justify-content: space-between;
}

.Progress__list--item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 26px;
  height: 26px;
  padding: 5px;
  margin-right: 5px;
  font-size: 15px;
  border: 1px solid #fff;
  border-radius: 13px;
}

.Progress__list--item.isActive {
  color: #76675a;
  background: #fff;
}

.Progress__prefix {
  margin-right: 8px;
  font-size: 20px;
}

.Progress__suffix--main,
.Progress__suffix--sub {
  display: block;
  line-height: 1;
}

.Progress__suffix--main {
  margin-bottom: 2px;
  font-size: 8px;
}

.Progress__suffix--sub {
  font-size: 13px;
  font-weight: bold;
}

/* STEP 1：資格 */

.Step1 .Input__label::before {
  height: 100px;
}

.Step1 .Input__label.index-1::before {
  background-image: url(../images/img_na01.png);
}

.Step1 .Input__label.index-2::before {
  background-image: url(../images/img_na02.png);
}

/* STEP 2・3：働き方・転職時期 */

.Step2 .Input__label,
.Step3 .Input__label {
  padding: 14px 0;
}

.Step2 .Input__label::before,
.Step3 .Input__label::before {
  width: 75px;
  margin: 0 auto 4px;
}

.Step2 .Input__label.index-1::before,
.Step3 .Input__label.index-1::before {
  background-image: url(../images/icon_neko01@2x.png);
}

.Step2 .Input__label.index-2::before,
.Step3 .Input__label.index-2::before {
  background-image: url(../images/icon_neko02@2x.png);
}

.Step3 .Input__label.index-3::before {
  background-image: url(../images/icon_neko03@2x.png);
}

.Step3 .Input__label.index-4::before {
  background-image: url(../images/icon_neko04@2x.png);
}

/* STEP 4：住所・生年 */

.Step4 .InputText__title,
.Step5 .InputText__title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: left;
}

.Step4 .InputText__title b,
.Step5 .InputText__title b {
  background-color: #cd5c81;
  color: #fff;
  display: inline-block;
  font-size: .7em;
  border-radius: .7rem;
  padding: .2rem .6rem;
  margin-right: .5rem;
}

.Step4 {
  width: 100%;
  max-width: 290px;
  margin: 0 auto 0;
  padding-top: 24px;
}

.Step4 .Step4__body {
  display: block;
}

.Step4 .Step4__select {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 65px;
  padding: 18px 10px 17px 15px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  border: 2px solid #dc5282;
  margin-bottom: 2rem;
  background: #ffffc7;
  transition: all .3s ease;
}

/* STEP 5：入力欄 */

.Step5 .InputText__item .LeftDigits {
  z-index: 3;
  position: absolute;
  right: 0;
  top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 140px;
  padding: 2px 4px;
  font-size: 12px;
  color: #333;
  font-weight: normal;
  background: #efefef;
  border-radius: 3px;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity .15s ease-out;
}

.Step5 .InputText__item .LeftDigits.isActive {
  visibility: visible;
  opacity: 1;
}

.Step5 .InputText__label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 53px;
  padding: 18px 10px 17px 15px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  background: #fff;
  border: 2px solid #ddd;
  transition: all .3s ease;
}

.Step5 .InputText__label.isNotSet {
  background: #ffffc7;
  border-color: #cd5c81;
}

.Step5 .invalid {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  color: #fff;
  background: #e30525;
}

.Step5 .PlaceHolderText {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 14px;
  color: #999;
  transition: all .1s ease;
}

.Step5 .PlaceHolderText.left-top {
  top: 2px;
  left: 12px;
  font-size: 10px;
  font-weight: bold;
  color: #ff348e;
  cursor: pointer;
}

.Step5 .PlaceHolderText.hidden {
  top: 2px;
  left: 12px;
  font-size: 10px;
  font-weight: bold;
  visibility: hidden;
  opacity: 0;
  cursor: none;
}

/* STEP 5：配置 */

.Step5 {
  width: 100%;
  max-width: 290px;
  padding-top: 24px;
  margin: 0 auto;
}

.Step5 .InputText__item {
  position: relative;
  margin-bottom: 20px;
}

.Step5 > .InputText {
  display: block;
  width: 100%;
}

/* フォーム・ボタン・キャラクター */

.Contents {
  position: relative;
  padding: 30px 0 128px;
}

.Contents .Buttons {
  display: block;
  width: 100%;
  margin-top: 40px;
}

.Contents .Buttons__inner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

.Contents .Buttons__inner .arrowDownAnimation {
  position: absolute;
  top: -100%;
  z-index: 10;
  -webkit-animation-name: arrowAnimation;
  animation-name: arrowAnimation;
  -webkit-animation-duration: 2.5s;
  animation-duration: 2.5s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.Contents .Button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  line-height: 58px;
  padding: 0 20px;
  overflow: hidden;
}

.Contents .Button.Button__next {
  justify-content: flex-start;
  font-size: 1.2rem;
  letter-spacing: .2rem;
  color: #fff;
  background: linear-gradient(to right, #CD5C81 0%, #CE67CE 100%);
  box-shadow: 3px 3px 3px rgba(0,0,0,.2);
  text-align: center;
  display: inline-block;
}

.Contents .Button.Button__next::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 11px;
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1px solid;
  border-right: 1px solid;
  border-color: #fff;
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}

.Contents .Button.Button__next:disabled {
  background: #d9d9d9;
  box-shadow: 0 4px 0 #d8d8d8;
}

.Contents .Button.Button__next.isActive::before {
  display: block;
  position: absolute;
  z-index: 2;
  left: -30%;
  top: -50%;
  content: "";
  width: 50px;
  height: 200px;
  transform: rotate(30deg);
  background-image: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, white 50%, rgba(255, 255, 255, 0) 100%);
  -webkit-animation: activeButton 3s infinite linear;
  animation: activeButton 3s infinite linear;
}

.Contents .Button.Button__prev {
  flex: none;
  justify-content: flex-end;
  width: 90px;
  margin-right: 12px;
  font-size: .9rem;
  font-weight: bold;
  color: #555;
  background: none;
  text-align: center;
}

.Contents .Button.Button__prev::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 9px;
  width: 8px;
  height: 8px;
  border-top: 1px solid;
  border-left: 1px solid;
  border-color: #333;
  transform: translateY(-50%) rotate(-45deg);
}

.Contents .Button .ButtonText {
  line-height: 1;
  text-align: left;
  font-weight: bold;
  padding: 1em 1em;
  display: block;
}

.Contents .Button .subText {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}

.Contents .Button .mainText {
  font-size: 17px;
}

.Contents .Navigator {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 10px;
  pointer-events: none;
}

.Contents .Navigator .Navigator__icon {
  width: 68px;
  height: 66px;
  -webkit-animation: character 2.5s linear 0s infinite;
  animation: character 2.5s linear 0s infinite;
}

@-webkit-keyframes character {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes character {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@-webkit-keyframes arrowAnimation {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 100%;
  }

  100% {
    opacity: 0;
  }
}

@keyframes arrowAnimation {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 100%;
  }

  100% {
    opacity: 0;
  }
}

@-webkit-keyframes activeButton {
  0% {
    left: -30%;
  }

  20% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

@keyframes activeButton {
  0% {
    left: -30%;
  }

  20% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

.Cover {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  min-height: 100vh;
  background: rgba(0,0,0,.5);
}

/* ヘッダー */

.Header {
  padding: 8px 10px 8px 10px;
  background: #fff;
}

.Header__title {
  font-weight: normal;
  color: #767777;
}

.Header__title img {
  flex: none;
  width: 100%;
  height: 100%;
  max-width: 160px;
  margin: 0 auto;
}

.Header__title span {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 10px;
}

/* フッター */

.Footer {
  margin-top: auto;
}

.Footer__dateTime {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 20px;
  background: #fff;
  font-size: 13px;
  color: #707070;
}

.Footer__description {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #a657ac;
  font-size: 12px;
  color: #fff;
}

.FooterNav {
  background: #fff;
}

.FooterNav__list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 10px;
}

.FooterNav__item {
  display: inline-block;
  margin: 4px;
  line-height: 1;
  border-right: 1px solid #111;
}

.FooterNav__link {
  color: #111;
  font-size: 14px;
  text-decoration: none;
  padding: 0 8px;
}

.FooterNav__link:visited {
  color: #111;
}

.CopyRight {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
  background: #000;
  font-size: 12px;
  color: #fff;
}

/* 完了ページ */

.Thanks__header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background: #a657ac;
}

.BodyContents {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  padding: 30px 0 50px;
}

.BodyContents__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
  padding: 40px 24px;
  border-radius: 10px;
  background: #fff;
}

.Message__main {
  display: block;
  margin-bottom: 32px;
  color: #333;
  font-size: 26px;
  font-weight: bold;
  text-align: center;
}

.Message__sub {
  display: block;
  color: #707070;
  font-size: 16px;
}

.BackToTop {
  justify-content: flex-start;
  font-size: 1.2rem;
  letter-spacing: .2rem;
  color: #fff;
  background: linear-gradient(to right, #CD5C81 0%, #CE67CE 100%);
  box-shadow: 3px 3px 3px rgba(0,0,0,.2);
  position: relative;
  z-index: 1;
  align-items: center;
  width: 100%;
  height: 58px;
  line-height: 58px;
  padding: 0 20px;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
}

.BackToTop::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1px solid;
  border-left: 1px solid;
  border-color: #fff;
  transform: translateY(-50%) rotate(-45deg);
  z-index: 2;
}

/* 通常の JavaScript で制御するカルーセル。幅・高さ・移動時間は旧版を維持します。 */

[hidden] {
  display: none !important;
}

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

.FormCarousel__viewport {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.FormCarousel__track {
  display: flex;
  flex-direction: row;
  backface-visibility: hidden;
  transition: transform 0.3s, height 0.3s;
}

.FormCarousel__slide {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  display: table;
  width: 100%;
  user-select: none;
  backface-visibility: hidden;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
