/*
Theme Name: 80423_red
Description: WordPressテーマ Ver.8（2カラムレッド）
Version: 8
Author: エーエフ・パートナー
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;}
.textwidget{margin: 0;padding: 0;text-align: left;}

/* ------ Web Font ------ */
@font-face {
font-family: iconfont;
src: url('/tw/wp-content/themes/80423/fonts/coolicon.eot'); /* IE9 Compat Modes */
src: url('/tw/wp-content/themes/80423/fonts/coolicon.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
	 url('/tw/wp-content/themes/80423/fonts/coolicon.woff') format('woff'), /* Modern Browsers */
	 url('/tw/wp-content/themes/80423/fonts/coolicon.ttf')  format('truetype'), /* Safari, Android, iOS */
	 url('/tw/wp-content/themes/80423/fonts/coolicon.svg#svgFontName') format('svg'); /* Legacy iOS */}
.icon {font-family: iconfont;font-weight: normal;}
.icon-list:before {content: "\f00b";}
.icon-top:before {content: "\e601";font-size: 18px;}
.icon-smap:before {content: "\f0e8";font-size: 18px;}
.icon-rss:before {content: "\e771";font-size: 18px; }
.icon-flist:before {content: "\f0a9"; color: #333766; padding-right: 5px;}
.icon-kanren:before {content: "\f14a"; color: #414444; padding-right: 5px;}


/* ------ BODY ------ */
body {font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	*font-family: 'メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	color: #666666; font-size: 15px; line-height: 1.6em; text-align: left; -webkit-text-size-adjust: 100%;}

/* ------ リンクの属性（未指定の時）------ */
a {outline: none;}
a:link, a:visited {color: #B40926; text-decoration: underline;}
a:active, a:hover {color: #FF0000; 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;}

#wrapper {width: 100%; min-width: 1240px;}

/* ------ ヘッダー ------ */
header {width: 100%;}
#header-inner {position: relative; width: 1200px ;margin: 0 auto; line-height: 0; background-color: #B90B50; *zoom: 1;}
#ptitle {position: absolute; top: 38px; left: 0px; font-size: 130%; font-weight: 500; color: #FFFFFF; z-index: 30; }
#ptitle a {color: #FFFFFF; text-decoration: none;}
#ptitle a:hover {text-decoration:underline}

/* ------ ヘッダーナビゲーション ------ */
#gnav-btn {display :none;}
#gnav {width: 100%; height: 6em; background-color: #B90B50; font-size: 100%;}
#gnav nav {margin: 0 auto; padding: 1.8em 0; width:1200px; position: relative; z-index: 20;}
#gnav nav > ul {list-style-type: none; height: 2.4em; margin: 0; padding: 0; float: right;}
#gnav nav li {position: relative; float: left; margin: 0 5px; padding: 0; text-align: center;}
#gnav nav > ul > li a {display: block; margin: 0; padding: 0 20px; color: #FFFFFF; font-weight: normal; line-height: 2.4em; text-decoration: none;}
#gnav nav > ul > li > ul {position: absolute; top: 200%; left: -5%; width: 120%; list-style: none; margin: 0;}
#gnav nav > ul > li:last-child > ul {left: -85%; width: 120%;}
#gnav nav > ul > li  ul li{overflow: hidden; width: 150%; 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{height: 5em; line-height: 5em; background: #B90B50; text-align: left; font-size: 12px; font-weight: normal; filter: alpha(opacity=80); -moz-opacity:0.80; -ms-filter: "alpha( opacity=80 )"; opacity:0.80;}
#gnav nav > ul > li:hover > a{background: #93073e; color: #FFFFFF;}
#gnav nav > ul > li  ul li:hover > a{background: #93073e;color: #FFFFFF;}
#gnav nav .current-menu-parent, #gnav nav .current-menu-item {background: #93073e;color: #FFFFFF;}
#gnav nav > ul > li:hover ul li{overflow: visible; height: 5em;}
#gnav nav > ul > li:hover ul li:last-child{border-bottom: 0;}

/* ------ メイン画像 ------ */
#mainvisual {position: relative;	width: 100%; border-bottom: 1px solid #D98392; overflow:hidden;background-color: #444444; z-index: 10;}
#mainvisual-inner {margin: 30px 0;}
#mainvisual img{margin: 0 auto; border: 5px solid #CCCCCC; display: block;}

/* ------ パンくずリスト ------ */
#plist {width: 100%;padding: 10px 0;font-size:92%; background-color: #EEEEEE;}
#plist .plist-inner {width: 1200px;margin: 0 auto;overflow: hidden;*zoom: 1;}

/* ------ コンテンツ ------ */
#containar {width: 1200px;margin: 0 auto;padding-top: 20px;overflow: hidden;*zoom: 1;}
#contents {float: left;width: 870px;}
h2 {margin: 0; padding: 10px 0 ;font-size: 22px; font-weight: 500; line-height: 1.3em; color: #414444;}
h3 {margin: 0; padding: 10px 0 ;font-size: 20px; font-weight: 500; line-height: 1.3em; color: #414444;}
h4 {margin: 0; padding: 10px 0 ;font-size: 18px; font-weight: 500; line-height: 1.3em; color: #414444;}
h5 {margin: 0; padding: 10px 0 ;font-size: 16px; font-weight: 500; line-height: 1.3em; color: #414444;}
h6 {margin: 0; padding: 10px 0 ;font-size: 15px; font-weight: 500; line-height: 1.3em; color: #414444;}

.main-title {padding: 30px 0 15px 10px;font-size: 2.1em;font-weight: 500; line-height: 1.3em;color: #414444; border-top: 8px solid #B90B50; text-align: justify; text-justify: distribute-all-lines;}
.ie7 .main-title, .ie7 .main-title {text-align: left;}
.contents-title{padding: 30px 0 15px 10px;font-size: 2.1em; font-weight: 500;line-height: 1.3em;color: #414444; border-top: 8px solid #B90B50; text-align: justify; text-justify: distribute-all-lines;}
.ie7 .contents-title, .ie7 .contents-title {text-align: left;s}
.posts-title{padding: 10px 0 ;font-size: 1.9em; font-weight: 500;line-height: 1.3em;color: #414444;}
.posted {text-align: right; font-size: 72%; margin: 0px 10px 10px 0;}
#contents > p {padding: 1em; text-align: justify; text-justify: distribute-all-lines; }
.ie7 #contents > p, .ie8 #contents > p{text-align: left;}

/* ------ トップページ記事リスト表示 ------ */
#top-list{margin-bottom: 20px; padding: 30px 0 15px; border-top: 8px solid #B90B50; border-bottom: 4px solid #B90B50;}
#top-list article{float: left; width: 48%; height: 370px; margin: 10px 1%; }
#top-list article h3 {font-size: 154%; font-weight: 500; line-height: 1.2em; }
#top-list article h3 a {margin: 0; padding: 0 10px ; color: #414444; text-decoration: none; display: block; overflow: hidden; }
#top-list article h3 a:hover {color: #CC0000;display: block; }
#top-list article img {border: 1px solid #CCCCCC;}
#top-list article p {padding: 5px 20px 0 10px; font-size: 100%; line-height: 1.5em; text-align: justify; text-justify: distribute-all-lines; overflow: hidden; }
.ie7 #top-list article p {text-align: left;}
.ie8 #top-list article p {text-align: left;}
/* ------ 続きを読む ------ */
#top-list article .next {padding: 10px 10px 5px; font-size: 80%; text-align: right;}
#top-list article .next a {margin: 0; padding: 5px 10px; font-weight: 500; color: #414444; text-decoration: none; *zoom: 1; 
  -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px;  background-color: #EEEEEE;}
#top-list article .next a:hover {color: #FFFFFF; background-color: #B90B50;}

/* ------ 投稿設定------ */
.doc {padding: 0 20px; font-size: 108%; text-align: justify; text-justify: distribute-all-lines; }
.doc p{padding: 0.5em 1em;}
.ie7 .doc, .ie8 .doc {text-align: left;}

/* ------ 記事画像付きリスト表示------ */
#kiji-list{padding-bottom: 30px;}
#kiji-list > article{width: 100%; padding: 15px 0; border-bottom: 1px solid #CCCCCC;}
#kiji-list > article:first-child {border-top: 1px solid #CCCCCC;}
#kiji-list > article h3 {font-size: 154%; font-weight: 500; line-height: 1.2em; }
#kiji-list > article h3 a {margin: 0; padding: 0 10px ; color: #414444; text-decoration: none; display: block; overflow: hidden; }
#kiji-list > article h3 a:hover {color: #CC0000;display: block; }
#kiji-list > article img {border: 1px solid #CCCCCC;}
#kiji-list > article p {padding: 5px 10px 0 10px; font-size: 100%; line-height: 1.5em; text-align: justify; text-justify: distribute-all-lines; overflow: hidden; }
.ie7 #kiji-list > article p {text-align: left;}
.ie8 #kiji-list > article p {text-align: left;}
/* ------ 続きを読む ------ */
#kiji-list > article .next {padding: 10px 10px 5px; font-size: 80%; text-align: right;}
#kiji-list > article .next a {margin: 0; padding: 5px 10px; font-weight: 500; color: #414444; text-decoration: none; *zoom: 1; 
  -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px;  background-color: #EEEEEE;}
#kiji-list > article .next a:hover {color: #FFFFFF; background-color: #B90B50;}


/* ------ ソーシャルボタン属性 ------ */
#social{margin: 20px 10px;}
#social h4{padding: 5px 10px; font-size: 123%;font-weight: 500;line-height: 100%;color: #333333;border: 1px solid #CC0000; display: inline-block}
#social p{padding-left: 1em;}

/* ------ 関連記事リスト属性 ------ */
#kanren{margin: 10px 0; padding: 15px 10px 10px;  line-height: 1.5em; border-top: 6px solid #B90B50;}
.kanren-title {padding: 10px ; font-size: 124%; font-weight: 500;line-height: 1.3em; color: #333333;
  -webkit-text-shadow: 1px 1px 2px #BBBBBB; text-shadow: 1px 1px 2px #BBBBBB;}
#kanren dl {margin: 0 0 0 20px;}
#kanren dt a {font-size: 108%; font-weight: 500;}
#kanren dt a:hover {padding-bottom: 1px;}
#kanren dd {margin: 10px; font-size: 92%; color: #666666;}

/* ---- コメント・トラックバック----- */
.tback {border: none;}
.tback h2{margin-botoom: 0; padding-bottom: 15px;}
.tback p {margin: 0 0 10px 10px;padding: 0;font-size: 11px; line-height: 130%;}
.comments{margin: 10px 0; padding: 15px 10px 10px;  line-height: 1.3em; border-top: 6px solid #B90B50;}
.comments ul{list-style: none;margin: 0;color:#444444;font-size: 13px;}
.comments ul li {margin-bottom: 10px;background: #EFEFEF;padding: 10px;}
.comments ul li.depth-1{border-bottom: 1px dotted #CCCCCC;margin-bottom: 10px;}
.comments ul.children {list-style: none;}
.comments p{padding: 0 10px 5px 20px;text-align: left;}
.comments form p{line-height: 160%;display: block;}
.comments label{font-weight: 500;display:block;}
.comments form p.comment-notes,.comments form p.form-allowed-tags{font-size: 12px;text-align: left;}
.comments .reply{width: 40px;height: 20px;margin-left: 20px;text-align: center;line-height: 20px;border: 1px solid #CCCCCC;background: #FFFFFF;display: block;}
.comments .reply a{color: #333333;text-decoration: none;display: block;} 
.comments .reply a:hover{color: #FFFFFF;background: #CCCCCC;} 
.comments h3 small{font-size: 100%;}
#author{width: 200px;}
#email{width: 200px; }
#url	{width: 200px; }
#comment	{width: 99%; height:100px; }
#submit	{margin:0; padding:2px 25px; cursor:pointer;}

/* ------ サイドバー ------ */
#sidebar {float: right; width: 301px; padding-top: 0; text-align: left;}
#sidebar1,#sidebar2 {margin-bottom: 10px; padding: 0; }
#sidebar .sidebar-wrapper {margin-bottom: 20px;}
#sidebar .sidebar-wrapper h4{display: block; margin-bottom: 5px; padding: 5px 5px 5px 10px; font-size: 115%; font-weight: 500; color: #FFFFFF;line-height: 1.5em;background-color: #B90B50;}
#sidebar .sidebar-wrapper form,
#sidebar .sidebar-wrapper p,
#sidebar .sidebar-wrapper .tagcloud{padding: 5px; font-size: 93%; }
#sidebar .sidebar-wrapper ul {padding: 0;}
#sidebar .sidebar-wrapper ul li {border-bottom: solid 1px #D5D5D5;}
#sidebar .sidebar-wrapper ul li:first-child {border-top: solid 1px #D5D5D5;}
#sidebar .sidebar-wrapper ul li a:before {font-family: iconfont;font-weight: normal;content: "\e625";color: #CCCCCC; padding-right: 5px;}
#sidebar .sidebar-wrapper ul li.menu-item-object-category a:before,
#sidebar .sidebar-wrapper ul li.cat-item a:before {font-family: iconfont;font-weight: normal;content: "\e62e";color: #CCCCCC; padding-right: 5px;}
#sidebar .sidebar-wrapper ul li a {display: block;padding: 8px 20px 8px 8px;font-size: 93%; color: #414444;line-height: 150%;text-decoration: none;background: url("/tw/wp-content/themes/80423/img/arrow_02.png") no-repeat right center;}
#sidebar .sidebar-wrapper ul li:first-child a {border-top: none;}
#sidebar .sidebar-wrapper ul li a:hover,
#sidebar .sidebar-wrapper ul li a:active{font-weight: bold; background-color: #F5F5F5;}
#sidebar .sidebar-wrapper ul li a:hover:before{font-family: iconfont;font-weight: normal;content: "\e625";color: #B90B50; padding-right: 5px;}
#sidebar .sidebar-wrapper ul li.cat-item a:hover:before,
#sidebar .sidebar-wrapper ul li.menu-item-object-category a:hover:before,
#sidebar .sidebar-wrapper ul li.current-menu-item a:before,
#sidebar .sidebar-wrapper ul li.current-menu-parent a:before,
#sidebar .sidebar-wrapper ul li.current-cat a:before{font-family: iconfont;font-weight: normal;content: "\e62f";color: #B90B50; padding-right: 5px;}
#sidebar .sidebar-wrapper ul.children {padding: 0; border: none;}
#sidebar .sidebar-wrapper ul.children li{border-top: solid 1px #D5D5D5; text-indent: 10px;}
#sidebar .sidebar-wrapper ul.children li:first-child{border-top: solid 1px #D5D5D5;}
#sidebar .sidebar-wrapper ul.children li:last-child{border-bottom: none;}

#sidebar #sidebar-cat {margin-bottom: 20px;}
#sidebar-cat .c-color-0 a {height: 100px; margin-bottom: 5px; text-decoration: none; display: block; background: #B90B50 url("/tw/wp-content/themes/80423/img/arrow_05.png") no-repeat right center; }
#sidebar-cat .c-color-1 a {height: 100px; margin-bottom: 5px; text-decoration: none; display: block; background: #666666 url("/tw/wp-content/themes/80423/img/arrow_05.png") no-repeat right center; }
#sidebar-cat a h5 {padding: 20px 50px 5px 15px; color: #FFFFFF; font-weight: 500; font-size: 18px; text-decoration: none; }
#sidebar-cat p {padding: 0 50px 0 15px; color: #FFFFFF; font-weight: normal; font-size: 11px; line-height: 1.2em;text-align: justify; text-justify: distribute-all-lines; overflow: hidden; }
.ie7 #sidebar-cat p. .ie8 #sidebar-cat p {text-align: left;}
#sidebar-cat a:hover{filter: alpha(opacity=80); -moz-opacity:0.80; -ms-filter: "alpha( opacity=80 )"; opacity:0.80;}

/* ------カレンダー ------ */
#calendar_wrap {padding: 10px; border: solid 1px #D5D5D5;border-top: none; font-size: 93%; background: #FCFCFC;
  -webkit-border-bottom-left-radius:5px;
  -webkit-border-bottom-right-radius:5px;
  border-radius: 0px 0px 5px 5px;
  box-shadow: 0px 1px 7px rgba(0,0,0,0.15) inset;}
#wp-calendar {width: 96%; margin: 0 auto; }

/* ------人気ランキングパーツ ------ */
#sidebar .rank-post {margin-bottom: 20px; padding: 0; overflow: hidden; *zoom: 1;}
#sidebar .rank-post  h4{display: block; margin-bottom: 5px; padding: 5px 5px 5px 10px; font-size: 115%; font-weight: 500; color: #FFFFFF;line-height: 1.5em;background-color: #B90B50;}
#sidebar .rank-post  h5{display: block; padding: 0 0 6px 0 ; text-align: left; font-size: 139%; font-weight: 500; color: #333333;line-height: 135%;  text-align: justify; text-justify: distribute-all-lines; }
.ie7 #sidebar .rank-post  h5 , .ie8 #sidebar .rank-post  h5{text-align: left;}
#sidebar .rank-post .p-post {margin-bottom: 10px; padding-bottom: 10px; font-size:92%; line-height: 1.3em; text-align: justify; text-justify: distribute-all-lines; border-bottom: 1px dotted #CFCFCF;}
.ie7 #sidebar .rank-post .p-post , .ie8 #sidebar.rank-post .p-post{text-align: left;}
#sidebar .rank-post .p-post img{float: left; margin: 3px 8px 3px 0; max-width: 100px;}
#sidebar .rank-post .p-post a {color: #000000; text-decoration: none; display: block;}
#sidebar .rank-post .p-post a:hover {color: #CC0000; text-decoration: underline;}

/* ------ フッター ------ */
footer {width: 100%;background: #666666;}
#footer-inner {width: 1000px;margin: 0 auto;padding: 10px 0;}
footer nav{text-align: center;margin: 0; padding: 10px 0 20px;}
footer ul li {display: inline-block;*display: inline;*margin-bottom: 12px;padding: 0 10px 0 15px;line-height: 1.3em;font-size: 100%; color: #CCCCCC;border-left: solid 1px #999999;*zoom: 1;}
footer ul li:first-child {border-left: none;}
footer #copyright {width: 100%; padding: 20px 0; text-align:center; color: #CCCCCC;font-size: 100%;background: #B90B50;}
footer a:link, footer a:visited {color: #FFFFFF;text-decoration: none;}
footer a:active, footer a:hover {color: #FFFFFF;text-decoration: underline;}

/* ------ ページナビ ------ */
.page_navi {text-align: center; font-size: 100%; line-height: 1.5em;}
.page_navi li {display: inline;list-style: none;}
.page_navi li.current span {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;}
.page_navi li a {color: #333333;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;}
.page_navi li a:hover {color: #B90B50;}
.page_navi li.page_nums span {color: #FFFFFF;padding: 3px 7px;background: #B90B50;display: inline-block;border: solid 1px #B90B50; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}

/* ------ ランキング　------ */
.rank {width: 23%; margin: 0 0 15px 1% ;padding: 0; border: 2px solid #B90B50;-moz-border-radius: 5px;  -webkit-border-radius: 5px; border-radius: 5px; background-color: #FFFFFF; float: left; *zoom: 1;}
.ie7 .rank {min-height: 200px;}
.rank .idx {margin: 0; padding: 5px 5px 0; background-color: #B90B50;}
.rank .idx img {margin: -20px 0px 10px -10px; float: left;} 
.rank .idx h3 {margin: 0; padding: 5px 0; font-size: 107%; font-weight: 500; line-height: 120%;color: #FFFFFF;} 
.ie7 .rank .idx h3{padding: 0;float: left;}
.rank .rankinner{margin: 10px; padding: 0 ; font-size:86%; line-height: 150%;}
.rank .rankinner .b_link img {max-width: 100%; border: 1px solid #FF9999;}
.rank .rankinner .t_link {text-align: right;}
.rank .rankinner .exp {margin: 0; padding: 10px 0;}

/* ------ その他属性 ------ */
.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;}
.txtright{text-align: right;}
.red{color: #CC0000;}
.pink{color: #CC0099;}
.bg_yellow{background: #FFFF00;}
.gold{color: #F4CA54;}
.silver{color: #999999;}
.copper{color: #BD4C54;}
.other{color: #71AAE0;}
.waku{border: 1px solid #EEEEEE;}

/* ------ フォント属性 ------ */
.fon10{font-size: 76%;}
.fon11{font-size: 84%;}
.fon12{font-size: 92%;}
.fon13{font-size: 100%;}
.fon14{font-size: 108%;}
.fon15{font-size: 116%;}
.fon16{font-size: 124%;}
.fon18{font-size: 139%;}
.fon20{font-size: 154%;}
.fon22{font-size: 170%;}
.fon24{font-size: 185%;}
.fon28{font-size: 216%;}
.tab10{padding-left: 10px;}
.tab20{padding-left: 20px;}
.tab30{padding-left: 30px;}
.bld{font-weight: bold;}

/* ------ ～ 979px ------ */
@media screen and (max-width: 979px) {
    #wrapper {min-width: 0px;}
	#header-inner {width: 100%;	}
	#ptitle {position: absolute; top: 20px; left: 10px; font-size: 124%; font-weight: 500; color: #FFFFFF; z-index: 30; }
	#gnav nav {width: 100%; padding: 3.0em 0 0.6em; }
    #mainvisual-inner {margin: 0;}
    #mainvisual img{border-width: 5px 0 5px 0;}
	#plist .plist-inner {width: 90%; margin: 0 auto;overflow: hidden;*zoom: 1;}
	#containar {width: 100%;}
	#contents {float: none;width: 90%;margin: 0 auto;padding-bottom: 0;}
	#top-list article p {padding: 5px 10px 0 10px;}
	#sidebar {float: none;	width: 90%;	margin: 0 auto;	*margin: 0 auto 20px;overflow: hidden;*zoom: 1;}
	#sidebar1 {float: left ; width: 48%;}
	#sidebar2 {float: right; width: 48%;}
	#footer-inner {width: 100%;}
}

/* ------ ～ 767px ------ */
@media screen and (max-width: 767px) {
	html {*overflow-x: hidden;}
	#wrapper {background-color: #999999; overflow: hidden;}
	#gnav-btn {position: relative;display: block;	width: 100%;padding: 5px 0 4px;	background-color: #B90B50;}
	#header-inner {position: relative; width: 100%; border-bottom: 0; background-color: #B40926;}
	#ptitle {position: absolute; top: -18px; left: 40px; font-size: 92%; font-weight: normal; color: #FFFFFF; z-index: 30; }
	#gnav-btn div {margin-left: 10px;}
	#gnav-btn div a {line-height: 25px; color: #FFFFFF; font-size: 22px; text-decoration: none;}
	#gnav {position: absolute;width: 250px; height: auto; top: 0;left: -250px; background-color: #999999; border: none;}
	#gnav nav {width: 100%;	margin: 35px 0 0 0;  padding: 0; border: 0;border-top: solid 1px #666666; position: static;}	
	#gnav nav > ul {float: none;	width: 100%; height: auto; border-left: none;border-right: none; background-color: #555555;}
    #gnav nav li {position: static; width: 100%; float: none; margin: 0; padding: 0; text-align: left; border-left: none;}
	#gnav nav > ul > li a {display: block;padding: 9px 20px 9px; color: #FFFFFF; font-size: 92%; line-height: 1.2em; border-left: none;border-right: none;border-bottom: solid 1px #666666; background: #555555 url("/tw/wp-content/themes/80423/img/arrow_03.png") no-repeat right center;	*zoom: 1;}
	#gnav nav > ul > li > ul {position: static; top: 100%; left: 0; list-style: none; margin: 0; width: 100%;}
	#gnav nav > ul > li:last-child > ul {width: 100%;}
	#gnav nav > ul > li  ul li{overflow: hidden; width: 100%; height: auto ; color: #FFFFFF;}
	#gnav nav > ul > li  ul li a{height: auto; line-height: 1.2em; display: block; padding: 9px 20px 9px 30px; text-align: left; font-size: 92%; font-weight: normal; background: #555555 url("/tw/wp-content/themes/80423/img/arrow_03.png") no-repeat right center;	*zoom: 1;}
	#gnav nav > ul > li:hover > a{background: #333333 url("/tw/wp-content/themes/80423/img/arrow_03.png") no-repeat right center; color: #FFFFFF;}
	#gnav nav > ul > li  ul li:hover > a{background: #333333 url("/tw/wp-content/themes/80423/img/arrow_03.png") no-repeat right center; color: #FFFFFF;}
	#gnav nav > ul > li:hover ul li{height: auto ;border-top: 0;}
	#gnav nav > ul > li:hover ul li:last-child{border-bottom: 0;}
	#gnav nav .current-menu-parent {color: #FFFFFF; background: #555555 url("/tw/wp-content/themes/80423/img/arrow_03.png") no-repeat right center;}
    #gnav nav .current-menu-item a {color: #FFFFFF; background: #333333 url("/tw/wp-content/themes/80423/img/arrow_03.png") no-repeat right center;}
	#plist{position: relative; width: 100%;}
	#containar{position: relative; background: #FFFFFF;}
	.doc {padding: 0 10px;}
	#social{margin: 20px 0;}
	#kanren {margin: 10px 2%; padding: 0 5px;}
	#sidebar {width: 90%;}
	#sidebar1 {float: none; width: 100%;}
	#sidebar2 {float: none; width: 100%;}
	/* ------ ランキング------ */
	.rank {width: 48%; margin: 0 0 15px 1% ;}
	.rank .rankinner .b_link img {max-width: 100%; margin: 0 auto; display: block;}
}

/* ------ ～479px ------ */
@media screen and (max-width: 479px) {
	.alignleft, .alignright{float: none; margin: 5px auto;display:block;}
	#kiji-list ul li img{max-width: 300px;border: 1px solid #CFCFCF;margin: 5px auto;display:block;}
	#top-list > article{float: none; width: 100%; height: auto; margin: 10px 0; }
	.main-title, .contents-title {padding-left: 0;}
	#contents > p {padding: 0.5em;}
	.doc {padding: 0 2%;}
	.doc p {padding: 0.5em 0em;}
	#kanren {margin: 10px 0; }
	#kanren dl{margin: 0 0 0 10px;}
	#sidebar {*margin-bottom: 0;}
	#footer-inner {width: 100% ;margin: 0 ;padding: 0;}
	footer nav{width: 100% ; margin: 0; padding: 0;}
	footer ul li {width: 100%; text-align: left; display: block; border: none; border-bottom: solid 1px #999999;*zoom: 1;}
	footer ul li a{display: block; padding: 10px 20px 10px 10px; line-height: 1.5em; font-size: 100%; color: #CCCCCC; text-decoration: none; background: url("/tw/wp-content/themes/80423/img/arrow_03.png") no-repeat right+15px center;}
	footer ul li a:hover{text-decoration: none; filter: alpha(opacity=80); -moz-opacity:0.80; -ms-filter: "alpha( opacity=80 )"; opacity:0.80;}
	footer ul li:last-child {border-bottom: none;}
	/* ------ ランキング------ */
	.rank {float: none; margin: 0 auto 15px auto; padding: 0; width: 90%;}
	.rank .rankinner .b_link img {max-width: 100%; margin: 0 auto; display: block;}
}

