@charset "UTF-8";

html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    padding: 10px;
    font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
}

form {
    margin: 0;
    padding: 0;
}

hr {
    border: 1px solid #CCC;
    margin: 3px 0 0 0;
}

/*===== about =====*/

.tw {
    width: 100%;
}

/*===== default & one =====*/

.link {
    text-decoration: underline;
    color: #0000EE;
    cursor: pointer;
    margin-bottom: 5px;
}

#crosshair {
    position: absolute;
    top: calc(50% - 16px);
    left: calc(50% - 16px);
    width: 32px;
    height: 32px;
    z-index: 2;
}

#style-change {
    position: absolute;
    top: 80px;
    right: 9px;
    width: 32px;
    height: 32px;
    z-index: 2;
    padding: 2px;
    background-image: url('/images/sat.svg');
    background-size: 90%;
    background-color: #FFF;
    background-repeat: no-repeat;
    background-position: center;
    border: 2px solid #CCC;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
}

#container {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    height: 100%;
    max-height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.header {
    font-size: 150%;
    font-weight: bold;
    padding-top: 50px;
    font-family:Verdana;
    color: #777;
}

.about {
    padding-top: 50px;
    text-align: center;
}
.about a {
    font-size: 12px;
}
#info-switch {
    color: #bbb;
    cursor: pointer;
    font-size: 14px;
}
.about h2 {
    color: #777;
    font-size: 100%;
}
.about ul li {
    color: #444;
    font-size: 80%;
    padding-right: 15px;
}
.info {
    width: 50%;
    min-width: 480px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 40px;
}
.info section {
    text-align: left;
    padding: 10px 0 10px 0px;
}
.info ul {
    width: 100%;
    text-align: left;
    list-style-type: square;
    padding-inline-start: 20px;
    /*padding-inline-end: 20px;*/
}
.footer {
    width: 100%;
    color: #aaa;
    font-size: 10px;
}

input {
    outline: none;
}
input[type="submit"],
input[type="button"] {
    border-radius: 0;
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
}
input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
    display: none; 
}
input[type="submit"]::focus,
input[type="button"]::focus {
    outline-offset: -2px;
}

.index-form input[type=search] {
    width: 40%;
    min-width: 300px;
    height: 20px;
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    font-family: inherit;
    font-size: 80%;
    background: #fff url('/images/search.png') no-repeat 9px center;
    border: solid 1px #ccc;
    padding: 9px 10px 9px 32px;
    margin: 10px 0;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.index-form input[type=search]:focus {
    -moz-box-shadow:0 0 10px 5px #eee;
    -webkit-box-shadow:0 0 10px 5px #eee;
    box-shadow:0 0 10px 5px #eee;
}
.index-form input[type=submit] {
    background-color: #f3f3f3;
    border: 1px solid #f2f2f2;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #666;
    margin: 10px 4px;
    padding: 0 16px;
    line-height: 27px;
    height: 36px;
    min-width: 120px;
    text-align: center;
    cursor: pointer;
    font-size: 80%;
}

#header-container {
    width: 100%;
    height: 90px;
}
#searchbar {
    position: relative;
    width: 100%;
    height: 36px;
    background-color: #FFF;
    margin-bottom: 5px;
}
#smalllogo {
    position: absolute;
    top: 0;
    left: 0;
    padding: 9px 0 0 6px;
}
#smalllogo, #smalllogo img {
    width: 20px;
    height: 21px;
}
#search {
    position: absolute;
    top: 0;
    left: 0;
    margin: 4px 0 0 35px;
    z-index: 1;
}
#searchform {
    padding: 0;
}
#searchform input[type=search] {
    width: calc(100vw - 400px);
    height: 10px;
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    font-family: inherit;
    font-size: 80%;
    background: #fff url('/images/search.png') no-repeat 9px center;
    border: solid 1px #777;
    padding: 10px 0px 10px 32px;
    margin: 0;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
#searchform input[type=search].loading {
    background: #fff url('/images/loading_18x18.gif') no-repeat 9px center;
}
#searchform input[type=search]:focus {
    background-color: #fff;
    border-color: #66CC75;

    -webkit-box-shadow: 0 0 5px rgba(109,207,246,.5);
    -moz-box-shadow: 0 0 5px rgba(109,207,246,.5);
    box-shadow: 0 0 5px rgba(109,207,246,.5);
}
input:-moz-placeholder {
    color: #999;
}
input::-webkit-input-placeholder {
    color: #999;
}
#center-coordinates {
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
    z-index: 0;
}
#now-coordinates {
    padding: 11px 16px 0 5px;
    font-size: 80%;
    background-color: rgba(255, 255, 255, 0);
    white-space: nowrap;
    background-color: #FFF;
}

#resultbar {
    position: relative;
    width: 100%;
    height: 50px;
    font-size: 80%;
}
#address {
    padding: 5px 5px 0px 5px;
    border-top: 1px solid #AAA;
}

span.googlemaps a {
    background: url('/images/link-out.svg') center right no-repeat;
    background-size: 23px;
    padding-right: 19px;
    padding-left: 5px;
}
span.googleearth a {
}

#adbar {
    width: 100%;
    height: 90px;
    padding: 0;
    text-align: center;
}

.nowrap {
    white-space: nowrap;
}

#map-container {
    width: 100%;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    box-flex: 1;
    overflow: auto;
    background-color: #ccf;
    position: relative;
    text-align: center;
}
#map {
    position: absolute;
    width: 100%;
    height: 100%;
}
#google-on-map {
    position: relative;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    height: 80%;
}

.error {
    font-size: 90%;
    font-weight: bold;
    color: red;
}

#show-map-link {
    position: relative;
    margin: 0 auto 5px auto;
    border: 2px solid #CCC;
    padding: 0;
    background-color: #eb6100;
    width: 140px;
    height: 30px;
    text-align: center;
    border-radius: 4px;
}

#show-map-link a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    padding: 0;
    text-decoration: none;
    font-weight: bold;
}

#show-map-link a span {
    vertical-align: middle;
}

/*===== rotation =====*/

.rotate {
    animation: r1 1s linear infinite;
}

@keyframes r1 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*===== flash =====*/

.flash {
    -webkit-animation-name: flash-animation;
    -webkit-animation-duration: 0.4s;
    animation-name: flash-animation;
    animation-duration: 0.4s;
}

@-webkit-keyframes flash-animation {
    from { background: yellow; }
    to   { background: default; }
}

@keyframes flash-animation {
    from { background: yellow; }
    to   { background: default; }
}

/*===== screen width =====*/

.responsive {
    width: 100%;
    height: 60px;
    margin: auto;
}
@media screen and (min-width: 0px) and (max-width: 897px) {
    #searchform input[type=search] {
        width: calc(100vw - 380px);
    }
    #searchform input[type=search]:focus {
        width: 80vw;
    }
    #adbar {
        height: 60px;
    }
}
@media screen and (min-width: 481px) and (max-width: 896px) and (orientation : landscape) {
    #smalllogo {
        left: 33px;
    }
    #search {
        left: 32px;
    }
    #center-coordinates {
        right: 33px;
    }
    #address {
        padding: 5px 40px 0 40px;
    }
    .responsive {
        width: 80%;
    }
    #searchform input[type=search] {
        width: calc(100vw - 470px);
    }
    #adbar {
        height: 60px;
    }
}
@media screen and (min-width: 897px) {
    #address {
        padding: 15px 10px;
    }
    .responsive {
        width: 100%;
        height: 90px;
        margin: auto;
    }
}

