.bi {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: -.125em;
    fill: currentColor;
}

.input-group {
    margin: 10px;
}
.input-group input {
    width: 500px;
}
.input-group button {
    width: 100px;
}
.truncate-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.top__main {
    background-image: url("/image/background.webp");
    background-repeat: no-repeat;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.top__main__text {
    display: inline-block;
    width: 100%;
    text-align: center;
    height: 100%;
    padding: 10px ;
    font-size: 1.8em;
    color: #0b004b;
}
.top__main__btn {
    color: #130186;
    background-color: #b5f6f3;
    border-color: #b5f6b7;
    font-size: 1.2em;
    font-weight: bold;
}

.top__main__search {
    max-width: 750px;
}

.top__main__bg {
    --bs-bg-opacity: .55;
}

/* media screen */
@media screen and (min-width: 480px) {
    .top__main {
        padding: 20px 20px 10px 20px;
        min-width: 535px;
    }
}
@media screen and (min-width: 769px) {
    .top__main {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        margin: 0 auto;
        text-align: left;
        padding: 50px;
        min-width: 824px;
    }
}

@media screen and (min-width: 480px) {
    .search__result {
        padding: 10px 80px 10px 80px;
        min-height: 100%;
    }
}
@media screen and (min-width: 769px) {
    .search__result {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        margin: 0 auto;
        text-align: left;
        padding: 20px;
        min-width: 650px;
        min-height: 100%;
        max-width: 750px;
    }
}

/* Navbar*/
@media screen and (min-width: 480px) {
    .navbar__menu {
        display: block;
    }
}
@media screen and (min-width: 769px) {
  .navbar-search {
      display: block;
      background-color: white;
      color: #0b004b;
  }
  .navbar__menu {
      display: none;
      visibility:hidden
  }
}

.navbar-brand {
    background-color: rgba(0, 0, 128, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 128, .25);
}

.navbar-brand .navbar__title {
    display: inline-block;
    padding-left: 0;
    padding-right: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    vertical-align: middle;
}
.navbar-brand .navbar__icon {
    padding: 3px;
    margin: 3px;
    width: 36px;
    height: 36px;
    vertical-align: middle;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
    color: #000;
    background-color: aliceblue;
    background-image: url('/image/bg.svg');
    display: block;
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 16px 16px;
    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: .5rem;
    text-align: left;
    text-indent: 20px;
}
.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}
.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.navbar__bgcolor {
    background-color: #000080;
}

.navbar__form__search{
    padding-right: 15px;
}

.navbar__menu__text {
    text-decoration: none;
}
.navbar__toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}
/*
* Sidebar
*/
@media (max-width: 767px) {
    .sidebar {
        display: none;
        position: -webkit-sticky;
        position: sticky;
        top: 48px;
        left: -100%; /* メニューを左側に隠す */
    }

}
@media (min-width: 768px) {
    .sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 48px;
  }
} 

/* サイドバーのボタンスタイル調整 
#toggleSidebar {
    position: absolute;
    right: 10px;
    top: 10px;
}
*/

/* サイドバーのスタイル調整 */
.sidebar {
    min-height: 100vh;
    border-color: gray;
}
.sidebar .btn_showing {
    position: absolute;
    top: 10px;
    right: 10px;
}
.sidebar .nav-link {
    font-size: .875rem;
    font-weight: 500;
}
.sidebar .nav-link.active {
    color: #2470dc;
}
.sidebar-heading {
    font-size: .75rem;
}
.form-check {
    margin-left: 10px;
    padding-left: 10px;
}

/* Data view */
.sidebar__button__none {
    display: none;
}
.sidebar__button__block {
    display: block;
}
.sidebar__menu__column {
    height: 100vh;
}
/* Search results */
.search__result__source {
    font-style: italic !important;
}

/* common */
html {
    scroll-behavior: auto!important;
}

body {
    font-size: 90%;
    font-family: "Meiryo UI", "メイリオ";
}
h1 {
    font-size: 200%;
    font-weight: bold;
}
h2 {
    font-size: 150%;
    font-weight: bold;
}
h3 {
    border-left: 6px solid navy;
    padding-left: .3rem;
    font-size: 120%;
    font-weight: bold;

}
h3 a {
    text-decoration: none;
    color: navy;
}

.choices {
    margin: 0;
}


