﻿header {
    margin: 0px;
    display:block;
    -moz-background-size:100% auto;
    background-size:100% auto;
    width: auto;
    width: 100%;
    height: 300px;
    background: url("../image/top.jpg") no-repeat 100%;
    background-size: cover;
    border:none;
    border-radius: 0.5em;
    color:#fff;
    text-shadow: 0px 0px 4px #000000;
}

/*Logo Text Style*/

hgroup{
    padding: 30px;
}
hgroup p{
    margin: 0;
    font-family: "Sawarabi Mincho";
    font-weight:700; 
}

hgroup p:nth-child(1){
    font-size: 21px;
}

hgroup p:nth-child(2){
    font-size: 43px;
}



/*記事全体のStyle*/
section {
    width: 70%;
    margin-left: auto; margin-right: auto;
    padding-bottom:10px;
    font-family: Georgia, 'Hiragino Mincho Pro', Meiryo, serif;
    font-size: 1.2em;
}

/*各記事のStyle*/
article h1 {
    text-align:left; 
    
    /*
    border-bottom: solid 5px #754c24;
    
    border-radius: 5px;

    color:#000;
    
    */
    
    /*floatの回り込みを削除*/
    clear: both;
}

/*各文章のStyle*/
article p{
    padding: 5px;
    overflow: auto;
    
}

/*タイトルの下線*/
article h1::after {
    background-color: #B78D64 ; /* 線色 */
    border-radius: 5px; /* 線幅の半分 */
    content: "";
    display: block;
    height: 4px; /* 線幅 */
    margin: 5px 2px 2px 0;
}


/*各画像に枠を追加*/
article p img{
    margin: 0px 10px;
    border: 5px solid;
    border-color: #e7e2d7;
    width: 20%;
    display: block;
}

/*画像回り込みの制御*/
article .right{
    float: right;
}

article .left{
    float: left;
    overflow: visible;
}

/*menuBarのディスプレイ設定*/



.myStyleButton{
    cursor: pointer;
    
    margin-right: auto;
    margin-left: auto;
    width: 90%;
    min-height: 54px;
    height: auto;
    display: flex;
	align-items: center;
    background-color:#754C24;
    justify-content: space-around;
}

.myStyleButton div{
    color: #e7e2d7;
    font-family: Georgia, 'Hiragino Mincho Pro', Meiryo, serif;
    text-align: center;
    font-size: 1.7em;
    flex-grow: 2;
}

.myStyleButton i{
    background-color: rgba(0, 0, 0, 0);
    display: inline-block;
    float: right;
    padding: 15px;
  
}

.myStyleButton [type=checkbox]  {
    display: none;
}

.material-icons.myStyle {
    font-size: 1.7em;
    color: #e7e2d7;
}

/*メニュー表示設定*/

.viewerBox{
    display: none;
    
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    
    flex-wrap: wrap;
    
    -webkit-align-content: space-around; /* Safari */
    align-content:         space-around;
}

/*メニューのタイトル*/

.viewerBox h2{
    width: 100%;
    height: auto;
    display: inline;
    
    font-size: 1.5em;
    color: #754c24;
    
}

/*メニューブロックそれぞれの設定*/

.menuArticle {
    width: 370px;
    background-color: #b78d64;
    margin: 7px;
    /*
    background-image: radial-gradient(#8b6540 10%, transparent 20%), radial-gradient(#8b6540 10%, transparent 20%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    */
    color: #e7e2d7;
}

.menuArticle p {
    margin: 0;
    padding: 7px;
    background-color: #8b6540; 
}

.cautionNote {
    margin-top: 7px;
    
    width: 100%;
    display: inline-block;
    text-align:right;
    
    font-size: 7px;
    color: #c51d1d;
    
}

.menuTable{
    margin: 0;
}

.menuImage{
    box-sizing: 50%;
    margin: 5px;
    display: inline-block;
    float: left;
}

.menuImage span{
    width: 100%;
    display: inline-block;
    text-align: center;
}

.menuArticle table{
    margin: auto;
}

.menuArticle td{
    text-align: center;
    vertical-align: middle;
}

.menuArticle .thumbnail{
    cursor: pointer;
    width: 100%;
    border: 5px solid;
    border-color: #8b6540;
    box-sizing: border-box;
}

.menuArticle ul{
    width: 90%;
    display: block;
    margin: 5px auto;
    padding: 0;
    
    font-size: 16px;
}

.menuArticle li{
    padding: 3px;
    border-bottom: 1px dotted;
    border-color: #e7e2d7;
    
}

.menuArticle li > div{
    width: 150px;
    margin-left: auto;
}

.menuInfomation{
    min-height: 100px;
    height: auto;
    border-top: 1px dotted;
    border-color: #e7e2d7;
    clear: both;
}

.menuInfomation p{
    background-color: transparent;
    padding: 2px 5px;
    font-size: 1.1em;
}

/*画像拡大表示用*/

.rawImage{
    display: none;
    background-color: rgba(0,0,0,0.5);
    position: fixed;

    overflow: scroll;

    left: 0;
    top: 0;
}

/*スクロールボタン設定用*/

.sidebar{
    width: 70px;

    position: fixed;
    bottom: 30px;
    right: 7%;
}

.sidebar ul,li{
    display: inline-block;
    list-style-type: none;
    width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    width: 100%;
    height: 50px;

    margin: 2px;
    background-color: rgba(117, 76, 36, 0.9);
    color: #e7e2d7;
    font-size: 13px;

    border-style: none;
    border-radius: 10px;

}

button:hover {
    background-color: #b78d64;
}

.rawImage img{
    display: block;
    width: 50%;
    position: fixed;

    border: 10px solid #e7e2d7;
    border-radius: 5px;
}

button i{
    margin: 0px;
    display: inline;
    width: 100%;
}

/*maps*/

.place{
    display: flex;
    
    -webkit-flex-wrap: wrap-reverse; /* Safari */
    flex-wrap: wrap;
    
    -webkit-justify-content: space-between; /* Safari */
    justify-content: space-between;
    
    -webkit-align-content: stretch; /* Safari */
    align-content: stretch;
}

#map_canvas{
    width: 320px;
    height: 35em;
    
    -webkit-flex-grow: 7; /* Safari */
    flex-grow: 7;
}

.placeInfo{
    color: #754c24;
    margin: 10px;
}

.placeInfo h2, .material-icons.placeStyle{
    font-size:17px;
}

.placeInfo h2{
    margin: 7px;
    border-bottom: 1px solid #754c24;
}

.placeInfo p, .material-icons.pStyle{
    font-size:13px;
}

.placeInfo p{
    margin: 0;
    padding: 3px;
}




/*Footer Style*/
footer {
    clear:both !important;
    padding: 10px 30px;
    background-color: #754c24;
    border:none;
    color:#e7e2d7;
    font-size:0.8em;
    text-align:right;
    margin-top: 10px;
}

footer a {
    margin:0px 5px;
}

/*スマフォ用*/

@media (max-width: 767px){
    
    body{
        margin: 0;
    }
    
    /*ヘッダー画像削除*/
    header{
        background: #754c24 url("");
        height: 150px;
        border-radius: 0px;
    }
    
    .hide{
        display: none;
    }
    
    section{
        width: 98%;
        font-size: 1.5em;
    }
    
    
    /*ヘッダー文字リサイズ*/
    
    hgroup p:nth-child(1){
        font-size: 1.0em;
    }

    hgroup p:nth-child(2){
        font-size: 2em;
    }
    
    
    /*各Top画像削除*/
    article p img{
        display: none;
    }
    
    /*メニューバー文字リサイズ*/
    .myStyleButton div{
        font-size: 0.9em;
    }
    
    /*メニューバーアイコンリサイズ*/
    .myStyleButton i{
        padding: 7px;
    }
    
    /*メニューリサイズ*/    
    .menuArticle {
        width: 90%;
        margin:  5px auto;
    }
    
    .menuImage{
        display: block;
        box-sizing: 100%;
        float: none;
    }
    
    .menuArticle table{
        width: 100%;
    }
    .thumbnail{
        width: 80%;
    }
    
    .rawImage{
        width: auto;
    }
    
    .thumbnailBox{
        width: 80%;
        margin: auto;
    }
    
    .menuInfomation p, .menuArticle ul{
        font-size: 0.8em;
    }

    
    /*マップリサイズ*/
    #map_canvas{
        height: 20em;
    }
    
    .sidebar{
        width: 90px;
        height: 80px;
    }
    
    
    .sidebar li:last-child{
        display: none;
    }
    
    .sidebar{
        bottom: 90px;
        right: 50px;
    }
    
    /*画像拡大の禁止*/
    .cautionNote{
        display: none;
    }
    
    .thumbnailBox{
        pointer-events: none;
    }
}


