*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:where([hidden]:not([hidden="until-found"])) {
  display: none !important;
}

:where(html) {
  -webkit-text-size-adjust: none;
  color-scheme: dark light;
  tab-size: 2;
  scrollbar-gutter: stable;
}

:where(html:has(dialog:modal[open])) {
  overflow: clip;
}

:where(body) {
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:where(button) {
  all: unset;
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(textarea) {
  resize: vertical;
  resize: block;
}

:where(button, label, select, summary, [role="button"], [role="option"]) {
  cursor: pointer;
}

:where(:disabled) {
  cursor: not-allowed;
}

:where(label:has(> input:disabled), label:has(+ input:disabled)) {
  cursor: not-allowed;
}

:where(a) {
  color: inherit;
  text-underline-offset: 0.2ex;
}

:where(ul, ol) {
  list-style: none;
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}

:where(img, picture, svg, video) {
  max-inline-size: 100%;
  block-size: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

:where(h1, h2, h3) {
  line-height: calc(1em + 0.5rem);
}

:where(hr) {
  border: none;
  border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}

:where(dialog) {
  border: none;
  background: none;
  inset: unset;
  max-width: unset;
  max-height: unset;
}

:where(dialog:not([open])) {
  display: none !important;
}

:where(:focus) {
  outline: none;
}

:where(:focus-visible) {
  outline: none;
}

:where(:focus-visible):is(button, a, input, textarea, [tabindex="0"]) {
  outline: 2px solid CanvasText;
  box-shadow: 0 0 0 2px Canvas;
  outline-offset: 2px;
}

:where(:focus-visible, :target) {
  scroll-margin-block: 8vh;
}

:where(.visually-hidden:not(:focus-within, :active)) {
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:root {
  --white: #ffffff;
  --black: #000000;
  --gold: #b0a060;
  --gold-dark: #866201;
  --yellow: #feb606;
  --font-size-base: 1rem;
  --line-height-base: 1.5;
  --font-family-base: "Noto Sans JP", sans-serif;
  --font-family-serif: "Noto Serif JP", serif;
  --container-width: 1185px;
}

html,
body {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-family: var(--font-family-base);
  color: var(--white);
  background-color: var(--black);
}

body.is-loading {
  overflow: hidden;
}

.js-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.js-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black);
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
.is-loaded .loading {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loading__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.loading__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.loading__dots span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #eddca6;
  animation: loadingDot 1.2s infinite ease-in-out;
}
.loading__dots span:nth-child(1) {
  animation-delay: -0.32s;
}
.loading__dots span:nth-child(2) {
  animation-delay: -0.16s;
}
.loading__dots span:nth-child(3) {
  animation-delay: 0s;
}
.loading__text {
  color: var(--white);
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}

@keyframes loadingDot {
  0%,
  80%,
  100% {
    opacity: 0.5;
    transform: scale(0.5);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}
.header__top {
  background-color: var(--black);
  padding-inline: 16px;
}
.header__top-inner {
  display: flex;
  justify-content: center;
  padding-block: 1.6666666667vw;
}
.header__logo img {
  height: auto;
  width: 26.875vw;
}
.header__bottom {
  background-color: #3a3a3a;
  color: var(--white);
  overflow: clip;
  padding-inline: 16px;
}
.header__bottom-inner {
  padding-block: 2.5vw;
}
.header__title {
  font-size: 0.8125rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.mv {
  background: var(--black) url("../images/bg_mv.png") no-repeat left bottom/200%;
  overflow: hidden;
  padding-inline: 6.25vw;
}
.mv__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 6.6666666667vw 9.375vw;
  gap: 9.1666666667vw;
}
.mv__visual {
  width: 100%;
}
.mv__visual-img {
  width: 100%;
  height: auto;
}
.mv__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 7.0833333333vw;
}
.mv__label {
  color: var(--white);
  font-size: 3.3333333333vw;
  font-family: var(--font-family-serif);
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  gap: 1.6666666667vw;
  white-space: nowrap;
  text-align: center;
  margin-bottom: 6.6666666667vw;
}
.mv__label::before,
.mv__label::after {
  content: "";
  display: block;
  width: 7.3958333333vw;
  height: 1px;
  background-color: currentColor;
}
.mv__title {
  text-align: center;
  margin-bottom: 6.6666666667vw;
}
.mv__title-img {
  width: 100%;
  max-width: 73.6458333333vw;
  height: auto;
}
.mv__action {
  margin: 1.6666666667vw;
  align-self: stretch;
  display: flex;
  justify-content: center;
}
.mv__button {
  --corner-x: calc(34 / 960 * 100vw);
  --corner-y: calc(46 / 960 * 100vw);
  --corner-weight: calc(4 / 960 * 100vw);
  --corner-color: var(--gold-dark);
  --corner-offset: calc(-16 / 960 * 100vw);
  background-image: url(../images/bg_button.png);
  background-size: cover;
  color: var(--black);
  display: flex;
  justify-content: center;
  gap: 1.25vw;
  width: 100%;
  max-width: 69.7916666667vw;
  padding: 4.1666666667vw 1.6666666667vw;
  border: none;
  font-size: 3.5416666667vw;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  position: relative;
}
.mv__button::before {
  content: "";
  position: absolute;
  inset: var(--corner-offset);
  pointer-events: none;
  background:
    linear-gradient(var(--corner-color), var(--corner-color)) top
      left/var(--corner-x) var(--corner-weight) no-repeat,
    linear-gradient(var(--corner-color), var(--corner-color)) top
      left/var(--corner-weight) var(--corner-y) no-repeat,
    linear-gradient(var(--corner-color), var(--corner-color)) top
      right/var(--corner-x) var(--corner-weight) no-repeat,
    linear-gradient(var(--corner-color), var(--corner-color)) top
      right/var(--corner-weight) var(--corner-y) no-repeat,
    linear-gradient(var(--corner-color), var(--corner-color)) bottom
      left/var(--corner-x) var(--corner-weight) no-repeat,
    linear-gradient(var(--corner-color), var(--corner-color)) bottom
      left/var(--corner-weight) var(--corner-y) no-repeat,
    linear-gradient(var(--corner-color), var(--corner-color)) bottom
      right/var(--corner-x) var(--corner-weight) no-repeat,
    linear-gradient(var(--corner-color), var(--corner-color)) bottom
      right/var(--corner-weight) var(--corner-y) no-repeat;
}
.mv__button-arrow {
  width: 5.2083333333vw;
  height: 5vw;
  transition: transform 0.3s ease;
}
.mv__button:hover .mv__button-arrow {
  transform: translateX(4px);
}

.footer {
  background: linear-gradient(to bottom, #262000, var(--black));
  padding-inline: 1.6666666667vw;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 7.2916666667vw;
}
.footer__spec {
  background-color: var(--gold-dark);
  color: var(--white);
  padding: 2.5vw 5vw;
  text-align: center;
  font-size: 4.1666666667vw;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}
.footer__credits {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 5.4166666667vw;
  gap: 3.8541666667vw;
}
.footer__copyright {
  text-align: center;
}
.footer__copyright-img {
  width: 75.4166666667vw;
}
.footer__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.6041666667vw 1.6666666667vw;
  flex-wrap: wrap;
  max-width: 42.7083333333vw;
}
.footer__newgin-group-logo {
  width: 23.75vw;
}
.footer__fields-logo {
  width: 16.7708333333vw;
  margin-top: -1.875vw;
}
.footer__sumapachi-logo {
  width: 12.1875vw;
}
.footer__lt-30-plus {
  width: 18.5416666667vw;
}
.footer__warning {
  color: var(--white);
  font-size: 2.7083333333vw;
  text-align: center;
  line-height: 2;
  letter-spacing: 0.03em;
  margin-top: 7.0833333333vw;
}

.modal {
  display: none;
}
.modal[aria-hidden="true"] .modal-overlay {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.modal[aria-hidden="false"] .modal-overlay {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.modal.is-open {
  display: block;
}
.modal-overlay {
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
}
.modal-dialog {
  max-width: 1280px;
  padding: 40px;
  margin-inline: auto;
}
.modal-contents {
  max-width: 1200px;
  width: 100vw;
  aspect-ratio: 16/9;
  position: relative;
}
.modal-contents iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.modal-close {
  position: absolute;
  width: 62px;
  height: 62px;
  top: 10px;
  right: 10px;
}
.modal-close::before,
.modal-close::after {
  content: "";
  display: block;
  position: absolute;
  width: 32px;
  height: 2px;
  background: var(--gold);
  left: 14px;
  top: 50%;
  transform: rotate(45deg);
}
.modal-close::after {
  transform: rotate(-45deg);
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 768px) {
  .header__top {
    padding-inline: 24px;
  }
  .header__top-inner {
    justify-content: start;
    padding-block: 12px;
    max-width: 1185px;
    margin-inline: auto;
  }
  .header__logo {
    margin-left: 64px;
  }
  .header__logo img {
    width: 164px;
  }
  .header__bottom {
    padding-inline: 24px;
  }
  .header__bottom-inner {
    padding-block: 16px;
    max-width: 1185px;
    margin-inline: auto;
  }
  .header__title {
    margin-left: 44px;
    padding-left: 20px;
    font-size: 1.5rem;
    position: relative;
  }
  .header__title::before {
    position: absolute;
    content: "";
    right: 100%;
    height: 20px;
    width: 100vw;
    margin-block: auto;
    top: 0;
    bottom: 0;
    background: url("../images/line_01.png") repeat-x right center;
  }
  .mv {
    background-position: center center;
    background-size: cover;
    padding-inline: 24px;
  }
  .mv__inner {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: 1185px;
    margin: 0 auto;
    padding-block: 32px;
    gap: 44px;
  }
  .mv__visual {
    flex: 0 0 auto;
    width: 49.3333333333%;
  }
  .mv__content {
    flex: 1;
    padding-inline: 0;
  }
  .mv__label {
    font-size: 1.25rem;
    gap: 16px;
    margin-bottom: 64px;
  }
  .mv__label::before,
  .mv__label::after {
    width: 48px;
    height: 2px;
  }
  .mv__title {
    margin-bottom: 52px;
  }
  .mv__title-img {
    max-width: 528px;
  }
  .mv__action {
    margin: 7px;
  }
  .mv__button {
    --corner-x: 19px;
    --corner-y: 25px;
    --corner-weight: 2px;
    --corner-offset: -7px;
  }
  .mv__button {
    gap: 12px;
    max-width: 360px;
    padding: 24px 16px;
    font-size: 1.25rem;
  }
  .mv__button-arrow {
    width: 28px;
    height: 27px;
  }
  .footer {
    padding-inline: 24px;
  }
  .footer__inner {
    padding-block: 24px;
  }
  .footer__spec {
    padding: 16px 28px;
    font-size: 1.5rem;
  }
  .footer__credits {
    margin-top: 16px;
    gap: 10px;
  }
  .footer__copyright-img {
    width: 379px;
  }
  .footer__logos {
    gap: 14px;
    flex-wrap: nowrap;
    max-width: unset;
  }
  .footer__newgin-group-logo {
    width: 152px;
  }
  .footer__fields-logo {
    width: 107px;
    margin-top: -12px;
  }
  .footer__sumapachi-logo {
    width: 53px;
  }
  .footer__lt-30-plus {
    width: 81px;
  }
  .footer__warning {
    margin-top: 24px;
    font-size: 0.875rem;
  }
  .footer__warning br {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .modal-dialog {
    padding: 0;
  }
}
