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

/*-------------------------------------------------------------*/
/*-------------------------------------------------------------*/
/*------------------------ main width 829 ---------------------*/
/*-------------------------------------------------------------*/
/*---------　ふるるマークmarkの位置を右端に設定 ---------------*/
/*---------　ふるるマーク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; */    /* 2017.02.04 del */
height:500px;
}

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

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

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

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

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

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

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

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

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

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

.page5 #header {
       background-image:url(../img_header/page5.jpg);/
}
.page5_001 #header {
       background-image:url(../img_header/page5_001_2016_0512_cimg0377.jpg);/
}
.page5_002 #header {
       background-image:url(../img_header/page5_002_2016_0514_cimg0829.jpg);/
}
.page5_003 #header {
       background-image:url(../img_header/page5_003_2016_0514_cimg0851.jpg);/
}
.page5_004 #header {
       background-image:url(../img_header/page5_004_2016_0515_cimg1079.jpg);/
}
.page5_005 #header {
       background-image:url(../img_header/page5_005_2016_0306_dsc_0262.jpg);/
}
.page5_006 #header {
       background-image:url(../img_header/page5_006_2016_0113_p1030062.jpg);/
}
.page5_007 #header {
       background-image:url(../img_header/page5_007_2016_0713_cimg1147.jpg);/
}
.page5_008 #header {
       background-image:url(../img_header/page5_008_2016_0802_cimg0239.jpg);/
}
.page5_009 #header {
       background-image:url(../img_header/page5_009_2016_0808_cimg0789.jpg);/
}
.page5_010 #header {
       background-image:url(../img_header/page5_010_2016_0813_cimg0924.jpg);/
}
.page5_011 #header {
       background-image:url(../img_header/page5_011_2016_0811_cimg0871.jpg);/
}
.page5_012 #header {
       background-image:url(../img_header/page5_012_2016_0827_cimg1374.jpg);/
}
.page5_013 #header {
       background-image:url(../img_header/page5_013_2016_0823_cimg1255.jpg);/
}
.page5_014 #header {
       background-image:url(../img_header/page5_014_2016_0918_cimg0146.jpg);/
}


.page5_016 #header {
       background-image:url(../img_header/page5_016_2016_1004_cimg0819.jpg);/
}
.page5_017 #header {
       background-image:url(../img_header/page5_017_2016_0918_cimg0125r.jpg);/
}
.page5_018 #header {
       background-image:url(../img_header/page5_018_2014_1215_CIMG0746.jpg);/
}

.page5_020 #header {
       background-image:url(../img_header/page5_020_2016_0114_cimg0553.jpg);/
}
.page5_021 #header {
       background-image:url(../img_header/page5_021_2016_1109_cimg0655.jpg);/
}
.page5_023 #header {
       background-image:url(../img_header/page5_023_2016_0904_dscn0300a.jpg);/
}
.page5_024 #header {
       background-image:url(../img_header/page5_024_2017_0126_cimg1348.jpg);/
}
.page5_025 #header {
       background-image:url(../img_header/page5_025_2017_0124_cimg1298.jpg);/
}

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

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


.page5_030 #header {
       background-image:url(../img_header/page5_030_2017_0429_cimg1413.jpg);/
}
.page5_031 #header {
       background-image:url(../img_header/page5_031_2017_0506_cimg3953.jpg);/
}
.page5_032 #header {
       background-image:url(../img_header/page5_032_2017_0509_cimg4132.jpg);/
}
.page5_033 #header {
       background-image:url(../img_header/page5_033_2017_0518_cimg4496.jpg);/
}

.page5_034 #header {
       background-image:url(../img_header/page5_034_2017_0305_fururu_festival.jpg);/
}
.page5_035 #header {
       background-image:url(../img_header/page5_035_2017_0708_culture_berak_time.jpg);/
}

.page5_036 #header {
       background-image:url(../img_header/page5_036_2017_0708_international_exchange.jpg);/
}
.page5_041 #header {
       background-image:url(../img_header/page5_041_2016_0910_1535_dsc_0262.jpg);/
}
.page5_043 #header {
       background-image:url(../img_header/page5_043_2016_0910_kimg3406.jpg);/
}
.page5_045 #header {
       background-image:url(../img_header/page5_045_2016_1002_cimg0651.jpg);/
}

.page5_047 #header {
       background-image:url(../img_header/page5_047_halloween.jpg);/
}
.page5_055 #header {
       background-image:url(../img_header/page5_055_2017_0912_cimg3562.jpg);/
}

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

.page5_058 #header {
       background-image:url(../img_header/page5_058_2017_0924_dscn3402.jpg);/
}
.page5_064 #header {
       background-image:url(../img_header/page5_064_2017_0728_dscn3049.jpg);/
}
.page5_065 #header {
       background-image:url(../img_header/page5_065_2018_0408__Let_us_know_the_paper.jpg);/
}
.page5_079 #header {
       background-image:url(../img_header/page5_079_2018_0624_dscn1609.jpg);/
}
.page5_086 #header {
       background-image:url(../img_header/page5_086_2017_0819_dscn3221.jpg);/
}
.page5_107 #header {
       background-image:url(../img_header/page5_107_2016_0723_cimg1530.jpg);/
}
.page5_120 #header {
       background-image:url(../img_header/page5_120_2019_0922_img_8576.jpg);/
}
.page5_121 #header {
       background-image:url(../img_header/page5_121_2017_0415_img_0945.jpg);/
}
.page5_125 #header {
       background-image:url(../img_header/page5_125_2019_0810_dsc03269.jpg);/
}
.page5_130 #header {
       background-image:url(../img_header/page5_130_2019_1005_img_0885.jpg);/
}
.page5_152 #header {
       background-image:url(../img_header/page5_152_2020_0822_img_1499.jpg);/
}
.page5_157 #header {
       background-image:url(../img_header/page5_157_2021_0206_img_2510.jpg);/
}
.page5_163 #header {
       background-image:url(../img_header/page5_163_2021_0107_img_3652.jpg);/
}
.page5_168 #header {
       background-image:url(../img_header/page5_168_2019_0210_international.jpg);/
}
.page5_174 #header {
       background-image:url(../img_header/page5_174_2022_05-08_earth_whole.jpg);/
}
.page5_182 #header {
       background-image:url(../img_header/page5_182_old_autumn_lake_fall_garden_pagoda_pond.jpg);/
}

.page5_191 #header {
       background-image:url(../img_header/page5_191_2022_0106_img_4433.jpg);/
}
.page5_193 #header {
       background-image:url(../img_header/page5_193_2022_0220_volunteer_introductory_course.jpg);/
}
.page5_215 #header {
       background-image:url(../img_header/page5_215_2022_1218_img_7158.jpg);/
}
.page5_218 #header {
       background-image:url(../img_header/page5_218_2023_1125_img_2120.jpg);/
}
.page5_229 #header {
       background-image:url(../img_header/page5_229_hakodate_central_driving_school.jpg);/
}
.page5_230 #header {
       background-image:url(../img_header/page5_230_gundam.jpg);/
}
.page5_235 #header {
       background-image:url(../img_header/page5_235_2023_0930_img_1158.jpg);/
}
.page5_238 #header {
       background-image:url(../img_header/page5_238_20240907_p1240717.jpg);/
}
.page5_242 #header {
       background-image:url(../img_header/page5_242_2024_0110_img_2670.jpg);/
}
.page5_245 #header {
       background-image:url(../img_header/page5_245_2024_0217_p1230610.jpg);/
}
.page5_246 #header {
       background-image:url(../img_header/page5_246_korea_hwaseong_fortress.jpg);/
}
.page5_256 #header {
       background-image:url(../img_header/page5_256_2025_0719_summer_camp.jpg);/
}
.page5_259 #header {
       background-image:url(../img_header/page5_259_2024_0824_img_5651.jpg);/
}
.page6_1 #header {
       background-image:url(../img_header/page6_1.jpg);/
}



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


/*-- ふるるマークの位置設定 （右端）2017.04.29 add ---*/
/*-- ふるるマークの位置設定 （下端）2017.08.12 add ---*/
.mark{
padding:380px 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; */ /*上からの開始位置。親メニューの高さと同じに合わせること*/ /* 2017.02.04 del */
  top: 593px;/*上からの開始位置。親メニューの高さと同じに合わせること*/ /* 2017.02.04 変更 */
  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;
}
