@charset "UTF-8";

/*
	Theme Name: wptheme
	Author: kaomoji channel
	Author URI: http://
	Version: 1.0
	License: 
	License URI: 
*/

/****************************************
          アドセンス
*****************************************/
.ad-right,
.ad-left { margin: 0 0 10px; }
.ad-right { width: 468px; margin-left: auto; margin-right: auto; }

/****************************************
          Reset
*****************************************/

html { overflow-y: scroll; }
	
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin: 0; padding: 0; }

address,caption,cite,code,dfn,em,strong,th,var { font-style: normal; }

table { border-collapse: collapse; border-spacing: 0; }

caption,th { text-align: left; }

q:before,q:after { content: ''; }

object,embed { vertical-align: top; }

hr,legend { display: none; }

h1,h2,h3,h4,h5,h6 { font-size: 100%; }

img,abbr,acronym,fieldset { border: 0; }

ul,ol { list-style-type: none; }

address { font-style:normal; }

img { vertical-align: middle; border: 0; }


a, a img {
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out; }

a { color: #000; text-decoration:none; }	
a:hover { color: #4279da; text-decoration:none; }
a img:hover  { opacity: 0.7; -moz-opacity: 0.7; -webkit-opacity: 0.7; filter: alpha(opacity=70); }



#contents, input {
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}



/****************************************
          General Setting
*****************************************/

body {
	margin: 0;
	padding: 0;
	font-size: 18px;
	text-align: left;
	color: #222;
	background: #D5EAFF url(images/kumo.gif) repeat center top;
	-webkit-text-size-adjust: 100%;
	font-family: "MS Pゴシック", "ＭＳ　Ｐゴシック", "MS PGothic",sans-serif;
}

#page {
	width: 100%;
	padding: 30px 0;
}

#wrapper{
	width: 846px;
	margin: auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
 
/****************************************
         ヘッダー
*****************************************/

#header {
	padding: 20px 20px 15px;
	background: url(images/bg_02.gif) no-repeat center center;
}

#header .logo {
	float:left;
	width:227px;
}

#header .share { float: right; width: 115px; position: relative; top: 7px; }
#header .share a { margin-right: 3px; }
#header .share img { width: 35px; height: 35px; }


/****************************************
          コンテンツ
*****************************************/
#contents {
	clear: both;
	width: 100%;
	padding: 10px;
	padding-top: 0;
	background: url(images/bg_03.png) no-repeat left top;
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}

.global-nav {
	clear: both;
	width:100%;
	height: 55px;
	letter-spacing: 1px;
	line-height: 1.5;
}

.global-nav a {
	display:block;
	float: left;
	width: 280px;
	border-left: 1px solid #393939;
	border-right: 1px solid #000000;
	border-bottom: 1px solid #393939;
	padding:10px 0;
	background: #3B7BEA;
	background: #2D2D2D;
	color:#fff;
	font-size: 16px;
	text-align: center;
	font-weight: bold;
}

.global-nav a:hover { background: #1758B9; }

/****************************************
          Main
*****************************************/

#contents .nav-outer {
	text-align: center;
	margin-bottom: 15px;
	width: 100%;
	letter-spacing: 1px;
	line-height: 1.5;
}

#contents .nav-outer h1, #contents .nav-outer a.aa-link {
	font-size: 24px;
	font-weight: bold;
	padding: 25px 0 35px;
	float: left;
	width: 50%;
}

#contents .nav-outer a.aa-link { color: #aaa; }
#contents .nav-outer a:hover.aa-link { color: #1758B9;}

#contents .nav { clear: both; width: 100%; }

#contents .nav a {
	font-weight: bold;
	float:left;
	margin-right: 3px; margin-bottom: 3px;
	border-radius: 3px;
	padding:5px 8px;
	background:#000;
	color:#fff;
}

#contents .nav a:hover { background: #1758B9; }


#main .post,
#main .page {}

#main {
	float:right;
	width:656px;
}

#main .post, #main .page { border: 1px solid #ddd; }

#main .post h1, #main .page h1, #main .page h2 { font-size: 30px; line-height: 1.3; padding: 30px 15px; border-bottom: 1px solid #ddd;}

#main .post p, #main .page p { font-size: 16px; padding: 15px; }

#main .post .aaboard { background: #f1f1f1; margin: 2px 2px 0; padding: 5px 5px 20px 5px; color: #000; font-size: 16px !important; line-height: 1.125; letter-spacing: 0; word-wrap: normal; text-wrap: none; white-space: nowrap;}

#main .post .aaboard:last-child { margin-bottom: 2px; }
#main .post .aaboard h2, #main .post .aaboard h3 { font-size: 14px; padding: 0; margin-bottom: 20px; color: #1758B9; }
#main .post .aaboard p { padding: 0; margin: 0; }
#main .post .aaboard .download { position: relative; top: -34px; text-align: right; }
#main .post .aaboard .download a { display: inline-block; padding: 4px; font-size: 11px; background: #999; color: #fff; border-radius:4px;}
#main .post .aaboard .download a:hover { background: #777;}

/* 下書きのAA背景を白に */
#main .status-draft .aaboard { background: #fff; padding: 5px 0 40px 30px;}


/* ぱんくず */
p.pankuzu { background: #efefef; padding: 5px 15px; font-size: 11px; }


/* 関連記事 */
.related { padding: 10px; border-top: 1px solid #ddd; }
.related a { display: inline; font-size: 20px; font-weight: normal; margin-right: 10px; }
.related span { display: inline; font-size: 20px; font-weight: normal; border-bottom: 1px solid; margin-right: 10px; }
.related img { width: 50px; height: 50px;}
.related img:hover  { opacity: 1.0; -moz-opacity: 1.0; -webkit-opacity: 1.0; filter: alpha(opacity=100); }

/* 記事ページや一覧のNextPrev(ページナビ) */
.navigation{
	overflow: hidden;
	border: 1px solid #ddd;
	border-top: none;
	background: url(images/gray.gif) repeat-y 50% 0;
}
	.navigation > div{
		width: 50%;
	}

	.navigation .alignright{
		text-align: right;
	}

	.navigation a{
		display: block;
		padding: 1em;
		border: none;
	}
		.navigation a:hover{
			background: #efefef;
			color: #000;
		}
			.navigation .alignright a:hover{
				border-left: 1px solid #ddd;
			}


/* 記事ページ内のページナビ */
.page-link { margin: 2px;}
.page-link span { display: inline-block; float: left; margin-right: 2px; width: 40px; height: 40px; line-height: 40px; font-weight: bold; background: #eee; text-align: center; color: #777; border: 1px solid #ddd;}
.page-link a span { background: #777; color: #fff; border-color: #666;}
.page-link a span:hover { background: #999;}

/* kaomoji.uunyan.comのスタイル */
.box h1 {
	background: #000 url(images/bg_h1.gif) no-repeat 10px center;
	color: #fff;
	padding: 6px 5px 6px 40px;
	border-radius: 8px 8px 0 0;
}

.kaomoji {
	border: 1px solid #1758B9;
	padding: 0;}

.kaomoji p {
	padding: 3px 10px;
	border-bottom: 1px dotted #1758B9;}


.back-to-top { clear: both; width: 100%; text-align: right; }
.back-to-top img { width: 100px; height: auto; }

/****************************************
          index.php Main
*****************************************/

.content-box{
	float: right;
	margin-top: -0.25em;
	width: 420px;
}
	.content-box .more-link{
		margin: 0;
	}

.thumbnail-box{
	float: left;
	width: 160px;
}
	.thumbnail-box img{
		width: 160px;
		height: 160px;
	}

/* 投稿一覧の表示 */
.loop-entry { float: left; width: 164px; background: #fff; margin: 0 0 0; text-align: center;}
.loop-entry h2 { height: 34px; overflow: hidden; font-size: 14px; padding: 0; margin-top: 5px; line-height: 1.25em;}
.loop-entry h2 a {}
.loop-entry img { width: 150px; height: 150px; border: 1px solid #ddd;}
.loop-entry img:hover { border-color: #4279da;}

/****************************************
          Sidebar
*****************************************/

#side {
	float:left;
	width:160px;
	letter-spacing: 1px;
	line-height: 1.5;
}

#side .ad-left {
	margin-bottom: 10px; }

.widget{}

/****************************************
          Footer
*****************************************/

#footer {
	clear: both;
	margin-top:20px;
	padding:0 0 5px;
	font-size:12px;
	text-align: center;
	letter-spacing: 1px;
	line-height: 1.5;
}

address {
	clear:both;
}

#footer .bottom h2 {
	line-height:1;
	background:url(images/bg_01.gif) repeat;
	color:#fff;
	font-weight: normal;
}

#bottom a { color:#fff; }

#footer .pagetop { position: fixed; right: 10px; bottom: 10px; }

/****************************************
          Form
*****************************************/
#side #searchform { margin-bottom: 10px;}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
textarea {
	margin: 0;
	padding: 6px 4px;
	width: 240px;
	width: 160px;
	outline: none;
	border: 1px solid #ddd;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	background: #eee;
	color: #777;
	vertical-align: bottom;
	font-size: 13px;
	margin-bottom: 3px;
}

textarea {
	overflow: auto;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus {
	border: 1px solid #1758B9;
	background: #fff;
	-webkit-box-shadow: 0 0 3px rgba(23, 88, 185,1);
 	-moz-box-shadow: 0 0 3px rgba(23, 88, 185,1);
	box-shadow:  0 0 3px rgba(23, 88, 185,1);
 	color: #444;
}

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	display: inline-block;
	width: 50px;
	padding: 7px 0;
	text-align: center;
	border: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: #1758B9;
	color: #fff;
	text-decoration: none;
	text-shadow: 0 -1px rgba(0, 0, 0, .4);
	font-weight: bold;
	font-size: 12px;
	line-height: normal;
	cursor: pointer;
	/* Old browsers */
}

	.button:hover,
	button:hover,
	input[type="submit"]:hover,
	input[type="reset"]:hover,
	input[type="button"]:hover {
		background: #1758B9;
		color: #fff;
	  	text-shadow: 0 -1px rgba(0, 0, 0, .4);

	}

	.button:active,
	button:active,
	input[type="submit"]:active,
	input[type="reset"]:active,
	input[type="button"]:active {
		position: relative;
		top:1px;
	}


/****************************************
          WordPress Misc
*****************************************/

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.wp-caption {
	margin: 10px;
	padding-top: 4px;
	border: 1px solid #ddd;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color: #f3f3f3;
	text-align: center;
}

.wp-caption-text,
.gallery-caption{
	font-size: 80%;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-dd {
	margin: 0;
	padding: 0 4px 5px;
	font-size: 11px;
	line-height: 17px;
}

img.alignright {
    display: inline-block;
    margin: 0 0 1em 1.5em;
}

img.alignleft {
    display: inline-block;
    margin: 0 1.5em 1em 0;
}


/****************************************
          Clearfix
*****************************************/

.clearfix:after, #header:after, #contents:after, .nav:after, #contents .nav-outer a.aa-link:after, .page-link:after {
	content: ""; display: block; height: 0; clear: both; visibility: hidden; }  

* html #wrapper { overflow:hidden; }

/*スマホでの文字サイズ拡大対策*/
#main { max-height: 999999px;}

/****************************************
          リンク集のページ
*****************************************/

.page ul.links { margin: 15px 10px; min-height: 470px;}
.page ul.links li { padding: 10px; background: #fff; color: #666; font-size: 14px; line-height: 1.4; border-bottom: 1px solid #ddd;}
.page ul.links li a { font-weight: bold; color: #4279da; font-size: 18px;}
.post ul.links li a:hover { color: #222;}