/*
Theme Name: sawaguchi_061_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 {
    margin-bottom: 10px;
    font-size: 140%;
    padding: 5px 10px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

h3 {
    border-top-style: solid;
	border-bottom-style: solid;
    border-top-width: 1px;
    border-bottom-width: 2px;   
    font-size: 130%;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}
article {
    margin-bottom: 30px;
}
.inner {
	width:960px;
	margin:auto;
	overflow:hidden;
}
.text {
	line-height: 1.7em;
}
.status {
    font-size: 80%;
    padding: 5px 5px;
    margin-bottom: 10px;
}
.arrow li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
}
.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 */  

img {
    width: 100%;
    height: auto;
}

/* Layout
-------------------------------------------------------------- */
#wrapper {}
#headerWrap {
    margin-bottom: 30px;
}
#container {
    margin: auto auto 50px;
}
#primary {
    float: right;
    overflow: hidden;
    width: 65%;
}
#secondary {
    float: left;
    width: 33%;
}

/* Style
-------------------------------------------------------------- */
/* header */
#headerWrap h1 {
    margin-bottom: 20px;
}
#headerWrap h1 span {
    display: block;
    font-size: 80%;
    line-height: 25px;
}
#headerWrap .logo {
    font-size: 200%;
    padding: 10px 0;
    width: 960px;
    margin: 0 auto 20px;
}
#headerWrap nav ul {
	width:960px;
	margin:auto;
	overflow:hidden;
    border-left: 8px double #fff;
    margin-bottom: 5px;
}
#headerWrap nav ul li {
    display: block;
    float: left;
}
#headerWrap nav ul li:last-child {
    border-left: 4px solid #fff;
    border-right: 8px double #fff;   
}
#headerWrap nav ul li a {
    display: block;
    text-align: center;
    padding: 10px 0;
    width: 200px;
    text-decoration: none;
    font-weight: bold;
}
#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: 20px;
}
#mainImg img {
    display: block;
    width: 960px;
    margin: 0 auto;
    padding: 4px 0px;
}

section, .section, .section2, .section3 {
    padding-bottom: 20px;
}

.section {
    float: left;
    width: 48%;
}
.section2 {
    float: right;
    width: 48%;
}
.section_brd {
    margin-bottom: 30px;
}
.sectionImg {
    text-align: center;
}
.sectionImg img {
    margin-bottom: 20px;
    width: 250px;
}

/* category */
#catList li {
    border-top: 1px dotted #bbb;
    padding: 20px 0px;
}
#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;
}

/* footer */
.copyright {
    font-size: 80%;
    line-height: 4em;
    text-align: center;
}

.textwidget,.text {
    word-break: break-all;
}


/* media
-------------------------------------------------------------- */

@media screen and (max-width: 960px) {
#headerWrap .logo {
    width: 100%
}
#headerWrap .logo a {
    padding-left: 5px;
}
.inner {
    width: 100%;
}
#mainImg img {
    width: 100%;
}
#headerWrap nav ul {
    width: 100%;
    box-sizing: border-box;
}
#headerWrap nav ul li {
    width: 50%;
    box-sizing: border-box;
}
#headerWrap nav ul li a {
    width: 100%;
    box-sizing: border-box;
}
.text {
    padding: 0px 5px;
}
.textwidget {
    padding: 0px 5px;
}
#breadcrumb {
    padding: 5px 5px;
}
}


@media screen and (max-width: 768px) {
#primary {
    width: 100%;
    float: none;
}
#secondary {
    width: 100%;
    float: none;   
}
}

@media screen and (max-width: 480px) {
.section, .section2 {
    float: none;
    width: 100%;
    margin-bottom: 10px;
}
.section figure ,.section2 figure {
    width: 100%;
    float: none;
    margin-right: 0px;
    margin-left: 0px;
    text-align: center;
}
.section figure img ,.section2 figure img {
    width: 98%;
    display: inline;
}
.section_brd {
    border: 0px;
}
.sectionImg img {
    margin-bottom: 20px;
    width: 100%;
}
    
}