body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
}
/* メインコンテンツラッパー */
.wrapper {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding-left: 20px;
}

.konntent {
  flex: 7; /* メインコンテンツは画面の7割 */
}

h1 {
  font-size: 1.5em;
}

h2 {
  color: #000;
}

a {
  font-weight: bold;
  color: #000;
}

.flex-ibento {
  padding: 5px;
  display: flex;
}

.torihiki-img {
  width: 40px;
  border-radius: 50%;
  margin-right: 10px;
  height: 40px !important;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  margin: 20px;
  gap: 10px;
}

.filter-buttons button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.filter-buttons button:hover {
  background-color: #0056b3;
}

/* メインコンテンツ */
main {
  justify-content: space-between; /* サイドバーとメインの間に空白 */
  gap: 20px; /* サイドバーとメインコンテンツの間隔 */
  padding: 20px;
  flex-grow: 1;
}

.colab-images {
  display: flex;
}

.colab-img {
  padding: 5px;
  width: 45%;
}

.colab-big-img {
  padding: 5px;
  width: 60%;
}

.colab-minimamu-img {
  padding: 5px;
  width: 30%;
}

/* カードの横幅調整 */
#collab-list {
  width: 100%;
  max-width: 100%; /* メインコンテンツの幅に合わせて100% */
  margin: 0 auto;
}

.collab-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%; /* 横幅100% */
  max-width: 900px; /* 各カードの最大横幅 */
  margin: 0 auto 30px auto; /* 中央寄せ＋下にスペース */
  display: flex;
  flex-direction: column;
}

.collab-card img {
  height: auto;
  object-fit: cover;
  display: block;
}

.collab-content {
  padding: 15px;
}

.collab-images {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.collab-images img {
  width: 48%;
  border-radius: 5px;
}

.collab-card:hover {
  transform: scale(1.02);
}

.collab-title {
  font-size: 1.2em;
  margin: 0 0 10px;
}

.collab-period {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 10px;
}

.collab-description {
  margin-top: 15px;
  padding: 15px;
  background-color: #fafafa;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.collab-description h3 {
  margin-top: 1em;
  font-size: 18px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
}

.collab-description ul,
.collab-description ol {
  margin-top: 5px;
}

.collab-description li {
  margin-left: 20px;
}

.small-image {
  display: block;
  margin: 20px auto 0; /* 上に20pxの余白、左右自動、下は0 */
  width: 60%; /* 必要に応じてサイズを調整 */
  object-fit: cover;
  border-radius: 8px; /* 任意：角を丸めたいとき */
}

.latest-updates p {
  color: #555;
}
.update-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}
.update-item:last-child {
  border-bottom: none;
}
.update-item h3 {
  color: #007bff;
}
.update-item p {
  color: #555;
}
.hidden {
  display: none; /* 初期状態で非表示 */
}

/* もっと見るボタン */
#load-more-btn {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
#load-more-btn:hover {
  background-color: #0056b3;
}

@media (max-width: 1210px) {
  body {
    line-height: 1.4;
  }

  .wrapper {
    flex-direction: column; /* レイアウトを縦方向に */
    padding-left: 0cm;
  }
}

/* スマホ対応のレスポンシブデザイン */
@media (max-width: 768px) {
  .collab-list {
    flex-direction: column;
    align-items: center;
  }

  .collab-card {
    width: 90%;
  }

  .colab-img {
    width: 65%;
  }

  .collab-section {
    padding: 10px;
  }

  li {
    font-size: 12px;
  }

  .collab-description ul,
  .collab-description ol {
    margin-left: 5px;
  }

  #comment-section {
    width: 80%;
  }
}
