@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;
  }
}

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

/* =====================
パンくずリスト
=======================-- */
.c-breadcrumbs__wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: var(--color-white);
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

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

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

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

.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: 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;
}
/*-----------------------------------
ループアニメーション
------------------------------------*/
.loop-background {
  background-image: url("your-image.png");
  background-repeat: repeat-x; /* 横方向の繰り返しを有効にする */
  animation: loop 5s linear infinite; /* アニメーションを適用 */
}

@keyframes loop {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100% 0;
  }
}
/* ================================
カテゴリー
=================================== */
.c-category {
  display: inline-block;
  font-size: clamp(10px, 0.88vw, 12px);
  letter-spacing: calc(80 / 1000 * 1em);
  line-height: calc(28 / 12);
  color: var(--color-white);
  background: #2a62ad;
  padding: 6px 9px;
  border-radius: 30px;
}

.c-category-pale {
  display: inline-block;
  font-size: clamp(10px, 0.88vw, 12px);
  letter-spacing: calc(80 / 1000 * 1em);
  line-height: 1.2;
  color: var(--color-title-ja);
  background: #e8eef2;
  padding: 3px 12px;
  border-radius: 30px;
}

/* ======================
ボタン
======================= */
.c-button p {
  font-size: clamp(12px, 1.03vw, 14px);
  font-weight: 600;
  letter-spacing: calc(30 / 1000 * 1em);
  line-height: 1;
  transition: transform 0.5s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.c-button p::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% - 46px);
  height: 1px;
  background: var(--color-white);
}

.c-button p::after {
  content: "";
  width: 36px;
  height: 36px;
  background: url(../images/button-icon.svg) no-repeat center center / contain;
  flex-shrink: 0;
}
.c-button.c-button--b p::before {
  background: var(--color-base);
}

.c-button p:hover {
  transform: scale(1.1);
}
/* ===================
topサブタイトル
==================== */
.top__head-title-ja {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: calc(100 / 1000 * 1em);
  line-height: calc(25.6 / 16);
  color: var(--color-title-ja);
}
/* ===================
アンダーライン
==================== */
.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: 10px;
    bottom: -98px;
  }
}

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

.number a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b4b4b;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 30px;
  height: 30px;
}

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

.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: #4b4b4b !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;
}
/* ==================
2行以上は...
==================== */
.text-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 表示する行数 */
  overflow: hidden;
}

/* ==================
1行以上は...
==================== */
.text-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gray__bg{
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: url(../images/gray__bg-service.png)no-repeat center center/cover;
}