@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: #52a9a4;
  opacity: 1;
  background-image: linear-gradient(45deg, #7ea6a4 50%, #52a9a4 50%);
  background-size: 4px 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 1;
}
.write-question:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #459a96;
  opacity: 1;
  background-image: linear-gradient(45deg, #3c8c88 50%, #459a96 50%);
  background-size: 4px 4px;
  border-radius: 100%;
  transition: all 0.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: #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: #f7f7f7;
}
.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: 25px;
  font-size: 20px;
  color: #fff;
  background: #52a9a4;
  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: #8d8d8d;
}
.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: #52a9a4;
  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 .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;
}
/*------------ 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 {
  font-style: normal;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.15);
  background-color: #52a9a4;
  opacity: 1;
  background-image: linear-gradient(45deg, #7ea6a4 50%, #52a9a4 50%);
  background-size: 4px 4px;
}
#message-form .form-title .font,
.write-question .font {
  color: #fff;
  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: 20px;
  font-weight: 600;
  position: relative;
  color: #ffffff;
  letter-spacing: 0.02em;
  width: 114px;
  white-space: normal;
  line-height: 1.5;
  text-align: center;
  text-shadow: none;
}
#message-form .form-title .font span::before,
.write-question span::before {
  content: "";
  width: 0;
  height: 1px;
  background: #fff;
  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: #ffffff;
  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-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;
  }
}
