/* ===== モーダル背景 ===== */
.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .3s ease;
    
}

/* 初期状態（非表示） */
.modal.hidden {
    display: none;
    pointer-events: none;
}

/* ===== モーダル本体 ===== */
.modal-content {
    background: #fff;
    width: 90%;
/*    
    max-width: 320px;
*/    
    padding: 35px 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ===== ローディング ===== */
.loaderArea { width: 110px; height: 110px; margin: 30px auto 0 auto; position: relative;}
@media screen and (min-width: 800px) {
.loaderArea { width: 220px; height: 220px; margin: 50px auto 0 auto;}
}
.loaderArea .loader {
    width: 48px;
    height: 48px;
    border: 5px solid #ddd;
    border-top-color: #0088ff;
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== テキスト ===== */
.taC { text-align: center; }
.fwB { font-weight: bold; }
.fsLL { font-size: 1.3rem; }
.mtM { margin-top: 1rem; }
.lhL { line-height: 1.7; }

/* ===== スマホ（小画面） ===== */
@media (max-width: 480px) {
    .modal-content {
        width: 92%;
        padding: 30px 20px;
    }
}
.ui-autocomplete-category {
    font-weight: bold;
    background: #eee;
    cursor: default;
}

/* 通常の都市名（dd 部分） */
.ui-autocomplete .ac-item {
    background: #ffffff;       /* 白背景 */
    cursor: pointer;
}

.ui-autocomplete {
    z-index: 100000; /* 最前面に表示するための設定 */
    max-height: 300px;
    overflow-y: auto; /* 垂直スクロールを有効化 */
    overflow-x: hidden; /* 水平方向のスクロールを無効化 */
    background-color: white;
    border: 1px solid #ccc;
    font-size: 14px;
}