@charset "utf-8";

body{
  max-width: 960px;
  margin: 0 auto;
	font-family: メイリオ, Meiryo,Osaka,'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}

/*-----ロゴ、メニュー-----*/
header{
	width: 100%;
	margin: 0 auto;
  padding-top: 16px;
  padding-bottom: 16px;
  /*position: fixed;
  top: 0;
  background-color: #ffffff;*/
}
header .inner{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
header .inner h1{
	width: auto;/*-------ロゴ(title.jpg(charLogo))の大きさ------*/
	margin-right: auto;
 /* margin-bottom: 14px;*/
}
header .inner img {
  padding-left: 0.2em;/*title.jpg(charLogo)のpadding-left*/
}
header nav {
	margin-left: 0.5em;/*title.jpg(charLogo)とメニューとの間隔*/
  float: left;
  padding-top: 14px;/*-----title.jpg(charLogo)の上下中央とラインを合わせる------*/
}
header nav ul {
	display: flex;
	justify-content: space-between;
	/*align-items: left;*/
}
header nav ul li a {
  color: #6f6f6f;
	text-decoration: none;
	font-weight: bold;
	padding-right: 16px;
  font-size: 12px;
}
header nav ul li a:hover {
  color: #1f1f1f;
}
header nav ul li.active a {
  color: #1f1f1f;
}
#nav_toggle{
	display: none;
}


/*-----メインビジュアル<img src="img/mainvi.png" alt="">、ロゴ・メニューの下、メインコンテンツの上-----*/
#main_img {
	max-width: 960px;
	margin: 0 auto;
  /*margin-top: 5.5em; /*----------メニュー領域の下に配置する---------------*/
  padding-bottom: 1em; /*----------mainとの間---------------*/
  /*background-color: #ffffff;*/
}
.pc {
  display: block;
}
.mobile {
  display: none;
}
@media screen and (max-width: 480px) {
  .pc {
    display: none;
  }
  .mobile {display:block;margin-left:auto;margin-right:auto;width:96%
    
  }
}

/*--main
main {
}--*/
/*--left--*/
.left {
  width: 73%;
  float: left;
  background-color: #ffffff;
} 

/*--right右側メニュー--*/
.right {
  float:right;
  width:25%;
  line-height: 1.2em;
  background-color: #ffffff;
  margin-top: 0px;
  }
/*--市民活動センターって何・自治会町内会の方へ・企業大学の方へ--*/
.right img {
  width: 100%;
  margin-bottom: 0.5em;
  margin-left: 0;
  padding-left: 0;
}
/*---------facebook-iframe---------*/
.fb-iframe {
  margin-top: 0.85em;
  margin-bottom: 0.85em;
}
/*----------right-menu,鎌倉市市民活動センターについて　他------------*/
.right-menu-list {
  color: #06c; 
  font-size: 12px;
  font-weight: bold;
}
.right-menu {
  color: #06c; 
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
}
.right li {
  margin-left: 12px;
  text-decoration: none;    
  }
.right li a {
    text-decoration: none;
    font-size: 12px;
    color: #5a5859;
  }
.right li a:hover {
    /*color: #5a5859;*/
    color: #0e080b;
}

/*-----pagetopボタン(pagetop.png)-----*/
.pagetop {
  position: fixed;
  right: 5em;
  bottom: 2em;
  z-index: 5; /*-----最前面に配置、5でなくても、他のz-indexよりも大きければよい-----*/
}
.pagetop img {
  /*width: 40px;
  background-color: darkblue;
  border-radius: 20px;*/
}
/*.pagetop img:hover {
  background-color: #c00;
}*/

/*-----footer-----*/
footer img {
  position: relative;
  bottom: 0em;
}

footer small {
  width: 100%;
  display: inline-block;
  text-align: center;
  color: #ccc;
  position: relative;
  bottom: 3em;
}


/*-----------------↓スマホ・タブレット用の設定-----------------*/
@media screen and (max-width:480px){
	header{
		padding: 4px 0;
    width: 100%;    
	}
	header .inner h1 {
		width: 180px;
	}
	#main_img {
    /*margin-top: 4em; /*----------メニュー領域の下に配置する---------------*/
		width: 100%;
    /*height: auto;*/
    padding-bottom: 1em;
  }
	
	/*メニュー部分*/
	header nav {
		display: none;
		position: absolute;
		top:55px;/*------ドロップダウンメニューの上下位置------*/
		right: 0;/*------ドロップダウンメニューの左右位置------*/
		width: 50%;/*------ドロップダウンメニューの幅------*/
		background: #ffffff;/*------ドロップダウンメニューの背景色------*/
    border: solid 1px #bfc0c0;
	} 
	header nav ul {
    margin: 0 auto;
		display: block;
		width: 90%;
	}
	header nav ul li {
		text-align: center;
    border-bottom: solid 1px #bfc0c0;
	}
	header nav ul li:first-child {
    border-top: solid 1px #bfc0c0;
	}
  /*-----ドロップダウンメニューで最後の項目のボーダーをなくす-----*/
	header nav ul li:last-child {
		border: none;
	}
	header nav ul li a {
		display: block; 
    padding: 12px;/*------------------ハンバーガーメニューの各項目の高さ調整------------------*/
	}	
		
	/*開閉ボタン*/
	#nav_toggle {
		display: block;
		width: 30px;/*ハンバーガーメニューの幅*/
		height: 30px;/*ハンバーガーメニューの高さ*/
		position: relative;
		top: 5px;/*ハンバーガーメニューの上下位置*/
    right: 30px;/*ハンバーガーメニューの左右位置*/
		z-index: 100;
	}
	#nav_toggle div {
		position: relative;
	}
	#nav_toggle span{
		display: block;
		height: 3px;
		/*background: #fff;*/
		background: #5a5859; /*ハンバーガーメニューの色*/
		position:absolute;
		width: 100%;
		left: 0;
		-webkit-transition: 0.2s ease-in-out;
		-moz-transition: 0.2s ease-in-out;
		transition: 0.2s ease-in-out;	
	}
	#nav_toggle span:nth-child(1) {
		top:0px;
	}
	#nav_toggle span:nth-child(2) {
		top:12px;
	}
	#nav_toggle span:nth-child(3) {
		top:24px;
	}
	
	/*開閉ボタンopen時*/
	.open #nav_toggle span:nth-child(1) {
		top: 12px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  .open #nav_toggle span:nth-child(2) {
		width: 0;
    left: 50%;
  }
	.open #nav_toggle span:nth-child(3) {
		top: 12px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }
  
  /*--left左側コンテンツ&right右側メニュー--*/
  .left {
    float: none;
    width: 100%;
  }
  .right {
    margin-top: 1em;
    width: 95%;
    margin-left: 2%;
  }
  .right img {
    width: 67%;
    margin-left: -1.15em;
  }
  /*----facebook-iframe-------*/
  .fb-iframe {
    margin: 1em 0em;
  }
  /*-----pagetopボタン(pagetop.png)-----*/  
    .pagetop {
      right: 2em;
      bottom: 2.5em; 
    }
    footer img {
      bottom: -2em;
    }
  /*-----footer-----*/
    footer small {
      bottom: 0em;
    }
}
/*-----------------↑スマホ・タブレット用の設定-----------------*/