:root {
  --color-primary: #8bacd9;
  --color-accent: #234899;
  --color-black: #090b0e;
  --color-white: #fff;
  --color-grad: linear-gradient(to right bottom, #8bacd9, #234899);
  --font-jp: Noto Sans JP, sans-serif;
  --font-en: Lexend, sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
@media screen and (max-width: 767px) {
  html {
    scroll-padding-top: 84px;
  }
}

body {
  font-family: var(--font-jp);
  font-size: 1.5rem;
  color: var(--color-black);
}
@media screen and (max-width: 767px) {
  body {
    font-size: 1.4rem;
  }
}

main {
  overflow: hidden;
}

:where(p, li, dt, dd, address, h2, h3, h4) {
  letter-spacing: 0.05em;
  line-height: 1.5;
}

:where(a) {
  color: inherit;
  text-decoration: none;
}

:where(ul) {
  padding: 0;
}

:where(li) {
  list-style: none;
}

:where(img, video) {
  vertical-align: bottom;
}

:where(img) {
  max-width: 100%;
  width: 100%;
  height: auto;
}

:where(address) {
  font-style: normal;
}

:where(button) {
  cursor: pointer;
}

::selection {
  color: #fff;
  background-color: rgba(139, 172, 217, 0.5);
}

.font-ja {
  font-family: var(--font-jp);
}

.font-en {
  font-family: var(--font-en);
}

.clip {
  position: relative;
}
.clip::before, .clip::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  content: "";
  height: 81px;
  width: calc(100% - 40px);
  max-width: 1100px;
  background-color: var(--color-white);
  clip-path: polygon(0 0, 100% 0, 100% 1px, calc(100% - 80px) 100%, 80px 100%, 0 1px);
}
@media screen and (max-width: 767px) {
  .clip::before, .clip::after {
    height: 40px;
    clip-path: polygon(0 0, 100% 0, 100% 1px, calc(100% - 40px) 100%, 40px 100%, 0 1px);
  }
}
.clip::before {
  top: -1px;
}
.clip::after {
  bottom: -1px;
  transform: translateX(-50%) scale(1, -1);
}

.heading {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .heading {
    font-size: 1.6rem;
  }
}
.heading.-white {
  color: var(--color-white);
}
.heading.-white::before {
  color: var(--color-white);
}
.heading::before {
  display: block;
  content: attr(data-en);
  color: var(--color-primary);
  font-family: var(--font-en);
  font-size: 8rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
}
@media screen and (max-width: 1023px) {
  .heading::before {
    font-size: 6rem;
  }
}
@media screen and (max-width: 767px) {
  .heading::before {
    font-size: 3.6rem;
    margin-inline: -10px;
  }
}
.heading + * {
  margin-top: 70px;
}
@media screen and (max-width: 767px) {
  .heading + * {
    margin-top: 30px;
  }
}

.mt {
  margin-top: 40px;
}

.pd {
  padding-block: 180px;
}
@media screen and (max-width: 767px) {
  .pd {
    padding-block: 80px;
  }
}

.bg-grad {
  background-image: var(--color-grad);
}

.button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 20px;
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  width: fit-content;
  min-width: 259px;
  clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0% calc(100% - 10px), 0% 10px);
  padding: 15px 20px;
  margin: 70px auto 0;
}
@media screen and (max-width: 767px) {
  .button {
    font-size: 1.5rem;
    min-width: 230px;
    padding: 10px 15px;
    margin-top: 40px;
  }
}
@media (hover: hover) {
  .button::before {
    transition: opacity 0.6s;
  }
  .button .button-arrow {
    transition: background-color 0.3s;
  }
  .button .button-arrow img {
    transition: filter 0.25s;
  }
  .button:hover::before {
    opacity: 0;
  }
  .button:hover .button-arrow {
    background-color: var(--color-white);
  }
  .button:hover .button-arrow img {
    filter: none;
  }
}
.button::before, .button::after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
}
.button::before {
  z-index: -1;
  background-image: linear-gradient(to right bottom, #234899, #8bacd9);
}
.button::after {
  z-index: -2;
  background-image: linear-gradient(to right bottom, #8bacd9, #234899);
}

.button-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  aspect-ratio: 1;
  background-color: var(--color-accent);
  clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0% calc(100% - 10px), 0% 10px);
}
@media screen and (max-width: 767px) {
  .button-arrow {
    width: 30px;
    clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
  }
}
.button-arrow img {
  filter: brightness(0) invert(1);
  width: 14px;
}
@media screen and (max-width: 767px) {
  .button-arrow img {
    width: 11px;
  }
}

.content {
  max-width: 1140px;
  width: 100%;
  padding-inline: 20px;
  margin-inline: auto;
}
.content.-pd0 {
  max-width: 1100px;
  padding-inline: 0;
}
