/*
Theme Name: Mizunoko_Message
Theme URI: 
Description: 水の子健康倶楽部 メッセージテーマ
Version: 1.0
Author: smooth design
Author URI: http://www.smooth-desgin.info/
*/
@charset "utf-8";


/* cssは本サイトのcssを使用する */


ul.cateList {
    width: auto;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    justify-content:center;
    margin-bottom: 4rem;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

ul.cateList li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

ul.cateList li a{
    border:1px solid #ddd;
    line-height: 1;
    padding: 6px 10px;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
	margin: 0 2px;
    font-size: 0.93rem;
    color:#999;
    margin-bottom: 4px;
}
ul.cateList li a:hover{
    color:#FFF; 
    background-color:#fb8d6d; 
    border-color:#fb8d6d;
}

ul.cateList li.current-cat a{
    background:  #fb8d6d;
    color:#fff;
    border-color: #fb8d6d;
}

.galleryBox {
    display: inline-block;
}

ul.gallery {
    height: 500px;
    overflow: auto;
    display: -webkit-box;
    display: -ms-flexbox;    
    display: flex;
    margin-bottom: 2rem;
    max-width: 980px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

}
ul.gallery li{
    -webkit-overflow-scrolling: touch;
    position: relative;
    height: calc(100% - 4px);
    margin-right: 4px;
    scroll-snap-align: start;
flex:none;

}

ul.gallery li img{
    height: 100%;
    width: auto;
}

.post {


    
/*    background: #ddd;*/
}

.postCont h2{
    font-size: 1.2rem;
    font-weight: normal;
    color: #fb8d6d;
    text-align: left;
    margin-bottom: .2rem;
}


.postCont {
    text-align: justify;
    width: 92%;
    margin: auto;
/*    padding-left: 5%;*/
    box-sizing: border-box;
}

.newsNavi {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    justify-content: space-between;
    width: 100%;
    margin: 1rem 0;
}


/*wp-pagenavi base*/
.wp-pagenavi {
	clear: both;
	text-align:center;
    margin-bottom: 2rem;
}
.wp-pagenavi a, .wp-pagenavi span,.naviPrev a,.naviNext a {
	color: #999;
	background-color: #FFF;
	/* border: solid 1px #ddd; */
	padding: 6px 10px;
	margin: 0 2px;
	white-space: nowrap;
	text-align: center;
	text-decoration:none;
}
.wp-pagenavi a:hover,.naviPrev a:hover,.naviNext a:hover {
    color:#FFF; 
    background-color:#fb8d6d; 
    border-color:#fb8d6d;
    }
.wp-pagenavi span.current{
	color: #FFF;
	background-color: #fb8d6d;
	border-color: #fb8d6d;

    }


@media all and (max-width: 768px) {


    .postCont {
        width: 100%;   
    }
}

