/* 非表示用クラス */
.hidden {
    display: none !important;
  }
  
  /* オーバーレイ（背景） */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
  }
  
  /* ポップアップダイアログ本体 */
  .message-box {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -45%);
    background: rgb(240, 240, 255);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #888;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 200000;
  }
  
  /* ダイアログタイトル */
  .dialog-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
  }
  
  /* セレクトボックスラッパー */
  .dialog-pref-wrapper,
  .dialog-org-wrapper {
    margin: 10px 0;
  }
  
  /* セレクトボックス共通のスタイル */
  .prefecture-dropdown {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  /* ボタンコンテナ */
  .buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }
  
  /* ボタン共通のスタイル */
  .buttons button {
    width: 100px;
    padding: 8px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: background 0.3s ease;
  }
  
  /* 決定ボタンのスタイル */
  #selDialogOkButton {
    background: #4CAF50;
    color: white;
  }
  
  /* 決定ボタンホバー時 */
  #selDialogOkButton:hover {
    background: #45a049;
  }
  
  /* キャンセルボタンのスタイル */
  #selDialogCancelButton {
    background: #f44336;
    color: white;
  }
  
  /* キャンセルボタンホバー時 */
  #selDialogCancelButton:hover {
    background: #d32f2f;
  }
  
  ***************************************/
#selPrefSelect.cust-dropdown,
#selOrgSelect.cust-dropdown {
    /*  position: relative;*/ /* 矢印の基準を設定 */
      display: block;
      margin: 0 auto; /* 中央揃え */
      padding: 0.6em 2.0vw; /* login-buttonのpaddingに合わせる */
      font-size: 1.5vw; /* login-buttonのfont-sizeと一致 */
      font-weight: bold;
      color: rgb(19, 55, 141); /* テキスト色 */
      background-color: white;
      border: 2px solid rgb(19, 55, 141); /* ボーダー色 */
      border-radius: 6px; /* login-buttonのborder-radiusと一致 */
      box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 軽い影を追加 */
      cursor: pointer;
      text-decoration: none;
      text-align: center; /* テキストを中央揃え */
      white-space: nowrap;
      width: 28.2%;
      max-width: 28.2%;
      appearance: none; /* デフォルトの矢印をカスタム */
    }
  
  .cust-dropdown:focus {
      outline: none;
      box-shadow: 0 0 5px rgba(19, 55, 141, 0.5); /* フォーカス時の強調 */
  }
  
  .cust-dropdown:disabled {
      background-color: #ccc;
      cursor: not-allowed;
  }
  .prefecture-dropdown::-ms-expand {
    display: none; /* Edgeのデフォルト矢印を非表示 */
}
/* カスタム矢印を追加 */
.prefecture-dropdown::after {
    content: '▼';
    position: absolute;
    right: 1em;
    pointer-events: none;
}
