@charset "UTF-8";
/*
Theme Name: TST 1.0
Description: TST responsive theme
Version: 1.0
*/

@import url('//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css');

.post-content {
	padding: 0;
	line-height: 2em;
}

.post-content hr {
	border-bottom: 1px solid #eee;
	margin: 20px 0;
	clear: both;
}

.post-content p,
.post-content ul,
.post-content ol,
.post-content dl,
.post-content blockquote,
.post-content pre,
.post-content table {
	margin-bottom: 1.5em;
}

.post-content p {
	text-align: justify;
	text-justify: inter-ideograph;
}

.post-content ul {
	list-style: disc;
}
.post-content ol {
	list-style: decimal;
}

.post-content ul,
.post-content ol {
	margin-left: 30px;
}

.post-content ul > ul,
.post-content ul > ol,
.post-content ol > ol,
.post-content ol > ul {
	margin-bottom: 0px;
}

.post-content dl dt {
	font-weight: bold;
}

.post-content dl dd {
	margin-left: 30px;
}

.post-content pre {
	padding: 20px;
	overflow: scroll;
}

/* Heading
--------------------------------------------------*/
.post-content h1 {
	border-bottom: 2px solid #000000;
	color: #222222;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.4em!important;
	margin-bottom: 40px;
}
@media (max-width: 767px) {
	h1 {
		font-size: 24px;
	}
}

.post-content h2 {
	color: #222222;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.8;
	margin-top: 0;
	text-align: center;
}
.post-content h2:after {
	content: "";
	background: #000000;
	display: block;
	height: 2px;
	margin: 5px auto 30px;
	width: 60px;
}
@media (max-width: 767px) {
	.post-content h2 {
		font-size: 16px;
	}
	.post-content h2:after {
		width: 45px;
		margin: 10px auto 20px;
	}
}

.post-content h3 {
	background: transparent;
	border-left: solid 5px #000000;
	color: #222222;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.8em;
	padding: 0.25em 0.5em;
}

.post-content h4 {
	border-bottom: 1px solid #000000;
	font-size: 15px;
	font-weight: normal;
	line-height: 1.4em;
	padding-bottom: 5px;
}

/* Blockquote
--------------------------------------------------*/
.post-content blockquote {
	clear: both;
	margin: 0 0 28px;
	padding: 30px 20px 35px 55px;
	position: relative;
	border: 1px #e5e5e5 solid;
	background: #fafafa;
}

.post-content blockquote:before {
	content: '';
	font-family: 'FontAwesome';
	font-size: 36px;
	color: #e7e7e7;
	position: absolute;
	top: 20px;
	left: 10px;
}

.post-content blockquote cite {
	position: absolute;
	right: 20px;
	bottom: 10px;
	font-size: 12px;
	color: #808080;
}

/* Table
--------------------------------------------------*/
.post-content table {
	border: 1px #ddd solid;
	width: 100%;
}

.post-content table th,
.post-content table td {
	padding: 8px 10px;
	border: #ddd solid 1px;
}

.post-content table th {
	color: #fff;
}

.post-content table thead th {
	background: #5e6265;
}

.post-content table tbody th {
	/*background: #919598;*/
	background: #7c5577;
}

.post-content table.table-line table,
.post-content table.table-line th,
.post-content table.table-line td {
	border-color: #fff;
}

	.post-content table.table-line th {
	background: transparent;
	color: #241913;
	font-weight: bold;
}

.post-content table.table-line thead th {
	background: #5e6265;
	color: #fff;
}

.post-content table.table-line tr {
	background: #eee;
}

.post-content table.table-line tr:nth-child(2n+1) {
	background: #ddd;
}

/* Image
--------------------------------------------------*/
.post-content img {
	display: block;
	height: auto;
	max-width: 100%;
}

.post-content img.alignleft {
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
	max-width: 40%;
	height: auto;
}

.post-content img.alignright {
	float: right;
	margin-left: 15px;
	margin-bottom: 15px;
	max-width: 40%;
	height: auto;
}

/* 画像キャプション（Div） */
.post-content .wp-caption{
	max-width: 100%;
}

/* 画像キャプション（テキスト） */
.post-content .wp-caption-text {
	font-size: small;
	font-weight: bold;
	text-align: center;
}

/* Video
--------------------------------------------------*/
.post-content .video-container{
	max-width: 100%;
}
 
/*動画の大きさを調整*/
.post-content .video {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}
 
/*動画を囲んでいるdiv目一杯に広げる*/
.post-content .video iframe,
.video object,
.video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* wp-pagenavi
--------------------------------------------------*/
.wp-pagenavi {
	clear: both;
	margin-top: 30px;
}
 
.wp-pagenavi a, .wp-pagenavi span {
	border: 1px solid #000000;
	color: #000000;
	display: inline-block;
	margin: 5px 5px 15px 5px;
	padding: 5px 13px;
	text-decoration: none;
}
 
.wp-pagenavi a:hover, .wp-pagenavi span.current {
	background-color: #000000;
	border-color: #000000;
	color: #ffffff !important;
}
 
.wp-pagenavi span.extend {
	border: none;
	vertical-align: middle;
}

.wp-pagenavi span.current {
	font-weight: bold;
	background-color: #000000;
	color: #ffffff;
}

/* Gallery
--------------------------------------------------*/
.gallery {
	overflow: hidden;
	margin-left: 3%;
}

.gallery-item {
	float: left;
	margin-top: 0;
	margin-bottom: 20px;
	margin-left: 0;
}

.gallery-icon {
	text-align: center;
}

.gallery-caption {
	color: #21759B;
	font-size: 0.8em;
	margin: 0;
	text-align: center;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
	margin-right: 0;
}

.gallery-columns-2 .gallery-item {
	width: 49%;
	margin-right: 1%;
}

.gallery-columns-3 .gallery-item {
	width: 32%;
	margin-right: 1%;
	margin-bottom: 1%;
}

.gallery-columns-4 .gallery-item {
	width: 22%;
	margin-right: 3%;
}

@media only screen and (max-width:767px){
	.gallery-columns-4 .gallery-item {
		width: 49%;
		margin-right: 1%;
		margin-bottom: 5px;
	}

	.gallery {
		margin-left: 1%;
	}
}