/*樣式boxA by PeggyH 20160729 start*/

body,html {
    /* important
    height: 100%;*/
}

#p_001, #p_003 {
    background: #f3f3f3;
}

.scrolling {
    /*min-height: 50vh;*/

    padding: 20px 0;
    position: relative;
}

.scrolling div {
    /*text-align: left;*/
    margin: 20px auto;
    width: 95%;
    /*position: absolute;
  top:50%;
  left: 50%;
  transform:translate(-50%,-50%);*/
}

.scrolling h1 {
    font-weight: 500;
    line-height: 1.8;
    margin: 0px 40px;
}

.scrolling h2 {
    color: #1574b2;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.5px;
    border-top: 2px solid #1574b2;
    border-bottom: 2px solid #1574b2;
    line-height: 1.8;
    letter-spacing: 1.5px;
    padding: 5px 50px;
    margin: 40px auto;
    display: table;
    position: relative;
}
.scrolling h2::before {
    content: '';
    width: 55px;
    height: 55px;
    background: url('../images/deco_01.png') center center/100%;
    position: absolute;
    right: -5px;
    top: -30px;
    transform: rotate(10deg);
}
.scrolling h2::after {
    
    width: 100%;
    height: 65px;
    border-radius: 50px;
    border: 2px solid #35a0d1;
    font-weight: bold;
    position: absolute;
    left: calc(50% + 5px);
    top: -6px;
    transform: translateX(-50%);
    z-index: -1;
}
.scrolling h2 a {
    color: #1d80ae;
}

@keyframes rotate-icon {
    0% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(-10deg);
    }
}

.scrolling h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    margin: 50px auto 30px;
    padding: 2px 30px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    display: table;
    line-height: 1.8;
    text-align: center;
    background: #4e93c1;
}

.scrolling h5 {
    color: #E03F19;
    font-weight: 500;
    line-height: 1.8;
    margin: 60px 40px 0px 40px;
}

.scrolling p {
    letter-spacing: 1.2px;
    line-height: 1.8;
    font-size: 22px;
    font-weight: 400;
    padding: 20px 0px;
    text-align: justify;
    margin: 0px 40px 0px 40px;
    color: #434343;
}
.scrolling p span {
    color: #fff;
    background: #797979;
    font-weight: bold;
    padding: 0 15px;
    display: inline-block;
    margin: 0 10px 0 0;
    letter-spacing: 2px;
    border-radius: 50px;
}
.scrolling p.note {
    font-size: 18px;
    padding: 0 0 20px 0px;
    margin: 0;
    color: #777777;
    text-align: center;
}
.scrolling p.small {
    font-size: 1.2em;
    line-height: 2em;
}

.scrolling p b {
    display: inline-block;
    padding: 2px 15px 3px;
    margin: 0 10px 10px 0;
    background: rgb(84 181 198);
    color: #ffffff;
    border-radius: 30px;
}

.scrolling ol {
    list-style-type: auto;
    padding-left: 0;
}

.scrolling li {
    letter-spacing: 1.2px;
    line-height: 1.8;
    font-size: 20px;
    font-weight: 400;
    padding: 3px 0;
    text-align: justify;
    margin: 0px 40px 0px 40px;
    color: #434343;
}

.table {
    background: rgba(255, 255, 255, 0.8);
    width: 95%;
    max-width: 1200px;
    margin: 0 auto 20px;
    font-size: 20px;
    letter-spacing: 0.5px;
    line-height: 1.8em;
    border: 8px solid #b6b5b2;
}
.table.gold {
    border: 8px solid #d0b36f;
}
.table b {
    width: 150px;
    background: #f5ae0d;
    color: #333;
    display: block;
    padding: 0;
    margin: 5px auto;
}
.table tr th, .table tr td {
    text-align: center;
    vertical-align: middle;
    border: 1px solid #b6b5b2;
}
.table tr td{
    text-align: left;
}
.table .thead-dark th {
    background-color: #ab8142;
    border-color: #eee;
}
.table th {
    background-color: #666461;
    color: #fff;
    line-height: 1.5em
}
.table tr ol {
    margin: 0;
}
.table.gold th {
    background-color: #f3eedd;
    color: #202332;
    line-height: 1.5em
}
.table td {
    line-height: 1.6em;
}
.table.center tr td{
    text-align: center;
}
@media screen and (max-width: 1024px) {
    .scrolling h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .scrolling h2::after {
        border: 1.5px solid #19367a;
    }
    .scrolling p {
        margin: 0 15px;
        font-size: 20px;
        letter-spacing: 1px;
    }
}
@media screen and (max-width: 768px) {
    .table tr th, .table tr td {
        font-size: 12px;
        padding: 5px;
    }
    .table td {
        line-height: 1.4em;
    }
}
@media screen and (max-width: 600px) {
.scrolling div {
    width: 95%;
}

.scrolling {
    padding: 20px 0 0;
}

.scrolling div {
    margin: 0 auto;
}

.scrolling h1 {
    font-weight: 500;
    line-height: 1.4;
    margin: 20px 0;
}

.scrolling h2 {
    /* color: #242d77;
    color: #A21F23; */
    letter-spacing: 1px;
    font-size: 22px;
    line-height: 1.8;
    padding: 5px 30px;
}

.scrolling h2::before {
    width: 40px;
    height: 40px;
    top: -25px;
}
.scrolling h3 {
    font-size: 17px;
    font-weight: 500;
    margin: 10px auto 20px;
    line-height: 1.8;
    border-radius: 20px;
}

.scrolling h5 {
    font-weight: 500;
    margin: 0px auto;
    line-height: 1.8;
}

.scrolling img {
    max-width: 100%;
}

.scrolling p {
    line-height: 1.8;
    font-size: 16px;
    font-weight: 400;
    padding: 15px 0px;
    text-align: justify;
    margin: 0px auto;
    color: #595959;
}
.scrolling p.note {
    font-size: 16px;
}
.scrolling ul, ol {
    padding-left: 0px;
}
.intro_2 {
    font-size: 16px;
    font-weight: normal;
}
article.caveat p {
    font-size: 16px;
    line-height: 1.6;
}
}
@media screen and (max-width: 450px) {
    .scrolling h2 {
        font-size: 20px;
        line-height: 1.6;
        padding: 5px 25px;
    }
