input[type="number"]::-webkit-outer-spin-button, 
input[type="number"]::-webkit-inner-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
} 

input[type="number"] { 
  -moz-appearance:textfield; 
} 

.Form__input {
  padding: 0.2777777778em 1em 0.2777777778em 1em;
}
.Form__area {
  width: auto;
}
.Form__section {
  display: none;
}
.Form__wrap {
  padding: 16px;
}
.Form__section.is-show {
  display: block;
}
.Form__content {
  max-width: 800px;
  margin: auto;
}

.Form__field__title {
  font-weight: normal;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.Form__field__title > span {
  max-width: calc(100% - 2em - 8px);
  width: auto;
}

.Form__table td,
.Form__table tr {
  padding: 16px 1.2rem;
}

/* 進捗表示 */

.Form__flow {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-bottom: 80px;
}

.Form__flow li {
  display: block;
  padding: 8px 16px;
  background-color: #FFF;
  border-radius: 6px;
  color: #18B8C4;
}

.Form__flow li.is-active {
  background-color: #18B8C4;
  color: #FFF;
}

.Form__flow li.is-disable {
  background-color: #DFDFDF;
  color: #AEAEAE;
}

.Form__flow li.arrow {
  position: relative;
  width: 20px;
  min-width: 20px;
  height: 32px;
  padding: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Form__flow li.arrow::before,
.Form__flow li.arrow::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 13px;
  height: 1px;
  background: #B2B2B2;
  border-radius: 1px;
}

.Form__flow li.arrow::before {
  top: 10px;
  transform: translateX(-50%) rotate(55deg);
}

.Form__flow li.arrow::after {
  top: 20px;
  transform: translateX(-50%) rotate(-55deg);
}

.Form__text-danger + .Form__flow {
  margin-top: 64px;
  margin-bottom: 0;
}

.Form__radio__label__text {
  padding-left: 16px;
}

/* 進捗バー */

.Form__status {
  margin-top: 80px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.Form__status > span {
  width: 80px;
  height: 10px;
  background-color: #DFDFDF;
  border-radius: 10px;
}

.Form__status > span.is-active {
  background-color: #18B8C4;
}

.Form__page {
  font-size: 16px;
  font-weight: bold;
}


/* フォーム内容 */

.Form__section__title {
  margin-top: 76px;
  color: #009CA6;
  margin-bottom: 80px;
  border-bottom: solid 2px #009CA6;
  text-align: left;
}

.Form__section__title > h2 {
  margin: 0;
  padding: 0 10px;
}

.Form__td__title {
  padding: 0!important;
}

.Form__td__title > .Form__section__title {
  margin-top: 32px;
  margin-bottom: 0;
}

.Form__td__title > .Form__section__title > h2 {
  font-size: 18px;
}

.Form__caption {
  margin-bottom: 0;
}

.Form__required {
	display: inline-block;
	width: 2em !important;
	margin-top: 1em;
	padding: 4px 6px;
	color: #FFF;
	background-color: #F00;
	font-size: 10px;
	line-height: 10px;
	text-align: center;
	border-radius: 4px;
}

/* フォーム確認 */
.Form__td {
  font-size: 14px;
  font-weight: bold;
}
.Form__table__bold-td {
  font-size: 18px;
  font-weight: normal;
  line-height: 18px;
}


/* ラジオボタン（タブ形式） */

.js-substitute {
  display: none;
}

.js-substitute.is-show {
  display: block;
}

.js-substitute + .Form__section__title {
  margin-top: 120px;
}

.Form__radios > textarea {
  display: none;
  margin-top: 16px;
}

.Form__radios > textarea.is-show {
  display: block;
}

.js-substitute.is-show + .Form__section__title {
  margin-top: 136px;
}

.Form__substitute__area {
  display: flex;
  gap: 24px;
  flex-direction: column;
}

.Form__substitute {
  display: flex;
  gap: 16px;
}

.Form__substitute .Form__radio__label {
	display: flex;
	flex: 1;
	justify-content: center;
	align-items: center;
	/* min-height: 80px; */
	padding: 38px 16px;
	cursor: pointer;
	color: #18B8C4;
	background-color: #FFF;
	transition: background-color .2s, color .2s;
	border: 2px solid #18B8C4;
	border-radius: 16px;
}

.Form__substitute .Form__radio__label:has(input:checked) {
  background-color: #18B8C4;
  color: #FFF;
}

.Form__substitute .Form__radio__label input[type="radio"] {
  display: none;
}

.Form__substitute .Form__radio__label__text {
  font-size: 20px;
  text-align: center;
  width: 100%;
  padding: 0;
  line-height: 1;
}



/* ボタン */

.Form__check {
  margin-top: 48px;
}

.Form__check > div {
  display: flex;
  gap: 48px;
  justify-content: center;
}

.Form__buttons {
  display: none;
  padding-top: 0;
}

.Form__buttons.is-show {
  display: inline-block;
}

.Form__button {
  cursor: pointer;
  width: 178px;
  padding: 16px 30px;
  border: 2px solid #484848;
  background-color: #484848;
  font-size: 16px;
  margin: 0;
}

.Form__button-active {
  margin: 0;
  border: 2px solid #484848;
  background-color: #484848;
}

.Form__button.--back {
  width: fit-content;
  color: #484848;
  background-color: #FFF;
  border: 2px solid #B2B2B2;
}

.Form__button.--back:hover {
  color: #FFF;
  background-color: #484848;
  border: 2px solid #484848;
}

@media screen and (max-width: 768px) {
  .Forms {
    width: 100%;
  }
  .Form__radio__body {
    width: 100%;
  }
  .SubLink__item:not(:first-child) {
    margin-left: 0;
  }

  .Form__section__title {
    width: 90%;
    margin: 48px auto;
  }

  .Form__wrap {
    width: 90%;
  }

  .Form__radio__label__text {
    width: 100%;
    padding-left: 1rem;
  }

  .Form__substitute .Form__radio__label {
    padding: 26px 16px;
  }

  .Form__substitute .Form__radio__label__text {
    font-size: 16px;
    line-height: 1.5;
  }

  .Form__flow {
    flex-wrap: wrap;
    gap: 16px;
  }

  .Form__check > div {
     gap: 16px;
  }

  .Form__button {
    padding: 12px 25px;
  }

  .Form__table tr {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: ;
  }

  .Form__table td {
    padding: 0;
    font-weight: normal;
  }

  
  .Form__radios {
    width: 100%;
  }


  /* フォーム確認 */
  .Form__td {
    font-weight: bold;
    font-size: 14px;
  }
  .Form__table__bold-td {
    font-weight: normal;
  }


}