/*
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: #333;  /* 文字色 */
font-size: 14px; /* 文字の大きさ */
}
 
body.custom-font-enabled {
font-family: "メイリオ", Meiryo,
"Hiragino Kaku Gothic Pro",
"ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", "Lucida Grande",
"Lucida Sans Unicode", Arial, Verdana, sans-serif;
}

/* 本文中の行間 */
.entry-content p {line-height: 28px;}

/* サイドバーの行間と文字の大きさ */
.widget-area .widget li {
line-height: 28px; /* 行間 */
font-size: 6px; /* 文字の大きさ */
}
/*サイドバーウィジェットのタイトル上下の余白調整 */
   /* Sidebar */
.widget-area .widget {
    margin-bottom: 12px;
    margin-bottom: 0.75rem;
}
.widget-area .widget h3 {
    margin-bottom: 7px;
    margin-bottom: 0.5rem;
}

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

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

/* 記事タイトル */
.entry-header .entry-title a {
font-size: 26px; /* 文字の大きさ */
line-height: 1.2; /* 高さ */
padding-left: 10px; /* ちょっと左に余白 */
}
.entry-header .entry-title a {
color: #000000;/* 文字の色 */
}


/* ウィジェットタイトル部分 */
.widget-area .widget h3  {
text-align:center;  /* タイトルの中央寄せ */
line-height: 20px; /* 高さ */
font-size: 15px; /* 文字の大きさ */
color: #fff; /* 文字色 */
background-color: #9acd32; /* 背景色 */
border-radius: 3px; /* 角に丸みをつける */
padding: 2px 10px; /* 左と上下に余白 */
}

/* 見出しh2 */
.entry-content h2 {
padding: .5em .75em;
background-color: #f6f6f6;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;}

/* 見出しh3 */
.entry-content h3 {
border-left: 5px solid #F5A9F2;
padding: 0 0 0 15px ;
line-height: 2;
font-size: 18px;
background-color: #fff;}

/* 記事内のリンク */
.entry-content a  {
text-decoration: underline; /* リンク部分にアンダーライン */
font-weight:bold; /* リンク文字を太字 */
color: #0066cc;} /* リンクの色 */
.entry-content a:visited {
color: #0066cc;} /* 訪問済みの色 */
.entry-content a:hover{
color: #7a8285;} /* カーソルが乗った時の色 */

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

.widget-area .widget a {
color: #0044cc; /* リンク部分の文字色 */
text-decoration: underline;　/* アンダーライン無し */
font-weight: normal; /* 文字の太さはノーマル */
}
.widget-area .widget a:visited {color: #000000;}
.widget-area .widget a:hover{color: #7a8285;}

.widget-area .widget ul {
list-style: disc;  /* リストマーク */
padding-left:30px;  /* 左に余白 */
}

.widget-area .widget li {
border-bottom: 1px dotted #CCC;
}

/* ナビメニュー */
.main-navigation li a {
color: #fff; /* 文字色（白） */
font-weight:bold; /* 太字にして */
line-height: 25px; /* 高さ */
font-size: 15px;} /* 文字の大きさ */
.main-navigation ul {
margin: 0; /* 余白をなくす */
background: #9acd32; /* 背景色 */
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}

.main-navigation li a:visited {color: #fff;}
.main-navigation li a:hover{color: #7a8285;}

@media screen and (min-width: 600px) {
.main-navigation ul.nav-menu {
 display: table !important;
 table-layout: fixed;
 text-align: center;
 width: 100%;}
 
 .main-navigation li {
 display: table-cell;
 vertical-align: middle;}
}

/* ナビゲーションサブメニュ－ */
ul.sub-menu li a{
color:#fff !important;  /* サブメニュー文字色 */
background-color:#9acd32 !important;  /* サブメニューの背景色 */
font-size:12px !important;  /* 文字の大きさ */
font-weight:bold !important;  /* 文字を太字に */
}
  
ul.sub-menu li {
margin-right:0px !important; /* サブメニューの右の余白を0に */
}

@media screen and (min-width: 600px) {
.site {max-width: 960px;}
.widget-area {width: 33.333333%;}
.site-content {width: 63.440860215%;}
}

@media screen and (min-width: 600px) {
.ie8 .site {max-width: 960px;}
.ie8 .widget-area {width: width: 33.333333%;}
.ie8 .site-content {width: 63.440860215%;}
}

/* パンくず */
div#breadcrumb div {
line-height: 20px; /* 文字の高さ */
display: inline; /* 横並びに */
}

/* パンくず位置調整 */
div#breadcrumb {
margin:-20px 0 35px 0;}
.site-header {
padding: 24px 0 0 0;}

/* ヘッダー */
hgroup {
margin-bottom:10px;} /* タイトル下に余白 */
 
.header-image {
margin-bottom:10px;} /* ヘッダー画像下に余白 */
 
.main-navigation {
margin-bottom:10px;} /* ナビメニュー下に余白 */

/* カテゴリー別アーカイブ */
.archive-title {
border-left: 5px solid #9acd32;
border-bottom:2px solid #9acd32;
padding: 0 0 0 15px ;
color:#000000;
line-height: 2;
font-size: 18px;}

/* 勝手に大文字にしない */
.main-navigation li a {text-transform: none;}
.archive-title {text-transform: none;}
.widget-title {text-transform: none;}
	
.archive-header{ border-bottom: none}

.archive-header {margin-bottom: 10px;}


/* 広告位置 */
p.ad-label {
  margin-left:20px;
  margin-top:15px;
}
 
.ad-bottom {
  margin-top:15px;
}
 
.ad-bottom-sm {
  margin-top:15px;
}

/* スマートフォンで広告がはみ出す場合 */
@media screen and (max-width:599px){
.side-ad{magin-left: -10px;} 
.ad-bottom-sm{margin-left:-10px}
.mid-ad{margin-left:-10px}
}

/* スマートフォンでのliタグの余白を調整 */
body{
word-break: break-all;  /* 英単語の途中改行 */
}
 
@media screen and (max-width:479px){
 
.site {
 padding:0 15px;  /* スマホの両端の余白 */
}
 
.entry-content li {
    margin: 10px 0 10px 18px;  /* liタグの余白調整 */
}
}