@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");

html,
body {
  font-family:
    "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic", "Meiryo", sans-serif;
  background: #fafafa;
  color: #2e2e2e;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

* {
  transition: 0.3s;
}

/* yellow CTA */
.cta {
  text-align: center;
  margin: 2rem auto;
}

.cta-sub,
.cta-tail {
  display: none;
}

.cta-button {
  display: inline-block;
  padding: 0;
  width: 100%;
}

.cta-button a {
  margin: 0;
  background: #fcee21;
  color: #9d4326;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: block;
}

.cta-button a:hover {
  text-decoration: none;
  background: #f5e400;
  box-shadow: none;
}

@media (min-width: 768px) {
  .cta {
    margin: 5rem auto;
  }

  .cta-button {
    width: auto;
  }

  .cta-button a {
    font-size: 2rem;
    padding: 2rem 3rem;
  }
}

/* fukidashi */
.fukidashi {
  position: relative;
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-radius: 4rem;
  background: #fff;
  filter: drop-shadow(4px 4px 16px rgba(0, 0, 0, 0.1));
  z-index: 1;
}

.fukidashi::before,
.fukidashi::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  width: 0;
  height: 0;
  border: solid #fff;
  transform: translateX(-50%);
}

.fukidashi::before {
  border-width: 1.75rem 1.5rem 0 1.5rem;
  border-color: #fff transparent transparent transparent;
  z-index: -2;
}

.fukidashi::after {
  border-width: 1.5rem 1.375rem 0 1.375rem;
  border-color: #fff transparent transparent transparent;
  z-index: -1;
}

.top-section .fukidashi p,
.page-section .fukidashi p {
  margin: 0;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  font-family: "Zen Maru Gothic";
  letter-spacing: -0.05rem;
}

@media (min-width: 992px) {
  .fukidashi {
    min-height: 5.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* FAQ */
.faq-box {
  margin: 2rem auto 0;
}

.question,
.answer {
  position: relative;
  margin: 1rem 0;
  padding: 0 1rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.question::before {
  content: "Q.";
  display: inline-block;
  position: relative;
  top: -0.1em;
  margin-right: 1rem;
  color: #fcee21;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.answer::before {
  content: "A.";
  display: inline-block;
  position: relative;
  top: -0.1em;
  margin-right: 1rem;
  color: #9d4326;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.question p,
.answer p {
  font-size: 1rem;
  font-weight: 500;
  margin: 1rem 0;
}

@media (min-width: 992px) {
  .question,
  .answer {
    padding: 0 1rem;
  }
}

/* Feature Title */
.section-title {
  text-align: center;
  font-weight: 600;
}

/* Header Navbar 編集画面で編集するために移動 */
.hd-logo {
  display: none;
}

.navbar {
  right: 0;
  top: 0;
  z-index: 100;
  width: 100vw;
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
}

.nav-logo {
  z-index: -3;
  display: inline-block;
  width: 80%;
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-collapse {
  background-color: #fafafa;
  padding: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

.navbar-nav-logo {
  margin-bottom: 2rem;
}

.nav-item {
  color: #2e2e2e;
  font-weight: 600;
}

.nav-item p {
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem;
  line-height: 1;
  font-size: 1.25rem;
  text-align: center;
}

.nav-item:hover {
  text-decoration: none;
}

.nav-item:hover p {
  background-color: #2e2e2e;
  color: #fff;
}

@media (min-width: 992px) {
  .navbar {
    display: none;
  }
  .hd-logo {
    display: block;
  }
}

/* nav-bar-top */
.nav-bar-top {
  position: absolute;
  padding: 1.5rem 1.5rem 0;
  justify-content: flex-end;
}

/* news-page */
#dataNews.webgene-blog {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 3rem;
  padding: 1rem;
}

#dataNews .webgene-item {
  padding: 0.25rem 0;
}

#dataNews .webgene-item .time {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  font-family: "Noto Sans JP";
}

#dataNews .webgene-item .blogItemCategory {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  background: #fcee21;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  font-family: "Noto Sans JP";
}

#dataNews .webgene-item h2,
#dataNews .webgene-item h2.h6,
#dataNews .webgene-item h2.d-inline {
  display: block !important;
  margin: 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Noto Sans JP";
}

#dataNews .webgene-item h2 a {
  text-decoration: none;
  color: #2e2e2e;
}

#dataNews .webgene-item h2 a:hover {
  text-decoration: none;
}

#dataNews .webgene-item p,
#dataNews .webgene-item .summary,
#dataNews .webgene-item .lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

#dataNews .webgene-pagination {
  grid-column: 1 / -1;
}

#dataNews .webgene-item .blogItemContent {
  font-family: "Noto Sans JP";
}

@media (min-width: 992px) {
  #dataNews.webgene-blog {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem 5rem;
    padding: 1rem 3.5rem 2rem;
  }
}

/* news pager */
#dataNews .webgene-pagination {
  grid-column: 1 / -1;
  margin: 2rem 0 0;
}

#dataNews .webgene-pagination ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

#dataNews .webgene-pagination li {
  margin: 0;
  padding: 0;
}

#dataNews .webgene-pagination a,
#dataNews .webgene-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  padding: 0 1rem;
  border: 1px solid #2e2e2e;
  background: transparent;
  color: #2e2e2e;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

#dataNews .webgene-pagination a:hover {
  text-decoration: none;
  background: #2e2e2e;
  color: #ffffff;
}

/* active page fallback (if system outputs .active/.current/.on) */
#dataNews .webgene-pagination .selected a{
  background: #2e2e2e;
  color: #fff;
  border-color: #2e2e2e;
}

.text-small {
  font-size : 0.9em !important;
}

.icon-filter-dark {
  width : 40px;
  height : auto;
  object-fit : cover;
  filter : brightness(0.2);
}

.sp-no-br br {
	display : none;
}
@media (min-width : 576px){
  .sp-no-br br {
	display : unset;
	}
}
