/*
Theme Name: tamashiro_009_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%;
    border-bottom-style: solid;
    border-bottom-width: 1px;    
}

h3 {
	border-left-style: solid;
    border-left-width: 4px;   
    font-size: 130%;
    margin-bottom: 10px;
    padding-left: 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;
}

/* Layout
-------------------------------------------------------------- */
#wrapper {}
#headerWrap {
    margin-bottom: 30px;
}
#container {
    margin: auto auto 50px;
    overflow: hidden;
    width: 960px;
}
#primary {
    float: left;
    overflow: hidden;
    width: 630px;
}
#secondary {
    float: right;
    width: 300px;
}

/* Style
-------------------------------------------------------------- */
/* header */
#headerWrap h1 span {
    display: block;
    font-size: 80%;
    line-height: 25px;
}
#headerWrap .logo {
    font-size: 200%;
    padding: 10px 0;
}
#headerWrap nav ul {
	width:960px;
	margin:auto;
	overflow:hidden;
}
#headerWrap nav ul li {
    display: inline-block;
}
#headerWrap nav ul li:before {
    content: "|";
    font-size: 85%;
    padding: 0 10px;
    vertical-align: middle;
}
#headerWrap nav ul li:first-child:before {
    content: "";
    padding: 0;
}
#headerWrap nav ul li a {
    display: inline-block;
    padding: 10px 0;
}
#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: 30px;
}
#mainImg img {
    display: block;
    height: auto;
    width: 100%;
}
section, .section {
    margin-bottom: 30px;
    overflow: hidden;
}
.section figure {
    float: left;
}
.section figure img {
    display: block;
    height: auto;
}
.section > div {
    float: right;
    width: 460px;
}

/* 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;
}

/* footer */
.copyright {
    font-size: 80%;
    line-height: 4em;
    text-align: center;
}

/* -----▼▼reset&responsive(h2と画像の表示位置の切り替えに伴う再設定と、画像の適切設定と、単純なレスポンシブ対応)▼▼----- */
.inner, #container, #headerWrap nav ul {
	width:auto;
	max-width:960px;
	}
	
.section > div {
	float:none;
    width: auto;
}

#primary {
	box-sizing:border-box;
	width:65%;
	}

#secondary{
	box-sizing:border-box;
	width:25%;
	}

.section figure {
    width:150px; /* 横のmax描写範囲 */
    float:none;
    margin:20px auto;
}
.section figure img {
	width:100%;
	height:auto;
}
	
/* -----▲▲reset&responsive(h2と画像の表示位置の切り替えに伴う再設定と、画像の適切設定と、単純なレスポンシブ対応)▲▲----- */
/* -----▼▼メニューのバーティカルバーのリセット▼▼----- */
#headerWrap nav ul li::before {
    content: "";
    font-size: 0;
    padding: 0;
    vertical-align: baseline;
}
#headerWrap nav ul li::before {
    content: "";
    font-size: 0;
    padding: 0;
    vertical-align: baseline;
}

/* -----▲▲メニューのバーティカルバーのリセット▲▲----- */
/* -----▼▼リストの三角矢印のリセット▼▼----- */
.arrow li::before {
    border-style: none;
    border-width: 0;
    content: "";
    height: 0;
    left: 0;
    position: static;
    top: 0;
    width: 0;
}


/* -----▲▲リストの三角矢印のリセット▲▲----- */
/* -----▼▼main_detail▼▼----- */

.logo {
	font-weight:bold;
	}

#mainImg  {
	width:auto;
	max-width:960px;
	margin:0 auto;
	}

.figure_box {
	width:100%;
	overflow:hidden;
	
	}

.figure_box figure {
	float:left;
	width:50%;
	}

.figure_box figure +  figure {
	float:left;
	width:50%;
	}

.figure_box figure img, .figure_box figure +  figure img {
	width:auto;
	max-width:100%;
	height:auto;
	margin:0 auto;
	}

#primary {
	float:right;
	line-height:2em;
	}
	
#secondary {
	float:left;
	}

h1 {
	text-align:right;
	padding:0 1vw;
	}

#headerWrap {
    margin-bottom:0;
	margin:0 auto;
    max-width: 960px;
    padding: 0 20px;
}

#container {
	padding:30px 20px 50px;
	}



#headerWrap nav ul {
	display:table;
	text-align: center;
    width: 100%;
	}

#headerWrap nav ul li{
	display:table-cell;
	}
	
#headerWrap nav ul li a {
	display:block;
	text-decoration:none;
	border-radius:0 0 5px 5px;
	margin-right:5px;
	font-weight:bold;
	}

#headerWrap nav ul li:last-child a {
	margin-right:0;
	}

#primary h2 {
	border-radius:8px;
	border:0;
	padding:10px;
}


#newPost, #category {
	box-sizing:border-box;
	padding:1px 5px;
	}

#newPost h2, #category h2 {
	text-align:center;
	margin:5px;
	font-weight:bold;
	}

#newPost .arrow li, #category .arrow li {
    padding-left: 0;
}

#newPost .arrow li a, #category .arrow li a{
    display: block;
    text-decoration:none;
    padding:5px 0 5px 10px;
    border-bottom:solid 1px;
}

#newPost .arrow li a:hover, #category .arrow li a:hover {
    display: block;
    text-decoration:none;
}

#newPost .arrow li:last-child a, #category .arrow li:last-child a{
    border-bottom: 0;
}

section, .section {
    margin-bottom: 100px;
    overflow: hidden;
}

h3 {
	font-weight:bold;
	}

/* -----▲▲main_detail▲▲----- */

/* ---------- ▼▼sitemap▼▼ -------------- */
#page h2{
	margin-bottom:30px;
	}
/* ---------- ▲▲sitemap▲▲ -------------- */

/* ---------- ▼▼category▼▼ -------------- */
#primary > h2 {
	margin-bottom:30px !important;
	}
/* ---------- ▲▲category▲▲ -------------- */

/* ---------- ▼▼404▼▼ -------------- */
article > h2 {
	margin-bottom:30px !important;
	}
/* ---------- ▲▲404▲▲ -------------- */

/* ---------- ▼▼Media Queries▼▼ -------------- */

@media (min-width: 0) and (max-width: 600px) {
#primary {
	float:none;
	width:auto;
	}
#secondary {
	float:none;
	width:auto;
	}
	
.figure_box figure {
	float:none;
	}

.figure_box figure +  figure {
	float:none;
	}
	
	
}

/* ---------- ▲▲Media Queries▲▲ -------------- */




