:root {
  --elevation-1: 0 2px 6px 1px rgba(0, 0, 0, 0.15), 0 4px 12px 2px rgba(0, 0, 0, 0.15), 0 8px 24px 4px rgba(0, 0, 0, 0.15), 0 16px 48px 8px rgba(0, 0, 0, 0.15);
  --elevation-2: 0 2px 6px 1px rgba(0, 0, 0, 0.08), 0 4px 12px 2px rgba(0, 0, 0, 0.08), 0 8px 24px 4px rgba(0, 0, 0, 0.08);
}

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

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

#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 {
  & 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(--ink) h s l / 10%);
        &:hover {
          text-decoration: none;
        }
      }

      &.selected {
        & a {
          background-color: var(--blue);
          color: var(--snow);
          &:hover {
            text-decoration: none;
            color: var(--snow);
          }
        }
      }
    }
  }
}

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

.thumbnail {
  position: relative;

  &.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/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%;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 12.5rem 1.25rem 1.25rem 1.25rem;
  &::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 82.5%;
    height: 100%;
    background-color: hsl(from var(--sky) h s l / 35%);
    -webkit-clip-path: polygon(0 0, 0 100%, 100% 0);
    clip-path: polygon(0 0, 0 100%, 100% 0);
    pointer-events: none;
  }
  @media screen and (min-width: 768px) {
    padding: 15rem 1.5rem 1.5rem 1.5rem;
  }
  @media screen and (min-width: 1024px) {
    padding-top: 17.5rem;
    padding-right: 5rem;
    padding-left: 5rem;
  }
  @media screen and (min-width: 1200px) {
    padding: 20rem 7.5rem 3.75rem 7.5rem;
  }
  
  & .page-hero__image {
    position: absolute;
    inset: 0;
    &::after {
      content: "";
      display: block;
      position: absolute;
      inset: 0;
      background-color: hsl(0 0 0 / 30%);
      pointer-events: none;
    }
    & img {
      position: relative;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  
  & .page-hero-dec {
    position: absolute;
    width: 107.75%;
    max-width: 107.75rem;
    min-width: 64rem;
    right: 0;
    bottom: 0;
    transform: translate(67.9814%, 35.5556%);
    & img {
      width: 100%;
    }
  }
  
  & .page-hero__title-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    color: var(--snow);
    line-height: 1.25;
    gap: 0.75rem;
    &::after {
      content: "";
      width: 3rem;
      height: 0.125rem;
      background-color: var(--snow);
      margin-left: 0.25rem;
    }
    
    & .page-hero__title-dec-text {
      position: absolute;
      height: 5rem;
      top: -2.5rem;
      left: -1.25rem;
      @media screen and (min-width: 768px) {
        height: 6rem;
        top: -4rem;
        left: -2.5rem;
      }
      @media screen and (min-width: 1024px) {
        height: 8rem;
        top: -5rem;
        left: -3.75rem;
      }
      & img {
        height: 100%;
      }
    }
    & .page-hero__title-content {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      & .page-hero__title-en {
        font-weight: 900;
        font-size: 1rem;
      }
      & .page-hero__title-ja {
        font-weight: 700;
        letter-spacing: 0.08em;
        font-size: 2rem;
        @media screen and (min-width: 768px) {
          font-size: 3rem;
        }
        @media screen and (min-width: 1024px) {
          font-size: 4rem;
        }
      }
    }
  }
}

.section-title {
  position: relative;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  gap: 0.75rem;
  &::after {
    content: "";
    width: 2rem;
    height: 0.125rem;
    background-color: var(--deep-sky);
    margin-left: 0.25rem;
  }
  
  & .section-title__dec-text {
    position: absolute;
    height: 4rem;
    top: -2.5rem;
    left: -1.25rem;
    @media screen and (min-width: 768px) {
      height: 6rem;
      top: -4rem;
      left: -2.5rem;
    }
    @media screen and (min-width: 1024px) {
      height: 8rem;
      top: -5rem;
      left: -3.75rem;
    }
    & img {
      height: 100%;
    }
  }
  & .section-title__content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    & .section-title__en {
      font-weight: 900;
      font-size: 0.875rem;
      color: var(--deep-sky);
    }
    & .section-title__ja {
      font-weight: 700;
      letter-spacing: 0.08em;
      font-size: 1.5rem;
      @media screen and (min-width: 768px) {
        font-size: 2.5rem;
      }
      @media screen and (min-width: 1024px) {
        font-size: 3rem;
      }
    }
  }
  
  &.section-title--snow {
    &::after {
      content: none;
    }
    & .section-title__en, & .section-title__ja  {
      color: var(--snow);
    }
  }
  &.section-title--sm {
    & .section-title__dec-text {
      height: 3rem;
      top: -2rem;
      left: -1.25rem;
      @media screen and (min-width: 768px) {
        height: 6rem;
        top: -3.75rem;
        left: -2.5rem;
      }
    }
    & .section-title__ja {
      font-size: 1.25rem;
      @media screen and (min-width: 768px) {
        font-size: 2.25rem;
      }
    }
  }
  &.section-title--center {
    text-align: center;
    &::after {
      align-self: center;
      margin-left: 0;
    }
    & .section-title__dec-text {
      left: 0;
      @media screen and (min-width: 768px) {
        left: 3.75rem;
      }
      @media screen and (min-width: 1024px) {
        left: 5rem;
      }
    }
  }
}

.section-dec-spray {
  position: absolute;
  & img {
    width: 100%
  }
  
  &.section-dec-spray--tr {
    width: 85.3984rem;
    top: -7rem;
    right: -55rem;
  }
  &.section-dec-spray--bl {
    width: 50rem;
    bottom: -10rem;
    left: -25rem;
  }
  &.section-dec-spray--tl {
    width: 85.3984rem;
    top: -6.5rem;
    left: -60rem;
  }
  &.section-dec-spray--br {
    width: 50rem;
    bottom: -8rem;
    right: -32rem;
  }
}

.button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.75rem 0.75rem 1.25rem;
  line-height: 1.25;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--snow);
  background-color: var(--deep-sky);
  border-radius: 0.5rem;
  transition: all ease 200ms;
  &:hover {
    opacity: 95%;
    transform: scale(0.95);
    color: var(--snow);
    text-decoration: none;
  }
  &::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0.0625rem;
    border: 1px solid var(--snow);
    border-radius: 0.4375rem;
    pointer-events: none;
  }
  &::after {
    content: "";
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    background-image: url(/system_panel/uploads/images/arrow-right-circle.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  &.button--white {
    background-color: var(--snow);
    color: var(--deep-sky);
    &::hover {
      color: var(--deep-sky);
    }
    &::after {
      background-image: url(/system_panel/uploads/images/arrow-right-circle-blue.svg);
    }
    &::before {
      border-color: var(--deep-sky);
    }
  }
  &.button--icon-left {
    padding-right: 0.75rem;
    padding-left: 1rem;
    &::after {
      content: none;
    }
  }
  &.button--lg {
    gap: 1rem;
    padding: 1.5rem 2rem 1.25rem 2rem;
    border-radius: 0.75rem;
    &::after {
      content: none;
    }
    &::before {
      inset: 0.125rem;
      border-width: 0.125rem;
      border-radius: 0.6875rem;
    }
  }
}

.faq-contact-buttons .button {
  padding-right: 0.5rem;
  padding-left: 0.75rem;
  @media screen and (min-width: 414px) {
    padding-right: 0.75rem;
    padding-left: 1rem;
  }
}

.footer-contact-image, .fillered-bg-image {
  position: absolute;
  inset: 0;
  &::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    background-color: hsl(0 0 0 / 50%);
    pointer-events: none;
  }
  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.footer-contact-dec-spray {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-45%);
  width: 125rem;
  min-width: 60rem;
  @media screen and (min-width: 768px) {
    top: 3.5rem;
  }
  @media screen and (min-width: 1024px) {
    top: 5rem;
  }
  @media screen and (min-width: 1200px) {
    top: 8rem;
  }
  & img {
    width: 100%;
  }
}

.footer-contact-dec-text {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  letter-spacing: 0.15em;
  line-height: 1;
  font-weight: 900;
  font-size: 4rem;
  color: var(--snow);
  @media screen and (min-width: 768px) {
    font-size:8rem;
  }
  @media screen and (min-width: 1024px) {
    font-size: 10rem;
  }
  @media screen and (min-width: 1200px) {
    font-size: 15rem;
  }
}

.footer-dec-spray {
  position: absolute;
  & img {
    width: 100%;
  }
  &.footer-dec-spray--tl {
    width: 40rem;
    top: -3rem;
    left: -22rem;
  }
  &.footer-dec-spray--br {
    width: 51.25rem;
    right: -7rem;
    bottom: -22rem;;
  }
}

.elevation-1 {
  box-shadow: var(--elevation-1);
}
.elevation-2 {
  box-shadow: var(--elevation-2);
}

.bg-snow-section-dec-spray {
  position: absolute;
  width: 55rem;
  right: -26rem;
  bottom:-6rem;
  & img {
    width: 100%;
  }
}

.services-dec-spray {
  position: absolute;
  & img {
    width: 100%;
  }
  &.services-dec-spray--1 {
    width: 124rem;
    top: 30rem;
    left: -77rem;
  }
  &.services-dec-spray--2 {
    width: 120rem;
    top: 55%;
    left: -22rem;
  }
  &.services-dec-spray--3 {
    width: 82rem;
    bottom: -12rem;
    left: -52rem;
  }
}

.strength-num {
  position: absolute;
  top: -4rem;
  left: -1rem;
  @media screen and (min-width: 768px) {
    top: -5.75rem;
    left: -2rem;
  }
  &.strength-num--even {
    right: -1rem;
    left: auto;
    @media screen and (min-width: 768px) {
      right: -2rem;
    }
    @media screen and (min-width: 1024px) {
      right: -3rem;
    }
    @media screen and (min-width: 1200px) {
      right: -5rem;
    }
  }
}

.section-business-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 15rem;
  @media screen and (min-width: 768px) {
    height: 20rem;
  }
  @media screen and (min-width: 1024px) {
    height: 25rem;
  }
  @media screen and (min-width: 1200px) {
    height: 32.875rem;
  }
  & .section-business-bg__image {
    clip-path: polygon(0 0, 100% 77%, 100% 100%, 0% 100%);
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  & .section-business-bg__typo {
    width: 85%;
    max-width: 77.5rem;
    position: absolute;
    right: -4%;
    bottom: 2rem;
  }
}

.strengths-dec-spray {
  position: absolute;
  & img {
    width: 100%;
  }
  &.strengths-dec-spray--1 {
    width: 56.25rem;
    top: 14%;
    right: -12rem;
  }
  &.strengths-dec-spray--2 {
    width: 75rem;
    top: 33%;
    left: -35rem;
  }
  &.strengths-dec-spray--3 {
    width: 120rem;
    top: 46%;
    right: -60rem;
  }
  &.strengths-dec-spray--4 {
    width: 100rem;
    top: 72%;
    left: -39rem;
  }
}

.plant-hero {
  position: relative;
  overflow: hidden;
  padding: 12.5rem 1.25rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  &::after {
    content: "";
    display: block;
    position: absolute;
    top: -11.764706%;
    right: -17.5%;
    bottom: 0;
    left: 34.6875%;
    background-color: hsl(from var(--navy-blue) h s l / 80%);
    clip-path: polygon(41.25% 0, 100% 0, 58.75% 100%, 0 100%);
    pointer-events: none;
  }
  @media screen and (min-width: 768px) {
    padding-top: 15rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
  @media screen and (min-width: 1024px) {
    padding-top: 17.5rem;
    padding-right: 3.75rem;
    padding-left: 3.75rem;
  }
  @media screen and (min-width: 1200px) {
    padding: 20rem 7.5rem 3.75rem 7.5rem;
    height: 42.5rem;
  }
  & .plant-hero__dec-spray {
    position: absolute;
    width: 120rem;
    bottom: -44rem;
    left: -34rem;
    z-index: 1;
    @media screen and (min-width: 1200px) {
      bottom: -24rem;
      left: -34rem;
    }
  }
  & .plant-hero__dec-text {
      position: absolute;
      height: 5rem;
      top: -2.5rem;
      right: -1.25rem;
      @media screen and (min-width: 768px) {
        height: 6rem;
        top: -4rem;
        right: -2.5rem;
      }
      @media screen and (min-width: 1024px) {
        height: 8rem;
        top: -5rem;
        rihgt: -3.75rem;
      }
      & img {
        height: 100%;
      }
    }
}

.plant-strength-title-dec {
  width: 1920px;
  height: 0.125rem;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(calc(100% + 0.5rem), -50%);
  background-color: var(--sunset-red);
  @media screen and (min-width: 768px) {
    transform: translate(calc(100% + 2rem), -50%);
  }
  @media screen and (min-width: 1200px) {
    transform: translate(calc(100% + 3rem), -50%);
    &.plant-strength-title-dec--right {
      @media screen and (min-width: 1200px) {
        right: auto;
        left: 0;
        transform: translate(calc(-100% - 3rem), -50%);
      }
    }
  }
}


.plant-strength-dec-image-1 {
  position: absolute;
  top: 12.5rem;
  right: 0;
  bottom: 13.75rem;
  left: 0;
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
  opacity: 60%;
  @media screen and (min-width: 768px) {
    clip-path: polygon(0 20%, 100% 0, 100% 80%, 0 100%);
  }
  @media screen and (min-width: 1200px) {
    clip-path: polygon(0 41%, 100% 0, 100% 59%, 0 100%);
  }
  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.plant-strength-dec-image-2 {
  position: relative;
  clip-path: polygon(0 0, 100% 77%, 100% 100%, 0% 100%);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 3 / 1;
  margin-top: -10rem;
}

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

.news-list .webgene-blog {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid hsl(from var(--ink) h s l / 10%);
}










