@charset "utf-8";

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* 簡單流變媒體
   注意: 流變媒體要求您必須移除 HTML 中媒體的高度和寬度屬性
   http://www.alistapart.com/articles/fluid-images/ 
*/

@font-face {
  font-family: 'PingFangTC-Regular'; /* 定義你的字型名稱 */
  src: local('PingFangTC-Regular'), /* 如果user電腦已經有這個字型就用local的 */
       url('fonts/PingFangTC-Regular.otf')  format('truetype');
}


body {
    font-family: 'PingFangTC-Regular', 'Microsoft JhengHei', Airal !important;
}

img,
object,
embed,
video {
    max-width: 100%;
}

.clearfix{
	clear: both;
	margin: 2rem 0;
}

/* IE 6 不支援最大寬度，因此寬度預設為 100% */

.ie6 img {
    width: 100%;
}


/* 行動版面: 480px 以下。 */

.gridContainer {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    position: relative;
    max-width: 414px;
    margin: 0px auto;
}

header {
    position: fixed;
    z-index: 9999;
    top: 0px;
    display: block;
    width: 100%;
    height: 50px;
    background-color: #f2f2f1;
}

.gohome-btn {
    position: absolute;
    top: 10px;
    left: 50%;
    display: block;
    width: 85px;
    float: left;
    margin-left: -42.5px;
}

.gohome-btn img {
    width: 100%;
}

.footer-copy {
    display: block;
	position: relative;
	bottom: 0;
    width: 100%;
    height: 100px;
    padding-top: 15px;
    padding-top: bottom;
    text-align: center;
    font-size: 100%;
    background-color: #f4f4f3;
}

.copy {
    font-size: 100%;
    line-height: 1.5em;
}

.share-holder {
    top: 60%;
    right: 0px;
    position: fixed;
    z-index: 1000;
    width: 55px;
    min-height: 170px;
}

.share-holder div{
	margin-bottom: 1rem;
}

.share-holder img{
	width: 126px;
}

#keyvisual{
	display: block;
    position: relative;
    top: 50px;
    left: 0;
    width: 641px;
    height: 403px;
    max-width: 100%;
    background-image: url(img/bk_mb.png);
    background-size: 100%;
    background-repeat: no-repeat;
    z-index: 0;
}

@media (-webkit-min-device-pixel-ratio: 2){
	#keyvisual{
		background-image: url(img/bk_mb@2x.png);
	}
}

@media (-webkit-min-device-pixel-ratio: 3){
	#keyvisual{
		background-image: url(img/bk_mb@3x.png);
	}
}

.content {
	position: relative;
    top: -8rem;
    z-index: 2;
    padding: 0 1rem;
    color: #231815;
    line-height: 1.5;
    letter-spacing: 1px;
}

.content p{
	margin-bottom: .5rem;
}

h3{
	font-size: 100%;
	color: #036eb8;
}

h3>big{
	font-size: 125%;
	font-weight: bold;
}

h3::before{
	content: "";
    width: 38px;
    height: 44px;
    display: inline-block;
    vertical-align: middle;
	background-image: url(img/tick.png);
    background-size: 100%;
    background-repeat: no-repeat;
    margin-right: .5rem;
    margin-top: -5px;
}

@media (-webkit-min-device-pixel-ratio: 2){
	h3::before{
		background-image: url(img/tick@2x.png);
	}
}

@media (-webkit-min-device-pixel-ratio: 3){
	h3::before{
		background-image: url(img/tick@3x.png);
	}
}

/* 桌面版面: 769px 到最大 1232px。樣式繼承自: 行動版面和表格版面。 */

@media only screen and (min-width: 768px) {
    .gridContainer {
        width: 100%;
        max-width: 100%;
    }

	#keyvisual{
		display: block;
	    position: relative;
	    top: 50px;
	    left: 0;
	    width: 2159px;
	    height: 534px;
	    max-width: 100%;
	    background-image: url(img/bk_pc.png);
	    background-size: 100%;
	    background-repeat: no-repeat;
	    z-index: 0;
	}

	.content{
		top: -19rem;
		width: 1024px;
		max-width: 100%;
		margin: 0 auto
	}

	h3::before{
	    margin-right: .75rem;
	}
}

@media only screen and (min-width: 992px) {
	.content{
		top: -12rem;
	}
}

@media only screen and (min-width: 1024px) {
	.content{
		top: -16rem;
	}
}

@media only screen and (min-width: 1025px) {
	.content{
		top: -10rem;
	}
}


@media only screen and (min-width: 1441px) {
	.content{
		top: -8rem;
	}
}

@media only screen and (min-width: 1681px) {
	.content{
		top: -5rem;
	}
}