/*
Theme Name: Original Theme
Theme URI: http://nymemo.com/
Discription: This is Original Theme.
*/

/* =========================================================
画像の枠線を消す。画像リンクの枠線を消すために使用
========================================================= */
img {
    border-style:none;
}
/* ====================================================== */

/* インデント */
.indent05 {
 margin-left: 0.5em; /* ブロック全体を 0.5em 右に */ 
 text-indent: -0.5em; /* 先頭の1文字のみ 0.5em 左に */ 
} 

.indent1 {
 margin-left: 1em; /* ブロック全体を 1em 右に */ 
 text-indent: -1em; /* 先頭の1文字のみ 1em 左に */ 
} 

.indent2 {
 margin-left: 2em; /* ブロック全体を 2em 右に */ 
 text-indent: -2em; /* 先頭の1文字のみ 2em 左に */ 
} 

.indent3 {
 margin-left: 3em; /* ブロック全体を 3em 右に */ 
 text-indent: -3em; /* 先頭の1文字のみ 3em 左に */ 
} 

/* 記事下 古いネタオへのリンク */

.oldlinks {
	font-size: 0.875em;
	line-height: 1.8;
	margin-top: 10px
}


/* 記事下 古いネタオへのリンク */

.writing {
	margin-left: 10px
}


/**************************************************************/
/* container 容器。ここで全体の横幅や配置を指定する*/
div#container {
	width: 875px;
	margin: auto;
}


@media screen and (max-width: 768px) {
/*ウインドウサイズが768px以下の時この中のcssに上書きされます。*/

div#container {
	min-height: 100%; /* =最小の高さが100%= */
	width:100%;
	margin: 0 auto;
    position: relative; /* wrapは相対配置(footはabsolute絶対配置) ２カラムページでは無効 */
	overflow: hidden;  /* 横幅オーバーでiphoneが横スクロールするのを防ぐ */
}

}
/**************************************************************/

/* header */
div#header h1 {
	font-size: 1.875em;
	margin: 0;
	float: left;
	margin-bottom: 4px
}

div#header h1 a {
	text-decoration: none;
	color: #000000
}

div#header p#desc {
	font-size: 0.75em;
	color: #444444;
	margin: 0;
	float: right;
	margin-top: 18px
}

div#header {
	border-bottom: none;
	padding-bottom: 0px;
	margin-bottom: 20px;
}



/**************************************************************/
div#header p#image {
	margin: 8px 0 0;
}

@media screen and (max-width: 768px) {
/*ウインドウサイズが768px以下の時この中のcssに上書きされます。*/

/*画像を囲う枠*/
div#header p#image {
    max-width: 100%; 
   height: auto;
}

/*画像そのものもサイズ調整*/
div#header p#image img{
    max-width: 100%; 
    height:auto;
}

}
/**************************************************************/






/* contents */
/* こことコンテンツのright leftを入れ替えると左右逆になる */
div#content {
	width: 515px;
	float: left
}


/**************************************************************/
@media screen and (max-width: 768px) {
/*ウインドウサイズが768px以下の時この中のcssに上書きされます。*/
div#content {
	min-height: 100%; /* =最小の高さが100%= */
	width:100%;
	margin: 0 auto;
    position: relative; /* wrapは相対配置(footはabsolute絶対配置) ２カラムページでは無効 */
	overflow: hidden;  /* 横幅オーバーでiphoneが横スクロールするのを防ぐ */
}

}



@media screen and (max-width: 768px) {
/*ウインドウサイズが768px以下の時この中のcssに上書きされます。*/
/* イメージ画像 */
div.post img {
    max-width: 100%; 
    height:auto;
}
}
/**************************************************************/



/**************************************************************/
@media screen and (max-width: 768px) {
/*ウインドウサイズが768px以下の時この中のcssに上書きされます。*/
/* イメージ画像 */
.adpos1 {
text-align: center;
}
}
/**************************************************************/



/* カテゴリページ カテゴリ名のデザイン */
p#pagetitle {
	font-size: 0.875em;
	font-weight: bold;
	color: #000000;
	border: solid 1px #999999;
	text-align: center;
	padding: 10px 0;
	margin-top: 0
}


/* article アーティクル。記事 */
div.post {
	border: solid 1px #999999;
	padding: 15px;
	margin-bottom: 20px;
}

div.post h2 {
	background-color: #a3d2f2;
	background-image: url(titlebar.jpg);
	font-size: 0.875em;
	padding: 10px;
	margin: 0
}

div.post h2 a {
	text-decoration: none;
	color: #000000
}

div.post p {
	font-size: 0.875em;
	line-height: 1.6;
	margin-top: 10px
}

p.postinfo {
	color: #000000;
	text-align: right;
	margin: 20px 0 0
}

/+ カテゴリ： のリンクを通常色にするため無効設定
p.postinfo a {
	color: #999999
}
*/


/* image */
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto
}


/* pagelink */
span.oldpage {
	float: left
}

span.newpage {
	float: right
}

p.pagelink a {
	font-size: 0.75em;
	color: #999999;
}

p.pagelink {
	overflow: hidden;
	width: 100%
}


/* sidebar */
/**************************************************************/
/* こことコンテンツのright leftを入れ替えると左右逆になる */
div#sidebar {
	width: 335px;
	float: right
}

@media screen and (max-width: 768px) {
/*ウインドウサイズが768px以下の時この中のcssに上書きされます。*/
/* イメージ画像 */
div#sidebar {
	width: 100%;
}
}


/*スマホ、サイドバーのアドセンス*/
@media screen and (max-width: 768px) {
/*ウインドウサイズが768px以下の時この中のcssに上書きされます。*/
/* サイドバーのアドセンス */
div#sidebar #text-3 {
	padding: 0px;
}
}


/*スマホ、表現インフォへのリンク*/
@media screen and (max-width: 768px) {
/*ウインドウサイズが768px以下の時この中のcssに上書きされます。*/
/* サイドバーのアドセンス */
div#sidebar #text-5 {
	padding: 0px;
}
}
/**************************************************************/



div#sidebar ul {
	margin: 0;
	padding: 0
}

div#sidebar li {
	list-style-type: none
}


div#sidebar .widget {
	background-color: #ffffff;
	border: solid 1px #999999;
	padding: 16px;
	margin-bottom: 10px
}

/* widget 「検索」の文字を消す */
.screen-reader-text {
	display: none;
}

/* 検索タイトルと検索フォームの間のマージン */
#searchform {
margin: 5px 0 0 0;
}


/* widget 検索ボックス-テキストボックス枠色 */
div#sidebar input {
	border: 1px solid #999999
}

div#sidebar {
	font-size: 0.75em;
	color: #000000;
	line-height:1.6em
}

div#sidebar h2 {
	font-size: 1em;
	color: #000000;
	border-bottom: solid 1px #000000;
	padding-bottom: 8px;
	margin: 0 0 10px
}



/* listmark.gifは付属CDのもの */
div#sidebar li li {
	font-size:  1em;
	margin-bottom: 4px;
	background-image: url(listmark.gif);
	background-repeat: no-repeat;
	background-position : 0px 6px;
	padding-left: 16px
}

div#sidebar li li a {
	text-decoration: none;
	color: #000000
}




/* footer */

div#footermenu ul {
	width: 210px; /* 横幅が広いと広がらず重なってしまうので注意 */
	float: left;
	margin: 0 5px 0 0; /* ウィジェット間隔 */
	padding: 0;
	list-style-type: none;
}

div#footermenu ul ul {
	width: auto;
	float: none;
	margin: 0;
}

/* 文字サイズと 文字行間 */
div#footermenu li li {
	font-size: 0.875em;
	padding: 5px 10px;
}


div#footermenu h2 {
	color: #ffffff;
	background-color: #444444;
	border-radius: 3px;
	padding: 2px 10px;
	margin: 0;
	font-size: 0.875em;
}

div#footermenu .widget {
	padding: 5px;
	margin-bottom: 10px
}


/* コピーライトの回り込みを解除 */
div#footer p{
	clear: both;
	border-top: solid 3px #000000;
	font-size: 0.75em
}


div#footer {
	clear: both;
	padding: 6px 0;
	background-color: #ffffff;
}

#address {
	font-size: 0.75em;
	font-style: normal;
	font-family: Verdana, sans-serif;
	margin: 0
}

address a {
	color: #000000
}


/* yarpp 関連記事 */

/* p tag */
.yarpp {
	font-size: 0.9em;
	font-weight: bold;
}
.yarpp-li {
	line-height: 1.6;
	padding: 0;
	margin: 0px 0px 0px 30px;
}

.yarpp-ol {
	font-size: 0.9em;
	padding: 0;
	margin: 0;
}