.program-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}

.program-item {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  border-bottom: 1px solid #ccc;
  padding: 5px 0;
}

.program-item div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.program-date {
  min-width: 70px;
  flex-shrink: 0;
}

.program-weekday {
  min-width: 50px;
  flex-shrink: 0;
}

.program-time {
  min-width: 60px;
  flex-shrink: 0;
}

.program-station {
  min-width: 100px;
  flex-shrink: 0;
}

.program-title {
  flex-grow: 1;
}

.h3form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* 画面が狭いときは縦に折り返す */
  gap: 10px;
}

.h3form form {
  display: flex;
  gap: 5px;
}

.h3form input[type="text"] {
  padding: 4px 8px;
  width: 200px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.h3form button {
  padding: 4px 12px;
}
.basicList2 {
  padding: 0.3em 0.6em 0;
  overflow: hidden;
  clear: both;
  zoom: 1;
}
ol, ul, li, dl, dt, dd {
  list-style: none;
  margin: 0;
  padding: 0;
}
.clm3 li {
  /* height: 1.6em; */
  width: 200px;
  float: left;
  padding-right: 0.3em;
}
.basicList2.clm3 {
  font-size: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3等分 */
  gap: 0.5em;
  padding: 0.3em 0.6em 0;
}
.basicList2.clm3 li {
  width: 100%; /* 必須：Grid内で均等に */
}
.basicList2.clm3 a,
.basicList2.clm3 a:visited,
.basicList2.clm3 a:active,
.basicList2.clm3 a:focus {
  color: #666;
  text-decoration: none;
}

.basicList2.clm3 a:hover {
 color: #000;
}

.aa {
  margin: 20px 0;
}

/* 共通設定：ulを横並びにする */
.aa ul {
  display: flex;
  justify-content: space-between; /* 均等に間隔を配置 */
  flex-wrap: wrap; /* 折り返し可能にする場合はON */
  padding: 0;
  margin: 10px 0;
}

/* 各liを均等に並べる */
.aa li {
  flex: 1;
  text-align: center;
  list-style: none;
  margin: 4px;
}

/* aタグの見た目調整 */
.aa a {
  display: inline-block;
  padding: 6px 0;
  color: #000;
  text-decoration: none;
}

/* spanを強調（任意） */
.aa span {
  font-weight: bold;
  margin-right: 3px;
}
.aa li a {
  display: block;
  padding: 8px 12px;
  background-color: #f5f5f5;     /* 背景色 */
  border: 1px solid #ccc;        /* 枠線 */
  border-radius: 8px;            /* 角を丸く */
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
}

.aa li a:hover {
  background-color: #e0e0e0;     /* ホバー時の色 */
}
.program-title a {
  color: #034881;
}
.program-image {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}
@media screen and (max-width: 600px) {
  .program-station {
    min-width: 80px;
  }
}