@media screen and (max-width: 767px) {

body {
	font-size: 14px;
	color: #666;
}

#main .blog .my_title a{
    margin-left: 0%;
    font-size: 16px;
    color: #843e00;
}
#main .blog .my_index_content{
    margin-left: 0%;
    margin-top: 1%;
}
#main .custom .content .video-container {
    display: block;
}
/* 版型最外層包裝------------------------------------*/
#wrapper {
	width: 100%;
}
/* 版型頁眉-----------------------------------------*/
#header {
	width: 100%;
	position: relative;
	height: 60px;
	background-size: auto 60px;
    background-color: #FFFFFF;
}
/* PC_logo */
#header .logo {
	background: url(../images/mobile/m_logo.jpg) no-repeat;
 	background-size: cover;
	width: 300px;
	height: 50px;
	display: block;
	float: left;
}
/* 桌機選單 */
#header #menu {
	display: none;
}
#header .home {
	display: none;
}
/* 手機選單icon */
#header #m_menu_icon {
	display: inherit;
}
/*線上諮詢*/
#form .left{
width: 10%;  
}
#form .down{
padding-right: 50%;  
}
input {
width: 200px;
}
textarea {
width: 200px;
}
#quiz {
    width: 15%;
    margin-right: 100%;
}
/* 首頁 */
  #main .blog .my_content{
  padding-top: 13px;
  }
  
  #main .portfolio2{
 
    width: 100%;
	height: auto;
	left: 0px;
	float: none;
	background-image: url(../images/mobile/custom02.png);
	background-size: auto 30px;
	background-repeat: no-repeat;
	overflow: hidden;
	padding-bottom: 10px;
  }  
 #main .portfolio2 .content {
/*	padding-top: 50px;  */
	padding-left: 5px;
}
  
#main .custom{
  width: 90%;
  
  }  
 /* 版型頁尾 ----------------------------------------*/
#footer {
	width: 100%;
	height: 325px;
	position: relative;
}
#footer .copyright {
  width: auto;
  position: relative;
  bottom: 0px;
  text-align: right;
  padding-left: 10px;
  padding-right: 10px;
}
#footer .copyright .footer_left {
    width: 100%;
    float:none;
    text-align:left;
    padding-left:7px;
}
#footer .copyright .footer_right {
    width: 100%;
    float:none;
    margin-top:10px;
    text-align: left;
       padding-left: 5px;
}
  #footer .copyright .footer_right2{
    float: left; 
    padding-right: 0px;
}
#footer .copyright .footer_right img {
 /*  float:right;
    padding-right: 10px;*/
    }
/* 首頁主視覺，產品，廣告圖片區 ------------------------*/
#banner {
  padding-top: 60px;
}
#m_banner {
	width: 100%;
  margin-top: 60px;
	display: inherit;
}
#abgne_fade_pic_m {
	position: relative;
}
#abgne_fade_pic_m a.ad {
	position: absolute;  /* 讓圖片疊在一起 */
    width: 100%;
}
/* 選單樣式 */
#abgne_fade_pic_m .control {
    position: absolute;
    right: 10px;
    bottom: 10px;
}
#abgne_fade_pic_m .control a {
	display: inline-block;
	padding: 3px;
	margin: 0 3px;
	width: 10px;
	text-decoration: none;
	background-image: url(../images/pc/circle_1.png);
	background-repeat: no-repeat;
	height: 10px;
	background-position: center center;
	font-size: 0px;
}
#abgne_fade_pic_m .control a.on {
	background-image: url(../images/pc/circle-2.png);
	background-repeat: no-repeat;
	background-position: center center;
	height: 10px;
	width: 10px;
	font-size: 0px;
}
/* 首頁內容 ----------------------------------------*/
#main {
	width: 100%;
	height: auto;
	background-color: #FFFFFF;
	background-size: cover;
}
#main .news {
	width: 100%;
	float: none;
	background-image: url(../images/mobile/news.png);
	background-size: auto 30px;
	background-repeat: no-repeat;
}
#main .portfolio {
	width: 100%;
	height: auto;
	left: 0px;
	float: none;
	background-image: url(../images/mobile/portfolio.png);
	background-size: auto 30px;
	background-repeat: no-repeat;
	overflow: hidden;
	padding-bottom: 10px;
}
#main .portfolio .content {
/*	padding-top: 50px;  */
	padding-left: 5px;
}
#main .portfolio .box {
	width: 45%;
}
#main .portfolio .photo {
	height: auto;
	background-color: #FFFFFF;
}
#main .portfolio img:hover {
	max-width: 101%;
	margin-left: auto;
	margin-top: auto;
	opacity: 1;
}

  
<!--2 -->  
#main .portfolio2 .content {
	padding-left: 5px;
}
#main .portfolio2 .box {
	width: 45%;
}
#main .portfolio2 .photo {
	height: auto;
	background-color: #FFFFFF;
}
#main .portfolio2 img:hover {
	max-width: 101%;
	margin-left: auto;
	margin-top: auto;
	opacity: 1;
}
<!--end -->  
  
  
  
#main .custom {
	width: 100%;
	height: auto;
	float: none;
	background-image: url(../images/mobile/custom.png);
	background-size: auto 25px;
	background-repeat: no-repeat;
	overflow: hidden;
}
#main .custom .content {
	background-position: left 50px;
	width: 100%;
	background-size: 100% auto;
}

#main .blog{
    width: 90%;
    margin-top: 9px;
  	  }
#main .blog .my_photo{
  margin-bottom: 1%;
  width:100%;
  
  }

#main .blog .my_wrapper {
    background-image: url(../images/mobile/custom.png);
    width: 100%;
    height: auto;
    left: 0px;
    float: none;
    background-size: auto 30px;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-bottom: 10px;
}

/* 內頁 ----------------------------------------*/
#page {
	overflow: hidden;
	background-color: #FFFFFF;
	width: 100%;
}
/* 所有選單最外層包裝 ---------*/
#links {
	width: 100%;
	text-align: center;
	padding-top: 20px;
	float: left;
}
/* 選單塊最外層包裝 */
#links .menu {
	width: 100%;
	background-color: #F7F7F7;
	display: inline-block;
	margin-bottom: 10px;
}

/* 選單外層 */
#links .class {
	border-bottom: 1px dotted #999999;
	width: auto;
	margin-left: 15px;
}
/* 選單-無分類 */
#links .list a {
	width: auto;
	height: auto;
	display: block;
	border-bottom: 1px dotted #FFFFFF;
	color: #555;
	font-size: 16px;
	text-align: left;
	text-decoration: none;
	padding-top: 8px;
	padding-left: 5px;
	margin-left: 10px;
	font-family: "微軟正黑體","蘋果儷黑體","新細明體" ,Arial, Verdana, Helvetica, sans-serif;
}
#links .list a:hover {
	color: #809A3F;
}
#links .blog_title{
    color: #888;
}
/* 選單自定義區塊 */
#links .custom {
	width: 100%;
	height: 120px;
	background-image: url(../images/pc/page_custom.jpg);
	background-repeat: no-repeat;
}

/* 內容最外層包裝 ---------*/
#content {
	overflow: hidden;
	background-color: #FFFFFF;
}
#content .content {
	word-wrap: break-word;
	word-break: break-all;
	background-color: #FFFFFF;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 20px;
	overflow: hidden;
	line-height: 22px;
	padding-top: 10px;
    font-size: 16px;
}
#content .title_share {
	float: right;
	width: 140px;
	clear: both;
	padding-top: 0px;
	padding-right: 10px;
}
/* 內容標頭 */
#content #title_menu {
	padding-bottom: 0px;
	padding-top: 0px;
}

#content .title_name {
	padding-left: 20px;
	background-position: 5px 15px;
	float: none;
}

/* 最新消息共幾頁數字 */
#content .total {
	float: none;
	padding-top: 20px;
}
/* 最新消息-內頁日期 */
#content .news_date {
	float: none;
	color: #999999;
	font-size: 12px;
}
/* 產品 */
ul.pd li {
	width: 46%;
	display: inline-block; /*擁有inline不會換行的特性，還可以像block一樣設定width,height,background-image等值*/
	vertical-align: top;
    *display: inline; /*兼容IE6,IE7用*/
    *zoom: 1;
	padding-right: 3px;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 3px;
}

/* 產品內頁 */
.pd_left {
	width: auto;
	float: none;
}
.pd_right {
	width: auto;
	float: none;
}
.pd_right .padding {
	padding-left: 0px;
	padding-right: 0px;
}
.pd_share {
	float: none;
	width: 140px;
}
.pd_title {
	color: #4B4B4B;
	font-size: 20px;
	font-weight: bold;
	font-family: "微軟正黑體","蘋果儷黑體","新細明體" ,Arial, Verdana, Helvetica, sans-serif;
	padding-top: 20px;
	padding-bottom: 10px;
	border-bottom: 1px dotted #707070;
}
.pd_content {
	clear: both;
	margin-top: 10px;
}
ul.pd_list {
	margin-top: 5px;
	margin-right: 0px;
	margin-left: 0px;
	margin-bottom: 5px;
	padding: 0px;
}
ul.pd_list li {
	width: 17%;
	display: inline-block; /*擁有inline不會換行的特性，還可以像block一樣設定width,height,background-image等值*/
	vertical-align: top;
    *display: inline; /*兼容IE6,IE7用*/
    *zoom: 1;
	padding: 1px;
	border: 1px solid #CACACA;
}
ul.pd_album_list li {
	width: 17%;
	display: inline-block; /*擁有inline不會換行的特性，還可以像block一樣設定width,height,background-image等值*/
	vertical-align: top;
    *display: inline; /*兼容IE6,IE7用*/
    *zoom: 1;
	padding: 1px;
	border: 1px solid #CACACA;
}
/* 登入註冊 ----------------------------------------*/
#log_in {
	width: 100%;
	left: 0px;
	position: absolute;
	margin-left: 0px;
	top: 50px;
	background-image: url(../images/pc/b2.png);
	-webkit-box-shadow: 0px 0px 10px #000000;
	box-shadow: 0px 0px 10px #000000;
}
.member_box {
	padding: 5px;
	background-color: #FFFFFF;
}
.member_content {
	padding: 5px;
	border: 1px solid #D2D2D2;
	border-radius: 10px;
	font-size: 16px;
}
/* 購物車 ----------------------------------------*/
.shop_box {
	padding: 3px;
	background-color: #FFFFFF;
}
.shop_member {
	width: 100%;
}
#m_menu_shop{
	display: inherit;
	text-align: right;
	background-color: #009AF3;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-right: 5px;
}
#m_menu_shop a {
	color: #FFFFFF;
	text-decoration: none;
}
.shop_bar{
	border-radius: 0px;
	border: 0px solid #8E8E8E;
	padding-top: 3px;
	padding-right: 3px;
	padding-left: 30px;
	padding-bottom: 3px;
	background-color: #009AF3;
	display: inline-block;
	margin-left: 0px;
	background-image: url(../images/pc/cart_icon.png);
	background-repeat: no-repeat;
	background-size: 25px auto;
	background-position: 2px 3px;
	text-decoration: none;
}
/* 表單 */
#form1 {
	width: 100%;
}
#form_member_edit{
	width: 100%;
}
#address{
	width: 95%;
}
#o_mail{
	width: 95%;
	margin-top: 5px;
}
.all_checkbox li{
	display: block;
}
.shop_member_but{
	width: auto;
	float: none;
	text-align: center;
}
.all_radio li{
	display: block;
    font-size: 16px;
}
.but2 {
	cursor: pointer;
	background-image: -webkit-linear-gradient(270deg,rgba(255,255,255,1.00) 0%,rgba(237,237,237,1.00) 100%);
	background-image: linear-gradient(180deg,rgba(255,255,255,1.00) 0%,rgba(237,237,237,1.00) 100%);
	color: #232323;
	font-size: 18px;
	width: 100%;
	height: 80px;
	margin-top: 5px;
	margin-bottom: 5px;
}
.but8 {
	width: 90%;
}
.banner {
	display: none;
}
.m_banner{
	display: block;
}

}