﻿.body-content {
    max-width: 1280px;
    -webkit-overflow-scrolling: touch;
}

.modal-body {
    margin-top: 150px !important;
}

/* ローディング状態のスタイル */
.loading-state {
    position: relative;
    overflow: hidden;
}

    .loading-state::after {
        content: var(--loading-message);
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 24px;
        color: white;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 20px;
        border-radius: 10px;
        z-index: 9999;
    }

.sukoshi:hover {
    opacity: 0.7;
    color: greenyellow;
}
.fa-home, .fa-search, .fa-book-medical, .icon_layers, .fa-user-cog {
    color: #fff;
}

.fa-home:hover, .fa-search:hover, .fa-book-medical:hover, .icon_layers:hover, .fa-user-cog:hover {
    color: #000;
}

.absolute_transform {
    background: yellow;
    position: absolute;
    top: 50%; /*親要素を起点に上から50%*/
    left: 50%; /*親要素を起点に左から50%*/
    transform: translateY(-50%) translateX(-50%); /*要素の大きさの半分ずつを戻す*/
    -webkit-transform: translateY(-50%) translateX(-50%);
}

.vertical-middle {
    background: yellow;
    display: inline-block; /* インライン要素にすることで横に回り込む */
    vertical-align: middle; /* 上下中央に寄せる */
}

.multiselect.dropdown-toggle{
    text-align:left;
}


.btn-red-primary, .btn-red-primary:active,
.open > .dropdown-toggle.btn-red-primary {
    color: #fff;
    background-color: #e60012;
    border-color: #df0202;
}

.btn-red-primary.outline {
    border: 3px solid #df0202;
    color: #fff;
}

.btn-red-primary.disabled,
.btn-red-primary:hover, .btn-red-primary:focus,
.btn-red-primary.active:hover, .btn-red-primary.active:focus
.open > .dropdown-toggle.btn-red-primary:hover,
.open > .dropdown-toggle.btn-red-primary:focus,
.btn-red-primary.disabled:hover, .btn-red-primary[disabled]:hover, fieldset[disabled] .btn-red-primary:hover,
.btn-red-primary.disabled.focus, .btn-red-primary[disabled].focus, fieldset[disabled] .btn-red-primary.focus {
    background: #8c0000;
    color: #fff;
}



.btn-dark-primary,
.btn-dark-primary.disabled, .btn-red-primary:disabled {
    background: #666666;
    color: #fff;
    border-color: #222222;
}

.btn-dark.outline {
    border: 3px solid #222222;
    color: #fff;
}

.btn-dark-primary:hover, .btn-dark-primary:focus,
.btn-dark-primary.active:focus, .btn-dark-primary.active:hover,
.open > .dropdown-toggle.btn-dark-primary,
.open > .dropdown-toggle.btn-dark-primary:hover,
.open > .dropdown-toggle.btn-dark-primary.focus,
.btn-dark-primary.disabled:hover, .btn-dark-primary[disabled]:hover, fieldset[disabled] .btn-dark-primary:hover,
.btn-dark-primary.disabled.focus, .btn-dark-primary[disabled].focus, fieldset[disabled] .btn-dark-primary.focus {
    background: #222222;
    color: #fff;
}

.btn-dark-primary:active {
    background: #666666;
    color: #fff;
}

.btn-150{
    width:150px;
}

/* 宛先設定用のModal幅を調整 */
.modal-custome{

    max-width: 300px;
}

.modal-middle {
    /*モーダルウィンドウの縦表示位置を調整*/
    margin: 2% auto;
}

.modal-sm {
    /*モーダルウィンドウの縦表示位置を調整*/
    margin: 15% auto;
}

.modal_horizontal_center {
    margin: 15% auto;
}

.modal-img_footer {
    /*表示予定のテキストとボタンを中央揃え*/
    padding: .5em;
    text-align: center;
}

/*#loading {*/
    /*loading画面の設定*/
    /*display: table;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.95;
    z-index: 3000;
}

#loading .loadingMsg {*/
    /*loading画面のメッセージと画像設定*/
    /*display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding-top: 140px;
    color: indigo;
    background: url("/Content/images/gif-load.gif") center center no-repeat;
}*/
/*#loading {*/
    /* loading画面全体の設定 */
    /*display: flex;*/ /* コンテンツをフレックスボックスで制御 */
    /*justify-content: center;*/ /* 横方向で中央に配置 */
    /*align-items: flex-start;*/ /* 縦方向で上部に配置 */
    /*width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.95;
    z-index: 3000;
    overflow: hidden;*/ /* スクロールを防ぐ */
/*}

    #loading .loadingMsg {*/
        /* loading画面のメッセージと画像設定 */
        /*margin-top: 100px;*/ /* 上部からの間隔を調整 */
        /*color: indigo;
        background: url("/Content/images/gif-load.gif") top center no-repeat;
        text-align: center;
        width: 100%;*/
       /* background-size: contain;*/ /* 背景画像が要素全体に広がるように設定 */
        /*padding-top: 140px;*/ /* メッセージとアイコンの間隔を調整 */
    /*}*/

/*////////////////////////////////////////////////////////////////////////*/
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

.dot-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px; /* サイズUP */
    height: 100px; /* サイズUP */
    position: relative;
}

    .dot-spinner div {
        width: 24px; /* サイズUP */
        height: 24px; /* サイズUP */
        margin: 5px; /* サイズUP */
        background-color: white;
        border-radius: 50%;
        animation: dot-bounce 1.2s infinite ease-in-out both;
    }

        .dot-spinner div:nth-child(1) {
            animation-delay: -0.3s;
        }

        .dot-spinner div:nth-child(2) {
            animation-delay: -0.2s;
        }

        .dot-spinner div:nth-child(3) {
            animation-delay: -0.1s;
        }

        .dot-spinner div:nth-child(4) {
            animation-delay: 0s;
        }

        .dot-spinner div:nth-child(5) {
            animation-delay: 0.1s;
        }

        .dot-spinner div:nth-child(6) {
            animation-delay: 0.2s;
        }

        .dot-spinner div:nth-child(7) {
            animation-delay: 0.3s;
        }

        .dot-spinner div:nth-child(8) {
            animation-delay: 0.4s;
        }

@keyframes dot-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.3;
    }

    40% {
        transform: scale(1.2); /* 少し大きく弾む */
        opacity: 1;
    }
}

.loadingMsg {
    color: white;
    margin-top: 15px;
    font-size: 24px; /* 文字サイズUP */
}


/*////////////////////////////////////////////////////////////////////////*/



td.overflow {
    max-width: 150px;
    width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

span.overflow {
    max-width: 120px;
    width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.icon_layers {
    display: inline-block;
    height: 3em;
    line-height: 3em;
    min-width: 3em;
    position: relative;
/*    vertical-align: middle;
*/    text-align: center;
}

.icon_layers_icon {
    position: absolute;
    left: 0;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 3em;
}


.icon_layers_counter {
    position: absolute;
    top: 0;
    right: -5px;
    display: inline-block;
    padding: 3px 5px;
    line-height: 1;
    color: #fff;
    background: #ff3333;
    font-size: 1.0em;
    border-radius: 1em;
    -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
}

.charge_input {
    padding: 5px 15px 5px 15px;
    margin: 10px 0px 0px 0px;

}

.custome-hover-text  {
    position: relative; /* 指定した分だけ相対的に移動 */
}

    .custome-hover-text:hover .custome-tooltip {
        display: inline; /* インライン要素として表示 */
    }

.custome-tooltip {
    position: absolute; /* 親要素を基準 */
    display: none; /* 要素を非表示 */
    padding: 2px; /* テキストの前後の余白 */
    background-color: rgba(180, 180, 180, 0.50); /* 背景色（透明度） */
    width: 85%; /* 吹き出し全体の幅 */
    left: 65%; /* 表示位置 */
    top: 65%;
    font-size: 100%;
    text-align:center;
}

    .custome-tooltip:after {
        content: ""; /* コンテンツの挿入 */
        position: absolute; /* 親要素を基準 */
    }

.all-district {
    list-style: none;
    margin-top: 10px;
    margin-bottom: 20px;
}

.district-ul {
    list-style: none;
    margin-top: 10px;
    margin-bottom: 20px;
}

.li-root-div {
    background-color: #ffdead;
}

.li-child-div {
    background-color: #fff5e6;
}

.theme-ul-theme {
    background-color: none;
}


.district-li {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
}

.district-li-title {
    font-size: 18px;
}

.region-check-custome {
    padding-top: 1px;
    padding-left: 10px;
}
.region-label-custome {
    padding-left: 5px;
}

.p-district-modal-count {
    margin-top: 10px;
}

.p-district-modal-caption {
    margin-top: 10px;
}

.i-vertical-center {
    display: flex;
    align-items: center;
}

.circle_blue:before {
    font-family: "Font Awesome 5 Free";
    content: '\f111';
    font-weight: 900;
    color: blue;
}

.circle_green:before {
    font-family: "Font Awesome 5 Free";
    content: '\f111';
    font-weight: 900;
    color: greenyellow;
}

.circle_yellow:before {
    font-family: "Font Awesome 5 Free";
    content: '\f111';
    font-weight: 900;
    color: gold;
}

.address-li{
    margin-left: 10px;
}


.shinobi {
    visibility: hidden
}
.arawareru {
    visibility: visible
}


.circle_lightgreen:before {
    font-family: "Font Awesome 5 Free";
    content: '\f111';
    font-weight: 900;
    color: #2ecc71;
 /*   background-color: #2ecc71;*/
}

.light {
    position: relative;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    animation: shadow 2s infinite;
}

    /* 信号機の光に被せる要素 */
    .light::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background-color: #fa84a2;
        animation: light 2s infinite;
    }


    /* 信号機の光（赤） */
    .light.red {
        background-color: #f74431;
        color: #f74431;
        animation-delay: 2s;
    }

        .light.red::after {
            animation-delay: 2s;
        }

/* 信号機の光の影の部分のアニメーション */
@keyframes shadow {
    0% {
        box-shadow: 0 0 20px 4px;
    }

    32% {
        box-shadow: 0 0 20px 4px;
    }

    33% {
        box-shadow: none;
    }

    100% {
        box-shadow: none;
    }
}

/* 信号機の光のアニメーション */
@keyframes light {
    0% {
        background-color: transparent;
    }

    32% {
        background-color: transparent;
    }

    33% {
        background-color: #fa84a2;
    }

    100% {
        background-color: #fa84a2;
    }
}
/*
label:hover {
    opacity: 0.8;
}
*/




input[type=file] {
    display: block !important;
    right: 1px;
    top: 1px;
    height: 34px;
    opacity: 0;
    width: 50%;
    background: none;
    position: absolute;
    overflow: hidden;
    z-index: 2;
}

.control-fileupload {
    display: block;
    border: 1px solid #d6d7d6;
    background: #FFF;
    border-radius: 4px;
    width: 50%;
    height: 36px;
    line-height: 36px;
    padding: 0px 10px 2px 10px;
    overflow: hidden;
    position: relative;
  

}
#uptext {
    line-height: 24px;
    color: #999999;
    font-size: 14px;
    font-weight: normal;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    z-index: 1;
    margin-right: 90px;
    margin-bottom: 0px;
    cursor: text;
}

.pagination-link {
    font-size: 24px; /* テキストサイズを大きくする */
    padding: 5px;
    margin: 2px;
    text-decoration: none;
}

.current-page {
    font-size: 24px; /* 現在のページのテキストサイズも大きく */
    font-weight: bold;
    padding: 5px;
    margin: 2px;
    text-decoration: underline; /* 現在のページを強調 */
}

.pagination-link:hover {
    color: blue; /* ホバー時に色を変える（例） */
}
/* 信号機の本体 */
/*.traffic-light {
    width: 240px;
    height: 80px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #213435;
    border-radius: 40px;
}*/

/* 信号機の光 */
/*.light {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    animation: shadow 9s infinite;
}*/

    /* 信号機の光に被せる要素 */
    /*.light::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background-color: #0f1616;
        animation: light 9s infinite;
    }*/

    /* 信号機の光（緑） */
    /*.light.green {
        background-color: #2ecc71;
        color: #2ecc71;
    }*/

    /* 信号機の光（黄色） */
    /*.light.yellow {
        background-color: #f1c40f;
        color: #f1c40f;
        animation-delay: 3s;
    }

        .light.yellow::after {
            animation-delay: 3s;
        }*/

    /* 信号機の光（赤） */
    /*.light.red {
        background-color: #df3f2e;
        color: #df3f2e;
        animation-delay: 6s;
    }

        .light.red::after {
            animation-delay: 6s;
        }*/

/* 信号機の光の影の部分のアニメーション */
/*@keyframes shadow {
    0% {
        box-shadow: 0 0 20px 4px;
    }

    32% {
        box-shadow: 0 0 20px 4px;
    }

    33% {
        box-shadow: none;
    }

    100% {
        box-shadow: none;
    }
}*/

/* 信号機の光のアニメーション */
/*@keyframes light {
    0% {
        background-color: transparent;
    }

    32% {
        background-color: transparent;
    }

    33% {
        background-color: #0f1616;
    }

    100% {
        background-color: #0f1616;
    }
}*/