@charset "utf-8";
/*------------ message ------------*/

.btn-box {
    padding-top: 20px;
    text-align: left;
}

.btn.style01 {
    display: inline-block;
}

.write-question-box {
    text-align: center;
    color: #fff;
    font-size: 23px;
    text-align: center;
    background: #333;
    width: 144px;
    height: 144px;
    padding-top: 20px;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.4);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
    bottom: 0;
    display: block;
    margin: 0 auto 40px;
}

.write-question-box:hover {
    background: #952122;
    background: -moz-linear-gradient(top, rgba(222, 74, 24, 1) 0%, rgba(149, 33, 34, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(222, 74, 24, 1) 0%, rgba(149, 33, 34, 1) 100%);
    background: linear-gradient(to top, rgba(222, 74, 24, 1) 0%, rgba(149, 33, 34, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#DE4A18', endColorstr='#952122', GradientType=1);

    bottom: 5px;
}

.write-question-box:before {
    content: "\e91e";
    display: block;
    font-size: 32px;
    font-family: 'icon-font-41' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0 0 10px;
    text-indent: 5px;
}

.write-question:before {
    position: absolute;
    content: '';
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.write-question {
    display: block;
    border: 1px solid #fff;
    border-width: 1px 0;
    line-height: 44px;
    width: 105px;
    margin: 5px auto 0;
}

.message-list {
    max-width: 1000px;
    margin: auto;
}

.message-list .message-item {
    margin-bottom: 40px;
    border-bottom: 1px solid #DCDEDE;
    flex-wrap: wrap;
    display: flex;
    position: relative;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.3);
    border-radius: 0;
    background: #eee;
    padding: 15px 20px;
    font-size: 15px;
    transition: all 0.3s;
}

.message-question {
    order: 2;
    cursor: pointer;
    position: relative;
    width: 100%;
}

.message-question .title {
    color: #000;
    font-size: 16px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    letter-spacing: 2px;
}

.message-question:hover {
    opacity: 0.7;
}

.message-question .date {
    font-size: 13px;
    line-height: 1.2;
    color: #999999;
}

.message-answer {
    order: 2;
    display: none;
    overflow: hidden;
    padding: 1px;
    background: #333;
    color: #fff;
    padding: 15px;
    width: 100%;
}

.author-box {
    margin-top: 5px;
    order: 5;
    color: #888;
    font-size: 13px;
    width: 100%;
    font-weight: 600;
    justify-content: flex-end;
    margin-bottom: 10px;
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
}

.author-box:before {
    content: '';
    display: block;
    background: url(../../../images/layout03/common/message/accordion.png) no-repeat;
    width: 33px;
    height: 33px;
    border-radius: 50px;
    position: absolute;
    top: 10px;
    left: 12px;
}

.author-box .date {
    font-family: 'Anton', serif;
    margin: 0 10px 0 5px;
    order: 2;
    font-weight: 500;
}

.author-box .date:before {
    content: '｜';
    display: inline-block;
}

.author-box.reply {
    order: 2;
    position: relative;
    text-align: left;
    width: 100%;
    padding: 5px 0px;
    margin-bottom: 0;
    color: #333;
    font-size: 15px;
    font-weight: bold;
    justify-content: end;
}

.author-box.reply:before {
    background: url(../../../images/layout03/common/message/accordion.png) 0 100% no-repeat;
    width: 33px;
    height: 33px;
    border-radius: 50px;
    position: absolute;
    top: 12px;
    left: 12px;
    margin-top: -5px;
}

/*------------ message-form ------------*/

#message-form {
    margin-top: 80px;
    margin-bottom: 0px;
    display: table;
    width: 100%;
    box-sizing: border-box;
    background: url(../../../images/layout03/common/message/form_bg.png) 0 0 / auto 100% no-repeat #eee;
    padding: 50px 11% 40px 38%;
    position: relative;
}

#message-form .form-title {
    vertical-align: middle;
    text-align: left;
    line-height: 1.5;
    box-sizing: border-box;
    background-size: cover;
}

#message-form .form-title i {
    font-style: normal;
    position: absolute;
    top: 50%;
    left: 18%;
    margin: -72px 0 0 -72px;
    color: #fff;
    font-size: 23px;
    text-align: center;
    background: #333 url(../../../images/layout03/common/message/message_bg.png);
    width: 144px;
    height: 144px;
    padding-top: 20px;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.4);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    bottom: 0;
    display: block;
}

#message-form .form-title i span {
    display: none;
}

#message-form .form-title i:before {
    content: "\e91e";
    display: block;
    font-size: 32px;
    font-family: 'icon-font-41' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0 0 19px;
    text-indent: 5px;
}

#message-form .reminder {
    margin: 0 0 30px;
}

#message-form .form-box {
    position: relative;
    background: transparent;
    width: 559px;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.form-box .form-group {
    border: none;
}

.form-box .name .control-box {
    padding-right: 150px;
    position: relative;
}

.form-box .name .radio-box {
    line-height: inherit;
    position: absolute;
    right: 0;
    bottom: -2px;
}

/*------------ rwd ------------*/

@media screen and (max-width:1000px) {
    #message-form, #message-form .col {
        display: block;
        width: auto;
    }
    #message-form {
        margin-top: 60px;
        margin-bottom: 0px;
    }
    #message-form {
        padding: 30px 15px;
    }
    #message-form .form-title i {
        position: relative;
        top: 0;
        left: 0;
        margin: 0 auto 30px;
    }
    #message-form .form-box {
        padding: 0px;
    }
    .message-list .message-item {
        padding: 10px 14px;
    }
    .form-box .name .control-box {
        padding-right: 0;
    }
    .form-box .name .radio-box {
        bottom: 100%;
    }
    #message-form .reminder {
        margin-bottom: 0;
    }
    .btn-box {
        padding-left: 0;
        text-align: center;
    }
    .btn.style01 {
        margin: 0 auto 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;
    }
}