.entry-title,
h1.entry-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .entry-title {
    font-size: 1.2rem;
  }
    .index-container {
    flex-direction: column;
    padding: 0 1rem;
  }

  .index-left,
  .index-right {
    width: 100%;
  }

  .index-right {
    margin-top: 2rem;
    background: none;
    padding: 0;
    border-radius: 0;
  }

  .index-right .section-title {
    font-size: 1rem;
    margin-top: 1.5rem;
  }

  header h1,
  .site-title {
    text-align: center;
  }

  .mini-post-link img {
    width: 48px;
    height: 48px;
  }

  .tag-list li a,
  .category-list li a {
    font-size: 0.75rem;
    padding: 2px 6px;
  }
}

.index-container {
  display: flex;
  gap: 2rem; /* 左右の余白を確保 */
  align-items: flex-start;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.index-left {
  flex: 1 1 70%;
}

.index-right {
  flex: 1 1 30%;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.tag-list,
.category-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list li a,
.category-list li a {
  background: #fff;
  border: 1px solid #ccc;
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
}

.tag-list li a:hover,
.category-list li a:hover {
  background: #eef;
  border-color: #88f;
}

.mini-post-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mini-post-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.mini-post-link img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.mini-post-title {
  font-weight: bold;
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
}

.mini-post-excerpt {
  font-size: 0.8rem;
  color: #555;
  margin: 0;
}

.section-title {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3rem;
  margin-bottom: 0.8rem;
}

.title-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.title-link:hover {
  color: inherit;
  text-decoration: none;
}

.entry-card {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
  background: #fff;
}

.entry-title a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.entry-title a:hover {
  text-decoration: underline;
}

.entry-meta {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 10px;
}

.entry-content-wrap {
  display: flex;
  gap: 10px;
}

.entry-thumb img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
}

/* スマホ向け調整 */
@media (max-width: 768px) {
  .entry-thumb img {
    width: 80px;
    height: 80px;
  }
}

.entry-excerpt {
  flex: 1;
  font-size: 1rem;
}

.more-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 1.1rem;
  color: #00f;
  text-decoration: none;
}

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


#header {
  background-color: #fff;
  text-align: center;
  padding: 20px;
}

#sitename {
  font-size: 2.5rem;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

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

.desc {
  font-size: 1rem;
  color: #666;
  margin-top: 10px;
}
#gnavi .menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

#gnavi .menu ul li {
  margin: 0 10px;
}

#gnavi .menu ul li a {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
}
.index-container {
  display: flex;
  gap: 20px;
  /*max-width: 1000px;*/
  margin: 0 auto;
}

.index-left {
  flex: 3;
}

.index-right {
  flex: 1;
  background: #f0f0f0;
  padding: 10px;
}

.section-title 
{
  margin: 30px;
}

.pagination {
  text-align: center;
  margin: 30px 0;
}

.pagination ul {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ccc;
}

.pagination li {
  display: inline-block;
  border-left: 1px solid #ccc;
}

.pagination li:first-child {
  border-left: none;
}

.pagination li a,
.pagination li.current {
  display: block;
  padding: 8px 15px;
  text-decoration: none;
  color: #333;
  background: #fff;
}

.pagination li a:hover {
  background: #eee;
}

.pagination li.current {
  background: #e60033;
  color: #fff;
  font-weight: bold;
}

.single-entry {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
}

.single-entry .entry-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.single-entry .entry-meta {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 20px;
}

.entry-body {
  font-size: 1rem;
  line-height: 1.6;
}

.entry-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

.entry-body h1 {
  border-left: 10px solid #999;
  padding: 8px 20px;
  margin-top: 50px;
  font-size: 1.2rem;
  background: #f9f9f9;
}

.entry-body h2 {
  border-left: 8px solid #999;
  padding: 8px 20px;
  margin-top: 50px;
  font-size: 1.2rem;
  background: #f9f9f9;
}

.entry-body h3 {
  border-left: 2px solid #999;
  padding: 2px 15px;
  margin-top: 30px;
  font-size: 1rem;
}

#toc-wrap {
  border: 1px solid #ccc;
  padding: 10px;
  margin: 20px 0;
  background: #fff;
  font-size: 0.9rem;
  max-width: 300px;
}

#toc-wrap strong {
  display: inline-block;
  margin-bottom: 10px;
}

#toc-wrap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#toc-wrap li {
  margin: 5px 0;
}

#toc-wrap a {
  color: blue;
  text-decoration: none;
}

#toc-wrap a:hover {
  text-decoration: underline;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.tag-list li {
  margin: 0;
}

.tag-list a {
  display: inline-block;
  border: 1px solid #ddd;
  padding: 5px 10px;
  font-size: 0.9rem;
  text-decoration: none;
  color: #00f;
  background: #fff;
}

.tag-list a:hover {
  background: #f0f0f0;
}
.mini-post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mini-post-list li {
  border-bottom: 1px dashed #ccc;
  padding: 8px 0;
}

.mini-post-link {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}

.mini-post-link img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-right: 10px;
  flex-shrink: 0;
}

.mini-post-text {
  flex: 1;
}

.mini-post-title {
  font-size: 0.9rem;
  color: #00f;
  margin: 0 0 4px 0;
}

.mini-post-excerpt {
  font-size: 0.8rem;
  color: #555;
  margin: 0;
}
  .ad-container {
    display: block;
    margin: 1rem auto;
    text-align: center;
  }

  /* PC用 */
  @media (min-width: 768px) {
    .ad-container {
      width: 728px;
      height: 90px;
    }
  }

  /* スマホ用 */
  @media (max-width: 767px) {
    .ad-container {
      width: 320px;
      height: 100px;
    }
  }

  #dev-var {
  display: none !important;
}
.site-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem 1rem;
}
.site-header h1 {
  font-size: 2rem;
  margin: 0;
}

.site-header p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #444;
}

.site-header .category-nav {
  margin-top: 1rem;
  display: inline-flex;
  gap: 1rem;
  justify-content: center;
}
.header-divider {
  height: 1px;
  background: #ccc;
  margin: 1.5rem auto;
  width: 80%;
}

.category-nav {
  display: inline-flex;
  gap: 1rem;
  margin: 1rem 0;
}

.category-nav a {
  padding: 0.5rem 1rem;
  text-decoration: none;
  background: #e0f5ff;
  color: #333;
  border-radius: 4px;
}

.category-nav a.active {
  background: black;
  color: white;
}
