* {
	margin: 0px;
	padding: 0px;
}
section,article,aside,hgroup,header,footer,nav,figure{
	display: block;
}
body {
	color:#404040;
	line-height:1.5em;
	background-color:#EEEAE8;
	background-repeat: no-repeat;
	background-size:cover;
	background-attachment: fixed;
}
a {
	text-decoration: none;
}
a img {
	border-style: none;
}
.cf::after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

#premium0 .typography {
    text-align: center;
    position: relative;
}

#premium0 .typography .tab {
    width: 630px;
}

#premium0 .typography .sp {
    width: 100%;
}

@media all and (min-width:768px) {
    #premium0 {
        background-image: url('../img/premium/premium0_pc.jpg');
    }

    #premium0 .typography .sp {
        display: none;
    }

    .breadcrumbs {
        display: none;
    }
}

@media all and (max-width:767px) {
    .content-fluid #premium0.cover-image {
        height: 140px;
    }
    #premium0 {
        background-image: url('../img/premium/premium0_sp.jpg');
        display: table;
        width: 100%;
        padding-top: 72px;
    }
    #premium0 .typography {
        display: table-cell;
        vertical-align: bottom;
        padding: 0 16px;
    }
    #premium0 .typography .tab {
        display: none;
    }
}

.install-banner .install-bar {
    background: transparent;
}

.install-banner .description {
    display: none;
}

.install-banner .install-bar .badge-array{
    padding: 16px 0 0 0;
    float: none;
    text-align: center;
}

/* ヘッダー部分 */
.titlelogo {
	background-image: url("../img/premium/logo_ribbon.png");
	background-repeat: repeat-x;
    margin-top: 32px;
}
.titlelogo img {
	width: 240px;
    display: block;
    margin: 0 auto;
}

/* ポイント部分下のボタンや文字部分 */
#titletextbottom {
	line-height:1em;
	text-align: center;
}
#titletextbottom p {
	line-height:3em;
	text-align: center;
}

/* コンテンツ全体 */
h2 {
	line-height:1.5em;
	text-align: center;
}
h3 {
	text-align: center;
}
#contents {
	max-width: 640px;
	background: #EEEAE8;
    margin: 20px auto 40px;
	padding: 0px 16px 0px 16px;
}
.note {
	font-size: 0.7em;
	line-height:1.5em;
	color: #878787
}
.wrap .notepoint {
	font-size: 0.5em;
	line-height: 1.3em;
}

.premium_price {
    font-weight: bold;
    color: #EE4040;
}

/* NEWリボン部分 */
.ribbon {
    position: absolute;
    top: 0;
	left: 16px;
    margin: 0;
    padding: 2px 0;
    z-index: 2;
    width: 40px;
    text-align: center;
    font-size: 14px;
    color: white;
    background: #EE4040;
}
.ribbon:before, .ribbon:after {
    content: '';
    position: absolute;
    top: 100%;
    height: 0;
    width: 0;
    border-bottom: 10px solid transparent;
}
.ribbon:before {
    border-left: 20px solid #EE4040;
    left: 0;
}
.ribbon:after {
    border-right: 20px solid #EE4040;
    right: 0;
}

@media all and (max-width: 320px) {
    .ribbon {
        left: 8px;
    }
}

/* 区切りタイトル部分 */
.subtitle {
	margin: 60px 0px 50px 0px;
	text-align: center;
}
.arrow {
    position: relative;
    display: inline-block;
    padding-left: 30px;
}
.arrow:before {
    content: '';
    width: 30px;
    height: 30px;
    border-top: solid 1px #404040;
    border-right: solid 1px #404040;
    transform: rotate(135deg);
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -20px;
}

/* 写真年賀状割引ポイント部分 */
.point.nenga {
	background-color: #F1E7CB;
	background-image: linear-gradient(45deg,  #ebe3c1 25%, #ebe3c1 25%, transparent 25%, transparent 75%, #ebe3c1 75%, #ebe3c1 75%),
					  linear-gradient(-135deg, #ebe3c1 25%, #ebe3c1 25%, transparent 25%, transparent 75%, #ebe3c1 75%, #ebe3c1 75%);
	background-size: 20px 20px;
	background-position: 0 0, 10px 10px;
	border-color: #866D3A;
}
.point.nenga h2 {
	color: #866D3A;
}
.point.nenga p {
	color: #866D3A;
}

/* 1から4のポイント部分 */
.point {
	background-color: #fafafa;
	border: 1px solid #404040;
	padding: 16px 16px 10px 16px;
    margin: 0 auto 40px;
	position: relative;
}
.point h2 {
	margin-top: 20px;
}
.point p {
	margin-top: 20px;
}
.point p span.li {
    font-weight: bold
}
.pointheader {
    position: absolute;
    left: 0;
    right: 0;
    top: -21px;
    text-align: center;
}
.pointheader img {
    width: 80px;
}
.pointimg img {
	margin-top: 16px;
	width: 100%;
}

/* 表の部分 */
#chart {
	background-color:#fafafa;
	border: 1px solid #404040;
	text-align: center;
}
table {
    border-collapse: collapse;
    width: 100%;
}
table th {
	color: #ffffff;
	background: #404040;
	width: 50%;
	padding: 10px 0px 10px 0px;
}
th.premium{
	background: linear-gradient(to bottom, #CFB56E, #A17E3B);
}
.charttitle {
	color: #ffffff;
    font-size: 0.8em;
    font-weight: bold;
	background: #888888;
	padding: 2px 0px 2px 0px;
}
table td {
	padding: 16px 0px 16px 0px;
    position: relative;
    text-align: center;
}
table tr:nth-child(even) td:first-child {
    background: #f6f6f6;
}
table td.zeroen {
	font-size: 1.5em;
}
table td.premium {
	color: #EE4040;
}
table td .smallnote {
	font-size: 0.5em;
	text-align: center;
}

/* チャート内チェックアイコン部分 */
.check {
	width: 20px;
	height: 10px;
	border-bottom: solid 2px currentColor;
	border-left: solid 2px currentColor;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	margin: 0 auto 10px;
}
.check.free {
	color: #404040;
}
.check.premium {
	color: #EE4040;
}

/* １ヶ月無料の丸部分 */
.toptitle {
    text-align: center;
}
.toptitle .text {
	display: inline-block;
    position: relative;
}
.toptitle .circle {
	position: absolute;
	top: -10px;
	right: -65px;
	background-color: #404040;
	font-size: 0.8em;
	width: 60px;
	height: 60px;
    display: table;
	border-radius: 50%;
}
.circle p {
	text-align: center;
	display: table-cell;
    vertical-align: middle;
	line-height: 1.2em;
	color: #ffffff;
}

@media all and (max-width: 320px) {
    .toptitle .circle {
        right: -55px;
    }
}

/* 960px以上の場合 */
@media all and (min-width: 960px){
	width: 640px;
	margin-left: auto;
	margin-right: auto;
}
/* プレミアムポイント部分 */
.premiumpoint {
    position: relative;
	background-color:#fafafa;
	border: 1px solid #404040;
	padding: 8px 8px 8px 8px;
	text-align: center;
	width: 40%;
    margin: 10px auto 0;
}
.wrap  p {
	text-align: center;
	line-height:1.3em;
}
.wrap img {
	width: 28%;
}
.wrap {
    display:flex;
}

:not(:lang(ja)) .ja-only, :not(:lang(en)) .en-only {
    display: none !important;
}
.chunk {
    display: inline-block;
}

/** Download Badges */
a.download-badge {
    transition: opacity 0.25s ease 0s;
}

a.download-badge:hover {
    opacity:0.75;
}

.no-playstore .download-badge.playstore {
    display:none ;
}

@media all and (min-width:768px) {
    .install-bar {
        overflow: hidden;
        padding-left: 5%;
        padding-right: 5%;
    }
    .install-bar .description {
        font-size: 0.8em;
        float: left;
        height: 70px;
        line-height: 70px;
        vertical-align: middle;
        padding-left: 1em;
    }
    .install-bar .description .download-here {
        display: none;
    }
    .install-bar .badge-array {
        float: right;
        margin-top: 0.6em;
        margin-right: 0.5em;
    }
    .install-bar .badge-array .download-badge {
        margin-left: 1em;
    }
    .install-bar .badge-array .download-badge img {
        width: 150px;
    }
}

@media all and (max-width:767px) {
    .install-bar {
        text-align: center;
    }
    .install-bar .description {
        padding-top: 2em;
        margin-bottom: 1em;
    }
    .install-bar .description .download-scene {
        display: none;
    }
    .install-bar .badge-array {
        padding-bottom: 2em;
    }
    .install-bar .badge-array .download-badge img {
        width: 130px;
        margin: 0 0.5em;
    }
}
