:root {
  --color-primary: #00a0e9;
  --color-grad: linear-gradient(to right bottom, #00a0e9, #d1eefb);
  --color-grad-reverse: linear-gradient(to right bottom, #d1eefb, #00a0e9);
  --color-black: #3f3f3f;
  --color-white: #fff;
  --font-jp: Noto Sans JP, sans-serif;
  --font-en: Montserrat, 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(0, 160, 233, 0.5);
}

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

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

.heading {
  color: var(--color-primary);
  font-size: 8rem;
  font-family: var(--font-en);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .heading {
    font-size: 4rem;
  }
}
.heading.-white {
  color: var(--color-white);
}
.heading.-white::after {
  background-color: var(--color-white);
}
.heading::after {
  display: block;
  content: "";
  width: 60px;
  height: 1px;
  background-color: var(--color-primary);
  margin: 30px auto 0;
}
@media screen and (max-width: 767px) {
  .heading::after {
    width: 40px;
    margin-top: 15px;
  }
}
.heading + * {
  margin-top: 50px;
}
@media screen and (max-width: 767px) {
  .heading + * {
    margin-top: 30px;
  }
}

.slide .splide__track {
  padding-bottom: 5px;
}
@media screen and (max-width: 767px) {
  .slide .splide__track {
    padding-bottom: 3px;
  }
}
@media screen and (min-width: 1024px) {
  .slide .slide-list {
    display: flex !important;
    justify-content: center;
    gap: 20px;
  }
}

.slide-list-item {
  display: flex;
}
@media screen and (min-width: 1024px) {
  .slide-list-item {
    width: calc((100% - 60px) / 4);
  }
}

.slide-list-link {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  padding: 10px;
}
@media (hover: hover) {
  .slide-list-link .slide-list-thumb {
    overflow: hidden;
  }
  .slide-list-link .slide-list-thumb img {
    transition: transform 0.3s;
  }
  .slide-list-link:hover .slide-list-thumb img {
    transform: scale(1.08);
  }
}
.slide-list-link::before {
  position: absolute;
  z-index: -2;
  top: 5px;
  left: 5px;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 5px;
  border: 1px solid var(--color-black);
  background-color: var(--color-primary);
}
@media screen and (max-width: 767px) {
  .slide-list-link::before {
    top: 3px;
    left: 3px;
  }
}
.slide-list-link::after {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 5px;
  border: 1px solid var(--color-black);
  background-color: var(--color-white);
}

.slide-list-thumb {
  border: 1px solid var(--color-black);
}
.slide-list-thumb img {
  aspect-ratio: 250/131;
  object-fit: cover;
}

.slide-list-time {
  display: block;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-top: 10px;
}

.slide-list-title {
  flex-grow: 1;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 5px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .slide-list-title {
    font-size: 1.4rem;
  }
}

.slide-list-more {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  column-gap: 8px;
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 5px;
  margin-top: 15px;
}
.slide-list-more::after {
  display: block;
  content: "";
  width: 6px;
  aspect-ratio: 6/9;
  background-image: url("../img/arrow.svg");
  background-repeat: no-repeat;
}

.slide-control {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 20px;
  margin-top: 26px;
}
@media screen and (min-width: 1024px) {
  .slide-control {
    display: none;
  }
}
.slide-control .splide__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  line-height: 1;
}
.slide-control .splide__arrow--prev {
  transform: rotate(180deg);
}

.slide-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
}
.slide-pagination * {
  line-height: 0 !important;
}
.slide-pagination .splide__pagination__page {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--color-primary);
  opacity: 0.2;
  transition-property: background-color, opacity;
  transition-duration: 0.3s;
}
.slide-pagination .splide__pagination__page.is-active {
  opacity: 1;
  background-color: var(--color-primary);
}

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

.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;
  line-height: 1.5;
  border-radius: calc(infinity * 1px);
  letter-spacing: 0.05em;
  width: fit-content;
  min-width: 270px;
  background-image: var(--color-grad-reverse);
  padding: 16px 25px;
  margin: 50px auto 0;
}
@media screen and (max-width: 767px) {
  .button {
    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::after {
    transform: scale(2);
  }
}
.button.-white {
  color: var(--color-primary);
  background-color: var(--color-white);
  background-image: none;
}
.button.-white::after {
  background-color: var(--color-primary);
}
.button.-white::before {
  background-image: none;
  background-color: var(--color-white);
}
.button::after {
  flex-shrink: 0;
  display: block;
  content: "";
  width: 14px;
  height: 14px;
  background-color: var(--color-white);
  border-radius: 50%;
  transition: transform 0.3s;
}
.button::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  background-image: var(--color-grad);
  border-radius: calc(infinity * 1px);
}
.button span {
  display: block;
  position: relative;
  z-index: 2;
}

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