﻿:root {
    --color-red01: #9b1d1f;
    --color-red02: #d52b1e;
    --color-red03: #df6056;
    --color-red04: #ea958e;
    --color-red05: #f4cac7;
}

body {
    padding: 0;
    margin: 0;
    font-size: 1.5vw;
    line-height: 1.3;
}

img {
    max-width: 100%;
    position: relative;
    display: block;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

ol, ul {
    padding-left: 1em;
}

sup {
    line-height: 0;
}

.bg-red01 {
    background-color: var(--color-red01);
}

.bg-red02 {
    background-color: var(--color-red02);
}

.bg-red03 {
    background-color: var(--color-red03);
}

.bg-red04 {
    background-color: var(--color-red04);
}

.bg-red05 {
    background-color: var(--color-red05);
}

.content {
    opacity: 0;
    height:0;
    transition: opacity .5s;
}

.d-text-icon {
    width: calc(100% - 10vw);
    padding: 0 3vw;
}

.icon {
    width: 8vw;
    padding: 0 0 0 1vw;
}

.lipstick {
    width: 20%;
    border: none;
    padding: 0 5%;
    z-index: 1;
    position: relative;
    background-image: url(holder-inner.png);
    height: 30vw;
    background-position: bottom center;
    background-size: cover;
    cursor: pointer;
}

.holder {
    position: absolute;
    width: 60%;
    left: 20%;
    bottom: 0;
    z-index: 3;
}

.tip {
    position: absolute;
    top: 15%;
    left: 20%;
    width: 60%;
    transition: top 1s
}

.lipstick:active .tip,
.lipstick:focus .tip,
.lipstick:hover .tip {
    top: -15%;
}

.active01 .lipstick .tip[src="lipstick-01.png"] {
    top: -25%;
}

.active02 .lipstick .tip[src="lipstick-02.png"] {
    top: -25%;
}

.active03 .lipstick .tip[src="lipstick-03.png"] {
    top: -25%;
}

.active04 .lipstick .tip[src="lipstick-04.png"] {
    top: -25%;
}

.active05 .lipstick .tip[src="lipstick-05.png"] {
    top: -25%;
}

.active01 #content {
    background-image: url(bg-01.png);
}

.active02 #content {
    background-image: url(bg-02.png);
}

.active03 #content {
    background-image: url(bg-03.png);
}

.active04 #content {
    background-image: url(bg-04.png);
}

.active05 #content {
    background-image: url(bg-05.png);
}

.active01 #content01,
.active02 #content02 ,
.active03 #content03,
.active04 #content04 ,
.active05 #content05 {
    opacity: 1;
    height: unset;
}

#main {
    width: 90vw;
    height: 122vw;
    position: relative;
    display: block;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    border-radius: 1.5vw;
}

#banner {
    position: relative;
    z-index: 1;
    width: 100%;
}

#content {
    width: 90vw;
    height: 84vw;
    position: relative;
    margin-top: -9vw;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 14% 7% 5% 7%;
    transition: background-image .5s ;
    border-radius:1.5vw 1.5vw 0 0;
}

#lipsticks {
    position: relative;
    width: 90vw;
    background: rgba(0,255,0,.5);
    display: flex;
    flex-direction: row;
}

#preload {
    position: fixed;
    bottom: -1px;
    left: -1px;
    overflow: hidden;
    display: block;
    opacity: 0;
    width: 1px;
    height: 1px;
}
