@charset "utf-8";
/* 
    Created on : 2015/02/28, 16:06:32
    Author     : kyoto-info
*/

@media only screen and (max-width: 768px) {
	
    #tmp_wrapper2{
        padding:0 22px;
    }
	article #pankuzu{
		padding:10px 10px 0 10px;
	}
	
    #menu{
        display: none;
        padding: 0;
        width: 100%;
    }

    #menu li{
        width: 100%;
        border-bottom: 1px #999 solid;
    }

    #menu li a{
        border-right: none;
        border:none;
        padding: 12px;
        color: #FFF;
    }
    #menu li .select{
        padding: 12px;
        border: none;
    }
    #menu li a:hover{
        padding: 12px;
        border:none;
    }
    #menu li .select:hover{
        padding: 12px;
        border: none;
    }
    #menu li .toppage{
    background: #666;
    }

    #menu li .bio01{
        background: #666;
		border:none;
    }

    #menu li .bio02{
        background: #666;
		border:none;
    }

    #menu li .geo{
        background: #666;
		border:none;
    }

    #menu li .sys{
        background: #666;
		border:none;
    }

    #menu li .list{
        background: #666;
		color:#FFF;
		border:none;
    }

    #menu li .search{
        background: #666;
		color:#FFF;
		border:none;
        padding:12px;
    }
    
	#menu li .bio01:hover{
		border:none;
        padding-bottom:12px;
    }

    #menu li .bio02:hover{
		border:none;
        padding-bottom:12px;
    }

    #menu li .geo:hover{
		border:none;
        padding-bottom:12px;
    }

    #menu li .sys:hover{
		border:none;
        padding-bottom:12px;
    }

    #menu li .list:hover{
		border:none;
        padding-bottom:12px;
    }

    #menu li .search:hover{
		border:none;
        padding-bottom:12px;
    }
	
    #menu li a:hover{
        background: #444;
    }

    #menu .bor_r2{
        border-left: none;
    }

    #toggle{
        display: block;
        position: relative;
        width: 100%;
    }

    #toggle a{
        display: block;
        position: relative;
        padding: 8px 0 8px;
        border-bottom: 1px solid #999;
        color: #fff;
        font-size:0.8em;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        background: #444;
    }

    #toggle:before{
        display: block;
        content: "";
        position: absolute;
        top: 50%;
        left: 10px;
        width: 20px;
        height: 20px;
        margin-top: -10px;
        background: #fff;
    }

    #toggle a:before, #toggle a:after{
        display: block;
        content: "";
        position: absolute;
        top: 50%;
        left: 10px;
        width: 20px;
        height: 4px;
        background: #FFF;
    }

    #toggle a:before{
        margin-top: -6px;
    }

    #toggle a:after{
        margin-top: 2px;
    }
    #h_contents h1{
	    margin:30px auto 15px auto;
        text-align: center;
        width: 320px;
    }
	#h_contents .pad_r20{
		margin-top:10px;
	}
    #h_contents .text_a_r{
        margin-bottom: 15px;
        text-align: center;
    }
    /*ue_contents*/
    .box_padding{
        padding: 0em 1em 2em 1em;
    }
    .box_padding_l{
        padding: 1em 1em 1em 1em;
    }
    #ue_contents{
        background: none;
    }
    .gaiyou h1,.list h1{
        font-size: 24px;
    }
    /*contents*/
    #contents table th{
        width: auto;
        padding: 10px 10px;
    }
	#contents{
        padding: 0 30px;
	}
	article #contents.gaiyou{
        padding: 0 30px;
    }
	article #contents.list{
        padding: 0 30px;
    }
   /*table_list*/
   article #contents.list .w900{
	max-width: 768px;
	padding: 0 0px;
	}
   #contents table#table_list,#contents table.table_list{
		display: block;
        max-width: 768px;
        border: none;
	}
	#contents table#table_list thead,#contents table.table_list thead{
		display: none;
	}
	#contents table#table_list tbody,#contents table.table_list tbody{
		display: block;
	}
	#contents table#table_list tbody tr,#contents table.table_list tbody tr{
		display: block;
		margin-bottom: 1.5em;
		border:none;
	}
    #contents table#table_list tbody th,#contents table.table_list tbody th{
        display: list-item;
        margin-bottom: 5px;
		border: none;
        padding: 8px 10px;
		list-style-type: none;
        text-align: left;
    }
	#contents table#table_list tbody td,#contents table.table_list tbody td{
		display: list-item;
        margin-bottom: 5px;
			margin-left: 20px;
		padding: 0;
		border: none;
	}
	/*shita_contents*/
	#shita_contents{
    max-width: 768px;
    padding: 0 30px;
	}
						
}


@media only screen and (max-width: 568px){
	
	#h_contents h1 img{
		max-width:320px;
	}
	#kiso_date table{
		display: block;
	}
	#kiso_date table th{
		display: block;
		text-align:left;
		border-bottom:none;
		padding: 10px 0 10px 10px;
		width:100%;
	}
	#kiso_date table td{
		display:block;
		padding: 10px 0 10px 10px;
		width:100%;
		border-bottom: 1px #999 solid;
		margin-bottom:15px;
	}

	#contents{
        padding: 0 15px;
   }
   #contents .text_a_r{
    text-align: left;
	}
	/*shita_contents*/
	#shita_contents{
    max-width: 568px;
    padding: 0 15px;
	}
    .gaiyou h1,.list h1{
        font-size: 20px;
        font-weight:bold;
    }
	.gaiyou h2,.list h2{
    font-size: 1.1em;
	}
	article #contents.gaiyou{
        padding: 0 15px;
    }
	article #contents.list{
        padding: 0 15px;
    }
}



/*kyotofu*/

@media only screen and (max-width: 768px){
	#tmp_wrapper3{
		max-width:768px;
		width:auto;
}