/*
Theme Name: 20150514_suga_2_I05_T05_001
Author: ZEL
*/

@import url("css/color.css");

/* Reset
-------------------------------------------------------------- */

* {
	padding: 0;
	margin: 0;
	list-style: none;
	font-style:normal;
}
body,div,pre,p,blockquote,form,fieldset,dl,dt,dd,li,h1,h2,h3,h4,h5,h6,table,th,td,embed,object,button{
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	font-size: 100%;
	font-weight: normal;
}
body {
    font-family: "メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
    font-size: 14px;
    overflow-y: scroll;
    word-break: break-all;
}
select,input,textarea,option {
	font-family: 'メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
}
img{
	border: 0;
	margin: 0px;
	padding: 0px;
    vertical-align: bottom;
}
a img{
	border-style: none;
	border:0;
}
h1,h2,h3,h4,h5,h6{
	margin: 0px;
	font-style: normal;
	padding: 0px;
	line-height: normal;
	font-weight: normal;
	clear: both;
}
a {
    outline: medium none;
    text-decoration: underline;
}
a:hover {
    text-decoration: underline;
}
*:after { clear:both; }

/* Common
-------------------------------------------------------------- */
h1 {
}
h2 {
    margin: 0;
    padding: 10px;
    font-size: 150%;
}
h3 {
    font-size: 130%;
    margin-bottom: 10px;
    padding-left: 10px;
}
h3 a {
    text-decoration: none;
}
article {
}
.inner {
	max-width: 980px;
	margin:0 auto;
	overflow:hidden;
}
.text {
	line-height: 1.7em;
}
.status {
    font-size: 80%;
    padding: 5px 0;
}


/* Layout
-------------------------------------------------------------- */
#wrapper {
    overflow: hidden;
}

/* Style
-------------------------------------------------------------- */
/* header */
#headerWrap {
    overflow: hidden;
}
    #headerContents {
        overflow: hidden;
    }
        .h1 {
            float: left;
            line-height: 25px;
            padding: 2px 0;
            text-align: right;
            width: 100%;
        }
    #mainImg {
        width: 100%;
        float: right;
    }
        #mainImg img {
            height: auto;
            margin: 0 auto;
            vertical-align: bottom;
            width: 100%;
        }
    #logo {
        float: left;
        width: 70%;
    }
        #logo p {
            font-size: 130%;
            font-weight: bold;
            padding: 15px 15px 65px;
        }
            #logo a {
                text-decoration: none;
            }
    #menu-box {
        float: right;
        width: 30%;
    }
        #toggle {
                display: none;
            }
        #menu {
                margin-bottom: -99999px;
                overflow: hidden;
                padding-bottom: 99999px;
                width: 100%;
            }
                #menu li {
                    display: block;
                    float: left;
                    margin: 0;
                    padding: 0;
                    width: 100%;
                }
                #menu li:first-child {
                    box-sizing: border-box;
                }
                    #menu li a {
                        display: block;
                        padding: 15px 0;
                        text-align: center;
                        text-decoration: none;
                    }
    #breadcrumb {
        clear: both;
    }
        #breadcrumbList {
            padding: 5px 0;
        }
            #breadcrumb ul li {
                display: inline-block;
            }
            #breadcrumb ul li:first-child {
                padding-left: 10px;
            }
            #breadcrumb ul li:before {
                content: ">";
                font-size: 75%;
                padding: 0 10px;
                vertical-align: middle;
            }
            #breadcrumb ul li:first-child:before {
                content: "";
                padding: 0;
            }
            #breadcrumb ul li > * {
                font-size: 80%;
            }




/* index */
#containerWrap {
    overflow: hidden;
    margin-bottom: 30px;
}
    #primary {
        overflow: hidden;
        width: 100%;
    }
        .indexContents_Left {
            float: left;
            width: 50%;
        }
        .indexContents_Right {
            float: right;
            width: 50%;
        }
            .indexPostImg {
                float: left;
                overflow: hidden;
                width: 100%;
            }
            .indexPostImg figure {
                float: left;
                overflow: hidden;
                width: 100%;
            }
            .indexPostImg figure img {
                height: auto;
                vertical-align: bottom;
                width: 100%;
            }
            .indexPostTxt {
                float: right;
            }
            .textwidget {
                padding: 10px 10px 20px;
            }




/* sidebar */
#secondaryWrap {
    float: right;
    width: 100%;
}
    #newPost {
        width: 50%;
        float: left;
    }
    #category {
        width: 50%;
        float: right;
    }
        .arrow {
       padding: 10px 10px 20px;
    }
        .arrow li {
            line-height: 1.8em;
            padding-left: 15px;
            position: relative;
        }
        .arrow li::before {
            border-style: solid;
            border-width: 5px 0 5px 5px;
            content: "";
            height: 0;
            left: 0;
            position: absolute;
            top: 6px;
            width: 0;
        }



/* category */
#catBox {
    overflow: hidden;
    width: 100%;
}
    #catList li {
        padding: 20px 10px;
    }
    #catList li:first-child {
        border-top: none;
        padding: 10px 10px 20px;
    }
        #catList li .text p {
            margin: 10px 0;
            text-align: right;
        }
        #catList li .text p .more {
            border-radius: 5px;
            padding: 5px 10px;
        }


/* single */
#postArticle {
    width: 100%;
}
    .Article_main {
        padding: 10px;
    }
    .text {
    margin: 5px 0 30px;
    }
    #postNavi {
        margin-bottom: 30px;
        padding-top: 10px;
    }
        #postNavi ul {
            overflow: hidden;
        }
            #postNavi ul li {
	           font-size:80%;
            }
            #postNavi ul li.prev {
                float: left;
            }
            #postNavi ul li.next {
                float: right;
            }
    #relatedPost ul li {
        line-height: 1.8em;
    }


/* page */
#page {
    width: 100%;
}
#page section {
    margin-bottom: 30px;
}


/* footer */
#footerWrap {

}
    .copyright {
        font-size: 80%;
        line-height: 4em;
        text-align: center;
    }


/* Media Queries
-------------------------------------------------------------- */
@media screen and (max-width: 800px) {
    #primary {
        float: none;
        width: 100%;
    }
    #secondaryWrap {
        float: none;
        width: 100%;
    }
    .indexPostImg {
        max-width: 100%;
    }
    .indexPostImg figure img {
        float: left;
        width: 100%;
    }
    .indexPostTxt {
        max-width: 100%;
    }
    #imgGallery figure {
        float: left;
        width: 50%;
    }
    #imgGallery .Gallery1 img {
        padding: 5% 5% 0 10%;
    }
    #imgGallery .Gallery2 img {
        padding: 5%;
    }
      .indexContents_Left {
        width: 100%;
    }
    .indexContents_Right {
        width: 100%;
    }
    .indexPostImg figure img {
        padding: 10%;
        width: 80%;
    }
}
@media screen and (max-width: 480px) {
    .h1 {
        float: none;
        line-height: 28px;
        padding: 5px;
        width: 100%;
    }
    #mainImg {
        width: 100%;
        float: none;
    }
    #primary {
        float: none;
        width: 100%;
    }
    #secondaryWrap {
        float: none;
        width: 100%;
    }
    #menu-box {
        width: 100%;
        float: none;
    }
    #logo {
        float: none;
        width: 100%;
    }
    #catBox,#page,#postArticle {
        width: 100%;
    }
    #conainerWrap {
        overflow: hidden;
    }
    #newPost,#category {
        width: 100%;
        padding: 0;
        margin: 0;
    }
}
@media screen and (max-width: 330px) {
    .copyright {
        line-height: 2em !important;
    }
    .copyright a {
        display: table;
        text-align: center;
        width: 100%;
    }
}


/* Media Queries [menu]
-------------------------------------------------------------- */
@media only screen and (max-width: 768px) {
    #menu li{
        border-bottom: 1px solid #444;
    }
}
@media only screen and (max-width: 480px) {
    #menu{
        display: none;
        margin: 0;
        padding: 0;
    }
    #menu li{
        width: 100%;
    }
     #toggle{
        display: block;
        position: relative;
        width: 100%;
        background: #222;
    }
    #toggle a{
        display: block;
        position: relative;
        padding: 12px 0 10px;
        border-bottom: 1px solid #444;
        color: #fff;
        text-align: center;
        text-decoration: none;
    }
    #toggle:before{
        display: block;
        content: "";
        position: absolute;
        top: 50%;
        left: 10px;
        width: 20px;
        height: 20px;
        margin-top: -10px;
        background: #fff;
    }
    #toggle a:before, #toggle a:after{
        display: block;
        content: "";
        position: absolute;
        top: 50%;
        left: 10px;
        width: 20px;
        height: 4px;
        background: #222;
    }
    #toggle a:before{
        margin-top: -6px;
    }
    #toggle a:after{
        margin-top: 2px;
    }
}
