@charset "utf-8";
/* CSS Document */

.no-webp body {
    background-image: url(../img/main-bg.jpg);
    background-attachment: fixed;
}
.webp body {
    background-image: url(../img/main-bg.webp);
    background-attachment: fixed;
}
body {
    overflow-x: hidden;
}
body,td,th {
	/* 字型 */
    font-family: 'Noto Sans JP', 'Noto Sans TC';
}
a:link {
	color: #000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #000;
}
a:hover {
	text-decoration: none;
	color: #000;
}
a:active {
	text-decoration: none;
	color: #000;
}

/* --------------------------- */
/* GOTOP */
/* --------------------------- */
#gotop {
	position: fixed;
	border-radius: 10px;
	width: 50px;
	height: 50px;
	right: 30px;
	bottom: 30px;
	color: #fff;
	font-size: 20px;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
	z-index: 9999;
	text-align: center;
	padding-top: 8px;
	display: none;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
}
#gotop:hover {
	background: rgba(0, 0, 0, 0.7);
}
/* --------------------------- */
/* GOTOP */
/* --------------------------- */

/* --------------------------- */
/* SIDEMENU */
/* --------------------------- */
.sidemenu {
    position: fixed;
    top: 25%;
    right: 30px;
    text-align: center;
    z-index: 999;
}
.side-btn {
    border: 2px white solid;
    font-size: 22px;
    line-height: 26px;
    padding: 20px 12px;
    margin-top: 10px;
    background-color: #e41f13;
    color: white;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
}
.side-btn:hover {
    padding: 25px 12px;
}
.sidemenu-m {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    width: 65%;
}
.sidebtn-m {
    background-color: #e41f13;
    color: white;
    font-size: 20px;
    padding: 5px 0;
    text-align: center;
    margin-top: 5px;
    border: 2px white solid;
}
/* --------------------------- */
/* SIDEMENU */
/* --------------------------- */

/* --------------------------- */
/* NAVBAR */
/* --------------------------- */
.navbar {
	height: 120px;
	background-color: #e41f13;
    border-bottom: 1px white solid;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
}
@media (max-width:768px) {
.navbar {
	height: auto;
}
}
.navbar-s {
    height: 90px;
}
@media (max-width:768px) {
.navbar-s {
    height: auto;
}
}
.navbar.main-navbar .nav-link {
	color: #fff;
	padding: 0 15px;
	font-size: 18px;
	letter-spacing: 1px;
	position: relative;
	transition: all .5s;
	-webkit-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
}
.navbar.main-navbar .nav-link:after {
	content: ' ';
	position: absolute;
	bottom: -19px;
	left: 50%;
	transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	height: 3px;
	width: 0;
	background-color: #ff0;
	transition: all .5s;
	-webkit-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
}
.navbar.main-navbar .nav-link:hover {
	color: #ff0;
}
.navbar.main-navbar .nav-link:hover:after {
	width: 50%;
}
.navbar.main-navbar .nav-item.active .nav-link {
	color: #ff0;
}
.navbar.main-navbar .nav-item.active .nav-link:after {
	width: 50%;
}
@media screen and (max-width: 990px) {
.navbar.main-navbar .navbar-collapse {
	margin-top: 20px;
	margin-bottom: 20px;
}
.navbar.main-navbar .navbar-nav .nav-item a {
	display: inline-block;
	padding: 10px 0;
}
.navbar.main-navbar .navbar-nav .nav-item a:after {
	display: none;
}
}
.navbar-toggler {
	background-color: white;
}
.navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(28, 28, 28, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
}
@media (max-width:768px) {
.navbar-brand img {
    width: 210px;
}
}
.nav-link {
    cursor: pointer;
}
/* --------------------------- */
/* NAVBAR */
/* --------------------------- */

/* --------------------------- */
/* COMMON */
/* --------------------------- */
.icon-i {
    text-align: center;
}
.chapter-title {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin: 5px 0 30px;
}
.text-yellow {
    color: yellow!important;
}
.ch-des {
    font-size: 16px;
}
.nav-link {
    text-align: center;
}
@media (max-width:768px) {
.nav-link {
    text-align: left;
}
}
/* --------------------------- */
/* COMMON */
/* --------------------------- */

/* --------------------------- */
/* BANNER */
/* --------------------------- */
.banner-area {
	padding-top: 120px;
}
@media (max-width:768px) {
.banner-area {
	padding-top: 80px;
}
}
.banner-bg {
    position: relative;
    overflow: hidden;
}
/* --------------------------- */
/* BANNER */
/* --------------------------- */

@media (min-width:576px) {
.modal-dialog {
    max-width: 1140px;
	width: 1140px!important;
	margin: 30px auto;
} 
}
@media (max-width:768px) {
.modal-dialog {
    max-width: 90%;
	width: 90%!important;
	margin: 30px auto;
} 
}
.modal-header {
    padding: 30px 50px 10px;
    border-bottom: none;
}
.modal-body {
    padding: 0 50px;
    font-size: 18px;
    text-align: justify;
}
.modal-footer {
    padding: 20px 50px 30px;
    border-top: none;
}
.modal-footer button {
    margin: 20px auto 0;
}
@media (max-width:768px) {
.modal-header {
    padding: 30px 30px 10px;
}
.modal-body {
    padding: 20px;
}
.modal-footer {
    padding: 20px 30px 30px;
}
}
.modal-title {
    font-size: 30px;
}
@media (max-width:768px) {
.modal-title {
    font-size: 22px;
} 
}
.modal-body span {
    font-weight: 600;
    margin: 0 5px;
    color: #e41f13;
    text-decoration: underline;
}
.about-intro {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 30px;
}
@media (max-width:768px) {
.about-intro {
    font-size: 22px;
}
}
.about-intro img {
    margin-right: 15px;
    width: 50px;
}
.about-ending {
    font-size: 26px;
    font-weight: 600;
    margin-top: 30px;
}
@media (max-width:768px) {
.about-ending {
    font-size: 22px;
}
}

/* --------------------------- */
/* FORM */
/* --------------------------- */
.form-area {
    z-index: 1040;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.3);
    display: none;
}
.content-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-45%);
}
.form-note {
    padding: 20px;
    background-color: white;
    border: 2px #e41d13 dashed;
    border-radius: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #e41f13;
    margin-bottom: 50px;
}
@media (max-width:768px) {
.form-note {
    text-align: justify;
}
}
.close-btn {
    position: absolute;
    top: 8px;
    right: 20px;
    font-size: 28px;
    padding: 0 0 30px 30px;
    cursor: pointer;
}
.close-btn:hover {
    color: #333;
}
.close-btn .fa{
    background-color: #fff
}
/* --------------------------- */
/* FORM */
/* --------------------------- */

/* --------------------------- */
/* LIST */
/* --------------------------- */
.list-area {
    padding: 0 0 100px;
}
.list-category {
    font-size: 30px;
    font-weight: 600;
    padding: 100px 0 5px;
    border-bottom: 2px solid black;
    margin-bottom: 20px;
}
.list-category i {
    margin-right: 15px;
    color: #e41f13;
}
.file-box {
    background-color: white;
    padding: 10px 30px;
    border: 1px #ccc solid;
    border-radius: 10px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 24px;
    font-weight: 600;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
}
@media (max-width:768px) {
.file-box {
    padding: 10px 20px;
    font-size: 20px;
}
}
.file-box:hover {
    background: #eee;
}
.file-icon {
    width: 70px;
    margin-top: 10px;
    margin-right: 15px;
}
@media (max-width:768px) {
.file-icon {
    width: 50px;
}
}
.video-link {
    margin-top: 10px;
    font-size: 18px;
    text-decoration: underline;
    text-align: right;
}
.video-link i {
    margin-right: 8px;
}
/* --------------------------- */
/* LIST */
/* --------------------------- */

/* --------------------------- */
/* FOOTER */
/* --------------------------- */
.footer-box {
    background-color: #1c1c1c;
    color: white;
    font-size: 16px;
    text-align: center;
    padding: 25px 0;
}
@media (max-width:768px) {
.footer-box {
    font-size: 15px;
    padding: 25px 0 150px;
}
}
/* --------------------------- */
/* FOOTER */
/* --------------------------- */

.file-box{
    position: relative;
}
.file-box-a{
    
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}