/* /choice/ 入力済み項目の「変更する」（入力欄内に常時表示） */
.akc-field{
  position:relative;
}

/* 入力欄の見た目をしたプルダウン（元の readonly 欄と同じサイズ） */
.step-form select.akc-select,
.akc-select{
  display:block;
  width:100%;
  height:46px;
  margin:0 0 10px;
  padding:0 40px 0 10px;
  border:1px solid #707070;
  border-radius:5px;
  background:#fffbe6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23004bb1' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center !important;
  color:#333;
  font-size:16px;
  line-height:normal;
  cursor:pointer;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
}
.akc-select::-ms-expand{ display:none; }

/* 入力済み：▼を消して ✓＋「変更する」を欄内右端に */
.step-form .akc-field.is-filled select.akc-select{
  padding-right:120px;
  background-image:none !important;
}
.akc-edit{
  position:absolute;
  top:0;
  right:12px;
  height:46px;
  display:none;
  align-items:center;
  color:#004bb1;
  font-size:14px;
  font-weight:700;
  line-height:1;
  text-decoration:underline;
  text-underline-offset:3px;
  white-space:nowrap;
  pointer-events:none; /* クリックは下のプルダウンが受ける */
}
.akc-field.is-filled .akc-edit{ display:flex; }
.akc-edit__sp{ display:none; }

/* ✓ は「変更する」の左側へ */
.akc-field .check-circle{ pointer-events:none; }
.akc-field.is-filled .check-circle{ right:82px !important; }
.akc-field.is-empty .check-circle{ display:none; }

.akc-field:hover .akc-edit{ opacity:.7; }
.akc-select:focus-visible{ outline:2px solid #004bb1; outline-offset:1px; }

/* 未選択・読み込み中・エラー */
.akc-field.is-empty select.akc-select{ color:#888; }
.step-form select.akc-select:disabled{ background-color:#f3f3f3 !important; color:#999; cursor:default; }
.akc-field.is-loading .akc-edit{ opacity:.4; }
.step-form .akc-field.is-error select.akc-select{ border-color:#e60000; background-color:#fff2f2 !important; }

@media screen and (max-width:767px){
  .step-form .akc-field.is-filled select.akc-select{ padding-right:84px; }
  .akc-edit{ right:10px; font-size:13px; }
  .akc-edit__pc{ display:none; }
  .akc-edit__sp{ display:inline; }
  .akc-field.is-filled .check-circle{ right:48px !important; }
}
