/*
Theme Name: sawaguchi_068_responsive
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;
}
select,input,textarea,option {
	font-family: 'メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
}
img{
	border: 0;
	margin: 0px;
	padding: 0px;
}
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
-------------------------------------------------------------- */
h2 {
        padding:.8em .9em;
        margin-bottom: 15px;
    } 

h3 {
    font-size: 130%;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 10px;
}
article {
    margin-bottom: 30px;
}
.inner {
	width:960px;
	margin:auto;
	overflow:hidden;
}
.text {
	line-height: 1.7em;
}
.status {
    color: #999;
    font-size: 80%;
    padding: 5px 0;
}
.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;
}
img {
    width: 100%;
    height: auto;
}
.clearfix:after {  
  content: ".";   
  display: block;   
  height: 0;   
  clear: both;   
  visibility: hidden;  
}  
  
.clearfix { display: inline-table; }  
  
/* Hides from IE-mac \*/  
* html .clearfix { height: 1%; }  
.clearfix { display: block; }  
/* End hide from IE-mac */  



/* Layout
-------------------------------------------------------------- */
#wrapper {}
#headerWrap {
    margin-bottom: 10px;
}
#container {
    margin: auto auto 50px;
    overflow: hidden;
    width: 960px;
}
#primary {
    float: left;
    width: 68%;
}
#secondary {
    float: right;
    width: 30%;
}

/* Style
-------------------------------------------------------------- */
/* header */
#headerWrap h1 span {
    display: block;
    font-size: 80%;
    line-height: 25px;
}
#headerWrap .logo {
    font-size: 200%;
    padding: 10px 10px;
    border-radius: 20px;
    margin-bottom: 20px;
    word-break: break-all;
}
#headerWrap a {
    padding: 5px 20px;
}

#primary nav {
	width: 100%;
    float: right;
}
#primary nav ul li {
    width: 49%;
    float: right;
}
#primary nav ul li:first-child {
    float: left;
}
#primary nav ul li a {
    display: block;
    padding: 20px 20px;
    margin-bottom: 10px;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
}
#primary nav ul li a:hover {
   	opacity:0.7;
	filter: alpha(opacity=70); 
}

#naviBox {
    margin-bottom: 20px;
}
#breadcrumb {
    padding: 5px 0;
}
#breadcrumb ul li {
    display: inline-block;
}
#breadcrumb ul li:before {
    content: ">";
    font-size: 75%;
    padding: 0 5px;
    vertical-align: middle;
}
#breadcrumb ul li:first-child:before {
    content: "";
    padding: 0;
}
#breadcrumb ul li > * {
	font-size: 80%;
}
#breadcrumb ul li > span {}

/* index */
#mainImg {
    margin-bottom: 0px;
}
#mainImg img {
    display: block;
    height: auto;
    width: 100%;
    border-radius: 20px;
    margin-bottom: 10px;
}
#subImg {
    float: left;
    width: 325px;
    margin-right: -325px;
}
#subImg img {
    width: 45%;
    margin-left: 5%;
    border-radius: 20px;
}
#subImg img:first-child {
    margin-left: 0px;
}

section, .section, .section2 {
    margin-bottom: 30px;
    overflow: hidden;
}
.section > div {
    width: 100%;
    
}
section, .section {
    margin-bottom: 30px;
    overflow: hidden;
}
.section figure {
    width: 150px;
    margin-right: -150px;
    float: left;
}
.section figure img {
    display: block;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}
.section > div {
    float: right;
    width: 100%;
    
}
.section > div > div {
    margin-left: 160px;
}
/* category */
#catList li {
    border-top: 1px dotted #bbb;
    padding: 20px 0;
}
#catList li:first-child {
    border-top: none;
    padding: 0 0 20px;
}
#catList li .date {
    margin-bottom: 10px;
}
#catList li .text p {
    text-align: right;
}
#catList li .text p .more {
    border-radius: 5px;
    padding: 5px 10px;
}

/* single */
#postArticle .text {
    margin-bottom: 30px;
}
#postNavi {
    border-top: 1px dotted #bbb;
    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 section {
    margin-bottom: 30px;
}

/* sidebar */
#secondary aside {
    margin-bottom: 30px;
}
#secondary aside h3 {
    border-bottom: 1px solid #e5e5e5;
    font-size: 140%;
    margin-bottom: 10px;
}
#secondary #sideImg img {
    border-radius: 20px;
}

/* footer */
.copyright {
    font-size: 80%;
    line-height: 4em;
    text-align: center;
}

.textwidget,.text {
    word-break: break-all;
}


/* media
-------------------------------------------------------------- */

@media screen and (max-width: 900px) {
    #headerWrap {
        width: 98%;
        margin: auto auto 10px;
    }
	#container {
        margin: auto auto 50px;
        overflow: hidden;
        width: 98%;
    }
    #primary {
        width: 68%;
    }
    #secondary {
        width: 30%;
    }
    .inner {
	   width: 100%;
	   margin:auto;
	   overflow:hidden;
    }
}
@media screen and (max-width: 600px) {
    #primary {
        float: none;
        width: 100%;
    }
    #secondary {
        float: none;
        width: 100%;
    }
    .section figure,
    .section2 figure{
        width: 100%;
        margin: 10px 0px 20px;
        float: none;
    }
    .section figure img,
    .section2 figure img {
        margin: 0;
    }
    .section > div,
    .section2 > div{
        float: none;
        width: 100%;
    }
    .section > div > div,
    .section2 > div > div {
        margin: 0px;
    }
    #subImg {
        float: none;
        width: 100%;
        margin-right: 0px;
    }
    #subImg img {
        width: 46%;
        margin: 0 2% 0;
        border-radius: 20px;
    }
    #subImg img:first-child {
        margin: 0 2% 0;
    }
    #primary nav {
        width: 100%;
        float: none;
    }
    #primary nav ul li a {
        margin: 0 0 10px;
    }

}