/*
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;
}

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


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

/* サイドバーの行間と文字の大きさ */
.widget-area .widget li {
line-height: 28px; /* 行間 */
font-size: 14px; /* 文字の大きさ */
}

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

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

div.entry-post-thumbnail {
float: left;
margin: 0 10px 10px 0;}
.entry-content{margin-top:30px;}
.wpcf7 input[name="your-name"],
.wpcf7 input[name="your-email"],
.wpcf7 input[name="your-subject"] {
        width: 80%;
        height: 35px !important;
}
 
.wpcf7 textarea[name="your-message"] {
        width: 80%;
        height: 350px !important;
}

p.ad-label {
  margin-left:20px;
  margin-top:15px;
}
 
.ad-bottom {
  margin-top:15px;
}
 
.ad-bottom-sm {
  margin-top:15px;
}

.widget-area .textwidget ul {
list-style:  none;}
.widget-area .textwidget li {
margin-left: 0px;}

@media screen and (max-width:599px){
.side-ad{magin-left: -10px;} 
.ad-bottom-sm{margin-left:-10px}
.mid-ad{margin-left:-10px}
}


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

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

/* 見出しh3_sample2 */
.sample2 {
  color: #151515 ;
  background: #fafafa;
  font-size: 16pt ;
  line-height: 1;
  margin:10px 0px;
  padding: 10px 5px 10px 5px;
    box-shadow:1px 3px 7px 0px #666666 ;
    border-bottom:5px solid #386bec;
    border-radius: 5px ;}

/* 見出しh4 */
.entry-content h4 {
border-left: 5px solid #1F5E73;
padding: 0 0 0 5px ;
line-height: 1;
font-size: 16px;
background-color: #fff;}

ins {
	background: #FFFFFF;
	text-decoration: none;
}

/* スポンサードリンクというラベルの部分 */
.ad-bottom-label {
  text-align:center;  /* ラベルを中央寄せ */
  margin-top:15px;  /* 上に余白 */
}
 
/* 横並び広告全体部分 */
.ad-bottom-main {
  margin-top:20px;  /* 上に余白（ラベルとの距離） */
  margin-bottom:20px;  /* 下に余白（下のコンテンツとの距離） */
}
 
/* 広告左 */
.ad-bottom-left{
     float:left;  /* 広告を左寄せ */
     margin-right:10px;  /* 右に余白（２つの広告の間の余白） */
}
  
/* 広告右 */
.ad-bottom-right{
     float:left;  /* これも広告の左寄せ */
}
 
/* 最後に左寄せを解除するための記述 */
.ad-bottom-main:after {
  content:"";
  display:block;
  clear:both;
}