/*#wpadminbar{
	display: none;
}*/
#wpadminbar .quicklinks a{
    height: unset;
}
body{
	overflow-x: hidden;
}

.hide-pc{
	display: none!important;
}

.hide-sp{
	display: block!important;
}
.overlay-bg{
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9;
}
/*Menu SP*/
#navSp{
	float: right;
	position: relative;
    z-index: 99999;
}
#navSp .btn-menu{
    font-size: 40px;
    background-color: #fe0101;
    /*border-radius: 10px;*/
    padding: 5px 7px;
    color: #fff;
    outline: none;
    border: 0;
    line-height: 40px;
}

#navSp .nav-list .btn-close{
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0;
    width: 40px;
    background-color: transparent;
    color: red;
    height: 40px;
    font-size: 20px;
}
#navSp .nav-list .brand-logo{
    width: 50%;
    margin: 0 auto 30px;
}
#navSp .nav-list #search{
    width: 100%;
}

#navSp .nav-list #search #s{
    width: 50%;
    margin: 0;
    padding: 10px;
    background-position: 95% center;
}

#navSp .nav-list li{
	color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 15px;
}


#navSp .nav-list { 
    background-color: #fff;
    width: 100%;
    overflow: auto;
    margin: 0;
    text-align: center;
    position: fixed;
    right: -150%;
    top: 0;
    height: 100%;
    transition: all ease 0.5s;
    padding: 100px 0px;
    border: 0;
}

#navSp .nav-list.show {
    right: 0;
}

.title-cat{
    font-size: 17px;
    color: #000;
    margin-bottom: 10px;
}

h6.archive-header a{
    font-size: 14px;
}


.archive .sp-50{
    margin-bottom: 10px;
}

.galleria-container{
    max-width: 100%;
}
.galleria-container .galleria-stage .galleria-image img{
    top: 0!important;
}
/*.galleria-container .galleria-image img{
    display: block!important;
    width: 100%!important;
    max-width: 100%;
    height: auto!important;
    top: 0!important;
}*/

.content p, ul.news-list li, .post p{
    text-align: justify;
}
[id^="post-"] p{
    text-align: justify!important;
}
[id^="attachment_"]{
    max-width: 100%;
    padding-right: 10px;
}
img.alignright{
    max-width: 100%;
    height: auto;
}
#attachment_1761 p{
    margin-bottom: 0;
}
#posttitle{
    position: absolute;
    font-size: 16px;
    z-index: 2;
    text-align: center;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
@media only screen and (max-width: 992px) {
    .body{
        margin-top: 0;
    }
    .hide-pc{
        display: block!important;
    }

    .hide-sp{
        display: none!important;
    }

    .sp-100{
        width: 100%;
    }

    .sp-50{
        width: 50%;
        margin: 0!important;
    }
    .responsive-image{
        width: 100%;
        height: auto;
        max-height: 100%;
        max-width: 100%;
        display: block;
    }
    .featured-content .sp-50:nth-child(2n){
        clear: both;
    }
    .archive .sp-50:nth-child(2n+1){
        clear: both;
    }
	.container-inner, .container{
		width: 98%;
        overflow: hidden;
	}
    .static-image-wrapper{
        max-width: 100%;
        height: auto;
    }
    .static-image-wrapper img{
        max-width: 100%;
        height: auto;
        display: block;
        width: 100%;
    }

    .portfolio-image-wrapper{
        padding: 10px;
    }
    
    .archive .inner-archive{
        padding: 10px;
    }

    .archive .archive-stack.clear{
        display: none;
    }
    
    ul.news-list li a{
        text-indent: 10px;
        font-size: 16px;
        color: #fe0001;
        font-weight: bold;
        margin-bottom: 10px; 
    }


    #footer p{
        margin-bottom: 0;
    }


}
@media only screen and (max-width: 768px) {
        
    #navSp .btn-menu{
        padding: 2px 5px;
        line-height: 38px;
    }

    #masthead{
        margin-top: 0;        
    }

    .portfolio-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .galleria-thumbnails-container {
        left: 0;
        right: 0;
    }

    /*.galleria-stage .galleria-image img {
        top: 0!important;
    }

    .galleria-thumbnails .galleria-image {
        width: 23.65%!important;
        margin-right: 1%!important;
    }

    .galleria-thumbnails .galleria-image:nth-child(4n) {
        margin-right: 0!important;
    }*/

    .container-inner {
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    .btn-link-to a{
        font-size: 14px;
    }
    .logo{
        width: 200px;
    }
    .next a{
        text-align: right;
    }
    .prev a{
        text-align: left;
    }
    .title-cat{
        padding: 0 10px;
    }
    .featured-content{
        margin-right: 0!important;
    }
}


@media only screen and (max-width: 376px) {

    .xs-100{
        width: 100%;
    }
    #navSp .btn-menu{ 
        padding: 2px 5px;
        font-size: 30px;
        line-height: 30px;
    }   
    .btn-link-to a{
        padding: 5px;
        font-size: 12px;
    }
    .logo{
        width: 180px;
    }
}