/*樣式boxA by PeggyH 20160729 start*/

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

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

    padding: 20px 0;
    position: relative;
}

.scrolling div {
    /*text-align: left;*/
    margin: 20px auto;
    max-width: 1400px;
    width: 100%;
    /*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: #47096b;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.8;
    letter-spacing: 1.5px;
    margin: 30px 0 20px;
    padding: 120px 0 100px!important;
    text-align: center;
    position: relative;
    
}
.scrolling h2 span {
    display: table;
    padding: 5px 20px;
    margin: 0 auto;
    border-top: 1px solid #47096b;
    border-bottom: 1px solid #47096b;
}

.scrolling h2::before {
    content: '';
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    animation: wave2 1s infinite ease;
}
@keyframes wave2 {
    0% {
        top: 0;
    }
    50% {
        top: 5px;
    }
    100% {
        top: 0;
    }
}
.scrolling h2.icon-01::before {
    background: url('../images/icon-01.png') center center/100% no-repeat;
}
.scrolling h2.icon-02::before {
    background: url('../images/icon-02.png') center center/100% no-repeat;
}
.scrolling h2.icon-03::before {
    background: url('../images/icon-03.png') center center/100% no-repeat;
}
.scrolling h2.icon-04::before {
    background: url('../images/icon-04.png') center center/100% no-repeat;
}

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

.scrolling h2::after {
    content: '';
    width: 1px;
    height: 80px;
    background: #47096b;
    position: absolute;
    left: 50%;
    bottom: 0;
}
#p_001, #p_003, #p_005 {
    background: #fff; 
}

.scrolling h3 {
    color: #fff;
    background: linear-gradient(to bottom, #7e6337 0%,#b68d4c 50%,#c4974a 100%); ;
    font-size: 24px;
    font-weight: 500;
    margin: 50px auto 30px;
    padding: 2px 30px;
    border-radius: 50px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    display: table;
    line-height: 1.8;
    text-align: center;
}

.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: 20px;
    font-weight: 400;
    padding: 20px 0px;
    text-align: justify;
    margin: 0px 40px 0px 40px;
    color: #434343;
}
.scrolling p span {
    color: #4b43be;
    font-weight: 500;
}
.scrolling p.note {
    font-size: 18px;
    padding: 0 0 20px 0px;
    margin: 0;
    color: #777777;
    text-align: center;
}

.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 ul, ol {
    list-style-type: disc;
    padding-left: 60px;
}

.scrolling li {
    letter-spacing: 1.2px;
    line-height: 1.8;
    font-size: 20px;
    font-weight: 400;
    padding: 0px 0px;
    text-align: justify;
    margin: 0px 40px 0px 25px;
    color: #777777;
}
.caveat {
  margin: 0;
  background-color: #ddd;
}
.caveat p {
  margin: 0;
  line-height: 1.8;
  font-size: 18px;
}
@media screen and (max-width: 499px) {
  .caveat p {
    font-size: 12px;
  }
}
.table {
    background: rgba(255, 255, 255, 0.8);
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 20px;
    letter-spacing: 0.5px;
    line-height: 1.8em;
}
.table b {
    background: #5181ad;
    border: 1px solid #385977;
    color: #fff;
    display: inline-block;
    padding: 0 10px;
    margin: 5px;
}
.table tr th, .table tr td {
    text-align: center;
    vertical-align: middle;
}
.table .thead-dark th {
    background-color: #6d5a2e;
    border-color: #eee;
}
.table th {
    background-color: #c9c1ab;
    color: #463f30;;
    line-height: 1.5em
}
.table td {
    line-height: 1.6em;
}
@media screen and (max-width: 1024px) {
    .scrolling h2 {
        font-size: 28px;
        margin: 20px auto 10px;
    }
    .scrolling p {
        margin: 0 15px;
    }
}
@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 {
    font-size: 24px;
}

.scrolling h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 10px 0 20px;
    line-height: 1.8;
}

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

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

.scrolling p {
    letter-spacing: 1.2px;
    line-height: 1.8;
    font-size: 18px;
    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: 18px;
    font-weight: normal;
}

}

