/*===============================================
●smart.css  画面の横幅が640pxまで
===============================================*/
@media screen and (max-width:640px){
	body{
        color:#000000;
        background:#ffffff;
    	font-family: Verdana,Arial,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
    	font-size: 75%;
    	font-weight: normal;
    	letter-spacing: 0;
    	margin: 1em 0 0.8em 0;
    	padding-bottom: 50px;
    	padding-top: 30px;
	}

	a{color:#000000;text-decoration:none;}
	a:link{color:#1111cc;text-decoration:none;}
	a:visited{color:#800080;text-decoration:underline;}
	a:active{color:#ff0000;text-decoration:underline;}
	a:hover{color:#ff0000;text-decoration:underline;}

    img{
        max-width: 100%;
        height: auto;
        width /***/:auto;　
    }

    #header {
    	background-color: #006699;
    	color: #000000;
    	height: 22px;
    	position: fixed;
    	top: 0;
    	text-align: center;
    	width: 100%;
    }

    #header h1 {
    	font-size: 14px;
    	overflow: hidden;                 /* 文字が溢れたら「…」表示 */
    	-o-text-overflow: ellipsis;       /* 文字が溢れたら「…」表示 */
    	-webkit-text-overflow: ellipsis;  /* 文字が溢れたら「…」表示 */
    	text-overflow: ellipsis;          /* 文字が溢れたら「…」表示 */
    	white-space: nowrap;              /* 文字が溢れたら「…」表示 */
    }

    #footer {
    	background-color: #ffffff;
    	bottom: 0;
    	color: #000000;
    	height: 50px;
    	position: fixed;
    	text-align: center;
    	width: 100%;
    }

    #scrollframe {
        width:100%;
    	margin: 0 auto;
    	text-align: center;
    }

    #container{
        width:100%;
    }

    #wrapper{
        display:none;
    }

    #upd-title {
    	background-color:#006699;
    	color:#ffffff;
    	height:20px;
        margin: 20px auto 0;
        width:98%;
    	text-align:center;
        font-weight:700; 
    }

    #page-title {
    	background-color:#006699;
    	color:#ffffff;
    	height:20px;
        margin: 20px auto 0;
        width:98%;
    	text-align:center;
        font-weight:700; 
    }

    #list-table {
    	background-color: #ffffff;
    	color: #000000;
        margin: 5px 0 0 0;
        width:100%;
    }

    #list-table tr {
    	background-color: #ffffff;
    	color: #000000;
    	height:25px;
    	text-align:left;
    }

～以下、画面の横幅が640pxまでの場合のスタイル記入～
/* ▽プルダウンメニューを独自に装飾する */
    /* nav-wrap */
    #nav-wrap {
        position: relative;
    }

    /* menu title */
    #menu-title {
        display: none; /* hide menu title initially */
    }
    /* menu icon */
    #menu-icon {
        color: #ffffff;
        width: 150px;
        height: 20px;
        background: #006699 url(../img/menuicon.gif) no-repeat 5px center;
        padding: 2px 0px 0px 2px;
        cursor: pointer;
        border: none;
    	font-size: 115%;
        font-weight: bold;
        display: block; /* show menu icon */
    }
    #menu-icon:hover {
        font-weight: bold;
        background-color: #006699;
    }
    #menu-icon.active {
        background-color: #006699;
    }
     
    /* main nav */
    #nav {
        clear: both;
        position: absolute;
        top: 18px;
        width: 90px;
        z-index: 10000;
        margin: 3px 5px;
        padding: 5px;
        background: #ffffff;
        border: solid 1px #000000;
        display: none; /* visibility will be toggled with jquery */
    }
    #nav li {
        clear: both;
        float: none;
        list-style-type: none;
        margin: 10px 0 10px 0px;
    }
    #nav a, 
    #nav ul a {
        font: inherit;
        background: none;
        display: inline;
        padding: 0;
        color: #000000;
        border: none;
    }
    #nav a:hover, 
    #nav ul a:hover {
        background: none;
        color: #DF3447;
    }
     
    /* dropdown */
    #nav ul {
        width: auto;
        position: static;
        display: block;
        border: none;
        background: inherit;
    }
    #nav ul li {
        margin: 3px 0 3px 15px;
    }

    /* upd iframe */
    .ifrm-upd {
        width: 98%;
        height: 200px;
        border: 1px #cccccc solid;
        overflow:auto;
        -webkit-overflow-scrolling:touch;
        display: inline-block;
        margin: 0;
    }
    .ifrm {
        width:100%;
        height:100%;
        padding: 0;
        margin: 0;
        border:none;
        display:block;
    }

}
