@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans:400,800');
/*------------ message ------------*/

.reminder br {
    display: none;
}

.btn-box {
    padding-top: 20px;
}

.write-question-box {
    text-align: center;
}

.write-question {
    background-image: url(../../../images/layout04-3/common/message/btn_gomsg.png);
    width: 136px;
    height: 136px;
    color: #000000;
    margin: 0 auto 30px;
    font-size: 0px;
    box-sizing: border-box;
    font-weight: bold;
    letter-spacing: 4px;
    justify-content: center;
    display: block;
}

.write-question:hover {
    background-position: bottom;
}

/*------------ message ------------*/

.message-list {
    max-width: 1000px;
    margin: auto;
}

.message-list .message-item {
    margin-bottom: 20px;
    flex-wrap: wrap;
    display: flex;
    position: relative;
    background: #FFFFFF;
    color: #444444;
    font-size: 15px;
    min-height: 27px;
    padding-top: 8px;
    transition: all 0.3s;
}

.message-list .message-item:hover, .message-list .message-item.active {
    background: #fff2e0;
}

.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: 40px;
    position: absolute;
    bottom: 100%;
    z-index: 5;
}

.message-question:after {
    content: "";
    width: 25px;
    height: 25px;
    position: absolute;
    bottom: 0;
    right: 0;
    background: url(../../../images/layout04-3/common/message/ic.png);
}

.message-list .message-item.active .message-question:after {
    background-position: 0 100%;
}

.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: #000000;
    top: 50%;
    left: 28px;
    margin: -35px 0 0 0;
}

.message-answer {
    order: 2;
    display: none;
    overflow: hidden;
    padding: 1px;
    background: #fff;
    border-radius: 0px;
    color: #444;
    position: relative;
    width: 100%;
}

.message-answer .editor {
    padding: 25px 60px 25px 130px;
    position: relative;
}

.author-box {
    order: 1;
    font-weight: 600;
    text-align: right;
    font-size: 15px;
    color: #CC8251;
    padding: 0 16px 5px 66px;
    margin-bottom: 10px;
    display: flex;
    border-bottom: 1px dotted #AAAAAA;
    width: 100%;
}

.author-box .date:before {
    content: '｜';
    display: inline-block;
}

.author-box .date {
    font-family: 'Cabin', sans-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: #222;
}

/*------------ message-form ------------*/

#message-form {
    margin-top: 80px;
    margin-bottom: 80px;
    padding: 50px 0 0;
    display: table;
    width: 100%;
    box-sizing: border-box;
    background: #EEEEEE;
    border: 1px solid #BBBBBB;
    position: relative;
}

#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:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #f5f5f5;
    z-index: -1;
}

#message-form .form-title i {
    display: block;
    font-size: 0;
    background: url(../../../images/layout04-3/common/message/btn_gomsg2.png);
    width: 191px;
    height: 191px;
    margin: 0 auto 30px;
}

#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-top: 10px;
    left: 0;
    right: 0;
}

/*------------ rwd ------------*/

@media screen and (max-width:1000px) {
    #message-form, #message-form .col {
        display: block;
        width: auto;
    }
    #message-form {
        margin-top: 60px;
    }
    #message-form .form-box {
        padding: 15px;
    }
    .message-question .title, .author-box, .author-box.reply {
        padding-left: 15px;
    }
    .message-answer {
        padding-left: 60px;
    }
    .message-answer:before {
        left: 10px;
    }
}

@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;
    }
}