@charset "utf-8";

/* ===================
inner
==================== */
.l-inner {
  padding-inline: 20px;
  width: 100%;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .l-inner {
    padding-inline: 40px;
    max-width: calc(1200px + 40px * 2);
  }
}

/* ======================
swiper
========================= */
.swiper-wrapper {
  display: flex;
}

/* =====================
パンくずリスト
=======================-- */
.c-breadcrumbs__wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

@media screen and (min-width: 768px) {
  .c-breadcrumbs__wrapper {
    gap: 16px;
  }
}

.c-breadcrumbs__text {
  color: #6f6f6f;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: calc(60 / 1000 * 1em);
}

.c-breadcrumbs__icon {
  width: 6px;
  height: auto;
  aspect-ratio: 6/7;
}

.c-breadcrumbs__icon img {
  margin-bottom: 3px;
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}

/*-----------------------------------
0.5秒後フェードイン
------------------------------------*/
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-in 0.5s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
/*-----------------------------------
スクロールフェードイン
------------------------------------*/
/* .js-fadeIn {
  translate: 0 0;
  opacity: 1;
  transition: all 0.8s ease;
}

.js-fadeIn.is-start {
  translate: 0 20px;
  opacity: 0;
}

.js-fadeIn.is-show {
  translate: 0 0;
  opacity: 1;
  transition: all 0.8s ease;
} */
 /*-----------------------------------
スクロールフェードイン
------------------------------------*/
.js-fadeIn {
  translate: 0 0;
  opacity: 1;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), 
              translate 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-fadeIn.is-start {
  translate: 0 40px;
  opacity: 0;
}

.js-fadeIn.is-show {
  translate: 0 0;
  opacity: 1;
}

/* ======================
ボタン
======================= */
.button__link p {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: calc(50 / 1000 * 1em);
  position: relative;
  padding: 19px 84px 19px 24px;
  border-radius: 8px;
  min-width: 170px;
  background-image: var(--color-button);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  transition: opacity 0.5s ease, color 0.5s ease, border 0.5s ease;
  color: var(--color-white);
}

.button__link p::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 50px;
  width: 1px;
  height: 35px;
  background-image: url(../images/dot.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  transition: opacity 0.5s ease;
}

.button__link p::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 8px;
  background-image: url(../images/Icon-arrow-right.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.5s ease;
}

.button__link:hover p {
  background-image: none;
  background-color: var(--color-white);
  border: 1px solid var(--color-hover);
  color: var(--color-hover);
}

.button__link:hover p::before {
  background-image: url(../images/dot-hover.svg);
}

.button__link:hover p::after {
  background-image: url(../images/arrow-right-hover.svg);
}

/* ===================
heading
==================== */
.section__heading-en {
  font-family: var(--font-en);
  font-size: clamp(28px, 2.79vw, 38px);
  font-weight: 700;
  letter-spacing: calc(100 / 1000 * 1em);
}

.section__heading-jp {
  margin-top: 6px;
  font-size: clamp(12px, 1.03vw, 14px);
  letter-spacing: calc(40 / 1000 * 1em);
  font-family: var(--font-title);
  color: var(--color-subtitle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section__heading-jp::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--color-button);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===================
アンダーライン
==================== */
.hover-underline {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.hover-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-base);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.hover-underline:hover::after {
  width: 100%;
}

/* ======================
ページネーション
========================== */
.webgene-pagination ul {
  position: absolute;
  bottom: -68px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 40px;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .webgene-pagination ul {
    gap: 30px;
    bottom: -98px;
  }
}

.number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.number a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c9c9c9;
  color: var(--color-white);
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 30px;
  height: 30px;
}

.selected a {
  color: var(--color-white);
  background: #ea512a;
}

.selected a:hover {
  color: var(--color-white) !important;
}

/* ページネーション矢印の基本スタイル */
.prev a,
.next a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #919191;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  transition: all 0.3s ease;
}

/* 疑似要素の基本設定 */
.prev a::before,
.next a::after {
  content: "";
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

/* Prevアイコン（左向き矢印）*/
.prev a::before {
  padding-right: 40px;
  background: url(../images/pagination-left.svg) no-repeat center center/contain;
}

/* Nextアイコン（右向き矢印）*/
.next a::after {
  padding-left: 40px;
  background: url(../images/pagination-right.svg) no-repeat center
    center/contain;
}

/* ホバー・フォーカス時のスタイル */
.prev a:hover,
.prev a:focus,
.next a:hover,
.next a:focus {
  color: #ea512a !important;
}

/* ホバー・フォーカス時のアイコン変更 */
.prev a:hover::before,
.prev a:focus::before {
  background: url(../images/pagination-left-b.svg) no-repeat center
    center/contain;
}

.next a:hover::after,
.next a:focus::after {
  background: url(../images/pagination-right-b.svg) no-repeat center
    center/contain;
}
