@charset "utf-8";
/* CSS Document */

/*======================================電腦版=======================================*/
@media only screen and (min-width:961px){
.top_bar{width:100%;height:50px;float:left;background-color:#FFFFFF;border-bottom:1px solid #cccccc;}
.main_menu_block{width:1024px;height:50px;margin:0 auto;position:relative;z-index:999;}
.logo{width:120px;height:30px;float:left;margin-top:0.7em;}
.main_menu{width:650px;height:50px;float:right;margin-left:10%;}
.slimmenu li{width:15%;height:50px;}
#nav-btn,.sub-menu{
display: none;
font-size:0.5em;
}
.menu-plus{
font-size:1.2em;
margin:0;
padding:0px;
}

.nav>.menu {
display: block !important;
}
ul .sub-menu
{border:1px solid #ccc;
margin-left:-1.5em;}

/*第一層選單*/
.nav>ul>li{ 
float: left;
margin-left:15px;
padding-left: 15px;
line-height: 3.2em;
border-left:1px solid #e2e2e2;
}
ul .sub-menu
{border:1px solid #ccc;}
.menu_block_tablet, .main_photo_tablet, .contents_block_tablet, .menu_block_phone, .main_photo_phone, .contents_block_phone, .intro_box_tablet
{display:none;}
.menu_block_pc
{width:100%;height:32px;;float:left;border-bottom:1px solid #ccc;background-color:#fff;}
.menu_pc
{width:1024px;height:32px;margin:0 auto;}
.menu_pc a{float:right;width:auto;}
.subnavi{
width:80px;
height:30px;
float:left;
background:#fff;
border:none;
border-top:2px solid #000;
text-align:center;
}

.main_photo_pc
{width:100%;
height:600px;
float:left;
background-image:url(../img/r22/main_photo_PC.jpg);
background-repeat:no-repeat;
background-position:center;}

.contents_block_pc
{width:1024px;margin:0 auto;height:auto;}
.intro_text
{width:100%;height:auto;float:left;}

.intro_text ul li
{list-style-type:disc;
line-height:18pt;
margin:0.5em 0 0 1em;
}
.intro_photo
{width:100%;
text-align:center;}
.intro_video
{width:80%;
height:auto;
margin:0 auto;
padding:2em;}

.intro_box_pc
{width:100%;
height:auto;
float:left;
background-color:#FFF;}

footer
{background-color: #333;
    position: relative;
	bottom:0;
    float: left;
    width: 100%;}

}

/*========================================平板========================================*/
@media only screen and (min-width:481px) and (max-width:1023px){
#nav-btn{margin-left:10px;}
.nav>ul,.sub-menu{
display: none;
}

/*內容區塊*/
.menu_block_pc, .contents_block_pc, .menu_block_phone, .main_photo_phone, .intro_box_pc, .contents_block_phone
{display:none;}

.menu_block_tablet
{width:100%;
height:40px;
float:right;}

.menu_tablet
{float:right;
width:40%;}

.menu_tablet a
{width:50%;
height:30px;
float:left;}

.main_photo_tablet
{width:100%;
height:auto;
float:left;
}
.menu_phone
{width:100%;
height:40px;
float:left;
border-bottom:1px solid #ccc;}

.subnavi
{width:100%;
height:40px;
float:left;
text-align:center;}

.contents_block_tablet
{width:100%;height:auto;float:left;}

.contents_block_tablet ul li
{margin-bottom:1em;}

.intro_photo
{width:95%;}

.intro_text
{width:90%;
float:left;
margin-left:1em;}
.intro_text ul
{margin-left:1em;}
.intro_text ul li
{list-style-type:disc;}
.intro_photo
{text-align:center;}

footer
{background-color: #333;
    position: relative;
    float: left;
    width: 100%;}

}

/*=========================================手機========================================*/
@media only screen and (max-width:480px){
.nav>ul,.sub-menu{
display: none;
}

/*內容區塊*/
.menu_block_pc, .menu_block_tablet, .main_photo_pc, .contents_block_pc, .menu_block_tablet, .main_photo_tablet, .contents_block_tablet, .intro_box_pc, .intro_box_tablet
{display:none;}
.main_photo_phone
{width:100%;
height:auto;
float:left;
}

.menu_phone
{width:100%;
height:40px;
float:left;
border-bottom:1px solid #ccc;
line-height:30pt;}

.subnavi
{width:49.8%;
height:40px;
float:left;
text-align:center;}

.contents_block_phone
{width:100%;
height:auto;
float:left;}

.contents_block_phone ul li
{margin-bottom:1em;}

.intro_text
{width:90%;
height:auto;
float:left;
padding:1em;}

.intro_photo
{width:95%;}


.intro_text ul
{margin-left:1em;}
.intro_text ul li
{list-style-type:disc;}

footer
{background-color: #333;
    position: relative;
    float: left;
    width: 100%;}

}