body {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: 'NotoSansCJKjp-Medium', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color: #333333;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    color: #333;
}

html,
body,
#map {
    height: 100%;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    padding: 0;
}

.pr-s {
    padding-right: 5px
}

.img-button {
    box-shadow: 0 2px 2px #858585, 1px 1px 2px 0 #858585 inset;
    border-radius: 24px;
    transition: 0.3s;
    cursor: pointer;
}

.img-button:hover {
    transform: scale(1.2);
}

.img-button:active {
    transform: translateZ(-100px) scale(1.0);
}

.img-button-radius {
	box-shadow: 0 2px 2px #536dfe, 1px 1px 2px 0 #536dfe inset;
	border-radius: 10px;
	transition: 0.3s;
	cursor: pointer;
}

.img-button-radius:hover {
	transform: scale(1.2);
}

.img-button-radius:active {
	transform: translateZ(-100px) scale(1.0);
}

/**
 * ------------------------------------------------------------------------
 * 地図
 * ------------------------------------------------------------------------
 */

#map {
    z-index: 1;
    position: relative;
}

.ol-control button {
    background-color: #536dfe !important;
    color: rgb(255, 255, 255) !important;
    box-shadow: 0 2px 2px #a8a8a8, 1px 1px 2px 0 #a8a8a8 inset;
    border: 0;
    z-index: 100;
    border-radius: 10px;
}

.ol-control {
    background-color: rgba(0, 0, 0, 0) !important;
    z-index: 100;
}

    .ol-control button:hover,
    .ol-control button:focus {
        outline: 0px solid var(--ol-subtle-foreground-color);
        border: 0;
    }

/* スケールバーCSS上書き */
.ol-scale-line {
    background: rgba(83, 109, 254, .8);
    left: 10px;
    z-index: 10;
}

.ol-scale-line-inner {
    border: 1px solid #fff;
    border-top: none;
    color: #fff;
    z-index: 10;
}

.ol-zoom {
    top: auto;
    bottom: 2.6em;
    left: auto;
    right: .5em;
}

    .ol-zoom .ol-zoom-in {
        border-radius: 10px 10px 0 0
    }

    .ol-zoom .ol-zoom-out {
        border-radius: 0 0 10px 10px
    }

/**
 * ------------------------------------------------------------------------
 * スライダー
 * ------------------------------------------------------------------------
 */

.noUi-horizontal .noUi-handle {
    width: 20px;
    height: 20px;
    border-radius: 100px;
    top: -6px;
    border: 2px solid #536dfe;
    background: #536dfe;
    box-shadow: none;
}

.noUi-horizontal .noUi-handle::before,
.noUi-horizontal .noUi-handle::after {
    content: none;
}

html:not([dir=rtl]) .noUi-horizontal .noUi-handle {
    right: -10px;
}

.noUi-target {
    border: 2px solid #536dfe;
    background-color: rgba(255, 255, 255, 0.7);
    /* box-shadow:none; */
    /* padding: 0 10px; */
    box-shadow: 0 2px 2px #a8a8a8, 1px 1px 2px 0 #a8a8a8 inset;
}


#slider {
    height: 10px;
    /* padding: 5px 0 0 0; */
}

/*フキダシ表示*/

.noUi-tooltip {
    /* border: 2px solid #536dfe; */
    border-radius: 10px;
    background: #536dfe;
    color: #fff;
    padding: 2px 15px;
}

.noUi-tooltip:after {
    content: "";
    display: block;
    position: absolute;
    border: 5px solid transparent;
    border-top: 6px solid #536dfe;
    bottom: -10px;
    left: 50%;
    margin-left: -5px;
}


/* 目盛り */

.noUi-pips-horizontal {
    /*目盛り部分の大枠*/
    padding: 10px 0;
    height: 50px;
    top: 100%;
    left: 0;
    width: 100%;
}

.noUi-pips {
    /*目盛りの文字色*/
    color: #536dfe;
    font-size: 14px;
    font-weight: bold;
    margin-top: -10px;
}

.noUi-marker {
    /*目盛りの色 */
    background: #536dfe;
}

.noUi-marker-horizontal.noUi-marker {
    width: 2px;
    height: 4px;
}

.noUi-marker-horizontal.noUi-marker-large {
    /*大きい目盛りの高さ*/
    height: 8px;
}


/**
 * ------------------------------------------------------------------------
 * 検索ボックス
 * ------------------------------------------------------------------------
 */

.search-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #536dfe;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    height: 38px;
    z-index: 1002;
    box-shadow: 0 2px 2px #a8a8a8, 1px 1px 2px 0 #a8a8a8 inset;
}

.search-form::before {
    width: 40px;
    height: 15px;
    background-image: url(../img/search.svg);
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 9px;
    content: '';
    z-index: 1001;
}

.search-form input {
    width: calc(20vw - 80px);
    height: 25px;
    padding: 0px 0px 0 25px;
    margin-left: -30px;
    border: none;
    box-sizing: border-box;
    outline: none;
    background-color: transparent;
    z-index: 1000;
    position: absolute;
    bottom: -5px;
}


/* お気に入り表示ボタン */

.search-form button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 35px;
    border: none;
    cursor: pointer;
    z-index: 1003;
    border-radius: 0 24px 24px 0;
}

.search-form button::after {
    width: 20px;
    height: 20px;
    background-image: url(../img/star.svg);
    background-repeat: no-repeat;
    content: '';
}

.search-form button:hover:after {
    transform: scale(1.4);
}

.search-form button:hover:active {
    transform: translateZ(-100px);
}


/*入力補完*/

.ui-autocomplete {
    max-height: 500px;
    width: calc(20vw - 85px);
    overflow-x: hidden;
    overflow-y: scroll;
}

ul.ui-autocomplete {
    position: absolute;
    list-style: none;
    border: none;
    border-radius: 4px;
    cursor: default;
    background-color: #ffffff;
    z-index: 1004;
}


/* 各リスト項目のパディング設定 */

.ui-menu .ui-menu-item-wrapper {
    position: relative;
}


/* リスト全体の背景 */

.ui-widget-content {
    border: 1px solid #536dfe !important;
    background: #fff;
    color: #000 !important;
}


/* リスト hover 時のカラー */

.ui-state-active {
    border: 1px solid #536dfe !important;
    background: #536dfe44 !important;
    font-weight: bold !important;
    color: #000 !important;
}


/* お気に入りタイトル */

.favorite-title {
    padding: 15px 0 10px 0;
    margin: 5px 0;
    font-weight: bold;
    background-color: #536dfe44;
}


/* お気に入り一覧 */

#favorite-list {
    max-height: 500px;
    width: calc(100% - 60px);
    /* width: calc(20vw - 85px); */
    /* width: calc(20vw - 50px); */
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    position: absolute;
    left: 10px;
    border: 1px solid #536dfe !important;
}

#favorite-list li {
    padding: 5px 10px;
}

#favorite-list li:hover {
    border: 1px solid #536dfe !important;
    background: #536dfe44 !important;
    font-weight: bold !important;
}

#search-list {
    max-height: 500px;
    /* width: calc(20vw - 50px); */
    width: 80%;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    position: absolute;
    left: 10px;
    border: 1px solid #536dfe !important;
}

#search-list li {
    padding: 5px 10px;
}

#search-list li:hover {
    border: 1px solid #536dfe !important;
    background: #536dfe44 !important;
    font-weight: bold !important;
}


/*　初期位置として登録　*/

.select-initial-position::after {
    width: 28px;
    height: 28px;
    background-image: url(../img/home.svg);
    background-repeat: no-repeat;
    content: '';
    float: right;
    margin-top: 7px;
    transform: scale(1.2);
}

#btn-add-favorite,
#btn-delete-favorite {
    transition: 0.3s;
}

#btn-add-favorite:hover,
#btn-delete-favorite:hover {
    transform: scale(1.4);
}

#btn-add-favorite:active,
#btn-delete-favorite:active {
    transform: scale(1.0);
}


/**
 * ------------------------------------------------------------------------
 * 日付選択
 * ------------------------------------------------------------------------
 */

#hiduke {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #536dfe;
    border-radius: 25px;
    color: #333;
    font-size: 1em;
    line-height: 1.5;
    box-shadow: 0 2px 2px #a8a8a8, 1px 1px 2px 0 #a8a8a8 inset;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

#hiduke::placeholder {
    color: #666;
}

#hiduke:hover {
    transform: scale(1.1);
}

#hiduke:active {
    transform: scale(1.0);
}


/**
 * ------------------------------------------------------------------------
 * UI裏の地図操作対応
 * ------------------------------------------------------------------------
 */

#search_box {
    pointer-events: none;
}

#menu_box {
    pointer-events: none;
}

.box-item {
    pointer-events: auto;
}


/* フォント追加 */

@font-face {
    font-family: 'map_symbol';
    src: url('../fonts/map_symbol.woff') format('woff');
}

@font-face {
    font-family: 'NotoSansCJKjp-Medium';
    src: url('../fonts/NotoSansCJKjp-Medium.woff') format('woff'), url('../fonts/NotoSansCJKjp-Medium.eot') format('eot');
}

@font-face {
    font-family: 'railroad_symbol';
    src: url('../fonts/railroad_symbol.woff') format('woff');
}

/* ツールチップ色 */
.tooltip-inner {
    max-width: 200px;
    padding: 0.25rem 0.5rem;
    color: #000;
    text-align: center;
    background-color: #ffc620;
    border-radius: 0.25rem;
}
