/*
Theme Name: 1022
Description: MTテンプレート Ver.10
Version: 10.0.0
Author: エーエフ・パートナー
Author URI: http://www.jp-soft.com/
*/

/* ------ 初期設定 ------ */
html {overflow-y: scroll;}

body, div, dl, dt, dd, ul, ul li, h1, h2, h3, h4, h5, h6,
pre, form, fieldset, input, textarea, p, blockquote, th, td,
section, nav, article, aside, hgroup, header, address,
figure, figcaption {margin: 0;padding: 0;}

address, caption, cite, code, dfn, em, strong, th, var {font-style: normal;font-weight: 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%;font-weight: normal;}
img, abbr, acronym, fieldset {border: 0;}
img {vertical-align: bottom;-ms-interpolation-mode: bicubic;}
ul li {list-style-type: none;}
.textwidget{margin: 0;padding: 0;text-align: left;}
 * {-webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;}


@font-face {
font-family: iconfont;
src: url('fonts/coolweb.eot'); /* IE9 Compat Modes */
src: url('fonts/coolweb.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	 url('fonts/coolweb.woff') format('woff'), /* Modern Browsers */
	 url('fonts/coolweb.ttf')  format('truetype'), /* Safari, Android, iOS */
	 url('fonts/coolweb.svg#svgFontName') format('svg'); /* Legacy iOS */}
.icon {font-family: iconfont;font-weight: normal;}
.icon-list:before {content: "A";}
.icon-arrow:before {content: "J";}
.icon-midashi:before {content: "L";}
.icon-koushin:before {content: "n"; padding-right: 5px; vertical-align: bottom;}
.icon-feed:before {content: "U"; margin: 0 5px; color: #FB9F3B;}
.icon-facebook:before {content: "R"; margin: 0 5px; color: #3953A1;}
.icon-gplus:before {content: "S"; margin: 0 5px; color: #C62E00;}
.icon-twitter:before {content: "T"; margin: 0 5px; color: #00B1EA;}

/* ------ BODY ------ */
body {font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	*font-family: 'メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	color: #555555; font-size: 14px; line-height: 1.8em; text-align: left; background: url("http://afabg.sakura.ne.jp/img/back_img.png") repeat-y top center; -webkit-text-size-adjust: 100%;}

/* ------ リンクの属性（未指定の時）------ */
a {outline: none;}
a {text-decoration: underline;}
a:hover {text-decoration: none;}

/* ------ 画像属性等 ------ */
img {max-width: 100%;height: auto;width: auto\9;}
.alignleft {float: left;  margin: 5px 10px 5px 0;}
.alignright{float: right; margin: 5px 0 5px 10px;}
.aligncenter{margin: 5px auto;display:block;}
a:hover.link img,a:hover img.link{filter: alpha(opacity=80); -moz-opacity:0.80; -ms-filter: "alpha( opacity=80 )"; opacity:0.80; background:none!important;}
.text-center {text-align: center;}
.f-left {float: left; margin: 10px 5px;}
.f-right{float: right; margin: 10px 5px;}

/* ------ テーマ基本設定 ------ */
#wrapper {position: relative; max-width: 1200px; margin: 0 auto 0 auto; padding: 0; }
header { position: absolute; top: 0; left: 0; width: 201px; height: 100%;padding: 10px 5px 20px 15px; background-color: #FFFFFF;}

/* ------ ヘッダー ------ */
#header-inner {position: relative; width: 100% ;margin: 0; text-align:center; overflow: hidden; *zoom: 1;}
#ptitle {margin: 20px 0; padding: 0; text-align: center; display: inline;}
#s-button {margin-top: 10px; text-align: center;}
#s-button a {font-size: 24px; text-decoration: none;}
#s-button a:hover {text-decoration: none;}
#h-widget {margin-top: 20px; display: block;}

/* ------ ヘッダーナビゲーション ------ */
#gnav-btn {display :none;}
#gnav {width: 100%;}
#gnav nav {margin: 0 auto; position: relative; z-index: 1;}
#gnav nav ul {list-style-type: none; margin: 0; padding: 0;}
#gnav nav ul li {position: relative; width: 100%; margin: 0; padding: 0; text-align: left;}
#gnav nav ul li a {display: block; margin: 0; padding: 0.8em 20px 0.8em 15px; color: #414444; font-size: 100%;font-weight: 600; line-height: 1.4em; text-decoration: none;}
#gnav nav ul li ul {position: absolute; top: 0; left: 100%; list-style: none; margin: 0;}
#gnav nav ul li ul li{overflow: hidden; width: 300px; height: 0; color: #FFFFFF; -moz-transition: .2s; -webkit-transition: .2s; -o-transition: .2s; -ms-transition: .2s; transition: .2s;}
#gnav nav ul li ul li a{padding: 0 10px; text-align: left; font-size: 100%; font-weight: normal; line-height: 3.0em;opacity: 0.8; filter: alpha(opacity=80);}
#gnav nav ul li:hover a{background: #DD9C47; color: #FFFFFF;}
#gnav nav ul li ul li:hover a{background: #DD9C47;color: #FFFFFF;opacity: 1.0; filter: alpha(opacity=100);}
#gnav nav ul li:hover ul li{overflow: visible; line-height: 3.0em; height: 3em;}
.arrow {position: absolute; top : 0.8em; right: 10px;}
#gnav nav ul li ul li .arrow {display: none;}

/* ------ パンくずリスト ------ */
#plist {width: 100%;padding: 0 0 10px; font-size: 85%; }
#plist a {color: #CC0000;}

/* ------ コンテンツ ------ */
#containar {margin-left: 225px; min-height: 1000px; min-width: 750px; padding-top: 20px; overflow: hidden;*zoom: 1; z-index: 10;}

/* ------ ページ設定 ------ */
#grid-contents {margin: 0 ; padding: 0 0 20px 15px; }
#contents { margin: 0; padding: 0 0 20px 15px; }

h1 {margin: 0.4em 0; padding: 0; font-size: 24px; font-weight: 600; line-height: 1.5em;}
h2 {margin: 0.4em 0; padding: 0; font-size: 24px; font-weight: 600; line-height: 1.5em;}
h3 {margin: 0.4em 0; padding: 0; font-size: 20px; font-weight: 600; line-height: 1.5em;}
h4 {margin: 0.4em 0; padding: 0; font-size: 18px; font-weight: 600; line-height: 1.3em;}
h5 {margin: 0.4em 0; padding: 0; font-size: 16px; font-weight: 600; line-height: 1.3em;}
h6 {margin: 0.4em 0; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.3em;}
	 
/* ------ トップページリスト表示 ------ */
.parts article{margin:  5px; text-align: left; background-color: #FFFFFF; border: 1px solid #FFFFFF; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; }
.parts article > .inner {margin: 10px; background-color: #FFFFFF;}
.parts article > .inner h3 {padding: 0; font-size: 16px; }
.parts article > .inner h3 a {margin: 0; padding: 8px 10px ; font-weight: 600; line-height: 1.3em; text-decoration: none; display: block; overflow: hidden; }
.parts article > .inner h3 a:hover {color: #B90B50;}
.parts article > .inner p {padding: 5px 10px 0 10px; font-size: 100%; line-height: 1.5em; text-align: left; overflow: hidden; }
/* ------ 続きを読む ------ */
.parts article > .inner .next a {padding: 10px 0 0; color: #CCCCCC; font-size: 143%; line-height: 1em; text-align: center; text-decoration: none; display: block;}
.parts article > .inner .next a:hover {color: #CC338C;}

/* ------ 記事画像付きリスト表示------ */
#kiji-list {margin: 10px 0;}
#kiji-list article{padding: 10px; border-bottom: 2px  solid #B90B50;}
#kiji-list article p{ text-align: justify; text-justify: distribute-all-lines;}
.ie7 #kiji-list article p , .ie8 #kiji-list article p{text-align: left;}
#kiji-list article:first-child {border-top: 2px  solid #B90B50;}
#kiji-list article .next {text-align: right;}
#kiji-list article .next a {padding: 3px 15px;font-size: 85%; color: #FFFFFF;  text-decoration: none; background-color: #B90B50; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display: inline;}
#kiji-list article .next a:hover{background-color: #FF0000;}
#kiji-list article img{max-width: 200px;border: 1px solid #CFCFCF;}

/* ------ 記事属性 ------ */
.doc {padding: 20px 10px;}

/* ------ ソーシャルボタン属性 ------ */
#social{margin: 20px 0;}
#social h4{padding: 5px 10px; font-size: 129%;font-weight: bold;line-height: 100%;color: #333333;border: 1px solid #CC0000; display: inline-block;}
#social p{padding-left: 1em;}
#social iframe, #social a, #social img, #social div {vertical-align: top !important;}
	
/* ------ 関連記事リスト属性 ------ */
#kanren{margin: 15px  auto;}
#kanren .k-post {display: inline-block; vertical-align: top; margin: 5px 0.21% ; width: 19%; line-height: 1.3em; overflow: hidden;}
#kanren .k-post img {border: 1px solid #CCCCCC;}
#kanren .k-post p {margin: 0 5px; font-size: 84% ; font-weight: 600; text-align: justify;}
#kanren .k-post p > a {text-decoration: none;}

/* ---- コメント----- */
#comments {margin: 0 10px;}
.comments-open label {display: block;}
#comment-author, #comment-email, #comment-url, #comment-text { width: 80%;}
#comment-bake-cookie {margin-left: 0; vertical-align: middle;}
#top-comment-nav, #comment-nav {list-style: none; width: 100%; margin: 0 0 1em 0; padding: 0; text-align: center;}
#top-comment-nav li, #comment-nav li {display: inline; padding: 0;}
#top-prev-comments, #prev-comments {text-align: left; margin: 0 1em 0 0;}
#top-next-comments, #next-comments {text-align: right; margin: 0 0 0 1em;}
#top-num-comments, #num-comments {text-align: center;}
#comment-submit {font-weight: bold;}
.comment,.trackback {margin: 0 0 .5em 1em; border-bottom: 1px dotted #ccc; padding-bottom: .5em; font-size: 100%;}
.comment .asset-meta,.trackback .asset-meta { border: 0; margin-bottom: .5em; font-size: 92%;}
.comment-content {clear: none; line-height: 150%; margin-bottom: 1em; font-size: 100%;}
.comment-content p {margin-bottom: .5em;}
.comments-open-content{margin-left: 1em;}
.trackbacks-info{ margin-left: 1em; font-size: 12px;}

/* ------人気ランキングパーツ ------ */
.rank-post {margin-bottom: 10px; padding: 0; overflow: hidden; *zoom: 1;}
.rank-post  h4{display: block; margin-bottom: 10px; padding: 5px 0 5px 3px ; text-align: left; font-size: 107%; font-weight: 600; color: #B40926;line-height: 135%;}
.rank-post  h5{display: block; padding-bottom:  5px ; text-align: left; font-size: 109%; font-weight: 600; color: #333333;line-height: 1.2em;  text-align: justify; text-justify: distribute-all-lines; }
.ie7 .rank-post  h5 , .ie8 .rank-post  h5{text-align: left;}
.rank-post .p-post {margin-bottom: 10px; padding-bottom: 10px; font-size:85%; line-height: 130%; text-align: justify; text-justify: distribute-all-lines; border-bottom: 1px dotted #CFCFCF;}
.ie7 .rank-post .p-post , .ie8 .rank-post .p-post{text-align: left;}
.rank-post .p-post img{float: left; margin: 3px 8px 3px 0; max-width: 120px;}
.rank-post .p-post a {color: #333333; text-decoration: none; display: block;}
.rank-post .p-post a:hover {color: #CC0000; text-decoration: underline;}

/* ------ サイドバー ------ */
.sidebar-wrapper {margin-bottom: 20px;}
.sidebar-wrapper h4{display: block ; margin: 0; padding: 4px 2px; font-size: 12px; font-weight: 600; line-height: 1.5em; -webkit-border-top-left-radius:3px;  -webkit-border-top-right-radius:3px; border-radius: 3px 3px 0px 0px;}
.sidebar-wrapper form,
.sidebar-wrapper p,
.sidebar-wrapper .tagcloud{padding: 5px; font-size: 12px; }
.sidebar-wrapper ul {padding: 0;}
.sidebar-wrapper ul li a {display: block;padding: 8px 20px 8px 5px;font-size: 12px; line-height: 1.5em;text-decoration: none;background: url("img/arrow_02.png") no-repeat right center;}
.sidebar-wrapper ul li:first-child a {border-top: none;}
.sidebar-wrapper ul.children ,.sidebar-wrapper ul.sub-menu{padding: 0;}
.sidebar-wrapper ul.children li,.sidebar-wrapper ul.sub-menu li{text-indent: 10px;}
.sidebar-wrapper ul.children li:last-child,.sidebar-wrapper ul.sub-menu li:last-child{border-bottom: none;}

/* ------ フッター ------ */
footer {width: 100%; padding-top: 20px; clear: both;}
#footer-inner, #footer-inner2 {max-width: 1200px; margin: 0 auto; padding: 10px 0 10px 215px; font-weight: normal;}
#footer-inner nav{text-align: center;margin: 0; padding: 10px 0 20px;}
#footer-inner ul li {display: inline-block;*display: inline;*margin-bottom: 12px;padding: 0 10px 0 15px;line-height: 1.3em; border-left: solid 1px #999999; *zoom: 1;}
#footer-inner ul li:first-child {border-left: none;}
#footer-inner2 h4 {margin-bottom: 5px; padding: 0.4em 0 0.4em 10px; font-size: 120%; font-weight: 500; line-height: 1.3em; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
#footer-inner2 .f-left {margin: 0 1%; width: 32%; font-size: 12px ; line-height: 1.35em; float: left;}
#footer-inner2 .f-center {margin: 0 1%; font-size: 90% ; width: 31%; line-height: 1.35em; float: left;}
#footer-inner2 .f-right {margin: 0 1%; font-size: 90% ; width: 31%; line-height: 1.35em; float: left;}
#footer-inner2 ul{margin: 0 5px 10px 10px; list-style: none;}
#footer-inner2 ul > li {line-height: 2.0em;}
#footer-inner2 ul.children {margin: 0;}
#footer-inner2 ul.children li {padding: 0 0 0 20;}
#footer-inner2 .footer-wrapper form,
#footer-inner2 .footer-wrapper p,
#footer-inner2 .footer-wrapper .tagcloud{padding: 10px; font-size: 92%;}
#footer-inner2 .post-date{font-size: 84%;}
footer #copyright {width: 100%; padding: 10px 0; text-align:center;font-size: 13px;}

/*ページ分割*/
.e_page{text-align: center; font-size: 80%; padding: 15px 0;}
.e_page .link_before,.e_page .link_page,.e_page .current_page,.e_page .link_next {color: #414444;padding: 2px 6px; background: #FFFFFF; display: inline-block; border: solid 1px #B90B50;text-decoration: none; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}
.e_page .current_page {color: #FFFFFF; font-weight: bold; display: inline-block; padding: 2px 6px; background: #B90B50; border: solid 1px #B90B50; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}
.e_page a {color: #414444;padding: 2px 6px; background: #FFFFFF; display: inline-block; border: solid 1px #B90B50;text-decoration: none; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}
.e_page a:hover{background: #B90B50; color: #FFFFFF; font-weight: normal;}

/* ------ スクロールトップ------ */
.pagetop {display: none; position: fixed; bottom: 30px; right: 0;}

/* ------ ボックス幅 ------ */
.item { width: 236px; }
.item.w2 {width: 708px; }
.item.r2 {width: 236px; }

/* ------ アドセンス ------ */
.ads_res {max-width: 730px; margin: 0 auto 10px; display: block;}
.ads_rec {text-align: left;}

/* ------ その他属性 ------ */
.red_uline{border-bottom: 2px solid #FF3300;}
.uline{border-bottom: 1px solid #FF6633;}
.link_line{text-decoration: underline;} 
.dot{border-bottom:1px dotted #CCCCCC;}
.solid{border-bottom:1px solid #CCCCCC;}
.clr{clear: both;}

/* ------ フォント属性 ------ */
strong{font-weight: bold;}
em{color: red;}
.txtcenter{text-align: center;}
.red{color: #CC0000;}
.pink{color: #CC0099;}
.bg_yellow{background: #FFFF00;}
.gold{color: #F4CA54;}
.silver{color: #999999;}
.copper{color: #BD4C54;}
.other{color: #71AAE0;}
.bld{font-weight: bold;}
