@charset "utf-8";
/*
Theme Name: souken
Theme URI: http://theme.o2gp.com/
Description: souken
Version: 1.0
Author: o2 Group
Author URI: http://theme.o2gp.com/

	o2 Group v1.0
	 http://theme.o2gp.com/

	This theme was designed and built by o2 Group,
	whose blog you will find at http://theme.o2gp.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php
*/

/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;/* font-weight: inherit; */margin: 0;outline: 0;padding: 0;/* vertical-align: baseline; */}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {/* font-weight: normal; *//* text-align: left; */}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: none;verticle-align:top;-webkit-transition: 0.3s ease-in-out;-moz-transition: 0.3s ease-in-out;-o-transition: 0.3s ease-in-out;transition: 0.3s ease-in-out;}

a:hover img {
     opacity: 0.7;     /* 透過レベル */
     filter: alpha(opacity=80);
}


#header h2 a img {
    border: 0;
    width: 66.7%;
	margin:5px 0 0 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

.renewal_comment{
	clear: both;
    float: left;
    padding: 10px 0 5px;
    color: #0071bd;
    font-size: 121%;
    font-weight: bold;
    width: 100%;
}

body{/* background:#f6f3ee url(images/wall.png) repeat-x; */font: 12px/1.5 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;color:#333;-webkit-text-size-adjust: none;/* background:#f6f3ee url(images/wall.png) repeat-x; */}


/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#313131;
}

p span.syousai a {
    color: #005dad;
    background: aliceblue;
    float: right;
    padding: 5px;
    margin: 10px 10px 0px 0;
}

p span.syousai a:hover {
    background: cornflowerblue;
    color: white;
}

a:hover, a:active{
outline: none;
color:#005dad;
}


/**** Clearfix ****/
nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after,.post:after, ul.post li:after{content:""; display: table;clear: both;}
nav .panel,nav#mainNav,.newsTitle,.bg, .post, ul.post li{zoom: 1;}


/* フォーム
------------------------------------------------------------*/
input[type="text"],input[type="email"], textarea{
    vertical-align:middle;
    max-width:90%;
    line-height:30px;
    height:30px;
    padding:1px 5px;
    border:1px solid #d4d4d7;
    border-radius:3px;
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    font-size:100%;
    color:#555;
    background:#fcfcfc;
}

textarea{
    height:auto;
    line-height:1.5;
}

select{
    height:30px;
    color: #555;
}

.wpcf7 > form input[type="submit"][disabled], .wpcf7 > form input[type="submit"][disabled]:hover, .wpcf7 > form input[type="submit"][disabled]:focus {
    background-color: #999;
}

input[type="submit"],input[type="reset"],input[type="button"]{
	padding:3px 10px;
	background: #005dad;
	border:0;
	border-radius:3px;
	-webkit-border-radius:3px;-moz-border-radius:3px;
	line-height:1.5;
	font-size:120%;
	color:#fff;
	margin: 0 auto;
	/*display: block;*/
	display: -moz-inline-box;
	display: inline-block;
	padding-right: 10px;
}


input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{background: #4b9ce2;cursor:pointer;}

*:first-child+html input[type="submit"]{padding:3px;}


input.wpcf7-form-control.wpcf7-text.nagasa {
    width: 95%;
	max-width: 95%;
}





/* レイアウト
------------------------------------------------------------*/
#wrapper, .inner{
margin:0 auto;
width:1000px;
}

.inner2 {
    width: 100%;
    background: #005dad;
    color: white;
}

#header{
overflow:hidden;
}

#content{
	float: right;
    width: 77%;
    padding: 8px 0 50px;}

#content2{
	float: right;
    width: 100%;
    padding: 8px 0 50px;}

#sidebar {
	float: left;
    width: 220px;
    padding: 25px 0 50px;
}

#footer{
clear:both;
} 


p.side_inq{
	margin:10px auto;
	text-align:center;
}

p.side_inq span.toiawase a:hover {
    background: cornflowerblue;
    color: white;
}

p.side_inq span.toiawase a {
    color: #005dad;
    background: aliceblue;
    padding: 5px;
    margin: 10px 10px 0px 0;
}

.fs100{
	font-size:100%;	
}


/* セミナーレポート
----------------------------------*/

#breadcrumb{
	margin:10px 0 0 5px;	
}

.post h2.Seminar {
    margin: 10px 0;
    padding-bottom: 2px;
    font-size: 160%;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #005dad;
    padding: 10px 10px;
    border-color: #005dad;
    border-width: 1px 1px 1px 10px;
    border-style: solid;
}

.post_waku {
    margin: 0 0 20px 0;
    padding: 20px 20px 20px 20px;
    border: 1px solid #e9e2d8;
    background: #fff;
}

.Seminar_line {
    margin: 10px 0;
    font-size: 140%;
    font-weight: bold;
    color: #2e2c2c;
    padding: 10px 10px;
    background: #e3effb;
}

a.toiawase {
    background: #ffd600;
    padding: 10px 20px;
    color: black;
    margin: 0 auto;
    display: table;
    border-radius: 10px;        /* CSS3草案 */
    -webkit-border-radius: 10px;    /* Safari,Google Chrome用 */


    -moz-border-radius: 10px;   /* Firefox用 */
}

a.toiawase:hover {
    background: #ffe24b;
    text-decoration: none;
}

#sidebar2 {
    float: left;
    width: 220px;
    padding: 10px 0 50px;
}


/* ISO無料セミナー
------------------------------------------------------------*/


.post h2.Seminar2 {
    margin: 10px 0;
    padding-bottom: 2px;
    font-size: 160%;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #515151;
    padding: 10px 10px;
    border-color: #555555;
    border-width: 1px 1px 1px 10px;
    border-style: solid;
}

.post h4.sub_title {
    margin: 10px 0;
    font-size: 125%;
    font-weight: bold;
    color: #2e2c2c;
    padding: 5px 0px 5px 0px;
    border-color: #666666;
    border-width: 0 0 1px 0;
    border-style: dotted;
}


.box1{
              background-color: #eeeeee;
              color: inherit;
              padding: 10px 10px 10px 10px;
              border-color: #555555;
              border-style: solid;
              border-width: 0px 0px 0px 10px;
              border-radius: 5px 5px 5px 5px;
              margin: 7px 0px 20px 0px;
/*zoom: 1;*/overflow: hidden;
}
.box1_tittle{

              font-size:1.1em;
              padding: 0px 10px 0px 0px;
}

.box1_text{
              font-size:0.9em;
              padding: 5px 10px 0px 65px;
}

.box1_left{
              width:500px;
              float:left;
}


.box1_right{
              background-color:#cccccc;
              color:inherit;
              width:130px;
              float:left;
              padding: 10px;
              border-radius: 5px;
              font-size: 0.8em;
              font-weight:bold;
}

.box1_left_tittle{
              font-weight:bold;
              padding: 0px 10px 0px 0px;
}

.box1_left_text{
              font-size:0.9em;
              padding: 5px 10px 0px 0px;
}



/* アンケート
------------------------------------------------------------*/
table.questionnaire{
	width:100%;
	text-align:left;
	border:0;
}

table.questionnaire th{
	width:38%;
	text-align:left;
	vertical-align:text-top;
	font-size:100%;
	vertical-align: top;
}

table.questionnaire th p,
table.questionnaire td p{
	text-align:left;
	font-size:100%;	
	line-height:1.5em;		
}

table.questionnaire td{
	width:62%;
	text-align:left;
	vertical-align:text-top;
	font-size:100%;
}

.wpcf7c-conf {
    background-color: #cbcbcb;
    color: black;
    border: 1px solid #333333;
}

#q5,#q6,#q8,#q9{
	display:none;	
}

span.wpcf7-list-item {
	margin: 0 0 0 2em !important;
	display: block !important;
	text-indent: -22px;
}


/* ヘッダー
*****************************************************/

/* サイト説明文
----------------------------------*/
#header h1{
padding:5px 0;
font-size:80%;
font-weight:normal;
}


/* ロゴ (サイトタイトル)
----------------------------------*/

#header h2 {
    clear: both;
    float: left;
    padding: 5px 0 10px;
    color: #0071bd;
    font-size: 121%;
    font-weight: bold;
    width: 75%;
}


/* コンタクト
----------------------------------*/
.contact{
	float:right;
	padding: 20px 0 10px;
	text-align:right;
	}

.contact .tel{font-size:180%;font-weight:bold;background: URL(/wp-content/themes/souken/img/phone.png);background-repeat: no-repeat;background-size: contain;background-position-x: 11px;}


/* トップページ　メイン画像
----------------------------------*/
#mainImg{
clear:both;
margin-top:20px;
line-height:0;
text-align:center;
z-index:0;
}

.post{margin:0 0 20px 0;padding:20px 10px 20px 20px;/* border:1px solid #e9e2d8; */background: #fff;}

div#wpcf7-f31-p10-o1 {
    margin: -20px 0 40px 0px;
}

.toppage h4{
margin:0 0 10px;
font-size:16px;
font-weight:normal;
color:#333;
}

.toppage{padding: 0 0 20px 0;}



ul.post h3.information_tit{
	font-size:140%;
	margin:0;
	padding:5px 0 5px;
	font-weight:bold;
	border-bottom:1px dotted #ccc;
}

ul.post li .info_date{
	font-size:130%;	
}

.info_inner{
	pading:10px 0;	
}


/* 記事ループ
*****************************************************/
.list{
padding:10px 0;
border-bottom:1px dashed #dcdcdc;
}

.list:last-child{border:0;}

.post .list p{padding:0;}

.list span{padding-left:10px;}


/* タイポグラフィ
*****************************************************/
h2.title {
    clear: both;
    margin: 0;
    padding: 6px 10px 6px 17px;
    font-size: 270%;
    border: 1px solid #e9e2d8;
    border-bottom: 0;
    /* background: #005dad; */
    font-family: Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
    background: rgba(240, 248, 255, 0.38);
    color: #005dad;
    border-width: 0 0 4px 0;
    border-style: solid;
    font-weight: bold;
    text-align: center;
}

#post-2 h2.title {
    clear: both;
    margin: 0;
    padding: 6px 10px 6px 17px;
    /* font-size: 200%; */
    border: 1px solid #e9e2d8;
    border-bottom: 0;
    /* background: #005dad; */
    font-family: Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
    background: rgba(240, 248, 255, 0.38);
    color: #005dad;
    border-width: 0 0 4px 0;
    border-style: solid;
    font-weight: bold;
}

h2.title_single {
    clear: both;
    margin: 0;
    padding: 6px 10px 6px 17px;
    font-size: 200%;
    border: 1px solid #e9e2d8;
    border-bottom: 0;
    /* background: #005dad; */
    font-family: Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
    background: rgba(240, 248, 255, 0.38);
    color: #005dad;
    border-width: 0 0 4px 0;
    border-style: solid;
    font-weight: bold;
    text-align: center;
}


.kako_list{
	font-size:130%;
	float:right;
	font-weight: bold;
	font-family: Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
	margin:5px;
}


.kako_list a:hover{
	color: #005dad;
}


.dateLabel{
text-align:right;
font-weight:bold;
color:#858585;
}

.post p{padding-bottom:15px;font-size: 130%;line-height: 2;}

.post form p{
    text-align: center;
    font-size: 120%;
}


#post-8 p{
	font-size:100%;		
}


span.red {
    color: red;
}

span.bold {
    font-weight:bold;
}

span.ml05 {
	margin-left: 0.5em;
}

.post .toptopic p {
    font-size: 110%;
    line-height: 1.7;
}

.post .enquete{
    padding-bottom: 10px;
}

.post .enquete p {
    padding-bottom: 10px;
    font-size: 125%;
    line-height: 2;
    text-indent: -1em;
}

.post .enquete ul{
    font-size: 125%;
	margin-top: -0.5em;
	margin-bottom: 1em;
}

.post ul{margin: 0 0 10px 10px;}

.post ul li{
margin-bottom:5px;
padding-left:15px;
background:url(images/bullet.png) no-repeat 0 8px;
}

.post ol{margin: 0 0 10px 30px;}

.post ol li{list-style:decimal;}

.post h1{
margin:20px 0;
padding:5px 0;
font-size:150%;
color: #000;
border-bottom:3px solid #000;
}

.toptopic {
    float: left;
    width: 30.5%;
    padding: 10px;
}

.post h2{margin:10px 0;padding-bottom:2px;font-size:130%;font-weight: bold;color: #333;border-bottom:2px solid #515151;}


.s_tit {
    margin: 10px 0;
    padding-bottom: 2px;
    font-size: 130%;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #515151;
}

.toptopic h2 {
    margin: 10px 0;
    padding-bottom: 2px;
    font-size: 137%;
    color: #005dad;
    border-bottom: 2px solid #005dad;
}

.post h3{margin:10px 0;font-size: 170%;font-weight: bold;border-bottom: 1px solid;color: #005dad;}

.toptopic h3 {
    margin: -10px 0 10px 0;
    font-size: 130%;
    font-weight: normal;
    color: #2e2c2c;
    border-bottom: 1px solid #515151;
    height: 105px;
    line-height: 1.7;
    background: none;
    padding: 0;
}

.post blockquote {
clear:both;
padding:10px 0 10px 15px;
margin:10px 0 25px 30px;
border-left:5px solid #ccc;
}
 
.post blockquote p{padding:5px 0;}

.post table{
border: 1px #ccc solid;
border-collapse: collapse;
border-spacing: 0;
margin:10px 0 20px;
}

.post table th{
padding:10px;
border: #ccc solid;
border-width: 0 0 1px 1px;
background:#efede7;
}

.post table td{
padding:10px;
border: 1px #ccc solid;
border-width: 0 0 1px 1px;
background:#fff;
}

.post dt{font-weight:bold;}

.post dd{padding-bottom:10px;}

.post img{max-width:100%;height:auto;}

img.aligncenter {
display: block;
margin:5px auto;
}

img.alignright, img.alignleft{
margin: 10px 10px 15px 15px;
display:inline;
}

img.alignleft{margin:10px 15px 15px 10px;}

.alignright{float:right;}
.alignleft{float:left;}

#gallery-1 img{
border:1px solid #eaeaea !important;
padding:5px;
background:#ffffff;
}



/* サイドバー　ウィジェット
*****************************************************/
section.widget ul, .widget_search, #calendar_wrap, .textwidget{
margin:0 0 20px 0;
padding:10px 10px 10px 17px;
border:1px solid #e9e2d8;
background: #fff;
}

#text-2 .textwidget {
    margin: 0px 0 5px 0;
    padding: 0px 0px 0px 0px;
    border: 0;
    background: #fff;
}

#text-2 .textwidget img{
    width:100%;
}

section.widget ul ul{
border:0;
margin:0;
padding:0 0 0 10px;
}

p.banner{padding-bottom:15px;}

p.banner img{
max-width:233px;
height:auto;
}

p.banner img:hover{
cursor:pointer;
opacity:.8;
}

section.widget h3{
clear:both;
margin:0;
padding:6px 10px 6px 17px;
font-size:110%;
border:1px solid #e9e2d8;
border-bottom:0;
background:#f9f9f9 url(images/headingBg.png) repeat-x 0 100%;
}

section.widget li a{
display:block;
padding:7px 0 7px 12px;
background:url(images/arrow.gif) no-repeat 0 12px;
border-bottom:1px dashed #dcdcdc;
}

section.widget li:last-child a{border:0;}

#searchform input[type="text"]{
line-height:1.7;
height:24px;
width:90px;
vertical-align:bottom;
}

#calendar_wrap table{margin:0 auto;}

#calendar_wrap table th, #calendar_wrap table td{padding:3px;}


/* お知らせ　
-------------*/
.newsTitle{
clear:both;
margin:0;
padding:6px 10px 6px 17px;
font-size:110%;
border:1px solid #e9e2d8;
border-bottom:0;
background:#f9f9f9 url(images/headingBg.png) repeat-x 0 100%;
}

.newsTitle h3{
float:left;
font-weight:normal;
}

.newsTitle p{
float:right;
padding:0 0 0 10px;
font-size:80%;
background:url(images/arrow.gif) no-repeat 0 5px;
}

.news p{
clear:both;
padding-bottom:2px;
border-bottom:1px dashed #dcdcdc;
}

.news p:last-child{border:0;}

.news p a{
display:block;
padding:5px 0;
color:#333;
font-style:italic;
font:italic 110% "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.news a span{
color:#515151;
font:normal 90% Arial, 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
}

.news span{padding-left:10px;}

.news a:hover span{color:#039136;}



/* フッター
*****************************************************/
#footer ul{
padding:15px 0 25px;
text-align:center;
}

#footer li{
display:inline-block;
padding: 5px 16px;
border-left:1px dotted #d5d5d5;
}
*:first-child+html #footer li{display:inline;}

#footer li:first-child{border:0;}

#footer li a{
text-decoration:none;
color:#000;
}

#footer li a:hover{color:#999;}

#footer ul ul{display:none;}

#copyright{
clear:both;
padding:10px 0 37px;
text-align:center;
color:#000;
font-size:10px;
}


/* page navigation
------------------------------------------------------------*/
.pagenav{
clear:both;
width: 100%;

height: 30px;
margin: 5px 0 20px;
}

.prev{float:left}

.next{float:right;}

#pageLinks{
clear:both;
color:#4f4d4d;
text-align:center;
}


/* トップページ 最新記事4件
------------------------------------------------------------*/
ul.post{
padding:0;
}

ul.post li{
padding:20px 10px 15px;
border-bottom:1px dashed #dcdcdc;
}

ul.post li:last-child{border:0;}

ul.post img{
float:left;
margin:0 15px 5px 10px;
}

ul.post h3{
margin:0 0 10px 10px;
font-size:14px;
font-weight:normal;
color:#333;
border:0;
}

ul.post li a{ /* border-bottom: 1px dashed #313131; */}
ul.post li a:hover{border:0;}



/* 共通
------------------------------------------------------------*/
.ml20{margin-left:20px;}





/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 1025px){
  nav#mainNav{
	clear:both;
	position:relative;
	z-index:200;
	width: 100%;
	padding: 0;
	margin: 10px auto 0;
	/* background:url(images/mainNav.png) repeat-x 0 0; */
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	/* background:url(images/mainNavSep.png) no-repeat 100% 5px; */
	}
	
	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	color:#4e4e4e;
	height:35px;
	line-height:45px;
	font-size: 160%;
	font-weight:bold;
	margin-right:1px;
	padding: 0px 14.6px;
	/* background:url(images/mainnavBg.png) repeat-x 0 0; */
	font-family: Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
	border-color: rgba(0, 93, 173, 0.57);
	border-width: 0 0 4px 0;
	border-style: solid;
	}
	
	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	display:block;
	font-size:90%;
	line-height:1.4;
	}
	
	nav#mainNav ul li a span{
	font-size:70%;
	color:#dadada;
	font-weight:normal;
	}

	nav div.panel{
  display:block !important;
  float:left;
  }
  
  a#menu{display:none;}
  
  nav#mainNav ul li.current-menu-item a, nav#mainNav ul li a:hover, nav#mainNav ul li.current-menu-parent a{
  /* background:url(images/mainnavBg.png) repeat-x 0 100%; */
  color: #005dad;
  border-width: 0 0 4px 0;
  border-style: solid;
  border-color: #005dad;
  }
  
  nav#mainNav ul ul{width:160px;}
  
  nav#mainNav ul li ul{display: none;}
  
  nav#mainNav ul li:hover ul{
  display: block;
  position: absolute;
  top:42px;
  left:0;
  z-index:500;
  }
	
  nav#mainNav ul li li{
	margin:0;
  float: none;
  height:40px;
  line-height:40px;
  width:160px;
	background:none;
  }
	
  nav#mainNav ul li li a{

  width:100%;
  height:40px;
	padding:0 0 0 10px;
  line-height:40px;
  font-size:95%;
  text-align:left;
	background:#f3f3f3;
  }
	
	nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover{background:#fff;}

}

/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:1024px){
	nav#mainNav{
	clear:both;
	width:880px;
	margin:0 auto 10px;
	background:#fbfaf9 url(images/mainnavBg.png) repeat-x 0 -5px;
	border:1px solid #e8e5e0;
	border-radius:6px;
	}
	
	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:37px;
	line-height:37px;
	font-weight: bold;
	text-align:left;
  background: url(images/menuOpen.png) no-repeat 5px 8px;
	}
	
	nav#mainNav a#menu span{padding-left:35px;}
	
	nav#mainNav a.menuOpen{
	border-radius:6px 6px 0 0;
	background: url(images/menuOpen.png) no-repeat 5px -34px;
	}
	
	nav#mainNav a#menu:hover{cursor:pointer;}
	
	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	nav#mainNav ul{margin:0;padding:0;}

	nav#mainNav ul li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #e5e5e5;
	background:#f3f3f3;
	}
	
	nav#mainNav ul li:last-child a{border:0;border-radius:0 0 6px 6px;}
	nav#mainNav ul li li:last-child a{border:0;border-radius:0;}
	nav#mainNav ul li li:last-child a{border-bottom:1px dashed #e5e5e5;}

 	nav#mainNav ul li a span{display:none;}
 
	nav#mainNav ul li.current-menu-item a,nav#mainNav ul li a:hover,nav#mainNav ul li.current-menu-item a,nav#mainNav ul li a:active, nav#mainNav ul li li.current-menu-item a, nav#mainNav ul li.current-menu-item li a:hover, nav#mainNav ul li.current-menu-item li a:active{
	background:#fff;
	}
	
	nav#mainNav ul li.current-menu-item li a{color:#777}

	nav#mainNav ul li li{
	float:left;
	border:0;
	}

	nav#mainNav ul li li a, nav#mainNav ul li.current-menu-item li a, nav#mainNav ul li li.current-menu-item a{
  padding-left:40px;
	background:#f3f3f3 url(images/sub1.png) no-repeat 20px 18px;}

	nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover, nav#mainNav ul li.current-menu-item li a:hover{
		background:#fff url(images/sub1.png) no-repeat 20px -62px;}
	
	nav#mainNav ul li li:last-child a{background:#f3f3f3 url(images/subLast.png) no-repeat 20px 20px;}
	nav#mainNav ul li li:last-child.current-menu-item a,nav#mainNav ul li li:last-child a:hover,nav#mainNav ul li.current-menu-item li:last-child a:hover{background:#fff url(images/subLast.png) no-repeat 20px -65px;}
	
	nav div.panel{float:none;}
	
	#mainImg{margin-bottom:20px;}
}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 959px){
  #wrapper, .inner{width:100%;}

	#header{width:96%;padding:0 2%;}
	
	#header h2{
		
	padding:0;
    float: left;
    width: 70%;		
		}

	.contact{padding:10px 0 10px;}

	nav#mainNav{width:95%;}

	nav#mainNav ul{margin:0 auto;}
	nav#mainNav ul ul{padding:0;}

	nav div.panel{float:none;}
	
	#mainImg img{width:98%;height:auto;}

	#content,#content2, #sidebar{
	clear:both;
	width:95%;
	float:none;
	margin:0 auto;
	padding:10px 0;
	}
	
	.banner{width:100%;margin:0 auto;text-align:center;}
	p.banner img{width:100%;height:auto;}
	
	section.widget_search{text-align:center;}
	
	#footer li{margin-bottom:10px;}
	

	#text-2 .textwidget {
    width: 100%;
	}

	#text-2 .textwidget img {
    width: 49%;
	}
	
	
}


/* 幅768px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 768px){
	


	#text-2 .textwidget {
    width: 100%;
	}

	#text-2 .textwidget img {
    width: 49%;
	}
	
	
	
}


/* 幅740px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 740px){
	body{background-image:none;}
	nav#mainNav{width:98%;}
	
	#header{text-align:center;
	width:96%;padding:0 2%;}
	
	#header h2 a img {
    border: 0;
    width: 100%;
    margin: 5px 0 0 0;
	}
	
	#header h2{
	width: 100%;
	}
	
	#header h2,.contact{float:none;}
	
	.contact{
	padding: 0 0 20px;
    margin: 15px 0 10px 0;
	}
	
	.contact .tel {
    font-size: 190%;
    font-weight: bold;
    background: URL(/wp-content/themes/souken/img/phone.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
    background-position-x: 166px;
    margin-left: 37px;
}	

	.contact p{text-align:center;}
	
	#headerInfo{width:250px;margin:0 auto;}
	
	img.alignright, img.alignleft{display: block;	margin:5px auto;}
	
	.alignright,.alignleft{float:none;}
	
	
	.toptopic {
    float: left;
    width: 46.5%;
    padding: 10px 10px;
}
	.toptopic h3 {
    margin: -10px 0 10px 0;
    font-size: 130%;
    font-weight: normal;
    color: #2e2c2c;
    border-bottom: 1px solid #515151;
    line-height: 1.7;
    background: none;
    padding: 0;
	height:auto;
}

	p span.syousai a {
    margin: 0;
}
	
}


/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){
	body{background-image:none;}
	nav#mainNav{width:98%;}
	
	#header{text-align:center;
	width:96%;padding:0 2%;}
	
	#header h2,.contact{float:none;}
	
	.contact{padding:0 0 20px;}
	.contact p{text-align:center;}
	
	#headerInfo{width:250px;margin:0 auto;}
	
	img.alignright, img.alignleft{display: block;	margin:5px auto;}
	
	.alignright,.alignleft{float:none;}
	
	.contact .tel {
    background-position-x: 145px;
}	
	    
	
}




/* 幅425px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 425px){

	.contact .tel {
    background-position-x: 40px;
}	
	.toptopic {
    float: left;
    width: 90%;
    padding: 10px 15px;
} 


	#text-2 .textwidget {
    width: 100%;
	}

	#text-2 .textwidget img {
    width: 100%;
	}
   
	
}


/* 幅375px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 375px){
.contact .tel {
    background-position-x: 8px;
}
}