-inner/* 一覧 */
.common-post {
  margin: 0 0 60px;
}
.common-post-li {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(197px, 1fr));
  gap: 40px 20px;
}
.more-btn {
  text-align: center;
  margin: 60px 0;
}
.page-content-width {
  max-width: 100%;
}

@media screen and (max-width: 767px) {
  .common-post-li {
    gap: 24px 20px;
  }
}
@media screen and (max-width: 500px) {
  .common-post-li {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 340px) {
  .common-post-li {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* 詳細 */
@media screen and (max-width: 767px) {
  .detail .breadcrumbs {
    margin-top: 40px;
  }
}

.common-post-li .common-post-item:only-child {
  max-width: 680px;
}

html {
  /* overflow: inherit; */
}
.main-detail-inner {
  max-width: 848px;
  margin: auto;
}
.main-post-block {
  display: flex;
  gap: 80px;
  margin: 0 0 52px;
}
.main-detail-block {
  flex: 1;
}

.post-info {
  display: flex;
  align-items: center;
  margin: 40px 0 60px;
}
.post-info-icon {
  /* flex-shrink: 0; */
  /* width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
  overflow: hidden; */
}
.post-info-icon img {
  width: 100%;
  border-radius: 50%;
}
.post-info-name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.post-info-setting {
  display: flex;
  align-items: center;
  gap: 0 12px;
  flex-wrap: wrap;
}
.post-info-date {
  flex-shrink: 0;
  font-family: "Open Sans";
  font-size: 13px;
  color: #a8adac;
}
.post-info-category {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}
.post-info-category span {
  font-size: 10px;
  color: #a8adac;
  line-height: 1.4;
  border-radius: 9999px;
  background: #e6e6e6;
  padding: 2px 6px;
}

@media screen and (max-width: 767px) {
  .main-post-block {
    margin: 0 0 40px;
  }
  .post-info {
    margin: 24px 0 32px;
  }
  .main-detail-side {
    display: none;
  }
}

.post-attention {
  margin: 0 0 52px;
}
.post-attention p {
  font-size: 12px;
}

@media screen and (max-width: 767px) {
  .post-attention {
    margin: 0 0 40px;
  }
}

.post-youtube {
  font-size: 0;
  margin: 0 0 52px;
}
.post-youtube iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 556/323;
}

@media screen and (max-width: 767px) {
  .post-youtube {
    margin: 0 0 40px;
  }
}

.inner-wrapper-sticky {
  overflow: auto;
}
.table-contents {
  max-height: calc(100vh - 166px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #667085 #e4e7ec;
}
.table-contents::-webkit-scrollbar {
  width: 4px;
}
.table-contents::-webkit-scrollbar-track {
  background-color: #e4e7ec;
  border-radius: 9999px;
}
.table-contents::-webkit-scrollbar-thumb {
  background-color: #667085;
  border-radius: 9999px;
}
.table-contents-wrap {
  border-radius: 12px;
  background: #fafafa;
  padding: 24px 0;
}
.table-contents-ttl {
  font-size: 18px;
  font-weight: 700;
  padding: 0 12px;
  margin: 0 0 8px;
}
.table-contents-li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 15px 0 25px;
}
.table-contents-li::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 0;
  left: 19px;
  display: block;
  width: 1px;
  background: #d6d6d6;
}
.table-contents-item {
  position: relative;
}
.table-contents-item::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -10px;
  display: block;
  width: 9px;
  height: 9px;
  border: 2px solid #d6d6d6;
  border-radius: 50%;
  background: #f9fafb;
  box-sizing: border-box;
  z-index: 10;
}
.table-contents-item:has(.is-active)::before {
  border-color: #7ac7ff;
}
.table-contents-item:last-of-type::after {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 0;
  left: -6px;
  display: block;
  width: 1px;
  background: #fafafa;
  z-index: 5;
}
.table-contents-item a {
  display: block;
  font-size: 14px;
  color: #b0b0b0;
  font-weight: 500;
  padding: 4px 0;
  margin: 0 0 0 8px;
}
.table-contents-item a.is-active {
  color: #282828;
}

@media screen and (min-width: 768px) {
  .table-contents-item a:hover {
    color: #282828;
  }
}

.post-active-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e6e6e6;
  padding: 10px 0 0;
  margin: 0 0 70px;
}
.post-active-li {
  display: flex;
}
.post-active-item > * {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
}
.common-post-keep-btn {
  background-image: url(/upload/static/bookmark_animation_detail.png);
  background-position: 0 -1px;
}
.post-share-li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.post-share-item {
  font-size: 0;
}

@media screen and (max-width: 767px) {
  .post-active-box {
    margin: 0 0 40px;
  }
}

.post-reviews {
  margin: 0 0 52px;
}
.post-reviews-ttl {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 24px;
}
.input-area {
  margin: 0 0 20px;
}
.input-ttl {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 14px;
  font-weight: bold;
  line-height: 2;
  margin: 0 0 8px;
}
.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: 14px;
  border-radius: 4px;
  color: #171717;
  background-color: #fff;
  outline: none;
}
.review-ttl input::placeholder {
  color: #d6d6d6;
}
.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: 14px;
  border-radius: 4px;
  color: #171717;
  background-color: #fff;
  outline: none;
}
.review-detail textarea::placeholder {
  color: #d6d6d6;
}
.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: 3px;
  display: inline-block;
  line-height: 1;
  transform: translateY(-1px);
}
.review-btn-area {
  text-align: center;
  margin: 24px 0 0;
}
.review-btn {
  padding: 14px 24px;
  border-radius: 4px;
  background: #282828;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  border: none;
  outline: none;
  transition: 0.3s;
}
.review-btn-area p {
  margin-top: 10px;
}
.review-btn-area p.review-btn-attention {
  font-size: 12px;
  text-align: center;
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  .post-reviews {
    margin: 0 0 40px;
  }
  .post-reviews-ttl {
    font-size: 20px;
    margin: 0 0 16px;
  }
}

.post-comment-ttl {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 16px;
}
.post-comment-main-li {
  max-height: 360px;
  border-top: 1px solid #e6e6e6;
  overflow-y: auto;
  padding: 16px 0 0;
  scrollbar-width: thin;
  scrollbar-color: #667085 #e4e7ec;
}
.post-comment-main-li::-webkit-scrollbar {
  width: 4px;
}
.post-comment-main-li::-webkit-scrollbar-track {
  background-color: #e4e7ec;
  border-radius: 9999px;
}
.post-comment-main-li::-webkit-scrollbar-thumb {
  background-color: #667085;
  border-radius: 9999px;
}
.post-comment-main-item {
  border-bottom: 1px solid #e6e6e6;
  padding: 0 12px 16px 0;
  margin: 0 0 16px;
}
.post-comment-main-item:last-of-type {
  margin-bottom: 0;
}
.post-comment-nickname {
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 6px;
}
.post-comment-date {
  font-family: "Open Sans";
  font-size: 13px;
  color: #b0b0b0;
  line-height: 1;
  margin: 0 0 6px;
}
.post-comment-txt {
  max-height: 3em;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.post-comment-txt.comment-control {
  display: block;
  -webkit-box-orient: inherit;
  -webkit-line-clamp: inherit;
  overflow: inherit;
}
.comment-more-btn {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  border: none;
  outline: none;
  background: transparent;
  text-decoration: underline;
  margin-top: 8px;
}
.comment-close-btn {
  display: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  border: none;
  outline: none;
  background: transparent;
  text-decoration: underline;
  margin-top: 8px;
}
.no-content-wrapper .no-content-message {
  text-align: center;
  margin-top: 40px;
}
.no-review {
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  padding: 20px;
}
.no-review-img {
  text-align: center;
  margin: 0 0 4px;
}
.no-review-txt {
  font-size: 12px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .review-btn:hover {
    background: #000;
  }
  .comment-more-btn:hover {
    text-decoration: none;
  }
  .comment-close-btn:hover {
    text-decoration: none;
  }
}

@media screen and (max-width: 767px) {
  .post-comment-ttl {
    font-size: 20px;
    margin: 0 0 16px;
  }
}

.latest-post {
  margin: 0 0 52px;
}
.latest-ttl {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 24px;
}
.latest-post-li {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 16px;
  border-bottom: 1px solid #e6e6e6;
  padding: 0 0 24px;
  margin: 0 0 24px;
}
.latest-post-item a {
  display: block;
}
.latest-post-img {
  margin: 0 0 8px;
}
.latest-post-img img {
  width: 100%;
  border-radius: 6px;
}
.latst-post-ttl {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 4px;
}
.latst-post-ttl span {
  background: linear-gradient(#282828, #282828) 0 100%/0 1px no-repeat;
  transition: background 0.3s;
}
.latest-post-setting {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 12px;
}
.latest-post-date {
  font-family: "Open Sans";
  font-size: 13px;
  color: #a8adac;
}
.latest-post-category {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}
.latest-post-category span {
  font-size: 10px;
  color: #a8adac;
  line-height: 1.4;
  border-radius: 9999px;
  background: #e6e6e6;
  padding: 2px 6px;
}
.latest-btn {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .latest-post-item a:hover .latst-post-ttl span {
    background-size: 100% 1px;
  }
}

@media screen and (max-width: 767px) {
  .latest-ttl {
    font-size: 20px;
    margin: 0 0 16px;
  }
  .latest-post-li {
    grid-template-columns: repeat(auto-fit, minmax(147px, 1fr));
  }
}
