@media (max-width: 767px) {
	.pc-only { display: none; }
}
@media (min-width: 768px) {
	.mb-only { display: none; }
}
@media (max-width: 767px) {
	.ib { display: inline-block; }
	.m-header { height: 50px; width: 100%; position: fixed; top: 0; left: 0; z-index: 100000; }
	.m-header>div { box-sizing: border-box; padding: 10px 15px; }
	.m-header>div>a { display: inline-block; background-image: url(../images/m/icons/logo.png); background-repeat: no-repeat; background-size: cover; background-position: center center; width: 104px; height: 28px; }
	.m-header>div>a h1 { display: none; }
	.m-header>div nav { display: none; position: fixed; left: 0; top: 0; background-color: rgba(0,0,0,0.8); width: 100%; height: 100%; padding: 50px 30px; }
	.m-header>div nav a { color: #ffffff; font-size: 25px; }
	.m-header>div nav>ul { width: 100%; display: inline-block; }
	.m-header>div nav>ul>li { width: 100%; margin-bottom: 30px; }
	.m-header>div nav>ul>li>ul { margin: 15px 0 30px 15px; }
	.m-header>div nav>ul>li>ul>li { display: inline-block; }
	.m-header>div nav>ul>li>ul>li a { font-size: 20px; line-height: 150%; }
	.m-header #closebtn { position: absolute; top: 20px; right: 20px; width: 20px; height: 20px; display: inline-block; background-image: url(../images/m/close.png); background-repeat: no-repeat; background-size: cover; background-position: center center; }
	.m-header .hamburger { cursor: pointer; font: inherit; display: inline-block; overflow: visible; margin: 0; padding: 15px; transition-timing-function: linear; transition-duration: .15s; transition-property: opacity, filter; text-transform: none; color: inherit; border: 0; background-color: transparent; }
	.m-header .hamburger:hover { opacity: .7; }
	.m-header .hamburger-box { position: relative; display: inline-block; width: 40px; height: 24px; }
	.m-header .hamburger-inner { top: 50%; display: block; margin-top: -2px; }
	.m-header .hamburger-inner, .m-header .hamburger-inner:after, .m-header .hamburger-inner:before { position: absolute; width: 40px; height: 4px; transition-timing-function: ease; transition-duration: .15s; transition-property: transform; border-radius: 4px; background-color: #000; }
	.m-header .hamburger-inner:after, .m-header .hamburger-inner:before { display: block; content: ""; }
	.m-header .hamburger-inner:before { top: -10px; }
	.m-header .hamburger-inner:after { bottom: -10px; }
	.m-header .hamburger--collapse .hamburger-inner { top: auto; bottom: 0; transition-delay: .13s; transition-timing-function: cubic-bezier(.55,.055,.675,.19); transition-duration: .13s; }
	.m-header .hamburger--collapse .hamburger-inner:after { top: -20px; transition: top .2s cubic-bezier(.33333,.66667,.66667,1) .2s, opacity .1s linear; }
	.m-header .hamburger--collapse .hamburger-inner:before { transition: top .12s cubic-bezier(.33333,.66667,.66667,1) .2s, transform .13s cubic-bezier(.55,.055,.675,.19); }
	.m-header .hamburger--collapse.is-active .hamburger-inner { transition-delay: .22s; transition-timing-function: cubic-bezier(.215,.61,.355,1); transform: translate3d(0,-10px,0) rotate(-45deg); }
	.m-header .hamburger--collapse.is-active .hamburger-inner:after { top: 0; transition: top .2s cubic-bezier(.33333,0,.66667,.33333), opacity .1s linear .22s; opacity: 0; }
	.m-header .hamburger--collapse.is-active .hamburger-inner:before { top: 0; transition: top .1s cubic-bezier(.33333,0,.66667,.33333) .16s, transform .13s cubic-bezier(.215,.61,.355,1) .25s; transform: rotate(-90deg); }
	.m-header .hamburger { position: absolute; right: -7px; top: -7px; }
	.m-header .hamburger-inner, .m-header .hamburger-inner:after, .m-header .hamburger-inner:before { width: 27px; height: 3px; background-color: #ffffff; }
	.m-header .hamburger-inner:before { top: -7px; }
	.m-header .hamburger--collapse .hamburger-inner:after { top: -14px; }
	.m-footer { width: 100%; position: relative; }
	.m-footer .top { cursor: pointer; position: absolute; display: inline-block; width: 59px; height: 59px; background: none; background-repeat: no-repeat; background-position: center center; background-size: cover; background-image: url(../images/m/top.png); top: -27px; right: 20px; }
	.m-footer>.top+div { background-color: #3D3D3D; padding: 30px 15px; }
	.m-footer>.top+div a { color: #EBEBF9; font-size: 14px; display: block; margin-bottom: 10px; }
	.m-footer>.top+div a:last-child { margin-bottom: 0; }
	.m-footer>.top+div+div { background-color: #0A4896; padding: 30px 15px; }
	.m-footer>.top+div+div p { color: #ffffff; font-size: 14px; margin-bottom: 10px; }
	.m-footer>.top+div+div p:first-child { font-size: 16px; }
	.m-footer>.top+div+div span { color: #AACAFF; font-size: 12px; display: block; margin-bottom: 5px; }
	.m-footer>.top+div+div span:first-child { margin-top: 30px; }
	.m-footer>.top+div+div span:last-child { margin-bottom: 0; }
	.m-footer>.top+div+div a { color: #EBEBF9; font-size: 14px; display: block; margin-bottom: 10px; }
	.m-footer>.top+div+div a:last-child { margin-bottom: 0; }
	.m-footer>.top+div+div a.ib { display: inline-block; }
}
@media (max-width: 767px) {
	.m-main .btnarea{display:inline-block;width:100%;margin-top:20px}
	.m-main .btnarea.center{text-align:center}
	.m-main .btn1{display:inline-block;width:177px;height:40px;line-height:40px;font-size:18px;color:#ffffff;border:none;background-color:#0A4796}
	.m-main ul.pagination{display:inline-block;padding:0;margin:0}
	.m-main ul.pagination li{display:inline-block}
	.m-main ul.pagination li a{float:left;padding:0px;text-decoration:none;transition:background-color .3s;border-width:0px;margin:0px 1px;width:20px;height:18px;line-height:18px}
	.m-main ul.pagination li a.active{color:#333333;border:none}
	.m-main ul.pagination li a:hover:not(.active){color:#333333}
	.m-main ul.pagination li.current{background-color:#000;border-radius:32px;padding:3px 2px}
	.m-main ul.pagination li.current a{color:#fff}
	.m-main ul.pagination li.current a:hover{color:#fff}
	.m-main *{padding:0;margin:0}
	.m-main html, .m-main body{font-family:"arial","微軟正黑體";min-height:100% !important;height:100%;line-height:100%}
	.m-main a{text-decoration:none}
	.m-main header{height:50px;width:100%;position:fixed;top:0px;left:0px;z-index:100000}
	.m-main header>div{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:10px 15px}
	.m-main header>div>a{display:inline-block;background-image:url(../images/m/icons/logo.png);background-repeat:no-repeat;background-size:cover;background-position:center center;width:104px;height:28px}
	.m-main header>div>a h1{display:none}
	.m-main header>div nav{display:none;position:fixed;left:0;top:0;background-color:rgba(0,0,0,0.8);width:100%;height:100%;padding:50px 30px}
	.m-main header>div nav a{color:#ffffff;font-size:25px}
	.m-main header>div nav>ul{width:100%;display:inline-block}
	.m-main header>div nav>ul>li{width:100%;margin-bottom:30px}
	.m-main header>div nav>ul>li>ul{margin:15px 0 30px 15px}
	.m-main header>div nav>ul>li>ul>li{display:inline-block}
	.m-main header>div nav>ul>li>ul>li a{font-size:20px;line-height:150%}
	.m-main #closebtn{position:absolute;top:20px;right:20px;width:20px;height:20px;display:inline-block;background-image:url(../images/m/close.png);background-repeat:no-repeat;background-size:cover;background-position:center center}
	.m-main .hamburger{position:absolute;right:-7px;top:-7px}
	.m-main .hamburger-inner, .m-main .hamburger-inner:after, .m-main .hamburger-inner:before{width:27px;height:3px;background-color:#ffffff}
	.m-main .hamburger-inner:before{top:-7px}
	.m-main .hamburger--collapse .hamburger-inner:after{top:-14px}
	.m-main footer{width:100%;position:relative}
	.m-main footer .top{cursor:pointer;position:absolute;display:inline-block;width:59px;height:59px;background:none;background-repeat:no-repeat;background-position:center center;background-size:cover;background-image:url(../images/m/top.png);top:-27px;right:20px}
	.m-main footer>.top+div, .m-main footer div+div{background-color:#3D3D3D;padding:30px 15px}
	.m-main footer>.top+div a, .m-main footer div+div a{color:#EBEBF9;font-size:14px;display:block;margin-bottom:10px}
	.m-main footer>.top+div a:last-child, .m-main footer div+div a:last-child{margin-bottom:0}
	.m-main footer>.top+div+div, .m-main footer div+div+div{background-color:#0A4896}
	.m-main footer>.top+div+div p, .m-main footer div+div+div p{color:#ffffff;font-size:14px;margin-bottom:10px}
	.m-main footer>.top+div+div p:first-child, .m-main footer div+div+div p:first-child{font-size:16px}
	.m-main footer>.top+div+div span, .m-main footer div+div+div span{color:#AACAFF;font-size:12px;display:block;margin-bottom:5px}
	.m-main footer>.top+div+div span:first-child, .m-main footer div+div+div span:first-child{margin-top:30px}
	.m-main footer>.top+div+div span:last-child, .m-main footer div+div+div span:last-child{margin-bottom:0}
	.m-main h3{text-align:center;color:#124687;font-size:25px;line-height:100%}
	.m-main h3 span{display:block}
	.m-main h3 hr{display:inline-block;width:200px;height:1px;background-color:#F03D00}
	.m-main h3.profile{color:#ffffff;line-height:130%}
	.m-main h3.profile hr{border:none;height:2px}
	.m-main .container{display:inline-block;width:100%}
	.m-main .container.index1{display:inline-block;width:100%}
	.m-main .container.index1 img{width:100%}
	.m-main .container.index2{width:100%}
	.m-main .container.index2 img{width:100%}
	.m-main .container.index3{width:100%;z-index:3}
	.m-main .container.index3 img{width:100%}
	.m-main .container.index4{background-color:#0F3D75;position:relative;margin-top:4px;width:100%;z-index:2}
	.m-main .container.index4 img{width:100%}
	.m-main .container.index4>div{padding:2px 15px 30px;width:100%;left:0px}
	.m-main .container.indexcase{display:inline-block;width:100%;margin-top:6px}
	.m-main .container.indexcase img{width:100%}
	.m-main .container.indexcase.first{margin-top:1px}
	.m-main .container.inside{padding:40px 20px}
	.m-main .container.inside p{line-height:150%;color:#333333;font-size:16px;text-align:center}
	.m-main .container.inside p b{font-weight:bold}
	.m-main .container.inside p img{max-width:100%}
	.m-main .container.project{background-color:#ECF9FF}
	.m-main .container.project2{padding:20px 20px 40px;background-color:#ECF9FF}
	.m-main div.profile{padding:40px 20px 60px;background-repeat:no-repeat;background-size:cover;background-position:center center}
	.m-main div.profile p{line-height:150%;font-size:16px;text-align:center}
	.m-main div.profile.profile1{background-image:url(../images/m/profile1.png)}
	.m-main div.profile.profile1 p{color:#ffffff}
	.m-main div.profile.profile2{background-image:url(../images/m/profile2.png)}
	.m-main div.profile.profile2 p{color:#333333}
	.m-main div.profile.profile2 h3.profile{color:#124687}
	.m-main div.profile.profile3{background-image:url(../images/m/profile3.png)}
	.m-main div.profile.profile3 p{color:#ffffff}
	.m-main .pagebanner{height:250px;width:100%;background-repeat:no-repeat;background-size:cover;background-position:center bottom}
	.m-main .pagebanner h2{display:inline-block;width:100%;margin-top:60px;text-align:center;font-size:32px;line-height:100%;color:#ffffff;text-shadow:2px 2px 3px #000000}
	.m-main .pagebanner h2 p{margin-top:20px;font-size:18px;line-height:100%;position:relative}
	.m-main .pagebanner h2 p::before{content:'';display:inline-block;width:40px;height:1px;background-color:#ffffff;position:absolute;margin-left:-60px;margin-top:8px}
	.m-main .pagebanner h2 p::after{content:'';display:inline-block;width:40px;height:1px;background-color:#ffffff;position:absolute;margin-left:20px;margin-top:8px}
	.m-main .pagebanner.project2{height:163px}
	.m-main ul.contact{color:#555555;font-size:15px}
	.m-main ul.contact input[type='text']{border-width:1px;border-style:solid;border-color:#D3D3D3;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 15px;height:35px;width:100%}
	.m-main ul.contact textarea{border-width:1px;border-style:solid;border-color:#D3D3D3;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 15px;height:70px;width:100%}
	.m-main ul.contact input[type='radio']{margin-left:10px}
	.m-main ul.contact input[type='radio']:first-child{margin-left:0}
	.m-main ul.contact>li{margin-bottom:15px}
	.m-main ul.contact>li>ul>li{float:left;margin-right:20px}
	.m-main ul.contact>li>ul>li:nth-child(2){margin-top:10px;cursor:pointer}
	.m-main .project>li{width:100%;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;position:relative;margin-bottom:80px}
	.m-main .project>li .img{width:100%;padding-top:79%;background-repeat:no-repeat;background-size:cover;background-position:center center}
	.m-main .project>li .title{line-height:130%;position:absolute;bottom:-50px;width:85%;left:0px;background-color:#ffffff;color:#0A4796;font-size:20px;padding:10px 20px;box-shadow:0 10px 16px 0 rgba(0,0,0,0.1),0 6px 20px 0 rgba(0,0,0,0.1);text-align:left}
	.m-main .project>li .title span{display:block}
	.m-main .project>li .title>a{margin-top:10px;clear:both;display:inline-block;color:#333333;font-size:14px;border-width:1px;border-style:solid;border-color:#333333;padding:2px 8px}
	.m-main .projectmore .title{background-color:#ffffff;padding:20px}
	.m-main .projectmore .title h2{color:#0A4796;font-size:20px;line-height:150%}
	.m-main .projectmore .title p{text-align:left;font-size:15px;color:#333333;line-height:150%}
	.m-main hr{border-top:1px solid #f03d00}
	.m-main .pagebanner.contact{background-image:url(../images/m/contact.jpg)}
	.m-main .pagebanner.profile{background-image:url(../images/m/profile.jpg)}
	.m-main .pagebanner.about{background-image:url(../images/m/about.jpg)}
	.m-main .pagebanner.project{background-image:url(../images/m/project.jpg)}
	.m-main .pagebanner.project2{background-image:url(../images/m/project3.jpg)}
	.m-main .projectmore div.img img{width:100%}
	.m-main .container{min-width:0;height:auto}
	.m-main .container>div{position:static;height:auto}
	.m-main .container.project{text-align:start}
	.m-main .container.project>div{padding:0}
	.m-main .projectmore{position:static;margin-left:0}
	.m-main .projectmore .img{width:auto;height:auto;background-image:none;position:static}
	.m-main .projectmore .title{position:static;top:auto;right:auto;width:auto;box-shadow:none}
	.m-main .projectmore .title h2{display:block;width:auto;text-align:start}
	.m-main ul.breadcrumb{display:inline-block;width:100%;margin-bottom:20px}
	.m-main ul.breadcrumb li{color:#444444;font-size:14px;float:left;margin-right:10px}
	.m-main img{margin-bottom:-5px}
	.m-main h1, .m-main h2, .m-main h3, .m-main h4, .m-main h5, .m-main h6{margin:10px 0}
	.m-main h2{border-width:0;padding-bottom:0}
	.m-main hr{margin:20px 0}
	body.indexbg{background:none}
}
.rich-content{overflow-wrap:anywhere}
.rich-content img,.projectmore .title img{max-width:100%;height:auto}
@media (max-width: 767px) {
	.rich-content .container{min-width:0;width:100%;height:auto !important}
	.rich-content .container.about,.rich-content .container.profile{background:none}
	.rich-content .container.profile.profile2{background:url(../images/m/profile1.png) no-repeat center center/cover}
	.rich-content .container.profile.profile3{background:url(../images/m/profile2.png) no-repeat center center/cover}
	.rich-content .container.profile.profile4{background:url(../images/m/profile3.png) no-repeat center center/cover}
	.rich-content .container>div{width:100%;height:auto;padding:40px 20px;box-sizing:border-box}
	.rich-content .container.profile.profile2>div,.rich-content .container.profile.profile3>div,.rich-content .container.profile.profile4>div{padding:40px 20px 60px}
	.rich-content .container.profile.profile5>div{width:100%;padding:40px 20px}
	.rich-content h2{width:100%;box-sizing:border-box;font-size:25px;line-height:130%}
	.rich-content h2.mb30{margin-bottom:20px}
	.rich-content p.content{font-size:16px;line-height:150%;text-align:center}
}
