* {
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

html {
    scroll-behavior: smooth;
}

img,
video {
    display: block;
    width: 100%;
    height: auto;
}

.clear {
    clear: both;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.5em;
    font-weight: 300;
    text-align: justify;
    word-wrap: break-word;
}


/*nav*/

nav {
    background-color: #ffcc5ff3;
    height: 3.5em;
    width: 100%;
    position: fixed;
    top: 0;
    box-shadow: rgba(129, 43, 3, 0.568) 0px 0px 10px;
}

nav ul {
    max-width: 1000px;
    padding: 0 100px;
    margin: 0 auto;
}

#nav_name {
    color: rgb(117, 55, 4);
    font-family: 'Noto Serif JP', serif;
    width: 25%;
}

nav ul #li_right li:nth-child(2) {
    width: 35%;
}

nav ul li {
    list-style: none;
    width: 30%;
    float: left;
    font-size: 1.2em;
    letter-spacing: 3px;
    margin: 0.7em auto;
}

nav ul li a {
    color: #ffffff;
    font-family: 'Noto Sans TC', sans-serif;
    text-decoration: none;
    transition: .1s;
    text-shadow: rgb(80, 37, 1) 0px 0px 7px;
    font-weight: 400;
    display: inline-block;
    -webkit-transition: .1s;
    -moz-transition: .1s;
    -ms-transition: .1s;
    -o-transition: .1s;
}

nav ul li a:hover {
    transition: .1s;
    font-size: 1.1em;
    -webkit-transition: .1s;
    -moz-transition: .1s;
    -ms-transition: .1s;
    -o-transition: .1s;
}

nav ul #li_right {
    float: right;
    width: 75%;
    text-align: right;
}

nav ul #li_right li {
    float: right;
}


/**/


/*漢堡選單*/

#hamburger {
    display: none;
}

header {
    width: 100%;
    height: 60px;
    line-height: 60px;
    position: fixed;
    top: 0;
    z-index: 10000;
}

#nav-icon {
    width: 30px;
    height: 30px;
    position: relative;
    float: right;
    top: 10px;
    right: 30px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#icon_bg {
    background-color: #ffcc5ff3;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
    height: 50px;
    width: 50px;
}

#nav-icon span {
    margin-left: 10px;
    margin-top: 14px;
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon span:nth-child(2) {
    top: 10px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon span:nth-child(3) {
    top: 20px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 0px;
    left: 4px;
}

#nav-icon.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

#nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 21px;
    left: 4px;
}

.menu {
    z-index: 1000;
    font-size: 1.2em;
    width: 100%;
    background-color: #ffcc5f;
    position: fixed;
    text-align: center;
    top: 0px;
    box-shadow: rgba(129, 43, 3, 0.568) 0px 0px 7px;
}

.menu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    list-style-image: none;
}

.menu ul li {
    padding: 15px 0;
    border-top: #ffffff 1px dashed;
}

.menu ul li a {
    color: white;
    text-shadow: rgb(119, 54, 0) 0px 0px 8px;
    text-decoration: none;
    display: block;
    transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
}

.menu ul li a:hover {
    font-size: 1.2em;
    transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
}

.menu ul li:first-child {
    color: rgb(117, 55, 4);
    font-family: 'Noto Serif JP', serif;
    border: none;
}


/**/


/*內文區塊*/

#fv {
    margin-top: -3.5%;
}

.CP {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 100px;
    border-left: rgb(224, 224, 224) solid thin;
    border-right: rgb(224, 224, 224) solid thin;
    line-height: 2em;
    padding-bottom: 4rem;
}

#title {
    margin: 2em 0;
    text-align: start;
}

#title hr {
    margin-top: 1.3em;
}

.part p {
    margin-bottom: 2em;
}



/*內文文字設定*/

#title_s {
    background-color: black;
    color: white;
    display: inline-block;
    padding: 0em 1.3em;
    margin-bottom: .6em;
    font-weight: 400;
    line-height: 2em;
}

#title_l {
    font-size: 2.3em;
    line-height: 1.4em;
    font-family: 'Noto Serif JP', serif;
}

#title_date {
    color: rgb(140, 140, 140);
    font-weight: 400;
    font-size: .9em;
    text-align: end;
}

.CP a,
.txt_bold,
.txt_orange,
.txt_pink,
.txt_red,
.headline {
    font-weight: 500;
}

.CP a {
    color: rgb(252, 64, 31);
    text-decoration: none;
}

.CP a:hover {
    color: rgb(255, 107, 81);
}

.txt_big {
    font-size: 1.2em;
}

.txt_orange {
    color: rgb(243, 146, 35);
}

.txt_pink {
    color: rgb(255, 91, 132);
}

.txt_red {
    color: rgb(252, 64, 31);
}

.headline {
    font-size: 1.35em;
}


/**/


/**/


/*RWD*/

@media screen and (max-width: 1200px) {
    body {
        font-size: 1.4em;
    }
}

@media screen and (max-width: 1000px) {

    .CP,
    nav ul {
        padding: 3rem 70px;
        line-height: 1.8em;
    }

    nav {
        height: 3em;
    }

    nav ul li {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 850px) {
    nav {
        display: none;
    }

    #hamburger {
        display: block;
    }

    #fv {
        margin-top: 0;
    }

    #title {
        margin: 2em 0;
    }

    .part p {
        margin-bottom: 1.7em;
    }

    #title_l {
        font-size: 2em;
    }

    .headline {
        font-size: 1.3em;
    }
}

@media screen and (max-width: 700px) {
    body {
        font-size: 1.3em;
    }

    .CP {
        padding: 3rem 50px;
        line-height: 1.8em;
    }

    .part {
        margin-bottom: 4em;
    }

    #title_l {
        font-size: 1.8em;
    }

    .txt_big {
        font-size: 1em;
    }
}

@media screen and (max-width: 600px) {
    .CP {
        padding: 3rem 30px;
        line-height: 1.7em;
    }

    #title {
        margin: 1.5em 0;
    }

    #title_s {
        background-color: black;
        color: white;
        display: inline-block;
        padding: 0em 1.3em;
        margin-bottom: .6em;
        font-weight: 400;
        line-height: 1.8em;
        font-size: .9em;
    }

    #title_date {
        font-size: .8em;
    }

    #title hr {
        margin-top: 1m;
    }

    .headline {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 450px) {
    body {
        font-weight: 400;
        font-size: 1.2em;
    }

    .CP {
        padding: 3rem 20px;
        line-height: 1.7em;
    }

    .part {
        margin-bottom: 2em;
    }

    #title_l {
        font-size: 1.6em;
    }
}

.Title {
    font-weight: 600;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.videobox {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
}

.videobox iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
}

.highlight {
    background: #fffb88;
}

.btn_link {
    display: inline-block;
    padding: 1% 2%;
    background: #f00;
    color: #fff;
}

.btn_link:hover {
    animation-play-state: paused;
    opacity: .8;
}

.shake {
    animation: shake 1s infinite ease-in-out;
}

@keyframes shake {
    0% {
        transform: translateX(0%)
    }

    50% {
        transform: translateX(5%)
    }

    100% {
        transform: translateX(0%)
    }
}

@media (max-width:576px) {
    .Title {
        font-size: 1.5rem;
    }
}

.red {
    color: #f00;
}

.bolder {
    font-weight: 700;
}

.w-60 {
    width: 60%;
}

p.mb-0 {
    margin-bottom: 0;
}