@charset "utf-8";
/*
Theme Name: theme669_rwd
Theme URI: http://theme.o2gp.com/
Description: theme669_rwd
Version: 1.0
Author: o2 Group
Author URI: http://theme.o2gp.com/
Tags: simple

	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, b, 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: 0;}
article, aside, details, figcaption, figure, botBox, topline, hgroup, menu, nav, section {display: block;}

body{
font: 12px/1.5 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#333;
-webkit-text-size-adjust:100%;
background:url(images/wood.png)repeat;
;
}


/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#313131;
}

a:hover, a:active{
outline: none;
color:#6f6f6f;
}


/**** Clearfix ****/
nav .panel:after, #globalnavi:after, .newsTitle:after, .bg:after,.parea:after, ul.parea li:after,#globalnavi .inner:after{content:""; display: table;clear: both;}
nav .panel,#globalnavi,.newsTitle,.bg, .parea, ul.parea li,#globalnavi .inner{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;
}

input[type="submit"],input[type="reset"],input[type="button"]{
padding:3px 10px;
background:#000;
border:0;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
line-height:1.5;
font-size:120%;
color:#fff;
}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
background:#505050;
cursor:pointer;
}

*:first-child+html input[type="submit"]{padding:3px;}


/* レイアウト
------------------------------------------------------------*/
#outline, .inner{
margin:0 auto;
width:880px;
}

#topline{
overflow:hidden;
background:#fff;
}

#content{
float:left;
width:633px;
padding:22px 0 50px;
}

#content2{
float:left;
width:633px;
padding:22px 0 50px;
}

#yoko{
float:right;
width:232px;
padding:22px 0 50px;
}

#botBox{
clear:both;
background:#082716;
} 


/* ヘッダー
*****************************************************/
#topline .bg{background:#000;}

/* サイト説明文
----------------------------------*/
#topline h1{
padding:5px 0;
font-size:80%;
font-weight:normal;
background:#000;
width:100%;
color:#fff;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#topline h2{
clear:both;
float:left;
padding:20px 5px 15px;
color: #515151;
font-size:160%;
font-weight:bold;
}


/* コンタクト
----------------------------------*/
.contact{
float:right;
padding:10px 0 0;
text-align:right;
color:#000;
font-size:90%;
}

.contact .tel{
margin-bottom:-3px;
font-size:180%;
font-weight:bold;
font-family:Arial, Helvetica, sans-serif;
}



/* トップページ　メイン画像
----------------------------------*/
#topphoto{
clear:both;
line-height:0;
text-align:center;
z-index:0;
background:#fff;
}
#topphoto a:hover{opacity:.8;}

.parea{
margin:0 0 20px 0;
padding:20px 10px 20px 20px;
border:1px solid #3a2d21;
background:#fff;
}

.toppage h4{
margin:0 0 10px;
font-size:16px;
font-weight:normal;
color:#333;
}

.toppage{padding:10px 10px 20px 20px;}



/* 記事ループ
*****************************************************/
.list{
padding:10px 0;
border-bottom:1px dashed #dcdcdc;
}

.list:last-child{border:0;}

.parea .list p{padding:0;}

.list b{padding-left:10px;}


/* タイポグラフィ
*****************************************************/
h2.title{
clear:both;
margin:0;
padding:7px 10px 7px 10px;
font-size:110%;
color:#000;
border:1px solid #3a2d21;
border-bottom:0;
background:#fff url(images/headingBg.png) repeat-x 0 100%;
}

.dateLabel{
text-align:right;
font-weight:bold;
color:#858585;
}

.parea p{padding-bottom:15px;}

.parea ul{margin:0 0 10px 10px;}

.parea ul li{
margin-bottom:5px;
padding-left:15px;
background:url(images/bullet.png) no-repeat 0 8px;
}

.parea ol{margin: 0 0 10px 30px;}

.parea ol li{list-style:decimal;}

.parea h1{
margin:20px 0;
padding:5px 0;
font-size:150%;
color: #000;
border-bottom:3px solid #000;
}

.parea h2{
margin:10px 0;
padding-bottom:2px;
font-size:130%;
font-weight:normal;
color: #333;
border-bottom:2px solid #515151;
}

.parea h3{
margin:10px 0;
font-size:100%;
font-weight:normal;
color:#2e2c2c;
border-bottom:1px solid #515151;
}

.parea blockquote {
clear:both;
padding:10px 0 10px 15px;
margin:10px 0 25px 30px;
border-left:5px solid #ccc;
}
 
.parea blockquote p{padding:5px 0;}

.parea table{
border: 1px #ccc solid;
border-collapse: collapse;
border-spacing: 0;
margin:10px 0 20px;
}

.parea table th{
padding:10px;
border: #ccc solid;
border-width: 0 0 1px 1px;
background:#efede7;
}

.parea table td{
padding:10px;
border: 1px #ccc solid;
border-width: 0 0 1px 1px;
background:#fff;
}

.parea dt{font-weight:bold;}

.parea dd{padding-bottom:10px;}

.parea 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:#fff;
}

#gallery-1 img:hover{background:#fffaef;}



/* サイドバー　ウィジェット
*****************************************************/
.widget ul, .widget_search, #calendar_wrap, .textwidget{
margin:1px 0 20px 0;
padding:10px 10px 10px 17px;
border:1px solid #d5d5d5;
background: #fff;
}

.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;
}

.widget h3{
clear:both;
margin:0 0 -1px;
padding:7px 10px 7px 10px;
font-size:110%;
border:1px solid #d5d5d5;
border-bottom:0;
color:#000;
background:#fff url(images/headingBg.png) repeat-x 0 100%;
}

.widget li a{
display:block;
padding:7px 0 7px 12px;
background:url(images/arrow.gif) no-repeat 0 12px;
border-bottom:1px dashed #dcdcdc;
}

.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;width:90%;}
#calendar_wrap table caption{padding:10px 0;text-align:center;font-weight:bold;}
#calendar_wrap table th, #calendar_wrap table td{padding:3px;text-align:center;}
#calendar_wrap table th:nth-child(6),#calendar_wrap table td:nth-child(6){color:#0034af;}
#calendar_wrap table th:nth-child(7),#calendar_wrap table td:nth-child(7){color:#950000;}
#calendar_wrap table td#prev{text-align:left;}
#calendar_wrap table td#next{text-align:right;}
#calendar_wrap a{color:#c71a28;font-weight:bold;}


/* お知らせ　
-------------*/
.newsTitle{
clear:both;
margin:0;
padding:7px 10px;
font-size:110%;
border:1px solid #3a2d21;
border-bottom:0;
color:#000;
background:#fff 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 b{
color:#515151;
font:normal 90% Arial, 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
}

.news b{padding-left:10px;}

.news a:hover b{color:#6f6f6f;}



/* フッター
*****************************************************/
#botBox ul{
padding:15px 0 25px;
text-align:center;
}

#botBox li{
display:inline-block;
padding: 5px 16px;
border-left:1px dotted #d5d5d5;
}
*:first-child+html #botBox li{display:inline;}

#botBox li:first-child{border:0;}

#botBox li a{
text-decoration:none;
color:#fff;
}

#botBox li a:hover{color:#999;}

#botBox 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.parea{
padding:0;
}

ul.parea li{
margin:0 10px;
padding:20px 0 15px;
border-bottom:1px dashed #a59282;
}

ul.parea li:last-child{border:0;}

ul.parea img{
float:left;
margin:0 15px 5px 10px;
}

ul.parea h3{
margin:0 0 10px 10px;
font-size:14px;
font-weight:normal;
color:#333;
border:0;
}



/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 1025px){
#globalnavi{
clear:both;
position:relative;
z-index:200;
width:100%;
margin:0 auto;
background:#000;
}

#globalnavi .inner{
padding-left:1px;
border-left:1px solid #fff;
}

#globalnavi li{
float: left;
position: relative;
border-right:1px solid #fff;
}

#globalnavi li a{
display: block;
text-align: center;
_float:left;
color:#fff;
height:35px;
line-height:45px;
font-size:110%;
margin-right:1px;
padding:10px 40px 0;
}

#globalnavi li a b,#globalnavi li a strong{
display:block;
font-size:90%;
line-height:1.4;
}

#globalnavi li a b{
font-size:70%;
color:#fff;
font-weight:normal;
}

#globalnavi li.current-menu-item a, #globalnavi li a:hover, #globalnavi li.current-menu-parent a,#globalnavi ul li a:hover b, #globalnavi li.current-menu-item a b{
color:#fff;
background:#505050;
}

#globalnavi ul ul{
width:160px;
border-top:0;
}

#globalnavi li ul{display:none;}

#globalnavi li:hover ul{
display:block;
position:absolute;
top:45px;
left:-1px;
z-index:500;
}

#globalnavi li li{
margin:0;
float:none;
height:35px;
line-height:35px;
width:160px;
background:#505050;
border-bottom:1px dotted #fff;
}

#globalnavi li li a, #globalnavi li.current-menu-parent li a,#globalnavi li.current-menu-item li a{
width:100%;
height:40px;
padding:0 0 0 10px;
line-height:40px;
font-size:95%;
text-align:left;
color:#fff;
}

#globalnavi li li.current-menu-item a,#globalnavi li li a:hover{background:#000;}

nav div.panel{
display:block !important;
float:left;
}
  
a#menu{display:none;}
}


/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:1024px){
	#globalnavi{
	clear:both;
	width:100%;
	margin:0 auto 10px;
	background:#000;
	}
	
	#globalnavi a.menu{
	width:100%;
	display:block;
	height:37px;
	line-height:37px;
	font-weight: bold;
	text-align:left;
	color:#fff;
  background: url(images/menuOpen.png) no-repeat 5px 8px;
	}
	
	#globalnavi a#menu b{padding-left:35px;}
	
	#globalnavi a.menuOpen{
	border-radius:6px 6px 0 0;
	background: url(images/menuOpen.png) no-repeat 5px -34px;
	}
	
	#globalnavi a#menu:hover{cursor:pointer;}
	
	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	#globalnavi ul{margin:0;padding:0;}

	#globalnavi li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	}

	#globalnavi li a,#globalnavi li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	color:#fff;
	border-bottom:1px dashed #e5e5e5;
	}
	
	#globalnavi li:last-child a{border:0;border-radius:0 0 6px 6px;}
	#globalnavi li li:last-child a{border:0;border-radius:0;}
	#globalnavi li li:last-child a{border-bottom:1px dashed #e5e5e5;}

 	#globalnavi li a b{display:none;}
 
	#globalnavi li.current-menu-item a,#globalnavi li a:hover,#globalnavi li.current-menu-item a,#globalnavi li a:active, #globalnavi li li.current-menu-item a, #globalnavi li.current-menu-item li a:hover, #globalnavi li.current-menu-item li a:active,#globalnavi li.current-menu-item li a{
	background:#505050;
	}

	#globalnavi li li{
	float:left;
	border:0;
	}

	#globalnavi li li a, #globalnavi li.current-menu-item li a, #globalnavi li li.current-menu-item a{
  padding-left:40px;
	background:url(images/sub1.png) no-repeat 20px 18px;
	}

	#globalnavi li li.current-menu-item a,#globalnavi li li a:hover, #globalnavi li.current-menu-item li a:hover{
		background:#505050 url(images/sub1.png) no-repeat 20px -62px;}
	
	#globalnavi li li:last-child a{background:url(images/subLast.png) no-repeat 20px 20px;}
	#globalnavi li li:last-child.current-menu-item a,#globalnavi li li:last-child a:hover,#globalnavi li.current-menu-item li:last-child a:hover{background:#505050 url(images/subLast.png) no-repeat 20px -65px;}
	
	nav div.panel{float:none;}
}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 959px){
  #outline, .inner{width:100%;}

	#topline{width:96%;padding:0 2%;}
	
	.contact{padding:10px 0 10px;}

	#globalnavi ul{margin:0 auto;}
	#globalnavi ul ul{padding:0;}

	nav div.panel{float:none;}
	
	#topphoto img{width:98%;height:auto;}

	#content, #yoko{
	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;}
	
	.widget_search{text-align:center;}
	
	#botBox li{margin-bottom:10px;}
	
}


/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){
	#topline h2{padding:0;}
	#topline h2 img{max-width:90%;}
  .contact{padding:0;}
	#topline{text-align:center;}
	#topline h2,.contact{float:none;}
	.contact{padding:0 0 20px;}
	.contact p{text-align:center;}
	#toplineInfo{width:250px;margin:0 auto;}
	img.alignright, img.alignleft{display: block;	margin:5px auto;}
	.alignright,.alignleft{float:none;}
}