@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*
 * #sticky-toc
 */
.sticky-toc {
  top: 48px;
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  align-items: center;
  margin: 0 !important;
  z-index: 999;
}
.sticky-toc--fixed {
  position: fixed;
  width: 100vw;
  left: 0;
}
.sticky-toc * {
  box-sizing: border-box;
}
.sticky-toc__item {
  flex-grow: 1;
  margin: 0 !important;
  padding: .5em 1em;
  border-bottom: 2px solid #ddd;
  text-align: center;
  cursor: pointer;
  transition: .3s;
}

.sticky-toc__item--active {
  font-weight: bold;
  border-color: #9cd19c;
}

@media screen and (min-width: 768px) {
  .sticky-toc, .sticky-toc__holder {
    display: none !important;
  }
}

/*
 * table th fixed
 */

.scrollable_table {
  position: relative;
  overflow-x: auto;
  display: block;
}

.scrollable_table p:empty {
  display: none;
}

.scrollable_table__scroll_guide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 80px;
  max-width: 50% !important;
  max-height: 80% !important;
  background-color: rgba(0, 0, 0, .7);
}
.scrollable_table__scroll_guide img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  height: auto;
}
.scrollable_table--animated .scrollable_table__scroll_guide img {
  animation: scroll-guide-animation 1.5s linear;
  animation-iteration-count: 2;
}
@keyframes scroll-guide-animation {
  0% {
    top: 50%;
    left: 100%;
    opacity: 0;
  }

  10% {
    top: 50%;
    opacity: 1;
  }

  50%,
  100% {
    left: 0%;
    opacity: 0;
  }
}

.scrollable_table__table {
  margin: 0 !important;
  border-collapse: collapse;
  width: 100%;
}

.scrollable_table__table th,
.scrollable_table__table td {
  white-space: nowrap;
}

/* 固定するヘッダーのスタイル */
.scrollable_table__table th {
  position: sticky;
  left: 0;
  z-index: 1;
  background-color: #f8f8f8;
}

.scrollable_table__table th:before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 100%;
  height: 100%;
  border-left: 1px solid;
  border-top: 1px solid;
  border-color: inherit;
}

@media screen and (min-width: 960px) {
  .scrollable_table[data-table-scrollable="sp"] .scrollable_table__scroll_guide {
    display: none;
  }
}
@media screen and (max-width: 959px) {
  .scrollable_table[data-table-scrollable="pc"] .scrollable_table__scroll_guide {
    display: none;
  }
}