/*
Theme Name : TAIMEI
*/

@charset "UTF-8";
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: 1px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif
}

body {
  font-size: 16px;
	position:relative;
}

blockquote {
  border: solid 1px #ededed;
  padding: 16px;
  font-size: .9rem;
  margin: 16px 0;
  border-radius: 5px
}

p {
  line-height: 28px;
}

a {
  color: #333
}

a:hover {
  color: #999
}

img {
  max-width: 100%;
}

header {

  text-align: center;
  padding: 0;

  position: fixed;
bottom:0;
  width: 100%;
  overflow: auto;
}

header h1 {
  font-size: 1rem;
  padding: 0;
  margin: 0;
  width: 100%;
  display: block;
  text-align: center;
background: rgb(255,255,255);
background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7721463585434174) 34%, rgba(255,255,255,0.2) 61%, rgba(255,255,255,0) 100%);
}

header h1 a {
  text-decoration: none;
  color: #fff;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", serif;
}

header h1 a img {
  width: 100px;
	margin:5px 0;
}

header nav {
  display: block;
  text-align: center;
  line-height: 38px;
  overflow-x: auto;
  white-space: nowrap;
	  background: #333;
}
header nav ul {
  padding: 0 10px;
}
header nav li {
  display: inline-block;
  font-size: 0.8rem;
  margin: 0 5px;
}

header nav li:last-child {
  margin-right: 10px;
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

#sidebar .recommend div {
  width: 50%;
  float: left;
}

main {
  padding: 8px;
}

main article {
  padding: 0 16px;
}

main article h1 {
  margin-top: 16px;
  font-size: 1rem;
  border-bottom: dotted 2px #666;
  margin-bottom: 8px;
  padding-bottom: 2px;
}

main article h2 {
  border-left: solid 10px #000;
  padding-left: 8px;
  line-height: 1.4;
  margin-bottom: 0px;
  margin-top: 16px;
  font-size: 1rem;
}

main article h3 {
  margin-bottom: -4px;
  border-bottom: solid 1px #333;
  font-size: 1rem;
}

main article p {
  margin-bottom: 0;
  padding: 8px 0;
  font-size: 0.9rem;
}

main article ol,
main article ul {
  margin: 16px 0 16px 18px;
  font-size: 0.9rem;
}

.single #main,
.page #main,
.archive #main {
  margin:16px;
  overflow: auto;
}

.single #main h1,
.page #main h1,
.archive #main h1 {
  line-height: 1.4;
  margin-bottom: 10px;
}

#main h1 {
  margin-top: 0;
}

#main h1 a {
  text-decoration: none;
}

.archive #main hr {
  margin-bottom: 8px;
}

.archive #main section {
  overflow: auto;
}

#article-inner {
  padding: 8px;
}

.ac-container {
  border: 1px solid #ccc;
  border-top: none;
}

.ac-container label {
  font-size: 16px;
  padding: 10px;
  display: block;
  cursor: pointer;
  color: #333;
  background: #fafafa;
  border-top: 1px solid #ccc
}

.ac-container {
  width: 100%;
  margin: 0 auto;
}

.ac-container label:hover {
  background: #ddd
}

.ac-container input {
  display: none
}

.ac-container article {
  overflow: hidden;
  height: 0;
  -webkit-transition: .6s;
  transition: .6s padding: 16px;
}

.ac-container input:checked~article {
  height: 70vh;
  border-top: 1px solid #ccc;
  overflow: scroll;
  word-break: break-all;
  padding: 20px;
}

.ac-container h1 {
  font-size: 1.4rem;
  border-bottom: dotted 1px #333;
	padding-bottom:5px;
  margin: 8px 0;
}

.ac-container h2 {
  font-size: 1.2rem;
  border-left: solid 8px;
  padding-left: 8px;
  margin: 16px 0 8px;
}

.ac-container label {
  overflow: auto;
}

span.title {
  display: inline-block;
  float: left;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 10px;
}

span.date {
  display: inline-block;
  float: right;
  font-size: 0.8rem;
  text-align: right;
  margin-left: 10px;
}

.ac-container img {
  margin: 16px 0;
  height: auto;
  max-width: 100%;
}

.article-content {
  clear: both;
  padding-top: 8px;
}

.article-content ul {
  margin: 16px 23px;
}

.article-content img{
	border-radius:10px;
}

.post-categories li {
  display: inline-block;
}

.post-categories {
  margin-top: 4px;
  list-style-type: none;
  text-align: right;
}

.post-categories li a {
  background: #333;
  color: #fff;
  border-radius: 3px;
  padding: 4px 6px;
  font-size: 0.9rem;
  float: left;
  margin-right: 4px;
  margin-bottom: 4px;
  line-height: 16px;
}

.tag {
  float: left;
  font-size: 0.8rem;
}

#content {
  margin-top: 0px;
  clear: both;
}

.cat {
  margin: 0 8px 8px;
}

.cat li {
display: inline-block;
    font-size: 0.8rem;
    margin-bottom: 10px;
    width: calc(50% - 3px);
    text-align: center;
    background: #333;
    min-height: 36px;
    vertical-align: top;
    line-height: 36px;
}
.cat li li{
    background: #555;
	width:100%;
	margin-bottom:0;
}
.cat li li:hover{
    background: transparent;
}

.cat li a{
    color:#fff;
	text-decoration:none;
}

.desc {
  border: solid 5px #333;
  padding: 8px;
  margin: 0 8px 8px;
}

.desc h1 {
  margin-top: 0px;
  margin-bottom: 8px;
}

.desc p {
  font-size: 0.8rem;
}

footer {
  padding: 8px 16px;
  clear: both;
  background-color: #222;
  text-align: center;
  color: #fff
}

footer p {
  padding: 0;
  color: white;
  margin-bottom: 0;
  font-size: 0.8rem;
}

footer a {
  text-decoration: none;
  color: #ccc;
}

.post-categories li a {
  padding: 3px 6px;
  margin-bottom: 0px;
  margin-right: 0;
  margin-left: 4px;
  text-decoration: none;
  line-height: 1;
  font-size: 0.7rem;
  display: inline-block;
  float: right;
}
#sidebar{
  margin-bottom: 100px;
}
#main{
  margin-bottom: 10px
}

#main article p{
	margin-bottom: 15px
	
}
.pagenation{
	text-align:center;
	margin-bottom: 45px;
	margin-top: 15px;
}
.pagenation span{
    background: #444;
    color: #fff;
    padding: 0;
    margin: 0 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-block;
    line-height: 35px;
    vertical-align: middle;
}
.single #main{
	margin-top:8px;
	margin-bottom:48px;
}
.single #main p{
	    margin-bottom: 20px;
}
.single #main h2{
	font-size:1.2rem;
		    margin-bottom: 10px;
}
.single #main h3{
	font-size:1rem;
	    margin-bottom: 10px;
}

.ac-container .pagenation{
	display:none;
}
.pagenation a{
    padding: 4px 8px;
    margin: 0px;
}
@media(min-width:1000px) {
  #main {
    width: calc(100% - 300px);
    float: left;
  }
  #sidebar:before {
    clear: both;
  }
  #sidebar {
    width: 300px;
    float: right;
 
  }
  .single #main,
  .page #main,
  .archive #main {
    width: calc(100% - 316px);
	margin: 8px;
  }
  .desc,
  .cat {
    margin: 8px 8px 8px 0;
  }
	span.date{
		    margin-top: 0px;
  }
	.pagenation {
    margin-bottom: 100px;
	}
	.cat li {
    width: 100%;
	}
}