/* ページネーション全体 */
.pagination {
  width: 100%;
}

/* スクリーンリーダー用のテキストを非表示（Tailwindの sr-only と同等） */
.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* リストコンテナ */
.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* 各ボタンのベーススタイル */
.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #F0F4F8;
  /* bg-light */
  color: #5a6b7c;
  font-weight: 700;
  font-size: 0.875rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

/* ホバー時（リンクのみ） */
.pagination a.page-numbers:hover {
  background-color: #e2e8f0;
  color: #00476A;
  /* navy */
}

/* 現在のページ */
.pagination .page-numbers.current {
  background-color: #00476A;
  /* navy */
  color: #ffffff;
}

/* 省略記号 (...) */
.pagination .page-numbers.dots {
  background-color: transparent;
  color: #5a6b7c;
  letter-spacing: 0.1em;
  width: 2rem;
}

/* PC・タブレットサイズ (768px以上) の調整 */
@media (min-width: 768px) {
  .pagination .nav-links {
    gap: 0.75rem;
  }

  .pagination .page-numbers {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }

  .pagination .page-numbers.dots {
    width: 2.5rem;
  }
}

/* マーキーアニメーションの定義 */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}
.animate-marquee {
    animation: marquee 30s linear infinite; /* 25sの数値を小さくすると速く、大きくすると遅くなります */
}


/* ==========================================
   Hero アニメーション
   ========================================== */
.about-hero-mark {
    /* top: calc(50% - 800px);
    right: 500px; */
    top: 50%;
    right: 0;
    /* opacity: 0; */
    transform: translateY(-50%) rotate(0deg) scale(0.8);
    transform-origin: center center;
    animation: aboutHeroMarkIntro 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    will-change: transform, opacity;
}

.about-hero-copy {
    opacity: 0;
    transform: translateY(20px);
    animation: aboutHeroCopyIntro 0.85s ease-out 1.05s forwards;
    will-change: transform, opacity;
}

@keyframes aboutHeroMarkIntro {
    0% {
        /* opacity: 0.4; */
        transform: translateY(-50%) rotate(50deg) scale(0.5);
    }

    100% {
        /* opacity: 0.4; */
        transform: translateY(-50%) rotate(-10deg) scale(1.8);
    }
}

@keyframes aboutHeroCopyIntro {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .about-hero-mark {
        animation-name: aboutHeroMarkIntroMobile;
    }
}

@keyframes aboutHeroMarkIntroMobile {
    0% {
        transform: translateY(-50%) rotate(50deg) scale(0.5);
    }

    100% {
        transform: translateY(-50%) rotate(-10deg) scale(1.5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero-mark,
    .about-hero-copy {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .about-hero-mark {
        opacity: 0.2;
        transform: translateY(-50%);
    }
}

/**
* Contact Form 7 のスタイル調整
*/
.wpcf7-response-output {
    display: none;
}
.wpcf7-spinner{
    display: none;
}


/* ==========================================
   BOGO
   ========================================== */
ul.bogo-language-switcher li {
  display: inline-block;
  width: auto;
  font-size: 14px;
/*    background: #C5A059;*/
  border-radius: 50%;
  overflow: visible;
  cursor: pointer;
}
ul.bogo-language-switcher li span {
  position: relative;
  text-align: center;
  margin: auto;
  color: #C5A059;
  font-weight: 500;
}
ul.bogo-language-switcher li:hover {
  opacity: 0.75;
}

ul.bogo-language-switcher li:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: #C5A880;
  opacity: 0.5;
}

ul.bogo-language-switcher .bogoflags {
    display: none;
}