/*===============================================
●画面の横幅が640pxまで
===============================================*/
@media screen and (max-width:640px){
img{
max-width: 100%;
height: auto;
display:block;
}
#common_wrapper {
	margin-top: 0;
	padding: 0;
	margin-bottom: 0;
	position: relative;
	width:100%;
	clear: both;
}
#slideshow {
    position:relative;
    height:232px;
}

#slideshow DIV {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
    opacity:0.0;
    background-color: #FFF;
}

#slideshow DIV.active {
    z-index:10;
    opacity:1.0;
}

#slideshow DIV.last-active {
    z-index:9;
}

#slideshow DIV IMG {
    height: 222px;
    display: block;
    border: 0;
    margin-top: 10px;
}
#corporate_header1 {
    font-size: 12px;
    color: #ffffff;
    padding: 0;
     background-color:#000000;
}
#corporate_header1 #company {
	font-size: 10px;
	text-align: right;
	padding-right: 1em;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

#corporate_header2 {
    font-size: 12px;
    color: #ffffff;
    padding: 0;
    background-color:#b41d23;
}

#corporate_header2 h1 {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
#corporate_header_banner li{
visibility: hidden;
    height: 0px;

}
.gallery{
    font-size:12px;
    width:180px;
    height:135px;
    float:left;
    margin:6px;
    text-align:center;
}
}