/*
Theme Name: OriginalThema2
Theme URI: 
Description: オリジナルテーマです。
*/

* {margin:0; padding:0;}
img{border:none;}
img a {border:none;}
ul {margin: 0; padding: 0;}
li {list-style-type: none; margin: 0; padding: 0;}
a {text-decoration:none; color:#664C00;}
a:hover {color:#ccc;}

.clear {
    clear: both;
}
.clearfix:after {
    clear: both;
    content: "";
    display: block;
    height: 0;
    visibility: hidden;
}
.clearfix {
    display: inline-block;
}
* html .clearfix {
    height: 1%;
}
.clearfix {
    display: block;
}
.clearfix {
    overflow: hidden;
}
img.alignleft{float:left;}
.left{float:left;}
.right{float:right;}

/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}

/* ------------------------------------------

ページデザインの修正はここから
CSSの画像読み込むときは、フルパスで！

-------------------------------------------- */

/* -- ページ内見出し上書き -- */
.entry_contents h1{font-size:1.4em; font-weight:bold;}
.entry_contents h2{font-size:1.3em; font-weight:bold;}
.entry_contents h3{font-size:1.2em; font-weight:bold;}
.entry_contents h4{font-size:1.1em; font-weight:bold;}
.entry_contents h5{font-size:1.0em; font-weight:bold;}
.entry_contents h6{font-size:0.9em; font-weight:bold;}


/* -- メインタイトル -- */
#wrapper {}
h2#main_title {}


/* -- ページタイトル箇所 -- */
h2 { font-size:1.5em; font-weight:bold; margin-bottom:15px;} 

 /* -- メインカラム --*/
.main{float:left; width:700px; }

 /*-- sidebar --*/
#sidebar{width:240px; float:right; padding-top:20px;}
#sidebar div{ padding:0 0 5px 2px; width:240px; margin-bottom: 15px;}
#sidebar ul { padding:3px 0 0 8px;}
#sidebar li { padding-left:13px; margin-bottom:3px; text-align:1.6em;}
#sidebar h2{ display:block; height:32px; padding:0.5em 10px 0 0; line-height:180%; font-weight:bold; background: url(images/blog/bg_side_h2.jpg) no-repeat left top; margin-bottom:0; font-size:18px; position: static !important; text-align: right; 	font-family:"ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif; color:#000; margin-bottom: 20px;} /* -- sidebarタイトル --*/

/*-- ウィジェット --*/
#wp-calendar { width:90%; margin:0 auto; text-align:center; font-size:0.8em;}
#wp-calendar caption { text-align:center; margin-bottom:5px; font-weight:bold; font-size:1.1em;}
#wp-calendar th { text-align:center;}
#wp-calendar a { color:#eb9a00;}
#searchform { padding-left:15px;}
#searchform label { display:none;}

/*-- 記事タイトル --*/
.main_title { background:url(images/blog/bg_ttl.jpg) no-repeat left top; padding:8px 0 0 15px; height:37px; font-weight:bold; font-size:12px;} 
.main_title a {color:#323037; text-decoration:none; font-size:1.5em;}
.main_title a:hover { text-decoration:none;}

/*-- 記事コンテンツ --*/
.entry_contents { padding:0 5px; line-height:150%;}

/*-- 記事日時 --*/
.time {color:#3F3000; font-size: 12px; text-align: right; margin-bottom: 30px;}
/*-- 各記事カテゴリや日付（記事下） --*/
.section_f { display:inline-block; width:630px; padding:20px 25px 0; font-size:14px; border-top:1px solid #ccc; margin-top: 60px;}

 /*-- アーカイブページなど各記事を囲む div -- */
.index_section {
	margin-bottom: 40px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

/*-- 記事一件 --*/
.section { background:#ffffff; padding:20px 10px;	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

/*-- 個別記事下の前後記事へのリンク  --*/
#prevAndNext{width:700px; display:inline-block; margin:30px 15px 0 15px;}
#prevAndNextLeft{float:left; width:350px;}
#prevAndNextRight{float:right; width:350px; text-align:right;}

/*--コメント --*/
.commentlist{display:inline-block; width:100%;}
#respond{display:inline-block; width:100%;}

/*-- pagenavi --*/
.wp-pagenavi{display:inline-block; width:100%; text-align:center; margin:30px 0;}
.wp-pagenavi span.pages{margin-right:30px;}
.wp-pagenavi span {margin-right:5px; padding:3px; border:1px solid #cbb797;}
.wp-pagenavi a{margin-right:5px; padding:3px; border:1px solid #cbb797; background:#e1d0b6;}
.wp-pagenavi a:hover{ background:#cbb797; color:#fff;}

/* 検索フォーム */
#searchform div { width:100%; padding:0; font-size:0.8em;}

/* 一覧ページタイトル */
.page_title {
	margin-bottom: 15px;
}
/* Custom */
#blog #contents_col #content_bg{background:#fff; width:1000px; margin:0 auto;}
*html #blog #contents_col #content_bg{width:800px;}

#g_nav li,
#g_nav ul,
#g_nav li,
#g_nav { height:48px;}

#footer #foot_nav ul{display:inline-block; margin:10px 0 0 0; font-size:80%;}

#header_col #tel{ float:right; margin:5px 0;  }
#header_col #sp{ position:relative; top:35px; left:117px; }

/* custom side */
#sidebar input { font-size: 15px; }
#sidebar input#s {width:140px; text-align:center;}
#sidebar ul{border-top: 1px dotted #999;
}
#sidebar li {
	background: url(images/blog/arrow.gif) 0% 50% no-repeat;	
	/*padding-left: 20px;*/
padding: 10px 10px 10px 20px;
border-bottom: 1px dotted #999;
}

#wp-calendar .today {
}

/* 
#header_wrapper #container #h_gnav {position:absolute; top:0px; left:670px;}
#header_wrapper #container #h_gnav a{display:inline; float:left;}
 */
 
/* 160920 daimon */
#header_wrapper #container #h_gnav {
	top:0; position:absolute; width: 100%; padding: 0 0 0 30px; text-align: center;
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
	z-index: 10000; font-size: 0;
}
#header_wrapper #container #h_gnav a{ display:inline;}
#header_wrapper #container #h_gnav a:first-child{ margin-left: -280px;}
/* 160920 daimon */
