@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans:400,800');
/*------------ write ------------*/
.reminder br{
    display: none;
}
/* .btn-box{
    padding-top: 20px;
} */
.write-question-box{
    text-align: center;
}
.write-question{
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.15);
    border: 4px double #dcdcdc;
    border-radius: 100%;
    line-height: 1.2;
    opacity: 1;
    transition: all .3s ease;
    z-index: 1;
}
/*------------ /write ------------*/
/*------------ message ------------*/
.message-list{
    max-width: 1000px;
    margin: auto;
}
.message-list .message-item{
    margin-bottom: 20px;
    flex-wrap: wrap;
    display: flex;
    position: relative;
    background: linear-gradient(300deg, #E1FCFF 0, #F4F1E2 100%);
    font-size: 16px;
    min-height: 27px;
    padding-top: 8px;
    transition: all 0.3s ease;
}
.message-list .message-item:hover,
.message-list .message-item.active{
    background: linear-gradient(300deg, #E1FCFF 0, #F4F1E2 100%);
}
.message-list li:last-child{
    margin-bottom: 10px;
}
.message-question{
    order: 2;
    cursor: pointer;
    position: relative;
    width: 100%;
}
.message-question:before{
    content: '';
    display: block;
    width: 100%;
    height: 51px;
    position: absolute;
    bottom: 100%;
    z-index: 5;
}
.message-question:after{
    content: "\e1000";
    font-family: 'icon-font2' !important;
    color: #888888;
    position: absolute;
    top: 6px;
    right: 15px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    font-size: 18px;
    line-height: 1;
    transform: rotate(90deg);
    transition: all 0.3s ease;
}
.message-list .message-item.active .message-question:after{
    transform: rotate(-90deg);
    color: #00BBD4;
}
.message-question .title{
    padding: 0 16px 15px 66px;
    color: #444444;
    font-size: 18px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    letter-spacing: 2px;
}
.message-question .date{
    font-size: 13px;
    line-height: 1.2;
    color: #999999;
}
.message-answer:before{
    font-family: 'icon-font2' !important;  
    content: "\e1030";
    font-size: 45px;
    position: absolute;
    color: #444;
    top: 50%;
    left: 28px;
    margin: -35px 0 0 0;
}
.message-answer{
    display: none;
    position: relative;
    padding: 0;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    order: 2;
}
.message-answer .editor{
    padding: 25px 60px 25px 130px;
    position: relative;
}
.author-box{
    order: 1;
    font-weight: 500;
    text-align: right;
    font-size: 15px;
    color: #878787;
    padding: 0 16px 5px 66px;
    margin-bottom: 10px;
    display: flex;
    border-bottom: 1px solid #ddd;
    width: 100%;
}
.author-box .date:before{
    content: '｜';
    display: inline-block;
}
.author-box .date{
    font-family: 'Montserrat', serif;
    margin: 0 10px 0 5px;
    order: 2;
}
.author-box.reply{
    order: 2;
    position: relative;
    text-align: left;
    width: 100%;
    background: #eee;
    padding: 8px 16px 15px 66px;
    margin-bottom: 0;
    border: none;
    color: #444;
}
.author-box.reply b {
    font-weight: 500;
}
/*------------ message-form ------------*/
#message-form{
    margin-top: 0;
    margin-bottom: 80px;
    padding: 40px 0 0;
    display: table;
    width: 100%;
    box-sizing: border-box;
    background: #eee;
    border: 0;
    position: relative;
    border-radius: 15px;
}
#message-form .col{
    display: table-cell;
}
#message-form .form-title{
    vertical-align: middle;
    text-align: left;
    padding: 45px;
    line-height: 1.5;
    width: 400px;
    box-sizing: border-box;
    position: relative;
}
#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;
    opacity: 1;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.15);
    border: 4px double #dcdcdc;
}
#message-form .form-title .font,
.write-question .font {
    color: #121212;
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-indent: 0.3em;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
    line-height: 2;
}
#message-form .form-title .font span,
.write-question .font span {
    display: block;
    font-size: 18px;
    font-weight: normal;
    position: relative;
    color: #444;
    letter-spacing: 0.5px;
    width: 114px;
    white-space: normal;
    line-height: 1.5;
    text-align: center;
    text-shadow: none;
    font-family: 'Montserrat', serif;
}
#message-form .form-title .font span::before,
.write-question span::before {
    content: '';
    width: 0;
    height: 1px;
    background: #444;
    display: block;
    left: calc(100% - 20px);
    position: absolute;
    bottom: 6px;
    transition: all 0.3s ease;
}
#message-form .form-title .font span::after,
.write-question span::after {
    color: #444;
    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-wrap{
    position: static;
}
#message-form .form-box{
    padding: 35px 50px 25px 55px;
    position: static;
    background: transparent;
    width: 840px;
    max-width: 100%;
}
#message-form .btn-box{
    position: absolute;
    top: 100%;
    margin: 0;
    left: 0;
    right: 0;
}
/*------------ rwd ------------*/
@media screen and (max-width: 1000px){
    #message-form,
    #message-form .col{
        display: block;
        width: auto;
    }
    #message-form{
        padding: 0;
    }
    #message-form .form-box{
        padding: 15px;
    }
    .message-question .title{
        padding-right: 40px;
        padding-left: 15px;
    }
    .author-box,
    .author-box.reply{
        padding-left: 15px;
    }
    .message-answer {
        padding-left: 60px;
    }
    .message-answer:before{
        left: 10px;
    }
    #message-form .form-wrap {
        padding: 0;
    }
}
@media screen and (max-width: 600px){
    #message-form .form-title{
        padding: 25px 15px;
    }
}
@media screen and (max-width: 480px){
    .message-answer .editor:before{
        display: none;
    }
    .message-answer .editor{
        padding: 10px 15px;
    }
}