/* ---------------------------- */
/*      入力ボックスベース      */
/* ---------------------------- */
._input-text, 
._select-box, 
._text-area {
  padding: 0 10px;
  width: 210px;
  height: 40px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #aaa;
  outline: none;
  display: block;
}

._text-area {
  padding: 10px;
}

._input-file {
  width: 280px;
}

/* ---------------------------- */
/*    ラジオ・チェックボタン    */
/* ---------------------------- */
.cont-input {
  display: flex;
}

/* 通常ボタン */
.cont-input._radio-button,
.cont-input._check-box {
  min-height: 40px;
  flex-wrap: wrap;
  row-gap:12px;
}

.cont-input ._label {
  display: flex;
  align-items: center;
  margin-right: 18px;
}

.cont-input ._label:last-child {
  margin-right: 0;
}

._radio-button input,
._check-box input {
  margin-right: 6px;
  width: 21px;
  height: 21px;
  accent-color:#5654a2;
}

/* ---------------------------- */
/*       ラベル型ボタン         */
/* ---------------------------- */
._label-type-button {
  display: none;
}

._label-type-button + ._label {
  cursor: pointer;
  padding: 4px 8px;
  position: relative;
  /* min-width: 160px; */
  width: auto;
  height: 48px;
  border: 1px solid #aaa;
  background-color: #fff;
  border-radius: 4px;
}

._label-type-button:checked + ._label {
  border: 1px solid #5654a2;
  background-color: #5654a2;
  color: #fff;
}

._label-type-button + ._label i {
  font-size: 1.5em;
  margin-right: 4px;
  position: relative;
  top: 2px;
}

._label-type-button + ._label i.bx.bx-circle {
  display: block;
}

._label-type-button + ._label i.bx.bx-check-circle {
  display: none;
}

._label-type-button:checked + ._label i.bx.bx-check-circle {
  display: block;
}

._label-type-button:checked + ._label i.bx.bx-circle {
  display: none;
}

._label-type-button + ._label ._input-text._amount {
  display: none;
}

._label-type-button:checked + ._label ._input-text._amount {
  display: block;
  width: 54px;
  height: 36px;
  padding: 0;
  margin-left: 12px;
  border-radius: 0;
  text-align: center;
  border: none;
}