/*
	General styles
*/
body {
	font-family: 'Noto Serif TC', Georgia, 'Times New Roman', Times, serif;
	font-size: 13px;
	background-color: #000000;
	color: #FFF;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
body, html {
	height: 100%;
	margin: 0;
}

a, a:visited {
	text-decoration: none;
	color: #2e639e;
}
a:hover {
	text-decoration: underline;
}
.touchonly {
	display: none;
}
html.touch .touchonly {
	display: block;
}
.noselect, .noselect * {
	user-select: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
}
.doselect, .doselect *:not(.noselect) {
	user-select: text;
	-webkit-user-select: text;
	-khtml-user-select: text;
	-moz-user-select: text;
	-o-user-select: text;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

footer {
	padding: 60px;
}

section {
	position: relative;
	height: 200vh;
}
section.phone {
	height: auto;
}
section.quote {
	height: 100vh;
}
.bubble {
	background-color: #000;
	width: 400px;
	background-repeat: no-repeat;
	background-size: contain;
	margin: 0 auto;
	opacity: 0;
	transition: opacity 1s linear;

	position: fixed;
	left: calc(50% - 200px);
}
.bubble.active {
	opacity: 1;
	position: initial;
	left: auto;
}
.bubble.c1 {
	top: -210px;
	height: 210px;
	background-image: url(../intro/c1.png);
}
.bubble.c2 {
	top: -76px;
	height: 76px;
	background-image: url(../intro/c2.png);
}
.bubble.c3-1 {
	height: 92px;
	margin-bottom: 16px;
	background-image: url(../intro/c3-1.png);
}
.bubble.c3-2 {
	height: 152px;
	background-image: url(../intro/c3-2.png);
}
.bubble.c4 {
	height: 150px;
	background-image: url(../intro/c4.png);
}
.bubble.c5 {
	height: 105px;
	background-image: url(../intro/c5.png);
}
.bubble.c6 {
	height: 72px;
	background-image: url(../intro/c6.png);
}
.bubble.c7 {
	height: 190px;
	background-image: url(../intro/c7.png);
}

.outline {
	position: fixed;
	background-repeat: no-repeat;
	background-size: contain;
	margin: 0 auto;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}
.outline.active {
	opacity: 1;
}
.outline.A {
	top: -99px;
	left: calc(50% - 30px);
	width: 106px;
	height: 99px;
	background-image: url(../intro/outline/line_a.svg);
}
.outline.B {
	top: -138px;
	left: calc(50% - 50px);
	width: 99px;
	height: 138px;
	background-image: url(../intro/outline/line_b.svg);
}
.outline.C {
	top: -138px;
	left: calc(50% - 40px);
	width: 101px;
	height: 125px;
	background-image: url(../intro/outline/line_c.svg);
}
.outline.D {
	top: -138px;
	left: calc(50% - 70px);
	width: 101px;
	height: 125px;
	background-image: url(../intro/outline/line_d.svg);
}
.outline.E {
	top: -100px;
	left: calc(50% - 20px);
	width: 80px;
	height: 100px;
	background-image: url(../intro/outline/line_e.svg);
}
.outline.F {
	top: -138px;
	left: calc(50% - 60px);
	width: 101px;
	height: 125px;
	background-image: url(../intro/outline/line_f.svg);
}

.figure {
	position: fixed;
	width: 1200px;
	height: 800px;
	bottom: 0;
	opacity: 0;
	transition: opacity 0.2s ease-in-out;
	background-size: contain;
	background-repeat: no-repeat;
}
.figure.active {
	opacity: 0.8;
}
.figure.A {
	background-image: url(../intro/character/1.png);
}
.figure.B {
	background-image: url(../intro/character/2.png);
}
.figure.C {
	background-image: url(../intro/character/3.png);
}
.figure.D {
	background-image: url(../intro/character/4.png);
}
.figure.E {
	background-image: url(../intro/character/5.png);
}
.figure.F {
	background-image: url(../intro/character/6.png);
}
.figure.all {
	background-image: url(../intro/character/7_all.png);
}
.figure.all.active {
	transition: bottom 1s ease-in-out;
}

.main {
	position: relative;
	opacity: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	width: 600px;
	height: 655px;
	background-size: contain;
	background-image: url(../intro/character/G.png);
	background-repeat: no-repeat;
	background-position: center;
	transition: opacity 1s linear;
}
.main.active {
	opacity: 1;
}
.main .title {
	width: 467px;	
}
.main h2 {
	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	line-height: 22px;
	text-align: justify;
	letter-spacing: 0.285em;
	margin-top: 26px;
}
.main .mask {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: contain;
	background-image: url(../img/mask.svg);
	background-repeat: no-repeat;
}

article {
	margin: 0 auto;
	max-width: 780px;
}

article p {
	font-family: "PingFang TC", "Noto Sans TC", "Source Sans Pro", Arial, sans-serif;
	font-weight: 500;
	font-size: 17px;
	line-height: 35px;
	text-align: justify;
	color: #FFFFFF;
	margin-bottom: 16px;
	white-space: pre-line;
}
article p.preface {
	color: #7D7D7D;
}
.menu-wrapper {
	z-index: 9990 !important;
	background-color: #000;
}
.menu {
	max-width: 780px;
	margin: 0 auto;
	background-color: #000;
	padding: 36px 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	border-bottom: 0.5px solid #FFFFFF;
	transition: transform 0.3s linear;
}
.chapter {
	display: inline-block;
	font-family: 'Noto Serif TC', Georgia, 'Times New Roman', Times, serif;
	font-style: normal;
	font-weight: 600;
	font-size: 20px;
	line-height: 29px;
	text-align: justify;
	margin-top: 16px;
	margin-right: 36px;
	color: #FFF;
}
.chapter::before {
	display: inline-block;
	content: '';
	width: 20px;
	height: 20px;
	border-radius: 10px;
	margin-right: 8px;
}

a.chapter:visited:nth-child(1) { color: #FF00FF; }
a.chapter:visited:nth-child(2) { color: #00FFFF; }
a.chapter:visited:nth-child(3) { color: #FF00FF; }
a.chapter:visited:nth-child(4) { color: #00FF00; }
a.chapter:visited:nth-child(5) { color: #FF00FF; }
a.chapter:visited:nth-child(6) { color: #00FFFF; }

a.chapter:nth-child(1)::before { background-color: #FF00FF; }
a.chapter:nth-child(2)::before { background-color: #00FFFF; }
a.chapter:nth-child(3)::before { background-color: #FF00FF; }
a.chapter:nth-child(4)::before { background-color: #00FF00; }
a.chapter:nth-child(5)::before { background-color: #FF00FF; }
a.chapter:nth-child(6)::before { background-color: #00FFFF; }

.chapter:last-child {
	margin-right: 0;
}

.indicator-wrap {
	z-index: 9999 !important;
}
.indicator-spacing {
	background-color: #000;
	padding-top: 52px;
}
.indicator {
	background-color: #000;
	width: 780px;
	margin: 0 auto;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.indicator .bar {
	width: 100%;
	height: 2px;
	background-color: #FFF;
	text-align: left;
}
.indicator .bar .color {
	width: 0%;
	height: 2px;
	background-color: #FFFF00;
}
.indicator .dot {
	position: absolute;
	left: 0;
	content: '';
	width: 12px;
	height: 12px;
	border-radius: 6px;
	background-color: #FFFF00;
}

article {
	font-family: 'Noto Serif TC', Georgia, 'Times New Roman', Times, serif;
}

article h3 {
	font-family: 'Noto Serif TC', Georgia, 'Times New Roman', Times, serif;
	font-weight: 500;
	font-size: 32px;
	line-height: 32px;
	text-align: justify;
}

article h3::before {
	content: " ";
	display: inline-block;
	width: 22px;
	height: 22px;
	margin-right: 8px;
	border-radius: 11px;
	background-color: #FF00FF;
}

.phone-frame {
	position: relative;
	width: 360px;
	height: 728px;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url(../img/iphone2.png);
	overflow: hidden;
}
.phone-frame.left {
		margin-right: 109px;
}
.phone-frame.right {
		margin-left: 109px;
}
.phone-frame .message {
	height: 100%;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	margin-top: 30px;
	transform: scale(0.9);
}

.quote-wrapper {
	display: flex;
	align-items: center;
	max-width: 780px;
	height: 100%;
	margin:0 auto;
}
.quote.photo {
	flex: 1;
	background-repeat: no-repeat;
	background-size: contain;
	box-shadow: 0 0 8px 8px black inset;
	background-position: center 40%;
	height: 100%;
	opacity: 0.3;
	transition: opacity 0.7s linear;
}
.quote.photo.active {
	opacity: 1;
}
.quote.photo1 {
	background-image: url(../content/2-1.jpg);
}
.quote.photo2 {
	background-image: url(../content/2-2.jpg);
}
.quote.photo3 {
	background-image: url(../content/4-1.jpg);
}
.quote.photo4 {
	background-image: url(../content/5-1.jpg);
}
.quote.photo5 {
	background-image: url(../content/6-1.jpg);
}
.quote.photo6 {
	background-image: url(../content/7-1.jpg);
}

.quote.content {
	position: relative;
	width: 300px;
	font-weight: 500;
	font-size: 20px;
	line-height: 32px;
	text-align: justify;
	color: #898989;
	margin-left: 16px;
}

.credit {
	font-family: "PingFang TC", "Noto Sans TC", "Source Sans Pro", Arial, sans-serif;
	display: flex;
	flex-direction: row;
	justify-content: center;
	font-weight: 300;
	font-size: 14px;
	line-height: 28px;
}
.credit .title {
	font-weight: 600;
	white-space: nowrap;
}
.credit .purple::after {
	content: '●';
	width: 14px;
	height: 14px;
	color: #ff00ff;
}
.credit .blue::after {
	content: '●';
	width: 14px;
	height: 14px;
	color: #29abe2;
}
.credit .yellow::after {
	content: '●';
	width: 14px;
	height: 14px;
	color: #ffff00;
}
.credit .green::after {
	content: '●';
	width: 14px;
	height: 14px;
	color: #00ff00;
}

.phone-wrapper {
	display: flex;
	flex-direction: row;
	align-items: center;
	max-width: 780px;
	margin: 110px auto;
}

.parallaxParent {
	height: 200vh;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.parallaxParent > .figure-wrapper {
	height: 100%;
	position: relative;
	top: 0;
}

.parallaxParent > .figure-wrapper > .figure {
	height: 100%;
	position: relative;
	top: 0;
	background-position: center center;
	background-size: 960px;
	background-attachment: fixed;
}

#parallax7 {
	height: 300vh;
}

.mark1 {
	position: absolute;
	top:0;
	left:0;
}
.circle1 {
	width: 22px;
	height: 22px;
	border-radius: 11px;
}
.circle1.purple {
	position: absolute;
	top: -4px;
	left: -10px;
	background-color: #ff00ff;
}
.circle1.blue {
	position: absolute;
	top: -14px;
	left: 0px;
	background-color: #00ffff;
}
.mark2 {
	position: absolute;
	bottom: 0;
	right: 0;
}
.circle2 {
	width: 22px;
	height: 22px;
	border-radius: 11px;
}
.circle2.yellow {
	position: absolute;
	bottom: -4px;
	right: -10px;
	background-color: #ffff00;
}
.circle2.blue {
	position: absolute;
	bottom: -14px;
	right: 0px;
	background-color: #00ffff;
}

.img-wrapper {
	max-width: 780px;
	margin: 50px auto;
}

.img-wrapper .img {
	width: 100%;
}

.img-wrapper .text {
	font-family: "PingFang TC", "Noto Sans TC", "Source Sans Pro", Arial, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	line-height: 32px;
	text-align: justify;
	color: #898989;
}

.annotation {
	position: relative;
	padding-right: 24px;
	text-decoration: underline;
	text-decoration-color: #ffff00;
	cursor: pointer;
	white-space: nowrap;
}

.annotation::after {
	margin: 0 4px;
	content: "\25B2";
	font-size: 8px;
	line-height: 14px;
	text-align: center;
	display: inline-block;
	color: #000;
	width: 15px;
	height: 15px;
	border-radius: 8px;
	background-color: #FFFF00;
	position: absolute;
	right: 0;
	bottom: 2px;
}
.annotation.active::after {
	content: "\25BC";
}
.annotation-content {
	display: block;
	box-sizing: border-box;
	background: #FFFF00;
	font-family: "PingFang TC", "Noto Sans TC", "Source Sans Pro", Arial, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 14px;
	line-height: 32px;
	text-align: justify;
	color: #000000;
	padding: 22px 27px;
}

body::-webkit-scrollbar { width: 0px; background: transparent;}

.title-wrapper {
	pointer-events: none;
	position: fixed;
	top: 20%;
	opacity: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	width: 600px;
	height: 655px;
	transition: opacity 1s ease-in;
}
.title-wrapper.active {
	opacity: 1;
}

.title-wrapper .title {
	width: 467px;	
}
.title-wrapper h2 {
	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	line-height: 22px;
	text-align: justify;
	letter-spacing: 0.285em;
	margin-top: 26px;
}
.title-wrapper .mask {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: contain;
	background-image: url(../img/mask.svg);
	background-repeat: no-repeat;
}

.iframe-container {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.iframe-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

.related-wrapper {
	cursor: pointer;
	margin: 0 auto;
	margin-top: 120px;
	padding: 65px 0 47px 0;
	width: 100%;
	max-width: 780px;
	border-top: 1px solid #989898;
	border-bottom: 1px solid #989898;
}

.related-wrapper h2 {
	font-family: 'Noto Serif TC', Georgia, 'Times New Roman', Times, serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 32px;
	text-align: center;
	color: #E5E5E5;
	margin: 0;
}

.related-wrapper .desc {
	font-family: 'Noto Serif TC', Georgia, 'Times New Roman', Times, serif;
	width: 608px;
	margin: 0 auto;
	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	line-height: 32px;
	text-align: justify;
	color: #FFFFFF;
}

.related-wrapper .photo-wrapper {
	position: relative;
	margin: 40px auto;
	margin-bottom: 32px;
	width: 608px;
	height: 405px;
	background-image: url(../img/related.jpg);
	background-size: contain;
	background-repeat: no-repeat;
}

.related-wrapper .photo-wrapper .photo::before {
	z-index: -1;
	content: '';
	display: block;
	position: absolute;
	top: -52px;
	left: -87px;
	width: 608px;
	height: 405px;
	background: #1F1F1F;
}

.related-wrapper .photo-wrapper .photo::after {
	z-index: -1;
	content: '';
	display: block;
	position: absolute;
	bottom: -80px;
	right: -87px;
	width: 608px;
	height: 405px;
	background: #3F3F3F;
}

.logo {
    background: url('../img/logo.svg') 50% 50% no-repeat;
    background-size: cover;
    height: 40px;
    right: 90px;
    position: fixed;
    top: 40px;
    width: 40px;
    z-index: 99999;
}

.logo:hover {
    transform: scale(1.1, 1.1) translate3d(0, 0, 0);
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275);
    transition-duration: 400ms;
}

.share {
    height: 40px;
	width: 40px;
    overflow: visible;
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 99999;
}

.share-icon {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-family: "fontello";
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  margin-left: .2em;
  margin-right: .2em;
  text-align: center;
  text-transform: none;
  width: 1em;
}