html {
  font-family: Noto Sans JP;
  background: #f4f4f4;
}

body {
  width: 375px;
  margin-right: auto;
  margin-left: auto;
}

/**
* header
*/
header {
  margin-top: 16px;
  margin-bottom: 32px;
}

/**
* main
*/
main {
  text-align: center;
}

.title_text {
  width: 126px;
  height: 27px;
  top: 16px;
  left: 16px;
  color: #d7000f;
  font-weight: 700;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0%;
  vertical-align: middle;
}

.top_img {
  width: 336px;
  height: 210px;
  margin-bottom: 20px;
}

.stepper_image {
  width: 316px;
  height: 56px;
}

label.default_text {
  font-weight: 700;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-align: left;
}

label.small_text {
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 12px;
}

label.small_text.no_margin {
  width: 32px;
  margin: 0;
}

.question_div {
  width: 343px;
  background-color: #ffffff;
  box-shadow: 0px 4px 12px 0px #1111111f;
  border-radius: 8px;
  margin: 20px auto 40px auto;
}

.question_div > .question_inner_div {
  width: 295px;
  padding: 24px;
  display: flex;
  flex-flow: column;
}

.step_div {
  display: none;
}

.step_div.active {
  display: block;
}

button.next {
  width: 295px;
  height: 56px;
  margin-top: 16px;
  padding-left: 20px;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-width: 1px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-align: left;
  position: relative;
}

button.next.margin-top32 {
  margin-top: 32px;
}

div.label-container {
  display: flex;
  align-items: center;
  text-align: left;
}

img.right_arrow_img {
  width: 18px;
  height: 18px;
  position: absolute;
  top: 19px;
  left: 257px;
}

img.required_img {
  width: 40px;
  height: 21px;
  gap: 10px;
  border-radius: 4px;
  border-width: 1px;
  margin-top: 20px;
  margin-bottom: 12px;
  padding-left: 8px;
}

button.next:disabled {
  color: #ffffff;
  opacity: 0.2;
  background: #d7000f;
  box-shadow: 0px 2px 2px 0px #1111113d;
  text-align: center;
}

button.next.able {
  color: #ffffff;
  background: #d7000f;
  box-shadow: 0px 2px 2px 0px #1111113d;
  text-align: center;
  padding-left: 0;
}

div.div_prev {
  text-align: center;
}

button.prev {
  font-weight: 400;
  font-size: 16px;
  width: 120px;
  height: 48px;
  margin-top: 32px;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-width: 1px;
  border-radius: 8px;
}

button.prev.margin-top16 {
  margin-top: 16px;
}

select.default_select {
  font-size: 18px;
  font-weight: 700;
  width: 295px;
  height: 56px;
  border-radius: 8px;
  border-width: 1px;
  text-indent: 6%;
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  background-image: url('/image/select_toggle.png');
  background-repeat: no-repeat;
  background-size: 24px auto;
  background-position: right 12px center;
  border: 1px solid #cccccc;
}

label.small_text.no_margin + select.default_select {
  width: 251px;
  margin-left: 12px;
}

label.error_message {
  color: #d7000f;
  margin: 0;
}

input {
  border: 1px solid #cccccc;
  border-radius: 8px;
  border-width: 1px;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0%;
  vertical-align: middle;
}

input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px #ffffff inset;
}

input:focus,
select:focus {
  outline: 1px solid #cccccc;
}

input.input_half {
  width: 46%;
  height: 56px;
  text-indent: 10%;
}

input.input_half:not(:last-child) {
  margin-right: 12px;
}

input.input_long {
  width: auto;
  height: 56px;
  text-indent: 5%;
}

input::placeholder {
  color: #bbbbbb;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0%;
  vertical-align: middle;
}

input.input_half::placeholder {
  text-indent: 10%;
}

input.input_long::placeholder {
  text-indent: 5%;
}

label.consent {
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  margin-top: 32px;
}

label.sended {
  font-weight: 700;
  font-size: 24px;
  line-height: 150%;
  letter-spacing: 0%;
  vertical-align: middle;
}

button#line_registor {
  width: 295px;
  height: 80px;
  background: #ffffff;
  border-radius: 8px;
  border-width: 1px;
  border: 1px solid #cccccc;
  margin-top: 20px;
  font-weight: 700;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0%;
  vertical-align: middle;
  position: relative;
  text-indent: 5%;
}

img.line_img {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 20px;
  left: 20px;
}

img.line_img + img.right_arrow_img {
  top: 31px;
}

/**
* footer
*/
div.about_company {
  margin-bottom: 40px;
  text-align: center;
  display: flex;
  flex-flow: column;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 0%;

  width: 150px;
  margin-right: auto;
  margin-left: auto;
}

div.about_company > a:not(:last-child) {
  margin-bottom: 20px;
}

footer {
  text-align: center;
}

label.copyright_text {
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
}

/**
* モーダル
*/
/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-sizing: border-box;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active {
  opacity: 1;
  visibility: visible;
}
/*モーダル枠の指定*/
.modal-body {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 500px;
  width: 90%;

  height: 80%;
}
/*モーダルを閉じるボタンの指定*/
.modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -40px;
  right: -40px;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
/*モーダル内のコンテンツの指定*/
.modal-content {
  background: #fff;
  text-align: left;
  padding: 30px;

  height: 100%;
  overflow-y: scroll;
  border-radius: 8px;
}
