/* body */
body {
	color:#1a1a1a;
	margin:0px;
	padding:0px;
	background:#ffffff url(bg2.gif) repeat-y;
	background-position:center;
}

#contents {
	margin: 0 auto !important;
	max-width: 770px;
	height: auto; 
}

#top {
	width: 100%;
	max-width: 770px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

#top h1{ font-size: 16px; letter-spacing: 1px; font-weight: lighter; color: #ff0000; line-height: 20px; margin: 5px 0; width: 100%; max-width: 90%;}

.main {
	width: 550px;
}
	
/* テーブル・段落 */
td { font-size:13px; line-height:140%; }
p  { margin:3px 5px; }

/* リンク */
a       { color:#0000FF; text-decoration:underline; }
a:hover { color:#aa0000; text-decoration:none; background-color:#ffcc99; }

/* コンテンツ */
h1 { color:white;  font-size:20pt; margin:0px 0px;}
h2 { color:blue;  font-size:11pt; margin:0px 0px;}
h3 { color:black; font-size:11pt; margin:0px 0px;}


#viewer {
    margin: 0 auto;
	width:100%;
	height: 440px;
    text-align: left;
    overflow: hidden;
    position: relative;
}
 
#viewer img {
    top: 0;
    left: 0;
	max-width: 100%;
	height: auto;
	border: 0;
    position: absolute;
}

.menu_btn {
	width: 100%;
	max-width: 730px;
	max-height: 100px;
	background-color: #069;
	
}

.menu_btn ul{
	margin: 0;
	background-color: #F00;
	width: 100%;
	max-width: 730px;
	height: auto;
	min-height: 2em;
}

.menu_btn li{
	width: 100%;
	max-width: 90px;
	background-color: #999;
	margin-right: 0.25em;
	padding: 0 1em 0 0.5em;
	float: left;
	font-size: 1em;
	color: #F00;
	line-height: 2em;
	list-style: none;
	text-align: center;
}

.menu_btn li:first-child{
	margin-left: -0.5em;
}

.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 400px;
}

.slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 3.0s ease-in-out;
}
.slider img.active {
  opacity: 1;
}
	
@media (max-width: 767px) {

#contents {
	margin: 0 auto !important;
	min-width: 340px;
	height: auto; 
}

#top {
	width: auto !important;
	margin-left: auto;
	margin-right: auto;
    width: 100%;
	height: auto;
}


#top h1{ font-size: 16px; letter-spacing: 1px; font-weight: lighter; color: #ff0000; line-height: 20px; margin: 5px 10px;}

.main {
	width: 100%;
}
	
.side {
	display: none;
}

}

