@charset "utf-8";

/* CSS Document */

/* 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;
}

@font-face {
    font-family: 'PingFangTC-Regular';
    /* 定義你的字型名稱 */
    src: local('PingFangTC-Regular'), /* 如果user電腦已經有這個字型就用local的 */
    url('fonts/PingFangTC-Regular.otf') format('truetype');
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x:hidden;
    font-size: 100%;
    font-family: 'PingFangTC-Regular', 'Microsoft JhengHei', Airal !important;
}

table {
    font-size: 100%;
}

p {
    padding: 10px;
    line-height: 1.5;
    letter-spacing: 1px;
    font-family: "Microsoft YaHei", Arial;
}

img,
object,
embed,
video{
    width: 100%;
    max-width: 100%;
    border:0;
    outline: 0;
}

a, a:link, a:hover, a:active, a:visited{
    color: #bbb;
    text-decoration: none;
}

.clearfix {
    clear: both;
    margin: 2rem 0;
}

header {
    position: relative;
    z-index: 9999;
    top: 0px;
    display: block;
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #f2f2f1;
}

header.gray{
    background-color: #f2f2f1;
    border-bottom:0;
}

.wrapper {
    position: relative;
    width: 100%;
    max-width: 414px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.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 {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    text-align: center;
    padding: .5rem 0;
    border-top: 1px solid #bbb;
    background-color: #fff;
}

.copy {
    color: #bbb;
    font-size: 70%;
    line-height: 1.5em;
    padding: unset;
}

.footer-copy a, .footer-copy a:link, .footer-copy a:hover, .footer-copy a:active, .footer-copy a:visited{
    color: #bbb;
    text-decoration: none;
}

/* 行動版面: 480px 以下。 */

.gridContainer {
    position: relative;
    width: 100%;
    max-width: 414px;
    margin: 0px auto;
    margin-left: auto;
    margin-right: auto;
}

.content{
    position: relative;
}

.floatlayer {
    position: absolute;
    top: -44px;
    right: .5rem;
    text-align: right;
    z-index: 9999;
}

.shareb {
    width: 2.25rem;
    margin-right: .25rem;
}

h1{
    font-size: 180%;
}
h2{
    font-size: 150%;
}
h3{
    font-size: 125%;
}

.mainttl{
    text-align: center;
    clear: both;
    padding: .5rem 0;
    font-weight: bold;
}

.subttl{
    color: #EB92AA;
    font-weight: 700;
    padding: 10px;
}

#keyvisual{
    width: 320px;
    height: 284px;
    max-width: 100%;
    background-image: url(images/mainpic.png);
    background-size: 100%;
    background-repeat: no-repeat;
}


.pic1{
    width: 320px;
    height: 441px;
    max-width: 100%;
    background-image: url(images/pic1.png);
    background-size: 100%;
    background-repeat: no-repeat;
}
.pic2{
    width: 320px;
    height: 382px;
    max-width: 100%;
    background-image: url(images/pic2.png);
    background-size: 100%;
    background-repeat: no-repeat;
}
.pic3{
    width: 320px;
    height: 320px;
    max-width: 100%;
    background-image: url(images/pic3.png);
    background-size: 100%;
    background-repeat: no-repeat;
}
.pic4{
    width: 320px;
    height: 237px;
    max-width: 100%;
    background-image: url(images/pic4.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

.icon-heart{
    float: left;
    width: 47px;
    height: 43px;
    max-width: 100%;
    background-image: url(images/heart.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

@media only screen and (min-device-width:375px){
    #keyvisual{
        width: 375px;
        height: 333px;
    }
    .pic1{
        width: 375px;
        height: 517px;
    }
    .pic2{
        width: 375px;
        height: 447px;
    }
    .pic2{
        width: 375px;
        height: 430px;
    }
    .pic3{
        width: 375px;
        height: 378px;
    }
}

@media only screen and (min-device-width:414px){
    #keyvisual{
        width: 414px;
        height: 367px;
    }
    .pic1{
        width: 414px;
        height: 570px;
    }
    .pic2{
        width: 414px;
        height: 493px;
    }
    .pic2{
        width: 414px;
        height: 493px;
    }
    .pic3{
        width: 414px;
        height: 414px;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
    #keyvisual{
        background-image: url(images/mainpic@2x.png);
    }
    .pic1{
        background-image: url(images/pic1@2x.png);
    }
    .pic2{
        background-image: url(images/pic2@2x.png);
    }
    .pic3{
        background-image: url(images/pic3@2x.png);
    }
    .pic4{
        background-image: url(images/pic4@2x.png);
    }
    .icon-heart{
        background-image: url(images/heart@2x.png);
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 3){
    #keyvisual{
        background-image: url(images/mainpic@3x.png);
    }
    .pic1{
        background-image: url(images/pic1@3x.png);
    }
    .pic2{
        background-image: url(images/pic2@3x.png);
    }
    .pic3{
        background-image: url(images/pic3@3x.png);
    }
    .pic4{
        background-image: url(images/pic4@3x.png);
    }
    .icon-heart{
        background-image: url(images/heart@3x.png);
    }
}