@charset "Shift_JIS";
/* CSS Document */
.container {
  padding: 6em 0 10em;
  width: 70%;
  margin: 0 auto;
}
.wp-block-image {
  margin: 3em 0;
}
.article-content h1 {
  text-align: left;
  position: relative;
  padding-bottom: 2em;
  letter-spacing: 0;
}
.article-content p {
  margin-bottom: 2em;
  letter-spacing: 0;
}
.meta-box {
  display: flex;
  gap: 1em;
  font-size: 0.8em;
  letter-spacing: 0.2em;
}
.article-content h1::before {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 0%;
  width: 25%;
  height: 3px;
  background-color: var(--highlight-red);
}
.category-link {
  font-size: 0.8em;
  background: #fff;
  border: 1px solid #565656;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.6em 1em;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.category-link::before {
  content: "";
  width: 0.3em;
  height: 0.3em;
  background: #D66469;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.4em;
}
.category-link:hover {
  background: var(--highlight-red);
  color: #fff;
}
/* H2見出し（セクションの大見出し） */
.wp-block-heading {
  background-color: #f1f1f1;
  padding: 12px 20px 12px 15px;
  font-size: 1.3em;
  border-left: 8px solid #e7c6c2;
  margin-top: 12px;
  margin-bottom: 24px;
  text-align: left;
  letter-spacing: 0em;
}
 h3.wp-block-heading {
  background-color: #fff;
  padding: 0px;
  font-size: 1.2em;
  border-left: 0;
  margin-top: 12px;
  margin-bottom: 24px;
  text-align: left;
  letter-spacing: 0em;
  display: inline-block; /* アンダーラインの範囲を限定 */
  text-decoration: underline dotted #e7c6c2;
  text-underline-offset: 5px; /* アンダーラインと文字の間隔をあける */
}

.wp-block-list {
  padding-left: 2.5em;
  margin-bottom: 2em;
}
ul.wp-block-list {
  list-style: none; /* デフォルトの黒丸を消す */
  padding-left: 1.2em; /* 左の余白調整 */
}

ul.wp-block-list li {
  position: relative;
  padding-left: 1.2em; /* テキストとマーカーの間隔 */
}

ul.wp-block-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 1em;
    color: #e7c6c2;
    font-size: 0.6em;
    line-height: 1;
}

.content-with-sidebar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 3em;
  margin-top: 4em;
  flex-wrap: wrap;
}
.article-content {
  flex: 1 1 60%;
  min-width: 0;
}
.sidebar {
  flex: 0 0 35%;
  max-width: 300px;
}
.sidebar-block {
  margin-bottom: 3em;
}
.sidebar-title {
  font-size: 1em;
  padding: 1em 0 1em 2em;
  text-align: left;
  position: relative;
  letter-spacing: 0.1em;
}
.sidebar-title::before {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  background-color: var(--highlight-red);
  border-radius: 50%;
  position: absolute;
  left: 0.5em;
  top: 1.6em;
  transform: translateY(-50%);
}
.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-list li {
  margin-bottom: 0.6em;
}
.sidebar-list li:hover {
  background-color: #F8EFEE;
  color: var(--highlight-red);
  border: 2px dotted #D2D2D2;
}
.sidebar-list li a {
  text-decoration: none;
  color: #555;
  transition: all 0.3s ease;
}
.sidebar-list li a:hover {
  color: var(--highlight-red);
}
.sidebar-list.with-thumbnails li {
  display: flex;
  border-bottom: 2px dotted #D2D2D2;
  padding: 12px 0;
}
.sidebar-list.with-thumbnails .thumb {
  flex-shrink: 0;
  width: 7em;
  height: 4.5em;
  overflow: hidden;
  border-radius: 6px;
}
.sidebar-list.with-thumbnails .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sidebar-list.with-thumbnails .title {
  font-size: 0.8em;
  line-height: 1.4;
}
.sidebar-list.with-thumbnails .sidebar-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
  align-items: flex-end;
  gap: 0.8em;
}
.sidebar-list.with-thumbnails .sidebar-link:hover {
  opacity: 0.7;
}
.cat-item {
  font-size: 0.8em;
  background: #fff;
  border: 1px solid #D2D2D2;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.6em 1em;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.cat-item::before {
  content: "";
  width: 0.3em;
  height: 0.3em;
  background: #D66469;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.4em;
}
.article-footer {
  background-color: #fff;
  padding: 2em 0;
  text-align: center;
}
.article-footer {
  font-size: 0.8em;
}
@media (max-width: 768px) {
  .wp-block-image {
  margin: 0;
}
  .container {
    padding: 0em 0 6em;
    width: 90%;
  }
  .content-with-sidebar {
    flex-direction: column;
    margin-top: 1.5em;
  }
  .breadcrumb {
    font-size: 12px;
    margin: 0;
  }
  .sidebar-list.with-thumbnails .title {
    font-size: 12px;
  }
  .article-content p {
    margin-bottom: 1em;
    font-size: 14px;
  }
  .wp-block-list {
    padding-left: 24px;
    padding-bottom: 14px;
            margin-bottom: 1em;
  }
  .wp-block-heading {
    padding: 10px 8px;
  }
  .sidebar-title {
    padding-left: 1.5em;
  }
  .sidebar {
    max-width: 100%;
  }
  .sidebar-title::before {
    left: 3px;
  }
  .sidebar-list.with-thumbnails .thumb {
    width: 9em;
    height: 6.5em;
  }
}