/***
    The new CSS reset - version 1.11.3 (last updated 25.08.2024)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/

*:where(
    :not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)
  ) {
  all: unset;
  display: revert;
}

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

a,
button {
  cursor: revert;
}

ol,
ul,
menu,
summary {
  list-style: none;
}

ol {
  counter-reset: revert;
}

img {
  max-inline-size: 100%;
  max-block-size: 100%;
  display: block;
  width: 100%;
  height: auto;
}

video {
  width: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
}

input,
textarea {
  -webkit-user-select: auto;
}

textarea {
  white-space: revert;
}

meter {
  -webkit-appearance: revert;
  appearance: revert;
}

:where(pre) {
  all: revert;
  box-sizing: border-box;
}

::placeholder {
  color: unset;
}

:where([hidden]) {
  display: none;
}

:where([contenteditable]:not([contenteditable="false"])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

:where([draggable="true"]) {
  -webkit-user-drag: element;
}

:where(dialog:modal) {
  all: revert;
  box-sizing: border-box;
}

::-webkit-details-marker {
  display: none;
}

/* ーーーーーーーーーーーーーーーーーーーーー
　　共通パーツ
ーーーーーーーーーーーーーーーーーーーーーー*/
.l-container {
  margin-inline: auto;
  max-width: 1280px;
  container-type: inline-size;
}

.c-cta {
  position: absolute;
  margin: auto;
  right: 0;
  left: 0;
  width: 93.5%;
  aspect-ratio: 100/46;
  transition: background 0.3s;
  border-radius: calc(20 / 375 * 100cqw);
}

.c-cta:focus-visible {
  outline: 5px solid #4d90fe;
}

@media (any-hover: hover) {
  .c-cta:hover {
    background-color: rgba(0 0 0 / 0.2);
    filter: brightness(0.5);
  }
}

/* ーーーーーーーーーーーーーーーーーーーーー
　　Content1
ーーーーーーーーーーーーーーーーーーーーーー*/
.content1 {
  position: relative;
}

.content1__slides {
  position: absolute;
  top: min(calc(427 / 375 * 100cqw), 1457px);
  width: 100%;
}

/* 前へ次への矢印カスタマイズ */
.swiper-button-prev,
.swiper-button-next {
  height: auto !important;
  width: min(calc(65 / 375 * 100cqw), 222px) !important;
  aspect-ratio: 1;
  top: 80% !important;
}

.swiper-button-prev {
  left: 2% !important;
}
.swiper-button-next {
  right: 2% !important;
}
/* 前へ次への矢印カスタマイズ */
.swiper-button-prev::after,
.swiper-button-next::after {
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 100%;
  margin: auto;
  width: 100%;
}
/* 前への矢印カスタマイズ */
.swiper-button-prev::after {
  background-image: url(../images/swiper-arrow-left.png);
}
/* 次への矢印カスタマイズ */
.swiper-button-next::after {
  background-image: url(../images/swiper-arrow-right.png);
}
/* 画像サイズ調整 */
.swiper-slide img {
  height: auto;
  width: 100%;
}

.swiper-button-next svg,
.swiper-button-prev svg {
  display: none;
}

.content1__video {
  position: absolute;
  top: min(calc(1866 / 375 * 100cqw), 6369px);
  left: 0;
  right: 0;
  margin: auto;
  width: min(calc(356 / 375 * 100cqw), 1215px);
  border-radius: calc(10 / 375 * 100cqw);
  overflow: hidden;
  aspect-ratio: 356 / 185;
}

.content1__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.content1__video-header {
  position: absolute;
  top: min(calc(1798 / 375 * 100cqw), 6137px);
  width: 100%;
}

.content1__cta {
  top: min(calc(1478 / 375 * 100cqw), 5045px);
}

/* ーーーーーーーーーーーーーーーーーーーーー
　　Content2
ーーーーーーーーーーーーーーーーーーーーーー*/
.content2 {
  position: relative;
}

.content2__video1,
.content2__video2 {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: min(calc(325 / 375 * 100cqw), 1109px);
  aspect-ratio: 325 / 177;
  overflow: hidden;
}

.content2__video1 {
  top: min(calc(1335 / 375 * 100cqw), 4557px);
}

.content2__video1 video {
  object-position: 50% 25%;
}

.content2__video2 {
  top: min(calc(1709 / 375 * 100cqw), 5833px);
}

.content2 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ーーーーーーーーーーーーーーーーーーーーー
　　content3
ーーーーーーーーーーーーーーーーーーーーーー*/
.content3 {
  position: relative;
}

.content3__cta {
  top: min(calc(1725 / 375 * 100cqw), 5888px);
}

/* ーーーーーーーーーーーーーーーーーーーーー
　　content4
ーーーーーーーーーーーーーーーーーーーーーー*/
.content4 {
  position: relative;
}

.content4__cta {
  top: min(calc(2358 / 375 * 100cqw), 8049px);
}
