@charset "UTF-8";

/* フォント */

html {
  font-size: 100%;
}

body {
  font-family: "LINE Seed JP", sans-serif;
  font-size: 1.25rem; /* 20px */
  line-height: 1.5;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

.accent {
  font-family: "Archivo Black", sans-serif;
  font-weight: 700;
  font-style: normal;
}

footer {
  margin-top: clamp(5rem, 10vw, 12.5rem);
}

header {
  opacity: 0;
  transform: translateY(-1.25rem);
  transition:
    opacity 0.3s,
    transform 0.3s;
  pointer-events: none;
}

header.is-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 幅 */
.container {
  width: 100%;
  max-width: 77.5rem; /* 1240px */
  margin-inline: auto;
  padding-inline: 1rem;
}

/* 幅 */
.footer-container {
  width: 100%;
  max-width: 90rem; /* 1440px */
  margin-inline: auto;
  padding-inline: 1rem;
}

main > section + section,
.wwd-visual-wrap {
  margin-top: clamp(3.5rem, 8vw, 7.5rem);
}

main > section:nth-of-type(3) {
  margin-top: 0;
}

main > section:nth-of-type(4) {
  margin-top: 0;
}

@media (max-width: 1023px) {
  main > section + section,
  .wwd-visual-wrap {
    margin-top: clamp(3rem, 7vw, 6rem);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 1.125rem; /* 18px */
    line-height: 1.6;
  }

  main > section + section,
  .wwd-visual-wrap {
    margin-top: 4.5rem;
  }
}

@media (max-width: 480px) {
  main > section + section,
  .wwd-visual-wrap {
    margin-top: 3.5rem;
  }

  .container {
    padding-inline: 1.5rem;
  }

  .footer-container {
    padding-inline: 1.5rem;
  }

  body {
    font-size: 1rem; /* 16px */
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 1.5rem;
  }

  .footer-container {
    padding-inline: 1.5rem;
  }
}

/* br */
.pc-br {
  display: block;
}

.sp-br {
  display: none;
}

@media (max-width: 768px) {
  .pc-br {
    display: none;
  }

  .sp-br {
    display: block;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.625rem; /* 10px */
  margin-top: 3.125rem; /* 50px */
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.625rem 0.875rem;
  background: var(--color-text);
  color: var(--color-bg);
  text-decoration: none;
  font-size: 0.875rem; /* 14px */
  line-height: 1;
}

.pagination span.current {
  background: var(--color-bg);
  color: var(--color-text);
  border: solid 0.1875rem var(--color-text); /* 3px */
}

@media (max-width: 768px) {
  .pagination {
    flex-wrap: wrap;
    gap: 0.375rem; /* 6px */
  }
}

.single-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  margin-top: 3.125rem;
}

.single-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.625rem 0.875rem;
  background: var(--color-text);
  color: var(--color-bg);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .single-pagination {
    flex-wrap: wrap;
    gap: 0.375rem;
  }
}

.fade {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fade p {
  display: none;
  font-size: clamp(1.5rem, 3vw, 2.1875rem); /* 24px〜35px */
  font-weight: 700;
  color: #000;
  text-align: center;
  line-height: 1.4;
  padding-inline: 1rem;
}

/* 1文字ずつ */
.fade .char {
  display: inline-block;
  opacity: 0;
  filter: blur(0.875rem); /* 14px */
  transform: translateY(0.625rem); /* 10px */
  animation: blurIn 0.7s forwards;
}

@keyframes blurIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
  .fade p {
    line-height: 1.5;
    padding-inline: 1.25rem;
  }
}
