/*--------------------------------------------------------------
Copyright WEB MAGIC.
http://www.webamgic.jp/
Template#13 type-3-menu6 ver 1.01
---------------------------------------------------------------*/

/*-------------------------------------------------------------*/
/*-------------------------------------------------------------*/
/*------------------------ main width 829 ---------------------*/
/*-------------------------------------------------------------*/
/*-------------------------------------------------------------*/
/*---------　ふるるマークmarkの位置を右端に設定 ---------------*/
/*-------------------------------------------------------------*/
/*-------------------------------------------------------------*/

body {
text-align: center;
background-color:#DADADA;/*全体の背景色-----------------*/
font-family: Osaka,Verdana,Arial,Helvetica,sans-serif;
font-size:14px;/*基本の文字サイズ-----------------*/
line-height:170%;
color:#444444;;/*基本の文字色-----------------*/
margin-top:20px;/*コンテンツボックスを上から少し離しています-----------------*/
margin-bottom:20px;
margin-left:0;
margin-right:0;
}


h1,h2,h3 {
margin:0px;
padding:0px;
font-weight:normal;
}


/*pタグ空白消去*/
p {
margin:0px;
padding:0px;
}


/*IMGボーダー非表示*/
img  {
border: none;
vertical-align:top;
}



/*TABLEボーダー非表示*/
table  {
border:none;
margin-bottom:20px;
}


/*IE--BRバグ回避*/
br  {
letter-spacing:normal;
}



/*ビルダー表示崩れ回避*/
br.clear{
clear:both;
padding:0px;
margin:0px;
height:0px;
line-height:0;
}


/*リスト空白消去*/
ul,ol,li  {
margin:0px;
padding:0px;
list-style:none;
}



/*ページのタイトル部分のみのテキストリンク-----------------*/
h1 a:link       {color:#ffffff;text-decoration:none;} /*メニュー・テキストリンクの色*/
h1 a:visited    {color:#ffffff;text-decoration:none;} /*メニュー・訪問済みのリンクの色*/
h1 a:active     {color:#ffffff;text-decoration:underline;} /*メニュー・クリック時のリンクの色*/
h1 a:hover      {color:#ffffff;text-decoration:underline;} /*メニュー・マウス上にカーソルがある時のリンク色*/



/*普通のテキストリンク-----------------*/
a:link    {text-decoration:underline;color:#1F5FA9;}  /*テキストリンクの色*/
a:visited {text-decoration:underline;color:#1F5FA9;}  /*訪問済みのリンクの色*/ 
a:active  {text-decoration:underline;color:#ff9900;}   /*クリック時のリンクの色*/
a:hover   {text-decoration:underline;color:#ff9900;}  /*マウスの上にカーソルがあるときのリンクの色*/




#container{
width:895px;
margin:0 auto;
padding:0;
text-align:left;
}


/* ヘッダー右上SEO用テキスト入力欄 */
#summery{
width:895px;
text-align:right;
line-height:normal;
padding-bottom:4px;
font-size:14px;
}



#header{
margin:0px;
background-image:url(../img_header/page1.jpg);/*ヘッダー画像-----------------*/
background-repeat:no-repeat;
/* width:835px; */  /* 2015.01.25 del */
/* padding:53px 30px 25px 30px; */  /* 2015.01.25 del */
/* height:300px; */    /* 2015.01.25 del */
height:380px;
}


/* 右上にロゴマーク表示ここから */

.page5_015 #header {
       background-image:url(../img_header/page5_015_2016_1105_cimg0523a.jpg);/
}

.page5_017 #header {
       background-image:url(../img_header/page5_017_2016_0918_cimg0125r.jpg);/
}
.page5_022 #header {
       background-image:url(../img_header/page5_022_2016_1016_dsc_0598.jpg);/
}
.page5_029 #header {
       background-image:url(../img_header/page5_029_2016_0517_cimg0888.jpg);/
}
.page6_2 #header {
       background-image:url(../img_header/page6_2_2016_0605_cimg2115.jpg);/
}
/* 右上にロゴマーク表示ここまで */



/*-- ふるるマークの位置設定（右端） 2016.10.16 add ---*/
.mark{
padding:0px 0px 0px 645px;
}

/*--「正義、平和、健康、人間の尊厳、自由、環境への配慮」と書いてある文字----*/
#subtitle{
padding:30px 0px 0px 10px;  /* 2015.01.25 add */
line-height:normal;
font-size:18px;/*---文字サイズ-----------*/
color:#ffffff;/*---文字色-----------*/
}



/*サイトのタイトル(函館ＹＷＣＡ)文字-----------------*/
h1{
line-height:normal;
font-size:30px;/*タイトル文字サイズ*/
font-family: Osaka,Verdana,Arial,Helvetica,sans-serif;
font-weight:bold ;
margin:0;
padding:4px 0px 15px 10px;
}

/* ------------- h1 a 設定追加（2014.11.03） start -----------------------*/
h1 a, h1 a:link{ /* 未訪問のリンク */
  color: #C8FE2E;
}
h1 a:visited{    /* 訪問済みのリンク */
  color: #ffffff;
}
h1 a:hover{      /* リンクにマウスカーソルを重ねた場合 */
  color: red;
}
h1 a:active{     /* カーソルをクリックした瞬間の色 */
  color: black;
}
/* ------------- h1 a 設定追加（2014.11.03） end  -----------------------*/


/*-- 地域に根ざしたボランティア活動をしています。と書いてある文字--------*/
#setumei{
padding:0px 0px 0px 10px;  /* 2015.01.25 add */
line-height:normal;
font-size:16px;/*---文字サイズ-----------*/
font-weight:bold ;/*---太字-----------*/
color:#ffffff;/*---文字色-----------*/
}





/*ヘッダー下ロールオーバーメニューリスト指定------------------------------------------------*/

#menu{
margin: 0;
padding: 0;
}


#menu ul{
list-style-type: none;
margin: 0;
padding: 0;
}


/*各メニューのボックス-----------------*/
#menu li{
float: left;
/* width: 148px; (2014.1228) */
width: 127px;
border-top:1px #222222 solid;
border-left:1px #222222 solid;
border-bottom:1px #222222 solid;
}



/*一番右端のメニューボックス右サイドのマージンカット指定-----------------*/
#menu li.menuright{
float: left;
/* width: 148px; (2014.1228) */
width: 125px;
border-top:1px #222222 solid;
border-left:1px #222222 solid;
border-bottom:1px #222222 solid;
border-right:1px #222222 solid;
}



/*マウスをのせていないときの指定-----------------*/
#menu a{
text-align: center;
display:block;
padding:15px 8px;
/* width: 132px; (2014.1228) */
width: 111px;
background-color:#1FA984;/*------メニューの背景色-----------*/
color:#ffffff;/*------メニューの文字色-----------------*/
text-decoration:none;/*------リンクのアンダーラインなし-----------------*/
font-size:14px;/*------文字サイズ-----------------*/
}

/*マウスをのせていないときの指定 (2014.1228 add) -----------------*/
#menu a.menuright{
text-align: center;
display:block;
padding:15px 8px;
width: 110px;
background-color:#1FA984;/*------メニューの背景色-----------*/
color:#ffffff;/*------メニューの文字色-----------------*/
text-decoration:none;/*------リンクのアンダーラインなし-----------------*/
font-size:14px;/*------文字サイズ-----------------*/
}


/*マウスをのせたときの指定-----------------*/
#menu a:hover{
background-color:#1DD1A1;/*-------メニューの背景色----------*/
color:#ffffff;/*-------メニューの文字色-----------*/
text-decoration:none;/*-------リンクのアンダーラインあり----------*/
font-size:14px;/*------文字サイズ-----------------*/
}

/*----------- ( 2015.1.24 add sart ) -----------------*/
#menu ul li ul {
  position: absolute;
  top: 473px;/*上からの開始位置。親メニューの高さと同じに合わせること*/
  width: 127px;
  z-index: 100;
}
#menu ul li ul li {
  visibility: hidden;
  overflow: hidden;
  width: 127px;/*サブメニューの幅*/
  height: 0;
  background:#1FA984;/*サブメニューの背景色*/
}
#menu ul li ul li:hover, #menu ul li ul li a:hover {
  background:#1DD1A1;/*ホバー時のサブメニューの背景色*/
}
#menu ul li:hover ul li, .menu ul li a:hover ul li{
  visibility: visible;
  overflow: visible;
  height:50px;/*サブメニューの高さ*/
  z-index: 10;
}
#menu * {
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
/*----------- ( 2015.1.24 add end ) -----------------*/


#wrapper{
width:895px;
clear:both;
background-color:#FFFFFF; /*----メニューから下の部分のコンテンツ背景色--------*/
position:relative;
float:left;
}




#main{
float:left;
padding-top:33px;
padding-left:33px; /*-- 2015.1.25   39から33へ変更   --*/

width:829px;　/*-- 2015.1.25   597から829(895 - 33 - 33 = 829)へ変更   --*/
}


/*---- iframe要素のレスポンシブ対応 (2015.2.5 add ) --------*/
div.iframeWrap {
position: relative;
width: 100%;
}
div.iframeWrap iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
}



/*------------- 2015.1.25  side 無しversion del ここから　---------
#side{
float:right;
padding-top:33px;
padding-right:33px;
width:200px;
}
------------- 2015.1.25  side 無しversion del ここまで------------*/


 /*----トップページ「タイトル・・・」のコピー文字--------*/
#copy{
font-size:28px; /*----文字サイズ--------*/
font-weight:bold;
color:#1FA984; /*----文字色--------*/
line-height:130%;
margin-bottom:20px;
}


.text{
margin:2px 2px 25px 2px;
line-height:170%;
}



 /*----NEWS・下層ページタイトル--------*/
h2 {
font-family:"ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
background-image:url(../images/bar.gif);
background-repeat:no-repeat;
margin-bottom:18px;
height:41px;
font-weight:normal;
font-size:17px; /*----文字サイズ--------*/
} 



/*----NEWS・下層ページタイトル左の方にある色のついた縦ライン（新着情報）------*/
.line{
border-left:#1FA984 4px solid; /*----ラインの色・太さ・ラインは直線--------*/
padding:10px;
height:16px;
}

#news{          /*---- 2015.1.10 overflow add ----*/
overflow:auto;
height:260px;
}

#news li{
margin-bottom:2px;
padding-bottom:6px;
padding-left:4px;
padding-top:6px;
border-bottom:#dddddd solid 1px;
}


#news ul{
margin:0px 2px 45px 2px;
}


.box_bg{
background-image:url(../images/box_bg.gif);
background-repeat:repeat-y;
padding:0px 20px;
}


#textlink{
border-top:#dddddd solid 1px;
margin-left:30px;
margin-right:30px;
padding:12px 4px 25px 4px;
text-align:left;
}



/*----下層ページ小見出し--------*/
h3{
font-weight:bold;
padding:2px;
font-size:16px;
color:#1FA984;
margin-bottom:15px;
border-bottom:#dddddd double 3px;/*----下部ライン--------*/
}



/*----テーブル表組み左のセル--------*/
.table_item{
background-color:#f3f3f3;/*----セルの色--------*/
text-align:left;
}


/*----テーブル表組み右のセル--------*/
.table_text{
background-color:#ffffff;/*----セルの色--------*/
text-align:left;
font-size:16px;  /*----2015.1.25 add--------*/
color:#000000; /*----フォントの色 2015.1.26 add------*/
}

.table_text14{
background-color:#ffffff;/*----セルの色--------*/
text-align:left;
font-size:14px;  /*----2015.1.26 add--------*/
color:#000000; /*----フォントの色 2015.1.26 add------*/
}

/*----テーブル表組みの枠線--------*/
.waku{
background-color:#999999;/*---枠線の色--------*/
}


#copyright{
clear:both;
margin:0 auto;
padding:4px 2px;
width:891px;
font-size:10px;
text-align:right;

}

#copyright a:link {color:#444444;}
#copyright a:visited  {color:#444444;}
#copyright a:hover {color:#444444;}
#copyright a:active  {color:#444444;}



.space20{
margin-bottom:20px;
}
