
/*!
Theme Name: Cocoon Child
Description: Shufuse Community
Template:   cocoon-master
Version:    1.1.3
*/
:root {
  --color-primary: #e889a0;
  --color-primary-dark: #c9608a;
  --color-primary-light: #fdf1f5;
  --color-accent: #f7a9c0;
  --color-text: #333333;
  --color-text-muted: #888888;
  --color-text-light: #aaaaaa;
  --color-border: #e8e0dc;
  --color-bg: #faf8f7;
  --color-white: #ffffff;
  --color-tag-bg: #fff0f5;
  --color-tag-text: #c9608a;
  --font-main:
		"Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo",
		sans-serif;
  --radius: 6px;
  --shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 14px;
  font-size: 17px;
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

pre {
  background-color: #eee;
  border: 1px solid #999;
  overflow: auto;
  padding: 10px;
}

.breadcrumb {
  font-size: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.breadcrumb a {
  color: #2a6db5;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--color-text-light);
}

.breadcrumb div[class^="breadcrumb-"] > span.fa {
  display: none;
}

.breadcrumb .sp {
  margin: 0 5px;
}

.wp-caption {
  max-width: 100%;
}

.pagination {
  position: relative;
  margin: 24px 0;
  clear: both;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

.pagination a:hover {
  background-color: #f5f8fa;
  transition: all 0.3s ease-in-out;
  color: #333;
}

.pagination .current {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: #fff;
}

.page-numbers {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin: 0 4px;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #aaa;
  font-weight: bold;
  font-size: 12px;
  line-height: 34px;
  text-decoration: none;
  text-align: center;
}

.page-numbers.dots {
  border: none;
  background-color: transparent;
}

.page-numbers.prev, .page-numbers.next {
  position: absolute;
  top: 0;
  border: none;
  color: #ccc;
  font-weight: normal;
  font-size: 32px;
  line-height: 1;
}

@media screen and (max-width: 767px) {
  .page-numbers.prev, .page-numbers.next {
    position: static;
  }
}

.page-numbers.prev {
  left: 0;
}

.page-numbers.next {
  right: 0;
}

.page-numbers span {
  line-height: inherit;
}

.site-header {
  background: var(--color-white);
  border-bottom: 3px solid var(--color-primary);
  box-shadow: 0 2px 6px rgba(232, 96, 76, 0.1);
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 16px 0;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-wrap img {
  height: 36px;
  width: auto;
}

.site-title {
  font-size: 20px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

.site-catch {
  font-size: 11px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-left: auto;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  border-top: 1px solid var(--color-border);
  margin-top: 2px;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 18px;
  font-size: 13px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-muted);
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.header-nav a .nav-icon {
  font-size: 15px;
  font-size: 18px;
}

.page-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 16px;
}

.content-layout {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 24px 300px;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

.main-col {
  min-width: 0;
}

:root {
  --color-plus: #e889a0;
}

.topic-header {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 20px 16px;
  margin-bottom: 16px;
  border-left: 4px solid var(--color-primary);
}

.topic-category {
  display: inline-block;
  font-size: 11px;
  font-size: 13px;
  padding: 2px 10px;
  border-radius: 10px;
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  font-weight: 700;
  margin-bottom: 10px;
}

.topic-main-title {
  font-size: 18px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 10px;
}

.topic-info-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}

.topic-action-btns {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.btn-action {
  font-size: 12px;
  font-size: 14px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: var(--color-white);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-action:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.op-post {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  margin-bottom: 16px;
  border-top: 3px solid var(--color-primary);
}

.op-label {
  display: inline-block;
  font-size: 10px;
  font-size: 12px;
  padding: 1px 8px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 3px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Blog card */
.blog-card {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--color-white);
  transition: box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.blog-card:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.blog-card-thumb {
  flex-shrink: 0;
  width: 120px;
  background: #e8dedd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-body {
  flex: 1;
  padding: 10px 14px;
  min-width: 0;
}

.blog-card-source {
  font-size: 10px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card-source-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.blog-card-title {
  font-size: 13px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 5px;
}

.blog-card-desc {
  font-size: 11px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.blog-card-url {
  font-size: 10px;
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 5px;
}

.op-comment {
  font-size: 14px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
  padding-top: 12px;
  border-top: 1px dashed var(--color-border);
  margin-top: 4px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 14px 0;
}

.page-btn {
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 13px;
  font-size: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.page-btn.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
}

/* Comments */
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-item {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  transition: background 0.15s;
}

.comment-item:hover {
  background: #fffbfa;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.comment-num {
  font-size: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 1px 8px;
  border-radius: 3px;
  min-width: 28px;
  text-align: center;
}

.comment-anon {
  font-size: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.comment-time {
  font-size: 11px;
  font-size: 13px;
  color: var(--color-text-light);
  margin-left: auto;
}

.comment-report {
  font-size: 10px;
  font-size: 12px;
  color: #cccccc;
  padding: 1px 6px;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  cursor: pointer;
}

.comment-report:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.comment-body {
  font-size: 14px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 10px;
  white-space: pre-wrap;
}

.comment-reply-ref {
  color: var(--color-primary);
  font-weight: 600;
}

.comment-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.comment-img-wrap {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.comment-img-wrap:hover {
  opacity: 0.88;
}

.comment-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vote-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  background: none;
}

.vote-plus {
  color: var(--color-plus);
  background: #fff5f3;
  border-color: #fcc8d8;
}

.vote-plus:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.vote-minus {
  color: var(--color-text-light);
  background: #f5f5f5;
  border-color: #e0e0e0;
}

.vote-minus:hover {
  background: #888;
  color: white;
  border-color: #888;
}

.reply-link {
  font-size: 12px;
  font-size: 14px;
  color: #2a6db5;
  cursor: pointer;
}

.reply-link:hover {
  text-decoration: underline;
}

.reply-count-link {
  font-size: 11px;
  font-size: 13px;
  color: var(--color-text-muted);
  cursor: pointer;
  text-decoration: underline;
}

.reply-form-area {
  background: #fffbf9;
  border: 1px dashed #f5cfd8;
  border-radius: var(--radius);
  padding: 12px;
  margin-top: 10px;
  display: none;
}

.reply-form-area.open {
  display: block;
}

.reply-form-area textarea {
  width: 100%;
  min-height: 70px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 8px;
  font-family: var(--font-main);
  font-size: 13px;
  font-size: 16px;
  resize: vertical;
  outline: none;
}

.reply-form-area textarea:focus {
  border-color: var(--color-primary);
}

.reply-form-btns {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}

.btn-submit {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.btn-cancel {
  background: var(--color-white);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-size: 16px;
  cursor: pointer;
}

.post-form-section {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  margin-top: 20px;
  border-top: 3px solid var(--color-primary);
}

.post-form-title {
  font-size: 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.post-form-textarea {
  width: 100%;
  min-height: 90px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 10px;
  font-family: var(--font-main);
  font-size: 14px;
  font-size: 17px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}

.post-form-textarea:focus {
  border-color: var(--color-primary);
}

.post-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.post-form-hint {
  font-size: 11px;
  font-size: 13px;
  color: var(--color-text-light);
}

.btn-post {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.btn-post:hover {
  background: var(--color-primary-dark);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sidebar-card-title {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 13px;
  font-size: 16px;
  font-weight: 700;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.03em;
}

.sidebar-topic-list {
  padding: 6px 0;
}

.sidebar-topic-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.15s;
}

.sidebar-topic-item:last-child {
  border-bottom: none;
}

.sidebar-topic-item:hover {
  background: var(--color-primary-light);
}

.sidebar-rank {
  flex-shrink: 0;
  font-size: 11px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-light);
  width: 14px;
  text-align: center;
  margin-top: 2px;
}

.sidebar-topic-title {
  font-size: 12px;
  font-size: 14px;
  color: #2a6db5;
  line-height: 1.5;
  cursor: pointer;
}

.sidebar-topic-title:hover {
  text-decoration: underline;
}

/* CATEGORY TAGS */
.cate-section {
  padding: 12px 14px;
}

.cate-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cate {
  font-size: 11px;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 14px;
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #f5cfd8;
  transition: all 0.2s;
  white-space: nowrap;
}

.cate:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.keyword-tag {
  font-size: 11px;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 14px;
  background: #f0f5ff;
  color: #3a6bbf;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #ccdcf7;
  transition: all 0.2s;
}

.keyword-tag:hover {
  background: #3a6bbf;
  color: var(--color-white);
  border-color: #3a6bbf;
}

.post-cta {
  background: linear-gradient(140deg, #f7a9c0, #e889a0);
  border-radius: 12px;
  padding: 18px 16px 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(232, 137, 160, 0.32);
}

.post-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--color-white);
  color: var(--color-primary-dark);
  padding: 12px 26px;
  border-radius: 26px;
  font-size: 15px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
  transition: transform 0.15s, box-shadow 0.15s;
}

.post-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.post-cta-desc {
  margin-top: 11px;
  font-size: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.6;
}

.site-footer {
  background: #3d2b34;
  color: #c8b8c0;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 16px 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-logo-text {
  font-size: 16px;
  font-size: 19px;
  font-weight: 700;
  color: #ecdce4;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 12px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
  margin-top: 6px;
}

.footer-links a {
  color: #c8b8c0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-copy {
  font-size: 11px;
  font-size: 13px;
  color: #9a8590;
  margin-top: 14px;
}

@media (max-width: 768px) {
  .content-layout {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .site-catch {
    display: none;
  }
  .header-nav a {
    padding: 8px 12px;
    font-size: 12px;
    font-size: 14px;
  }
  .site-title {
    font-size: 17px;
    font-size: 20px;
  }
  .logo-wrap img {
    height: 28px;
  }
  .topic-action-btns {
    margin-left: 0;
  }
  .topic-info-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .topic-main-title {
    font-size: 15px;
    font-size: 18px;
  }
  .blog-card-thumb {
    width: 90px;
  }
}

.btn-post-topic {
  display: block;
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(232, 137, 160, 0.3);
  transition: background 0.2s, transform 0.15s;
}

.btn-post-topic:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* コメントフォーム追加スタイル */
.post-form-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.post-form-name {
  flex: 1;
  min-width: 160px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 8px 10px;
  font-family: var(--font-main);
  font-size: 13px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}

.post-form-name:focus {
  border-color: var(--color-primary);
}

.anon-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-size: 16px;
  color: var(--color-text-muted);
  cursor: pointer;
  white-space: nowrap;
}

.anon-label input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.post-form-img-row {
  margin-top: 8px;
  margin-bottom: 6px;
}

.post-form-img-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px dashed var(--color-primary);
  border-radius: 4px;
  color: var(--color-primary);
  font-size: 13px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.post-form-img-label:hover {
  background: var(--color-primary-light);
}

.img-preview-area {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.img-preview-item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.img-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-preview-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ad-side-top {
  text-align: center;
}

:root {
  --color-rank-1: #e889a0;
  --color-rank-2: #f0924e;
  --color-rank-3: #f5b94e;
  --color-rank-other: #b5b5b5;
}

.date-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.date-title {
  font-size: 17px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.date-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--color-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.date-nav {
  display: flex;
  gap: 6px;
}

.date-nav a {
  font-size: 12px;
  font-size: 14px;
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  color: var(--color-text-muted);
  background: var(--color-white);
  transition: all 0.2s;
}

.date-nav a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* TOPIC LIST */
.topic-list {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.15s;
}

.topic-item:last-child {
  border-bottom: none;
}

.topic-item:hover {
  background: var(--color-primary-light);
}

.rank-badge {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  margin-top: 2px;
}

.rank-1 {
  background: var(--color-rank-1);
}

.rank-2 {
  background: var(--color-rank-2);
}

.rank-3 {
  background: var(--color-rank-3);
}

.rank-other {
  background: var(--color-rank-other);
}

.topic-body {
  flex: 1;
  min-width: 0;
}

.topic-title {
  font-size: 14px;
  font-size: 17px;
  font-weight: 600;
  color: #2a6db5;
  line-height: 1.5;
  display: block;
  margin-bottom: 4px;
  cursor: pointer;
}

.topic-title:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.topic-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.topic-meta-item {
  font-size: 11px;
  font-size: 13px;
  color: var(--color-text-light);
}

.topic-meta-item.comments {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.topic-meta-item.comments::before {
  content: "💬";
  font-size: 11px;
  font-size: 13px;
}

.topic-cat {
  font-size: 10px;
  font-size: 12px;
  padding: 1px 7px;
  border-radius: 10px;
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  font-weight: 600;
}

.topic-icon {
  flex-shrink: 0;
  font-size: 16px;
  font-size: 19px;
  margin-top: 2px;
  line-height: 1;
}

@media (max-width: 768px) {
  .top-tiles-grid {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}

.top-tiles-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 12px 1fr 12px 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.top3-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.15s, box-shadow 0.15s;
  overflow: hidden;
  text-decoration: none;
}

.top3-card:hover {
  background: var(--color-primary-light);
  box-shadow: 0 3px 10px rgba(232, 137, 160, 0.18);
}

.top3-rank {
  font-size: 26px;
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.rank-color-1 {
  color: var(--color-rank-1);
}

.rank-color-2 {
  color: var(--color-rank-2);
}

.rank-color-3 {
  color: var(--color-rank-3);
}

.rank-color-other {
  color: var(--color-rank-other);
}

.top3-title {
  font-size: 13px;
  font-size: 16px;
  font-weight: 600;
  color: #2a6db5;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.top3-card:hover .top3-title {
  color: var(--color-primary);
  text-decoration: underline;
}

.top3-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.top3-comments {
  font-size: 11px;
  font-size: 13px;
  color: var(--color-text-light);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.top3-comments::before {
  content: "💬";
  font-size: 11px;
  font-size: 13px;
}

/* もっと見るカード */
.tile-more-card {
  background: var(--color-primary-light);
  border: 2px dashed var(--color-accent);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  min-height: 100px;
}

.tile-more-card:hover {
  background: #fce4ed;
  border-color: var(--color-primary);
}

.tile-more-icon {
  font-size: 24px;
  font-size: 29px;
  line-height: 1;
}

.tile-more-label {
  font-size: 13px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}

.section-heading {
  font-size: 15px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-left: 2px;
}

.section-heading::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 17px;
  background: var(--color-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.time-group-label {
  font-size: 11px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-light);
  padding: 6px 16px 4px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.04em;
}

.topic-list {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.featured-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.featured-card {
  display: flex;
  align-items: stretch;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
}

.featured-card:hover {
  box-shadow: 0 4px 14px rgba(232, 137, 160, 0.22);
  transform: translateY(-1px);
}

.featured-mark {
  flex-shrink: 0;
  width: 62px;
  background: var(--color-primary-light);
  border-right: 1px solid #f5cfd8;
  color: var(--color-primary-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.featured-mark .fm-star {
  font-size: 20px;
  font-size: 24px;
  line-height: 1;
}

.featured-mark .fm-label {
  font-size: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.featured-content {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.featured-title {
  font-size: 15px;
  font-size: 18px;
  font-weight: 700;
  color: #2a6db5;
  line-height: 1.5;
}

.featured-card:hover .featured-title {
  color: var(--color-primary);
  text-decoration: underline;
}

.featured-excerpt {
  font-size: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.featured-meta .top3-comments::before {
  content: "💬";
}

.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 34px;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 26px;
  font-size: 13px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow);
  transition: all 0.2s;
}

.more-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(232, 137, 160, 0.32);
}

.more-btn .more-chevron {
  font-size: 11px;
  font-size: 13px;
  transition: transform 0.2s;
}

.more-btn:hover .more-chevron {
  transform: translateY(2px);
}

@media screen and (max-width: 576px) {
  .top-tiles-grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    row-gap: 6px;
  }
}

@media screen and (max-width: 576px) {
  .top3-card {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .top3-meta {
    width: 100%;
  }
}

.post-page-heading {
  font-size: 20px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-page-heading::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--color-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.post-form-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 28px 24px;
  border-top: 3px solid var(--color-primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 7px;
}

.form-label .required {
  font-size: 10px;
  font-size: 12px;
  background: var(--color-primary);
  color: white;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 5px;
  font-weight: 700;
  vertical-align: middle;
}

.form-label .optional {
  font-size: 10px;
  font-size: 12px;
  background: #b5b5b5;
  color: white;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 5px;
  font-weight: 700;
  vertical-align: middle;
}

.form-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.form-input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 10px 12px;
  font-family: var(--font-main);
  font-size: 14px;
  font-size: 17px;
  outline: none;
  transition: border-color 0.2s;
  color: var(--color-text);
  background: var(--color-white);
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(232, 137, 160, 0.15);
}

.form-input.name-input {
  max-width: 260px;
}

.form-anon-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-size: 16px;
  color: var(--color-text-muted);
  cursor: pointer;
  white-space: nowrap;
  padding: 4px 0;
}

.form-anon-label input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 10px 12px;
  font-family: var(--font-main);
  font-size: 14px;
  font-size: 17px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
  color: var(--color-text);
  background: var(--color-white);
  min-height: 180px;
}

.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(232, 137, 160, 0.15);
}

/* 画像添付エリア */
.img-upload-area {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #fdfafa;
  position: relative;
}

.img-upload-area:hover,
.img-upload-area.dragover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.img-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.img-upload-icon {
  font-size: 28px;
  font-size: 34px;
  margin-bottom: 6px;
}

.img-upload-text {
  font-size: 13px;
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.img-upload-text strong {
  color: var(--color-primary);
  font-weight: 700;
}

.img-upload-note {
  font-size: 11px;
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 4px;
}

.img-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.img-thumb {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.img-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-thumb-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
}

/* カテゴリ選択 */
.form-select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 10px 12px;
  font-family: var(--font-main);
  font-size: 14px;
  font-size: 17px;
  outline: none;
  transition: border-color 0.2s;
  color: var(--color-text);
  background: var(--color-white);
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(232, 137, 160, 0.15);
}

.form-hint {
  font-size: 11px;
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 5px;
}

.form-submit-area {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.btn-submit-post {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 24px;
  font-size: 15px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(232, 137, 160, 0.35);
}

.btn-submit-post:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-cancel-post {
  background: var(--color-white);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 15px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-cancel-post:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.post-notice {
  background: #f5f8ff;
  border: 1px solid #d0dcf5;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 20px;
  margin-bottom: 16px;
}

.post-notice-title {
  font-size: 13px;
  font-size: 16px;
  font-weight: 700;
  color: #3a5ab0;
  margin-bottom: 8px;
}

.post-notice-lead {
  font-size: 13px;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 12px;
}

.post-notice-cols {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 12px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.post-notice-col {
  border-radius: 5px;
  padding: 12px 14px;
  font-size: 12px;
  font-size: 14px;
  line-height: 1.8;
}

.post-notice-ok {
  background: #f0faf2;
  border: 1px solid #b8e4c4;
}

.post-notice-ng {
  background: #fff5f5;
  border: 1px solid #f5c4c4;
}

.post-notice-col-title {
  font-weight: 700;
  font-size: 12px;
  font-size: 14px;
  margin-bottom: 6px;
}

.post-notice-ok .post-notice-col-title {
  color: #2a7a40;
}

.post-notice-ng .post-notice-col-title {
  color: #b03030;
}

.post-notice-col ul {
  padding-left: 14px;
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .post-notice-cols {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}

.post-rules {
  background: #fdf8f0;
  border: 1px solid #f0e4c8;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 20px;
  font-size: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.post-rules-title {
  font-weight: 700;
  color: #b07030;
  margin-bottom: 6px;
  font-size: 12px;
  font-size: 14px;
}

.post-rules ul {
  padding-left: 16px;
}

.post-rules li {
  margin-bottom: 2px;
}

:root {
  --cocoon-twitter-color: #000000;
  --cocoon-mastodon-color: #6364FF;
  --cocoon-bluesky-color: #0085ff;
  --cocoon-misskey-color: #96d04a;
  --cocoon-facebook-color: #3b5998;
  --cocoon-threads-color: #000000;
  --cocoon-hatebu-color: #2c6ebd;
  --cocoon-google-plus-color: #dd4b39;
  --cocoon-pocket-color: #ef4056;
  --cocoon-line-color: #00c300;
  --cocoon-linkedin-color: #0077b5;
  --cocoon-website-color: #002561;
  --cocoon-instagram-color: #405de6;
  --cocoon-pinterest-color: #bd081c;
  --cocoon-youtube-color: #cd201f;
  --cocoon-tiktok-color: #000000;
  --cocoon-note-color: #41c9b4;
  --cocoon-soundcloud-color: #ff8800;
  --cocoon-flickr-color: #111;
  --cocoon-amazon-color: #ff9900;
  --cocoon-twitch-color: #6441a4;
  --cocoon-rakuten-color: #bf0000;
  --cocoon-rakuten-room-color: #c61e79;
  --cocoon-slack-color: #e01563;
  --cocoon-github-color: #4078c0;
  --cocoon-codepen-color: #333;
  --cocoon-feedly-color: #2bb24c;
  --cocoon-rss-color: #f26522;
  --cocoon-copy-color: #333333;
  --cocoon-comment-color: #333333;
  --cocoon-red-color: #e60033;
  --cocoon-pink-color: #e95295;
  --cocoon-purple-color: #884898;
  --cocoon-deep-color: #55295b;
  --cocoon-indigo-color: #1e50a2;
  --cocoon-blue-color: #0095d9;
  --cocoon-light-blue-color: #2ca9e1;
  --cocoon-cyan-color: #00a3af;
  --cocoon-teal-color: #007b43;
  --cocoon-green-color: #3eb370;
  --cocoon-light-green-color: #8bc34a;
  --cocoon-lime-color: #c3d825;
  --cocoon-yellow-color: #ffd900;
  --cocoon-amber-color: #ffc107;
  --cocoon-orange-color: #f39800;
  --cocoon-deep-orange-color: #ea5506;
  --cocoon-brown-color: #954e2a;
  --cocoon-light-grey-color: #cccccc;
  --cocoon-grey-color: #949495;
  --cocoon-dark-grey-color: #666666;
  --cocoon-blue-gray-color: #607d8b;
  --cocoon-black-color: #333333;
  --cocoon-white-color: #ffffff;
  --cocoon-watery-blue-color: #f3fafe;
  --cocoon-watery-yellow-color: #fff7cc;
  --cocoon-watery-red-color: #fdf2f2;
  --cocoon-watery-green-color: #ebf8f4;
  --cocoon-custom-background-color: inherit;
  --cocoon-custom-text-color: inherit;
  --cocoon-custom-border-color: #ccc;
  --cocoon-default-font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --cocoon-text-color: #333;
  --cocoon-pallid-text-color: #777;
  --cocoon-x-pallid-text-color: #999;
  --cocoon-default-text-size: 18px;
  --cocoon-text-size-s: 0.8em;
  --cocoon-basic-border-color: #ccc;
  --cocoon-three-d-border-colors: #e3e3e3 #cecece #b4b4b4 #d6d6d6;
  --cocoon-middle-thickness-color: #888;
  --cocoon-thin-color: #ddd;
  --cocoon-x-thin-color: #eee;
  --cocoon-xx-thin-color: #f5f6f7;
  --cocoon-xxx-thin-color: #fafbfc;
  --cocoon-current-background-color: #eee;
  --cocoon-select-background-color: #d8eaf2;
  --cocoon-tab-label-color: #f2f2f2;
  --cocoon-tab-label-active-color: #404453;
  --cocoon-basic-border-radius: 4px;
  --cocoon-badge-border-radius: 2px;
  --cocoon-middle-border-radius: 8px;
  --cocoon-box-padding: 1em 1.5em;
  --cocoon-list-padding: min(1%, 8px) min(2%, 16px) min(1%, 8px) min(3%, 24px);
  --cocoon-list-wide-padding: min(3%, 24px) min(5%, 40px) min(3%, 24px) min(7%, 56px);
  --cocoon-box-border-color: #47585c;
  --cocoon-sns-color: var(--cocoon-text-color);
  --card-ratio: 16/9;
  --cocoon--header-container--position-offset: 0px;
  --cocoon--mobile-header-menu-buttons--height: 50px;
}

/*!動画の最大幅を指定する*/
.video-container,
.instagram-container,
.facebook-container {
  max-width: 640px;
  margin: 30px 0;
}

/*!動画の大きさを調整*/
.video-container .video {
  position: relative;
  padding-bottom: 56.25%;
  margin-top: 30px;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

/*!Instagramの大きさを調整*/
.instagram-container .instagram,
.facebook-container .facebook {
  position: relative;
  padding-bottom: 120%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

/*!動画を囲んでいるdiv目一杯に広げる*/
.video iframe,
.video object,
.video embed,
.instagram iframe,
.instagram object,
.instagram embed,
.facebook iframe,
.facebook object,
.facebook embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*!Twitterビデオの最小幅を上書き変更*/
.twitter-video {
  min-width: 200px !important;
}

.instagram-media {
  position: static !important;
  min-width: 280px !important;
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
  margin-bottom: 1em;
}

.post-body p {
  margin-bottom: 1em;
}

.post-body ol {
  padding-left: 40px;
}

.post-body h2 {
  margin: 1.5em 0 1em;
  padding: 0 0 11px 0;
  border-bottom: solid 4px #e889a0;
  border-left: none;
  color: #333;
  font-size: 1.5em;
  line-height: 1.15;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .post-body h2 {
    font-size: 1.2em;
  }
}

.post-body #ez-toc-container + h2 {
  margin-top: 1.5em;
}

.post-body h3 {
  margin-bottom: 1em;
  margin-top: 1em;
  padding: 0;
  border-bottom: none;
  color: #333;
  font-size: 1.25em;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .post-body h3 {
    font-size: 1.15em;
  }
}

.post-body h4 {
  margin-bottom: .7em;
  margin-top: 1em;
  padding: 0;
  border-bottom: none;
  color: #333;
  font-size: 1em;
  font-weight: bold;
}

.post-body h5,
.post-body h6 {
  font-size: 1em;
}

.post-body ul {
  margin-bottom: 2em;
  padding-left: .8em;
  line-height: 1.5;
}

.post-body ul li {
  position: relative;
  margin-bottom: .5em;
  padding-left: 1.25em;
  list-style: none;
}

.post-body ul li::before {
  content: '';
  display: block;
  position: absolute;
  top: .5em;
  left: 0;
  width: .5em;
  height: .5em;
  background-color: #e889a0;
  border-radius: 50%;
}

.post-body ul ul {
  margin-top: .5em;
  margin-bottom: 1em;
  margin-left: 0;
}

.post-body blockquote {
  position: relative;
  margin: 20px auto;
  padding: 1.2em 1em;
  border-left: 4px solid #d3d3d3;
  background: #fafafa;
  font-size: .9em;
  line-height: 1.5;
}

.post-body blockquote::before, .post-body blockquote::after {
  position: absolute;
  color: #d3d3d3;
  font-family: "FontAwesome";
  font-size: 1em;
}

.post-body blockquote::before {
  content: "\f10d";
  left: 10px;
  top: 0;
}

.post-body blockquote::after {
  content: "\f10e";
  right: 10px;
  bottom: 0;
}

.comment-list #comments {
  margin-top: 0;
  margin-right: 0;
  margin-left: 0;
}

.wpd-comment {
  margin-bottom: 10px;
}

.wpd-comment:not(:first-child) {
  margin-top: 10px;
}

#wpdcom .wpd-comment-wrap {
  padding: 0 16px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

#wpdcom .wpd-reply {
  margin-top: 10px;
}

#wpdcom .wpd-comment .wpd-comment-wrap .wpd-comment-right {
  width: auto;
}

#wpdcom .wpd-comment-date {
  order: 5;
}

#wpdcom {
  display: flex;
  flex-direction: column;
}

#wpdcom .wpd-form-wrap {
  order: 1;
}

.wpd-comment-header .wpd-comment-author {
  font-size: 12px !important;
  font-size: 14px !important;
}

.wpd-reply-button {
  color: #2a6db5 !important;
}

.wpd-reply-button svg {
  fill: currentColor !important;
}

.wpd-vote .wpd-vote-up,
.wpd-vote .wpd-vote-down {
  display: -ms-grid;
  display: grid;
  justify-items: center;
  align-items: center;
  width: 60px !important;
  height: 25px !important;
  border-radius: 30px;
}

.wpd-vote .wpd-vote-up svg,
.wpd-vote .wpd-vote-down svg {
  max-height: 80%;
}

.wpd-vote .wpd-vote-up {
  background-color: #fff5f3;
  border: 1px solid #fcc8d8;
}

.wpd-vote .wpd-vote-up svg {
  fill: #ff765a !important;
}

.wpd-vote .wpd-vote-down {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
}

.wpd-vote .wpd-vote-down svg {
  fill: darkgray !important;
}

#wpdcom .wpd-vote .wpd-up svg {
  fill: #c02000 !important;
}

#wpdcom .wpd-vote .wpd-down svg {
  fill: #5c5c5c !important;
}

.wpdiscuz-comment-pagination .prev,
.wpdiscuz-comment-pagination .next,
.comment-pagination .prev,
.comment-pagination .next {
  display: none;
}

.wpdiscuz-comment-pagination {
  display: none !important;
}

#wpdcom .comment-pagination {
  margin: 0;
}

#wpdcom .comment-pagination a:hover {
  background-color: #f5f8fa;
  color: #333;
}

#wpdcom .comment-pagination .page-numbers {
  color: #aaa;
  border: 1px solid #ddd;
  padding: 0;
  font-size: 12px;
  margin: 0 4px;
  line-height: 34px;
  background: revert;
}

#wpdcom .comment-pagination .page-numbers.dots {
  border: none;
}

#wpdcom .comment-pagination span.current {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: #fff;
}

#comments #wpdcom .comment-pagination span.current {
  font-size: 12px;
}

#wpdcom .wpd-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  margin-top: 20px;
  border-top: 3px solid var(--color-primary);
}

#wpdcom .wpd-form-head {
  display: none !important;
}

#wpdcom .wmu-upload-wrap .wmu-add {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  border: 1px dashed #e889a0;
  border-radius: 4px;
  color: #e889a0;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: background .2s;
}

#wpdcom .wmu-add i {
  display: none;
}

#wpdcom .wmu-add::before {
  content: "📷 画像を添付";
}

#wpdcom .wmu-add:hover {
  background: #fdf1f5;
}

#wpdcom .wpd-form .wpdiscuz-textarea-wrap.wpd-txt [wpd-tooltip]::before {
  display: none;
}

#wpdcom .wpd-form .wpdiscuz-textarea-wrap.wpd-txt [wpd-tooltip]::after {
  display: none;
}

#wpdcom .wpd-form .wpdiscuz-textarea-wrap.wpd-txt .wmu-upload-wrap {
  text-align: left !important;
}

#wpdcom .wpd-form .wpdiscuz-textarea-wrap {
  display: block !important;
}

#wpdcom .wpd-form .wpdiscuz-textarea-wrap .wpd-editor-buttons-right {
  float: none !important;
}

#wpdcom .wpd-secondary-form-wrapper {
  padding-bottom: 10px;
}

#wpdcom .wc-field-submit .wc_comm_submit {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

#comments #wpdcom .wpd-comment-text {
  font-size: 17px;
}

.d-block {
  display: block !important;
}

.d-none {
  display: none !important;
}

@media (min-width: 576.02px) {
  .d-sm-block {
    display: block !important;
  }
  .d-sm-none {
    display: none !important;
  }
}

@media (min-width: 768.02px) {
  .d-md-block {
    display: block !important;
  }
  .d-md-none {
    display: none !important;
  }
}

@media (min-width: 992.02px) {
  .d-lg-block {
    display: block !important;
  }
  .d-lg-none {
    display: none !important;
  }
}

@media (min-width: 1200.02px) {
  .d-xl-block {
    display: block !important;
  }
  .d-xl-none {
    display: none !important;
  }
}

@media (min-width: 1400.02px) {
  .d-xxl-block {
    display: block !important;
  }
  .d-xxl-none {
    display: none !important;
  }
}
