*,
*::before,
*::after {
  min-width: 0px;
  min-height: 0px;
}

html {
  /* 最小値13pxを保証し、1200px未満では最大22pxまでフォントサイズが流動する */
  font-size: clamp(13px, var(--font-size-base), 22px);

  @media screen and (min-width: 1200px) {
    font-size: clamp(0.1rem, var(--font-size-base), 24px);
  }
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--back-ground);
  letter-spacing: 0.04em;
  font-weight: 500;
}

#root {
  margin: 0 auto;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  line-height: inherit;
}

img,
iframe {
  max-width: 100%;
}
iframe {
  border: none;
  box-shadow: none;
}

a,
a:hover {
  color: var(--ink);
}

[id] {
  scroll-margin-top: 3.75rem;
}

.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;
  background: none;
  padding: 0;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1.5rem;
  list-style: disc outside none;

  & > p {
    margin: 0;
    display: list-item;
  }
}

.webgene-pagination {
  & ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding: 0;
    margin: 0;

    & li {
      & a {
        display: inline-block;
        width: 3rem;
        line-height: 3rem;
        text-align: center;
        &:hover {
          text-decoration: none;
        }
      }

      &.selected {
        & a {
          &:hover {
          }
        }
      }
    }
  }
}

.webgene-no-items {
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
}

.thumbnail {
  position: relative;

  &.thumbnail--16x9 {
    padding-top: 56.25%;
  }

  & img,
  & video,
  &:empty::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  &:empty::before {
    content: "";
    background-image: url("/system_panel/uploads/images/ogp.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
}

.article-body {
  & > p {
    margin: 1em 0;
  }

  & > h1,
  & > h2,
  & > h3,
  & > h4,
  & > h5,
  & > h6 {
    margin: 2em 0 1em;
  }

  & > *:first-child {
    margin-top: 0;
  }

  & > *:last-child {
    margin-bottom: 0;
  }

  & a,
  & a:hover {
    color: var(--blue);
    text-decoration: underline;
  }
}

.backdrop-object {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.__mat.__mat--processed {
  word-break: keep-all;
  word-wrap: break-word;
}

.bg-wave::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5rem;
  width: 100%;
  background-image: url("/system_panel/uploads/images/wave.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  @media (min-width: 768px) {
    height: 7.5rem;
  }
  @media (min-width: 1024px) {
    height: 9rem;
  }
  @media (min-width: 1200px) {
    height: 11.125rem;
  }
}

.bg-clover {
  aspect-ratio: 240 / 287;
  position: absolute;
  width: 15rem;
  background-image: url("/system_panel/uploads/images/clover.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  &.bg-clover--section-tr {
    top: 4.5rem;
    right: 1.5rem;
  }
  &.bg-clover--section-cr {
    top: 50%;
    right: 1.5rem;
  }
  &.bg-clover--section-cl {
    width: 15.5rem;
    bottom: 15%;
    left: -2.375rem;
    transform: scaleX(-1);
  }
  &.bg-clover--faq {
    width: 12.6875rem;
    top: -0.5rem;
    left: 30%;
    transform: scaleX(-1);
  }
}

.bg-ginkgoes {
  aspect-ratio: 477 / 333;
  position: absolute;
  width: 29.8125rem;
  background-image: url("/system_panel/uploads/images/ginkgoes.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  top: -1rem;
  left: -12.75rem;
}

.bg-ginkgo {
  aspect-ratio: 318 / 286;
  position: absolute;
  width: 19.875rem;
  background-image: url("/system_panel/uploads/images/ginkgo.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  &.bg-ginkgo--section-cr {
    top: 50%;
    right: -3.5rem;
  }
}

.button.formBtn {
  position: relative;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  background-color: var(--green);
  color: var(--snow);
  line-height: 1.25;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 1rem;
  align-self: center;
  transition: all ease 200ms;
  &:hover {
    text-decoration: none;
    color: var(--snow);
    opacity: 90%;
    transform: scale(0.95);
  }
  &::before,
  &::after {
    content: none;
  }
}

.button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 500;
  font-size: 1.75rem;
  transition: opacity ease 200ms;
  &::before {
    content: "";
    aspect-ratio: 100 / 103;
    position: absolute;
    top: -4rem;
    right: -6rem;
    width: 15rem;
    background-image: url("/system_panel/uploads/images/ginkgo-gray.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transition: transform ease 200ms;
    pointer-events: none;
  }
  & > p {
    position: relative;
  }
  &::after {
    content: ">";
    position: relative;
  }
  &:hover {
    text-decoration: none;
    opacity: 85%;
    &::before {
      transform: scale(1.1);
    }
  }
}

.footer-ginkgoes {
  aspect-ratio: 477 / 333;
  position: absolute;
  top: -0.625rem;
  right: -1.25rem;
  width: 19.125rem;
  background-image: url("/system_panel/uploads/images/ginkgoes-footer.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.footer-clover {
  aspect-ratio: 179 / 205;
  position: absolute;
  bottom: -1.25rem;
  left: 48%;
  width: 11.1875rem;
  background-image: url("/system_panel/uploads/images/clover-footer.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.information-bg-circle {
  aspect-ratio: 1 / 1;
  width: 40.75rem;
  border-radius: 9999px;
  background-color: var(--back-green);
  position: absolute;
  top: -6rem;
  left: 50%;
  transform: translateX(-50%);
}

.services-strengths {
  counter-reset: strength-num;
  & .services-strength-card {
    counter-increment: strength-num;
    & .services-strength-card__title {
      display: flex;
      align-items: baseline;
      gap: 0.25rem;
      &::before {
        content: counter(strength-num) ".";
      }
    }
  }
}


.header-ginkgoes {
  display: none;
  aspect-ratio: 314 / 186;
  position: absolute;
  top: 4rem;
  right: 2rem;
  width: 10rem;
  background-image: url("/system_panel/uploads/images/ginkgoes-header.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  @media (min-width: 768px) {
    display: block;
  }
  @media (min-width: 1200px) {
    top: 4rem;
    right: 2rem;
    width: 19.625rem;
  }
}

.header-clover {
  display: none;
  aspect-ratio: 240 / 287;
  position: absolute;
  top: 3.5rem;
  left: 40%;
  width: 4rem;
  background-image: url("/system_panel/uploads/images/clover-header.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  @media (min-width: 768px) {
    display: block;
  }
  @media (min-width: 1200px) {
    top: 3.5rem;
    left: 40%;
    width: 8.5rem;
  }
}


















