@charset "UTF-8";

body {
    background: #EEF2FF;
}

/* 共通 */
.f_left {
    float: left;
    text-align: left;
}

.f_right {
    float: right;
    text-align: right;
}

.t_center {
    text-align: center;
    flex-grow: 0;
}

.clearfix {
    clear: both;
    white-space: nowrap;
}

/* top 鍵 */
.go-top {
    /* display: none; */
    position: fixed;
    bottom: 30px;
    right: 20px;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    z-index: 10;
    background: url(../images/icon_top.svg) no-repeat center top;
    background-size: 100%;
}

.go-top:hover {
    /* background-color: #0056b3; */
}

/* 內容區塊 */
main {
    padding: 50px 0 0 0;
    width: 70%;
    margin: 100px auto 100px auto;
    text-align: justify;
    text-align: center;
    min-height: calc(100vh - 114px);
    height: 100vh;
    position: relative;
    display: block;
    bottom: 100px;

}

main .avatar_ai {
    background: url(../images/icon.svg) no-repeat center top;
    background-size: 80%;
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;

}

main .Slogan {
    font-size: 1.8em;
    line-height: 130%;
    text-align: center;
    font-weight: 600;
    margin: 0 auto 5% auto;
}

/* main a {
    color: #444444;
} */
section {
    margin: 15px 0;
    clear: both;
}

article {
    margin: 20px 0 10px 0;
    word-wrap: break-word;
}

button {
    background: #decce6a3;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    min-width: 90px;
    margin: 0 0 0 10px;
    color: #444444;
}

article h2 {
    margin: 10px 0;
    word-wrap: break-word;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
}

article p {
    margin: 5px 0;
    text-align: justify;
}

article aside.eng p {
    text-align: start;
    display: block;
    width: 100%;

}

/* chat 對話筐 */
.chat_item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex:1 1 auto; 
    width:100%;  
}

.avatar_chat {
    background: url(../images/chat_icon.svg) no-repeat top left;
    background-size: 100%;
    width: 40px;
    min-width: 40px;
    height: 35px;
    display: block;
    margin: 0 20px 0 auto;
}

.button_item {
    display: inline-flex;
    flex-wrap: wrap;
}

aside button a:hover {
    color: #fff;
}

aside button {
    background: #fff;
    /* padding: 5px 15px; */
    border-radius: 50px;
    cursor: pointer;
    margin: 10px 10px 10px 5px;

}

aside button:hover,
aside button:focus,
aside button a:focus-visible,
aside .active a,
aside button.active {
    color: #fff;
    background: #7647B5;

}

.loading {
    background: url(../images/loading.png) no-repeat top left;
    background-size: 100%;
    width: 160px;
    height: 190px;
    margin: 0 auto;
    padding: 115px 10px 0 10px;
}

/* 進度列 */
.progress-bar-custom {
    margin: 25px 0;
    display: block;
    padding: 2px;
    text-align: center;
    background: -webkit-gradient(linear, left, right, color-stop(90%, #FF499F), color-stop(0%, #590083));
    background: -webkit-linear-gradient(left, #FF499F 90%, #590083 0%);
    background: -moz-linear-gradient(left, #FF499F 90%, #590083 0%);
    background: -o-linear-gradient(left, #FF499F 90%, #590083 0%);
    background: linear-gradient(to right, #FF499F 90%, #590083 0%);
    border-radius: 50px;
    color: #fff;
    border: 6px solid #A3ADDA;
}

/* 訊息頁籤 */
.megtabBox {
    display: block;
    margin: 0 auto 30px auto;
}

.megtabBox .megtabList {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 2% auto;
   
}

/* 內容切換顯示 */
.tabContentList .message_item {
    display: none;
    padding-top: 20px;
    background-color: #fff;
    margin-top: 10px;
    border-radius: 20px;
    text-align: center;
    /* min-width: 1024px; 
    width:1284px;*/
   width: 100%;
    box-sizing:border-box; 
     
}

/* 隱藏 radio */
.tabRadio {
    display: none;
}

/* tab 容器 */
.megtapList {
    display: flex;
    margin-top: 20px;
}

/* tab 項目 */
.tab {
    display: block;
    margin:5px 5px;
    font-size: 18px;
    font-weight: 900;
}

/* 預設 tab 樣式 */
.tab label {
    display: block;
    text-align: center;
    border-radius: 50px;
    background-color: #fff;
    color: #444;
    padding:2px 20px 5px 20px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

/* 預設 tab 內部文字顏色 */
.tab_label span,
.newtab_label span {
    color: #444;
    display: inline-block;
}

/* 預設星星圖示 */
.tab_label i.star-01,
.newtab_label i.star-02 {
    background: url(../images/star-01.svg) no-repeat center center;
    background-size: 105%;
    display: block;
    height: 10px;
}

/* 分別指定預設圖 */
.tab label[for="tab"] i.star-01 {
    background-image: url(../images/star-01.svg);
}

.tab label[for="newtab"] i.star-02 {
    background-image: url(../images/star-02.svg);
}

/* ----- 選取 Tab 1 狀態 ----- */
#tab:checked~.megtabList label[for="tab"] {
    background-color: #09B2C7;
    color: #fff;
}

#tab:checked~.megtabList label[for="tab"] * {
    color: #fff;
}

#tab:checked~.megtabList label[for="tab"] i.star-01 {
    background-image: url(../images/star-01-hv.svg);
}

/* 未選中 tab2 恢復樣式 */
#tab:checked~.megtabList label[for="newtab"] {
    background-color: #fff;
    color: #444;
}

#tab:checked~.megtabList label[for="newtab"] * {
    color: #444;
}

#tab:checked~.megtabList label[for="newtab"] i.star-02 {
    background-image: url(../images/star-02.svg);
}

/* ----- 選取 Tab 2 狀態 ----- */
#newtab:checked~.megtabList label[for="newtab"] {
    background-color: #09B2C7;
    color: #fff;
}

#newtab:checked~.megtabList label[for="newtab"] * {
    color: #fff;
}

#newtab:checked~.megtabList label[for="newtab"] i.star-02 {
    background-image: url(../images/star-02-hv.svg);
}

/* 未選中 tab1 恢復樣式 */
#newtab:checked~.megtabList label[for="tab"] {
    background-color: #fff;
    color: #444;
}

#newtab:checked~.megtabList label[for="tab"] * {
    color: #444;
}

#newtab:checked~.megtabList label[for="tab"] i.star-01 {
    background-image: url(../images/star-01.svg);
}

/* 顯示對應內容 */
#tab:checked~.tabContentList #content {
    display: block;
}

#newtab:checked~.tabContentList #newcontent {
    display: block;
}

/* 預設 star-01 圖示（未選取） */
.megtabList i.star-01 {
    background-image: url(../images/star-01.svg);
}

/* 預設 star-02 圖示（未選取） */
.megtabList i.star-02 {
    background-image: url(../images/star-02.svg);
}

.message_item h3 {
    border-radius: 0 50px 50px 0;
    font-size: 22px;
    background-color: #EEF2FF;
    padding: 10px 0 10px 20px;
    width: 190px;
    color: #4467E2;
}

.message_item h4 {
    font-size: 22px;
    /* width: 150px; */
    color: #4467E2;
    margin: 10px 0 20px 0;
}
.message_item h3 span{
    font-size: 22px;
}
span {
    color: #AEBDF4;
    font-weight: 500;
    margin: 0 2px;
    font-size: 12px;
    
}

span.focus {
    color: #3473F8;
    font-weight: 900;
    margin: 0 5px;
    font-size: 16px;
}

.data_source {
    margin: 25px 40px 40px 40px;

}

.data_source p {
    font-size: 16px;
    width: 62vw;
}

.data_source p.tx_indent {
    text-indent: 2em;
}

.data_source.radius {
    background: #F3F9EC url(../images/radius.png) no-repeat top right 0;
    background-size: 50%;
    border-radius: 0 0 20px 20px;
    padding: 20px 40px 70px 40px;
    margin: 0 auto;
    display: block;
}

.data_source ul {
    margin: 0 0 10px 0;
    counter-reset: item;

}

.data_source ul li p {
    margin: 0 0;
}

.data_source ul li {
    list-style-type: upper-alpha;
    /* list-style-type:decimal; */
    display: inline-block;
    margin: 0 2px;
    counter-increment: item;
}

/* .data_source ul li:first-child {margin: 0 0 0 0;} */
.data_source ul li::before {

    content: "(" counter(item) ")";
    font-weight: bold;
}

.data_source span {
    color: #444444;
    font-weight: 900;
    margin: 0 auto;
    display: block;
}

.data_source button,
.data_source button:hover,
.data_source button:focus,
.data_source_radius button,
.data_source_radius button:hover,
.data_source_radius button:focus {
    background: #09B2C7 url(../images/copy_icon.svg) no-repeat center left 18px;
    background-size: 17%;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    padding-left: 32px;
    font-size: 14px;
    float: right;
    margin: 0 0;

}

.data_source button:hover {
    position: relative;
}

.contained_message {
    display: none;
    width: 80px;
    background-color: #EEF2FF;
    color: #444444;
    text-align: center;
    border-radius: 6px;
    padding: 10px 5px;
    position: absolute;
    z-index: 1;
    transform: translate(-50%, -100%);
    left: 50%;
    top: -5px;
}

.messageContain:hover .contained_message {
    display: block;
}


.data_source button:hover,
.data_source_radius button:hover {
    background: #068d9e url(../images/copy_icon.svg) no-repeat center left 18px;
    background-size: 17%;
}

/* tab 頁籤 */



@media screen and (max-width: 1366px) {
    .data_source p {
    font-size: 16px;
     width: 58vw; 
}
}

@media screen and (max-width: 1024px) {
    main {
        width: auto;
        margin: 100px 40px;
        display: inline-table;
        min-height: auto;
        padding: 50px 0 0px 0;
    }

    .data_source {
        margin: 35px 25px;
    }

    .data_source.radius {
        background: #F3F9EC url(../images/radius_p.png) no-repeat top right 0;
        background-size: 30%;
        border-radius: 0 0 20px 20px;
        padding: 20px 40px 60px 40px;
        margin: 0 auto;

    }

    .tabContentList .message_item {
        min-width: auto;
        width: 100%;
    }
        .data_source p {
   
     width:auto; 
}

}

@media screen and (max-width: 767.98px) {
    body {
        font-size: 16px;
    }

    .go-top {
        bottom: 50px;
        cursor: pointer;
        width: 40px;
        height: 40px;
        right: 15px;

    }

    main {
        margin: 100px 30px 0 30px;
    }

    main .Slogan {
        font-size: 1.6em;
    }

    main .avatar_ai {
        width: 80px;
        height: 80px;
    }

    .avatar_chat {
        margin: 0 10px 0 auto;
        width: 35px;
        min-width: 35px;
    }

    aside button {
        padding: 10px 15px;
        min-width: 60px;
        margin: 5px 5px;
        border-radius: 10px;
        text-align: left;
    }

    button {
        background: #decce6a3;
        padding: 10px 15px;
        border-radius: 10px;
    }

    /* .message_item {
        border-radius: 20px;
        background-color: #fff;
         margin:0auto 40px auto;  
        padding: 30px 0 0 0;
    } */

    .data_source {
        margin: 25px 25px 35px 25px;
    }

    .data_source.radius {
        background: #F3F9EC url(../images/radius_m.png) no-repeat top right 0;
        background-size: 45%;
        border-radius: 0 0 20px 20px;
        padding: 20px 20px 20px 20px;
        margin: 0 auto;
        display: inline-block;

    }

    .data_source ul li {
        display: block;
        margin: 0 0;
    }

    .data_source button,
    .data_source button:hover,
    .data_source button:focus,
    .data_source_radius button,
    .data_source_radius button:hover,
    .data_source_radius button:focus {
        background: #09B2C7 url(../images/copy_icon.svg) no-repeat center left 20px;
        background-size: 17%;
        border-radius: 50px;
        color: #fff;
        cursor: pointer;
        padding-left: 42px;
        font-size: 14px;
        float: right;
        margin: 0 0;
        font-weight: bold;

    }

}



@media (max-width: 375px) {}