@charset "utf-t8";


body {
  background-color: #f4f4f4;
}

.mv {
  background-color: #fff;
  padding-bottom: 20px;
  border-radius: 5px;
}

.custom-posts {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
}

.news-section {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
}

.tabs {
  border-bottom: 2px solid #e0e0e0;
}

/* タブボタンの装飾 */
.tab-btn {
  padding: 5px;
  font-size: 1.5rem;
  color: #666;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  /* 下線の上に重ねる */
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: #000;
}

/* アクティブなタブの装飾 */
.tab-btn.is-active {
  color: #4FB1CE;
  border-bottom-color: #4FB1CE;
  font-weight: bold;
}

/* パネルの余白装飾 */
.tab-panel {
  padding: 20px 0;
}

/* お知らせリストの装飾 */
.news-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.new-tag {
  background-color: #f00;
  color: #fff;
  max-width: 50px;
  width: 100%;
  height: 21px;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

.news-item.new .new-tag {
  visibility: visible;
}

.news-date {
  color: #888;
  font-size: 1.4rem;
  white-space: nowrap;
}

.news-title {
  color: #333;
  text-decoration: none;
}

.news-title:hover {
  text-decoration: underline;
}

.row {
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.row>section {
  width: 100%;
}


@media (max-width: 900px) {
  .row {
    flex-direction: column;
  }

  .row>section {
    width: 100%;
  }
}