@charset "utf-8";

:root {
  /* 375:21-1920:58 */
  --head-h2: clamp(1.3125rem, 0.7512rem + 2.3948vw, 3.625rem);
  /* 375:18-1340:30 */
  --head-h3: clamp(1.125rem, 0.8335rem + 1.2435vw, 1.875rem);

  --product-under-font-size: clamp(0.75rem, 0.568rem + 0.7767vw, 1.5rem);

  --special-font-size: clamp(0.6875rem, 0.4903rem + 0.8414vw, 1.5rem);

  --qanda-font-size: clamp(1rem, 0.7269rem + 1.165vw, 2.125rem);
  /* 375:25-1920:40 */
  --qanda-number-font-size: clamp(1.5625rem, 1.335rem + 0.9709vw, 2.5rem);

  /* 375:20-1920:48 */
  --contact-read-font-size: clamp(1.25rem, 0.8252rem + 1.8123vw, 2.7rem);

  --contact-large-font-size: clamp(1.3125rem, 1.1153rem + 0.8414vw, 2.125rem);
  /* 375:131920:24 */
  --middle-font-size: clamp(0.8125rem, 0.6456rem + 0.712vw, 1.5rem);
  /* 375:14-1920:30 */
  --news-font-size: clamp(0.875rem, 0.6323rem + 1.0356vw, 1.875rem);

  --example-font-size: clamp(0.75rem, 0.6135rem + 0.5825vw, 1.3125rem);

  /* セクション */
  --section-padding: 100px 0 120px;
}
@media (max-width: 767px) {
  :root {
    --section-padding: 30px 0 40px;
  }
}
h2 {
  font-size: var(--head-h2);
  font-weight: 400;
  margin-bottom: 100px;
  line-height: 1.4;
  color: #000;
  text-align: center;
  letter-spacing: 0.1em;
}
h2 span {
  font-size: 50%;
  font-weight: 300;
  color: #666;
  display: block;
  margin-top: 0.4em;
  letter-spacing: 0em;
}
h3 {
  font-size: var(--head-h3);
  font-weight: 500;
  margin-bottom: 20px;
  color: #000;
  line-height: 1.4;
}

/* ! ヒーロー画像 */
#cover {
  margin: 0 auto;
  width: 100%;
  max-width: var(--window-max-size);
}
.myslider {
  width: 100%;
  display: block;
  margin-inline: auto;
}
.sp-buttons {
  padding-top: 0;
  background-color: #f4f4f4;
  padding-block: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sp-button {
  width: 20px !important;
  height: 20px !important;
  border: 2px solid #fff !important;
  background-color: #fff !important;
  border-radius: 50%;
  margin: 10px !important;
  display: inline-block;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
}
.sp-selected-button {
  background-color: var(--active-color) !important;
  border: 2px solid #537cbf !important;
}
/* ! main */

main {
  width: 100%;
  /* max-width: var(--window-max-size); */
  margin-inline: auto;
}

@media (max-width: 767px) {
  main > * {
    padding-inline: 0;
  }

  /* ! ヒーロー画像 */
  #cover {
    margin: 0 auto;
    width: 100%;
    max-width: var(--window-max-size);
  }

  /* 製品紹介 */
  #products {
    width: 100%;
    background-color: #fff;
    margin-top: var(--secssion-margin-top);
    padding-bottom: var(--section-padding-bottom);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 767px) {
  #modal-contentsWrapper:not(.custom-window) {
    /* margin-top: 30px; */
    padding: 80px 0 100px !important;
  }

  .detail-close {
    font-size: 50px;
    /* position: fixed; */
    top: 25px;
    right: -25px;
    transform: rotate(45deg);
  }

  .head-wrap h2 {
    color: #fff;
    font-size: 18px;
    padding: 5px 10px;
  }

  .detail-inner {
    width: 85%;
    margin-inline: auto;
  }

  .detail-close {
    width: 50px;
    background-size: 60%;
  }

  .sp-arrow {
    height: 50px !important;
    width: 50px !important;
    /* display: none !important; */
  }
}

/* .slider-pro img {
 border: 1px solid #e9eef1;
} */

/* YouTube */
.video-wrap {
  width: 100%;
  font-size: 0;
}

.video-wrap iframe {
  margin: 2em 0;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.area_btns {
  display: none;
}

@media (max-width: 767px) {
  /* 製品紹介スクロールボタン */
  .area_btns {
    margin: 0 calc(-50vw + 50%) !important;
    width: 100vw;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .area_btns button {
    height: 40px;
    width: 30px;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: all;
    transition: 0.5s;
  }

  .area_btns button img {
    width: 30%;
  }

  .area_btns button#prev img {
    rotate: 180deg;
  }

  .area_btns[data-play="start"] #prev,
  .area_btns[data-play="end"] #next {
    pointer-events: none;
    background-color: #c2c2c2;
  }
}

/* ============================================
   apdic サイト専用スタイル
   ============================================ */

/* スクロールエフェクト */

/* ヒーローセクション */
.hero-section {
  position: relative;
  width: 100%;
  /* max-width: var(--window-max-size); */
  margin-inline: auto;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: right;
  padding: 40px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.hero-text-large {
  font-size: clamp(2rem, 4vw + 1rem, 5rem);
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  display: inline-block;
  background-color: #666;
  color: #fff;
  padding: 8px 20px;
  font-size: clamp(0.875rem, 1vw + 0.5rem, 1.25rem);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.hero-logo {
  font-size: clamp(3rem, 6vw + 2rem, 8rem);
  font-weight: 700;
  color: #000;
  letter-spacing: 0.1em;
}

/* 哲学セクション */
.philosophy-section {
  padding: 100px 0;
  background-color: #fff;
}

.philosophy-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.philosophy-wrap {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.philosophy-wrap > div {
  width: 50%;
}
.philosophy-text {
  padding: 1rem;
}
.philosophy-text p {
  font-size: var(--primary-font-size);
  line-height: 1.7;
}

.philosophy-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 展示例セクション */
.examples-section {
  padding: 50px 0;
  background-color: var(--section-example-bg-color);
}
.examples-navi {
  /* max-width: var(--window-max-size); */
  max-width: 1900px;
  margin-inline: auto;
}
.examples-navi a {
  width: 100%;
  padding: 5px;
}
.slide-items a dl {
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #fff;
}
.slide-items a dl dd {
  padding: 10px 0;
}
.slide-items a dl dd p {
  text-align: center;
  line-height: 1.4;
  font-size: var(--example-font-size);
}
.slide-items a dl dt img {
  transition: 0.5s ease-in-out;
}
.slide-items a dl dt {
  overflow: hidden;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  margin-inline: auto;
}
.slide-items a:hover dl dt img {
  transform: scale(1.2);
}
.slide-arrow {
  position: absolute;
  top: 50%;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 10;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.4));
  transform: translateZ(0);
  cursor: pointer;
}

.prev-arrow {
  left: -15px;
}

.next-arrow {
  right: -15px;
}

.slide-arrow::after {
  content: "";
  width: 20px;
  height: 20px;
  border-right: 1px solid #555454;
  border-top: 1px solid #555454;
  transform: rotate(45deg);
  transform-origin: center;
  top: 0;
  bottom: 0;
  right: 12px;
  margin: auto;
  display: block;
  position: absolute;
}

.prev-arrow::after {
  transform: rotate(-135deg);
  right: 10px;
}

/* 展示をデザインするセクション */
.design-section {
  padding: var(--section-padding);
  background-color: #fff;
}

.design-inner {
  max-width: var(--original-container-width);
  margin: 0 auto;
  padding: 0 30px;
}

.design-inner img {
  --original-container-width: 1400;
  display: block;

  width: 50%;
  max-width: 458px;
  margin-inline: auto;
  height: auto;
}

/* PRODUCTSセクション */
/* 製品紹介 */
#products {
  width: 100%;
  background-color: var(--section-top-products-bg-color);
  padding: var(--section-padding);
}
.products-inner {
  max-width: var(--window-max-size);
  margin-inline: auto;
}

.products-filter {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  padding: 0 30px;
}

.filter-btn {
  padding: 8px 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  color: #333;
  font-size: clamp(0.875rem, 0.7835rem + 0.3902vw, 1.125rem);
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
  width: calc(100% / 7 - 10px * 6 / 7);
  text-align: center;
  position: relative;
}

.filter-btn:hover {
  background-color: var(--section-gray-bg);
}

.filter-btn.active {
  background-color: #333;
  color: #fff;
  border-color: #333;
}
.filter-btn.active::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #000;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

a.product-item {
  display: block;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: end;
  position: relative;
  padding-bottom: 5%;
}
.product-item img {
  transition: 0.3s ease-in-out;
}
.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-item img {
  height: 85%;
  object-fit: contain;
}
.product-item:hover img {
  transform: scale(1.1);
}

.product-model {
  padding: 5px 10px;
  width: 30%;
  min-width: fit-content;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #000;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #d1dee8;
  white-space: nowrap;
  transition: 0.3s ease-in-out;
}
.product-item:hover .product-model {
  background-color: var(--active-color);
  color: #fff;
}
.products-note {
  text-align: center;
  font-size: var(--product-under-font-size);
  margin-top: 40px;
  padding: 0 30px;
}

/* 「魅せる」の、その先へセクション */
.beyond-section {
  padding: 100px 0;
  background-color: #fff;
}
.beyond-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.beyond-wrap {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* .beyond-wrap > div {
  width: 50%;
} */
.beyond-images {
  width: 55%;
}
.beyond-text {
  width: 44%;
}
.beyond-text {
  padding: 1rem;
}
.beyond-text p {
  font-size: var(--primary-font-size);
  line-height: 1.7;
}

.beyond-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.beyond-inner a {
  margin-top: 2em;
}

/* スペシャルコンテンツセクション */
.special-section {
  padding: var(--section-padding);
  background-color: var(--section-top-special-bg-color);
}

.special-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}
.special-inner h3 {
  white-space: nowrap;
}
.special-wrap {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
}
.special-wrap > div {
  width: 49%;
}
.special-text {
  padding: 1rem;
}
.special-text p {
  font-size: var(--primary-font-size);
  line-height: 1.7;
}
.special-image {
  aspect-ratio: 16 / 9 !important;
}
.special-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.special-image {
  display: block;
  overflow: hidden;
}
.special-image a {
  display: block;
  transition: 0.5s ease-in-out;
}
.special-image a:hover {
  transform: scale(1.1);
}
.special-inner p {
  font-size: var(--special-font-size);
}
.special-video-iframe {
  width: 100%;
  aspect-ratio: 16 / 9 !important;
}
.special-video-iframe iframe {
  width: 100%;
  height: 100%;
}

.special-catch-text {
  font-size: clamp(1rem, 0.734rem + 1.1348vw, 1.5rem);
  font-weight: 400;
  color: #000;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
  padding-inline: clamp(0.625rem, -0.3723rem + 4.2553vw, 2.5rem);
  margin-top: 60px;
}
.special-catch-text span {
  font-size: clamp(0.875rem, 0.742rem + 0.5674vw, 1.125rem);
  display: block;
  margin-top: 0.4em;
  letter-spacing: 0em;
}
/* スペースセクション */
.space-section {
  padding: 150px 0 0;
  background-color: #fff;
}

/* Q&Aセクション */
.qa-section {
  padding: var(--section-padding);
  background-color: var(--section-top-qa-bg-color);
}

.qa-list {
  max-width: 1400px;
  margin: 60px auto 0;
  padding: 0 30px;
}

.qa-item {
  background-color: #fff;
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
}

.qa-question {
  display: flex;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.qa-question:hover {
  background-color: #f9f9f9;
}

.qa-number {
  font-size: var(--qanda-number-font-size);
  font-weight: 700;
  margin-right: 10px;
  color: #b5b5b5;
  min-width: 40px;
  letter-spacing: 0.1em;
}

.qa-text {
  flex: 1;
  font-size: var(--qanda-font-size);
  color: #161616;
  line-height: 1.4;
  letter-spacing: 0.03em;
  padding-right: 10px;
}

.qa-arrow {
  width: 38px;
  margin-right: 1em;
}
.qa-arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}
.qa-item.active .qa-arrow img {
  transform: rotate(180deg);
}
.qa-arrow img {
  user-select: none; /* 選択禁止 */
  -webkit-user-drag: none;
}
.qa-answer {
  padding: 0 20px 0 60px;
  border-top: 1px solid transparent;
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.5s;
  background-color: #f9f8f8;
}

.qa-item.active .qa-answer {
  grid-template-rows: 1fr;
  padding: 20px 20px 20px 60px;
  border-top: 1px solid #e0e0e0;
}
.qa-answer .inner {
  overflow: hidden;
}
.qa-answer p {
  font-size: var(--qanda-font-size);
  line-height: 2;
  color: #2d2d2d;
}
.qa-answer p a {
  color: var(--active-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* お問い合わせセクション */
.contact-section {
  padding: 120px 0 140px;
  background-color: #fff;
  text-align: center;
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 30px;
}

.contact-text {
  font-size: var(--contact-read-font-size);
  line-height: 1.6;
  font-weight: 400;
  color: #333;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

.btn-contact-large {
  max-width: 600px;
  margin: 0 auto;
  /* font-size: var(--middle-font-size); */
  padding: 15px 40px;
}
.btn-contact-large:hover {
  background-color: var(--active-color);
  color: #fff;
}
.btn-contact-large:hover::after {
  border-left: 10px solid #fff;
}
/* NEWSセクション */
.news-section {
  padding: var(--section-padding);
  background-color: var(--section-top-news-bg-color);
}
.news-section h2 span {
  letter-spacing: 0.1em;
}
.news-list {
  max-width: 1150px;
  margin: 60px auto 40px;
  padding: 0 30px;
}

.news-item {
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid #d2e3fb;
  gap: calc(30 / 1150 * 100%);
}

.news-date {
  font-size: var(--news-font-size);
  color: #161616;
  min-width: 100px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
}
.news-date::after {
  content: "｜";
  margin-left: 1em;
  /* margin-right: 1em; */
  color: #b5b5b5;
}
.news-text {
  font-size: var(--news-font-size);
  color: #161616;
  line-height: 1.5;
  flex: 1;
  letter-spacing: 0.08em;
}

.news-section .bt-middle,
.special-section .bt-middle,
.products-section .bt-middle,
.philosophy-section .bt-middle {
  max-width: 400px;
  margin: 40px auto 0;
  font-size: var(--middle-font-size);
  background-color: #fff;
}
.news-section .bt-middle:hover,
.special-section .bt-middle:hover,
.products-section .bt-middle:hover,
.philosophy-section .bt-middle:hover {
  background-color: var(--active-color);
  color: #fff;
}

.special-section .bt-middle::after {
  display: none;
}
.special-inner .bt-middle {
  position: relative;
}
.special-inner .bt-middle span {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}
.special-inner .bt-middle:hover span img {
  filter: invert(1);
}

.news-text a {
  color: var(--active-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 767px) {
  .hero-content {
    padding: 20px;
  }
  .news-text a {
    text-decoration: none;
  }
  .philosophy-section,
  .examples-section,
  .products-section,
  .beyond-section,
  .special-section,
  .qa-section,
  .contact-section,
  .news-section {
    padding: 30px 0;
  }

  .example-item {
    min-width: 280px;
  }

  .filter-btn {
    white-space: nowrap;
  }

  .beyond-inner h3 {
    white-space: normal;
  }
  h2 {
    font-size: var(--head-h2);
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #000;
    text-align: center;
    letter-spacing: 0.1em;
  }
  .sp-buttons {
    position: relative;
    width: 100%;
    text-align: center;
    padding-top: 0px !important;
    padding-bottom: 0 !important;
  }
  .sp-button {
    width: 10px !important;
    height: 10px !important;
  }

  .philosophy-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }
  .philosophy-wrap {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
  }
  .philosophy-wrap > div {
    width: 100%;
  }
  .philosophy-wrap > div:first-child {
    padding-top: 0;
    padding-bottom: 0;
  }
  .philosophy-text {
    padding-inline: 0;
    width: 100%;
  }
  .philosophy-images {
    width: 100%;
  }
  .product-model {
    padding: 2px 8px;
    width: 30%;
  }
  .products-filter {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding: 0 15px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .products-filter {
    -ms-overflow-style: none; /* IE, Edge 対応 */
    scrollbar-width: none; /* Firefox 対応 */
  }
  .products-filter ::-webkit-scrollbar {
    /* Chrome, Safari 対応 */
    display: none;
  }
  .filter-btn {
    width: calc(100% / 2 - 10px * 6 / 7);
    margin-bottom: 1em;
  }
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }
  .beyond-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }
  .beyond-wrap {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .beyond-images {
    width: 100%;
  }
  .beyond-text {
    width: 100%;
  }
  .special-wrap {
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
  }
  .special-wrap > div {
    width: 100%;
  }
  .special-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }
  .qa-item .qa-answer {
    padding: 0 20px;
  }
  .qa-item.active .qa-answer {
    padding: 10px 20px;
  }
  .qa-question {
    padding: 10px 20px;
  }
  .qa-arrow {
    width: 15px;
    margin-right: 0;
  }
  .qa-list {
    max-width: 100%;
    margin: 30px auto 0;
    padding: 0 15px;
  }
  .news-item {
    padding: 15px 0;
    gap: calc(10 / 375 * 100%) !important;
  }
  .news-date {
    min-width: 80px;
  }
  .contact-text br {
    display: none;
  }
  .news-list {
    max-width: 100%;
    margin: 30px auto 0;
    padding: 0 15px;
  }

  .space-section {
    padding: 3px 0;
    background-color: #fff;
  }
}

/* 吹き出し */
.speech-bubble {
  position: relative;
  background-color: #000;
  padding: 20px;
  color: #fff;
  display: inline-block;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #000;
}

/* デモページ用スタイル */
.contentsWrapper {
  position: relative;
}
header {
  z-index: 10;
  position: absolute;
  top: 0;
  background-color: transparent;
}
header .head-inner {
  background-color: transparent;
}
header .head-inner .bt {
  background-color: transparent;
}
header.fixed {
  background-color: #fff;
}
#hero-wrap {
  width: 100%;
  height: 100vh;
  z-index: 1;
}
.pageDown {
  width: 30px;
  height: 30px;
  position: absolute;
  bottom: 42px;
  left: calc(50% - 15px);
  z-index: 5;
  animation: up-down 2s ease-in-out 1.2s infinite both;
}
.pageDown img {
  user-select: none; /* 選択禁止 */
  -webkit-user-drag: none;
}
@keyframes up-down {
  0% {
    transform: translateY(0);
  }

  24% {
    transform: translateY(20px);
  }

  55% {
    transform: translateY(0);
  }
}
.slide-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
}
.slide-wrapper .catch-text {
  width: max-content;
  max-width: 1400px;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-family-serif);
  position: absolute;
  top: 70%;
  left: 70%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: clamp(1rem, 0.6011rem + 1.7021vw, 1.75rem);
  line-height: 1.8;
  font-weight: 700;
  z-index: 1;
  padding: 0 20px;
  /*/ ドロップシャドウ */
  text-shadow: 0 2px 8px rgb(34 41 47 / 82%);
  filter: drop-shadow(0 6px 12px rgb(34 41 47 / 84%));
}
@media (max-width: 767px) {
  .slide-wrapper .catch-text {
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
.slide-wrapper .slide {
  width: 100%;
  height: 100vh;
}

.slide-wrapper .slide img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.slide {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slide-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slider-1 30s linear infinite;
}
@media (max-width: 767px) {
  /* 位置あわせ */
  .slide img:nth-of-type(5) {
    object-position: 15% 0;
  }
}
/* 5枚用 */
.slide-image:nth-child(1) {
  animation-delay: 0s;
}
.slide-image:nth-child(2) {
  animation-delay: 6s;
}
.slide-image:nth-child(3) {
  animation-delay: 12s;
}
.slide-image:nth-child(4) {
  animation-delay: 18s;
}
.slide-image:nth-child(5) {
  animation-delay: 24s;
}

@keyframes slider-1 {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  6.66% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  26.66% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
  }
}
