/*
Template: hummingbird
Theme Name: hummingbird_custom
Theme URI:http://open-cage.com/hummingbird/
*/

/* デフォルトでは非表示 */
.only-mobile {
  display: none;
}

/* 画面幅768px以下（スマホ）のみ表示 */
@media screen and (max-width: 768px) {
  .only-mobile {
    display: block;
    text-align: center;
    margin: 20px 0;
  }

  .only-mobile img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }

  .only-mobile p {
    margin-top: 8px;
    font-size: 0.95em;
  }
}



/* テーマの追加CSS or style.css */
@media (min-width: 641px){
  .entry-related-mobile{ display:none; }
}

.entry-related-mobile {
  margin-top: 24px; /* 上のタグとの間に余白 */
}

.related-heading {
  font-size: 18px;
  margin-bottom: 12px; /* 見出しと記事ブロックの間 */
  font-weight: bold;
}




.header-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0; /* 余白ゼロ */
}
.header-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #219181;
  border: 1px solid #fff;
}
.header-grid img {
  width: 100%;
  height: auto;
  display: block;
}
.header-grid span {
  font-size: 8pt;
  font-weight: bold;
  color: #fff;
  text-align: center;
  padding: 6px 0;
}


.link-list {
  column-count: 3; /* 3列に分割 */
  column-gap: 2em; /* 列間余白 */
  list-style: none;
  padding: 0;
}
.link-list li {
  margin: 0 0 0.5em;
}
.link-list a {
  text-decoration: none;
  color: #2358de;
}








