﻿@charset "utf-8";

/********* HTML再定義 ***********************************************/

body {
	padding: 30px 0;
	background-color: #B5D8DC;
}

h2 {
	margin: 35px 0 5px;
	color: #3D3D3D;
	font-size: 134%;
}
h3 {
	margin: 25px 0 5px;
	color: #3D3D3D;
	font-size: 120%;
}
h4, h5, h6 {
	margin: 25px 0 5px;
	color: #3D3D3D;
	font-size: 110%;
}
h5, h6 {
	font-size: 100%;
}
h6 {
	color: #666;
}
img {
	max-width: 100% !important;
	height: auto;
}

/********* 全体 *****************************************************/

#container {
	overflow: hidden;
	width: 600px;
	margin: 0 auto;
	padding: 60px;
	background-color: #FFF;
}

/********* ヘッダー *************************************************/

#header {
	clear: both;
	text-align: center;
}
#header h1 {
	line-height: 1.0;
	margin: 20px 0 0;
}
#header h1 a:link, #header h1 a:visited {
	color: #121212;
	text-decoration: none;
}
#header h1 a:active, #header h1 a:hover {
	color: #666;
	text-decoration: none;
}

#header p {
	margin: 10px 0 35px;
	color: #BBB;
}

/********* フッター *************************************************/

#footer {
	clear: both;
	padding-top: 60px;
	text-align: center;
}
#footer address {
	padding-top: 60px;
	border-top: 1px solid #EEE;
}

/********* メニュー *************************************************/

#menu {
	overflow: hidden;
	margin: 20px 0 45px;
	border-top: 1px solid #EEE;
	border-bottom: 1px solid #EEE;
}
#menu h2 {
	display: none;
}
#menu ul {
	margin: 0;
}
#menu ul li {
	float: left;
	list-style: none;
}
.menu {
	line-height: 20px;
	height: 20px;
}

#menu a:link, #menu a:visited {
	display: block;
	padding: 10px 15px;
	color: #555;
	text-decoration: none;
}
#menu a:active, #menu a:hover {
	color: #FFF;
	background-color: #333;
}

a#current:link, a#current:visited {
	color: #909090;
	background-color: #EEE;
}
a#current:active, a#current:hover {
	color: #111 !important;
	background-color: #EEE;
}

#menu ul li:hover {
	color: #FFF;
	background-color: #333;
}
#menu ul li:hover > .sub-menu,
#menu ul li:hover > #categories,
#menu ul li:hover > #archives {
	display: block;
}
#menu ul li:hover > a {
	color: #FFF;
}
.sub-menu li:hover,
.sub-menu li:hover > a {
	color: #222 !important;
}

/********* 第二階層 *********/

.sub-menu {
	z-index: 100;
	display: none;
	position: absolute;
	width: 200px;
	padding: 5px 10px;
	border: 1px solid #DDD;
	background-color: #FFF;
}
#menu .sub-menu li a:link, #menu .sub-menu li a:visited {
	display: block;
	padding: 5px 8px;
	width: 184px;
	color: #555;
	text-decoration: none;
	border-bottom: 1px dotted #DDD;
}
#menu .sub-menu li a:active, #menu .sub-menu li a:hover {
	color: #EF076B !important;
	background-color: #FFF;
}
#menu .sub-menu li:last-child a {
	border-bottom: none;
}

/********* カテゴリー *********/

#categories {
	z-index: 200;
	display: none;
	position: absolute;
	width: 200px;
	padding: 5px 10px;
	border: 1px solid #DDD;
	background-color: #FFF;
}
#categories ul li:hover {
	color: #555;
	background-color: #FFF;
}
#categories ul li:hover > a {
	color: #555;
}
#categories ul li:first-child a {
	border-top: none;
}
#categories ul ul a {
	border-top: 1px dotted #DDD !important;
}

#categories a:link, #categories a:visited {
	display: block;
	width: 184px;
	padding: 5px 8px;
	color: #222;
	text-decoration: none;
	border-top: 1px dotted #DDD;
}
#categories a:active, #categories a:hover {
	color: #EF076B !important;
	background-color: #FFF;
}

#categories ul ul a:link, #categories ul ul a:visited {
	width: 184px;
	padding: 5px 8px;
	color: #777;
	font-size: 11px;
}
#categories ul ul ul a:link, #categories ul ul ul a:visited {
	width: 176px;
	padding: 5px 12px;
}
#categories ul ul a:before {
	margin-left: 2px;
	margin-right: 5px;
	content: "-";
	color: #DDD !important;

	-webkit-transition: .2s;
	-moz-transition: .2s;
	-ms-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
}
#categories ul li:hover > ul a:before {
	content: "-";
	color: #999 !important;
}

/********* アーカイブ *********/

#archives {
	z-index: 300;
	display: none;
	position: absolute;
	width: 580px;
	margin: 0;
	left: 50%;
	margin-left: -300px;
	padding: 5px 10px;
	border: 1px solid #DDD;
	background-color: #FFF;
}
#archives p {
	padding: 20px;
	color: #888;
	text-align: center;
}
#archives dl {
	overflow: hidden;
}
#archives dl dt {
	clear: both;
	float: left;
	width: 10%;
	padding: 0 8px;
	color: #888;
}
#archives dl dd {
	overflow: hidden;
	margin: 0 0 5px;
	padding: 0 0 5px;
	border-bottom: 1px dotted #DDD;
}
#archives dl dd:last-child {
	margin: 0;
	padding: 0;
	border-bottom: none;
}

#archives ul li {
	display: inline;
}
#archives a:link, #archives a:visited {
	padding: 0 8px;
	color: #555;
	text-decoration: none;
}
#archives a:active, #archives a:hover {
	color: #EF076B !important;
	background-color: #FFF;
}

.count {
	color: #CCC;
	font-family: Arial;
	font-size: 90%;
}

/********* 検索 *********/

#search {
	line-height: 20px;
	float: right !important;
	width: 60px;
	height: 20px;
	text-align: center;
}
#search a {
	color: #808080 !important;
}
#search a:hover {
	color: #111 !important;
	background-color: #FFF;
}
#search label {
	cursor: pointer;
}

#search-form {
	z-index: 400;
	position: absolute;
	opacity: 0;
	visibility: hidden;
	line-height: 40px;

	width: 600px;
	height: 40px;
	margin: 6px 0 0;
	padding: 0;

	-webkit-transition: .2s;
	-moz-transition: .2s;
	-ms-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
}
#search-form:hover {
	background: none !important;
}
#menu .current-box {
	opacity: 1.0;
	visibility: visible !important;
	display: block;
	margin: 0;
}

#search-form form,
#search-form form input {
	margin: 0;
}
#search-form p {
	margin: -1px 0 0;
	padding: 0;
}
#search-form input[type="text"] {
	width: 656px !important;
	padding: 0 32px 0 8px;
	height: 32px;
	border: 1px solid #DDD;
}

#search-form input[type="submit"] {
	opacity: .7;
	width: 32px;
	height: 32px;
	margin-left: -34px;
	padding: 0;
	color: #EEE;
	text-indent: -200px;
	border: none;
	background: url(../images/theme/icons/search.png) no-repeat;
	box-shadow: none;
}
@media screen and (-webkit-min-device-pixel-ratio: 1.5)
, only screen and (-o-min-device-pixel-ratio : 3/2)
, only screen and (min--moz-device-pixel-ratio : 1.5)
, only screen and (min-device-pixel-ratio : 1.5)  {
	#search-form input[type="submit"] {
		background: url(../images/theme/icons/search.svg) no-repeat;
		background-size: 70%;
		background-position: 50% 50%;
	}
}

#search-form input[type="submit"]:hover {
	opacity: .8;
}

/********* エントリー ***********************************************/

#entry h2 {
	display: none;
}
#entry .entry {
	margin: 15px 0;
}
#entry .entry h3 {
	margin: 0;
	font-size: 125%;
}
#entry .entry h3 a:link, #entry .entry h3 a:visited {
	color: #777;
	text-decoration: none;
}
#entry .entry h3 a:active, #entry .entry h3 a:hover {
	color: #ccc;
	text-decoration: none;
}

#entry .entry ul.information {
	margin: 0 0 10px;
	color: #999;
	font-size: 94%;
}
#entry .entry ul.information li {
	display: inline;
	margin-right: 5px;
}
#entry .entry ul.information a:link, #entry .entry ul.information a:visited {
	color: #808080;
}
#entry .entry ul.information a:active, #entry .entry ul.information a:hover {
	color: #111;
}

.content > *:first-child {
	margin-top: 0;
}

#entry .entry ul.link {
	margin: 10px 0 60px;
	padding: 0 0 30px;
	text-align: right;
	border-bottom: 1px solid #EEE;
}
#entry .entry ul.link li {
	display: inline;
	margin-left: 5px;
	font-size: 90%;
}
#entry .entry ul.link li a:link, #entry .entry ul.link li a:visited {
	color: #808080;
}
#entry .entry ul.link li a:active, #entry .entry ul.link li a:hover {
	color: #111;
}

#entry #entry_link {
	color: #AAA;
	text-align: center;
}
#entry #entry_link h3 {
	display: none;
}
#entry #entry_link ul.entry_link {
	margin: 0;
}
#entry #entry_link ul.entry_link li {
	display: inline;
	margin-right: 10px;
	list-style: none;
}
#entry #entry_link ul.entry_link li.home {
	padding-right: 10px;
	padding-left: 10px;
	border-right: 1px solid #DDD;
	border-left: 1px solid #DDD;
}
#entry #entry_link ul.entry_link li.previous:before {
	content: "<<";
	margin-right: 10px;
}
#entry #entry_link ul.entry_link li.next:after {
	content: " >>";
	margin-left: 10px;
}

/********* 装飾 ***********************************************/

/* 動画に枠 */
.video {
	padding: 5px;
	border: 1px solid #DDD;
}
.video iframe {
	max-width: 588px;
	margin-bottom: -6px;
}

/********* ページ移動 ***********************************************/

#page {
	overflow: hidden;
	color: #AAA;
	text-align: center;
}
#page h2 {
	display: none;
}
#page ul.order {
	margin: 10px 0;
}
#page ul.order li {
	display: inline;
	list-style: none;
}
#page ul.order li:first-child {
	float: left;
	margin-left: 150px;
}
#page ul.order li:last-child {
	float: right;
	margin-right: 150px;
}
#page ul.order li a:link, #page ul.order li a:visited {
	color: #346E75;
}
#page ul.order li a:active, #page ul.order li a:hover {
	color: #3E5154;
}

#page ul.direct {
	overflow: hidden;
	clear: both;
	margin: 0;
	padding-top: 10px;
	text-align: center;
}
#page ul.direct li {
	display: inline;
	margin: 0 5px;
	list-style: none;
}
#page ul.direct li:first-child {
	display: none;
}

/********* コメント *************************************************/

#comment {
	margin-top: 60px;
	padding-top: 60px;
	border-top: 1px solid #EEE;
}
#comment h2 {
	margin: 0;
	font-size: 110%;
}
#comment h3 {
	margin: 30px 0 0;
	color: #53696B;
	font-size: 100%;
}
#comment p {
	margin: 5px 0;
}
#comment ul {
	margin: 0 0 25px;
}
#comment ul li {
	color: #AAA;
	list-style: none;
}
#comment .comment ul.information li {
	display: inline;
	margin-right: 5px;
}

/********* コメントフォーム *************************************************/

#comment_form {
	margin-top: 60px;
	margin-bottom: -30px;
	padding-top: 60px;
	border-top: 1px solid #EEE;
}
#comment_form h2 {
	margin: 0;
	font-size: 110%;
}
#comment_form p {
	text-align: center;
}
#comment_form ul {
	margin-top: 15px;
	margin-bottom: 30px;
}
#comment_form h3 {
	margin: 30px 0 0;
	color: #6B8284;
	font-size: 100%;
}
#comment_form dl {
	width: 100%;
	margin: 0;
}
#comment_form dl dt {
	float: left;
	width: 20%;
	margin: 0;
	padding: 5px 0;
}
#comment_form dl dd textarea {
	width: 75%;
	padding: 8px 10px;
}

/********* トラックバック *******************************************/

#trackback {
	margin-top: 60px;
	padding-top: 60px;
	border-top: 1px solid #EEE;
}
#trackback h2 {
	margin: 0;
	font-size: 110%;
}
#trackback h3 {
	margin: 30px 0 0;
	font-size: 100%;
}
#trackback p {
	margin: 0;
}
#trackback ul {
	margin: 0;
}
#trackback ul li {
	color: #AAA;
	list-style: none;
}
#trackback .trackback ul.information li {
	display: inline;
	margin-right: 5px;
}

#trackback_url {
	margin-top: 60px;
	padding-top: 60px;
	border-top: 1px solid #EEE;
}
#trackback_url h2 {
	margin: 0;
	font-size: 110%;
}
#trackback_url p {
	margin: 0;
	color: #777;
}

/********* インフォメーション ***************************************/

#information {
	margin: -20px 0 50px;
	padding: 0 20px 30px;
	border: 1px solid #EEE;
}
#information h2 {
	margin: 30px 0 0;
	padding: 30px 0 0;
	font-size: 120%;
	border-top: 1px solid #EEE;
}
	#information div:first-child h2 {
		margin: 30px 0 0;
		padding: 0;
		border-top: none;
	}
#information h3 {
	margin: 0;
	font-size: 100%;
}
#information img {
	max-width: 538px;
	height: auto;
}

#information ul.continue {
	margin: 0;
	padding: 0;
	font-size: 90%;
	text-align: right;
}
#information ul.continue li {
	display: inline;
}
#information .text ul.continue {
	margin: 0 0 10px;
	padding: 0;
	border-bottom: none;
}

/********* ユーティリティ *******************************************/

/*
テンプレートから {include file='utility.html'} の記述を削除してもええよ。
*/

#utility {
	display: none;
}

/********* ギャラリー ***********************************************/

#gallery {
	overflow: hidden;
	margin-bottom: 60px;
	padding-bottom: 30px;
	border-bottom: 1px solid #EEE;
}
#gallery h2 {
	display: none;
}

#gallery .gallery {
	position: relative;
	float: left;
	width: 32%;
	margin: 0 0 2%;
}
#gallery .gallery:nth-child(3n) {
	margin: 0 2% 2% 2%;
}

#gallery .gallery .picture {
	overflow: hidden;
	height: 120px;
	margin: 0;
}
#gallery .gallery .picture a {
	line-height: 120px;
	display: block;
	width: 100%;
	height: 100%;
	color: #FFFFFF;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
}
#gallery .gallery p.picture a img {
	max-width: 100%;
	max-height: 100%;
	height: auto;
}

#gallery .gallery p.picture a span.empty {
	display: block;
	line-height: 100px;
	width: 140px;
	height: 100px;
	background-color: #AAAAAA;
	text-align: center;
}

#gallery .gallery .comment {
	visibility: hidden;
	opacity: 0;
	overflow: hidden;
	margin: 0;
	padding: 8px 8px 0;
	color: #222;
	font-size: 90%;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;

	-webkit-transition: .1s;
	-moz-transition: .1s;
	-ms-transition: .1s;
	-o-transition: .1s;
	transition: .1s;
}
#gallery .gallery:hover > .comment {
	opacity: 0.8;
	visibility: visible;
}
#gallery .gallery:after {
	z-index: 10;
	position: absolute;
	opacity: 0;
	content: '';
	left: 50%;
	margin: -24px 0 0 -10px;
	border-style: solid;
	border-width: 0 10px 12px 10px;
	border-color: transparent transparent #FFF transparent;

	-webkit-transition: .2s;
	-moz-transition: .2s;
	-ms-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
}
#gallery .gallery:hover:after {
	opacity: 1.0;
	margin-top: -34px;
}

#gallery ul {
	margin: 10px 0 20px 0;
}
#gallery ul li {
	display: inline;
}
#gallery ul li img {
	margin: 0 2px 10px 0;
}

/********* 個別指定 *************************************************/

#page_link {
	margin-top: 60px;
	padding-top: 60px;
	color: #AAA;
	text-align: center;
	border-top: 1px solid #EEE;
}
#page_link h3 {
	display: none;
}

#page_link ul.page_link li {
	display: inline;
	list-style: none;
	margin-right: 10px;
}
#page_link ul.page_link li.home {
	padding-right: 10px;
	padding-left: 10px;
	border-right: 1px solid #DDD;
	border-left: 1px solid #DDD;
}
#page_link ul.page_link li.previous:before {
	content: "<<";
	margin-right: 10px;
}
#page_link ul.page_link li.next:after {
	content: ">>";
	margin-left: 10px;
}

ul.link {
	margin: 0;
	padding: 10px;
	text-align: right;
}
ul.link li {
	display: inline;
	margin-left: 5px;
}

/********* IE *************************************************/

*:first-child+html #search-form {
	margin-left: -492px;
}
#search-form {
	width/*\**/: 698px\9;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
	#search-form {
		width: 698px;
	}
}
