@charset "utf-8";
/* CSS Document */
.P2-bg{
    background: url("images/P2/P2_pc.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    max-width: 100%;
    padding: 0;
    margin: 0;
    height: 600px;
    position: relative;
}
.P2-mbbg{
    background: url("images/P2/P2_mb.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    max-width: 100%;
    padding: 0;
    margin: 0;
    height: 500px;
    position: relative;
}
.P2-title{
    position: relative;
    top:10vw;
}
@media (max-width:990px){
    .P2-title{
        top:20vw;
        margin: 0 10px;
    }   
}

/*主視覺背景動態*/
.area{
    background: white;
    width:100%;
    height:100%;
}
.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    border-radius: 99;
    background: #c9ebe9;
    animation: animate 25s linear infinite;
    bottom: -150px;
}
.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}
.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}
.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}
.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}
.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}
.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}
.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}
.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}
.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}
.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}
@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 25%;
    }
    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 100%;
    }
}


/*end主視覺背景動態*/
/*數位會員身分介紹*/
.introduce-ara{
    background-color: white;
    border-radius: 10px;
    padding: 22px 20px;
    width: calc( 100% - 12%);
    margin: 10px auto;
    display: grid;
    grid-template-columns: 20% 70%;
    align-items: center;
    justify-items: start;
}
.tab_css{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    margin-bottom:3rem;
}

.tab_css input{
    display:none;
}

.tab_css label{
    margin: 0 5px 0 0;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 5px;
    background: #acacac;
    font-size: 24px;
    text-align: center;
    width: 30%;
    color: #343333;
}
.tab_css .tab_content{
    order:1;
    display: none;
    width:100%;
    line-height: 1.6;
}
.tab_css input:checked + label, .tab_css label:hover{
    font-weight: bold;
    background: #00a2a3;
    color: white;
}
.tab_css input:checked + label + .tab_content{
    display: initial;
}
.modal-content {
    border: 10px solid #e4c87e;
}
.popup-img .close {
    color: #00a2a3;
    font-size: 20px;
    cursor: pointer!important;
    position: absolute;
    left: 96%;
    top: 3%;
}

.popup-img>img,.popup-img-mb>img{
    background-size: auto;
    background-repeat: no-repeat;
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
}
@media (max-width:1280px){
.tab_css label{
        width: 38%;
    }
}
@media (max-width:1024px){
    .tab_css label{
        width: 45%;
    }
}
@media (max-width:757px){
    .tab_css label{
        width: 80%;
    }
}
@media (max-width:575px){
    .introduce-ara {
    width: 100%;
    grid-template-columns: 25% 75%;
    }
}
@media (max-width:480px){
    .tab_css{
        justify-content: space-evenly;
    }
    .tab_css label{
        font-size: 22px;
    }
    
}
@media (max-width:375px){
    .introduce-ara {
        width: 100%;
        grid-template-columns: 25% 75%;
        padding: 22px 14px;
    }
.tab_css{
        justify-content: center;
    }
.tab_css label{
        width: 100%;
        font-size: 2.1rem;
    }
}
.section_block_Ctbcclub{
    background-image: url(images/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    max-width: inherit;
    padding: 0;
    min-height: 720px;
}
.section_block_8-myway{
    padding: 0;
    position: relative;
}
.myway_title{
    background-color: white;
    color: #00a2a3;
    border-radius: 10px 10px 10px 10px;
    padding: 1.4rem 1.2rem;
    text-align: center;
    margin: 0 auto 8px;
}
.myway_wd{
    background-color: white;
    padding: 2rem; 
    margin: 0 auto;
    border-radius: 10px;
}
.way-wd{
    display: flex;
    margin: 0 auto;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    border-bottom: 0.8px solid #a0a0a0;
    padding:20px 0px;
    margin: 0px 40px;
    line-height: 1.5;
}
.wd-text-1{
    width: 10%;
}
.wd-text-2{
    width: 70%;
}
.wd-bnt{
    width: 20%;
    border: 2px solid #FF5441;
    background-color: #FF5441;
    border-radius: 50px;
    color: white;
    align-items: center;
    margin: 0 auto;
    height: auto;
    max-width: 160px;
    font-size: 18px;
    padding:10px;
}
.wd-bnt:hover{
    border: 2px solid #FF5441;
    background-color: white;
}
.wd-bnt:hover a{
    color: #FF5441;
}
.wd-bnt i,.myway-notice i{
    margin-left: 8px;
}
.myway-notice{
    border:none;
    background-color: transparent;
    padding-top:20px;
}
.notice-dialog{
    max-width: 980px !important;
    height: auto;
}
.text-notice{
    padding: 20px;
}
.text-notice h1{
    line-height:1.2;
    padding-bottom: 10px;
    color: #00a2a3;
    font-weight: 600;
    font-size: 20px;
}
.text-notice h2{
    padding-bottom: 10px;
    color: #3f3f3f;
    font-weight: 400;
    font-size: 18px;
    line-height:1.5!important;
}
.text-notice h3{
    color: #3f3f3f;
    font-weight: 600;
    font-size: 20px;
    line-hight:1.2;
}
.text-notice p{
    line-height:1.5!important;  
    padding-bottom: 10px;
    color: #3F3F3F;
}
.text-notice ul li{
    line-height:1.5;  
    color: #3f3f3f;
    font-size: 16.5px;
}
@media (max-width: 575px){
    .myway_wd{
        padding: 1rem 1.5rem;
    }
    .way-wd{
        flex-direction: column;
        padding: 18px 0px 30px 0px;
    }
    .wd-text{
        width: 100%;
    }
    .wd-bnt{
        width: 100%;
        margin-top: 20px
    }
    .text-notice{
        padding: 1rem;
    }
    .popup-img .close {
    color: #00a2a3;
    font-size: 20px;
    cursor: pointer!important;
    position: absolute;
    left: 92%;
    top: 2%;
    }
}
.tab-inner{
    padding:15px;
    height:50px;
}
.BFF-ara{
    background-color: White;
    border-radius: 10px;
    position: relative;
    padding: 30px 12px 10px 12px;
    margin: 8px;
    width: 30%;
    height: auto;
}
.OP-bg{
    width:1280px;
    margin: 0 auto;
}
.row-OP{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;    
}
.modal-header {
    border-bottom: none;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}
.notice-dialog .close {
    color: #00a2a3;
    font-size: 20px;
    cursor: pointer!important;
}
.content-OP{
    margin: 40px auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: 800px;
}
.content-OP h2{
    background-color: #00a1a3;
    padding: 10px 16px;
    border-radius: 50px;
    color: white;
    width: 50%;
    margin: 0 auto;
}
@media (max-width: 575px) {
    .content-OP{
        flex-direction:column;
        margin: 0px auto;
    }
    .content-OP img{
        margin-bottom: 30px;
    }
}
.BF-tab{
    text-align: center;
    padding: 20px;
    border-radius: 99px;
    width: 400px;
}
.BF-tab-span{
    font-size: 16px !important;
    font-weight: 400;
}
.BF-tab a{
    color:#007172;
    font-size: 3.2rem;
    text-align: center;
}
.BF-tab:active{
    background-color: #C9EBE9;
}
.BF-tab:active a{
    color:#00a2a3;
}
.notice a{
    color:#00a2a3;
}
.gift-ara{
    width: 90%;
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    margin: 0 auto;
}
.gift-wd{
    display: grid;
    margin: 0 auto;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    border-bottom: 2px dashed #00a2a3;
    padding: 20px 0px;
    line-height: 1.5;
    margin: 0 30px;
    grid-template-columns: auto 65% 25%;
    justify-items: start;
}
/*.gift{
    width: 28%;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    position: relative;
}
.gift-text{
    min-height: 90px;
}*/
.gift-imgbnt{
    width: 30%;
}
.gift-text-1{
    width: 70%;
}
.gift-wd img{
    padding-right: 20px;
}
.gift_btn,.gift_red {
  text-align: center;
  width: 100%;
}
.gift_btn > a {
  border: 2px solid #007172;
  background-color: #007172;
  border-radius: 50px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  margin: 0 auto;
  height: 40px;
  width: 100%;
  max-width: 160px;
  font-size: 18px;
}
.gift_btn > a:hover,
.gift_btn > a:active,
.wd-ara:hover .gift_btn > a{
  color: #007172;
    background-color: white;
}

.gift_red > a {
  border: 2px solid #FF5441;
  background-color: #FF5441;
  border-radius: 50px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  margin: 0 auto;
  height: 46px;
  width: 100%;
  font-size: 20px;
}
.gift_red > a >i,.gift_btn > a >i{
    margin-left: 5px;
}
.gift_red > a:hover,
.gift_red > a:active {
  color: #FF5441;
  background-color: white;
}
.gift_btn.small > a {
  font-size: 1.8rem;
  max-width: 250px;
  height: 50px;
}
.gift_btn.mini > a {
  font-size: 1.2rem;
  max-width: 180px;
  height: 40px;
}
.ctbc_bg{
    background:#f5f5f5;
    position: relative;
    margin: 0;
    border: 0;
    height: auto;
    overflow: hidden;
}
/*.FF-grade{
    position: relative;
    background-color: #ecf2f5;
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0px 0px;
}*/
.FF-grade{
    position: relative;
    background-color: #ecf2f5;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 75% 25%;
    border: 2px solid #00a2a3;
}
.F-ara-1{
    display: grid;
    grid-auto-columns: auto;
    border-left: 1.5px solid #00a2a3;
    border-right: 1.5px solid #00a2a3;
}
.F-ara-2{
    display: flex;
    justify-content: space-around;
    align-items: center;
    grid-auto-columns: calc( 100% / 4);
    
}
.prouct-1{
    display: grid;
    grid-template-columns: 33.3% 33.3% 33.3%;
    border-top: 2px solid #00a2a3;
}
.prouct-2{
    display: grid;
    grid-template-columns: 100%;
    border-top: 2px solid #00a2a3;
}

.CTBC-ara{
    display: grid;
    grid-template-rows: 55% 45%;
    width: 100%;
    height: auto;
    background-color: white;
    
}
.wd-ara{
    background-color: white;
    width: 100%;
}
.wd-ara h2{
    color:#3f3f3f;
}
.modal-body h1 >a{
    color: #007C7D;
}
@media (max-width: 930px){
    .ctbc-nav{
        display: flex;
        list-style-type: none;
        padding: 20px 10px;
        border-bottom: none !important;
        flex-direction: row;
        align-content: space-around;
        flex-wrap: nowrap;
    }
    .BF-tab{
        padding: 10px;
        margin: 0px 5px;
    }
    /*.BF-tab-span{
    font-size: 1.2rem!important;
    }*/
    .gift{
        width: 40%;
        margin: 0px auto;
    }
    
}
@media (max-width: 720px) {
    .FF-grade{
        grid-template-columns: 100%;
        margin: 0px 20px;
    }
    .prouct-1,.prouct-2{
        grid-template-columns: 100%;
        justify-content: space-around;
        vertical-align: middle !important;
    }
    .CTBC-ara{
        grid-template-columns: 45% 55%;
        grid-template-rows: auto;
    }
    .wd-ara{
        vertical-align:middle;
        margin: auto 0;
    }
}
@media (max-width: 900px){
    .BFF-ara{
        width: 40%;
        height: auto;
    }
    .row-BFF{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;    
}
    .gift-ara{
        padding: 0.8rem;
    }
    .gift-ara img{
        padding-right: 12px;
    }
    .gift-wd {
    grid-template-columns: auto 60% 30%;
    margin: 0 20px;
    }
}
@media (max-width: 720px){
    .BFF-ara{
        width: 80%;
        height: auto;
    }
    .row-BFF{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;    
}
    .row-OP{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;     
}
    .gift{
        width: 75%;
        margin: 0px auto;
    }
    .gift-ara{
        padding: 0.8rem;
    }
    .gift-ara img{
        padding-right: 12px;
    }
    .gift-wd{
        grid-template-columns: auto 60% 30%;
    }
}
@media (max-width: 720px){
    .BFF-ara{
        width: 80%;
        height: auto;
    }
    .row-BFF{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;    
    }
    .gift-wd {
        grid-template-columns: auto 50% 30%;
        margin: 0 14px;
    }
}
@media (max-width: 575px){
    .gift-wd {
    grid-template-columns: 15% 55% 30%;
    margin: 0 8px;
    }
}
@media (max-width: 414px) {
    .CTBC-ara {
    grid-template-columns: 40% 60%;
    grid-template-rows: auto;
    }
    .CTBC-ara .gift_btn > a{
        font-size: 18px;
        max-width: 156px;
        height: 36px;
    }
}
#BOX-side{
    position: relative;
    overflow: hidden;
}
/*#gradient{
    width: 100%;
    height:160px;
    position: absolute;
    bottom: 0;left: 0;
    background: -moz-linear-gradient(bottom,rgba(255,255,255,.1),rgba(255,255,255,0));
    background: -webkit-gradient(linear,0 top,0 bottom,from(rgba(255,255,255,0)),to(#fff));
    background: -o-linear-gradient(bottom,rgba(255,255,255,.1),rgba(255,255,255,0));
    }*/
#read-more{
    background: #fff;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    }
#read-more a{
    text-decoration: none;
    color:#00a2a3;
    font-size: 1.8rem;
}
#read-more a:hover{
    color:#007C7D;
}
.project{
    background-color: #C9EBE9;
    color:#00a2a3;
    position: absolute;
    border-radius: 50px;
    font-size: 40px;
    left: 1vw;
    top: -1vw;
    line-height: 50px;
    width: 50px;
    height: 50px;
    text-align: center;
}
/* 頁籤頭 */
.tab-title {
	margin: 0;
	padding: 0;
	list-style: none;
}
.tab-title li {
	display: inline-block;
}
.tab-title a {
	display: block;
	padding: 1rem;
	text-decoration: none;
	color: #000;
}
.ctbc-nav {
    display: flex;
    justify-content: space-evenly;
    list-style-type: none;
    padding: 20px 50px;
    border-bottom: none !important;
}
#BOX-side>ul>li>span>a{
    color:blue !important;
}
.method{
    width: 100%;
    height: auto;
    position: relative;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center !important;
    border-radius: 10px;
	background: #fff;
}
.step{
    width: 900px;
    height: auto;
    position: relative;
    margin: 0 auto;
    padding: 0;
}

.st-way{
    position: relative;
}
.st-way-img{
    width: 100%;
    position: relative;
    margin: 0 auto;
}
.st-way-wd{
    margin: auto 0;
    width: 100%;
    padding: 0 20px;
    text-align: justify;
}
.abgne_tab ul, .abgne_tab li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.abgne_tab {
	width: 100%;
	margin: 20px 0;
}
.abgne_tab ul.tabs {
	width: 100%;
	height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.abgne_tab ul.tabs li {
    overflow: hidden;
    position: relative;
    margin: 5px;
    padding: 10px;
    background: #cbcecec7;
    border-radius: 10px;
    text-align: center;
    width: calc(100% / 3);
}
.abgne_tab ul.tabs li a {
	display: block;
	padding: 0 20px;
    color:#007c7D;
	text-decoration: none;
}
.abgne_tab ul.tabs li.active  {
	background: #00a2a3;
}
.abgne_tab ul.tabs li.active a{
	color:white;
}
.abgne_tab div.tab_container {
	width: 100%;
}
.abgne_tab div.tab_container .tab_content {
	padding: 20px 20px 40px 20px;
}
.section_QA{
    background-color: white;
}
.MyWay-ara{
    background-color: white;
    padding: 10px 0px;
}
.MyWay-QA{
    

    text-align: center;
}
.MyWay-QA >a{
}
.MyWay-QA >a:hover{
    cursor: pointer;
    color:#007c7d;
    text-decoration:none;    
}
[data-toggle=collapse]:after {
    font-family:"FontAwesome";
    content: "\f107";
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -12px;
    font-size: 24px;
    font-weight: bold;
    margin-left: 5px;
}
[data-toggle=collapse][aria-expanded=true]:after {
    content: "\f106";
}
.QA-part{
    margin:20px 15px;
    text-align: left;
}
.QA-part ul li{
    font-size:16px;
    padding-bottom:10px;
}
@media (min-width: 576px) and (max-width:991px) {
    .abgne_tab ul.tabs li {
        margin: 5px;
        padding: 10px 5px;
    }
}
@media (max-width: 768px){
    .abgne_tab ul.tabs {
        flex-direction: column;
    }
    .abgne_tab ul.tabs li{
        width: 80%;
        text-align: center;
        margin: 5px auto;
    }
    
}
@media (max-width: 575px){
    .abgne_tab div.tab_container .tab_content {
        padding: 0px;
    }
    .abgne_tab ul.tabs {
        flex-direction: column;
    }
    .st-way{
        flex-direction: column;
    }
    .step{
        width: 70vw;
    }
    .st-way-img{
        width: 75%;
        text-align: center;
    }
    .st-way-wd{
        width: 100%;
        text-align: center;
        padding-top: 20px;
    }
}
@media (max-width: 420px){
    .abgne_tab ul.tabs li{
        width: 100%;
    }
    .abgne_tab ul.tabs li a{
        padding: 0px 5px;
    }
    
}
