@charset "utf-8";
/*------------ message ------------*/
.requrin_txt{
    display: block;
}
.write-question-box{
    text-align: center;
}
.write-question{
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    box-sizing: border-box;
    border-radius: 100%;
    line-height: 1.2;
    border: 7px double #C5C0BE;
    display: flex;
    align-items: center;
    justify-content: center;
}
.write-question:hover{
    color: #9A7F64;
}
/*------------ /message ------------*/
/*------------ list ------------*/
.message-list{
    max-width: 1000px;
    margin: auto;
}
.message-list li{
    margin: 0 0 25px;
    position: relative;
    transition: all .3s ease;
}
.message-list li:last-child{
    margin-bottom: 10px;
}
.message-question{
    position: relative;
    box-sizing: border-box;
    padding: 15px 20px 0 15px;
    width: 100%;
    background: url(../../../images/layout06/common/bg2.webp) fixed;
    border-radius: 0;
    transition: all .3s ease;
    cursor: pointer;
    z-index: 1;
}
.message-question::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #f5f5f5;
    transition: all .3s ease;
    opacity: 0;
    z-index: -1;
}
.message-question:hover:before,
.message-item.active .message-question:before {
    opacity: 0.5;
}
.message-item{
    margin-bottom: 20px;
    border-bottom: 1px solid #ECE7E1;
    flex-wrap: wrap;
    display: flex;
    padding-bottom: 20px;
}
.message-question{
    order: 2;
}
.message-question .title{
    position: relative;
    padding: 0 0 15px 18px;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
}
.message-question .title:before{
    content: "";
    position: absolute;
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    top: 7px;
    left: 0;
    border: 3px solid #3F2E27;
    transition: all .3s ease;
}
.message-question:hover .title:before{
    border-color: #D2A36C;
}
.message-answer{
    order: 2;
    width: 100%;
}
.message-answer{
    display: none;
    box-sizing: border-box;
    border-radius: 0;
    margin: 10px 0 0 0;
    border: 2px solid #C5C0BE;
    overflow: hidden;
}
.message-answer .editor{
    padding: 60px 20px 30px;
    position: relative;
    border-radius: 0;
}
.message-answer .editor:before{
    content: "A";
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 18px;
    font-weight: normal;
    line-height: 36px;
    text-align: center;
    background: #D2A36C;
    color: #fff;
    font-family: 'Lato', serif;
}
.author-box{
    text-align: right;
    margin-top: 5px;
    font-size: 15px;
    color: #858585;
    order: 1;
}
.author-box.reply{
    position: relative;
    text-align: right;
    width: 100%;
    order: 2;
}
.author-box.reply b {
    font-weight: normal;
}
.author-box:before{
    display: inline-block;
    vertical-align: middle;
    content: "\e1013";
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    color: #D2A36C;
    -moz-osx-font-smoothing: grayscale;
}
.author-box .date{
    font-family: 'Lato', serif;
    margin: 0 10px 0 5px;
    color: #D2A36C;
    font-weight: normal;
}
/*------------ /list ------------*/
/*------------ message-form ------------*/
#message-form{
    margin-top: 80px;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #C5C0BE;
    background: url(../../../images/layout06/common/bg2.webp) fixed;
}
#message-form form{
    padding: 35px 0;
}
#message-form form,.form-wrap{
    width: 100%;
}
#message-form .form-title{
    vertical-align: middle;
    text-align: left;
    padding: 120px 45px;
    line-height: 1.5;
    width: 400px;
    box-sizing: border-box;
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    justify-content: center;
    z-index: 1;
}
#message-form .form-title:before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #f5f5f5;
    opacity: 0.5;
    z-index: -1;
}
#message-form .form-title i{
    font-style:normal;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border: 7px double #C5C0BE;
}
#message-form .form-title .font,
.write-question .font {
    color: #3F2E27;
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 1.5px;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
    line-height: 2;
    font-family: 'Noto Serif TC', serif;
}
#message-form .form-title .font span,
.write-question .font span {
    position: relative;
    display: block;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 1px;
    width: 115px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
    color: #D2A36C;
    font-family: 'Lato', serif;
}
#message-form .form-title .font span::before,
.write-question span::before {
    content: '';
    width: 0;
    height: 1px;
    background: #D2A36C;
    display: block;
    left: calc(100% - 20px);
    position: absolute;
    bottom: 4px;
    transition: all 0.3s ease;
}
#message-form .form-title .font span::after,
.write-question span::after {
    color: #D2A36C;
    content: '\e1011';
    font-family: 'icon-font' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    transition: all 0.3s ease;
    position: relative;
    right: 0;
    margin-left: 4px;
}
#message-form .form-title:hover .font span::before,
.write-question:hover span::before {
    width: 14px;
}
#message-form .form-title:hover .font span::after,
.write-question:hover span::after {
    right: -13px;
}
#message-form .reminder{
    margin: 0;
    font-size: 14px;
}
#message-form .form-box{
    padding: 15px 50px 0;
    position: relative;
    background: transparent;
    width: 100%;
    max-width: 100%;
}
#message-form .form-box .form-group:last-child{
    padding-bottom:0;
}
/*------------ rwd ------------*/
@media screen and (max-width: 1000px){
    #message-form,
    #message-form .col{
        display: block;
        width: auto;
    }
    #message-form{
        margin-top: 60px;
    }
    .message-question{
        background-attachment: unset;
    }
}
@media screen and (max-width: 600px){
    #message-form .form-box{
        padding: 20px 15px;
    }
    #message-form .form-title{
        padding: 40px 15px;
    }
}
@media screen and (max-width: 480px){
    .message-answer .editor:before{
        display: none;
    }
    .message-answer .editor{
        padding: 10px 15px;
    }
}