.reviews {
  margin: 0 0 40px;
}

.reviews div {
  display: block;
}

.ttl04 {
  line-height: 1.5;
  margin: 0 0 24px;
  font-size: 24px;
}
.reviews .not-login {
  position: relative;
  margin: 0 0 40px;
  padding: 16px;
  border-radius: 4px;
  text-align: center;
  background: #F6F6F6;
}
.reviews .not-login a {
  color: #1571DA;
  text-decoration: underline;
}
.review-content {
  margin: 16px 0 24px;
}

.rating span {
  font-size: 18px;
  color: #f5cc2b;
}

.posted-at span {
  font-size: 12px;
  color: #AAA;
}

span img {
    width: 20px;
}

.review {
  border-top: solid 1px #eee;
  border-bottom: solid 1px #eee;
  margin-top: -1px;
  padding: 24px 0 0;
}

.reviews .review-head {
  display: flex;
}

.nickname {
  margin: 0 24px 0 0;
  font-weight: bold;
  font-size: 16px;
}

.text {
  font-size: 14px;
}


.review-form input[type=text]::placeholder,
.review-form textarea::placeholder {
  color: #ccc;
}

.review-form input[type=text]:focus::placeholder,
.review-form textarea:focus::placeholder {
  color: transparent;
}


.review-ttl input {
  -webkit-appearance: none;
  -moz-appearance: none;
 appearance: none;
 box-shadow: none;
 width: 100%;
 height: 40px;
 padding: 13px 16px;
 border: 1px solid #e6e6e6;
 max-width: 100%;
 font-size: 12px;
 border-radius: 4px;
 color: #171717;
 background-color: #fff;
 outline: none;
}

.review-detail textarea {
  resize: none;
    -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
  width: 100%;
  height: 100px;
  padding: 13px 16px;
  border: 1px solid #e6e6e6;
  max-width: 100%;
  font-size: 12px;
  border-radius: 4px;
  color: #171717;
  background-color: #fff;
  outline: none;
}

.no-review {
  margin: 0 0 40px;
  border-radius: 4px;
  background: #F9F9F9;
  padding: 40px;
}

.no-review-img {
  margin: 0 0 16px;
  text-align: center;
}

.no-review-txt {
  text-align: center;
}

.review-btn-area {
  text-align: center;
  margin: 40px 0;
}

.review-btn-area p  {
  margin-top: 10px;
}
.review-btn-area p.review-btn-attention {
  text-align: left;
  margin-top: 32px;
}

.review-btn-area p a  {
  color: #59AE9B;
  text-decoration: underline;
  transition: .3s;
}

.review-btn-area p a:hover {
  text-decoration: none;
}

.review-btn {
  width: 300px;
  padding: 10px 32px;
  border-radius: 3px;
  background: #333;
  color: #ffffff;
  border: solid 2px #333;
}

.review-btn:hover {
  background: #ffffff;
  color: #333;
  transition: .3s;
}

.preview-btn-area {
  text-align: center;
  margin: 40px 0 0;
}

.preview-btn {
  width: 300px;
  padding: 10px 32px;
  border-radius: 3px;
  background: #333;
  color: #ffffff;
  border: solid 2px #333;
}

.preview-btn:hover {
  background: #ffffff;
  color: #333;
  transition: .3s;
}

p.rating {
  font-size: 0;
}

p.rating span {
  cursor: pointer;
}

.input-area {
  margin: 0 0 20px 0;
}

.input-ttl {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 12px;
  font-weight: bold;
  line-height: 2;
  margin: 0 0 8px;
}

.icon-required {
  position: relative;
  margin: 0 0 0 8px;
}

.icon-required::after {
  content: "必須";
  background: #D93600;
  color: #fff;
  font-style: normal;
  font-size: 10px;
  border-radius: 2px;
  padding: 2px 3px;
  display: inline-block;
  line-height: 1;
}

@media screen and (min-width: 768px) {
  .not-login a:hover {
    text-decoration: none;
  }
}

@media screen and (max-width: 767px) {
  .reviews {
    margin: 0 0 24px;
  }
  .ttl04 {
    margin: 0 0 16px;
    /*padding: 16px 0 0;*/
    font-size: 18px;
  }
  .not-login {
    margin: 0 0 24px;
  }
  .reviews .review-head {
    display: block;
  }
  .no-review {
    margin: 0 0 24px;
    padding: 24px;
  }
  .review-btn-area {
    margin: 24px 0;
  }
  .review-btn-area p.review-btn-attention {
    margin-top: 24px;
  }
}

/*
** コメント投稿のポップアップ
*/


.review-popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 5000;
}
.review-popup-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 532px;
  padding: 40px 56px;
  border-radius: 8px;
  text-align: center;
  background: #fff;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
}
.review-popup-ttl {
  line-height: 1.5;
  margin: 24px 0;
  font-size: 20px;
  font-weight: bold;}

.review-popup-attention {
  position: relative;
  margin: 0 0 24px;
  padding: 0 0 0 28px;
  font-size: 12px;
  text-align: left;
}
.review-popup-attention svg {
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
}
.review-popup-regist {
  margin: 0 0 32px;
}
.review-popup-regist a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 4px;
  color: #fff;
  background: #1571DA;
}

.review-popup-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  border-radius: 100%;
  background: #202223;
  transform: translate(50%, -50%);
  cursor: pointer;
}
.review-popup-close:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.review-popup-close:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}
svg {
  vertical-align: top;
}

@media screen and (min-width: 768px) {
  .review-popup-regist a:hover {
    background: #0A53BE;
  }
}

@media screen and (max-width: 767px) {
  .review-popup-inner {
    right: 16px;
    left: 16px;
    width: auto;
    padding: 24px 16px 16px;
    border-radius: 4px;
    transform: translateY(-50%);
  }
  .review-popup-ttl {
    font-size: 18px;
  }
  .review-popup-attention {
    margin: 0 0 24px;
  }
  .review-popup-regist a {
    padding: 8px 16px;
  }

  .review-popup-close {
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    transform: none;
  }
}

.review-popup {
  display: none;
}