/*
Theme Name: 1230
Description: WordPressテーマ Ver.12 レスポンシブ版
Version: 12.0.0
Author: Tsunehisa Hazama
Author URI: http://www.af-joho.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;} matsuzawa */
.textwidget{margin: 0;padding: 0;text-align: left;}

/* ------ Web Font ------ */
@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-next:before {content: "L"; padding-left: 5px; vertical-align: top; font-size: 116%;}
.icon-midashi:before {content: "L";}
.icon-koushin:before {content: "Q"; 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: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
	color: #414444; font-size: 87.5%; line-height: 1.6em; text-align: left; background-color: #F5F5F5; -webkit-text-size-adjust: 100%;}

#wrapper {width: 100%;}

/* ------ リンクの属性（未指定の時）------ */
a {outline: none;}
a {color: #174088;text-decoration: none; font-weight: bold;}
a:hover {color: #C00;text-decoration: underline;}

/* ------ 画像属性等 ------ */
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=85); -moz-opacity:0.85; -ms-filter: "alpha( opacity=80 )"; opacity:0.85; background:none!important;}

/* ------ ヘッダー ------ */
header {height: 95px;}
#header-inner {position: relative; width: 1080px; margin: 0 auto; height: 50px; overflow: hidden; *zoom: 1;}
#ptitle {position: absolute; top: 5px; left: 0; margin: 0; padding: 0; font-size: 100%; line-height: 1.5em; font-weight: 600;}
.fixd {position: fixed; top: 0; width: 100%; min-width: 1080px; z-index: 9000; border-top: 5px solid #C06;}
#tel {position: absolute; top: 5px; right: 0; margin: 0; padding: 0; font-size: 100%; line-height: 1.5em; font-weight: 600;}

/* ------ ヘッダーナビゲーション ------ */
#gnav-btn {display :none;}
#gnav {width: 100%; font-size: 92%; border-bottom: 5px solid  #333; background-color: #FFF;}
#gnav *{-webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;}
#gnav nav { width: 1080px; margin: 0 auto; padding: 0; position: relative; z-index: 99;}
#gnav nav > ul {list-style-type: none; height: 45px; margin: 0; padding: 0;}
#gnav nav > ul > li {position: relative; float: left; width: 20%; margin: 0; text-align: center; border-right: 3px solid #FFF; border-bottom: 5px solid #333;}
#gnav nav > ul > li:first-child {border-left: 3px solid #FFF;}
#gnav nav > ul > li a {display: block; color: #414444; font-weight: bold; line-height: 45px; text-align: center; text-decoration: none;}
#gnav nav > ul > li > ul {position: absolute; top: 50px; left:  0; width: 120%; list-style: none; margin: 0;}
#gnav nav > ul > li:last-child > ul {left: -44.5%; width: 120%;}
#gnav nav > ul > li  ul li{margin: 0; overflow: hidden; width: 120%; height: 0; -moz-transition: .2s; -webkit-transition: .2s; -o-transition: .2s; -ms-transition: .2s; transition: .2s;}
#gnav nav > ul > li  ul li a{padding-left: 1em; height: 40px; line-height: 40px; color: #414444 text-align: left; background-color: #FFF; border-bottom: 1px solid #CCC;}
#gnav nav > ul > li:hover {border-bottom: 5px solid #3CF;}
#gnav nav > ul > li  ul li:hover > a{color: #C06;}
#gnav nav .current-menu-parent , #gnav nav .current-menu-item {border-bottom: 5px solid #C06;}
#gnav nav > ul > li:hover ul li{overflow: visible; height: 40px;}
#gnav nav > ul > li:hover ul li:last-child{border-bottom: 0;}

/* ------ ソーシャルボタン等 ------ */
#header-social-button {position: absolute; top: 15px; right: 0; display: block;}
#header-social-button a {font-size: 24px; text-decoration: none;}
#header-social-button a:hover {text-decoration: none;}
#gnav-social-button {display: none;}


/* ------ ヘッダー画像 ------ */
#mainvisual {width: 100%; background-color: #FFF ; overflow: hidden; border-bottom: 1px solid #CCC; z-index: 10;}
#mainvisual #mainvisual-inner {width: 1200px; margin-left: -600px; padding-left:  50%;}

/* ------ パンくずリスト ------ */
#plist {width: 100%; padding: 10px 0; font-size: 79%;}
#plist .plist-inner {width: 920px;margin: 0 auto;overflow: hidden;*zoom: 1;}

/* ------ コンテンツ ------ */
#containar {width: 1080px;margin: 0 auto; padding-top: 20px; *zoom: 1;}
#containar *{-webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;}
#contents {float: left;width: 750px;padding-bottom: 20px;}

/* ------ 見出し ------ */
/*　h1, h2 {font-family: 'ヒラギノ明朝 Pro W3','Hiragino Mincho Pro',"游明朝", YuMincho,"HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝",sans-serif;}  */
h1 {margin: 0.4em 0; padding: 0; font-size: 214%; font-weight: 600; line-height: 1.3em;}
h2 {margin: 0.4em 0; padding: 0 0 0 .4em; font-size: 200%; font-weight: 600; line-height: 1.3em; border-left: 6px solid #FF3300; color: #414444; display: block;}
h3 {margin: 0.4em 0; padding: 0; font-size: 142%; font-weight: 600; line-height: 1.3em;}
h4 {margin: 0.4em 0; padding: 0; font-size: 128%; font-weight: 600; line-height: 1.3em;}
h5 {margin: 0.4em 0; padding: 0 ;font-size: 114%; font-weight: 600; line-height: 1.3em;}
h6 {margin: 0.4em 0; padding: 0 ;font-size: 100%; font-weight: 600; line-height: 1.3em;}
.main-title {margin: 0.5em 0; padding: 0 0 0 .4em; border-left: 8px solid #3CF; font-weight: bold; color: #414444; display: block;}
.post-title {margin-bottom: 1em; padding: 0 0 0 .4em; border-left: 8px solid #3CF; font-weight: bold; color: #414444; display: block;}
.parts-title {padding: .2em 0 .2em .4em; border-bottom: 4px solid #3CF; font-weight: bold; color: #414444; display: block;}

/* ------ 投稿 ------ */
.doc {padding: 20px; font-size: 108%; line-height: 2.0em; text-align: justify; text-justify: inter-ideograph; background-color: #FFF;}
.info {padding: 20px; font-size: 100%; line-height: 1.5em; text-align: justify; text-justify: inter-ideograph; background-color: #FFF;}
.waku {border: 1px solid #CCC;}

/* ------ ボックス幅 ------ */
.item { width: 250px;}
.item.w2 {width: 500px; }
.item.r2 {width: 250px;}

/* ------ トップページリスト表示 ------ */
#grid-contents article {margin: 0 10px 20px; background-color: #FFF;}
#grid-contents a article h3 {margin: 10px 5px 0 -5px; padding: 0 0 0 5px; color: #555; font-size: 108%; line-height: 1.2em; text-decoration: none; border-left: 5px solid #C06; text-align: justify; text-justify: inter-ideograph; }
#grid-contents a article p {padding: 10px; color: #333; font-size: 92%; font-weight: normal; line-height: 1.3em; text-decoration: none;  text-align: justify; text-justify: inter-ideograph; }
#grid-contents a:hover {text-decoration: none; }
#grid-contents a:hover h3, #grid-contents a:hover p {filter: alpha(opacity=80); -moz-opacity:0.80; -ms-filter: "alpha( opacity=80 )"; opacity:0.80; background:none!important;}

/* ------ 記事リスト表示 ------ */
#post-list{margin: 0 auto; padding: 0 15px;}
#post-list article {padding: 15px 0 10px; border-bottom: 1px dotted #CCC; overflow: hidden;}
#post-list article h3{margin: 0; padding: 0 0 10px; font-size: 128%;}
#post-list img {float: left; max-width: 180px; margin-right: 10px; border: 1px solid #CCC;}
#post-list p {padding: 0; font-size: 100%; line-height: 1.5em; text-align: justify; text-justify: inter-ideograph; overflow: hidden; }
/* ------ 続きを読む ------ */
#post-list  article .next {padding: 10px 10px 5px; font-size: 92%; text-align: right;}
#post-list  article .next a {margin: 0; padding: 5px 10px; font-weight: bold; color: #414444; text-decoration: none; border: 1px solid #CCC; background-color: #FFF;
  -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; }
#post-list  article .next a:hover {color: #FFF; background-color: #3CF;}

/* ------ アドセンス属性 ------ */  
.ads_res > .textwidget {margin: 15px 0; text-align: center;}
.ads_rec > .textwidget {margin: 15px 0; text-align: left;}
.ads_left {float: left; display: block;}
.ads_rigjt{float: right; display: block;}

/* ------ ソーシャルボタン属性 ------ */
#social{margin: 15px 0 0;}
#social h4{padding: 5px 10px; font-size: 123%;font-weight: bold;line-height: 100%;color: #414444;border: 1px solid #C00; display: inline-block}
#social p{padding-left: 1em; line-height: 1.5em}

/* ------ 関連記事リスト属性 ------ */
#related-posts{margin: 15px 0 0;}
#related-posts .k-post {display: inline-block; vertical-align: top; width: 48%; margin: 0 0.7%; padding: 15px 0 0; overflow: hidden;}
#related-posts .k-post h5 {font-size: 108%; font-weight: bold; line-height: 1.2em; }
#related-posts .k-post img {float: left; max-width: 180px; margin-right: 10px; border: 1px solid #CCC;}
#related-posts .k-post p {margin: 0 5px; font-size: 84% ; line-height: 1.4em; text-align: justify; text-justify: inter-ideograph;}


/* ---- コメント・トラックバック----- */
.tback {border: none;}
.tback h2{margin-botoom: 0; padding-bottom: 15px;}
.tback p {margin: 0 0 10px 10px;padding: 0;font-size: 12px; line-height: 1.6em;}
.comments{margin: 10px; border: none;}
.comments ul{list-style: none;margin: 0; color:#414444; font-size: 100％;}
.comments ul li {margin-bottom: 10px;background: #FFF; padding: 12px;}
.comments ul li.depth-1{border-bottom: 1px dotted #CCC;margin-bottom: 12px;}
.comments ul.children {list-style: none;}
.comments p{padding: 0 10px 5px 20px; text-align: left;}
.comments form p{line-height: 1.8em; display: block;}
.comments label{font-weight: bold;display:block;}
.comments form p.comment-notes,.comments form p.form-allowed-tags{font-size: 100%;text-align: left;}
.comments .reply{width: 40px;height: 20px;margin-left: 20px;text-align: center;line-height: 20px;border: 1px solid #CCC;background: #FFF;display: block;}
.comments .reply a{color: #414444;text-decoration: none;display: block;} 
.comments .reply a:hover{color: #FFF;background: #CCC;} 
.comments h3 small{font-size: 114%;}
#author{width: 200px; height: 2em}
#email{width: 200px; height: 2em}
#url	{width: 200px; height: 2em}
#comment	{width: 99%; height:100px; }
#submit	{margin:0; padding:2px 25px; cursor:pointer;}

/* ------ サイドバー ------ */
#sidebar {float: right; width: 301px;}
.sidebar-wrapper {margin-bottom: 20px;}
.sidebar-wrapper h4{display: block ; margin: 0; padding: 8px 10px 8px 0; font-size: 108%; line-height: 1.2em; color: #444;}
.sidebar-wrapper h4:before {font-family: iconfont; content:'\0079'; padding-right: 5px; vertical-align: bottom; color: #C06;}
.sidebar-wrapper form,
.sidebar-wrapper .tagcloud{padding: 10px; font-size: 92%; border-top: 1px solid #CCC; border-bottom: 1px solid #CCC;}
.sidebar-wrapper ul {padding: 0; border-bottom: 1px solid #CCC;}
.sidebar-wrapper ul li {border-top: solid 1px #D5D5D5;  background-color: #FFF;}
.sidebar-wrapper ul li a {display: block;padding: 10px 20px 10px 10px;font-size: 92%; font-weight: bold; line-height: 1.5em; color: #555;text-decoration: none;background: url(img/arrow_04.png) no-repeat right center;}
.sidebar-wrapper ul li a:hover{background-color: #F5F5F5;}
.sidebar-wrapper ul.children {padding: 0; border: none;}
.sidebar-wrapper ul.children li{border-top: solid 1px #D5D5D5; text-indent: 10px;}
.sidebar-wrapper ul.children li:first-child{border-top: solid 1px #D5D5D5;}
.sidebar-wrapper .post-date { padding-left: 15px; line-height: 1.0em; font-size: 77%;}
.sidebar-wrapper ul li:nth-child(1){border-left: 5px solid #CC0066; border-right: 5px solid #CC0066;}
.sidebar-wrapper ul li:nth-child(2){border-left: 5px solid #CC0066; border-right: 5px solid #CC0066;}
.sidebar-wrapper ul li:nth-child(3){border-left: 5px solid #CC0066; border-right: 5px solid #CC0066;}
.sidebar-wrapper ul li:nth-child(4){border-left: 5px solid #CC0066; border-right: 5px solid #CC0066;}
.sidebar-wrapper ul li:nth-child(5){border-left: 5px solid #CC0066; border-right: 5px solid #CC0066;}
.sidebar-wrapper ul li:nth-child(6){border-left: 5px solid #CC0066; border-right: 5px solid #CC0066;}
.sidebar-wrapper ul li:nth-child(7){border-left: 5px solid #CC0066; border-right: 5px solid #CC0066;}
.sidebar-wrapper ul li:nth-child(8){border-left: 5px solid #CC0066; border-right: 5px solid #CC0066;}
.sidebar-wrapper ul li:nth-child(9){border-left: 5px solid #CC0066; border-right: 5px solid #CC0066;}
.sidebar-wrapper ul li:nth-child(10){border-left: 5px solid #CC0066; border-right: 5px solid #CC0066;}
.sidebar-wrapper ul li:nth-child(11){border-left: 5px solid #CC0066; border-right: 5px solid #CC0066;}
.sidebar-wrapper ul li:nth-child(12){border-left: 5px solid #CC0066; border-right: 5px solid #CC0066;}
.sidebar-wrapper ul li {list-style-type: none;} /* matsuzawa */

/* ------ フッター ------ */
footer {width: 100%; min-width: 1080px; background-color: #333; border-top: 4px solid #C06;}
#footer-inner {width: 1080px;margin: 0 auto;padding: 10px 0;}
#footer-inner nav{text-align: center;margin: 0; padding: 10px 0 20px;}
#footer-inner nav ul li {display: inline-block;*display: inline;*margin-bottom: 12px;padding: 0 10px 0 15px;line-height: 1.3em;font-size: 92%; color: #FFF;border-left: solid 1px #CCC; *zoom: 1;}
#footer-inner nav ul li:first-child {border-left: none;}
#footer-inner2 {width: 1000px; margin: 0 auto;padding: 20px 0; font-weight: normal;}
#footer-inner2 h4 {margin: 0 0 0.2em 0; padding: 0.4em 0 0.4em 10px; font-size: 108%; font-weight: bold; line-height: 1.3em; color: #FFF; background-color: #C06;
	-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
#footer-inner2 .f-left {margin: 0 1%; width: 32%; font-size: 100% ; line-height: 1.35em; float: left;}
#footer-inner2 .f-center {margin: 0 1%; font-size: 100% ; width: 31%; line-height: 1.35em; float: left;}
#footer-inner2 .f-right {margin: 0 1%; font-size: 100% ; width: 31%; line-height: 1.35em; float: left;}
#footer-inner2 ul{margin: 0 0 10px 5px; list-style: none;}
#footer-inner2 ul > li {line-height: 2.0em;}
#footer-inner2 ul > li:before {font-family: iconfont; content: "L"; padding-right: 5px; vertical-align: top; color: #C06;}
#footer-inner2 ul.children {margin: 0;}
#footer-inner2 ul.children li {padding: 0 0 0 20px;}
#footer-inner2 .footer-wrapper form,
#footer-inner2 .footer-wrapper p,
#footer-inner2 .footer-wrapper .tagcloud {padding: 0 10px 10px; font-size: 92%;}
#footer-inner2 .footer-wrapper .tagcloud {line-height: 2.0em;}
#footer-inner2 .post-date{font-size: 84%;}
footer a {color: #FFF; text-decoration: none;}
footer a:hover{ color: #3CF; text-decoration: underline;}
footer #copyright {width: 100%; padding: 10px 0; text-align:center;font-size: 92%; font-weight: bold; color: #FFF; }

/* ------ ページナビ ------ */
.page_navi {text-align: center; font-size: 13px; line-height: 1.6em;}
.page_navi li {display: inline;list-style: none;}
.page_navi li.current span {color: #FFF; font-weight: bold; border: solid 1px #3CF; background-color: #3CF; display: inline-block; padding: 2px 6px; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}
.page_navi li a {padding: 2px 6px; border: solid 1px #3CF; display: inline-block; text-decoration: none; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}
.page_navi li a:hover {color: #3CF;}
.page_navi li.page_nums span {padding: 3px 7px;display: inline-block; color: #414444; background-color: #FFF; border: solid 1px #3CF; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}

/* ------ピックアップ記事 ------ */
.rank-post {margin-top: 0; padding: 0 ; overflow: hidden; *zoom: 1;}
.rank-post .p-post {margin-bottom: 10px; padding: 10px; font-size: 85%; line-height: 1.3em; border: 1px solid #D5D5D5; background-color: #FFF; text-align: justify; text-justify: inter-ideograph;}
.rank-post  h5{display: block; padding: 0 0 5px ; font-size: 125%; text-align: left;}
.rank-post .p-post img{ float: left; margin-right: 8px; max-width: 100px; border: 1px solid #CCC;display: block;}

/* ------ その他属性 ------ */
.red_uline{border-bottom: 3px solid #F30;}
.uline{border-bottom: 1px solid #F63;}  
.dotline{clear: both;margin: 5px 0; border-bottom: 1px dotted #CCC;}
.clr{clear: both;}
strong{font-weight: bold;}
em{color: red;}
.txtcenter{text-align: center;}
.red{color: #C00;}
.pink{color: #C09;}
.bld{font-weight: bold;}

/* ------ 線の属性 ------ */
.dot{border-bottom:1px dotted #CCC;}
.solid{border-bottom:1px solid #CCC;}

.doc ul{
 	margin: 5px 0 10px 20px;
 	list-style-type: disc;
 	font-size: 100%;
 	line-height: 150%;
}

.doc ol{
 	margin: 5px 0 10px 20px;
 	list-style-type: decimal;
 	font-size: 100%;
 	line-height: 150%;
}

.doc li{
 	margin-left: 10px;
}

/***** コンタクトフォーム *****/
.table-contactform7{
  overflow: hidden;
table-layout: fixed;
}
 
.required-contactform7{
  padding: 5px;
  background: #DE8686;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}
 
.unrequired-contactform7{
  padding: 5px;
  background: #BDBDBD;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}
 
.table-contactform7 th{
  font-weight:bold;
}
 
.table-contactform7 input,
.table-contactform7 textarea{
  max-width: 90% !important;
  margin: 5px 10px 10px 5px;
}
 
.address-100 input{
  max-width: 90% !important;
  margin: 5px 10px 10px 5px;
}
 
.message-100 textarea{
  width: 100%;
  margin: 5px 10px 10px 5px;
}
 
@media screen and (min-width: 900px){
  .table-contactform7 th{
    width:28%;
  }
    }
     
@media screen and (max-width: 900px){
.table-contactform7{
  display:block;
}     
       
  .table-contactform7 tbody,
  .table-contactform7 tr{
    display: block;
    width: 100%;
  }
  .table-contactform7 th{
  width:100%;
  display:block;
  margin: 0 auto;
  border:none;
}
.table-contactform7 td{
  display: list-item;
  list-style-type:none;
  margin:0;
  padding:0;
  width: 100%;
  border-top: none !important;
}
}



