/* Hatten Style */



header,nav,article,section,aside,footer { display: block; }


html {
	background: #fff url(/images/bg.jpg) top center no-repeat;
	word-wrap:break-word;
}

body {
	background: none;
	padding-top: 50px;
	color: #333;
}

a {}
h2 a:hover { text-decoration: none; }


.container {
	position: relative;
}

#search {
	position: absolute;
	top: 5px;
	right: 0;
}

/* 狭い画面では絶対配置だとヘッダーのロゴに被るため、サイドバー内に通常配置する */
@media (max-width: 767px) {
	#search {
		position: static;
	}
}

#twitter {
  position: absolute;
	top: 12px;
	right: 340px;
	font-size: 16px;
}

#profile {
  position: absolute;
	top: 12px;
	right: 220px;
	font-size: 16px;
}

/* =================================
	Header
================================= */
header {
	margin-bottom: 60px;
}


/* =================================
	Contents
================================= */
.contents { margin-bottom: 50px; }

.entry {
	margin-bottom: 80px;
}

/* 見出しの階層: 記事タイトル(.entry-header h2)が最も大きく、
   本文内は h1 > h2 > h3 > ... とタイトルより小さい順にする */
.entry-header h2 {
	font-weight: bold;
	font-size: 32px;
	line-height: 1.3;
	position: relative;
	top: -2px;
	margin-bottom: 10px;
}

.entry-header h2 a {
	color: #000;
}

.entry-body h1 {
	font-size: 24px;
	line-height: 1.4;
	color: #111;
	margin: 2em 0 .8em;
}

.entry-body h2 {
	font-size: 22px;
	line-height: 1.4;
	color: #111;
	margin: 2em 0 .8em;
}

.entry-body h3 {
	font-size: 20px;
	border-bottom: 1px dotted #999;
	line-height: 1.5;
	margin: 2em 0 .8em;
	color: #111;
}

.entry-body h4 {
	font-size: 18px;
	color: #111;
	margin: 2em 0 .8em;
}

.entry-body h5 {
	font-size: 16px;
	color: #111;
	margin: 2em 0 .8em;
	padding-left: 10px;
	border-left: 4px solid #333;
	line-height: 1.5;
}

.entry-body h6 {
	font-size: 14px;
	color: #666;
	margin: 2em 0 .5em;
}


.entry {
	position: relative;
}

.entry .entry-date {
	/*position: absolute;*/
	top: 0;
	/*left: -100px;*/
	background: #000;
	color: #fff;
	padding: 10px;
	line-height: 1;
	font-size: 12px;
	width: 62px;
}

.entry .entry-header {
	margin-bottom: 30px;
}

.entry .entry-body,
.entry .entry-body p {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 1em;
}

.entry .entry-body li {
	margin-bottom: .5em;
	line-height: 1.4;
	color: #555;
}

.search-form {
	display: flex;
	gap: 6px;
	margin: 0;
}

.search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	margin: 0;
}

#entry .entry {
	margin-bottom: 20px;
}

.entry-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin: 0 0 40px;
	padding: 12px 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	font-size: 14px;
}

.entry-nav-prev,
.entry-nav-next {
	flex: 1;
}

.entry-nav-prev {
	text-align: left;
}

.entry-nav-archive {
	text-align: center;
	white-space: nowrap;
}

.entry-nav-next {
	text-align: right;
}

.search-result-header h2 {
	font-size: 18px;
	margin-bottom: 20px;
}

.entries mark {
	background-color: #ffec6e;
	padding: 0 2px;
}

/* 本文中の画像は枠と余白で文章から切り離し、画像だと一目で分かるようにする */
.entry .entry-body img {
	display: block;
	box-sizing: border-box;
	max-width: 100%;
	height: auto;
	margin: 1.8em auto;
	padding: 8px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.entry .entry-body img.gyazo-image {
	max-width: 80%;
	max-height: 500px;
	width: auto;
}

/* Amazon 商品情報などレイアウト済みのブロック内の画像は対象外 */
.entry .entry-body .amazlet-box img {
	display: inline;
	max-width: none;
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
}


/* entry-info */
.entry .entry_info {
	border-top: 1px solid #e6e6e6;
	margin-top: 20px;
	background: #f6f6f6;
	padding: 10px;
	text-shadow: 0 1px 0 #fafafa;
}

.entry .entry_info ul {
	margin: 0 0 0 20px;
	display: inline;
}

.entry .entry_info ul:before {
	content: "tags: ";
}


.entry .entry_info li {
	list-style: none;
	display: inline;
	margin-right: 5px;
}

.entry .entry_info li:after {
	content: ",";
}

.entry .entry_info .date-time {
	display: inline;
	color: #999;
	margin-left: 10px;
}


/* Pager */
.pagination {
	margin: 30px auto 50px !important;
	padding: 0 !important;
	text-align: center;
}

.pagination span {
	display: inline;
	list-style: none;
}

.pagination span a, .pagination span.current {
	color: #666;
	text-shadow: 0 1px 0 #fafafa;
	margin: 0 1px;
	padding: 6px 9px;
	line-height: 3;
	width: 20px;
	border: 1px solid #ddd;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;

	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
}

.pagination span a:hover {
	text-decoration: none;
	background: #fff;
	color: #222;
}

.pagination span.current {
	text-decoration: none;
	background: #fff;
	color: #222;
	margin-right: 5px;
	padding-right: 5px;
}

/* comment */
#comment_wrapper {}

#comment_wrapper h3 {
	background: #f6f6f6;
	margin-bottom: 1em;
	padding: 5px 10px;
}

#comments {
	margin: 0;
	padding: 10px;
}

#comments li {
	list-style: none;
	margin-bottom: 40px;
	font-size: 14px;
	color: #444;
	line-height: 1.6;
}

#comments .footer {
	border-top: 1px solid #ccc;
	margin-top: 10px;
	padding-top: 10px;
}

#comments .footer .name {
	margin-right: 10px;
}

#comment_form {
	padding-left: 0;
}

#comment_form label {
	display: inline;
}

#comment_form input[type="submit"] {
	padding: 10px;
}

/* -------------------------------
	Sidebar
------------------------------- */
.sub-column {}

.sub-column section {
	margin-bottom: 50px;
}

.sub-column h3 {
	font-size: 16px;
	font-weight: normal;
	line-height: 1.5;
	color: #888;
	margin-bottom: .5em;
}

.sub-column .profile summary {
	cursor: pointer;
	color: #888;
	margin-bottom: .5em;
}

.sub-column .profile summary h3 {
	display: inline;
}

.sub-column ul {
	margin: 0;
	padding: 0;
}


.sub-column li {
	list-style: none;
	background: url(/images/bullet_graybar.png) 0 .6em no-repeat;
	padding-left: 10px;
	line-height: 1.3;
	margin-bottom: 8px;
}


.sub-column li a {
	color: #333;
	text-decoration: none;
	display: block;
}

.sub-column li a:hover {
	color: #888;
}

.sub-column .archives li {
	background: none;
	padding-left: 0;
	display: flex;
	margin-bottom: 4px;
}

.sub-column .archives .year {
	color: #888;
	width: 3.2em;
	flex-shrink: 0;
}

.sub-column .archives .months a {
	display: inline-block;
	padding: 0 4px;
	color: #333;
}

.sub-column .archives .months a:hover {
	color: #888;
}

.sub-column .archives .months a.current {
	background: #333;
	color: #fff;
	border-radius: 3px;
}

.sub-column .archives .months a.current:hover {
	color: #fff;
}

.sub-column .tags li,
.sub-column .tags li a {
	display: inline;
	background: none;
	padding: 0;
}

.sub-column .tags li a {
	padding: 5px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.navigation {
  text-align: center;
	font-size: 16px;
	margin-top: 24px;
	margin-bottom: 20px;
}

.sns-buttons {
  margin-bottom: 10px;
}

.disqus-link {
  font-size: 16px;
  margin-top: 10px;
  margin-left: 20px;
}

.fb-like {
  top: -5px;
}

/* -------------------------------
	Footer
------------------------------- */
footer {
	margin: 30px 0 0;
	padding: 30px;
	text-align: center;
	background: #ddd url(/images/bg_gray.jpg);
	text-shadow: 0 1px 0 #e6e6e6;
	-moz-box-shadow: inset 0 2px 5px rgba(0,0,0,.05);
	-webkit-box-shadow: inset 0 2px 5px rgba(0,0,0,.05);
	box-shadow: inset 0 2px 5px rgba(0,0,0,.05);
}
