* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: 11px;
    background-color: #F6F6F6;
    color: rgba(0,0,0,.87);
    font-family: sans-serif;
    -webkit-font-smoothing: antialiased !important;
    -webkit-text-size-adjust:none;
}
body {
    padding: 50px 0 0;
    margin: 0 auto;
    max-width: 1024px;
    background-color: #F6F6F6;
}
.mainContent {
    position: relative;
}
@media all and (min-width: 900px) {
    html {
        background-color: #E7DADF;
        font-size: 16px;
    }
    .mainContent {
        max-width: 1024px;
        margin: 0 auto;
    }
    body {
        padding: 56px 0 0;
    }
}
@media all and (max-width: 900px) {
    .pcOnly {
        display: none !important;
    }
}
@media all and (min-width: 900px) {
    .mobileOnly {
        display: none !important;
    }
}

.header {
    padding: 8px;
    font-size: 1rem;
    display: block;
    margin: 0 auto;
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 1024px;
    height: 50px;
    background-color: #fafafa;
    z-index: 100;
}
.header .mainContent {
    height: 100%;
}
.header img {
    height: 100%;
    vertical-align: middle;
    display: inline-block;
}
.header .title, .header .storeButtons {
    height: 100%;
    display: inline-block;
}
.header .storeButtons {
    position: absolute;
    right: 0;
}
.pageNavigation {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    background-color: white;
}
.pageNavigation.fixed {
    display: table;
    position: fixed;
    visibility: hidden;
    top: 50px;
    width: 100%;
    max-width: 1024px;
    z-index: 999;
}
.pageNavigation a {
    color: white;
}
@media all and (min-width: 900px) {
    .pageNavigation.fixed {
        top: 56px;
    }
    .header {
        height: 56px;
    }
}

.halfPrice {
    background-color: #F17DA8;
}
.freePhotos {
    background-color: #FDAC5A;
}
.allPresent {
    background-color: #F1C544;
}
.pastDesigns {
    background-color: #91D466;
}
.premium {
    background-color: #6AB9D0;
}

.pageNavigation .mainContent {
    max-width: 900px;
    padding-left: 20px;
}
.pageNavigation .item img {
    display: inline-block;
    height: 48px;
    margin: 4px;
    vertical-align: middle;
    position: relative;
}
.pageNavigation .badge {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    padding-left: 4px;
    text-align: left;
    font-size: 12px;
}
.pageNavigation .badge:before {
    content: "\0020";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 0;
    height: 0;
    overflow: hidden;
    border: solid 30px transparent;
    border-left: 0;
    border-top-color: white;
}
.pageNavigation .arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0,-50%);
    display: inline-block;
}
@media all and (max-width: 320px) {
    .pageNavigation .mainContent {
        padding-left: 10px;
    }
}

.pageNavigation.fixed .mainContent {
    padding: 4px 0;
    position: initial;
}
.pageNavigation.fixed a {
    display: table-cell;
    text-align: center;
    font-size: 10px;
    width: 20%;
    position: relative;
    vertical-align: top;
}
.pageNavigation.fixed .item img {
    display: block;
    margin: 0 auto;
    height: 30px;
}
.pageNavigation.fixed .badge {
    padding-left: 3px;
    font-size: 8px;
}
.pageNavigation.fixed .badge:before {
    border-width: 20px;
}
.pageNavigation.fixed .expand {
    padding: 0.4rem 0;
}
@media all and (max-width: 460px) {
    .pageNavigation.fixed a {
        font-size: 8px;
    }
}
@media all and (max-width: 360px) {
    .pageNavigation.fixed a {
        font-size: 7px;
    }
}

.halfPrice .badge {
    color: #F17DA8;
}
.freePhotos .badge {
    color: #FDAC5A;
}
.allPresent .badge {
    color: #F1C544;
}
.pastDesigns .badge {
    color: #91D466;
}
.premium .badge {
    color: #6AB9D0;
}


.button {
    font-weight: bold;
    color: white;
    background-color: #75B9F2;
    padding: 20px 8px;
    border: 2px solid #459FDD;
    text-align: center;
    margin: 16px 0 0;
}
a {
    text-decoration: none;
}
@media all and (min-width: 900px) {
    .button {
        margin: 24px 0 0;
    }
}

.heroContent img {
    display: block;
    width: 100%;
}
.heroText {
    text-align: center;
    margin-bottom: 24px;
}
.heroText h1 {
    margin-bottom: 16px;
    font-size: 2.75rem;
}
.heroText .subtitle {
    margin-bottom: 8px;
    font-size: 1.5rem;
}
.heroText .price {
    font-size: 1.125rem;
    color: rgba(0,0,0,.38);
}
.heroCaption {
    font-size: 1.25rem;
    margin-top: 16px;
}
@media all and (min-width: 900px) {
    .heroText {
        float: right;
        width: 49%;
        margin-top: 32px;
        margin-left: 1%;
    }
}

.contentSection {
    margin: 16px;
    background-color: #F6F6F6;
}
.contentSection .mainContent {
    max-width: 900px;
    background-color: white;
    border-top: 10px solid white;
}
.contentSection.wide {
    padding-left: 0;
    padding-right: 0;
}
.contentSection h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}
@media all and (min-width: 900px) {
    .contentSection {
        margin: 32px auto;
    }
}

#halfPrice .mainContent {
    border-top-color: #F17DA8;
}
#freePhotos .mainContent {
    border-top-color: #FDAC5A;
}
#allPresent .mainContent {
    border-top-color: #F1C544;
}
#pastDesigns .mainContent {
    border-top-color: #91D466;
}
#premium .mainContent {
    border-top-color: #6AB9D0;
}

.sectionHeader {
    text-align: center;
    margin: 0 0 16px;
}
.sectionHeader img {
    margin: 16px auto;
    width: 80%;
    max-width: 310px;
    display: block;
}
.sectionHeader h2 {
    display: inline-block;
    padding: 0 2rem;
    background: rgba(0,0,0,0) linear-gradient(transparent 50%, rgba(249,249,3,.6) 0%) repeat;
    background-size: contain;
}
@media all and (min-width: 900px) {
    .sectionHeader {
        margin: 0 0 32px;
    }
    .sectionHeader h2 {
        padding: 0 4rem;
    }
}

ol, ul {
    margin-left: 1.5rem;
}

#toTopButton {
    position: fixed;
    visibility: hidden;
    bottom: 13px;
    right: 13px;
    z-index: 999;
}
#toTopButton img {
    width: 44px;
}
@media all and (min-width: 900px) {
    #toTopButton {
        bottom: 40px;
    }
    #toTopButton img {
        width: 88px;
    }
}

img.full {
    width: 100%;
}

.allPresent .pair h3 {
    margin-top: 1em;
    font-size: 1.25rem;
}
.allPresent .pair h3:before {
    content: '\25cf';
}

.allPresent .present {
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 32px;
}
.allPresent .present img {
    display: block;
    margin: 0 auto;
}

.instructions {
    background-color: #DBECFC;
    padding: 16px 0;
}
.instructions h3:before {
    content: '＜';
}
.instructions h3:after {
    content: '＞';
}
.instructions h4 {
    text-align: center;
    margin: 16px 0;
    color: #459FDD;
}
.instructions > * {
    margin-left: 16px;
    margin-right: 16px;
}
.instructions ol, .instructions ul {
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 16px;
}
.instructions > img {
    margin: -16px 0 16px;
}

.copyBox {
    text-align: center;
    margin: 16px;
}
.copyBox .payload {
    border: 2px solid #459FDD;
    color: #459FDD;
    font-weight: bold;
    background-color: white;
    display: inline-block;
    padding: 16px 32px;
}

.footer {
    background-color: rgba(0,0,0,.54);
    color: white;
    padding: 32px 16px;
}
.footer h2 {
    margin: 48px 0 16px;
}
.footer p {
    font-size: 0.8rem;
}
.footer a {
    color: white;
    text-decoration: none;
}
.footer .menu {
    list-style: none;
    padding: 0;
}
.footer .menu li {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.android .invisible-for-android,
.ios .invisible-for-ios,
.desktop .invisible-for-desktop,
.unisolated .isolated-content,
.isolated .unisolated-content {
    display: none !important;
}

.pair .item {
    vertical-align: top;
    font-size: 1.25rem;
}
.pair .item img {
    width: 100%;
    display: block;
}
.pair .item.text {
    padding: 16px;
}
@media all and (min-width: 900px) {

    .pair {
        display: table;
        border-spacing: 24px 0;
        padding: 0 0 32px;
    }
    .pair .item {
        display: table-cell;
        width: 50%;
    }
    .pair .item.text {
        padding: 0;
    }
}

.congratulations h2 {
    color: #459FDD;
    font-size: 1.2rem;
    margin-top: 16px;
}
.snsPost {
    padding: 16px;
    max-width: 500px;
    margin: 0 auto;
}
.snsPost .item .postContent {
    color: #459FDD;
    border: 2px solid #459FDD;
    padding: 16px;
    font-weight: bold;
    position: relative;
}

/* 参考：http://jsfiddle.net/rgthree/DWxf7/ */
.snsPost .item .postContent:before,
.snsPost .item .postContent:after {
    content: "\0020";
    display: block;
    position: absolute;
    bottom: -14px;
    left: 20px;
    z-index: 2;
    width: 0;
    height: 0;
    overflow: hidden;
    border: solid 16px transparent;
    border-bottom: 0;
    border-top-color: white;
}
.snsPost .item .postContent:before {
    bottom: -17px;
    z-index: 1;
    border-top-color: #459FDD;
}

.snsPost .item .snsButton {
    border: 2px solid #ccc;
    background-color: #eee;
    color: white;
    text-align: center;
    margin: 16px 0;
    padding: 8px;
}
.snsPost .item .snsButton span {
    display: inline-block;
    vertical-align: middle;
    margin-right: 25px;
}
.snsPost .item .snsButton img {
    margin: 0 8px 0;
    width: 20px;
    vertical-align: middle;
}

.snsPost .facebook .snsButton {
    border-color: #4065B4;
    background-color: #5E7EC2;
}
.snsPost .twitter .snsButton {
    border-color: #069FF5;
    background-color: #54C1FD;
}
.snsPost .instagram .snsButton {
    border-color: #6143CA;
    background-color: #996CD4;
}

.snsLinks {
    text-align: center;
    margin: 16px auto 0;
}
.snsLinks .second {
    margin-top: 16px;
    background-color: #DBECFC;
}
.snsLinks .second h4 {
    margin: 0 16px;
}
.snsLinks .second .snsIcons {
    padding-bottom: 16px;
    margin-bottom: 64px;
}
.snsLinks .second .sectionHeader {
    background-color: #75B9F2;
    color: white;
}
.snsLinks .snsIcon {
    display: inline-block;
    width: 30%;
    max-width: 100px;
    font-size: 14px;
}
.snsLinks .snsIcon img {
    padding: 16px 16px 8px;
}
@media all and (min-width: 900px) {
    .snsLinks .second {
        margin-top: 0;
    }
    .snsLinks .second h4, .snsLinks .second .snsIcons {
        margin-left: 32px;
        margin-right: 32px;
    }
}
.snsLinks a:link,
.snsLinks a:visited,
.snsLinks a:active,
.snsLinks a:hover {
    color: rgba(0,0,0,.87);
}

.about {
    background: white;
    margin: 80px 0 0;
    padding: 90px 16px 16px;
    position: relative;
    font-weight: bold;
    font-size: 1.25rem;
}
.about p {
    margin-bottom: 16px;
}
.about .logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,-40%);
    width: 92px;
    z-index: 1;
}
.about .storeButtons {
    text-align: center;
}
.about .storeButtons .storeBadge {
    display: inline-block;
    margin: 1%;
    width: 40%;
    max-width: 200px;
}

.share {
    margin: 32px;
}
.share .mainContent {
    background-color: transparent;
    border: none;
}
.share h2 {
    font-size: 1.25rem;
}
.share .shareLinks {
    text-align: center;
    font-size: 0;
    margin-top: 16px;
}
.share .shareLinks a {
    display: inline-block;
    width: 20%;
    max-width: 64px;
    margin: 2%;
}
.share .shareLinks img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 64px;
}

#footer {
    background: rgba(0,0,0,.54);
    padding: 32px 16px;
    color: #C6C6C6;
    font-size: 0.7rem;
    text-align: center;
}
#footer img {
    display: block;
    margin: 0 auto 16px;
    width: 52px;
}
