body {
  background-color: #fff;
}

main {
  margin: 0 auto;
  background-color: #fff;
}

img,
picture {
  display: block;
  width: 100%;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.flx {
  display: flex;
}
.flx > * {
  vertical-align: top;
}

.adj {
  margin-top: -1px;
}

.mv {
  position: relative;
}
.mv h1 {
  position: relative;
  z-index: 1;
}

.mv__slider {
  max-width: 980px;
  width: min(76.5625vw, 980px);
  margin: 0 auto;
  position: absolute;
  top: min(31.25vw, 400px);
  left: 0;
  right: 0;
  z-index: 0;
}

.buttons {
  position: relative;
}

.buttons__wrap {
  justify-content: center;
  position: absolute;
  left: min(2.34375vw, 30px);
  right: 0;
  margin: 0 auto;
  bottom: 0;
}

.button {
  display: block;
  width: min(42.03125vw, 538px);
}

.sticky_button {
  position: fixed;
  right: 0;
  top: 20vh;
  z-index: 10;
  width: 3.25em;
  font-size: 16px;
}
.sticky_button > div {
  display: grid;
  gap: 20px;
}
.sticky_button a {
  writing-mode: vertical-lr;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  background-color: #f0e600;
  padding: 0.8em 0;
  padding-left: 1em;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  font-size: 1em;
  letter-spacing: 0.05em;
}

.footer {
  position: relative;
  padding-top: min(6.25vw, 80px);
}
.footer .buttons__wrap {
  bottom: min(12.5vw, 160px);
  left: 0;
  gap: min(4.6875vw, 60px);
}
.footer .button {
  width: min(28.125vw, 360px);
}

@media screen and (min-width: 768px) {
  .sp_only {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .wrap {
    max-width: 100%;
  }
  .mv__slider {
    width: 87.4666666667vw;
    margin: 0 auto;
    position: absolute;
    top: 52vw;
    left: 0;
    right: 0;
    z-index: 0;
  }
  .flx {
    display: block;
  }
  .flx__sp {
    display: flex;
  }
  .pc_only {
    display: none;
  }
  .buttons__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    left: 0;
    bottom: 9.6vw;
  }
  .button {
    width: 60.2666666667vw;
    position: relative;
    left: 2.6666666667vw;
  }
  .button:last-of-type {
    top: -2.6666666667vw;
  }
  .anchor {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5.3333333333vw;
    font-size: 3.7333333333vw;
    list-style: none;
    padding: 5.8666666667vw 0 9.6vw;
    background-color: #d2f0ff;
  }
  .anchor a {
    color: #000;
    text-decoration: none;
    letter-spacing: 0.1em;
  }
  .anchor a span {
    color: #998066;
  }
  .ham_button {
    width: 13.3333333333vw;
    aspect-ratio: 1;
    position: fixed;
    top: 2.6666666667vw;
    right: 2.6666666667vw;
    border: none;
    z-index: 99;
    transition: opecity 300ms;
  }
  .ham_button.is-open {
    opacity: 0;
    pointer-events: none;
  }
  .ham_button--close {
    opacity: 0;
    pointer-events: none;
    transition: opecity 300ms;
  }
  .ham_button--close.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .ham_button--close {
    background-color: #998066;
    border-radius: 50px;
  }
  .ham_button--close > span {
    display: block;
    background-color: #fff;
    border-radius: 50px;
    height: 1px;
    width: 52%;
    position: absolute;
    top: 50%;
    left: 50%;
  }
  .ham_button--close > span:first-of-type {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .ham_button--close > span:last-of-type {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .ham_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d2f0ff;
    z-index: 98;
    padding-top: 23.988005997vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms;
  }
  .ham_menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .ham_menu .ham_menu__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    gap: 8.5333333333vw;
  }
  .ham_menu .ham_menu__list a {
    text-decoration: none;
    color: #000;
    letter-spacing: 0.05em;
  }
  .sticky_button_sp {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 2.1333333333vw;
    width: 100%;
    z-index: 97;
  }
  .sticky_button_sp .button {
    top: 0;
    left: 0;
  }
  .sticky_button_sp .button:last-of-type {
    left: -1.3333333333vw;
  }
  .sticky_button_sp.is-fixed {
    bottom: auto;
    top: 130vw;
  }
}
