/* Bootstrapと競合している部分については、cssを書き換えが難しい。
親要素から指定することで変更が反映されることが多い。 */
/* キャッシュの関係で反映されないことがあるため、プライベートモードで確認をすること */

/* 全ての要素に Noto Sans JP フォントを適用 */
* {
    font-family: 'Noto Sans JP', sans-serif;
}



tr .table-primary {
    background-color: #00bfff;
}

/* 横スクロールを追加 */
.table-responsive {
    overflow-x: auto;
}


/* マージン設定 */
.container-custom {
    margin-left: 20px;
    margin-right: 20px;
    flex: 1;
}



/* カラムデザイン調整 */
.col-md-3 {
    background-color: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.col-md-9 {
    background-color: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.col-md-6 {
    background-color: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
}

.drone_detail_h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    margin-left: 24px;
}

.list-group {
    padding: 0;
    list-style: none;
    margin: 0;
}

.list-group-item {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 16px;
    margin-bottom: 8px;
    transition: background-color 0.3s ease;
}

.list-group-item:hover {
    background-color: #237afd;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}

@media (max-width: 50px) {
    .navbar-expand-lg .navbar-toggler {
      display: block; /* 768px以下でハンバーガーメニューを表示 */
    }
    .navbar-expand-lg .navbar-collapse {
      display: none; /* 768px以下でメニューを非表示にする（ハンバーガーメニューがクリックされたときに表示されるようになる） */
    }
}

/* 必須フィールドのラベルを小さくする */
.text-danger {
    font-size: smaller;
}

.navbar-brand {
    background: url("../images/4.png") no-repeat left center;
    background-size: contain;
    height: 40px;
    width: 250px;
    margin: 0px;
    padding: 0px;
}

/* .footer {
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #237afd;
    } */
.footer {
    background-color: #237afd;
    color: white;
    text-align: center;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}



.footer > .container {
    display: flex;
    justify-content: center; /* テキストを水平方向に中央揃え */
    align-items: center; /* テキストを垂直方向に中央揃え */
    height: 100%; /* 親要素の高さいっぱいにテキストを配置 */
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.error-message {
    color: red;
}

.selectItem {
    /* インナー要素のスタイル */
    width: 60%; /* インナー要素の幅を100%にして親要素に合わせる */
    margin:auto;
}

.select_drone_div {
    justify-content: center;
    align-items: center;
    margin:auto;
}

.btn-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    height: 100%;
    max-height: 115px;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.container-custom2 {
    display: flex;
    justify-content: center; /* 横方向の中央配置 */
    align-items: center;     /* 縦方向の中央配置 */
    min-height: 100vh;       /* 画面全体の高さ */
    padding: 20px;
    box-sizing: border-box;
    margin-left: 20px;
    margin-right: 20px;
    flex: 1;
}

.button-container {
    display: flex;
    flex-direction: column;  /* 縦並びにする */
    align-items: center;
    gap: 20px;
    width: 100%;
}

.btn-custom {
    max-width: 300px;
}

.btn-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .button-container {
        flex-direction: row;  /* 横並びにする */
        justify-content: center;
        gap: 40px;
    }
}

.content {
    flex: 1; /* 残りのスペースを埋める */
}

/* ヘルプドロップダウン用スタイル */
.help-dropdown-toggle {
    background: none !important;
    border: none !important;
    text-decoration: none;
    color: inherit !important;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 !important;
}

.help-dropdown-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
}

.help-dropdown-toggle:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.help-icon {
    width: 24px !important;
    height: 24px !important;
    margin-right: 5px !important;
    display: block !important;
}

.navbar-nav-item {
    height: 40px;
    display: flex;
    align-items: center;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 全画面の高さを確保 */
}
