﻿/*
Theme Name: child
Template: twentytwelve
*/
 
@import url('../twentytwelve/style.css');

/* フォントと文字の大きさ、色 */
body {
font-family: "メイリオ", Meiryo, 
"Hiragino Kaku Gothic Pro",
"ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", "Lucida Grande", 
"Lucida Sans Unicode", Arial, Verdana, sans-serif;
text-rendering: optimizeLegibility;
color: #5D5D5D;  /* 文字色 */
font-size: 16px; /* 文字の大きさ */
background-color:#ffffff; /* 背景の色 */
}
 
body.custom-font-enabled {
font-family: "メイリオ", Meiryo,
"Hiragino Kaku Gothic Pro",
"ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", "Lucida Grande",
"Lucida Sans Unicode", Arial, Verdana, sans-serif;
}

/* フォントと文字の大きさ、色[h1-h3] */
h1 {
margin:0px;
padding-top:10px;
padding-bottom:10px;
font-weight:bolder;
font-size:30px;
font-color:#140466;
font-family: "メイリオ","Hiragino Kaku Gothic Pro",sans-serif;
}

h1 a{
color:#140466;
text-decoration: none;
font-weight:bolder;
}


/* ブログタイトル部分 */
.site-header h1 {
font-size: 10px; /* 文字の大きさ */
line-height: 1.846153846; /* タイトル部分の高さ */
background-color: #fff; /* 背景に色を使う場合に記入 */
}

/* ブログタイトルの色 */
.site-header h1 a {color:black;} /* タイトルの色 */
.site-header h1 a:hover {
color:black;} /* カーソルが乗った時の色 */

/* ブログタイトル部分下のDIVのクラス */
.site-description {
font-size: 15px; /* 文字の大きさ */
line-height: 1.846153846; /* タイトル部分の高さ */
background-color: #fff; /* 背景に色を使う場合に記入 */
color:#715c1f; /* 文字の色 */
}


/* 記事タイトル */
.entry-header .entry-title {
	padding: .25em 0 .5em .75em;
	border-left: 6px solid #ccc;
	border-bottom: 1px solid #ccc;
        font-weight: bold; /* 太字 */
        color: #140466;/* 文字の色 */
}

.entry-header .entry-title a {
color: #140466;/* 文字の色 */
}

/* 本文中の行間 */
.entry-content p {line-height:30px;
padding:0px 0px 5px 0px;
margin-top:0px;
}

.entry-content a,
.entry-summary a,
.page-content a,
.comment-content a {text-decoration: none; font-color: #2b2b2b;}

.entry-content visited,
.entry-summary visited,
.page-content visited,
.comment-content visited {text-decoration: none; color: #2b2b2b;}

.entry-content a:hover,
.entry-summary a:hover,
.page-content a:hover,
.comment-content a:hover {text-decoration: underline; color: #2b2b2b;}

.entry-content a:active,
.entry-summary a:active,
.page-content a:active,
.comment-content a:active {text-decoration: none; color: #2b2b2b;}

/* ウィジェットタイトル部分 */
.widget-area .widget h3  {
line-height: 20px; /* 高さ */
font-size: 15px; /* 文字の大きさ */
color: #585859; /* 文字色 */
background-color:#ECECEB; /* 背景色 */
border-radius: 3px; /* 角に丸みをつける */
border: 3px solid #ccc;
padding:4px 10px 4px 10px;/* 左と上下に余白 */

}

/* サイドバーの文字 */
.widget-area .widget p, .widget-area 
.widget li, .widget-area .widget .textwidget {
line-height: 26px; /* 文字の高さ */
font-size: 12px; /* 文字の大きさ */
}

.widget-area .widget a {
color:#303AA4; /* リンク部分の文字色 */
text-decoration: none; /* リンク部分にアンダーライン */
font-weight: normal; /* 文字の太さはノーマル */
}
.widget-area .widget a:visited {color:#3E4ED8;}
.widget-area .widget a:hover{color: #AD362C;}

/*横幅の設定*/
.site {max-width: 980px;}/*全体の幅*/
.site-content {width: 680px;}/*コンテンツの幅*/
.widget-area {width: 300px;}/*サイドバーの幅*/


/* =Media queries
-------------------------------------------------------------- */

/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}
@viewport {
	width: device-width;
}

/* Minimum width of 600 pixels. */
@media screen and (min-width: 600px) {
	.author-avatar {
		float: left;
		margin-top: 8px;
		margin-top: 0.571428571rem;
	}
	.author-description {
		float: right;
		width: 80%;
	}
	.site {
		margin: 0 auto;
		max-width: 960px;
		max-width: 68.571428571rem;
		overflow: hidden;
	}
	.site-content {
		float: right;
		width: 60.15%;
	}
	body.template-front-page .site-content,
	body.attachment .site-content,
	body.full-width .site-content {
		width: 100%;
	}
	.widget-area {
		float: left;
		width: 31.25%;
	}
	.site-header h1,
	.site-header h2 {
		text-align: center;
	}
	.site-header h1 {
		font-size: 30px;
		font-size: 2.142857142rem;
		line-height: 1.42857142;
		margin-bottom: 0;
	}
	.main-navigation ul.nav-menu,
	.main-navigation div.nav-menu > ul {
		border-bottom: 1px solid #ededed;
		border-top: 1px solid #ededed;
		display: inline-block !important;
		text-align: left;
		width: 100%;
	}
	.main-navigation ul {
		margin: 0;
		text-indent: 0;
	}
	.main-navigation li a,
	.main-navigation li {
		display: inline-block;
		text-decoration: none;
	}
	.main-navigation li a {
		border-bottom: 0;
		color: #6a6a6a;
		line-height: 3.692307692;
		text-transform: uppercase;
		white-space: nowrap;
	}
	.main-navigation li a:hover,
	.main-navigation li a:focus {
		color: #000;
	}
	.main-navigation li {
		margin: 0 40px 0 0;
		margin: 0 2.857142857rem 0 0;
		position: relative;
	}
	.main-navigation li ul {
		margin: 0;
		padding: 0;
		position: absolute;
		top: 100%;
		z-index: 1;
		height: 1px;
		width: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
	}
	.main-navigation li ul ul {
		top: 0;
		left: 100%;
	}
	.main-navigation ul li:hover > ul,
	.main-navigation ul li:focus > ul,
	.main-navigation .focus > ul {
		border-left: 0;
		clip: inherit;
		overflow: inherit;
		height: inherit;
		width: inherit;
	}
	.main-navigation li ul li a {
		background: #efefef;
		border-bottom: 1px solid #ededed;
		display: block;
		font-size: 11px;
		font-size: 0.785714286rem;
		line-height: 2.181818182;
		padding: 8px 10px;
		padding: 0.571428571rem 0.714285714rem;
		width: 180px;
		width: 12.85714286rem;
		white-space: normal;
	}
	.main-navigation li ul li a:hover,
	.main-navigation li ul li a:focus {
		background: #e3e3e3;
		color: #444;
	}
	.main-navigation .current-menu-item > a,
	.main-navigation .current-menu-ancestor > a,
	.main-navigation .current_page_item > a,
	.main-navigation .current_page_ancestor > a {
		color: #636363;
		font-weight: bold;
	}
	.menu-toggle {
		display: none;
	}
	.entry-header .entry-title {
		font-size: 22px;
		font-size: 1.571428571rem;
	}
	#respond form input[type="text"] {
		width: 46.333333333%;
	}
	#respond form textarea.blog-textarea {
		width: 79.666666667%;
	}
	.template-front-page .site-content,
	.template-front-page article {
		overflow: hidden;
	}
	.template-front-page.has-post-thumbnail article {
		float: left;
		width: 47.916666667%;
	}
	.entry-page-image {
		float: right;
		margin-bottom: 0;
		width: 47.916666667%;
	}
	.template-front-page .widget-area .widget,
	.template-front-page.two-sidebars .widget-area .front-widgets {
		float: left;
		width: 51.875%;
		margin-bottom: 24px;
		margin-bottom: 1.714285714rem;
	}
	.template-front-page .widget-area .widget:nth-child(odd) {
		clear: right;
	}
	.template-front-page .widget-area .widget:nth-child(even),
	.template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {
		float: right;
		width: 39.0625%;
		margin: 0 0 24px;
		margin: 0 0 1.714285714rem;
	}
	.template-front-page.two-sidebars .widget,
	.template-front-page.two-sidebars .widget:nth-child(even) {
		float: none;
		width: auto;
	}
	.commentlist .children {
		margin-left: 48px;
		margin-left: 3.428571429rem;
	}
}

/* 記事下ランダム表示*/
.ninki-post ul.wpp-list{
margin: 0px;
padding: 0px;list-style-type: none;
width:100%;
}
 
.ninki-post ul.wpp-list li{
    vertical-align: top;
    list-style:none;float:left;
    line-height:150%;
    width:120px;
    font-size: 13px;
    min-height: 215px;
    text-align:left;
    margin: 0;
    padding-right: 8px;padding-left:8px;
    clear: none;
    }
  
.ninki-post ul.wpp-list li img{
      padding:2px;margin: 0;
      border: #ccc 1px solid;
      width:120px;height:120px;
}
/* 追加分*/
/* blockquote*/
blockquote.type-a {
position: relative;
margin: 1px 0;
padding: 3.5em;
font-size: .9em;
border: 1px solid #CCC;
border-radius: 6px;
}
blockquote.type-a::before,
blockquote.type-a::after{
position: absolute;
font-size: 4em;
opacity: .1;
}
blockquote.type-a::before{
top: 15px;
left: 20px;
content:'"';
}
blockquote.type-a::after{
bottom: 0px;
right: 20px;
content:'"';
}
/* h3*/
h3.type-a{
	position: relative;
	padding: .5em 0 .5em .5em;
	border-left: 6px solid #3498db;
        font-size:18px;
	font-family:'メイリオ';
}
h3.type-b{
	position: relative;
	padding: .25em 0 .5em .75em;
	border-left: 6px solid #3498db;
	font-family:'メイリオ';
}
h3.type-b::after {
	position: absolute;
	left: 0;
	bottom: 0;
	content: '';
	width: 100%;
	height: 0;
	border-bottom: 1px solid #ccc;
}

h3.type-c{
	position: relative;
	padding: 0 .4em .1em;
}
h3.type-c::after {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: -1;
	content: '';
	width: 100%;
	height: 10px;
	background-color: #b6f0fc;
}
h3.type-d {
	padding-bottom: .3em;
	border-bottom: 1px solid #ccc;

}
h3.type-d span {
	display: block;
	margin-bottom: .2em;
	color: #aaa;
	font-size: .7em;
}
h3.type-d a:visited,a:link{color:#140466;}

/* table*/
table.type-a{
 /*width: 100%;*/
 border-collapse: collapse;
 margin: 1px 0;
 }
table.type-a th{
/* width: 25%;*/
 padding: 4px;
 text-align: left;
 vertical-align: top;
 color: #333;
 background-color: #eee;
 border: 2px solid #b9b9b9;
 font-size: 2.5ex;
 }
table.type-a td{
 padding: 4px;
 background-color: #fff;
 border: 2px solid #b9b9b9;
 font-size: 2ex;
 }

/* ul*/
ul.type-a li {
	position: relative;
}
ul.type-a li::after,
ul.type-a li::before {
	display: block;
	content: '';
	position: absolute;
}
ul.type-a li::after {
	top: .35em;
	left: -1.2em;
	width: 14px;
	height: 14px;
	background-color: #3498db;
	border-radius: 100%;
}
ul.type-a li::before {
	z-index: 2;
	top: .625em;
	left: -.975em;
	width: 4px;
	height: 4px;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
/* サイドバーの人気記事一覧レイアウト */
ul.wpp-list li {
  border-bottom: 1px dashed #bbb;
  counter-increment: wpp-count;
  position: relative;
}
ul.wpp-list li:before {
  display: block;
  padding: 1px 11px;
  color: #fff;
  background-color: #333;
  content: counter(wpp-count);
  position: absolute;
  opacity: 1;
  z-index: 10000;
  border-radius: 6px;
  top: 6px;
  left: 6px;
}
ul.wpp-list li:last-child {
  border-bottom: none;
}
ul.wpp-list li:nth-child(1):before{
  background-color: #FBCC54;
}
ul.wpp-list li:nth-child(2):before{
  background-color: #B7BFC1;
}
ul.wpp-list li:nth-child(3):before{
  background-color: #D47B16;
}
ul.wpp-list li img {
  margin: 5px 10px 5px 5px;
  padding: 3px;
  border: 1px solid #ddd;
}
ul.wpp-list li a.wpp-post-title {
  display: block;
  font-size: 15px;
  padding: 12px;
  text-decoration: none;
  color: #333;
}
