/* Optional: Makes the sample page fill the window. */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}
.contents{
    width : 90%;
    margin-left: auto;
    margin-right: auto;
    clear:both;
}
.center{
    margin-left:auto;
    margin-right:auto;
}
#header{
    width:100%;
    background-color: #4382B7;
    overflow: auto;
    padding : 30px 0px 30px 0px;
}
.header_icon{
}
.header_title{
    font-weight: bold;
    font-size : 200%;
    color:#FFFFFF;
}
.header_subtitle{
    font-weight: normal;
    color:#ffffff;
}

#header_text{
    padding : 30px 0px 30px 0px;
    text-align: center;
}

#headline_base{
    border: solid 2px #aaaaaa;
    border-radius: 5px;
    padding : 5px;
    margin-top : 30px;
    width:800px;
    margin-left: auto;
    margin-right: auto;
    display: none;
}
#headline_head{
    font-weight: bold;
    margin-top:-15px;
    background-color: #ffffff;
    width : 90px;
    margin-left: auto;
    margin-right: auto;
}
#headline {
    text-align: left;
    font-size: 80%;
}
#header_search{
    padding : 30px 0px 30px 0px;
    border-top:1px solid #DEDEDE;
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
    #headline_base{
        width:90%;
    }        
}
#header_search .center{
    width:600px;
}
#GPS{
    display: none;
    margin-bottom: 10px;
}
.search_title{
    font-size: 80%;
}
#txtKeyword{
    border:0;
    padding:6px;
    font-size: 120%;
    border:solid 1px #DCDCDC;
    margin:0 0 20px;
    width:400px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}
#btnSearch{
    border:0;
    padding:5px;
    font-size: 120%;
    color:#FFFFFF;
    border:solid 1px #ccc;
    margin:0 0 20px 10px;
    width:80px;
    background-color: #4382B7;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    .contents{
        width : calc(100% - 20px);
        clear:both;
    }
    #header_search .center{
        width:100%;
    }
    #btnGPS{
        font-size: 120%;
        color:#FFFFFF;
        margin:0 auto 0px auto;
        width:100%;
        padding : 20px 0px 20px 0px;
        background-color: #7DAA95;

        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
    }
    .search_title{
        font-size: 100%;
    }
    #txtKeyword{
        width:75%;
    }

    #btnSearch{
        width:20%;
        margin-left: 0px;
    }
 
}

#map_select{
    background-color: #F8F8F8;
    overflow: auto;
    padding : 40px 0px 40px 0px;
}
.left{
    float:left;
}
.right{
    float:left;
}
#japanmap_base{
    margin-left: auto;
    margin-right : auto;
}
#japanmap_base .map_title{
    width : 120px;
    font-weight: bold;
    margin-top : 10px;
    border-left: 1px solid #000000;
    border-top: 1px solid #000000;
    border-right: 1px solid #000000;
    padding : 5px;
}
#japanmap {
    
}
.map_text{
    font-size: 80%;
}
#pref_list{
    margin: 10px;
    display: none;
}
.pref_group{
    clear: both;
    margin-bottom: 10px;
    overflow: auto;
}
.pref_list_item{
    float:left;
    width : 130px;
    padding : 10px 0px 10px 0px;
    margin : 2px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
    #pref_list{
        margin: 5px;
    }
    .pref_list_item{
        width : 110px;
    }
}
.color1 .pref_list_item{
    background-color: #BED3CA;
}
.color1 .pref_list_item:hover{
    background-color: #DAEFE6;
}
.color2 .pref_list_item{
    background-color: #DBE6E0;
}
.color2 .pref_list_item:hover{
    background-color: #E6EFEA;
}

#map_result{
    overflow: auto;
    padding : 40px 0px 0px 0px;
}
#map {
    width : 100%;
    height : 80%;
    margin : 0px;
}
#list{
    position: relative;
    height : 80%;
    width: 30%;
    float:left;
    overflow: scroll;
    margin-left : 10px;
}

.info {
    padding: 5px;
    cursor: pointer;
    background-color : #FFFFFF;
}
.info:hover{
    background-color : #EEEEFF;
}
.info_title{
    font-weight: bold;
    background-color: #fcefa1;
}
.info_item{
    
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    #map {
        width : 100%;
        height : 80%;
        margin : 0px;
    }
    #list{
        position: relative;
        height : 100px;
        width: 100%;
        clear: both;
        overflow: scroll;
        margin-left : 10px;
    }
    .info {
        clear: both;
    }    
    .info_item{
        float:left;
        margin-right: 5px;
    }
    
}

#footer{
    position: relative;
    border-top: 8px solid #4382B7;
    background-color: #EDF0F7;
    padding : 20px 0px 20px 0px;
    text-align: center;
}
#back_btn{
    position: absolute;
    right : 50px;
    top : -50px;
}

@media only screen and (min-width: 321px) and (max-width: 768px) {
    #back_btn{
        right : 5px;
        top : -40px;
    }

    #back_btn img{
        height : 60px;
        width : 60px;
    }
}