*, *::before, *::after {
  min-width: 0px;
  min-height: 0px;
}
body {
  font-family: var(--font-sans);
  color: var(--white);
  background: var(--paper-dark);
  background-color: var(--black);
}
#root {
  max-width: 1920px;
  margin: 0 auto;
  border: 10px solid var(--dark-red);
  overflow: hidden;
}
p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
}
img, iframe {
  max-width: 100%;
}
iframe {
  border: none;
  box-shadow: none;
}
a, a:hover {
  color: var(--white);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.button {
  position: relative;
  appearance: none;
  cursor: pointer;
  box-shadow: none;
  border: 0;
  outline: none;
}
.list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.5rem;
  list-style: disc outside none;
}
.list>p {
  margin: 0;
  display: list-item;
}
.webgene-pagination ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}
.webgene-pagination ul li a {
  display: inline-block;
  width: 3rem;
  line-height: 3rem;
  text-align: center;
  color: var(--white);
  background-color: var(--gray);
}
.webgene-pagination ul li a:hover {
}
.webgene-pagination ul li.selected a {
  background-color: var(--dark-red);
}
.webgene-pagination ul li.selected a:hover {}
.thumbnail {
  position: relative;
}
.thumbnail img, .thumbnail:empty::before {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbnail:empty::before {
  content: '';
  display: block;
  background-image: url('/system_panel/uploads/images/ogp.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.article-body>p {
  margin: 1em 0;
}
.article-body>h1,
.article-body>h2,
.article-body>h3,
.article-body>h4,
.article-body>h5,
.article-body>h6 {
  margin: 2em 0 1em;
}
.article-body>*:first-child {
  margin-top: 0;
}
.article-body>*:last-child {
  margin-bottom: 0;
}
.article-body a, .article-body a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  text-align: center;
  border-radius: 0.75rem;
  background: var(--wood-yellow);
  border: 3px solid var(--black);
  box-shadow: 4px 4px 0 0 var(--black);
  font-size: 1rem;
  font-family: var(--font-display);
  line-height: 1.5;
  color: var(--black);
  transition: all 150ms ease;
}
.button > p {
  flex: 1 1 0%;
}
.button--red {
  box-shadow: 4px 4px 0 0 var(--red);
}
.button--white {
  background: var(--white);
}
.button--large {
  font-size: 1.5rem;
}
.button--text-only {
  justify-content: center;
}
.button:hover {
  text-decoration: none;
  box-shadow: 3px 3px 0 0 var(--black);
  transform: translate(1px, 1px);
  color: var(--black);
}
.button--red:hover {
  box-shadow: 3px 3px 0 0 var(--red);
}
.button:active {
  box-shadow: 0 0 0 0 var(--black);
  transform: translate(4px, 4px);
}
.button--red:active {
  box-shadow: 0 0 0 0 var(--red);
}

.button--position {
  position: fixed !important;
  top: 130px !important;
  right: 80px !important;
  z-index: 9999 !important;   /* 一番手前に出す */
  width: auto !important; 
}

@media screen and (max-width: 768px){
  .button--position {
    position: fixed !important;
    top:130px !important;
    right: 14px !important;
    z-index: 9999 !important;
  }
}


.footer-map iframe {
  width: 100%;
  height: 100%;
}

.news-list .webgene-blog {
  display: grid;
  gap: 1.25rem;
}
.news-list .webgene-pagination {
  padding-top: 1.25rem;
}
.concept-dec__1,
.concept-dec__2,
.concept-dec__3 {
  position: absolute;
  width: 120%;
}
.concept-dec__1 {
  max-width: 920px;
  bottom: 0;
  left: -18%;
}
.concept-dec__2 {
  max-width: 1080px;
  bottom: -2.5rem;
  right: -1%;
}
.concept-dec__3 {
  max-width: 720px;
  bottom: 0.8rem;
  left: 0;
}
.recommend-dec {
  position: absolute;
  width: 1780px;
  bottom: -140px;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (min-width: 768px) {
  .news-list .webgene-blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-list .webgene-pagination {
    grid-column: span 2 / span 2;
  }
}
@media screen and (min-width: 1200px) {
  .news-list .webgene-blog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .news-list .webgene-pagination {
    grid-column: span 3 / span 3;
  }
}

.swiper-controls {
  display: flex;
  gap: 1rem;
  padding: 10px;
  justify-content: center;
  align-items: center
}
.swiper-pagination {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--gold);
}
.swiper-pagination-bullet {
  background: var(--white);
  opacity: 1;
}
.swiper-pagination-bullets.swiper-pagination-horizontal {
  top: 0;
  width: auto;
}
.swiper-button-prev, .swiper-button-next {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
}
.swiper-button-prev::after, .swiper-button-next::after {
  content: none;
}