/* 基本設定 */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F3F3F3;
    color: #333333 !important;
    font-size: 10px;
}

.demo-badge {
    background-color: grey;
    color: white;
    padding: 1px 4px;
    border-radius: 4px;
    margin-left: 2px;
    margin-bottom: 4px;
    font-size: 0.55em;
    vertical-align: middle;
    display: inline-block;
}

/* ロゴスタイル */
.logo {
    height: 35px;
    width: auto;
    vertical-align: middle;
    padding-bottom: 6px;
}

/* ロゴボタンスタイル */
.common-brand-btn {
    border: none;
    background-color: transparent;
}

/* 入力フィールドの共通スタイル */
.route-input {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid #888;
    font-size: 12px;
}


.targetdate-container label, .targetdate-container input, .targetdate-container p {
    font-size: 12px;
}

/* 非表示要素のスタイル */
#hiddenFileInput {
    display: none;
}

/* ボタンの共通スタイル */
.form-button, .infowindow-button {
    background-color: #3494D7;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.form-button {
    height: 40px;
    padding: 10px 20px;
    margin: 10px 0;
}

.infowindow-button {
    height: 30px;
}

.infowindow-button:disabled {
    background-color: #e0e0e0 ; /* 薄いグレーの背景色 */
    color: #aaa; /* より薄いテキスト色 */
    cursor: not-allowed; /* カーソルを禁止マークに */
}

/* Bootstrap5 */
.btn-group .btn {
    height: 25px;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-group {
    width: 95%;
    margin-left: 5px;
}


.form-control{
    height: 25px;
    font-size: 9px !important;
    width: 90%;
    padding: 0px 5px;
    text-align: center;
}



.common-iconify{
    color: #3494D7; 
    font-size: 24px; 
    margin-right: 10px;
}

.help-iconify{
    color: #5d5d5d; 
    font-size: 12px;
    margin-bottom: 5px; 
    /* margin-right: 10px; */
}

.btn-help {
    padding: 0;
}


.working-data-btn{
    background-color:  #3494D7 !important;
    border-color: #3494D7 !important;
    border-width: 1.5px;
    color: #ffffff !important;
    /* margin-left: 5px; */
    width: 100%;
    height: 25px;
    font-size: 12px !important;
    padding: 0px !important;
}

.working-data-btn:hover{
    background-color: #3470d7 !important;
    border-color: #3470d7 !important;
}


.login-btn{
    background-color: #FFFFFFFF;
    border-color: #3494D7;
    border-width: 1.5px;
    color: #5b5a5a;
    height: 25px;
    width: 100%;
    font-size: 10px;
    padding: 0px;
}

.login-btn:hover {
    background-color: #3494D7;
    border-color: #3494D7;
    color: #ffffff;
}

.common-btn{
    background-color: #FFFFFFFF;
    border-color: #3494D7;
    border-width: 1.5px;
    color: #5b5a5a;
    height: 25px;
    width: 95%;
    font-size: 10px;
    padding: 0px;
}

.common-btn:hover {
    background-color: #3494D7;
    border-color: #3494D7;
    color: #ffffff;
}

.common-btn:disabled {
    background-color: #e0e0e0 !important;
    border-color: #e0e0e0 !important;
    color: #aaa !important;
}

.common-toggle-title{
    /* padding-top: 4px; */
    padding-bottom: 4px;
    padding-left: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.common-toggle-title:hover {
    /* background-color: #7c7c7c50; */
    /* cursor: pointer; */
}


.common-toggle-title:hover .common-iconify {
    /* animation: swing 0.8s ease-in-out; */
}


/* ナビゲーションバースタイル */
.common-navbar-custom {
    height: 40px;
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
}

.navbar-nav {
    gap: 1rem;
}   

/* カスタムボタンスタイル */
/* .btn.common-btn-custom-color, .btn.common-btn-custom-color:hover, .btn.common-btn-custom-color:disabled {
    background-color: #3494D7;
    border-color: #3494D7;
    color: #ffffff;
    height: 30px;
    font-size: 14px;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn.common-btn-custom-color:hover {
    background-color: #3494D7;
    border-color: #3494D7;
}

.btn.common-btn-custom-color:disabled {
    background-color: #e0e0e0;
    border-color: #e0e0e0;
    color: #aaa;
} */

/* ボタンサイズのスタイル */
/* .common-btn-full-width {
    width: 100%;
} */


.common-table{
    width: 90%;
    margin-left: 20px; 
    /* padding: 4px; */
    /* font-size: 11px; */
}


/* テーブルヘッダースタイル */
.common-table th, .common-table td {
    width: 55%;
    font-weight: normal;
    border: none;
}

/* テーブルヘッダースタイル */
.common-table input {
    width: 100%;
    padding: 8px;
    margin: 4px 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid #888;
    text-align: right;
    height: 15px;
}

/* サイドバースタイル */
.common-sidebar {
    overflow-y: auto;
    max-height: 100vh;
}

/* InfoWindow ボタンスタイル */
.gm-style-iw .gm-ui-hover-effect {
    outline: none !important;
}

/* プログレスバースタイル */
#progress-bar {
    /* background-color: #00000000 !important;
    margin-top: 10px !important;
    height: 20px !important;
    font-size: 12px !important; */
}

.progress {
    /* border: 2px solid #333; */
    /* border-radius: 5px; 角を丸くする */
    /* height: 50px; */
    background-color: #00000000 !important;
    margin-top: 10px !important;
    height: 20px !important;
    font-size: 12px !important;
}

/* テーブルスタイル */





.position-absolute{
    bottom: 95px !important;
}

.split-up {
    position: relative;
    height: calc(100vh - 50px);
    width: 100%;
}


/* マップエリアスタイル */
.route-map-area {
    height: 100%;
    width: 100%;
}



/* ラジオボタンスタイル */
.custom-control-label::before, .custom-control-label::after {
    width: 18px;
    height: 18px;
}

.custom-control-label {
    font-size: 12px;
    line-height: 23px;
    padding-left: 0px;
}

/* label[for="routeSearchAllGroupsCheckbox"], #routeSearchAllGroupsCheckbox {
    font-size: 9px;
} */

.checkbox-container label {
    margin-bottom: 0; /* ラベルの下部のマージンを削除 */
}

.checkbox-container {
    display: flex; /* Flexboxコンテナを使う */
    align-items: center; /* 中央線に沿ってアイテムを揃える */
}

.checkbox-container input[type="checkbox"] {
    margin-right: 8px; /* チェックボックスとラベルの間に少しスペースを追加 */
}


/* リンクボタンスタイル */
.btn-link, .btn.btn-link, .btn.btn-link:focus, .btn.btn-link:hover {
    padding: 0 6px !important;
    margin: 0 !important;
    border: none;
    outline: none;
    box-shadow: none;
}

.modal-question-circle{

}

/* アイコンテキストスタイル */
.icon-text {
    text-align: center;
    margin-top: 10px;
    font-size: 25px;
}

/* ディスクリプションスタイル */
.description {
    margin-top: 5px;
    font-size: 0.9em;
    word-wrap: break-word;
}

/* フレックスコンテナスタイル */
.custom-flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    width: 100vw;
}

/* フレックスアイテムスタイル */
.flex-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 3vw;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
    width: 25vw;
    height: 400px;
    word-wrap: break-word;
    overflow: hidden;
}

.flex-item img {
    max-width: 100%;
    height: auto;
}

.flex-item:hover {
    background-color: #e6f0f7;
}

.custom-link, .custom-link:hover {
    text-decoration: none;
    color: black;
}

/* マップエリアスタイル */
#route-map {
    border: 1px solid #ccc;
    overflow: hidden;
}

.gutter {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-vertical {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=');
    cursor: row-resize;
}

.duration-table tbody tr:hover {
    background-color: lightyellow;
}

.highlight {
    background-color: #FFFF70;
}

@keyframes swing {
    0% { transform: rotate(0); }
    20% { transform: rotate(20deg); }
    40% { transform: rotate(-12deg); }
    60% { transform: rotate(8deg); }
    80% { transform: rotate(-3deg); }
    100% { transform: rotate(0); }
  }
  

#loadingModal .modal-content{
    background-color: transparent;
    border: none;
}

#loadingModal .modal-body{
    text-align: center;
}

.geocoding-loading-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    margin-bottom: 2rem;
}

#loadingModal .spinner-border{
    color: #fff;
}

.geocoding-loading-title{
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0;
}

#loadingModal .progress-bar{
    background-color: #fff;
    color: #333333;
}

.delete-btn {
    font-size: 0.8rem;
    line-height: 1;
    color: #fff;
    background-color: #e0e0e0;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;       /* 上下のマージンを0にし、左右のマージンを自動調整して中央揃え */
  }
  
.delete-btn:not(:disabled):hover {
    background-color: #bcbcbc;
}

.delete-btn:disabled:hover {
    cursor: not-allowed;
}

/* .form-check-input:disabled:hover{
    cursor: not-allowed;
} */


.alert-success {
    --bs-alert-bg: #3494D750;
    --bs-alert-border-color: none;
}