@charset 'utf-8';

.Parallax {
	aspect-ratio: 3 / 4
}

/* Header
------------------------------ */
header {
	animation: fede 7s
}

/* Cover
------------------------------ */
.Cover,
.Cover::before,
.Cover::after {
	content: "";
	font-size: 2.4em;
	height: 100%;
	left: 0;
	overflow: hidden;
	position: fixed;
	top: 0;
	width: 100%;
	&:before {
		animation: coverBefore 5.5s;
		background: rgba(0,0,0,.6);
		position: absolute;
		transition: .5s;
		z-index: -2
	}
	&:after {
		animation: coverAfter 7.5s;
		background: url(../image/cover.jpg) no-repeat 30% 50%;
		background-size: cover;
		position: absolute;
		transition: .5s;
		z-index: -3
	}
}
@keyframes coverBefore {
	  0% { background: rgba(255,255,255,.6) }
	 50% { background: rgba(255,255,255,.6) }
	 60% { background: rgba(  0,  0,  0, 1) }
	100% { background: rgba(  0,  0,  0,.6) }
}
@keyframes coverAfter {
	  0% { filter: blur(50px); transform: scale(1.2) }
	 30% { filter: blur(50px); transform: scale(1.2) }
	 80% { filter: blur(0) }
	100% { filter: blur(0); ransform: scale(1) }
}

.Symbol {
    animation: symbol 5.5s ease-in both;
	height: 36%;
	left: 50%;
	position: absolute;
	top: 52%;
	transform: translateX(-50%) translateY(-50%) scale(1);
	transition: .1s;
	z-index: 1
}
@keyframes symbol {
      0% { opacity: 1; transform: translateX(-50%) translateY(-50%) scale( 1) }
     50% { opacity: 1; transform: translateX(-50%) translateY(-50%) scale( 1) }
     60% { opacity: 0; transform: translateX(-50%) translateY(-50%) scale(50) }
    100% { display: none; opacity: 0; transform: translateX(-50%) translateY(-50%) scale(50) }
}
.Symbol path {
	fill: #000;
	opacity: .6;
    stroke: #000;
    stroke-dasharray: 1400px;
    stroke-width: 1px
}
.Symbol g:nth-child(1) path {
    animation: pathStroke1 2.5s ease-in both;
}
@keyframes pathStroke1 {
	  0% { fill: transparent; stroke-dashoffset: 1400px }
	 70% { fill: transparent; stroke-dashoffset: 0 }
	 90% { fill: #000 }
	100% { fill: #000 }
}
.Symbol g:nth-child(2) path {
    animation: pathStroke2 5.5s ease-in both;
}
@keyframes pathStroke2 {
	  0% { fill: transparent; stroke-dashoffset: 1400px }
	 30% { fill: transparent; }
	 40% { fill: #000; }
	 90% { fill: #000; stroke-dashoffset: 0 }
	100% { fill: #000 }
}

.Slogan {
	animation: fede 7s;
	color: #fff;
	font-size: 1.4em;
	font-weight: 600;
	margin: 0;
	left: 50%;
	letter-spacing: .5rem;
	position: absolute;
	text-align: center;
	text-transform: uppercase;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 100%
}
.Slogan span {
	font-size: 1.4em;
	font-weight: 100;
	padding: 0 .2em
}
.Slogan ruby {
	ruby-position: under
}
.Slogan rt {
	font-size: .25em;
	font-weight: 200;
	letter-spacing: .2rem;
	text-align: center
}

.AboutUs {
	animation: fede 7s;
    bottom: 4%;
    color: #fff;
    font-size: .3em;
	max-width: 500px;
    position: absolute;
    right: 4%;
    width: 55%
}
.AboutUs p {
	font-weight: 200
}

.Scroller {
    animation: fede 7s;
    bottom: 0;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    left: 5%;
    letter-spacing: .2em;
    line-height: 6px;
    height: 200px;
    position: absolute;
    width: 20px;
    writing-mode: vertical-lr;
    z-index: 10
}
.Scroller:hover {
    color: #fff
}
.Scroller::before,
.Scroller::after {
    bottom: 0;
    content:"";
    position: absolute;
	&::before {
		animation: scroller 2.5s ease-out infinite;
		background: #fff;
		border-radius: 50%;
		height: 5px;
		left: -2px;
		width: 5px
	}
	&::after {
		border-left: 1px solid rgba(255,255,255,.6);
		height: 82%;
		left: 0;
		width: 5px
	}
}
@keyframes scroller {
      0% { bottom: 70%; opacity: 0 }
     50% { opacity: .8 }
     80% { opacity: .3 }
    100% { bottom: 0; opacity: 0 }
}

/* Main
------------------------------ */
main {
	margin: 100dvh 0 0;
	padding-bottom: 0;
	padding-top: 0
}
#About {
    background: #212121;
    margin: 0 -10%;
    padding: 30% 10% 20%
}
#Wholesale {
    background: #608080;
    margin: 0 -10%;
    padding: 0 10% 10%
}
#TouYou,
#SmartGift {
	padding: 0
}
#TouYou h3,
#SmartGift h3 {
	line-height: 3rem;
	margin-top: -5.72rem;
	margin-bottom: -1rem;
	position: relative;
	z-index: 2;
}

/* Device Width Style
------------------------------ */
@media only screen and (min-width: 539px) {
	.Cover {
		font-size: 2.8rem
	}
}
@media only screen and (min-width: 1024px) {
	.Grid {
		align-items: center;
		grid-template-columns: 1.111fr 1fr
	}
	.Cover {
		font-size: 3.6rem
	}
	main .Grid picture {
        margin: 0 0 0 -20%
    }
	main .Grid.Opposite {
		grid-template-columns: 1fr 1.111fr
	}
	main .Grid.Opposite picture {
        margin: 0 -20% 0 0
    }
	main .Grid .Grid {
		margin: 2rem 0 0
	}
	#About {
		padding-bottom: 14%;
		padding-top: 18%
	}
	#TouYou h3,
	#SmartGift h3 {
		margin-top: 0
	}
	#Wholesale {
		padding-bottom: 0
	}
}