/** @format */

@charset "utf-8";

/*  post_details.css
Roboto
Regular 400
Medium 500
Bold 700
Black 900
---------------------------------------------- */

/*  pc
---------------------------------------------- */

/* post_left */
#post_left .post_head {
  position: relative;
}

#post_left .post_head figure {
  width: 100%;
  height: 555px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

#post_left .post_head figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#post_left .post_head .fav_area {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  border-radius: 0 20px 0 20px;
  background: rgba(0, 0, 0, 0.2);
  font-weight: 700;
  font-size: 1.5rem;
  z-index: 1;
}

#post_left .post_head .fav_area .heart {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  width: 35px;
  height: 35px;
  background-color: #a3a4a6;
  border-radius: 20px;
  cursor: pointer;
}

#post_left .post_head .fav_area .heart.fav {
  background: #ef4584;
}

#post_left .post_head .fav_area .heart:hover {
  background: #ef4584;
}

#post_left .post_head .tag_list {
  position: absolute;
  bottom: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 60px;
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

#post_left .post_head .tag_list .tag {
  padding: 5px 20px;
  background: #ffffff;
}

#post_left .post_inner {
  margin: 50px auto;
  width: 73%;
  max-width: 660px;
}

#post_left .article .date {
  color: #858a99;
  font-size: 1.5rem;
}

#post_left .article .ttl {
  margin: 10px 0;
  font-size: 3.8rem;
  font-weight: 700;
}

#post_left .article .desc {
  font-size: 1.6rem;
  line-height: 1.5;
}

#post_left .article .text {
  padding: 20px 0;
  font-size: 1.6rem;
}
#post_left .article .text ol {
  list-style: decimal;
  margin-left: 18px;
  padding-left: 1.5em;
}
#post_left .article .text ul {
  list-style: disc;
  margin-left: 18px;
  padding-left: 1.5em;
}
#post_left .article .text a {
  color: #06c;
  text-decoration: underline;
}
#post_left .gallery .galley_item {
  border: 1px solid #e6e8eb;
  border-radius: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 20px;
}

#post_left .gallery .galley_item.private {
  position: relative;
}
#post_left .gallery .galley_item.private .private_wrap {
  flex-direction: row;
  justify-content: space-between;
  padding: 10px;
  background: rgba(255, 255, 255, 0.2);
}
#post_left .gallery .galley_item.private .private_wrap .pvt_img {
  margin-right: 10px !important;
  width: 40px !important;
}
#post_left .gallery .galley_item.private .private_wrap .pvt_body .ttl {
  margin: 0 0 5px;
} 
#post_left .gallery .galley_item.private .private_wrap .pvt_body .link {
  margin: 0;
}
#post_left .gallery .galley_body .download {
  display: flex;
  justify-content: space-between;
}

#post_left .gallery .galley_body .download {
  margin-top: 20px;
  font-size: 1.6rem;
  line-height: 40px;
}

#post_left .gallery .galley_body .download .btn {
  width: 140px;
  height: 40px;
  color: #fff;
}
#post_left .gallery .gallery_video {
  width: 100%;
  margin-top: 20px;
}
#post_left .comment {
  border: 1px solid #e6e8eb;
  border-radius: 20px;
  max-height: 624px;
  overflow-y: scroll;
  position: relative;
}

#post_left .comment .ttl {
  padding: 20px 0;
  text-align: center;
  font-weight: 500;
  font-size: 1.8rem;
}

#post_left .comment .comment_list li {
  padding: 20px 30px;
  border-top: 1px solid #e6e8eb;
  border-radius: 0;
}

#post_left .comment .comment_list li .user {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#post_left .comment .comment_list li .user .user_left {
  display: flex;
  align-items: center;
}

#post_left .comment .comment_list li .user .icon {
  width: 35px;
  height: 35px;
  border-radius: 50px;
  overflow: hidden;
}

#post_left .comment .comment_list li .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#post_left .comment .comment_list li .user .name {
  margin: 0 10px 0 20px;
  font-weight: 500;
  font-size: 1.8rem;
}

#post_left .comment .comment_list li .user .time {
  font-size: 1.5rem;
}

#post_left .comment .comment_list li .txt {
  margin: 10px 0 20px 0;
  font-size: 1.6rem;
  line-height: 1.5;
}

#post_left .comment .comment_list li .reply {
  font-size: 1.6rem;
  font-weight: 700;
  color: #a050df;
}

#post_left .comment .comment_list li .reply:hover {
  color: #8233bf;
}

#post_left .comment .comment_list li .child_replies {
  font-size: 1.5rem;
}
#post_left .comment .comment_list li .child_replies ul {
  margin-top: 20px;
}
#post_left .comment .comment_list li .child_replies li {
  padding: 10px;
}
#post_left .comment .action {
  display: flex;
  justify-content: space-between;
}

#post_left .comment .action li {
  padding: 0;
  border: none;
  cursor: pointer;
}
#post_left .comment .action .other_favs {
  position: relative;
}
#post_left .comment .action .other_favs .icon {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
}
#post_left .comment .action .other_favs .fav {
  position: absolute;
  right: -5px;
  bottom: 0;
}
#post_left .comment .comment_list .reply::placeholder {
  color: #8233bf;
}

#post_left .comment .action li:last-child {
  margin-right: 0;
}

#post_left .comment .comment_list li .child_replies summary,
#post_left .comment .comment_list li .child_replies .reply_target {
  color: #8233bf;
}

#post_left .comment .comment_list li .child_replies .reply_target {
  margin-right: 1.5%;
}

#post_left .comment .writing {
  margin: 10px;
  padding: 0 20px;
  border: 1px solid #e6e8eb;
  border-radius: 20px;
  background: #f7f9fd;
  position: sticky;
  bottom: 0;
}

#post_left .comment .writing textarea,
#post_left .comment .writing .emojionearea {
  width: 100%;
  height: 80px;
  padding: 20px 0;
  font-size: 1.6rem;
  resize: none;
}

#post_left .comment .writing textarea::placeholder {
  color: #101c39;
}

#post_left .comment .writing .edit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #e6e8eb;
}

#post_left .comment .writing .edit .link {
  margin-right: 20px;
  width: 140px;
  height: 40px;
  font-size: 1.9rem;
}
#post_left .comment .writing .error {
  font-size: 1.6rem;
  margin-bottom: 5px;
}
#post_left .comment .input_reply {
  margin: 15px 0 0 30px;
}

#post_left .comment .reply_box {
  width: 100%;
  height: 40px;
  padding-right: 20px;
  border-bottom: 1px solid #e6e8eb;
  font-size: 1.6rem;
  transition: all 0.5s ease;
}

#post_left .comment .reply_box:hover {
  border-bottom: 1px solid #a050df;
}

#post_left .comment .input_reply .rep_action {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
#post_left .comment .input_reply .rep_action .btn_wrap {
  display: flex;
  justify-content: space-between;
}
#post_left .comment .input_reply .rep_action .btn_wrap .btn {
  width: 100px;
  height: 30px;
  margin-left: 10px;
}
#post_left .comment .input_reply .rep_action .btn:disabled {
  cursor: not-allowed;
  background: rgb(163, 164, 166) !important;
}

#post_left .comment .child_replies summary {
  cursor: pointer;
}

/* アイコン */
#post_left .comment .fav_icon {
  fill: currentColor;
  stroke: currentColor;
}

#post_left .comment .fav_icon.fav {
  fill: red;
  stroke: red;
}

/* emoji-picker */
emoji-picker {
  height: 200px;
}

emoji-picker#emoji_post {
  position: relative;
  left: 30%;
}

#fan::before {
  content: "";
  width: 8vw;
  max-width: 140px;
  height: 130px;
  position: absolute;
  top: -15px;
  right: -50px;
  background: url("../img/character01.svg") no-repeat center bottom/ contain;
  z-index: 100;
}

#post_left #fan h2 {
  font-size: 3.2rem;
}

#fan .plan_list {
  gap: 16px;
  position: relative;
}

/* post_right */
#post_right {
  overflow: hidden;
}

#post_right>div {
  padding: 30px 10px;
}

#post_right .post_list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

#post_right .post_list li {
  position: relative;
  padding: 4px;
  width: calc((100% - 10px) / 2);
  border: 1px solid #e7e8eb;
  border-radius: 20px;
}
#post_right .post_list li .private_wrap {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 5px;
}
#post_right .private_wrap.private_wrap_small .pvt_body .link {
  height: 30px;
  width: 140px;
  margin: 10px auto 0;
  font-size: 1.3rem;
}
#post_right .post_list li .img {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 20px;
  overflow: hidden;
}

#post_right .post_list .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#post_right .post_list .img .favorite2 {
  width: 50px;
  height: 30px;
}

#post_right .post_list .img .add {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  cursor: pointer;
}

#post_right .post_list .img .add::after {
  content: "";
  background: url(../img/icon/plus-small.svg) no-repeat center/ contain;
  display: inline-block;
  width: 10px;
  height: 10px;
}

#post_right .post_list .img .add:hover {
  background: rgba(0, 0, 0, 0.6);
}

#post_right .post_list .img .icon {
  width: 35px;
  height: 35px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  overflow: hidden;
}

#post_right .post_list .img .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#post_right .post_list .img .hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px 10px 0;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s;
}

#post_right .post_list a:hover .img .hover {
  opacity: 1;
  visibility: visible;
}

#post_right .post_list .img .hover p {
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.4;
}

#post_right .recent .link {
  width: 160px;
  height: 50px;
  margin: 30px auto 0;
  font-size: 1.9rem;
}

#post_right .suggest {
  background: #f7f9fd;
}

#post_right .suggest .post_list .img img {
  transition: all 0.3s;
}

#post_right .suggest .post_list li a:hover .img img {
  transform: scale(1.1, 1.1);
  opacity: 0.8;
}

/*  mobile 
---------------------------------------------- */
@media only screen and (max-width: 1200px) {
  #fan::before {
    top: 5px;
    right: -30px;
    min-width: 70px;
    background: url("../img/character01.svg") no-repeat center bottom/ contain;
  }
}

/*  mobile & smart phone
---------------------------------------------- */
@media only screen and (max-width: 959px) {

  /* post_left */
  #post_left .post_head figure {
    height: 415px;
  }

  #post_left .post_head .fav_area {
    width: 90px;
    height: 40px;
  }

  #post_left .post_head .tag_list {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 15px;
  }

  #post_left .post_head .tag_list .tag {
    max-height: 40px;
    padding: 5px 15px;
  }

  #post_left .post_inner {
    max-width: inherit;
    width: 95%;
  }

  #post_left .article {
    margin: 35px auto;
    width: 90%;
  }

  #post_left .article .ttl {
    font-size: 2.5rem;
  }

  #post_left .comment {
    margin: 0 auto 0;
    width: 95%;
  }

  #post_left .comment .comment_list li .txt {
    margin: 10px 0;
  }

  #post_left .comment .writing {
    margin: 10px;
    padding: 0 10px;
    border-radius: 10px;
  }

  #post_left .comment .writing textarea {
    height: 120px;
    padding: 15px 0;
  }

  #post_left .comment .writing .edit {
    padding: 10px 0;
  }

  #fan::before {
    top: -30px;
    right: 25px;
    min-width: 70px;
    background: url("../img/character01.svg") no-repeat center bottom/ contain;
  }


  /* post_right */
  #post_right .ttl {
    text-align: center;
  }

  #post_right .post_list {
    gap: 15px;
  }

  #post_right .post_list li {
    width: calc((100% - 30px) / 2);
  }

  #post_right .post_list li .img {
    height: 145px;
  }

  #post_right .post_list .img .add {
    width: 25px;
    height: 25px;
  }

  #post_right .post_list .img .icon {
    width: 30px;
    height: 30px;
  }

  #post_right .recent .link {
    width: 145px;
    height: 45px;
  }
}

/*  mobile & smart phone
---------------------------------------------- */
@media only screen and (max-width: 600px) {
  #fan::before {
    top: 10px;
    right: 0px;
    min-width: 70px;
    background: url("../img/character01.svg") no-repeat center bottom/ contain;
  }
}