@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 {
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    box-sizing: border-box;
    border-radius: 100%;
    line-height: 1.2;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.15);
    background-color: #159C8F;
    opacity: 1;
    background-image: linear-gradient(45deg, #20A194 50%, #159C8F 50%);
    background-size: 4px 4px;
    position:relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:all .3s;
    z-index:1;
}
.write-question:after{
    content:'';
    display:block;
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    background-color: #0089AF;
    background-size: 4px 4px;
    background-image: linear-gradient(45deg, #0C8FB3 50%, #0089AF 50%);
    border-radius:100%;
    transition:all .3s;
    opacity:0;
    z-index:-1;
}
.write-question:hover:after{
    opacity:1;
}
.write-question:hover .font span{
    color:#fff;
}
.write-question:hover span::before {
    background:#fff;
}
.write-question:hover span::after {
    color:#fff;
}
/*------------ 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: #f7faff;
}
.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: "\f107";
    font-family: 'icon-font' !important;
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    width: 25px;
    height: 25px;
    line-height: 22px;
    font-size: 20px;
    color: #fff;
    background: #159C8F;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 0.3s ease;
}
.message-list .message-item.active .message-question:after{
    content: "\f106";
    background: #0089AF;
}
.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: #159C8F;
    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: #0089AF;
}
/*------------ message-form ------------*/
#message-form {
    margin-top: 80px;
    margin-bottom: 80px;
    padding: 40px 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{
    font-style:normal;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    width: 192px;
    height: 192px;
    margin: 0 auto 20px;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.15);
    background-color: #159C8F;
    opacity: 1;
    background-image: linear-gradient(45deg, #20A194 50%, #159C8F 50%);
    background-size: 4px 4px;
}
#message-form .form-title .font,
.write-question .font {
    color: #fff;
    text-shadow: 0 0 4px rgb( 0 0 0 / 50%);
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
    font-size: 18px;
    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: 23px;
    font-weight: 700;
    position: relative;
    color: #000;
    letter-spacing: 0.00em;
    width: 121px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
    text-shadow: none;
    font-family: 'Cabin', sans-serif;
}
#message-form .form-title .font span::before,
.write-question span::before {
    content: '';
    width: 0;
    height: 1px;
    background: #000;
    display: block;
    left: calc(100% - 21px);
    position: absolute;
    bottom: 5px;
    transition: all 0.3s ease;
}
#message-form .form-title .font span::after,
.write-question span::after {
    color: #000;
    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;
    font-size:20px;
}
#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: -16px;
}
#message-form .reminder {
    margin: 0;
    font-size: 14px;
}
#message-form .form-wrap {
    position: static;
    padding: 0;
}
#message-form .form-box {
    padding: 35px 50px;
    position: static;
    background: transparent;
    width: 840px;
    max-width: 100%;
}
#message-form .btn-box {
    position: absolute;
    top: 100%;
    margin-top: 10px;
    left: 0;
    right: 0;
}
.form-group.captcha{
    padding: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;
    }
}