@charset "utf-8";

/* CSS Document */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,dl, dt, dd, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
blockquote, q {
    quotes: none;
}
blockquote{
    margin-inline-start: 20px;
    margin-inline-end: 20px;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}


body {
    width: 100%;
    max-width: 100%;
    overflow-x:hidden;
    font-size: 100%;
    font-family: 'PingFangTC-Regular', 'Microsoft JhengHei', Airal !important;
}

table {
    font-size: 100%;
}

p {
    padding: 3%;
    line-height: 1.5;
    -webkit-margin-before: .5em;
    -webkit-margin-after: .5em;
}

big {
    font-size: 105%;
    font-weight: bold;
    letter-spacing: -1px;
    margin: 0 5px;
}

small{
    font-size: 90%;
    letter-spacing: 0;
}

@media (min-width: 415px){
    p {
        padding: 10px 30px;
    }
}

img,
object,
embed,
video{
    max-width: 100%;
    border:0;
    outline: 0;
}

a, a:link, a:hover, a:focus, a:active, a:visited{
    color: #ED174C;
}

ul.a {list-style-type: disc;}
ul.b {list-style-type: circle;}
ul.c {list-style-type: square;}
ol.c {list-style-type: upper-roman;}
ol.d {list-style-type: lower-alpha;}

ul.a li {
    line-height: 1.5;
}

.hl{
    display: inline;
    background-color: yellow;
    color:red;
}

.css-table {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    margin: 10px 30px;
    border: 1px solid #000;
}

.tr {
    display: flex;
}

.td {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25%;
    padding: .5rem;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}

.yellow {
    background: rgb(255,242,204);
}

.green {
    background: rgb(226,239,217);
}

.orange {
    background: rgb(251,228,213);
}

.td.left {
    align-items: flex-start;
}

.nobdr{
    border-right: 0;
}

.nobdm{
    border-bottom: 0;
}


.clearfix {
    clear: both;
    margin: 2rem 0;
}

#head {
    display: none;
}

@media(max-width: 414px){
    .css-table{
        margin:unset;
    }
    #head {
        display: block;
        width: 100%;
        background: url(img/logo.gif) #FFFFFF no-repeat center center;
        text-align: right;
        padding-top: 15px;
        margin: 0;
        height: 70px;
        position: relative;
        top: 0;
        border-bottom: 1px solid #EFEFEF;
    }
    blockquote {
        margin-block-start: 0;
        margin-block-end: 0;
        margin-inline-start: 0;
        margin-inline-end: 0;
    }
    .td {
        font-size: 90%;
        padding: .25rem;
        align-items: flex-start;
    }

    .css-table .tr .td:nth-child(2){
        width: 17%;
    }
}


.wrapper {
    position: relative;
    width: 100%;
    max-width: 414px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.gohome-btn {
    position: absolute;
    top: 10px;
    left: 50%;
    display: block;
    width: 85px;
    float: left;
    margin-left: -42.5px;
}

.gohome-btn img {
    width: 100%;
}

.footer-down {
    background-color: #FFF;
    height: auto;
    width: 100%;
    color: #5f5f5f;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    padding: 10px 0;
    position: relative;
    z-index: 2;
}

.footer-copy {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    text-align: center;
    padding: .5rem 0;
    border-top: 1px solid #bbb;
    background-color: #fff;
}

.copy {
    color: #bbb;
    font-size: 70%;
    line-height: 1.5em;
    padding: unset;
}

.footer-copy a, .footer-copy a:link, .footer-copy a:hover, .footer-copy a:active, .footer-copy a:visited{
    color: #bbb;
    text-decoration: none;
}

/* 行動版面: 480px 以下。 */

.gridContainer {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0px auto;
    margin-left: auto;
    margin-right: auto;
    padding-top: 2rem;
}

@media (max-width: 414px){
    .gridContainer {
        max-width: 100%;
        padding-top: unset;
    }
}

.content{
    position: relative;
}

.floatlayer {
    position: absolute;
    top: 100px;
    right: .5rem;
    z-index: 9999;
    line-height: .5;
}

.shareb {
    width: 2.25rem;
    margin-right: .25rem;
}

h1{
    font-size: 180%;
    line-height: 150%;
    text-align: center;
}
h2{
    font-size: 150%;
    line-height: 150%;
    text-align: center;
}
h3{
    font-size: 125%;
    line-height: 150%;
    text-align: center;
}

.mainttl{
    text-align: center;
    clear: both;
    padding: .5rem 0;
    font-weight: bold;
}

.subttl{
    font-weight: 700;
    padding: 10px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    padding-top: 30px; 
    height: 0; 
    overflow: hidden;
    clear:both;
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.logo_amway {
    width: auto;
    height: 34px;
    vertical-align: middle;
}
@media (max-width: 480px){
    .footer-down {
        font-size: 12px;
    }
    .logo_amway, .footer_logo {
    height: 20px;
    }
}