@charset "utf-8";
/************************************************************
smaller than 980
*************************************************************/
@media screen and (max-width: 980px) {
#pagewrap {
}
H1, #content-box H1, #sub_nav H1{
	background-repeat: repeat-x;
	background-position: top;
}
#content table {
	width: auto;
}
#content-box #content H2.info_titile {
	width: 90%;
}
#information, #seminar {
	width: 90%;
}
DIV.linkbox {
	width: 90%;
}
#privacy {
	width: 100%;
}
}

/************************************************************
smaller than 650
*************************************************************/
@media screen and (max-width: 650px) {
body {
	font-size: 80%;
}
#bodymap {
	font-size: 14px;
}
#header {
/* height:auto;*/ /*css調整*/
 padding-left: 20px; /*css調整*/
 padding-right: 20px; /*css調整*/
 width:auto; /*css調整*/
 min-width:480px; /*css調整*/
}

#header2 { /*css調整*/
 padding-left: 20px;
 padding-right: 20px;
 height:auto;
 min-width:480px;
}

H2#wellcome { /*css調整*/
 padding-left: 20px;
 padding-right: 20px;
 width:auto;
 min-width:480px;
 line-height: 120%;
}

#nav2 { /*css調整*/
 display:block;
 padding-right: 20px;
 padding-left: 20px;
 width: auto;
 min-width:480px;
}
#nav {
	display: none;
}
#main-nav {
	position: static;
}
ul#main-nav img {
	width:auto;
	height:65px;
}
#nav_home {
	display:block;
}
#logo {
	font-size: 80%;
}
#content-box {
	margin-top: 20px;
	margin-bottom: 20px;
}
#content-box #content H2.info_titile {
	width: 85%;
}
#information, #seminar {
	height: auto;
	overflow: visible;
	width: 85%;
}
DIV.linkbox {
	width: 85%;
}
#privacy {
	width: auto;
}
#footer {
 position: static;
 padding-left: 20px; /*css調整*/
 padding-right: 20px; /*css調整*/
 width:auto; /*css調整*/
 min-width:480px; /*css調整*/
}
} 

/************************************************************
smaller than 480
*************************************************************/
@media screen and (max-width: 480px) {

/* disable webkit text size adjust (for iPhone) */
html {
	-webkit-text-size-adjust: none;
}
body {
	font-size: 70%;
}
#header {
	padding-left: 10px;
	padding-right: 10px;
	width:auto;
	min-width:320px;
}
#header2 { /*css調整*/
 padding-left: 10px;
 padding-right: 10px;
 height:auto;
 min-width:320px;
}

#nav2 { /*css調整*/
 padding-right: 10px;
 padding-left: 10px;
 min-width:320px;
}

#nav_home li ul#nav_home_sub { /*css調整*/
 margin-left: -10px;
}
H2#wellcome {
	padding-left: 10px;
	padding-right: 10px;
	width:auto;
	min-width:320px;
}
#navtop {
	padding-left: 0px;
	padding-right: 0px;
}
#main-nav {
	padding-left: 10px;
	padding-right: 0px;
	font-size: 8px;
	padding-bottom: 0px;
}
#main-nav LI {
	height: 70px;
}
#sub_nav {
	padding-left:  0px;
	padding-right: 0px;
	width:auto;
	min-width:320px;
}
#sub_nav  ul{
	padding-left:  10px;
	padding-right: 10px;
}
#sub_nav  ul li{
	margin-bottom: 3px;
	padding-right: 0px;
	padding-left: 0px;
}
#sub_nav a:link {
	color: #333;
	text-decoration: none;
	display: block;
	padding-right: 10px;
	padding-left: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: #F2F2F2;
	border: 1px solid #808080;
	border-radius: 12px;        /* CSS3草案 */
	-webkit-border-radius: 12px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 12px;   /* Firefox用 */
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#CCCCCC));　/* Safari,Google Chrome用 */
	background: -moz-linear-gradient(top, #FFFFFF, #CCCCCC);　/* Firefox用 */
	box-shadow: 1px 1px 2px #CCC; /*CSS3*/
	-moz-box-shadow: 1px 1px 2px #CCC; /* Firefox用*/
	-webkit-box-shadow: 1px 1px 2px #CCC; /* Google Chrome, Safari用*/
}
#sub_nav a:visited {
	color: #333;
	text-decoration: none;
	background-color: #F2F2F2;
	border: 1px solid #808080;
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#CCCCCC));　/* Safari,Google Chrome用 */
	background: -moz-linear-gradient(top, #FFFFFF, #CCCCCC);　/* Firefox用 */
}  
#sub_nav a:hover {
	color: #333;
	text-decoration: none;
	background-color: #FFFFFF;
	border: 1px solid #808080;
	background: -webkit-gradient(linear, left top, left bottom, from(#F2F2F2), to(#B3B3B3));　/* Safari,Google Chrome用 */
	background: -moz-linear-gradient(top, #F2F2F2, #B3B3B3);　/* Firefox用 */
}
#sub_nav a:active {
	color: #333;
	text-decoration: none;
	background-color: #F2F2F2;
	border: 1px solid #808080;
	background: -webkit-gradient(linear, left top, left bottom, from(#F2F2F2), to(#B3B3B3));　/* Safari,Google Chrome用 */
	background: -moz-linear-gradient(top, #F2F2F2, #B3B3B3);　/* Firefox用 */
}
#sub_nav a span {
	background-image: url(../images/common_images/mark1.png);
	background-repeat: no-repeat;
	background-position: left center;
	display: block;
	padding-left: 12px;
}
#content-box {
	width: auto;
	margin-top: 10px;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
}
#content {
	margin-top: 5px;
	margin-right: 10px;
	margin-left: 10px;
}
#content-box H1, #sub_nav H1{
	padding-top: 7px;
	padding-bottom: 6px;
}
#content-box #content H2.info_titile {
	padding-top: 6px;
	padding-bottom: 5px;
	width: 85%;
	margin: 0px;
}
#information, #seminar {
	height: auto;
	overflow: visible;
	width: 85%;
	margin: 0px;
}
DIV.linkbox {
	width: 85%;
	margin: 0px;
}

/* main nav */
ul#main-nav img {
	width: 37px;
	height: 39px;
}
#footer_nav {
	width: 85%;
	margin-right: 10px;
	margin-left: 10px;
	text-align: center;
	clear: both;
	float: none;
}
#footer {
	padding-left: 10px;
	padding-right: 10px;
	width:auto;
	min-width:320px;
}
#footer_nav li {
	display: block;
	float: none;
	margin-right: 0px;
	margin-bottom: 10px;
}
#footer_nav li a {
	font-size:100%;
	padding-top: 5px;
	padding-right: 20px;
	padding-bottom: 5px;
	padding-left: 20px;
}
#login {
	width: auto;
}
}
