@media print {
#back, #board, #view {
	height:auto !important;
}
#footer {
	position:static !important;
}
}
body {
	margin: 0px;
	padding: 0px;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Lucida Grande", Verdana, Arial, "ＭＳ Ｐゴシック";
	font-size: 14px;
	line-height: 2em;
	color: #333;
	background-color: #172c57;
}
html, body {
	height: 100%;
}

a {
	color: #0000FF;
}
/*
a:visited {
	color: #3333CC;
}
*/
a:hover {
	color: #0066FF;
}
p {
	text-align: justify;
	text-justify: inter-ideograph;
}
img {
	vertical-align: bottom;
}
.nicescroll-rails {
	z-index: 30 !important;
}

#container {
	min-height: 100%;
	position: relative;
}
#header {
	background-image: url(/40th/images/bg-header.gif);
	position: relative;
	height: 87px;
	min-width: 960px;
	z-index: 20;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
}

#logo {
	width: 258px;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	border-radius: 50%;
	position: absolute;
	height: 258px;
	top: -71px;
	left: 50%;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 100px;
}
#logo a {
	display: block;
	border-radius: 50%;
	overflow: hidden;
}
#logo:hover {
	box-shadow: none;
}


#menu {
	padding: 0px;
	list-style-type: none;
	width: 960px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	height: 87px;
	/* [disabled]overflow: hidden; */
}
#menu > li{
	float: left;
	width: 172px;
	text-align: center;
	position: relative;
}
#menu > li > a{
	display: block;
	height: 87px;
	text-decoration: none;
	color: #1D2B59;
	font-size: 16px;
	line-height: 1.2em;
	letter-spacing: 0.1em;
	box-sizing: border-box;
	padding-top: 34px;
	margin-right: 1px;
	margin-left: 1px;
}
#menu >li:hover > a{
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #F1B629;
	/* [disabled]color: #F1B629; */
}
#menu #m-message {
}
#menu #m-history {
}
#menu #m-lecture {
	margin-left: 272px;
}
#menu #m-event {
}
#menu #m-event ul {
	position: absolute;
	z-index: 5;
	display: none;
	background-color: rgba(255,255,255,0.95);
	list-style-type: none;
	width: 172px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
	margin: 0px;
}
#menu #m-event ul li {
	text-align: left;
}
#menu #m-event ul li a {
	font-size: 12px;
	text-decoration: none;
	color: #333;
	display: block;
	letter-spacing: 0.2em;
	line-height: 1.5em;
	padding-top: 10px;
	padding-right: 5px;
	padding-bottom: 10px;
	padding-left: 20px;
}
#menu #m-event ul li a:hover {
	background-image: url(/40th/images/bre-menu.png);
	background-repeat: no-repeat;
	background-position: 7px center;
}
#menu .txt-S {
	font-size: 11px;
	display: block;
	letter-spacing: 0.1em;
}





#p-message #m-message > a,
#p-history #m-history > a,
#p-lecture #m-lecture > a,
#p-event #m-event > a {
	background-image: url(/40th/images/menu-star.png);
	background-repeat: no-repeat;
	background-position: center 12px;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #F1B629;
	color: #F1B629;
}
#back {
	overflow: hidden;
	background-image: url(/40th/images/bg-photo.jpg);
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: cover;
	min-width: 960px;
	background-color: #48B4E5;
}

#board {
	background-color: rgba(255,255,255,0.9);
	width: 960px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 36px;
	margin-bottom: 250px;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
	overflow: hidden;
	position: relative;
}

#top {
	width: 960px;
	overflow: hidden;
	margin-top: 6%;
	margin-right: auto;
	margin-bottom: 20%;
	margin-left: auto;
}
#p-top #board {
	background-color: transparent;
	box-shadow: none;
}



#view {
	overflow: auto;
	margin-top: 15px;
	margin-right: 10px;
	margin-bottom: 15px;
	margin-left: 10px;
	outline: none;
}
#view:before {
	position: absolute;
	z-index: 10;
	width: 100%;
	display: block;
	height: 60px;
	content: "";
	top: 0px;
	left: 0px;
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(25%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,0) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,0) 100%); /* W3C */

	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
}
#view:after {
	position: absolute;
	z-index: 0;
	width: 100%;
	display: block;
	height: 60px;
	content: "";
	bottom: 0px;
	left: 0px;
	background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 75%, rgba(255,255,255,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(75%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 75%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 75%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 75%,rgba(255,255,255,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 75%,rgba(255,255,255,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
#contents {
	width: 860px;
	margin-right: auto;
	margin-left: auto;
	padding-top: 75px;
	padding-bottom: 45px;
}
#footer {
	background-image: url(/40th/images/bg-footer.gif);
	background-repeat: repeat-x;
	background-position: left top;
	height: 100px;
	position: absolute;
	bottom: 0px;
	width: 100%;
	color: #FFF;
	background-color: #172C57;
	text-align: center;
	min-width: 960px;
	z-index: 10;
	overflow: hidden;
}
#footer p {
	text-align: center;
	margin-top: 10px;
	margin-bottom: 0px;
	font-size: 12px;
	line-height: 1.2em;
}
#back-p {
	overflow: hidden;
	background-image: url(/40th/images/bg-photo.jpg);
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% auto;
	min-width: 960px;
	background-color: #49B4E6;
}
#back-p, #back-p #board, #back-p #view {
	height:auto !important;
}
#back-p + #footer {
	position: static;
}
