:root {
	--red: #BF2521;
	--brown: #41210D;

	--fs-3xl: 64px;
    --fs-2xl: 48px;
    --fs-xl: 32px;
    --fs-lg: 24px;
    --fs-md: 20px;
    --fs-sm: 18px;
    --fs-xs: 16px;
    --fs-2xs: 14px;
    --fs-3xs: 12px;
}
html, body {
	overflow-x: hidden;
}
body {
	font-family: 'Arial', 'Noto Sans TC', 'PingFang TC', 'Heiti TC', 'Noto Sans TC', source-han-sans-traditional, 'Microsoft JhengHei', sans-serif;
	font-display: block;
	color: #1a1a1a;
	font-size: var(--fs-sm);
	font-weight: 400;
	background-color: #f4f4f4;
}
body.loaded .gen-jyuu {
	font-family: 'Arial', 'Noto Sans TC', 'PingFang TC', 'Heiti TC', 'Noto Sans TC', source-han-sans-traditional, 'Microsoft JhengHei', sans-serif;
}
p {
	line-height: 1.8;
	font-weight: 400;
}

a {
	text-decoration: none;
	color: inherit;
	-webkit-tap-highlight-color: transparent;
}
a, button, input[type="submit"], input[type="button"] {
	cursor: pointer;
}
input, select, textarea, button {
	font-family: 'Arial', 'Noto Sans CJK TC', 'PingFang TC', 'Heiti TC', 'Noto Sans TC', source-han-sans-traditional, 'Microsoft JhengHei', sans-serif;
	font-size: 1.125rem;
	font-weight: 400;
}
img {
	max-width: 100%;
	height: auto;
}

/* Preloader */
#preloader {
	position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color: var(--pink-100); /* change if the mask should have another color then white */
	z-index:100; /* makes sure it stays on top */
	display: flex;
	align-items: center;
	justify-content: center;
}
#status {
    width: 30px;
    height: 30px;
    animation: shinning 4s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes shinning {
    0% { opacity: 0.1; }
	50% { opacity: 1; }
    100% { opacity: 0.1; }
}

/* layout */
.container {
	padding: 80px 32px 80px;
	max-width: 1120px;
	width: 100%;
	margin: 0 auto;
}
.container.wide {
	max-width: 1480px;
}
.container.mid-wide {
	max-width: 1360px;
}
header .container {
	padding: 0 32px;
}
footer .container {
	padding: 32px;
}
.max-w8 {max-width: 840px;}
.max-w7 {max-width: 720px;}
.max-w6 {max-width: 600px;}
.max-w5 {max-width: 500px;}
.max-w4 {max-width: 400px;}
.max-w3 {max-width: 340px;}

.col {
	display: inline-block;
}
.d-none {
	display: none;
}
.block {
	display: block;
}
.flex {
	display: flex;
}

.mx-auto {
	margin-left: auto;
	margin-right: auto;
}
.w100 {
	width: 100%;
}
.w50 {
	width: 50%;
}
.d-table {
	display: table;
}
.d-row {
	display: table-row;
}
.d-cell {
	display: table-cell;
}
.mt-s {	margin-top: 4px; }
.mt-1 {	margin-top: 0.8em; }
.mt-2 {	margin-top: 1.4em; }
.mt-3 {	margin-top: 3.5em; }
.mb-s {	margin-bottom: 8px; }
.mb-1 {	margin-bottom: 0.8em; }
.mb-2 {	margin-bottom: 1.4em; }
.mb-3 {	margin-bottom: 2em; }
.mb-4 {	margin-bottom: 4em; }
.mb-5 {	margin-bottom: 6em; }
.mb-s { margin-bottom: 10px; }
.ml-s { margin-left: 10px; }
.ml-1 { margin-left: 0.8em; }
.ml-2 { margin-left: 1.8em; }
.mr-s { margin-right: 4px; }
.mr-1 { margin-right: 1em; }
.mr-2 { margin-right: 2em; }

.my-1 { margin-top: 0.5em; margin-bottom: 0.5em;}

.pt-1 { padding-top: 0.8em; }
.pt-2 { padding-top: 1.4em; }
.pt-3 { padding-top: 2.5em; }
.pt-4 { padding-top: 4em; }
.pb-1 { padding-bottom: 1em; }
.pb-4 { padding-bottom: 4em; }
.px-1 { padding-left: 0.8em; padding-right: 0.8em; }
.pr-2 { padding-right: 2em; }

.gap-3 { gap: 2em; }

/* position */
.relative {
	position: relative;
}
.absolute {
	position: absolute;
}
.sticky {
	position: sticky;
}
.ab-center {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}
.fixed-right {
	position: fixed;
	right: 20px;
	top: 300px;
	z-index: 90;
}
.zindex-1 {
	z-index: 1;
}
.zindex-2 {
	z-index: 2;
}

.no-pe {
	pointer-events: none;
}

/* color */
.bg-no { background: transparent; }
.bg-dark { background-color: #1a1a1a; }
.bg-white { background-color: #ffffff; }
.bg-gray { background-color: #666666; }
.black { color: #1a1a1a; }
.white { color: #fff; }
.red { color: var(--red); }
.brown { color: var(--brown) }
.gray { color: #aaa; }

.opacity3 { opacity: 0.3; }
.opacity6 { opacity: 0.6; }

.border-gray { border: 1px solid #999; }

/* text */
.fs-3xl { font-size: var(--fs-3xl); }
.fs-2xl { font-size: var(--fs-2xl);; }
.fs-xl { font-size: var(--fs-xl);; }
.fs-lg { font-size: var(--fs-lg);; }
.fs-md { font-size: var(--fs-md);; }
.fs-sm { font-size: var(--fs-sm);; }
.fs-xs { font-size: var(--fs-xs);; }
.fs-2xs { font-size: var(--fs-2xs);; }
.fs-3xs { font-size: var(--fs-3xs);; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }
.bold { font-weight: 700; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.lh-13 { line-height: 1.3; }
.lh-15 { line-height: 1.5; }
.lh-20 { line-height: 2; }
.lh-30 { line-height: 3; }
.lh-40 { line-height: 4; }
.ls-1 { letter-spacing: 1px; }
.show-sm, .show-mid { display: none; }

hr {
	border: 0;
	height: 1px;
	border-radius: 1px;
	margin: 1.5em 0;
}

/* link */
.link {
	text-decoration: underline;
	text-underline-offset: 6px;
}
.link:hover {
	opacity: 0.9;
}

/* button */
.main-btn {
	display: inline-block;
	text-align: center;
	font-weight: bold;
	font-size: 24px;
	width: 240px;
	height: 60px;
	line-height: 58px;
	transition: all 0.16s ease;
	padding: 0px 24px;
	background-color: #000;
	color: #fff;
	border: 0;
	box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.24);
}
.main-btn-dot {
	margin-top: -3px;
}

.long-btn {
	background: #000;
	color: #fff;
	text-align: center;
    width: 50px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    padding: 24px 12px;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    line-height: 30px;
	transition: all 0.2s ease;
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.24);
}
.long-btn:hover {
	background-color: var(--red);
}
.main-btn:hover {
	transform: scale(0.95);
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.32);
}
.top-btn {
	display: flex;
	justify-content: center;
	margin-bottom: 8px;
	transition: all 0.2s ease;
}
.top-btn:hover {
	transform: translateY(-4px);
}
.top-btn img {
	width: 35px;
}

/* header */
.header {
	position: fixed;
	width: 100%;
	z-index: 99;
    transition: transform 0.4s ease, background-color 0.2s ease, height 0.2s ease-in-out;
    background-color: #ffffff;
}
.navtop {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.navtop a {
	transition: all 0.2s ease;
}
.nav-left, .nav-right {
	display: flex;
	align-items: center;
	gap: 16px;
}
.nav-logos, .nav-icons {
	display: flex;
	align-items: center;
	gap: 16px;
}
.nav-logos {
	gap: 32px;
}
.navbar {
	position: relative;
    padding: 0;
    width: auto;
    display: flex;
    font-weight: 500;
	transition: all 0.4s ease;
}
.navbar li {
    position: relative;
}
.navbar a {
	display: block;
	padding: 25px 16px 23px 16px;
}
.nav-red {
	background-color: var(--red);
	color: #ffffff;
}
.navbar a:hover, .navbar a.active, .nav-icons a:hover {
	color: var(--red);
}
.navbar a.nav-red:hover, .navbar a.nav-red.active {
	color: #ffffff;
	background: #000000;
}

.nav-hbg {
	display: none;
	position: absolute;
	border-radius: 12px;
	right: 0;
	top: 0;
	box-shadow: 7px 7px 8px rgba(16, 86, 21, 0.3);
	z-index: 1;
}
.active .nav-hbg {
}
.header.detachedHide {
}
.header.detached {
}
.header.detached .navbar {
}
.header.detached.show {
}

/* navbar toggle */
.hbg-btn {
	border: 0;
	padding: 0;
	height: 50px;
	width: 50px;
	border-radius: 5px;
	vertical-align: top;
	transition: all 0.2s ease;
	position: absolute;
	top: 0px;
	right: 12px;
	text-align: center;
}
.icon-hbg,
.icon-hbg::before,
.icon-hbg::after {
	content: "";
	display: block;
	margin: 0 auto;
	width: 30px;
	height: 2px;
	background-color: #000;
	border-radius: 2px;
	position: absolute;
	transform-origin: center center;
	left: -15px;
	right: -15px;
}
.icon-hbg::before {
	position: absolute;
	top: -8px;
}
.icon-hbg::after {
	position: absolute;
	bottom: -8px;
}
.active .icon-hbg {
	width: 0;
}
.active .icon-hbg::before {
	top: 0;
	transform: rotate(45deg);
}
.active .icon-hbg::after {
	bottom: 0;
	transform: rotate(-45deg);
}

.icon-svg {
	height: 1em;
	width: auto;
	vertical-align: middle;
    margin-top: -4px;
}

/* mainbg */
.bg-main {
	position: fixed;
	inset: -20% -20% -20% -20%;
}
.bg-main .bg-img {
	position: absolute !important;
	inset: 0 !important;
	background-image: url('../img/bg_main.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
}
.bg-sec {
	position: absolute;
	inset: 0px;
	background-color: #fafafa;
	overflow: hidden;
}
.bg-sec canvas {
	position: absolute;
	filter: blur(2px);
}
.bg-sec .circle {
	position: absolute;
	width: 600px;
	height: 600px;
	background-color: #eee;
	border-radius: 50%;
	right: 5%;
	top: 5%;
	filter: blur(30px);
	-webkit-filter: blur(30px);
}
/* main */
main {
	
}
.title-wrap {
	padding: 120px 32px 120px;
}
.info-wrap {
	position: relative !important;
	display: flex !important;
	justify-content: center;
	width: fit-content;
	margin: 0 auto;
}
.info-wrap img {
	flex-shrink: 1;
}
.info-footer {
	position: absolute;
	top: calc(100% + 6px);
	background: var(--red);
	color: #fff;
	font-weight: bold;
	text-align: center;
	font-size: var(--fs-sm);
	width: 100%;
	padding: 4px 6px 2px;
	line-height: 1.5;
}
/* title */
.title-sub {
	width: fit-content;
	margin: 0 auto;
	font-weight: bold;
	color: var(--red);
	font-size: var(--fs-xl);
	position: relative;
	margin-bottom: 60px;
}
.title-sub::before, .title-sub::after {
	content: '';
	position: absolute;
	width: 54px;
	height: 8px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	inset: 0 auto;
	margin: auto 0;
}
.title-sub::before {
	background-image: url('../img/dec_title_left.svg');
	left: -80px;
}
.title-sub::after {
	background-image: url('../img/dec_title_right.svg');
	right: -75px;
}
/* section */
section {
	position: relative;
}

/* speaker */
.bg-glass {
	background-color: #ffffff99;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.speaker-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 80px 80px;
}
.speaker {
}
.speaker:hover,
.speaker:focus,
.speaker:active {
	outline: none;
}
.speaker-main {
	position: relative;
	padding-right: 70px;
}
.speaker-main::before {
	content: '';
	position: absolute;
	inset: 20px 20px -80px -80px;
	background-image: url('../img/dec_01.svg');
	background-repeat: no-repeat;
	background-size: contain;
	z-index: 0;
	transition: all 0.3s cubic-bezier(0.42, 0, 0.62, 1.2);
	transform: scale(0.1);
}
.speaker:hover .speaker-main::before {
	transform: scale(1);
}
.speaker-main h3 {
	position: absolute;
	background-color: #fff;
	color: var(--red);
	font-weight: bold;
	font-size: var(--fs-2xl);
	padding: 16px 20px 10px;
	right: 0;
	bottom: 80px;
	z-index: 1;
}

.speaker-main h3::after {
	content: none;
	width: 80px;
	height: 80px;
	position: absolute;
	display: block;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url('../img/dec_pin_01.svg');
	top: -70px;
	left: -10px;
}
#speaker-01 .speaker-main h3::after {
	background-image: url('../img/dec_pin_01.svg');
}
#speaker-02 .speaker-main h3::after {
	background-image: url('../img/dec_pin_03.svg');
	top: -10px;
	left: -65px;
}
#speaker-03 .speaker-main h3::after {
	background-image: url('../img/dec_pin_02.svg');
	left: -30px;
}
.speaker-main h4 {
	position: absolute;
	font-weight: bold;
	font-size: 24px;
	text-align: right;
	right: 60px;
	bottom: 0;
	line-height: 1.2;
}
.speaker-main h4 span {
	background-color: #000000;
	color: #fff;
	padding: 6px 12px;
}

.speaker-img {
	position: relative;
	width: 100%;
	max-width: 320px;
}
.speaker-img img {
	width: 100%;
	height: auto;
	top: 0;
	left: 0;
}
.speaker-info {
	position: relative;
	text-align: justify;
	padding-top: 40px;
	padding-right: 60px;
	font-size: var(--fs-xs);
}
.speaker-info h5 {
	position: relative;
	font-weight: bold;
	margin-bottom: 0.75em;
}
.speaker-info h5::after {
	content: '';
	display: block;
	height: 1px;
	position: absolute;
	inset: 0 0 1px 40px;
	margin: auto 0;
	background-color: #000000;
}
.speaker-info p {
	line-height: 1.3;
}
.speaker-info p + p {
	margin-top: 0.5em;
}
/* info */
.time-block {
	max-width: 800px;
	margin: 0 auto;
	border-top: 2px solid var(--red);
	margin-top: 16px;
	background-color: #ffffff;
}
.time-row:last-of-type {
}
.time-row {
    line-height: 1.4;
	display: flex;
	justify-content: start;
	margin: 0 auto;
}
.card-content {
	padding: 20px 40px;
}
.card-content .time-col p {
	font-size: 16px;
	line-height: 26px;
}
.time-col {
	width: 110px;
	flex-shrink: 0;
	text-align: left;
	opacity: 0.6;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-bottom: 1px solid #ccc;
	padding: 0.7em 0 0.4em 1em;

}

.time-col p {
	line-height: 1.3;
	font-weight: 300;
	font-size: var(--fs-xs);
	color: var(--brown);
	opacity: 0.8;
}
.event-col {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	width: 100%;
	position: relative;
}
.event-col.event-half {
}
.event-col h6 {
	color: #fffaa9;
}
.event-col p {
	line-height: 1.5;
}
.event-col > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0.7em 0em 0.4em 2em;
	border-bottom: 1px solid #ccc;
}
.event-col .row-3, .event-col .row-2 {
	position: absolute;
	border: 0;
	left: 50%;
}
.event-sub {
	background-color: var(--red);
	color: #fff;
	width: fit-content;
	font-size: var(--fs-2xs);
	padding: 4px 6px 2px 6px;
}
.event-title {
	color: var(--red);
	font-size: var(--fs-lg);
	font-weight: bold;
}
.event-person {
	font-size: var(--fs-lg);
	font-weight: bold;
}
.event-person span {
	font-size: var(--fs-xs);
	margin-left: 6px;
}
.row-indent {
	margin-left: 2em;
}

/* gift */
.gift-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 80px 60px;
}
#gift-sec .title-sub {
	margin-bottom: 1em;
}
.red-bar {
	background-color: var(--red);
	color: #fff;
	font-weight: bold;
	font-size: var(--fs-lg);
	width: fit-content;
	margin: 0 auto;
	padding: 0 12px;
}
#gift-sec .red-bar {
	margin-bottom: 2em;
}
.gift {
	position: relative;
	max-width: 400px;
}
.gift img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain
}
.gift h4 {
	position: relative;
	background-color: #000;
	color: #fff;
	font-weight: bold;
	font-size: 24px;
	padding: 10px 20px 8px 16px;
	margin-top: -40px;
	min-width: 80%;
	width: fit-content;
}
.gift h3 {
	position: absolute;
	background-color: var(--red);
	color: #fff;
	font-weight: bold;
	font-size: var(--fs-md);
	right: 0;
	top: 55%;
	padding: 10px 20px 8px;
}
.gift h3 span {
	font-size: var(--fs-2xl);
}
.gift p {
	font-size: var(--fs-xs);
	color: #999;
	padding: 0 16px;
}
.card {
	max-width: 675px;
	margin: 0 auto;
	padding: 36px 48px 36px;
	background-color: #ffffff;
	border-radius: 16px;
}
#gift-sec .card {
	margin-top: 4em;
}
/* signup */
#signup-sec.bg-glass {
	background-color: #dcdcdcbf;
}
#signup-sec .card {
	background-color: #fff;
	margin-top: 4em;
}
/* form */
.form-item {
	display: grid;
	grid-template-columns: 200px 1fr;
	margin-bottom: 1.4em;
}
.form-item.grid-1 {
	grid-template-columns: 1fr;
	gap: 0.4em;
}
.form-item > label {
	display: flex;
	align-items: center;
}

.form-item input,
.form-item .select,
.form-item textarea {
	width: 100%;
	padding: 10px 15px 8px;
	border-radius: 5px;
	border: 1px solid var(--brown-light);
	box-sizing: border-box;
	opacity: 1;
}
.form-item input:focus,
.form-item .select:focus,
.form-item textarea:focus,
.form-item input:hover,
.form-item .select:hover,
.form-item textarea:hover {
	opacity: 1;
}
.form-item .select {
	padding: 0 15px;
	position: relative;
    background: #fff;
}
.select select {
    background: none;
    width: 100%;
    border: none;
    height: 47px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-indent: 0.01px;
    text-overflow: ”;
    outline: none;
    box-sizing: border-box;
}
.select::after {
	content: "";
	border: 8px solid transparent;
	border-top: 10px solid var(--brown-light);
	border-bottom: 0;
	position: absolute;
	right: 15px;
	top: 20px;
}

label.required::after {
	content: "*";
	color: var(--red);
	padding-left: 3px;
}

.form-item input[type=radio],
.form-item input[type=checkbox] {
	display: inline;
	width: auto;
	position: absolute;
    opacity: 0;
}
.form-item .radio-label {
	margin-right: 1.2em;
}

.radio-label {
	display: inline-block;
}
.radio-label span {
	display: inline-block;
	position: relative;	
	border: 1px solid var(--pink-300);
	border-radius: 100%;
	height: 23px;
	width: 23px;
	transition: border .25s linear;
	-webkit-transition: border .25s linear;
	margin-bottom: -4px;
    margin-right: 7px;
    background: #fff;
}
.radio-label.checkbox span {
	border-radius: 5px;
}


input[type=radio]:hover + .radio-label span,
input[type=checkbox]:hover + .radio-label span {
  border: 1px solid var(--pink-500);
}

.radio-label span::before {
	display: block;
	position: absolute;
	content: '';
	border-radius: 100%;
	height: 15px;
	width: 15px;
	top: 4px;
	left: 4px;
	margin: auto;
	transition: background-color 0.25s linear;
	-webkit-transition: background-color 0.25s linear;
}
.radio-label.checkbox span::before {
	border-radius: 3px;
}
input[type=radio]:checked + .radio-label.checkbox span,
input[type=checkbox]:checked + .radio-label span {
	background-color: #666;
}

input[type=radio]:checked + .radio-label span::before{
  background: #666;
}

input[type=checkbox]:checked + .radio-label span::before,
input[type=radio]:checked + .radio-label.checkbox span::before {
  content: '';
    background: transparent;
    border-color: #fff;
    border-style: solid;
    border-width: 0px 3px 3px 0;
    width: 5px;
    height: 10px;
    border-radius: 0;
    transform: rotate(45deg);
    left: 7px;
    top: 3px;
}

/* stop sign in */
.stop-signin-block {
	background: rgba(255, 255, 255, 0.5);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	height: 100%;
	display: none;
	pointer-events: none;
	align-items: center;
	justify-content: center;
	padding-bottom: 600px;
}
.stop-signin-block.active {
	display: flex;
	pointer-events: auto;
}
#signup-sec {
	position: relative;
}
.stop-signin-block .card-block {
	border-radius: 5px;
	max-width: 400px;
	background-color: #000;
	color: #fff;
}

/* list */
.num-list {
	padding-left: 1.1em;
	text-indent: -1.1em;
	line-height: 1.3;
}
.num-list.tc {
	padding-left: 2em;
	text-indent: -2em;
}
.num-list li + li {
	margin-top: 0.4em;
}
.num-list h5 {
	text-indent: -1.9em;
}
.line-indent {
	padding-left: 1em;
	text-indent: -1em;
}

/* footer */
footer p {
	line-height: 1.5;
}
footer p + p {
	margin-top: 1em;
}
.bg-dark .red {
	color: #DB2121;
}
footer .alert-para {
	padding-top: 64px;
}
footer .alert-para hr {
	margin-top: 64px;
}
.logolinks {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 100px;
	padding: 32px 0;
}
.logolinks li {
	display: flex;
	align-items: center;
	gap: 32px;
}
/* right btns */
.hideontop {
	opacity: 0;
	pointer-events: none;
	transition: all 0.6s ease;
}
.hideontop.show {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(50px);
}
.hideontop.show:hover {
	opacity: 1;
}

/* fadein */
.fadein {
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 1s ease, transform 1s ease;
}
.fadein.show {
	opacity: 1;
	transform: translateY(0);
}
.fadein.nav-scrollspy {
	transition-delay: 0.4s;
}

/* card */
.card-group {
	position: relative;
}
.card-block {
	margin-bottom: 1em;
	top: 0;
	left: 0;
	width: 100%;
}
.card-block.active {
}

.card-header {
	border-bottom: 1px solid #93918d;
	padding: 10px 30px 10px 30px;
}
.card-content {
	padding: 30px;
}