/* 
* 404ページ用スタイル
*/
.pages-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 23.5rem);
  position: relative;
  overflow: hidden;
}

.pages-bg-illust {
  width: 97.6712%;
  min-width: 1426px;
  position: absolute;
  top: -5.6875rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 0 0 -2.875rem;
  mix-blend-mode: multiply;
  & svg {
    width: 100%;
    height: 100%;
  }
}

.content {
  padding: 10rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  position: relative;
  text-align: center;
}

.content-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notfound-title {
  font-size: 2.25rem;
  font-weight: 700;
  font-variation-settings: "wght" 700;
}

@media (width < 768px) {
  .pages-main {
    min-height: calc(100vh - 48rem);
  }
  .pages-bg-illust {
    margin: 0 0 0 -86px;
  }
  .content {
    padding: 4rem 1rem;
  }
  .notfound-title {
    font-size: 1.5rem;
  }
}

.button {
  --arrow-chevron: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="11" viewBox="0 0 8 11" fill="none"><path d="M1 1L6.08131 5.44615L1 9.8923" stroke="%23fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  max-width: 19.375rem;
  padding: .84rem 1.06rem;
  background: #fff;
  border: solid 2px var(--primary-color);
  border-radius: 2.4375rem;
  font-size: 1.125rem;
  font-weight: 600;
  font-variation-settings: "wght" 600;
  text-align: center;
  &::after {
    content: "";
    display: block;
    width: 34px;
    height: 34px;
    background: var(--primary-color) var(--arrow-chevron);
    background-position: 14px center;
    background-repeat: no-repeat;
    background-size: 8px 11px;
    border-radius: 50%;
    transition: .3s;
  }
}

.button-text {
  flex: 1;
  text-align: center;
}

@media (992px <= width) {
  .button {
    transition: .3s;
    &:hover {
      background: #fff;
      color: var(--primary-color);
      &::after {
        --arrow-chevron: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="11" viewBox="0 0 8 11" fill="none"><path d="M1 1L6.08131 5.44615L1 9.8923" stroke="%23fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
        background-color: var(--primary-color);
      }
    }
  }
}
