@charset "utf-8";

/* ==========================
  初期設定
========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
img {
  width: 100%;
}

/* ==========================
  タブ
========================== */

.bl_tabContainer + * {
  margin-top: 30px;
}
/* タブリスト */
.bl_tabList {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  justify-content: space-between;
}
.bl_tabList li a {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #aaa;
  padding: 10px;
  transition: 0.3s;
}
.bl_tabList li a.active {
  background-color: #fff;
  cursor: text;
}
/* タブコンテンツ */
.bl_tabContent > div {
  background-color: #fff;
  padding: 20px;
  display: none;
}
.bl_tabContent > div.active {
  display: block;
}
.bl_tabContent > div > * + * {
  margin-top: 10px;
}

/* ==========================
  タブ以外のコンテンツの中身
========================== */
.ly_inner {
  width: 100%;
  max-width: 1080px;
  margin: 100px auto;
  padding: 30px;
  background-color: #ccc;
}
.ly_inner h2 {
  font-size: 150%;
  font-weight: bold;
  margin-bottom: 30px;
}
.md_textblock > * + * {
  margin-top: 10px;
}

/* テーブル */
.bl_calendar {
  border: 1px solid #ccc;
  margin: 0 auto;
}
.bl_calendar tr {
  border-bottom: 1px solid #ccc;
}
.bl_calendar tr:last-of-type {
  border-bottom: none;
}
.bl_calendar tr td {
  border-right: 1px solid #ccc;
  padding: 5px;
  text-align: center;
}
.bl_calendar tr th {
  border-right: 1px solid #fff;
  padding: 5px;
  text-align: center;
}
.bl_calendar tr th {
  background-color: #ccc;
}
.bl_calendar tr th:last-child,
.bl_calendar tr td:last-child {
  border-right: none;
}

/* ====================================
  ここからPC幅
==================================== */
@media screen and (min-width: 768px) {
  .hp_displaySP {
    display: none !important;
  }
  .bl_tabList li a:not(.active):hover {
    background-color: #fff;
  }
  .bl_tabList li {
    width: 15%;
  }
  .bl_tabList li:nth-of-type(n + 7) {
    margin-top: 10px;
  }
}

/* ====================================
  ここからスマホ幅
==================================== */
@media screen and (max-width: 767px) {
  .hp_displayPC {
    display: none !important;
  }
  .bl_tabList li {
    width: 24%;
    font-size: 0.8rem;
  }
  .bl_tabList li:nth-of-type(n + 5) {
    margin-top: 5px;
  }
  .bl_tabList li a {
    padding: 5px;
  }
  .bl_calendar {
    word-break: break-all;
    table-layout: fixed;
    width: 100%;
  }
}
