﻿body {
    margin: 0;
    overflow: hidden;
}

/* 
    iOS6 の地図が動かない対策で追加したhtmlタグのスタイル
*/
a.skiplink {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

    a.skiplink:focus {
        clip: auto;
        height: auto;
        width: auto;
        background-color: #fff;
        /*padding: 0.3em;*/
        padding: 0;
    }

/* 
    iPhone の Safari で吹き出しの影が残る対策
*/
/**,
*::before,
*::after {
    transform: translate3d(0, 0, 0);
}*/

.ol-rotate {
    left: auto;
    right: 8px;
    top: 50px;
    bottom: auto;
}

.olMap_Default .ol-rotate {
    left: auto;
    right: 8px;
    top: 50px;
    bottom: auto;
}

.olMap_header_invisible .ol-rotate {
    left: auto;
    right: 8px;
    top: 8px;
    bottom: auto;
}

.ol-zoom {
    left: auto;
    right: 8px;
    top: auto;
    /*bottom: 25px;*/
    bottom: 42px;
}

.ol-popup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 12px;
    border-radius: 7px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 180px;
    max-width: 320px;
    width: max-content;
    font-family: 'NotoSansCJKjp-Medium';
}

.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: -2px;
    right: 4px;
}

.ol-popup-closer:after {
    content: "✖";
}

.popupTitle {
    overflow: hidden;
    /*border: 1px solid #ccc;*/
    /*padding: 10px;*/
    width: 240px;
    font-weight: bold;
    font-size: 16px;
    /*background: #eee;*/
    line-height: 1.0;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis; /* Safari */
    -o-text-overflow: ellipsis; /* Opera */
}

.popupText {
    /* config */
    padding-top: 8px;
    line-height: 1.0;
    height: 3em;
    background-color: #fff;
    /* config end */
    position: relative;
    padding-right: 1em;
    overflow: hidden;
}

    .popupText:before {
        content: "...";
        position: absolute;
        right: 0;
        bottom: 0;
        display: inline-block;
        width: 1em;
    }

    .popupText:after {
        content: "";
        position: relative;
        right: -1em;
        float: right;
        width: 1em;
        height: 100%;
        background-color: inherit;
    }

#cross_cursor_canvas {
    position: absolute;
    height: 100%;
    width: 100%;
    pointer-events: none;
    z-index: 10;
    background-color: transparent;
}

/* 星表示 */
.star-rating {
    position: relative;
    width: 5em;
    height: 1em;
    font-size: 25px;
}

.star-rating-front {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    /*color: #ffcc33;*/
    color: #ffa500;
}

.star-rating-back {
    color: #ccc;
}

/* 標準 */
:placeholder-shown {
    color: #ccc;
}

/*::-placeholder {
        color: #ccc;
    }*/

/* Google Chrome, Safari, Opera 15+, Android, iOS */
::-webkit-input-placeholder {
    color: #ccc;
}

/* Firefox 18- */
:-moz-placeholder {
    color: #ccc;
    opacity: 1;
}

/* Firefox 19+ */
::-moz-placeholder {
    color: #ccc;
    opacity: 1;
}

/* IE10 */
:-ms-input-placeholder {
    color: #ccc;
}

/* フォント追加 */
@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');
}