@media screen and (min-width:769px) {

/* 投稿ページ全体 */
.post-container {
  max-width: 100vw;
  background-color: aliceblue;
}

.post-wrapper {
  max-width: 80vw;
  margin: 0 auto;
  padding: 10vw 0;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-optical-sizing: auto;
    font-style: normal;
  color: #333;
  background-color: aliceblue;
  display: flex;
  flex-direction: row;
  gap: 30px;

}

.entry-content a {
  color: #1a0dab !important; /* Google風の青 */
  text-decoration: underline;
}

.entry-content a:hover {
  color: #1a3dff; /* ホバー時に少し濃く */
}

.entry-content a:visited {
  color: #609; /* 訪問済みリンクは紫系 */
}

.post {
  flex: 3;
}

/* タイトル */
.post-title {
  font-size: 2.2vw;
  font-weight: bold;
  margin-bottom: 10px;
  color: #222;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;

}

.post-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-category {
  background-color: #e0f7fa;
  color: #00796b;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: bold;
}

.category-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-right: 6px;
  border-radius: 12px;
  font-family: "agency-fb", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  font-weight: 600;
  color: aliceblue;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* デフォルト色（未指定カテゴリ用） */
.category-badge {
  background-color: #999;
}

/* カテゴリ別カラー例 */
.cat-interaction {
  background-color: rgb(0, 152, 216); /* 青 */
}

.cat-wellbeing {
  background-color: rgb(111, 185, 44); /* ピンク */
}

.cat-creativity {
  background-color: rgb(235, 190, 0); /* 緑 */
}

.cat-uncategorized {
  background-color: #555;
}

/* ホバー演出 */
.category-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* サムネイル画像 */
.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* コンテンツ本文 */
.post-content {
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

  .post-content a {
  color: #1a0dab !important; /* Google風の青 */
  text-decoration: underline;
}

.post-content a:hover {
  color: #1a3dff; /* ホバー時に少し濃く */
}

.post-content a:visited {
  color: #609; /* 訪問済みリンクは紫系 */
}


/* タグ */
.post-tags {
  font-size: 0.9rem;
  color: #555;
  background: #f9f9f9;
  padding: 10px;
  border-left: 4px solid #ccc;
}

.related-posts{margin:2em 0;}
.related-posts .related-title{font-weight:700;margin:0 0 .8em; background: linear-gradient(transparent 80%, rgb(212, 255, 0) 80%);}
.related-posts .related-list{list-style:none;margin:0;padding:0;display:grid;gap:.8rem;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.related-posts .related-link{display:grid;grid-template-columns:64px 1fr;gap:.6rem;align-items:center;text-decoration:none}
.related-thumb{width:64px;height:64px;object-fit:cover;border-radius:6px}


.sidebar-section {
  padding: 20px;
  background-color: aliceblue;
  flex: 1;
}

.category-block {
  margin-bottom: 30px;
}

.category-title {
  font-family: "agency-fb", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-weight: 400;
  font-style: normal;
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  border-bottom: 2px solid #ccc;
  margin-bottom: 10px;
  padding-bottom: 5px;
}

.category-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-post-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.post-link {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.post-thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}

.post-info {
  display: flex;
  flex-direction: column;
}

.post-title-side {
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
}

.post-date-side {
  font-size: 0.8rem;
  color: #777;
}

.archive-container {
  padding: 10vw 0 0 0;
  max-width: 80%;
  margin: 0 auto;
}

.archive-title {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  color: #333;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.archive-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background-color: aliceblue;
  border: 1px solid #eee;
  padding: 15px;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

.archive-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.archive-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.archive-meta {
  margin-top: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.archive-post-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.archive-post-title, a {
  color: #333;
  text-decoration: none;
}

.archive-date,
.archive-category {
  font-size: 0.85rem;
  color: #777;
}

.main-container {
  display: flex;
  gap: 40px;
  background-color: aliceblue;
}

.archive_sidebar {
  padding-left: 10vw;
  background-color: aliceblue;
}

.recent_articles {
 background: linear-gradient(transparent 80%, rgb(212, 255, 0) 80%);
}

}

@media screen and (max-width: 768px) {

  .post-container {
  max-width: 100vw;
  background-color: aliceblue;
  color: #222;
  -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-optical-sizing: auto;
    font-style: normal;

  }
  .post-wrapper {
    max-width: 100%;
    flex-direction: column;
    padding: 8vw 5vw;
    gap: 20px;
  }

  .entry-content a {
  color: #1a0dab !important; /* Google風の青 */
  text-decoration: underline;
}

.entry-content a:hover {
  color: #1a3dff; /* ホバー時に少し濃く */
}

.entry-content a:visited {
  color: #609; /* 訪問済みリンクは紫系 */
}


/* タイトル */
.post-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #222;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
    word-wrap: break-word;
  overflow-wrap: break-word;
}

.post-meta {
  font-size: 1.2rem;
  color: #777;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-category {
  color: #00796b;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: bold;
}

.category-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-right: 6px;
  border-radius: 12px;
  font-family: "agency-fb", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 600;
  color: aliceblue;
  text-decoration: none;
  transition: all 0.3s ease;
}

  /* デフォルト色（未指定カテゴリ用） */
.category-badge {
  background-color: #999;
}

/* カテゴリ別カラー例 */
.cat-interaction {
  background-color: rgb(0, 152, 216); /* 青 */
}

.cat-wellbeing {
  background-color: rgb(111, 185, 44); /* ピンク */
}

.cat-creativity {
  background-color: rgb(235, 190, 0); /* 緑 */
}

.cat-uncategorized {
  background-color: #555;
}

/* サムネイル画像 */
.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* コンテンツ本文 */
.post-content {
  line-height: 1.8;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

  .post-content a {
  color: #1a0dab !important; /* Google風の青 */
  text-decoration: underline;
}

.post-content a:hover {
  color: #1a3dff; /* ホバー時に少し濃く */
}

.post-content a:visited {
  color: #609; /* 訪問済みリンクは紫系 */
}

/* タグ */
.post-tags {
  font-size: 0.9rem;
  color: #555;
  background: #f9f9f9;
  padding: 10px;
  border-left: 4px solid #ccc;
}

.related-posts{margin:2em 0;}
.related-posts .related-title{font-weight:700;margin:0 0 .8em; background: linear-gradient(transparent 80%, rgb(212, 255, 0) 80%);}
.related-posts .related-list{list-style:none;margin:0;padding:0;display:grid;gap:.8rem;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.related-posts .related-link{display:grid;grid-template-columns:64px 1fr;gap:.6rem;align-items:center;text-decoration:none}
.related-thumb{width:64px;height:64px;object-fit:cover;border-radius:6px}


.sidebar-section {
  padding: 20px;
  background-color: aliceblue;
  flex: 1;
}

.category-block {
  margin-bottom: 30px;
}

.category-title {
  font-family: "agency-fb", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-weight: 400;
  font-style: normal;
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  border-bottom: 2px solid #ccc;
  margin-bottom: 10px;
  padding-bottom: 5px;
}

.category-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-post-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.post-link {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.post-thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}

.post-info {
  display: flex;
  flex-direction: column;
}

.post-title-side {
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
}

.post-date-side {
  font-size: 0.8rem;
  color: #777;
}



  .sidebar-section {
    padding: 10px;
  }

  .category-title {
    font-size: 1.2rem;
  }

  .category-post-item {
    flex-direction: row;
    align-items: flex-start;
  }

  .post-thumb img {
    width: 50px;
    height: 50px;
  }

  .post-title-side {
    font-size: 0.9rem;
  }

  .post-date-side {
    font-size: 0.75rem;
  }

  .post-title {
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
  }

  .post-thumbnail img {
    margin-bottom: 16px;
  }

  .post-tags {
    font-size: 0.85rem;
    padding: 8px;
  }

  .archive-container {
    padding: 20vw 30px;
    background-color: aliceblue;
  }

  .archive-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
  }

  .archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .archive-item {
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .archive-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
  }

  .archive-meta {
    margin-top: 12px;
  }

  .archive-post-title {
    font-size: 1rem;
    margin-bottom: 6px;
    line-height: 1.4;
    word-break: break-word;
  }

  .archive-date,
  .archive-category {
    font-size: 0.8rem;
    color: #666;
  }

  .recent_articles {
 background: linear-gradient(transparent 80%, rgb(212, 255, 0) 80%);
}
}

