@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/common/message/btn_gomsg.png); */
  /* width: 136px;
  height: 136px; */
  width: 180px;
  color: #000000;
  margin: 0 auto 30px;
  /* font-size: 0px; */
  box-sizing: border-box;
  /* font-weight: bold; */
  /* letter-spacing: 4px; */
  /* justify-content: center; */
  display: block;
  color: #fff;
  border-radius: 10px;
  padding: 10px 15px;
  line-height: 1.2;
  background: #efefef;
  border: 1px solid #efefef;
  box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.2);
}
.write-question .font {
  color: #818181;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#message-form .form-title .font span,
.write-question span {
  display: block;
  font-size: 20px;
  font-weight: bold;
  padding-top: 5px;
  position: relative;
  color: #000;
}
.write-question span::before {
  content: '';
  width: 0;
  height: 1px;
  background: #000;
  display: block;
  left: calc(100% + 4px);
  position: absolute;
  bottom: 3px;
  transition: all 0.3s ease;
}
.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: absolute;
  left: 100%;
}

#message-form .form-title .font {
  color: #a2a2a2;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#message-form .form-title .font span::after {
  left: calc(100% + 10px);
}
#message-form .form-title .font span {
  display: block;
  font-size: 20px;
  font-weight: bold;
  padding-top: 5px;
  position: relative;
  color: #fff;
}
#message-form .form-title .font span::before {
  content: '';
  width: 0;
  height: 1px;
  background: #fff;
  display: block;
  left: calc(100% + 4px);
  position: absolute;
  bottom: 3px;
  transition: all 0.3s ease;
}
#message-form .form-title .font span::after {
  color: #fff;
  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: absolute;
  left: 100%;
}

.write-question:hover span::before {
  width: 10px;
}
#message-form .form-title:hover .font span::after,
.write-question:hover span::after {
  left: calc(100% + 10px);
}
/*------------ 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: #000000;
  font-size: 15px;
  min-height: 27px;
  padding-top: 8px;
  transition: all 0.3s;
}
.message-list .message-item:hover,
.message-list .message-item.active {
  background: #f6f6f6;
}
.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/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: #000;
  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: #999999;
  padding: 0 16px 5px 66px;
  margin-bottom: 10px;
  display: flex;
  border-bottom: 1px dotted #aaaaaa;
  width: 100%;
}
.author-box:before {
  content: '';
  display: block;
  background: url(../../../images/layout04/common/message/accordion.png) no-repeat;
  width: 33px;
  height: 33px;
  border-radius: 50px;
  position: absolute;
  top: 10px;
  left: 12px;
}
.author-box .date:before {
  content: '｜';
  display: inline-block;
}
.author-box .date {
  font-family: 'Open Sans', 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: #000;
}
.author-box.reply:before {
  background: url(../../../images/layout04/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: 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;
  background: #000;
}
#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/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;
  }
}
