@charset "UTF-8";
/* 全体・エラー文 */
.bold {
	font-weight: bold;
}

.formBody {
	margin-top: 120px;
	padding: 15px 10px 160px;
	background-color: #004E9B;
	position: relative;
}

#footer.is-hidden {
	display: none;
}

.errorMsg {
	margin-bottom: 20px;
	padding: 15px;
	background: #fff;
	border-radius: 10px;
	color: #FF0000;
}

.errorMsg p {
	margin-bottom: 10px;
}

/* 見出し */
.hdg01 {
	margin-bottom: 10px;
	color: #fff;
	text-align: center;
	font-size: 1.5rem;
	font-weight: normal;
	line-height: 1.5;
}

.hdg01 span {
	font-size: 1.2rem;
}

.hdg01 span.emphasis {
	font-size: 1.6rem;
	color: #e7e93e;
}

.hdg01.middle {
	font-size: 1.4rem;
}

.hdg01.left {
	text-align: left;
}

/* ステップ */
.step {
	padding: 20px 10px 30px;
	background-color: #F7FBFE;
	border-radius: 10px;
	display: none;
	opacity: 0;
	animation: fadeIn .3s linear forwards;
}

.step.first {
	padding-bottom: 10px;
}

.step.active {
	display: block;
}

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

.step.last {
	padding-bottom: 20px;
}

.step.stepEx {
	padding-bottom: 20px;
}

/* チャット風ガイド */
.guide {
	display: flex;
	align-items: flex-start;
	opacity: 0;
}

.step.active .guide {
	animation: fadeIn .3s .3s linear forwards;
}

.consul {
	margin-right: 10px;
	text-align: center;
	transition: opacity .3s;
	flex-shrink: 0;
}

.person {
	margin-bottom: 5px;
}

.consul.is-hidden,
.message.is-hidden {
	opacity: 0;
}

.count {
	display: block;
	font-size: 1rem;
	color: #333;
}

.message {
	padding: 10px 15px;
	border-radius: 10px;
	background: #0069CC;
	position: relative;
	color: #fff;
	font-size: 1.4rem;
	line-height: 1.5;
	transition: opacity .3s;
	flex-grow: 1;
}

.message:before {
	border-style: solid;
	border-width: 5px 10px 5px 0;
	border-color: transparent #0069CC transparent transparent;
	display: block;
	position: absolute;
	top: 20px;
	left: -6px;
	content: "";
}

.message2 {
	margin-top: 10px;
}

.message2:before {
	content: none;
}

/* 資格選択 */
.question01 {
	margin-top: 20px;
	padding: 0 10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.inputBtn {
	box-sizing: border-box;
	margin-bottom: 25px;
	width: calc(50% - 10px);
	height: 115px;
	background-color: #FFF;
	border: 1px solid #DAE6F2;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	font-size: 1.5rem;
	line-height: 1.5;
	text-align: center;
	opacity: 0;
	box-shadow: 0px 4px 0px #DAE6F2;
	animation: fadeIn .5s .6s linear forwards;
}

.inputBtn:nth-child(odd) {
	margin-right: 20px;
}

.inputBtn::before {
	display: inline-block;
	position: absolute;
	bottom: 0;
	left: 5px;
	content: "";
}

.inputBtn.first::before {
	width: 30px;
	height: 28px;
	background: url(/assets/img/migrated/lp/1kyu.png) no-repeat center /cover;
	left: 16px;
}

.inputBtn.second::before {
	width: 42px;
	height: 30px;
	background: url(/assets/img/migrated/lp/2kyu.png) no-repeat center /cover;
}

.inputBtn.third::before {
	width: 40px;
	height: 40px;
	background: url(/assets/img/migrated/lp/3kyu.png) no-repeat center /cover;
}

.inputBtn.inspector::before {
	width: 35px;
	height: 37px;
	background: url(/assets/img/migrated/lp/inspector.png) no-repeat center /cover;
	left: 2px;
}

.inputBtn.expFirst::before {
	width: 27px;
	height: 32px;
	background: url(/assets/img/migrated/lp/exp01.png) no-repeat center /cover;
	left: 10px;
}

.inputBtn.expSecond::before {
	width: 27px;
	height: 32px;
	background: url(/assets/img/migrated/lp/exp02.png) no-repeat center /cover;
	left: 10px;
}

.inputBtn.last {
	margin-right: 0;
	height: 56px;
}

.inputBtn.last p {
	transform: translateY(0);
}

.inputBtn.is-selected {
	background-color: #ECF5FF;
	border: 2px solid #0069CC;
	box-shadow: 0px 4px 0px #0069CC;
}

.inputBtn p {
	line-height: 1.5;
	transform: translateY(3px);
}

.inputBtnLarge {
	display: block;
	font-size: 3rem;
}

.inputBtnNone {
	font-size: 1.8rem;
}

.inputBtnInput[type="radio"] {
	display: none;
}

.selectArea {
  margin: 10px auto 0;
  background-color: #FFF;
  border: 1px solid #B2B2B2;
  border-radius: 5px;
  position: relative;
  font-size: 1.6rem;
  opacity: 0;
  animation: fadeIn .5s .6s linear forwards;
}

.selectArea:before {
  content: "";
  width: 7px;
  height: 7px;
  border-style: solid;
  border-width: 0 2px 2px 0;
  border-color: #959595;
  position: absolute;
  top: 49%;
  right: 20px;
  transform: translateY(-50%) rotate(45deg);
  transition: transform .3s;
}


.selectArea .select {
  padding: 15px 20px;
  width: 100%;
  border-radius: 5px;
  appearance: none;
  border: none;
	color: #000;
	background-color: #fff;
}

.selectArea .select:focus {
	outline: 0;
	border: 2px solid #0069cc;
	background-color: #ECF5FF;
}

.selectArea .select:focus option {
	outline: 0;
	background-color: #fff;
}

/* モーダルトリガー */
.modalTrg {
	margin: 20px auto 0;
	padding: 15px 20px;
	width: calc(100% - 105px);
	background-color: #FFF;
	border: 1px solid #B2B2B2;
	border-radius: 5px;
	position: relative;
	font-size: 1.6rem;
	opacity: 0;
	animation: fadeIn .5s .6s linear forwards;
}

.modalTrg.is-selected {
	border: 2px solid #0069cc;
	background-color: #ECF5FF;
}

.modalTrg:before {
	width: 7px;
	height: 7px;
	border-style: solid;
	border-width: 0 2px 2px 0;
	border-color: #959595;
	position: absolute;
	top: 49%;
	right: 20px;
	transform: translateY(-50%) rotate(45deg);
	transition: transform .3s;
	content: "";
}

/* モーダル */
.modal {
	width: 100%;
	height: 100vh;
	background: transparent;
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.modalInner {
	width: 60%;
	height: 70%;
	border-radius: 10px;
	position: fixed;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
	box-shadow: 0px 3px 6px #00000029;
}

.modalTop {
	padding: 10px 18px;
	background-color: #0069CC;
	border-radius: 10px 10px 0 0;
	color: #fff;
	font-size: 1.4rem;
	line-height: 1.3;
}

.modalList {
	padding: 0 20px;
	height: 65vh;
	background-color: #fff;
	border-radius: 0 0 10px 10px;
	overflow: scroll;
}

.modalList li {
	position: relative;
	color: #333;
	font-size: 1.6rem;
}

.modalList li:not(:first-child) {
	border-top: 1px solid #CCC;
}

.modalList li label {
	padding: 10px 0;
	display: block;
}

.modalList input[type=radio] {
	display: none;
}

.modalList label::before {
	width: 12px;
	height: 12px;
	background: #fff;
	border: 1px solid #CCC;
	border-radius: 50%;
	display: block;
	position: absolute;
	right: -2px;
    top: 15px;
	content: '';
}

.modalList label::after {
	width: 10px;
	height: 10px;
	background: #0069CC;
	border-radius: 50%;
	display: block;
	position: absolute;
	right: 0px;
	top: 17px;
	content: '';
	opacity: 0;
}

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

/* 入力欄ありの質問 */
.step .questionInput {
	padding: 20px 10px 0;
	border-radius: 0 0 10px 10px;
}

.questionInput dl {
	opacity: 0;
	animation: fadeIn .3s .6s linear forwards;
}

.questionInput dl + dl {
	margin-top: 10px;
}

.questionInput dt {
	display: flex;
	align-items: baseline;
	font-size: 1.6rem;
	color: #333;
	line-height: 1.3;
}

.questionInput .sample {
	margin-left: 10px;
	font-size: 1rem;
}

.questionInput .privacy {
	margin-left: auto;
	position: relative;
	color: #3DBB19;
	font-size: 1rem;
}

.questionInput .privacy::before {
	margin-right: 3px;
	width: 10px;
	height: 11px;
	background: url(/assets/img/migrated/lp/key.png) no-repeat center /cover;
	display: inline-block;
	transform: translateY(1px);
	content: "";
}

.questionInput dd input {
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	margin-top: 10px;
	padding: 15px 18px;
	width: 100%;
	height: 48px;
	border: 1px solid #B2B2B2;
	border-radius: 5px;
	color: #333 !important;
	font-size: 1.6rem;
	line-height: 1.1;
}

.questionInput dd input:focus {
	border: 2px solid #0069CC;
	outline: none;
}

.questionInput dd input::placeholder {
	color: #CCC;
	font-size: 1.6rem;
	line-height: 1.6;
}

.questionInput dd.error input {
	border-color: #FF4F79 !important;
	box-shadow: 0 0 0 1000px #FFEFF3 inset !important;
}

.questionInput dd.pass input,
.questionInput dd input:-webkit-autofill {
	border: 2px solid #0069cc;
    box-shadow: 0 0 0 1000px #ECF5FF inset;
}

.questionInput dd.name {
	display: flex;
	flex-wrap: wrap;
}

.questionInput dd.name input {
	width: calc(50% - 10px);
}

.questionInput dd.name input:first-child {
	margin-right: 20px;
}

.questionInput .errorTxt {
	margin-top: 5px;
	width: 100%;
	display: none;
	color: #FF4F79;
	font-size: 1.2rem;
}

/* 送信ボタンエリア */
/* #container（Index.tsx: maxWidth 480 / margin 0 auto）の中央寄せカラムに
   fixed/absolute どちらの containing block でも追従させるため、
   left:50% + translateX(-50%) + max-width で明示的に幅を固定する */
.btnArea {
	box-sizing: border-box;
	padding: 20px 20px 15px;
	width: 100%;
	max-width: 480px;
	background-color: #E4E4E4;
	display: flex;
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	align-items: center;
	flex-wrap: wrap;
	z-index: 1;
	transition: opacity .3s, position .3s;
}

.btnArea.is-complete {
	background-color: #fff;
}

.btnArea.is-hidden {
	bottom: -100%;
	opacity: 0;
}

.btnArea.is-complete {
	background-color: #fff;
}

.btnArea.is-showKey {
	position: absolute !important;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 480px;
}

.btnArea.is-showKey.is-finish {
	bottom: 55px !important;
}

.subBtn {
	margin: 0 10px;
	padding: 20px;
	border: none;
	border-radius: 10px;
	background-color: #F06000;
	position: relative;
	color: #fff;
	font-size: 2rem;
	flex-grow: 1;
	overflow: hidden;
	box-shadow: 0px 4px 0px #F060004D;
}

.subBtn:disabled {
	background-color: #CCC;
	box-shadow: 0px 4px 0px #CCCCCC4D;
}

.btnArea.is-complete .subBtn {
	animation: shine 2.7s 0.2s 1;
}

.copy {
	color: #333;
	font-size: 1.2rem;
}

.copy a {
	color: #1F7DB0;
}

.copy.full {
	margin-top: 15px;
	width: 100%;
	text-align: center;
}

@media (min-width: 376px) {
	.formBody {
		margin-top: 130px;
	}
}

@media (max-width: 320px) {
	.formBody {
		margin-top: 100px;
		padding-bottom: 175px;
	}
}

@keyframes fadeIn{
	0%{
		opacity: 0;
	}
	100%{
		opacity: 1;
	}
}

@keyframes shine{
	0%{
		opacity: 1;
	}
	17% {
		opacity: 0.7;
	}
	34% {
		opacity: 1;
	}
	51% {
		opacity: 0.7
	}
	68% {
		opacity: 1;
	}
	85% {
		opacity: 0.7;
	}
	100% {
		opacity: 1;
	}
}
