@media screen and (max-width: 640px) {
  .column-card {
    flex-direction: column;
  }

  .column-image img {
    width: 100%;
  }

  .feature-post {
    flex-direction: column;
    padding: 20px;
  }

  .feature-post__content {
    width: 100%;
  }
  /* 画面幅640px以下用 */
@media screen and (max-width: 640px) {
  
  /* 全体の余白調整 */
  .top-page {
    padding: 16px;
  }

  /* トップ画像（feature-post）をスマホに合わせて縮小 */
  .feature-post {
    display: block;
    background-color: #f9f9f9;
  }

  .feature-post__image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .feature-post__content {
    padding: 16px;
  }

  .feature-post__title {
    font-size: 1.2rem;
    margin-top: 10px;
  }

  .feature-post__excerpt {
    font-size: 0.9rem;
  }

  /* 記事一覧：2列グリッドに変更 */
  .column-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
  }

  .column-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
  }

  .column-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .column-content {
    padding: 10px;
    font-size: 0.85rem;
  }

  .column-content h2 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .column-author {
    font-size: 0.75rem;
    color: #999;
  }

  /* 右カラム（カテゴリ・タグ）を非表示 → 下部に表示する */
  .r-content {
    margin-top: 40px;
  }

  .category-list {
    padding: 0;
    margin: 0 0 20px;
  }

  .category-list li {
    padding: 10px;
  }

  .category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    text-decoration: none;
    color: #333;
  }

  .category-list .icon {
    margin-right: 10px;
    font-size: 1.2rem;
  }

  .tag_area02 ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 0;
    justify-content: flex-start;
  }

  .tag_area02 li {
    list-style: none;
  }

  .tag_area02 li a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #ccc;
    border-radius: 9999px;
    font-size: 0.75rem;
    background-color: #fff;
    color: #333;
    text-decoration: none;
  }

  .tag_area02 li a:hover {
    background-color: #f0f0f0;
  }

}
.sp-hidden {
  display: none;
}

 .card {
    width: 100%;
  }
 
  .gallery-card {
    width: 100%;
  }
.gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }





  
}