@charset "UTF-8";
:root {
  --link-color: 255, 125, 74;
  --bg-color: 246, 246, 244;
  --text-color: 60, 60, 60;
  --main-color: 80, 198, 198;
  interpolate-size: allow-keywords;
}

#respond:not(.comment-respond) {
  padding: 0 10px 0 30px;
  max-width: 1200px;
  width: calc(100% - 40px);
  margin: 40px auto;
}
#respond:not(.comment-respond) h1 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: bold;
  max-width: var(--max-width);
  margin: 0 auto 20px auto;
  display: block;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
  color: #1d3e43;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.05);
  font-weight: 400;
  text-align: center;
}
#respond:not(.comment-respond) .comment-sort-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: -20px auto 20px auto;
  max-width: 600px;
  gap: 10px;
}
#respond:not(.comment-respond) .comment-sort-controls:before {
  content: "";
  background-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  background: rgba(var(--text-color), 0.3);
  -webkit-mask-image: url("../svg/sort.svg");
  mask-image: url("../svg/sort.svg");
  width: 30px;
  height: 30px;
}
#respond:not(.comment-respond) .comment-sort-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
}
#respond:not(.comment-respond) .comment-sort-controls button::after {
  transform: rotate(-90deg) scale(0.7);
  transition: all 0.3s ease;
}
#respond:not(.comment-respond) .comment-sort-controls button[data-sort=oldest]::after {
  transform: rotate(90deg) scale(0.7);
}
#respond:not(.comment-respond) .comment-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#respond:not(.comment-respond) .comment-item {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px auto;
  position: relative;
}
#respond:not(.comment-respond) .comment-item.child-item {
  margin-bottom: 10px;
}
#respond:not(.comment-respond) .comment-item .comment-inner {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}
#respond:not(.comment-respond) .comment-item .comment-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0;
}
#respond:not(.comment-respond) .comment-item .comment-info .author {
  font-size: 0.7em;
  font-weight: 500;
  line-height: 1.2;
  color: #333;
  word-break: break-all;
  overflow-wrap: normal;
  line-break: auto;
  white-space: normal;
  -webkit-hyphens: none;
          hyphens: none;
  /* text-wrap: normal; 実験的なプロパティのため、コメントアウト */
  display: flex;
  align-items: first baseline;
  flex-wrap: wrap;
  gap: 5px;
  max-width: calc(100% - 120px);
  opacity: 0.8;
}
#respond:not(.comment-respond) .comment-item .comment-info .date {
  font-size: 0.5em;
  color: #999;
  font-weight: 400;
  min-width: 120px;
  margin-top: 3px;
  letter-spacing: 0.1em;
  text-align: right;
  opacity: 0.5;
}
#respond:not(.comment-respond) .comment-item .comment-info .id {
  font-size: 0.6em;
  color: #666;
  font-weight: 300;
  letter-spacing: 0.1em;
}
#respond:not(.comment-respond) .comment-item .comment-text {
  background: rgba(255, 255, 255, 0.7);
  padding: 15px 25px;
  border-radius: 30px 30px 30px 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  font-size: 0.8em;
  line-height: 1.3;
  letter-spacing: 0.02em;
  z-index: 2;
  position: relative;
  width: calc(100% - 20px);
  right: 5px;
  margin: 0 0 0 auto;
  position: relative;
}
#respond:not(.comment-respond) .comment-item .comment-text p {
  margin: 5px 0;
}
#respond:not(.comment-respond) .comment-item .reply {
  position: absolute;
  right: -3px;
  bottom: -4px;
  z-index: 5;
  background: linear-gradient(135deg, rgba(var(--main-color), 0.5), rgba(var(--main-color), 0.95));
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 0.7em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(var(--main-color), 0.3);
  border: 2px solid rgba(255, 255, 255, 0.9);
}
#respond:not(.comment-respond) .comment-item .reply:active {
  -webkit-animation: nav-jelly 0.3s ease-out;
          animation: nav-jelly 0.3s ease-out;
}
#respond:not(.comment-respond) .comment-item .reply::before {
  content: "";
  background-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  background: #fff;
  -webkit-mask-image: url("../svg/res.svg");
  mask-image: url("../svg/res.svg");
  width: 16px;
  height: 16px;
  opacity: 1;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}
#respond:not(.comment-respond) .comment-item .reply:hover {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(var(--main-color), 0.5), rgba(var(--main-color), 0.95));
  box-shadow: 0 6px 20px rgba(var(--main-color), 0.4);
  border-color: rgb(255, 255, 255);
}
#respond:not(.comment-respond) .comment-item .reply:active {
  transform: scale(0.95);
  transition: all 0.1s ease;
}
#respond:not(.comment-respond) .comment-item.own-comment .comment-text {
  background: rgba(242, 251, 251, 0.8);
}
#respond:not(.comment-respond) .comment-item .children {
  margin-top: 5px;
  padding-left: 20px;
}
#respond:not(.comment-respond) .comment-item .children .comment-bt-arrow {
  margin: -5px auto -10px auto;
  transform: rotate(-90deg);
}
#respond:not(.comment-respond) .comment-item .children .comment-inner .comment-text {
  order: 2;
  border-radius: 40px 0px 40px 40px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.02);
}
#respond:not(.comment-respond) .comment-item .children .comment-info {
  padding-left: 20px;
  align-items: flex-end;
}
#respond:not(.comment-respond) .comment-item .children .comment-info .author {
  order: 2;
  justify-content: flex-end;
}
#respond:not(.comment-respond) .comment-item .children .comment-info .date {
  order: 1;
  text-align: left;
}

.comment-bt,
.submit {
  margin: 20px auto;
  padding: 12px 24px 12px 15px;
  font-size: 1rem;
}
.comment-bt::before,
.submit::before {
  width: 30px;
  height: 30px;
  -webkit-mask-image: url("../svg/comment.svg");
  mask-image: url("../svg/comment.svg");
}

.comment-bt::before {
  -webkit-mask-image: url("../svg/edit.svg");
  mask-image: url("../svg/edit.svg");
}

#cancel {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: -10px auto 40px auto;
  color: #ff6868;
  font-size: 0.8em;
}
#cancel:hover {
  text-decoration: none;
}
#cancel + .comment-bt-arrow {
  display: none;
}

.comment-bt-arrow {
  background: rgba(171, 240, 255, 0.6);
  width: 20px;
  height: 20px;
  transform: rotate(90deg);
  -webkit-mask-image: url("../svg/right1.svg");
  mask-image: url("../svg/right1.svg");
  background-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  margin: 15px auto 15px auto;
  transition: all 0.3s ease;
}

.comment-bt:hover + .comment-bt-arrow,
.comment-bt-arrow:hover {
  background: rgba(171, 240, 255, 0.9);
  transform: translateY(2px) rotate(90deg);
}

.comment-respond {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px 20px 15px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.comment-respond #reply-title {
  display: none;
}
.comment-respond .comment-form-author {
  margin-bottom: 20px;
}
.comment-respond .comment-form-author input[type=text] {
  width: 100%;
  padding: 10px 15px;
  border: 2px solid rgba(0, 204, 194, 0.2);
  border-radius: 15px;
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  outline: none;
  color: #333;
}
.comment-respond .comment-form-author input[type=text]::-moz-placeholder {
  color: #999;
  opacity: 0.8;
}
.comment-respond .comment-form-author input[type=text]::placeholder {
  color: #999;
  opacity: 0.8;
}
.comment-respond .comment-form-author input[type=text]:focus {
  border-color: rgba(0, 204, 194, 0.6);
  box-shadow: 0 0 15px rgba(0, 204, 194, 0.2);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}
.comment-respond .comment-form-author input[type=text]:hover {
  border-color: rgba(0, 204, 194, 0.4);
  background: rgba(255, 255, 255, 0.9);
}
.comment-respond .comment-form-comment textarea {
  width: 100%;
  min-height: 120px;
  padding: 10px 15px;
  border: 2px solid rgba(0, 204, 194, 0.2);
  border-radius: 15px;
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  outline: none;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
  color: #333;
}
.comment-respond .comment-form-comment textarea::-moz-placeholder {
  color: #999;
  opacity: 0.8;
}
.comment-respond .comment-form-comment textarea::placeholder {
  color: #999;
  opacity: 0.8;
}
.comment-respond .comment-form-comment textarea:focus {
  border-color: rgba(0, 204, 194, 0.6);
  box-shadow: 0 0 15px rgba(0, 204, 194, 0.2);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}
.comment-respond .comment-form-comment textarea:hover {
  border-color: rgba(0, 204, 194, 0.4);
  background: rgba(255, 255, 255, 0.9);
}
.comment-respond .form-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.comment-respond .form-submit .submit {
  margin: 0 auto;
}
.comment-respond .form-submit .submit::before {
  -webkit-mask-image: url(../svg/send.svg);
  mask-image: url(../svg/send.svg);
}
.comment-respond .form-submit .note {
  font-size: 0.6em;
  color: #666;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin: 0;
  background: rgba(255, 255, 255, 0.5);
  order: -1;
}
.comment-respond #cancel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: #999;
  text-decoration: none;
  font-size: 0.9em;
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(153, 153, 153, 0.3);
}
.comment-respond #cancel:hover {
  color: #666;
  background: rgba(153, 153, 153, 0.1);
  border-color: rgba(153, 153, 153, 0.5);
  transform: translateY(-1px);
}

.back {
  margin-top: 40px;
}

.reply-to-comment .rm {
  font-size: 0.9em;
  color: rgba(0, 212, 255, 0.8);
  margin: 15px 0;
  font-weight: 600;
  text-align: center;
}
.reply-to-comment .comment-bt-arrow {
  margin: -15px auto 10px auto;
  transform: rotate(-90deg);
}

@media screen and (min-width: 800px) {
  .comment-page #comments {
    padding-right: 0px;
  }
  .comment-respond {
    padding-right: 300px;
    padding: 30px 30px 20px 30px;
  }
  .comment-respond .comment-form-author input[type=text],
.comment-respond .comment-form-comment textarea {
    padding: 15px 20px;
  }
}
/*# sourceMappingURL=comment.css.map */