@charset "UTF-8";

/*--------------------------各ページ共通の設定---------*/
#pageTop  {
	bottom: 30px;
	right: 30px;
	position: fixed;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	z-index: 5;
}
.resizephoto img {
	height: auto;
	width: 100%;
	margin: 0px;
	padding: 0px;
	vertical-align: bottom;
}


/*--------------------------フォントの設定---------*/
body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #333;
}
h1 {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 14px;
	float: left;
	font-style: normal;
	font-weight: normal;
}
.shiru {color: #F00;}
#menu{font-size: 15px;color: #333;}
#mini a{font-size: 15px;color: #333;}
.bold {
	font-weight: bold;
	font-size: 14px;
}
.aka {color: #F00;}
.orange {color: #F90;}

.pri-pori{width:95%; margin:100px auto 150px auto;}
.poritai{font-size: 18px;  color: #960;}
.pori{font-size: 15px;}


/*-------------------------------------------*/
.mt1{margin-top: 1em;}
.mt2{margin-top: 2em;}
.mt3{margin-top: 3em;}
.mt5{margin-top: 5em;}
.mb1{margin-bottom: 1em;}
.mb2{margin-bottom: 2em;}
.mb3{margin-bottom: 3em;}
.mb5{margin-bottom: 5em;}
.mb04{margin-bottom: 0.4em;}
.pl10{padding-left: 20px;}
/*---------------------------------header------------------*/
#wrapper{overflow: hidden;

	background-image: url(../images/mainimages/line.gif);
	background-repeat: repeat-x;
	font-size: 15px;
	background-color: #FFF;
}

#header {
	width: 85%;
	max-width: 850px;
	min-width: 820px;
	margin-left: auto;
	margin-top: 20px;
	margin-right: auto;
	margin-bottom: 0px;
	height: 80px;
	clear: both;
	position: relative;
	z-index: 10;
}

#title {
	float: left;
	width: 370px;
	margin: 0px;
	padding: 0px;
}

#nav {
	width: 450px;
	max-width: 450px;
	float: right;
	margin-top: 40px;
	position: relative;
	z-index: 10;
	}

#menu{
	list-style-type: none;
	margin: 0px;
	padding-left: 64px;
	position: absolute;
	z-index: 2;
}
#menu li{
	display: block;
	float: left;
	width: 64px;
	margin: 0;
	padding: 0;
	text-align: center;
	line-height: 30px;
}
#menu li a{
  display: block;
  padding: 0;
  background: transparent;
  color: #000;
  text-align: center;
  text-decoration: none;
}
#menu li a:hover{
	color: #3C6;
}
#mini{
 display: none;
}
#mini a:hover img {
	opacity: 0.6;
	filter: alpha(opacity=60);
}
.suma_twi{
	display: none;
	text-align: right;

}


/*---------------------------------footer------------------*/
.endtitle {
	text-align: center;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
}
.sns{
	padding: 0px;
	width: 230px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	height: auto;
	}
.s_b {
	overflow: hidden;
}
.s_b li {
	display: inline-block;
	vertical-align: top;
	margin-right: 10px;
	line-height: 20px;
}
.s_b iframe {
    margin: 0 !important;
}

#footer_back {
	background-image: url(../images/mainimages/back.gif);
	background-repeat: repeat;
	width: 100%;
}
#footer {
	color: #999;
	font-size: 13px;
	line-height: 16px;
	width: 90%;
	max-width: 900px;
	min-width: 500px;
	padding: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
.del{
	float: left;
	width: 320px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 10px;
}

.del a{
	padding: 0;
	color: #999;
	text-decoration: none;
}

.del a:hover{
	color: #3C6;
}
.copyright {
	padding: 0px;
	float: right;
	width: 150px;
	margin-right: 10px;
	margin-bottom: 0px;
	text-align: right;
	margin-top: 70px;
}


/*------------------b-link------------------*/
.kiji_photo-bb {
	height: auto;
	width: 98%;
	max-width:600px;
	min-width:320px;
	padding: 0px;
	margin-top: 30px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: auto;
	text-align: center;
}
.b-sumaho{
	display: none;
}	
	

/*--------------------------------------------------*/
/*-----------------------------------------------------*/
@media screen and (max-width:820px){	

/*---------------------------------header------------------*/
	#header {
	clear: both;
	width: 90%;
	max-width: 820px;
	min-width: 450px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 20px;
	margin-bottom: 0px;
	height: 80px;
}
	#nav {
	width: 80px;
	max-width: 80px;
	float: right;
	margin-top: 40px;
		}

  #menu{
    display: none;
	padding-left: 0;
  }
  #menu li{
	width: 100%;
	color: #666;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #999;
	background-image: url(../images/mainimages/minimenu_ushiro.png);
	background-repeat: no-repeat;
	background-position: center;
	height: 25px;
	text-align: center;
  }
  #menu li a:hover{
	color: #3C6;
  }
  #mini{
	display: block;
	width: 100px;
	text-align: center;
  }
  #mini a{
	display: block;
	text-align: center;
	text-decoration: none;
  }
  #mini a:hover{
	color: #3C6;
}
  #mini a:hover img {
	opacity: 0.6;
	filter: alpha(opacity=60);
}
.suma_twi{
	display: block;
	text-align: right;
}




}
/*--------------------------------------clear----------------*/
.clear{width:100%;overflow:hidden;}
.clear:after{content:"";display:block;clear:both;}

/*--------------------------------------------------*/
/*-----------------------------------------------------*/
@media screen and (max-width:400px){
/*---------------------------------header------------------*/
#header {
	clear: both;
	width: 100%;
	max-width: 320px;
	min-width: 320px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 20px;
	margin-bottom: 0px;
	height: 80px;
}
#title {
	float: left;
	width: 240px;
	margin: 0px;
	padding: 0px;
}
#title h1 img {
	width: 90%;
	max-width: 240px;
	min-width: 240px;
}

	#nav {
	width: 80px;
	max-width: 80px;
	margin-top: 40px;
	}

  #menu{
    display: none;
  }

  #menu li{
	width: 100%;
	color: #666;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #999;
	background-image: url(../images/mainimages/minimenu_ushiro.png);
	background-repeat: no-repeat;
	background-position: center;
	height: 25px;
	text-align: center;
  }
  #menu li a:hover{
	color: #3C6;
  }
  #mini{
	display: block;
	width: 80px;
	text-align: center;
  }
  #mini a{
	display: block;
	text-align: center;
	text-decoration: none;
  }
  #mini a:hover{
	color: #3C6;
  }
  #mini a:hover img {
	opacity: 0.6;
	filter: alpha(opacity=60);
  }
.endtitle img {
	width: 90%;
	max-width: 320px;
	min-width: 320px;
}
#footer_back {
	height: 120px;
	}
#footer {
	height: 120px;
	width: 100%;
	padding: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
.copyright {
	padding: 0px;
	width: 150px;
	margin-right: auto;
	margin-bottom: 0px;
	text-align: right;
	margin-top: 10px;
	clear: both;
	margin-left: auto;
	float: none;
}
	
	
/*------------------b-link------------------*/
.kiji_photo-bb {
	height: auto;
	width: 98%;
	max-width:600px;
	min-width:320px;
	padding: 0px;
	margin-top: 30px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: auto;
	text-align: center;
}
.b-pc{
	display: none;
}	
.b-sumaho{
	display: block;
}	
}
