:root {
  --elevation-1: 0px 1px 2px 0px rgba(0, 0, 0, 0.03), 0px 2px 4px 0px rgba(0, 0, 0, 0.03), 0px 4px 8px 0px rgba(0, 0, 0, 0.03), 0px 8px 16px 0px rgba(0, 0, 0, 0.03), 0px 8px 32px 0px rgba(0, 0, 0, 0.03);
  --elevation-2: 0px 1px 4px 0px rgba(0, 0, 0, 0.03), 0px 2px 8px 0px rgba(0, 0, 0, 0.03), 0px 4px 16px 0px rgba(0, 0, 0, 0.03), 0px 8px 24px 0px rgba(0, 0, 0, 0.03), 0px 16px 32px 0px rgba(0, 0, 0, 0.03), 0px 32px 48px 0px rgba(0, 0, 0, 0.00), 0px 16px 80px 0px rgba(0, 0, 0, 0.03);
}

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

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--snow);
  letter-spacing: 0.08em;
}

#root {
  max-width: 1920px;
  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 {
  margin-top: 1.5rem;
  & 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;
        background-color: hsl(from var(--green) h s l / 10%);
        &:hover {
          text-decoration: none;
        }
      }

      &.selected {
        & a {
          background-color: var(--green);
          color: var(--snow);
          &:hover {
            color: var(--snow);
          }
        }
      }
    }
  }
}

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

.thumbnail {
  position: relative;
  border-radius: 9999px;
  overflow: hidden;
  padding-top: 100%;

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

  & img,
  &: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/no-image.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%;
}

.page-hero-title {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 1rem;
  max-width: 67.5rem;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  
  & .page-hero-title__dots {
    position: relative;
    display: flex;
    gap: 1rem;
    
    & div {
      background-color: var(--green);
      border-radius: 9999px;
      height: 0.5rem;
      width: 0.5rem;
    }
    
    &::before, &::after {
      content: "";
      display: block;
      background-color: var(--green);
      border-radius: 9999px;
      height: 0.5rem;
      width: 0.5rem;
  	}
  }
  
  & .page-hero-title__ja {
    position: relative;
    letter-spacing: 0.24em;
    line-height: 1.25;
    font-weight: 700;
    font-size: 2rem;
    
    @media screen and (min-width: 768px) {
      font-size: 2.5rem;
    }
    @media screen and (min-width: 1024px) {
      font-size: 3rem;
    }
  }
  
  & .page-hero-title__en {
    position: absolute;
    letter-spacing: 0;
    line-height: 1;
    transform: rotate(-6deg);
    color: var(--green);
    opacity: 30%;
    font-family: var(--font-display);
    font-size: 3rem;
    top: -48px;
    left: -32px;
    white-space: nowrap;
    
    @media screen and (min-width: 768px) {
      font-size: 5rem;
      left: -58px;
    }
    @media screen and (min-width: 1024px) {
      font-size: 8rem;
      top: -72px;
      left: -120px;
    }
  }
  
  &.page-hero-title--blue {
    & .page-hero-title__dots {
      & div {
        background-color: var(--sky);
      }

      &::before, &::after {
        background-color: var(--sky);
      }
 	}
    
    & .page-hero-title__en {
      color: var(--sky);
  	}
  }
}

.section-title {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 1rem;
  padding-top: 3rem;
  
  & .section-title__dots {
    position: relative;
    display: flex;
    gap: 1rem;
    
    & div {
      background-color: var(--green);
      border-radius: 9999px;
      height: 0.5rem;
      width: 0.5rem;
    }
    
    &::before, &::after {
      content: "";
      display: block;
      background-color: var(--green);
      border-radius: 9999px;
      height: 0.5rem;
      width: 0.5rem;
  	}
  }
  
  & .section-title__ja {
    position: relative;
    letter-spacing: 0.24em;
    line-height: 1.25;
    font-weight: 700;
    font-size: 1.5rem;
    
    @media screen and (min-width: 768px) {
      font-size: 1.75rem;
    }
    @media screen and (min-width: 1024px) {
      font-size: 2rem;
    }
  }
  
  & .section-title__en {
    position: absolute;
    letter-spacing: 0;
    line-height: 1;
    transform: rotate(-6deg);
    color: var(--green);
    opacity: 30%;
    font-family: var(--font-display);
    font-size: 3rem;
    top: -28px;
    left: -32px;
    white-space: nowrap;
    
    @media screen and (min-width: 768px) {
      font-size: 4rem;
      left: -58px;
    }
    @media screen and (min-width: 1024px) {
      font-size: 5rem;
      top: -48px;
      left: -80px;
    }
  }
  
  &.section-title--blue {
    & .section-title__dots {
      & div {
        background-color: var(--sky);
      }

      &::before, &::after {
        background-color: var(--sky);
      }
 	}
    
    & .section-title__en {
      color: var(--sky);
  	}
  }
}

.button {
  position: relative;
  display: flex;
  padding: 1.25rem 1.5rem 1.25rem 2rem;
  gap: 1rem;
  align-items: center;
  background-color: hsl(from var(--ink) h s l / 10%);
  box-shadow: var(--elevation-1);
  color: var(--ink);
  letter-spacing: 0.08em;
  line-height: 1.25;
  font-weight: 500;
  font-size: 1rem;
  transition: opacity ease 200ms;
  
  &:hover {
    text-decoration: none;
    color: var(--ink);
    opacity: 80%;
  }
  
  &::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--green);
  }
  
  &.button--icon-l {
    padding: 1rem 2rem;
    
    &::after {
      display: none;
    }
  }
  
  &.button--blue {
    color: var(--snow);
    background-color: var(--sky);
    
    &::after {
      background-color: var(--snow);
    }
  }
}

.elevation-1 {
  box-shadow: var(--elevation-1);
}
.elevation-2 {
  box-shadow: var(--elevation-2);
}
  
.news-list {
  & .webgene-blog {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  & [data-target="news_summary"] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.8;
    height: 3.6em;
  }
}

.category-list {
  & .webgene-blog {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    
    @media screen and (min-width: 1200px) {
      gap: 1.5rem;
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  & [data-target="news_summary"] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.8;
    height: 3.6em;
  }
}

.consumers-image-dec {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0.25rem;
  height: 100%;
  background-color: var(--snow);
}

.business-bg {
  background-image: linear-gradient(180deg, rgba(27, 184, 79, 0.00) 0%, rgba(27, 184, 79, 0.10) 12%, rgba(27, 184, 79, 0.01) 25%, rgba(27, 184, 79, 0.10) 50%, rgba(27, 184, 79, 0.01) 75%, rgba(27, 184, 79, 0.10) 88%, rgba(27, 184, 79, 0.00) 100%);
}

.swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  overflow: auto;
  
  & .swiper-slide {
    min-width: 100%;
  }
}










