/* ------------------------------
  レイアウト共通
------------------------------ */

body {
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTIzNy4yNSIgdmlld0JveD0iMCAwIDg3MyAxMjM3LjI1IiB3aWR0aD0iODczIj48ZGVmcz48c3R5bGU+LnN2Zy1iZ18wMS1hIHsgZmlsbDogcmdiKDE1OCwgMjA2LCAyMjkpIH08L3N0eWxlPjwvZGVmcz48dGl0bGU+YmdfMDE8L3RpdGxlPjxwb2x5Z29uIGNsYXNzPSJzdmctYmdfMDEtYSIgcG9pbnRzPSI4NzMgNDg1IDM3MSAwIDAgMCAwIDEyMzcuMjQgODczIDQ4NSIvPjwvc3ZnPg==');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;

  font-family: 'Helvetica Neue', 'Yu Gothic', '游ゴシック体', YuGothic, 'メイリオ', Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.container-960 {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.background-transparent {
  background: transparent !important;
}


/* ------------------------------
  ロゴ・ヘッダー
------------------------------ */

.site-header {
  background-color: white;
}

.site-logo {
  max-width: 180px;
  height: auto;
  margin: 0 auto;
}

.navbar-brand img {
  max-height: 36px;
  vertical-align: middle;
}


/* ------------------------------
  トップビジュアル
------------------------------ */

.top {
  max-width: 1280px;
  margin: 0 auto;
  height: 400px;
  overflow: hidden;
}

.top-img {
  object-fit: cover;
  width: 100%;
  height: 400px;
}


/* ------------------------------
  共通タイトル（セクション見出し）
------------------------------ */

.sub-title {
  padding-top: 20px;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  border-top: 4px solid #000;
  display: inline-block;
}


/* ------------------------------
  お知らせ・沿革 リスト共通
------------------------------ */

.news-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #000;
}

.news-item:first-of-type {
  border-top: 1px solid #000;
}

.news-date {
  font-weight: bold;
}

.news-text {
  flex: 1;
  padding-left: 1rem;
}


/* ------------------------------
  レスポンシブ対応（共通でまとめる）
------------------------------ */

/* PC用 */
@media (min-width: 768px) {
  .navbar-collapse {
    background: transparent !important;
  }

  .nav-item {
    border: none !important;
  }
}

/* スマホ用：最大767px */
@media (max-width: 767px) {
  .site-logo {
    max-width: 140px;
  }

  .site-header {
    display: none;
  }

  .news-item {
    flex-direction: column;
  }

  .news-date {
    margin-bottom: 0.5rem;
  }

  .news-text {
    padding-left: 0;
  }

  .navbar-expand-lg {
    background: transparent !important;
  }

  /* --- 追加ここから --- */
  .responsive-table,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table th,
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table tr {
    /* margin-bottom: 1.5rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem; */
  }

  .responsive-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    /* padding-top: 1rem; */
  }

  .responsive-table td {
    /* padding: 0.5rem 0 1rem; */
  }
  /* --- 追加ここまで --- */
}