@charset "UTF-8";

/* ==========================================================================
   Style.css - メインスタイルシート

   構成:
   1. Layout - レイアウト共通
      - Header (ヘッダー)
      - Drawer (ドロワーメニュー)
      - Footer (フッター)

   2. Components - 共通コンポーネント
      - Buttons (ボタン)
      - Cards (カード)
      - Titles (タイトル)
      - Hamburger (ハンバーガーメニュー)
      - Section Heading (セクション見出し)
      - Slider Grid (スライダーグリッド)
      - Pagination (ページネーション)

   3. Sections - セクション別スタイル
      - KV (キービジュアル)
      - News (お知らせ)
      - About (私たちについて)
      - Service (事業内容)
      - Company (企業情報)
      - Contact (お問い合わせ)

   4. Pages - ページ固有スタイル
      - Subpage (下層ページ共通)
      - Service Detail (サービス詳細)
      - 404 (エラーページ)

   5. Animations - アニメーション定義
   ========================================================================== */

/* ==========================================================================
   1. Layout - レイアウト共通
   ========================================================================== */

.l-header {
  position: fixed;
  top: 0;
  z-index: var(--z-header);
  width: 100%;
  opacity: 1;
  transition: opacity var(--transition-base);
}

.l-header__wrapper {
  display: flex;
  align-items: center;
  height: var(--header-height-xl);
  padding: 0 var(--space-4xl) 0 var(--space-xl);
  transform: translateY(0);
  border-bottom: 1px solid rgba(var(--color-border), 0.2);
  background-color: var(--color-bg-body);
  transition-duration: var(--duration-base);
  transition-property: height, border-bottom-color, background-color, transform, padding;
  transition-timing-function: var(--easeOutCubic);
}

@media screen and (max-width: 1023.98px) {
  .l-header__wrapper {
    justify-content: space-between;
    height: var(--header-height-lg);
    padding: var(--space-2xl);
  }
}

@media screen and (max-width: 767.98px) {
  .l-header__wrapper {
    height: var(--header-height-md);
    padding: var(--space-lg);
  }
}

.kv-inview .l-header__wrapper {
  transform: translateY(var(--space-2xl));
  border-bottom-color: transparent;
  background-color: transparent;
}

@media screen and (max-width: 1023.98px) {
  .kv-inview .l-header__wrapper {
    transform: translateY(var(--space-lg));
    padding: 0 var(--space-3xl) 0 var(--space-lg);
  }
}

.kv-inview.is-scrolled .l-header__wrapper {
  height: var(--header-height-lg);
  padding: 0 var(--space-4xl) 0;
  transform: translateY(var(--space-xl));
}

@media screen and (max-width: 1023.98px) {
  .kv-inview.is-scrolled .l-header__wrapper {
    height: var(--header-height-md);
    padding: 0 var(--space-2xl) 0;
    transform: translateY(var(--space-md));
  }
}

.is-scrolled .l-header__wrapper {
  padding: 0 var(--space-xl);
}

@media screen and (max-width: 1023.98px) {
  .is-scrolled .l-header__wrapper {
    padding: 0 var(--space-lg);
  }
}

@media screen and (max-width: 767.98px) {
  .is-scrolled .l-header__wrapper {
    height: var(--header-height-lg);
    padding: 0 var(--space-lg);
  }
}

.subpage .l-header__wrapper {
  padding: 0 var(--space-xl);
}

@media screen and (max-width: 1023.98px) {
  .subpage .l-header__wrapper {
    padding: 0 var(--space-lg);
  }
}

.subpage .kv-inview .l-header__wrapper {
  transform: translateY(var(--space-sm));
}

@media screen and (max-width: 1023.98px) {
  .subpage .kv-inview .l-header__wrapper {
    transform: translateY(var(--space-lg));
    padding: 0 var(--space-3xl) 0 var(--space-lg);
  }
}

.subpage .kv-inview.is-scrolled .l-header__wrapper {
  transform: translateY(var(--space-xl));
  padding: 0 var(--space-xl) 0;
}

@media screen and (max-width: 1023.98px) {
  .subpage .kv-inview.is-scrolled .l-header__wrapper {
    transform: translateY(var(--space-md));
    padding: 0 var(--space-3xl);
  }
}

.footer-inview .l-header__wrapper {
  transform: translateY(-100%);
}

.l-header__logo {
  grid-area: logo;
  font-size: 1px;
  line-height: 1;
}

.l-header__logo__link img {
  width: 200px;
  /* ダークモード用：ロゴをホワイトに */
  filter: brightness(0) invert(1);
}

@media screen and (max-width: 1279.98px) {
  .l-header__logo__link img {
    width: 180px;
  }
}

@media screen and (max-width: 1023.98px) {
  .l-header__logo__link img {
    width: 160px;
  }
}

.l-header__nav {
  flex-grow: 1;
}

@media screen and (max-width: 1023.98px) {
  .l-header__nav {
    display: none;
  }
}

.l-header__nav__ul {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-xl);
  align-items: center;
}

@media screen and (max-width: 1279.98px) {
  .l-header__nav__ul {
    gap: var(--space-lg);
  }
}

.l-header__nav__link {
  position: relative;
  color: var(--color-text-primary);
  font-size: var(--font-header-nav);
  font-weight: var(--font-weight-bold);
}

.l-header__nav__str {
  display: inline-block;
  transition: transform var(--duration-slow) var(--easeOutCubic);
}

.l-header__nav__link:hover .l-header__nav__str {
  transform: translateX(var(--space-sm));
}

.l-header__nav__link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  transform: translateY(-50%);
  border-radius: var(--border-radius-full);
  background-color: currentColor;
  opacity: 0;
  transition: opacity var(--duration-slow) var(--easeOutCubic), left var(--duration-slow) var(--easeOutCubic);
}

.l-header__nav__link:hover::before {
  left: calc(-1 * var(--icon-size-xs));
  opacity: 1;
}

.kv-inview .l-header__nav__link {
  color: var(--color-black);
}

.kv-inview .l-header__nav__link:hover,
.kv-inview .l-header__nav__link:focus,
.kv-inview .l-header__nav__link:active {
  color: var(--color-off-white);
}

.l-header__nav__link:hover,
.l-header__nav__link:focus,
.l-header__nav__link:active {
  color: var(--color-text-primary);
}

.l-header__contact {
  margin-left: var(--space-xl);
}

@media screen and (max-width: 1279.98px) {
  .l-header__contact {
    margin-left: var(--space-lg);
  }
}

@media screen and (max-width: 1023.98px) {
  .l-header__contact {
    display: none;
  }
}

.l-header__contact__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--border-radius-full);
  background: var(--color-black);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: var(--color-off-white);
  font-size: var(--font-header-nav);
  font-weight: var(--font-weight-bold);
  box-shadow: var(--shadow-card-hover);
  transition: background-position var(--duration-slower) var(--easeOutCubic),
    box-shadow var(--duration-slower) var(--easeOutCubic);
}

@media screen and (max-width: 1279.98px) {
  .l-header__contact__link {
    padding: var(--space-md) var(--space-lg);
  }
}

@media (max-width: 1200px) {
  .l-header__contact__link {
    font-size: var(--font-sm);
  }
}

.is-scrolled .l-header__contact__link {
  box-shadow: none;
}

.l-header__contact__link:hover,
.l-header__contact__link:focus,
.l-header__contact__link:active {
  color: var(--color-off-white);
  background-position: 100% 50%;
  box-shadow: var(--shadow-btn-hover);
  transition: background-position var(--duration-slow) var(--easeOutCubic),
    box-shadow var(--duration-slow) var(--easeOutCubic);
}

.l-header__contact__icon {
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
  transform: translateY(-1.5px);
}


@media screen and (max-width: 1023.98px) {
  .l-header__nav__list.is-contact {
    display: none;
  }
}

.l-header__nav__list.is-contact .l-header__nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--border-radius-full);
  background: var(--color-text-primary);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: var(--color-black);
  font-size: var(--font-header-nav);
  font-weight: var(--font-weight-bold);
  box-shadow: var(--shadow-card-hover);
  transition: background-position var(--duration-slower) var(--easeOutCubic),
    box-shadow var(--duration-slower) var(--easeOutCubic);
}

/* ドット（通常のメニューリンク用擬似要素）を無効化 */
.l-header__nav__list.is-contact .l-header__nav__link::before {
  display: none !important;
  content: none !important;
}

/* アイコンDOM用スタイル */
.l-header__nav__list.is-contact .l-header__contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
  transform: translateY(-2px);
  color: var(--color-black);
}

.l-header__nav__list.is-contact .l-header__contact__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 2px;
}

@media screen and (max-width: 1279.98px) {
  .l-header__nav__list.is-contact .l-header__nav__link {
    padding: var(--space-md) var(--space-lg);
  }
}

@media (max-width: 1200px) {
  .l-header__nav__list.is-contact .l-header__nav__link {
    font-size: var(--font-sm);
  }
}

.is-scrolled .l-header__nav__list.is-contact .l-header__nav__link {
  box-shadow: none;
}

.l-header__nav__list.is-contact .l-header__nav__link:hover,
.l-header__nav__list.is-contact .l-header__nav__link:focus,
.l-header__nav__list.is-contact .l-header__nav__link:active {
  color: var(--color-off-white);
  background-position: 100% 50%;
  box-shadow: var(--shadow-btn-hover);
  transition: background-position var(--duration-slow) var(--easeOutCubic),
    box-shadow var(--duration-slow) var(--easeOutCubic);
}

/* ホバー時のアイコンアニメーション（紙飛行機が飛ぶ） */
@keyframes icon-fly-contact {
  0% {
    transform: translate(0, -1.5px);
    opacity: 1;
  }

  20% {
    transform: translate(-5px, -1.5px);
    opacity: 1;
  }

  45% {
    transform: translate(30px, -1.5px);
    opacity: 0;
  }

  46% {
    transform: translate(-30px, -1.5px);
    opacity: 0;
  }

  60% {
    transform: translate(0, -1.5px);
    opacity: 1;
  }
}

.l-header__nav__list.is-contact .l-header__nav__link:hover .l-header__contact__icon {
  animation: icon-fly-contact 1.2s ease-in-out;
}

.l-header__hamburger {
  display: flex;
  justify-content: flex-end;
}

@media screen and (min-width: 1024px) {
  .l-header__hamburger {
    display: none;
  }
}

.kv-inview .l-header__hamburger {
  transform: translateY(5px);
}

.l-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: var(--z-drawer);
  width: 100%;
  height: 100%;
  overflow: hidden;
  will-change: opacity;
}

.l-drawer.is-open {
  display: block;
}

.l-drawer__bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-base);
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  background-color: var(--color-text-primary);
  pointer-events: none;
}

.l-drawer__header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height-xl);
  padding: 0 var(--space-4xl);
  transform: translateY(0);
}

@media screen and (max-width: 1023.98px) {
  .l-drawer__header {
    height: var(--header-height-lg);
    padding: 0 var(--space-2xl);
  }
}

@media screen and (max-width: 767.98px) {
  .l-drawer__header {
    height: var(--header-height-md);
    padding: 0 var(--space-lg);
  }
}

.kv-inview .l-drawer__header {
  padding: 0 var(--space-4xl);
  transform: translateY(var(--space-xl));
}

@media screen and (max-width: 1023.98px) {
  .kv-inview .l-drawer__header {
    padding: 0 var(--space-3xl);
    transform: translateY(var(--space-lg));
  }
}

@media screen and (max-width: 767.98px) {
  .kv-inview .l-drawer__header {
    padding: 0 var(--space-lg);
    transform: translateY(var(--space-lg));
  }
}

.l-drawer__logo {
  font-size: 1px;
  line-height: 1;
}

.l-drawer__logo__link img {
  width: 200px;
}

@media screen and (max-width: 1023.98px) {
  .l-drawer__logo__link img {
    width: 160px;
  }
}

.l-drawer__hamburger {
  position: relative;
  display: flex;
  justify-content: flex-end;
}



@keyframes drawerHamburgerPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.l-drawer__hamburger .hamburger {
  background-color: var(--color-bg-body);
  /* 初期状態は非表示（アニメーション待ち） */
  opacity: 0;
}

.l-drawer.is-open .l-drawer__hamburger .hamburger {
  /* バウンス効果のあるアニメーション */
  animation: drawerHamburgerPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
}

.l-drawer__hamburger .hamburger__bar {
  background-color: var(--color-text-primary);
}

.l-drawer .modal__container {
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: var(--z-content);
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}

@media (min-width: 1024px) {
  .l-drawer .modal__container {
    display: grid;
    grid-template-rows: 60px 1fr 100px;
  }
}

.l-drawer .modal__container::-webkit-scrollbar {
  display: none;
}

.l-drawer__container {
  padding: 0 100px;
}

@media screen and (max-width: 767.98px) {
  .l-drawer__container {
    padding: 0 50px;
  }
}

@media screen and (max-width: 575.98px) {
  .l-drawer__container {
    padding: 0 25px;
  }
}

.l-drawer__content {
  width: 100%;
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}

.l-drawer__nav__list {
  position: relative;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-off-white);
}

.l-drawer__nav__link {
  position: relative;
  display: inline-flex;
}

.l-drawer__nav__link::after {
  content: "";
  position: absolute;
  bottom: calc(-1 * var(--icon-size-xs));
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background-color: rgba(var(--color-off-white-rgb), 0.5);
  transition: transform var(--duration-base) var(--easeOutCubic);
}

.l-drawer__nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.l-drawer__nav__str .__lang-en {
  color: var(--color-off-white);
  font-size: var(--font-3xl);
  font-weight: var(--font-weight-bold);
}

.l-drawer__nav__str .__lang-ja {
  padding-left: var(--space-md);
  color: var(--color-off-white);
  font-size: var(--font-base);
}

.l-drawer__sub {
  margin-top: var(--space-md);
}

.l-drawer__sub__list {
  position: relative;
  padding: var(--icon-size-xs) 0 var(--icon-size-xs) var(--space-md);
}

.l-drawer__sub__list:before {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--icon-size-xs);
  width: var(--icon-size-xs);
  height: var(--icon-size-xs);
  margin-top: -2px;
  border-radius: var(--border-radius-full);
  background-color: var(--color-bg-body);
}

.l-drawer__sub__link {
  position: relative;
  color: var(--color-off-white);
  font-size: var(--font-title-sm);
}

.l-drawer__sub__link::after {
  content: "";
  position: absolute;
  bottom: calc(-1 * var(--icon-size-xs));
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background-color: var(--color-bg-body);
  transition: transform var(--duration-base) var(--easeOutCubic);
}

.l-drawer__sub__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.l-drawer__btm__list {
  position: relative;
  padding: var(--icon-size-xs) 0;
}

.l-drawer__btm__link {
  position: relative;
  display: inline-flex;
}

.l-drawer__btm__link::after {
  content: "";
  position: absolute;
  bottom: calc(-1 * var(--icon-size-xs));
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background-color: rgba(var(--color-off-white-rgb), 0.5);
  transition: transform var(--duration-base) var(--easeOutCubic);
}

.l-drawer__btm__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.l-drawer__btm__str .__lang-en {
  color: var(--color-off-white);
  font-size: var(--font-title-lg);
  font-weight: var(--font-weight-light);
}

.l-drawer__btm__str .__lang-ja {
  padding-left: var(--space-md);
  color: var(--color-off-white);
  font-size: var(--font-title-sm);
}

.l-drawer[aria-hidden=false] .l-drawer__bg {
  animation: slideIn var(--duration-slower) var(--easeOutExpo) 0s forwards;
}

.l-drawer[aria-hidden=false] .modal__container {
  animation: fadeIn .8s var(--easeOutCubic) .4s forwards;
}

.l-drawer[aria-hidden=false] .l-drawer__content {
  /* animation: scaleIn ... は削除し、個別のアイテムアニメーションに任せる */
  opacity: 1;
}

.l-drawer[aria-hidden=true] .l-drawer__bg {
  animation: slideOut var(--duration-slow) var(--easeInOutCubic) 0s forwards;
}

.l-drawer[aria-hidden=true] .l-drawer__content {
  animation: scaleOut .8s var(--easeOutCubic) 0s forwards;
}

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

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

.l-drawer[aria-hidden=false] .l-drawer__logo {
  animation: drawerItemFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s both;
}

.l-drawer[aria-hidden=false] .l-drawer__nav__list:nth-child(1) {
  animation: drawerItemFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both;
}

.l-drawer[aria-hidden=false] .l-drawer__nav__list:nth-child(2) {
  animation: drawerItemFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s both;
}

.l-drawer[aria-hidden=false] .l-drawer__nav__list:nth-child(3) {
  animation: drawerItemFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s both;
}

.l-drawer[aria-hidden=false] .l-drawer__nav__list:nth-child(4) {
  animation: drawerItemFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.9s both;
}

.l-drawer[aria-hidden=false] .l-drawer__nav__list:nth-child(5) {
  animation: drawerItemFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 1.0s both;
}

.l-drawer[aria-hidden=false] .l-drawer__btm__list:nth-child(1) {
  animation: drawerItemFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 1.1s both;
}

.l-drawer[aria-hidden=false] .l-drawer__btm__list:nth-child(2) {
  animation: drawerItemFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 1.2s both;
}

.l-drawer[aria-hidden=true] .modal__container {
  animation: fadeOut .8s var(--easeOutCubic) 0s forwards;
}

.l-drawer[aria-hidden=false] .l-drawer__content,
.l-drawer[aria-hidden=true] .l-drawer__bg,
.l-drawer[aria-hidden=true] .l-drawer__content {
  backface-visibility: hidden;
  will-change: transform, opacity;
}

/* ============================================
   Footer - フッター
   ============================================ */

.l-footer {
  position: relative;
  width: 100%;
  z-index: var(--z-base);
}

.l-footer__wrapper {
  padding-top: var(--section-spacing);
  padding-bottom: var(--space-lg);
  background-color: var(--color-black);
  color: var(--color-off-white);
}

@media (min-width: 1024px) {
  .l-footer__wrapper {
    min-height: 100vh;
  }
}

.l-footer__content {
  display: flex;
  justify-content: space-between;
  gap: var(--space-8xl);
}

@media screen and (max-width: 1023.98px) {
  .l-footer__content {
    flex-direction: column;
    gap: var(--space-6xl);
  }
}

@media screen and (max-width: 767.98px) {
  .l-footer__content {
    gap: var(--space-xl);
  }
}

.l-footer__navigation {
  flex-grow: 1;
  display: flex;
  gap: var(--space-2xl);
}

@media screen and (max-width: 767.98px) {
  .l-footer__navigation {
    flex-direction: column;
    gap: 0;
  }
}

.l-footer__logo__link img {
  width: 220px;
}



.l-footer__address {
  margin-top: var(--space-4xl);
  font-size: var(--font-sm);
}

@media screen and (max-width: 767.98px) {
  .l-footer__address {
    margin-top: var(--space-2xl);
  }
}

.l-footer__nav {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
}

.l-footer__nav__list {
  position: relative;
  padding: var(--space-lg) 0;
}

@media screen and (max-width: 767.98px) {
  .l-footer__nav__list {
    padding: var(--space-md) 0;
  }
}

.l-footer__nav__list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--easeOutCubic);
}

@media screen and (max-width: 767.98px) {
  .l-footer__nav__list::before {
    transform: scaleX(1);
    transition: none;
  }
}

.l-footer__nav__list.is-inview::before,
.l-footer.is-inview .l-footer__nav__list::before {
  transform: scaleX(1);
}

.l-footer__nav__link {
  position: relative;
  display: block;
}

.l-footer__nav__link::after {
  content: "";
  position: absolute;
  bottom: calc(-1 * var(--icon-size-xs));
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background-color: rgba(var(--color-off-white-rgb), 0.5);
  transition: transform var(--duration-base) var(--easeOutCubic);
}

.l-footer__nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.l-footer__nav__str .__lang-en {
  color: inherit;
  font-size: var(--font-2xl);
  font-weight: var(--font-weight-semibold);
}

.l-footer__nav__str .__lang-ja {
  padding-left: var(--space-md);
  color: inherit;
  font-size: var(--font-base);
}

.sub-menu {
  margin-top: var(--space-md);
}

@media screen and (max-width: 767.98px) {
  .sub-menu {
    margin-top: var(--space-sm);
  }
}

.l-footer__sub__list {
  position: relative;
  padding: var(--space-md) 0 var(--space-md) var(--space-md);
}

@media screen and (max-width: 767.98px) {
  .l-footer__sub__list {
    padding: var(--space-sm) 0 var(--space-sm) var(--space-md);
  }
}

.l-footer__sub__list:before {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--space-xs);
  width: var(--icon-size-xs);
  height: var(--icon-size-xs);
  margin-top: -2px;
  border-radius: var(--border-radius-full);
  background-color: currentColor;
}

.l-footer__sub__link {
  display: block;
  position: relative;
  color: inherit;
  font-size: var(--font-title-sm);
}

.l-footer__sub__link::after {
  content: "";
  position: absolute;
  bottom: calc(-1 * var(--space-xs));
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background-color: var(--color-bg-body);
  transition: transform var(--duration-base) var(--easeOutCubic);
}

.l-footer__sub__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.l-footer__btm {
  padding-bottom: var(--space-lg);
}

@media screen and (max-width: 767.98px) {
  .l-footer__btm {
    padding-bottom: 0;
  }
}

.l-footer__btm__list {
  position: relative;
  padding: var(--icon-size-xs) 0;
}

.l-footer__btm__link {
  position: relative;
  display: inline-flex;
}

.l-footer__btm__link::after {
  content: "";
  position: absolute;
  bottom: calc(-1 * var(--icon-size-xs));
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background-color: var(--color-bg-body);
  transition: transform var(--duration-base) var(--easeOutCubic);
}

.l-footer__btm__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.l-footer__btm__str .__lang-en {
  color: inherit;
  font-size: var(--font-title-lg);
  font-weight: var(--font-weight-light);
}

.l-footer__btm__str .__lang-ja {
  padding-left: var(--space-lg);
  color: var(--color-off-white);
  font-size: var(--font-title-sm);
}

.l-footer__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  font-weight: var(--font-weight-light);
}

@media screen and (max-width: 1023.98px) {
  .l-footer__copy {
    justify-content: center;
    margin-top: var(--section-spacing);
    text-align: center;
  }
}

@media screen and (max-width: 767.98px) {
  .l-footer__copy {
    margin-top: var(--space-xl);
  }
}

.l-footer__copy span {
  font-size: var(--font-label);
}

.l-footer__privacy {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--color-off-white);
  font-size: var(--font-sm);
  opacity: 0.7;
  transition: opacity var(--duration-base);
}

@media screen and (max-width: 1023.98px) {
  .l-footer__privacy {
    position: static;
  }
}

.l-footer__privacy:hover {
  opacity: 1;
}

.l-footer__utility {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

@media screen and (max-width: 767.98px) {
  .l-footer__utility {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    margin-top: 0;
  }
}

.l-footer__utility__list {
  position: relative;
  padding: var(--icon-size-xs) 0 var(--icon-size-xs) var(--space-md);
}

.l-footer__utility__list::before {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--icon-size-xs);
  width: var(--icon-size-xs);
  height: var(--icon-size-xs);
  margin-top: -2px;
  border-radius: var(--border-radius-full);
  background-color: currentColor;
}

.l-footer__utility__link {
  position: relative;
  color: inherit;
  font-size: var(--font-sm);
  opacity: 0.7;
  transition: opacity var(--duration-base);
}

.l-footer__utility__link::after {
  content: "";
  position: absolute;
  bottom: calc(-1 * var(--icon-size-xs));
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background-color: var(--color-bg-body);
  transition: transform var(--duration-base) var(--easeOutCubic);
}

.l-footer__utility__link:hover {
  opacity: 1;
}

.l-footer__utility__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================================================
   2. Components - 共通コンポーネント
   ========================================================================== */

.c-button__wrap {
  display: flex;
}

@media screen and (max-width: 767.98px) {
  .c-button__wrap {
    justify-content: center !important;
  }
}

.c-button__wrap.align-center {
  justify-content: center;
}

.c-button__wrap--right {
  justify-content: flex-end;
}

.c-icon {
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

svg.c-icon {
  width: var(--icon-size-xl);
  height: var(--icon-size-xl);
  background-color: transparent;
  -webkit-mask-image: none;
  mask-image: none;
}

svg.c-icon .c-icon__main {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

svg.c-icon .c-icon__effect {
  transition: opacity 0.3s ease;
}

.c-button__arrow:hover svg.c-icon .c-icon__main {
  animation: iconArrowBounce 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-button__arrow:hover svg.c-icon .c-icon__effect {
  animation: iconDotsBlink 1.2s ease infinite;
}

@keyframes iconArrowBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-3px);
  }

  60% {
    transform: translateY(-1px);
  }
}

@keyframes iconDotsBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.c-icon--arrow {
  mask-image: url('../assets/svg/icon-arrow-button.svg');
  -webkit-mask-image: url('../assets/svg/icon-arrow-button.svg');
}

.c-button__arrow {
  position: relative;
  z-index: var(--z-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  height: var(--space-5xl);
  padding: var(--space-md) var(--space-5xl);
  overflow: hidden;
  background-color: var(--color-off-white);
  border-radius: var(--border-radius-full);
  color: var(--color-black);
  font-size: var(--font-base);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  transition-duration: var(--duration-base);
  transition-property: background;
  transition-timing-function: var(--easeOutExpo);
  isolation: isolate;
}

@media screen and (max-width: 767.98px) {
  .c-button__arrow {
    min-width: 236px;
    height: var(--space-4xl);
    padding: 0 var(--space-4xl);
  }
}

.c-button__arrow .c-icon {
  position: absolute;
  top: 50%;
  left: var(--space-lg);
  width: var(--space-xl);
  height: var(--space-xl);
  transform: translateY(-50%);
  background-color: transparent;
  color: var(--color-off-white);
}

.c-button__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-black);
  background-size: 200% 200%;
  border-radius: inherit;
  opacity: 0.2;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--easeOutCubic);
}

.c-button__arrow:hover::before,
.c-button__arrow:active::before,
.c-button__arrow:focus::before {
  opacity: 0.4;
  animation: gradientFlow 3s ease infinite alternate;
}

.c-button__arrow .c-button__arrow-icon {
  position: absolute;
  top: 50%;
  right: var(--space-md);
  width: var(--space-3xl);
  height: var(--space-3xl);
  transform: translateY(-50%);
  border-radius: var(--border-radius-full);
  isolation: isolate;
}

@media screen and (max-width: 767.98px) {
  .c-button__arrow .c-button__arrow-icon {
    width: var(--space-2xl);
    height: var(--space-2xl);
  }
}

.c-button__arrow:hover,
.c-button__arrow:focus,
.c-button__arrow:active {
  background-color: var(--color-text-primary);
  color: var(--color-off-white);
}

.c-button__contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 324px;
  height: var(--space-5xl);
  padding: 0 var(--space-5xl);
  overflow: hidden;
  background: var(--color-text-primary);
  background-position: 0% 50%;
  background-size: 200% 200%;
  border-radius: var(--border-radius-full);
  color: var(--color-black);
  font-size: var(--font-lg);
  font-weight: var(--font-weight-bold);
  box-shadow: var(--shadow-card-hover);
  transition: background-position var(--duration-slower) var(--easeOutCubic),
    box-shadow var(--duration-slower) var(--easeOutCubic),
    color var(--duration-base) var(--easeOutCubic);
}

.c-button__contact:hover,
.c-button__contact:focus,
.c-button__contact:active {
  background-position: 100% 50%;
  box-shadow: var(--shadow-btn-hover);
  color: var(--color-black);
  transition: background-position var(--duration-slow) var(--easeOutCubic),
    box-shadow var(--duration-slow) var(--easeOutCubic),
    color var(--duration-base) var(--easeOutCubic);
}

.c-button__contact.contact-mail {
  color: var(--color-black);
}

.c-button__contact.contact-mail:before {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23151515%22%3E%3Cpath%20d%3D%22M3.5%201.34558C3.58425%201.34558%203.66714%201.36687%203.74096%201.40747L22.2034%2011.5618C22.4454%2011.6949%2022.5337%2011.9989%2022.4006%2012.2409C22.3549%2012.324%2022.2865%2012.3924%2022.2034%2012.4381L3.74096%2022.5924C3.499%2022.7255%203.19497%2022.6372%203.06189%2022.3953C3.02129%2022.3214%203%2022.2386%203%2022.1543V1.84558C3%201.56944%203.22386%201.34558%203.5%201.34558ZM5%204.38249V10.9999H10V12.9999H5V19.6174L18.8499%2011.9999L5%204.38249Z%22%2F%3E%3C%2Fsvg%3E");
  filter: none;
}

.c-button__contact.contact-mail:hover:before {
  animation: icon-fly 1.2s ease-in-out;
}

@keyframes icon-fly {
  0% {
    transform: translateY(-50%) translate(0, 0);
    opacity: 1;
  }

  20% {
    transform: translateY(-50%) translate(-5px, 0);
    opacity: 1;
  }

  45% {
    transform: translateY(-50%) translate(30px, 0);
    opacity: 0;
  }

  46% {
    transform: translateY(-50%) translate(-30px, 0);
    opacity: 0;
  }

  60% {
    transform: translateY(-50%) translate(0, 0);
    opacity: 1;
  }
}

.l-header__contact__link:hover .l-header__contact__icon {
  animation: icon-fly-header 1.2s ease-in-out;
}

@keyframes icon-fly-header {
  0% {
    transform: translate(0, -1.5px);
    opacity: 1;
  }

  20% {
    transform: translate(-5px, -1.5px);
    opacity: 1;
  }

  45% {
    transform: translate(30px, -1.5px);
    opacity: 0;
  }

  46% {
    transform: translate(-30px, -1.5px);
    opacity: 0;
  }

  60% {
    transform: translate(0, -1.5px);
    opacity: 1;
  }
}

@keyframes pulseAnimation {

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

  50% {
    opacity: 0;
    transform: scale(1.3);
  }
}

.c-button__contact:before {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--space-lg);
  width: var(--space-xl);
  height: var(--space-xl);
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.c-button__contact .c-button__arrow-icon {
  position: absolute;
  top: 50%;
  right: var(--space-md);
  width: var(--space-3xl);
  height: var(--space-3xl);
  transform: translateY(-50%);
  border-radius: var(--border-radius-full);
  isolation: isolate;
}

.c-button__arrow-icon {
  position: relative;
  background-color: var(--color-bg-body);
  overflow: visible;
  isolation: isolate;
}

.c-button__arrow-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: var(--z-decoration);
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  border-top: 1px solid var(--color-text-primary);
  border-right: 1px solid var(--color-text-primary);
  transform: translate(-70%, -50%) rotate(45deg);
  transform-origin: center center;
  transition: border-color var(--duration-slow) var(--easeOutCubic),
    transform var(--duration-slow) var(--easeOutCubic);
}

.c-button__arrow-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: var(--z-above);
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  opacity: 0;
  background: var(--color-black);
  border-radius: 50%;
  pointer-events: none;
}

.c-button__arrow .c-button__arrow-icon>span,
.c-button__contact .c-button__arrow-icon>span {
  position: absolute;
  inset: 0;
  z-index: var(--z-content);
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-bg-body);
  border-radius: 50%;
}

.c-button__arrow:hover .c-button__arrow-icon::before,
.c-button__arrow:focus .c-button__arrow-icon::before,
.c-button__arrow:active .c-button__arrow-icon::before,
.c-button__contact:hover .c-button__arrow-icon::before,
.c-button__contact:focus .c-button__arrow-icon::before,
.c-button__contact:active .c-button__arrow-icon::before {
  border-color: var(--color-text-primary);
  animation: arrowNudgeRight 0.6s var(--easeOutCubic);
}

.c-button__arrow:hover .c-button__arrow-icon::after,
.c-button__arrow:focus .c-button__arrow-icon::after,
.c-button__arrow:active .c-button__arrow-icon::after,
.c-button__contact:hover .c-button__arrow-icon::after,
.c-button__contact:focus .c-button__arrow-icon::after,
.c-button__contact:active .c-button__arrow-icon::after {
  animation: buttonArrowPulse 1.4s ease-out infinite;
}

.c-button__contact .c-button__arrow-icon::before,
.p-contact-form__btn .c-button__arrow-icon::before {
  border-color: var(--color-text-primary);
}

@keyframes arrowNudgeRight {
  0% {
    transform: translate(-70%, -50%) rotate(45deg);
  }

  30% {
    transform: translate(-100%, -50%) rotate(45deg);
  }

  70% {
    transform: translate(-40%, -50%) rotate(45deg);
  }

  100% {
    transform: translate(-70%, -50%) rotate(45deg);
  }
}

@keyframes buttonArrowPulse {
  0% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}


.c-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4xl);
  width: 100%;
}

@media screen and (min-width: 1024px) and (max-width: 1190px) {
  .c-card-grid {
    gap: var(--space-xl);
  }
}

@media screen and (max-width: 1023.98px) {
  .c-card-grid {
    gap: var(--space-lg);
  }
}

@media screen and (max-width: 767.98px) {
  .c-card-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.c-card-grid>* {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.c-card-grid--offset>*:nth-child(even) {
  margin-top: -250px;
}

@media screen and (max-width: 1023.98px) {
  .c-card-grid--offset>*:nth-child(even) {
    margin-top: -150px;
  }
}

@media screen and (max-width: 767.98px) {
  .c-card-grid--offset>*:nth-child(even) {
    grid-column: 1 !important;
    margin-top: 0 !important;
  }
}

.c-card-grid--offset>*:only-child {
  grid-column: 1 !important;
  margin-top: 0 !important;
}

.c-card-grid--offset>*:nth-child(2n+1) {
  grid-column: 1;
}

@media screen and (max-width: 767.98px) {
  .c-card-grid--offset>*:nth-child(2n+1) {
    grid-column: 1 !important;
    margin-top: 0 !important;
  }
}

.c-card-grid--offset>*:nth-child(2n) {
  grid-column: 2;
}

@media screen and (max-width: 767.98px) {
  .c-card-grid--offset>*:last-child {
    grid-column: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

.c-card-grid--offset>*:last-child:nth-child(even) {
  grid-column: 2;
  margin-top: -250px;
}

@media screen and (max-width: 1023.98px) {
  .c-card-grid--offset>*:last-child:nth-child(even) {
    margin-top: -150px;
    margin-bottom: 150px;
  }
}

@media screen and (max-width: 767.98px) {
  .c-card-grid--offset>*:last-child:nth-child(even) {
    grid-column: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

.c-card-grid--offset>*:last-child:nth-child(odd) {
  grid-column: 2;
  margin-top: -250px;
  margin-bottom: 250px;
}

@media screen and (max-width: 1023.98px) {
  .c-card-grid--offset>*:last-child:nth-child(odd) {
    grid-column: 2;
    margin-top: -150px;
    margin-bottom: 150px;
  }
}

@media screen and (max-width: 767.98px) {
  .c-card-grid--offset>*:last-child:nth-child(odd) {
    grid-column: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* ============================================
   カードコンポーネント（統一版）
   ============================================ */

.c-card__tit {
  position: relative;
  font-size: var(--font-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-relaxed);
}

.c-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  background-color: transparent;
  border-radius: var(--space-md);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}


.c-card__link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  background-color: var(--color-bg-body);
  border-radius: var(--space-md);
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  z-index: var(--z-above);
  transition: transform var(--transition-base);
  overflow: hidden;
}

.c-card__link:hover {
  transform: translateY(calc(-1 * var(--space-sm)));
}

/* 画像 */
.c-card__img {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--space-md) var(--space-md) 0 0;
  font-size: 0 !important;
  line-height: 0 !important;
}

.c-card__img__inner {
  position: relative;
  width: 100%;
  height: 0;
  margin: 0;
  padding-top: 66.67%;
  padding-bottom: 0;
  overflow: hidden;
  font-size: 0 !important;
  line-height: 0 !important;
}

.c-card__img img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100% !important;
  max-width: none;
  height: 100% !important;
  max-height: none;
  object-fit: cover;
  object-position: center;
  transform-origin: center;
  transition: transform var(--transition-slower), filter var(--transition-slower);
}

.c-card__link:hover .c-card__img img {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.05);
}

.c-card__content {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-shrink: 0;
  justify-content: space-between;
  min-height: 0;
  padding: var(--space-lg);
  background: var(--color-bg-light);
  border-radius: 0 0 var(--space-md) var(--space-md);
}

@media screen and (max-width: 1023.98px) {
  .c-card__content {
    padding: var(--space-md);
  }
}

/* タイトル */
.c-card__title {
  margin: 0;
  padding: 0;
  color: var(--color-text-primary);
  background: transparent;
  font-size: var(--font-md);
  font-weight: var(--font-weight-bold);
}

.c-card__label,
.c-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.c-card .c-button__arrow-icon,
.c-card__link .c-button__arrow-icon {
  position: absolute;
  right: var(--space-lg);
  bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  overflow: visible;
  background-color: var(--color-black);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-full);
  isolation: isolate;
  transition: transform var(--transition-base);
}

@media screen and (max-width: 1023.98px) {

  .c-card .c-button__arrow-icon,
  .c-card__link .c-button__arrow-icon {
    right: var(--space-md);
    bottom: var(--space-md);
  }
}

@media screen and (max-width: 767.98px) {

  .c-card .c-button__arrow-icon,
  .c-card__link .c-button__arrow-icon {
    right: var(--space-md);
    bottom: var(--space-md);
    width: 40px;
    height: 40px;
  }
}

.c-card .c-button__arrow-icon>span,
.c-card__link .c-button__arrow-icon>span {
  content: "";
  position: absolute;
  inset: 0;
  z-index: var(--z-content);
  display: block;
  background: var(--color-black);
  background-size: 200% 200%;
  border-radius: inherit;
  opacity: 0.2;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--easeOutCubic);
}

.c-card .c-button__arrow-icon::before,
.c-card__link .c-button__arrow-icon::before {
  border-top: 2px solid var(--color-off-white);
  border-right: 2px solid var(--color-off-white);
}

.c-card:hover .c-button__arrow-icon>span,
.c-card:focus .c-button__arrow-icon>span,
.c-card__link:hover .c-button__arrow-icon>span,
.c-card__link:focus .c-button__arrow-icon>span {
  opacity: 0.4;
  animation: gradientFlow 3s ease infinite alternate;
}

.c-card:hover .c-button__arrow-icon::before,
.c-card:focus .c-button__arrow-icon::before,
.c-card__link:hover .c-button__arrow-icon::before,
.c-card__link:focus .c-button__arrow-icon::before {
  border-color: var(--color-off-white);
  animation: arrowNudgeRight 0.6s var(--easeOutCubic);
}

.c-card:hover .c-button__arrow-icon::after,
.c-card:focus .c-button__arrow-icon::after,
.c-card__link:hover .c-button__arrow-icon::after,
.c-card__link:focus .c-button__arrow-icon::after {
  animation: buttonArrowPulse 1.4s ease-out infinite;
}

/* --------------------------------------------
   2. バリエーション (.c-card--*)
   --------------------------------============ */

.c-card--case {
  background-color: transparent;
  box-shadow: none;
}

.c-card--case .c-card__link {
  box-shadow: var(--shadow-card-hover-sm);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-card--case .c-card__link:hover {
  transform: translateY(calc(-1 * var(--space-sm)));
  box-shadow: var(--shadow-card-hover);
}

.c-card--case .c-card__content {
  padding: var(--space-xl);
}

@media screen and (max-width: 1023.98px) {
  .c-card--case .c-card__content {
    padding: var(--space-lg);
  }
}

.c-card--case .c-card__title {
  flex-grow: 1;
}

.c-card--news {
  background-color: transparent;
  box-shadow: none;
}

.c-card--news .c-card__link {
  box-shadow: var(--shadow-card-hover-sm);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-card--news .c-card__link:hover {
  transform: translateY(calc(-1 * var(--space-sm)));
  box-shadow: var(--shadow-card-hover);
}

.c-card--news .c-card__content {
  padding: var(--space-xl);
}

@media screen and (max-width: 1023.98px) {
  .c-card--news .c-card__content {
    padding: var(--space-xl);
  }
}

@media screen and (max-width: 767.98px) {
  .c-card--news .c-card__content {
    padding: var(--space-lg);
  }
}

.c-card--news .c-card__time {
  display: block;
  margin-bottom: var(--space-xs);
  padding: 0;
  color: var(--color-text-secondary);
  font-size: var(--font-xs);
}

.c-card--news .c-card__title {
  flex-grow: 1;
}

.c-card--news .c-card__label {
  justify-content: space-between;
  width: 100%;
  margin-top: var(--space-md);
}

/* ============================================
   事業内容カード (Service Card) - セパレートデザイン
   画像の下にテキスト、白カードスタイル
   ============================================ */

.c-card--service .c-card__link {
  box-shadow: var(--shadow-card-hover-sm);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--space-md);
  overflow: hidden;
}

.c-card--service .c-card__link:hover {
  transform: translateY(calc(-1 * var(--space-sm)));
  box-shadow: var(--shadow-card-hover);
}

.c-card--service .c-card__img {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-top: 66.67%;
  line-height: 0;
  font-size: 0;
}

@media screen and (max-width: 1023.98px) {
  .c-card--service .c-card__img {
    padding-top: 66.67%;
  }
}

@media screen and (max-width: 767.98px) {
  .c-card--service .c-card__img {
    padding-top: 66.67%;
  }
}

.c-card--service .c-card__img figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.c-card--service .c-card__img picture {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.c-card--service .c-card__img img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100% !important;
  max-width: none;
  height: 100% !important;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.c-card--service .c-card__content {
  padding: var(--space-xl);
  padding-bottom: calc(var(--space-2xl) + 60px);
}

@media screen and (max-width: 1023.98px) {
  .c-card--service .c-card__content {
    padding: var(--space-xl);
    padding-bottom: calc(var(--space-xl) + 60px);
  }
}

@media screen and (max-width: 767.98px) {
  .c-card--service .c-card__content {
    padding: var(--space-lg);
    padding-bottom: calc(var(--space-lg) + 50px);
  }
}

.c-card--service .c-card__subtitle {
  position: relative;
  display: block;
  padding-left: var(--space-md);
  font-size: var(--font-lg);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
}

.c-card--service .c-card__subtitle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  transform: translateY(-50%);
  background-color: currentColor;
  border-radius: var(--border-radius-full);
}

.c-card--service .c-card__title {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--space-sm);
  font-size: var(--font-2xl);
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1.2;
}

@media screen and (max-width: 767.98px) {
  .c-card--service .c-card__title {
    font-size: var(--font-xl);
  }
}

.c-card--service .c-card__desc {
  margin-top: var(--space-sm);
  color: var(--color-text-primary);
  line-height: 1.7;
}

.c-card--service .c-card__link .c-button__arrow-icon {
  right: var(--space-2xl);
  bottom: var(--space-2xl);
}

@media screen and (max-width: 1023.98px) {
  .c-card--service .c-card__link .c-button__arrow-icon {
    right: var(--space-xl);
    bottom: var(--space-xl);
  }
}

@media screen and (max-width: 767.98px) {
  .c-card--service .c-card__link .c-button__arrow-icon {
    right: var(--space-lg);
    bottom: var(--space-lg);
  }
}

/* ==========================================================================
   製品詳細カード（ラインナップセクション用）
   ========================================================================== */
/* 詳細カード: c-card--serviceを継承し、フィーチャーリストを追加 */
.c-card--service-detail {
  overflow: hidden;
}

/* ボタンがないためpadding-bottomを広めに調整 */
.c-card--service-detail .c-card__content {
  padding-bottom: var(--space-2xl);
}

@media screen and (max-width: 767.98px) {
  .c-card--service-detail .c-card__content {
    padding-bottom: var(--space-xl);
  }
}

.c-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin: var(--space-md) 0 0;
  padding: 0;
  list-style: none;
}

.c-card__features__item {
  position: relative;
  padding-left: 1.2em;
  color: var(--color-text-primary);
  font-size: var(--font-sm);
}

.c-card__features__item::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--color-text-primary);
  border-radius: 50%;
}

.c-card__icon {
  display: none;
  aspect-ratio: 1;
}

.c-card__label__link {
  display: block;
  padding: .4rem .6rem;
  border: 1px solid var(--color-text-primary);
  border-radius: var(--border-radius-full);
  color: var(--color-text-primary);
  font-size: var(--font-xs);
  line-height: 1;
  text-align: center;
  transition-duration: var(--duration-base);
  transition-property: color, background;
  transition-timing-function: var(--easeOutExpo);
}

.c-card__label__link:hover,
.c-card__label__link:focus,
.c-card__label__link:active {
  background-color: var(--color-text-primary);
  color: var(--color-off-white);
}

.c-card__label__item {
  display: flex;
  align-items: center;
  list-style: none;
}

.c-card__button__item {
  position: relative;
  display: flex;
  align-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  list-style: none;
}

@media screen and (max-width: 767.98px) {
  .c-card__button__item {
    width: 40px;
    height: 40px;
  }
}

.c-card__label .c-card__button__item .c-button__arrow-icon {
  position: relative !important;
  z-index: var(--z-base);
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: visible;
  background-color: var(--color-text-primary);
  border-radius: 50%;
  transform: none !important;
  transition: transform var(--transition-base);
  isolation: isolate;
}

.c-card__label .c-card__button__item .c-button__arrow-icon>span {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  background: var(--color-black);
  background-size: 200% 200%;
  border-radius: inherit;
  opacity: 0.2;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--easeOutCubic);
}

.c-card__label .c-card__button__item .c-button__arrow-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: var(--z-above);
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  border-top: 2px solid var(--color-off-white);
  border-right: 2px solid var(--color-off-white);
  transform: translate(-70%, -50%) rotate(45deg);
  transform-origin: center center;
  transition: border-color var(--duration-base) var(--easeOutCubic);
}

.c-card__label .c-card__button__item .c-button__arrow-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -2;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  opacity: 0;
  background: var(--color-black);
  border-radius: 50%;
  pointer-events: none;
}

.c-card__label__txt {
  position: relative;
  z-index: var(--z-base);
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  overflow: hidden;
  background-color: var(--color-bg-light);
  border: 1px solid transparent;
  border-radius: var(--border-radius-full);
  color: var(--color-text-primary);
  font-size: var(--font-xs);
  line-height: 1;
  text-align: center;
  transition: color 0.3s ease, background-color 0.3s ease, padding-left var(--duration-base) var(--easeOutCubic);
  isolation: isolate;
}

/* グラデーションフィルター（ホバー時のみ表示） */
.c-card__label__txt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-black);
  background-size: 200% 200%;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--easeOutCubic);
}

/* ドット（ホバー時のみ表示） */
.c-card__label__txt::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--space-md);
  z-index: var(--z-above);
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  transform: translateY(-50%);
  background-color: var(--color-text-primary);
  border-radius: var(--border-radius-full);
  opacity: 0;
  transition: opacity var(--duration-base) var(--easeOutCubic), background-color var(--duration-base) var(--easeOutCubic), left var(--duration-base) var(--easeOutCubic);
}

/* タグ（2番目以降のラベル）：ドットあり、シンプルなデザイン */
.c-card__label__item:nth-child(n+2) .c-card__label__txt {
  background-color: var(--color-bg-light);
  border-color: transparent;
  color: var(--color-text-secondary);
}

.c-card__label__item:nth-child(n+2) .c-card__label__txt::before {
  display: none;
}

.c-pagination__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-black);
  background-size: 200% 200%;
}

.hamburger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  background-color: var(--color-text-primary);
  border-radius: var(--border-radius-full);
  isolation: isolate;
}

.hamburger::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-black);
  background-size: 200% 200%;
  border-radius: inherit;
  opacity: 0.2;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--easeOutCubic);
}

.is-open .hamburger::before {
  display: none;
}

.hamburger:hover::before,
.hamburger:active::before,
.hamburger:focus::before {
  opacity: 0.4;
  animation: gradientFlow 3s ease infinite alternate;
}

.hamburger__container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.hamburger__bar {
  position: absolute;
  left: 0;
  display: block;
  height: 1px;
  background-color: var(--color-bg-body);
  border-radius: var(--border-radius-xs);
  transition: all var(--duration-slow) var(--easeOutExpo);
}

.hamburger__bar:nth-child(1) {
  top: 0;
  width: 100%;
  animation: equalizer01 3s ease-in-out infinite;
}

.hamburger__bar:nth-child(2) {
  top: 6px;
  width: 100%;
  animation: equalizer02 3s ease-in-out infinite;
}

.hamburger__bar:nth-child(3) {
  top: 12px;
  width: 100%;
  animation: equalizer03 3s ease-in-out infinite;
}

.hamburger[aria-expanded=true] .hamburger__bar {
  background-color: var(--color-text-primary);
}

.hamburger[aria-expanded=true] .hamburger__bar:nth-child(1) {
  width: 22px;
  transform: translate(-1px, 6px) rotate(-45deg);
  animation: none;
}

.hamburger[aria-expanded=true] .hamburger__bar:nth-child(2) {
  opacity: 0;
  animation: none;
}

.hamburger[aria-expanded=true] .hamburger__bar:nth-child(3) {
  width: 22px;
  transform: translate(-1px, -6px) rotate(45deg);
  animation: none;
}

@keyframes equalizer01 {
  0% {
    width: 70%;
  }

  50% {
    width: 40%;
  }

  75% {
    width: 100%;
  }

  100% {
    width: 70%;
  }
}

@keyframes equalizer02 {
  0% {
    width: 50%;
  }

  50% {
    width: 90%;
  }

  75% {
    width: 100%;
  }

  100% {
    width: 50%;
  }
}

@keyframes equalizer03 {
  0% {
    width: 30%;
  }

  50% {
    width: 60%;
  }

  75% {
    width: 100%;
  }

  100% {
    width: 30%;
  }
}

.c-title__secondary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: var(--space-md) 0 0;
  font-weight: var(--font-weight-bold);
}

.c-title__secondary.text-right {
  align-items: flex-end;
}

.c-title__secondary .__text {
  position: relative;
  padding: 0;
}

.c-heading__body {
  margin-top: var(--space-sm);
}

.c-section-heading {
  position: relative;
  width: 100%;
}

.c-section-heading__content {
  width: 100%;
}

/* 2カラムレイアウト (Case, Contact) */
.c-section-heading--cols {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3xl);
}

@media screen and (max-width: 1023.98px) {
  .c-section-heading--cols {
    flex-direction: column;
  }
}

@media screen and (max-width: 767.98px) {
  .c-section-heading--cols {
    width: 100%;
  }
}

.c-section-heading--cols .c-section-heading__content {
  width: 100%;
}

.top-case .c-section-heading--cols {
  position: relative;
  z-index: var(--z-above);
  margin-bottom: 0;
}

@media screen and (max-width: 1023.98px) {
  .top-case .c-section-heading--cols {
    flex-direction: row;
  }
}

@media screen and (max-width: 767.98px) {
  .top-case .c-section-heading--cols {
    flex-direction: column;
    margin-bottom: 0;
  }
}

/* 逆順 (Contact) */
.c-section-heading--reverse {
  flex-direction: row-reverse;
}

@media screen and (max-width: 1023.98px) {
  .c-section-heading--reverse {
    flex-direction: column;
  }
}

/* 幅50% (About, Company) */
.c-section-heading--half {
  width: 50%;
}

@media screen and (max-width: 1023.98px) {
  .c-section-heading--half {
    width: 100%;
  }
}

/* 配置調整 */
.c-section-heading--left {
  margin-right: auto;
  margin-left: 0;
}

.c-section-heading--right {
  margin-left: auto;
  margin-right: 0;
}

.c-section-heading__images {
  position: relative;
  display: flex;
  flex: 0 0 50%;
  gap: var(--space-md);
}

.c-section-heading__images--reverse {
  flex-direction: row;
}

@media screen and (max-width: 1279.98px) {
  .c-section-heading__images {
    gap: 0;
  }
}

@media screen and (max-width: 1023.98px) {
  .c-section-heading__images {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-3xl);
    margin-top: 0;
  }
}

@media screen and (max-width: 767.98px) {
  .c-section-heading__images {
    flex: 1 1 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
    max-width: 100%;
  }
}

@media screen and (max-width: 575.98px) {
  .c-section-heading__images {
    justify-content: space-between;
    gap: 0;
  }
}

.c-section-heading__img {
  position: relative;
  z-index: var(--z-above);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-4xl);
}

.c-section-heading__img img {
  position: relative;
  display: block;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--border-radius-4xl);
}

.c-section-heading__img.img-lg {
  align-self: flex-start;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

@media (min-width: 1024px) {
  .c-section-heading__img.img-lg {
    top: -50px;
  }
}

@media screen and (max-width: 1279.98px) {
  .c-section-heading__img.img-lg {
    width: 290px;
    height: 290px;
  }
}

@media screen and (max-width: 1023.98px) {
  .c-section-heading__img.img-lg {
    width: 29.6vw;
    height: 29.6vw;
  }
}

@media screen and (max-width: 767.98px) {
  .c-section-heading__img.img-lg {
    width: 50vw;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media screen and (max-width: 575.98px) {
  .c-section-heading__img.img-lg {
    top: var(--space-xl);
    width: 50vw;
    height: 50vw;
  }
}

.c-section-heading__img.img-lg img {
  width: 100%;
}

.c-section-heading__img.img-sm {
  align-self: flex-end;
  top: -1vw;
  left: -5vw;
  width: 22.5vw;
  max-width: 220px;
  height: auto;
  aspect-ratio: 1 / 1;
}

@media (min-width: 1024px) {
  .c-section-heading__img.img-sm {
    bottom: -20px;
  }
}

@media screen and (max-width: 1279.98px) {
  .c-section-heading__img.img-sm {
    width: 185px;
    height: 185px;
  }
}

@media screen and (max-width: 1023.98px) {
  .c-section-heading__img.img-sm {
    position: relative;
    top: -32px;
    left: -10vw;
    bottom: auto;
    align-self: flex-start;
    width: 16vw;
    height: 16vw;
  }
}

@media screen and (max-width: 767.98px) {
  .c-section-heading__img.img-sm {
    left: auto;
    width: 40%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media screen and (max-width: 575.98px) {
  .c-section-heading__img.img-sm {
    top: var(--space-xl);
    left: -36px;
    width: 40vw;
    height: 40vw;
  }
}

.c-section-heading__img.img-sm img {
  width: 100%;
}

@media screen and (max-width: 1023.98px) {
  .top-company .c-title__secondary {
    align-items: flex-start;
  }
}

.c-title__primary {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-xs);
  position: relative;
}

@media screen and (max-width: 575.98px) {
  .c-title__primary {
    gap: var(--space-xs);
  }
}

.c-title__primary.text-center {
  align-items: center;
}

.c-title__primary .__lang-ja {
  position: relative;
  padding-left: var(--space-md);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-lg);
}

.c-title__primary .__lang-ja::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  transform: translateY(-50%);
  background-color: currentColor;
  border-radius: var(--border-radius-full);
}

.c-title__primary .__lang-en {
  font-family: var(--font-family-en);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-4xl);
  line-height: 1.2;
  letter-spacing: var(--letter-spacing-en);
}

.c-title__primary.cover-white {
  color: var(--color-off-white);
}

.c-title__primary.img-sm .__lang-ja {
  font-size: var(--font-title-sm);
}

.c-title__primary.img-sm .__lang-en {
  font-size: var(--font-title-xl);
}

@media screen and (max-width: 1023.98px) {
  .top-company .c-title__primary {
    align-items: flex-start;
  }
}

.c-split-layout {
  position: relative;
  padding-top: var(--section-spacing);
  padding-bottom: calc(45vw - var(--section-spacing));
}

@media screen and (max-width: 1023.98px) {
  .c-split-layout {
    padding-bottom: 0;
  }
}

.c-split-layout--no-pt {
  padding-top: 0;
}

.c-split-layout__img {
  position: absolute;
  overflow: hidden;
}

.c-split-layout__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media screen and (max-width: 1023.98px) {
  .c-split-layout__img--main {
    position: relative;
    width: 50vw;
    padding-top: 45vw;
  }
}

@media screen and (max-width: 1023.98px) {
  .c-split-layout__img--sub {
    position: relative;
    top: -2.4vw;
    bottom: auto;
    width: 36%;
    padding-top: 28vw;
  }
}

.c-split-layout--left-main .c-split-layout__img--main {
  top: var(--section-spacing);
  left: 0;
  width: calc(50% - var(--space-3xl));
  padding-top: 40%;
  border-radius: 0 var(--border-radius-8xl) var(--border-radius-8xl) 0;
}

.c-split-layout--left-main .c-split-layout__img--sub {
  bottom: 0;
  right: 0;
  width: calc(50% - var(--space-3xl));
  padding-top: 32%;
  border-radius: var(--border-radius-8xl) 0 0 var(--border-radius-8xl);
}

@media screen and (max-width: 1023.98px) {
  .c-split-layout--left-main .c-split-layout__img--sub:only-child {
    border-radius: 0 var(--border-radius-4xl) var(--border-radius-4xl) 0;
  }
}

.c-split-layout--right-main .c-split-layout__img--main {
  top: var(--section-spacing);
  right: 0;
  width: calc(50% - var(--space-3xl));
  padding-top: 40%;
  border-radius: var(--border-radius-8xl) 0 0 var(--border-radius-8xl);
}

.c-split-layout--right-main .c-split-layout__img--sub {
  bottom: 0;
  left: 0;
  width: calc(50% - var(--space-3xl));
  padding-top: 32%;
  border-radius: 0 var(--border-radius-4xl) var(--border-radius-4xl) 0;
}

@media screen and (max-width: 1023.98px) {
  .c-split-layout--right-main .c-split-layout__img--sub:only-child {
    border-radius: var(--border-radius-4xl) 0 0 var(--border-radius-4xl);
  }
}

.c-split-layout .l-container {
  position: relative;
  z-index: var(--z-above);
}

@media screen and (max-width: 1023.98px) {
  .c-split-layout__images {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
}

@media screen and (max-width: 1023.98px) {
  .c-split-layout--right-main .c-split-layout__images {
    flex-direction: row-reverse;
  }
}

@media screen and (max-width: 1023.98px) {
  .c-split-layout--left-main .c-split-layout__images {
    flex-direction: row;
  }
}

/* ============================================
   ページヘッダー (.c-page-header)
   ============================================ */
.c-page-header {
  position: relative;
  overflow: hidden;
  padding: 260px 0 120px;
  background-color: var(--color-bg-body);
}

.c-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-base);
  background: rgba(var(--color-off-white), 0.2);
  pointer-events: none;
}

.c-page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-base);
  background: var(--color-grad-blue-light);
  background-size: 200% 200%;
  background-position: 0% 50%;
  opacity: 0.3;
  mix-blend-mode: overlay;
  animation: gradientFlow 3s ease infinite alternate;
  pointer-events: none;
}

@media screen and (max-width: 1023.98px) {
  .c-page-header {
    min-height: 360px;
    height: 35svh;
    padding: 0;
    background-color: var(--color-bg-body);
  }
}

@media screen and (max-width: 767.98px) {
  .c-page-header {
    padding: 160px 0 80px;
  }
}

.c-page-header__img {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 0 0 var(--border-radius-6xl);
}

@media screen and (max-width: 1023.98px) {
  .c-page-header__img {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    z-index: var(--z-base);
    width: calc(100% - var(--space-3xl));
    height: calc(100% - var(--space-3xl));
    border-radius: var(--space-lg);
  }
}

.c-page-header__img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-above);
  background: rgba(var(--color-text-primary-rgb), 0.2);
}

.c-page-header__img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-above);
  background: var(--color-grad-blue-light);
  background-size: 200% 200%;
  background-position: 0% 50%;
  opacity: 0.5;
  mix-blend-mode: overlay;
  animation: gradientFlow 3s ease infinite alternate;
  pointer-events: none;
}

.c-page-header__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1023.98px) {
  .c-page-header__img img {
    border-radius: var(--space-lg);
  }
}

.c-page-header__title {
  display: flex;
  position: relative;
  z-index: var(--z-above);
  flex-direction: column;
  gap: var(--space-xs);
}

@media screen and (max-width: 1023.98px) {
  .c-page-header__title {
    position: absolute;
    top: 55%;
    left: var(--space-2xl);
    z-index: var(--z-above);
    gap: 0;
    transform: translateY(-50%);
  }
}

.c-page-header__title .__en {
  color: var(--color-text-primary);
  font-family: var(--font-family-en);
  font-size: var(--font-8xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  letter-spacing: var(--letter-spacing-en);
}

@media screen and (max-width: 1023.98px) {
  .c-page-header__title .__en {
    color: var(--color-off-white);
    font-size: var(--font-6xl);
  }
}

@media screen and (max-width: 767.98px) {
  .c-page-header__title .__en {
    font-size: var(--font-4xl);
  }
}

.c-page-header__title .__lang-ja {
  display: flex;
  position: relative;
  align-items: center;
  padding-left: var(--space-md);
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-2xl);
  line-height: 1.5;
}

@media screen and (max-width: 1023.98px) {
  .c-page-header__title .__lang-ja {
    color: var(--color-off-white);
    margin-top: var(--space-sm);
  }
}

@media screen and (max-width: 767.98px) {
  .c-page-header__title .__lang-ja {
    font-size: var(--font-lg);
  }
}

.c-page-header__title .__lang-ja,
.c-page-header__title .__dot {
  position: relative;
}

.c-page-header__title .__lang-ja::before,
.c-page-header__title .__dot {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  left: 3px;
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  transform: translateY(-50%);
  background-color: var(--color-text-primary);
  border-radius: var(--border-radius-full);
  animation: dotPulse 2s ease-in-out infinite;
}

@media screen and (max-width: 1023.98px) {

  .c-page-header__title .__lang-ja::before,
  .c-page-header__title .__dot {
    background-color: var(--color-bg-body);
  }
}

.c-page-header__title .__dot {
  left: 0;
  display: inline-block;
  content: none;
  background-color: var(--color-text-primary);
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

@media screen and (max-width: 1023.98px) {
  .c-page-header__title .__dot {
    background-color: var(--color-bg-body);
  }
}

@keyframes dotPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(var(--color-blue-main-rgb), 0.5);
  }

  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(var(--color-blue-main-rgb), 0);
  }
}

/* タブレット・スマホ用Pulse色 */
@media screen and (max-width: 1023.98px) {
  .c-page-header__title .__lang-ja::before {
    animation: dotPulseWhite 2s ease-in-out infinite;
  }
}

@keyframes dotPulseWhite {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(var(--color-off-white-rgb), 0.5);
  }

  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(var(--color-off-white-rgb), 0);
  }
}

.c-page-header__corner {
  display: none;
}

@media screen and (min-width: 1024px) and (max-width: 1024px) {
  .c-page-header__img {
    width: 65%;
  }
}

@media screen and (max-width: 1023.98px) {
  .c-page-header__corner {
    display: block;
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    z-index: var(--z-above);
    /* ロゴ幅(160px) + 左パディング(--space-lg) */
    width: calc(160px + var(--space-lg));
    height: var(--header-height-lg);
    background-color: var(--color-bg-body);
    border-radius: 0 0 var(--space-md);
    pointer-events: none;
  }

  @media screen and (max-width: 767.98px) {
    .c-page-header__corner {
      height: var(--header-height-md);
    }
  }

  .c-page-header__corner .__corner-left {
    display: block;
    z-index: var(--z-above);
    position: absolute;
    top: 100%;
    left: 0;
    width: var(--space-md);
    height: var(--space-md);
    overflow: hidden;
  }

  .c-page-header__corner .__corner-left:before {
    content: "";
    display: block;
    width: 200%;
    height: 200%;
    background: transparent;
    border-radius: 50%;
    box-shadow: 0 0 0 var(--space-md) var(--color-bg-body);
    transform: translateY(0);
  }

  .c-page-header__corner .__corner-right {
    display: block;
    z-index: var(--z-above);
    position: absolute;
    top: 0;
    left: 100%;
    width: var(--space-md);
    height: var(--space-md);
    overflow: hidden;
  }

  .c-page-header__corner .__corner-right:before {
    content: "";
    display: block;
    width: 200%;
    height: 200%;
    background: transparent;
    border-radius: 50%;
    box-shadow: 0 0 0 var(--space-md) var(--color-bg-body);
    transform: translateY(0);
  }
}

.c-page-header__img figure,
.c-page-header__img picture {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

/* ============================================
   スクロールボタン (.c-scroll, .c-scroll-totop)
   ============================================ */
.c-scroll {
  display: flex;
  position: fixed;
  bottom: calc(0% + var(--space-2xl) + var(--space-2xl));
  left: var(--space-4xl);
  z-index: var(--z-sticky);
  flex-direction: column;
  align-items: center;
  background-color: transparent;
  opacity: 1;
  transform: translateX(-50%);
  transition: opacity var(--duration-base) var(--easeOutCubic), transform var(--duration-base) var(--easeOutCubic);
  pointer-events: auto;
}

@media screen and (max-width: 1023.98px) {
  .c-scroll {
    bottom: calc(0% + var(--space-3xl));
    left: var(--space-3xl);
  }
}

.c-scroll.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.c-scroll-totop {
  display: flex;
  position: fixed;
  right: var(--space-xl);
  bottom: calc(0% + var(--space-2xl));
  z-index: var(--z-fixed);
  flex-direction: column;
  align-items: center;
  background-color: transparent;
  opacity: 0;
  mix-blend-mode: exclusion;
  transition: opacity var(--duration-base) var(--easeOutCubic);
  pointer-events: none;
}

.c-scroll-totop.is-active {
  opacity: 1;
  pointer-events: auto;
}

@media screen and (max-width: 1023.98px) {
  .c-scroll-totop {
    right: var(--space-lg);
    bottom: calc(0% + var(--space-2xl));
  }
}

.c-scroll-totop__link {
  text-decoration: none;
}

.c-scroll__text {
  position: relative;
  color: var(--color-off-white);
  font-family: var(--font-family-en);
  font-size: var(--font-sm);
  line-height: 1;
  letter-spacing: var(--letter-spacing-wide);
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.c-scroll__bar {
  display: block;
  position: relative;
  z-index: var(--z-base);
  width: 1px;
  height: 78px;
  margin: var(--space-md) auto 0;
  background-color: var(--color-bg-body);
}

@media screen and (max-width: 1023.98px) {
  .c-scroll__bar {
    width: 1px;
  }
}

.c-scroll__bar:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  width: 5px;
  height: 5px;
  background-color: var(--color-bg-body);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: 3.4s scrollani1 ease infinite .32s;
}

.c-scroll__bar:after {
  content: '';
  display: block;
  width: 1rem;
  position: absolute;
  top: 0;
  left: 50%;
  width: 1rem;
  height: 1rem;
  background-color: var(--color-bg-body);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: 3.4s scrollani2 ease infinite .32s;
}

@keyframes scrollani1 {
  0% {
    top: 0;
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  5% {
    top: 0;
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  75% {
    top: 100%;
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  100% {
    top: 100%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
}

@keyframes scrollani2 {
  0% {
    top: 0;
    transform: translate(-50%, -50%) scale(0);
  }

  5% {
    top: 0;
    transform: translate(-50%, -50%) scale(0);
  }

  75% {
    top: 100%;
    opacity: .1;
    transform: translate(-50%, -50%) scale(1.4);
  }

  100% {
    top: 100%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
}

.c-scroll-totop .c-scroll__bar:before {
  animation: 3.2s scrollani3 ease infinite .32s;
}

.c-scroll-totop .c-scroll__bar:after {
  animation: 3.2s scrollani4 ease infinite .32s;
}

@keyframes scrollani3 {
  0% {
    top: 100%;
    opacity: 0;
    transform: translate(-50%, -50%);
  }

  5% {
    top: 100%;
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  75% {
    top: 0;
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  100% {
    top: 0;
    opacity: 1;
    transform: translate(-50%, -50%) scale(0);
  }
}

@keyframes scrollani4 {
  0% {
    top: 100%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }

  5% {
    top: 100%;
    transform: translate(-50%, -50%) scale(0);
  }

  75% {
    top: 0;
    opacity: .1;
    transform: translate(-50%, -50%) scale(1.4);
  }

  100% {
    top: 0;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
}

/* ============================================
   パンくずリスト (.c-breadcrumb)
   ============================================ */
.c-breadcrumb {
  position: relative;
  margin-top: var(--space-lg);
}

.c-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-family-en);
  font-size: var(--font-sm);
  font-weight: var(--font-weight-medium);
}

.c-breadcrumb li {
  display: flex;
  align-items: center;
}

.c-breadcrumb li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  margin-left: var(--space-sm);
  border-top: 1px solid var(--color-text-muted);
  border-right: 1px solid var(--color-text-muted);
  transform: rotate(45deg);
}

.c-breadcrumb a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: opacity var(--duration-base) var(--easeOutCubic);
}

.c-breadcrumb a:hover {
  opacity: 0.7;
}

.c-breadcrumb span {
  color: var(--color-text-primary);
}

@media screen and (max-width: 1023.98px) {
  .c-breadcrumb {
    position: absolute;
    right: var(--space-lg);
    bottom: var(--space-lg);
    z-index: var(--z-sticky);
    margin-top: 0;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-body);
    border-radius: var(--space-lg) 0 var(--space-lg) 0;
  }

  .c-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-family-en);
    font-size: var(--font-sm);
    font-weight: var(--font-weight-medium);
    letter-spacing: var(--letter-spacing-en);
  }

  .c-breadcrumb li {
    display: flex;
    align-items: center;
  }

  .c-breadcrumb li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 10px;
    border-top: 1px solid var(--color-text-muted);
    border-right: 1px solid var(--color-text-muted);
    transform: rotate(45deg);
  }

  .c-breadcrumb a {
    color: var(--color-text-primary);
    text-decoration: none;
  }

  .c-breadcrumb span {
    color: var(--color-text-primary);
  }
}

.c-breadcrumb__corner {
  display: none;
  z-index: var(--z-above);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.c-breadcrumb__corner .__corner-left {
  display: block;
  z-index: var(--z-above);
  position: absolute;
  top: 100%;
  left: 0;
  width: var(--border-radius-md);
  height: var(--border-radius-md);
  overflow: hidden;
}

.c-breadcrumb__corner .__corner-left:before {
  content: "";
  display: block;
  width: 200%;
  height: 200%;
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 0 0 var(--border-radius-md) var(--color-bg-body);
  transform: translateY(0);
}

.c-breadcrumb__corner .__corner-right {
  display: block;
  z-index: var(--z-above);
  position: absolute;
  top: 0;
  left: 100%;
  width: var(--border-radius-md);
  height: var(--border-radius-md);
  overflow: hidden;
}

.c-breadcrumb__corner .__corner-right:before {
  content: "";
  display: block;
  width: 200%;
  height: 200%;
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 0 0 var(--border-radius-md) var(--color-bg-body);
  content: "";
}

@media screen and (max-width: 1023.98px) {
  .c-breadcrumb__corner {
    display: block;
  }

  .c-breadcrumb__corner .__corner-left {
    top: auto;
    right: 100%;
    bottom: 0;
    left: auto;
    width: 20px;
    height: 20px;
    transform: rotate(180deg);
  }

  .c-breadcrumb__corner .__corner-left:before {
    content: "";
    display: block;
    width: 200%;
    height: 200%;
    background: transparent;
    border-radius: 50%;
    box-shadow: 0 0 0 20px var(--color-bg-body);
    transform: translateY(0);
  }

  .c-breadcrumb__corner .__corner-right {
    top: auto;
    right: 0;
    bottom: 100%;
    left: auto;
    width: 20px;
    height: 20px;
    transform: rotate(180deg);
    transform-origin: center;
  }

  .c-breadcrumb__corner .__corner-right:before {
    content: "";
    display: block;
    width: 200%;
    height: 200%;
    background: transparent;
    border-radius: 50%;
    box-shadow: 0 0 0 20px var(--color-bg-body);
    transform: translateY(0);
  }
}

.c-breadcrumb__icon-home {
  display: block;
  width: 1.2em;
  height: 1.2em;
}

.c-breadcrumb__icon-sep {
  display: block;
  width: 1em;
  height: 1em;
  color: var(--color-text-muted);
}

.c-breadcrumb__separator {
  display: flex;
  align-items: center;
  margin: 0 4px;
}

/* ============================================
   KVプログレス (.c-kv-progress)
   ============================================ */
.c-kv-progress {
  display: flex;
  position: absolute;
  top: 50%;
  right: var(--space-4xl);
  z-index: var(--z-sticky);
  flex-direction: column;
  align-items: center;
  transform: translate(50%, -50%);
}

@media screen and (max-width: 1023.98px) {
  .c-kv-progress {
    right: var(--space-3xl);
  }
}

.c-kv-progress__max,
.c-kv-progress__no {
  position: relative;
  min-width: 1em;
  height: var(--font-md);
  color: var(--color-off-white);
  font-family: var(--font-family-en);
  font-size: var(--font-sm);
  line-height: 1;
  letter-spacing: .1em;
  text-align: center;
  overflow: hidden;
}

.c-kv-progress__max span,
.c-kv-progress__no span {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  animation: opacity-ani .4s cubic-bezier(.26, 1, .48, 1) both;
}

.c-kv-progress__max span.active,
.c-kv-progress__no span.active {
  animation: opacity-ani-active .4s cubic-bezier(.26, 1, .48, 1) both;
}

@keyframes opacity-ani {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }

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

@keyframes opacity-ani-active {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

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

.c-kv-progress__bar {
  position: relative;
  width: 1px;
  height: 27.86458vh;
  margin: var(--space-sm) auto;
  background-color: rgba(var(--color-off-white-rgb), .2);
  overflow: hidden;
}

@media (max-width: 1023.98px) {
  .c-kv-progress__bar {
    height: 21.86458vh;
  }
}

.c-kv-progress__line {
  width: 100%;
  height: 0%;
  background-color: var(--color-bg-body);
  transition: height 4s linear;
}

.c-kv-progress__dots {
  width: 100%;
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-kv-progress__dots .swiper-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-kv-progress__dots .swiper-pagination-bullet {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  margin: var(--icon-size-sm) 0;
  cursor: pointer;
  opacity: .5;
  background: transparent;
  border-radius: 0;
}

@media (max-width: 1023.98px) {
  .c-kv-progress__dots .swiper-pagination-bullet {
    margin: calc(var(--icon-size-xs) / 2) 0;
  }
}

.c-kv-progress__dots .swiper-pagination-bullet:after,
.c-kv-progress__dots .swiper-pagination-bullet:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all var(--duration-base) var(--easeOutCubic);
}

.c-kv-progress__dots .swiper-pagination-bullet:before {
  background-color: var(--color-bg-body);
}

.c-kv-progress__dots .swiper-pagination-bullet:after {
  width: 0;
  height: 0;
  border: 1px solid var(--color-off-white);
  opacity: .2;
}

.c-kv-progress__dots .swiper-pagination-bullet-active {
  opacity: 1;
}

.c-kv-progress__dots .swiper-pagination-bullet-active:after {
  width: 12px;
  height: 12px;
  opacity: 1;
  animation: 3.4s scroll2-ani ease infinite .32s;
}

@keyframes scroll2-ani {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }

  20% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  80% {
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* ============================================
   定義リスト (.c-definition-list)
   ============================================ */
.c-definition-list {
  width: 100%;
  border-top: 1px solid var(--color-border);
}

.c-definition-list__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--color-border);
}

@media screen and (max-width: 767.98px) {
  .c-definition-list__item {
    grid-template-columns: 1fr;
  }
}

.c-definition-list__item dt {
  display: flex;
  align-items: center;
  padding: var(--space-lg) var(--space-md);
  color: var(--color-text-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-sm);
}

@media screen and (max-width: 767.98px) {
  .c-definition-list__item dt {
    padding: var(--space-md);
  }
}

.c-definition-list__item dd {
  display: flex;
  align-items: center;
  padding: var(--space-lg) var(--space-md);
  margin: 0;
  background-color: var(--color-bg-body);
  color: var(--color-text-primary);
  font-size: var(--font-base);
  line-height: var(--line-height-relaxed);
}

@media screen and (max-width: 767.98px) {
  .c-definition-list__item dd {
    padding: var(--space-md);
  }
}

/* ==========================================================================
   セクション見出し - 追加スタイル
   ========================================================================== */
.c-section-heading__img.img-lg::before,
.c-section-heading__img.img-sm::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: rgba(var(--color-blue-main-rgb), .05);
  border: 1px solid rgba(var(--color-blue-main-rgb), .1);
  border-radius: var(--border-radius-4xl);
  animation: pulse 2.5s infinite;
  pointer-events: none;
}

.c-section-heading__img.img-sm::before {
  animation-delay: 0.8s;
}

/* ==========================================================================
   ニューススライダー（Swiper）
   ========================================================================== */
.top-news__slider {
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: var(--z-sticky);
}

.top-news__slider .swiper {
  width: 100%;
  padding-right: 20%;
  overflow: visible;
  box-sizing: border-box;
}

.top-news__slider .swiper-slide {
  width: 400px;
  height: auto;
  margin-right: var(--space-lg);
  flex-shrink: 0;
}

@media screen and (max-width: 1023.98px) {
  .top-news__slider .swiper-slide {
    width: 350px;
  }
}

@media screen and (max-width: 767.98px) {
  .top-news__slider .swiper {
    padding-right: var(--space-lg);
  }

  .top-news__slider .swiper-slide {
    width: 300px;
    margin-right: var(--space-md);
  }
}

/* ==========================================================================
   スライダーグリッド（共通レイアウト）
   ========================================================================== */
.c-slider-grid {
  display: flex;
  position: relative;
  overflow: visible;
}

@media screen and (max-width: 767.98px) {
  .c-slider-grid {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

.c-slider-grid__heading {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: var(--z-sticky);
  flex: 0 0 25vw;
  padding-right: var(--space-xl);
  justify-content: space-between;
}

@media screen and (max-width: 1023.98px) {
  .c-slider-grid__heading {
    flex: 0 0 40vw;
    padding-right: var(--space-2xl);
  }
}

@media screen and (max-width: 767.98px) {
  .c-slider-grid__heading {
    flex: none;
    padding-right: 0;
    flex-direction: column;
  }
}

.c-slider-grid--case .c-slider-grid__heading {
  align-items: flex-end;
  justify-content: flex-end;
}

@media screen and (max-width: 1023.98px) {
  .c-slider-grid--case .c-slider-grid__heading {
    flex: 0 0 200px;
  }
}

@media screen and (max-width: 767.98px) {
  .c-slider-grid--case .c-slider-grid__heading {
    flex: 0;
  }
}

.c-slider-grid__content {
  flex: 1;
  min-width: 0;
  margin-right: calc(-50vw + 50%);
}

@media screen and (max-width: 767.98px) {
  .c-slider-grid__content {
    margin-right: calc(-1 * var(--space-lg));
    padding-right: var(--space-lg);
  }
}

.c-slider-grid__slider {
  width: 100%;
  min-width: 0;
  position: relative;
  overflow: visible;
}

.c-slider-grid__slider .swiper {
  width: 100%;
  padding-right: 20%;
  overflow: visible;
  box-sizing: border-box;
}

@media screen and (max-width: 767.98px) {
  .c-slider-grid__slider .swiper {
    padding-right: var(--space-lg);
  }
}

.c-slider-grid__slider .swiper-slide {
  width: 400px;
  height: auto;
  margin-right: var(--space-lg);
  flex-shrink: 0;
}

@media screen and (max-width: 1023.98px) {
  .c-slider-grid__slider .swiper-slide {
    width: 350px;
  }
}

@media screen and (max-width: 767.98px) {
  .c-slider-grid__slider .swiper-slide {
    width: 300px;
    margin-right: var(--space-md);
  }
}

.c-slider-grid__controls {
  display: flex;
  position: relative;
  margin-top: var(--space-lg);
}

@media screen and (max-width: 767.98px) {
  .c-slider-grid__controls {
    justify-content: flex-end;
  }
}

.c-slider-grid--case .c-slider-grid__controls {
  width: 100%;
}

.c-slider-grid--case::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: -2;
  width: 100vw;
  height: 48%;
  background: var(--color-accent-light);
}

@media screen and (max-width: 1023.98px) {
  .c-slider-grid--case::before {
    height: 48%;
  }
}

@media screen and (max-width: 767.98px) {
  .c-slider-grid--case::before {
    display: none;
  }
}

.c-slider-grid--case::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: calc(-50vw + 50%);
  z-index: -1;
  height: 48%;
  background: linear-gradient(to left, transparent 0, var(--color-accent-light) var(--space-lg));
}

@media screen and (max-width: 1023.98px) {
  .c-slider-grid--case::after {
    height: 48%;
  }
}

@media screen and (max-width: 767.98px) {
  .c-slider-grid--case::after {
    display: none;
  }
}

.c-slider-grid--case .c-slider-grid__heading::before {
  content: "";
  position: absolute;
  top: 40%;
  right: 0;
  bottom: 0;
  left: calc(-50vw + 50%);
  z-index: -1;
  height: 70%;
  background: linear-gradient(to left, transparent 0, var(--color-bg-body) var(--space-lg));
}

@media screen and (max-width: 767.98px) {
  .c-slider-grid--case .c-slider-grid__heading::before {
    display: none;
  }
}

.c-slider-grid--case .c-slider-grid__heading::after {
  content: "";
  position: absolute;
  top: -2%;
  right: 0;
  bottom: 0;
  left: calc(-50vw + 50%);
  z-index: -1;
  height: 50%;
  background: linear-gradient(to left, transparent 0, var(--color-yellow) var(--space-lg));
}

@media screen and (max-width: 767.98px) {
  .c-slider-grid--case .c-slider-grid__heading::after {
    display: none;
  }
}

.c-slider-grid--news .c-slider-grid__heading::before {
  content: "";
  position: absolute;
  top: -12%;
  right: 0;
  bottom: 0;
  left: calc(-50vw + 50%);
  z-index: -1;
  height: 124%;
  background: linear-gradient(to left, transparent 0, var(--color-bg-body) var(--space-lg));
}

@media screen and (max-width: 767.98px) {
  .c-slider-grid--news .c-slider-grid__heading::before {
    display: none;
  }
}

/* ==========================================================================
   ページネーション
   ========================================================================== */
.c-pagination {
  display: flex;
  justify-content: center;
  margin-top: var(--space-4xl);
}

.c-pagination__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media screen and (max-width: 767.98px) {
  .c-pagination__list {
    gap: var(--space-md);
  }
}

@media screen and (max-width: 575.98px) {
  .c-pagination__list {
    gap: var(--space-sm);
  }
}

.c-pagination__link {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-width: calc(var(--space-3xl) * 1.25);
  height: calc(var(--space-3xl) * 1.25);
  padding: 0 var(--space-md);
  background-color: var(--color-bg-body);
  border: 1px solid var(--color-text-primary);
  border-radius: var(--border-radius-full);
  font-family: var(--font-family-en);
  font-size: var(--font-base);
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--duration-slow) var(--easeOutCubic),
    border-color var(--duration-slow) var(--easeOutCubic);
  overflow: visible;
}

@media screen and (max-width: 575.98px) {
  .c-pagination__link {
    max-width: calc(var(--space-2xl) * 1.25);
    min-width: calc(var(--space-2xl) * 1.25);
    height: calc(var(--space-2xl) * 1.25);
    font-size: var(--font-sm);
  }
}

.c-pagination__link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: var(--color-black);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.c-pagination--detail .c-pagination__link::after {
  border-radius: var(--border-radius-full);
}

.c-pagination__link:hover {
  border-color: var(--color-text-primary);
  color: var(--color-text-primary);
  animation: filterPulse 0.6s ease-out;
}

.c-pagination__link:hover::after {
  animation: paginationPulse 1.4s ease-out infinite;
}

.c-pagination__link.is-active {
  position: relative;
  background: var(--color-black);
  background-size: 200% 100%;
  border-color: transparent;
  color: var(--color-off-white);
  animation: gradientFlow 3s ease infinite;
}

.c-pagination--detail .c-pagination__link.is-active {
  max-width: none;
  padding: 0 var(--space-3xl);
  font-family: var(--ff-base);
}

@media screen and (max-width: 575.98px) {
  .c-pagination--detail .c-pagination__link.is-active {
    min-width: auto;
    max-width: none;
    padding: 0 var(--space-xl);
  }
}

.c-pagination__link.is-active::after {
  animation: none;
}

.c-pagination__link.is-active:hover::after {
  animation: paginationPulse 1.4s ease-out infinite;
}

@keyframes paginationPulse {
  0% {
    transform: translate(-50%, -50%);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}

@keyframes filterPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--color-blue-main-rgb), 0.5);
  }

  100% {
    box-shadow: 0 0 0 8px rgba(var(--color-blue-main-rgb), 0);
  }
}

.c-pagination__link--prev,
.c-pagination__link--next {
  padding: 0;
}

.c-pagination:not(.c-pagination--detail) .c-pagination__link--prev svg,
.c-pagination:not(.c-pagination--detail) .c-pagination__link--next svg {
  display: none;
}

.c-pagination__link--prev::before,
.c-pagination__link--next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  border-top: 1px solid var(--color-text-primary);
  border-right: 1px solid var(--color-text-primary);
  transform-origin: center center;
  transition: transform var(--duration-slow) var(--easeOutCubic), border-color var(--duration-base) var(--easeOutCubic);
}

.c-pagination__link--prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.c-pagination__link--next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.c-pagination__link--prev:hover::before,
.c-pagination__link--next:hover::before {
  border-color: var(--color-text-primary);
}

.c-pagination__link--prev:hover::before {
  animation: arrowNudgeLeft 0.6s var(--easeOutCubic);
}

.c-pagination__link--next:hover::before {
  animation: arrowNudgeRightSlider 0.6s var(--easeOutCubic);
}

.c-pagination__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: calc(var(--space-3xl) * 1.25);
  height: calc(var(--space-3xl) * 1.25);
  font-family: var(--font-family-en);
  font-size: var(--font-lg);
  color: var(--color-text-muted);
}

.c-pagination--detail .c-pagination__link--prev,
.c-pagination--detail .c-pagination__link--next {
  min-width: 160px;
  padding: 0 var(--space-4xl);
}

@media screen and (max-width: 575.98px) {
  .c-pagination--detail .c-pagination__list {
    width: 100%;
  }

  .c-pagination--detail .c-pagination__link--prev,
  .c-pagination--detail .c-pagination__link--next {
    flex: 1;
    min-width: 0;
    max-width: none;
    padding: 0 var(--space-lg);
  }
}

.c-pagination--detail .c-pagination__link--prev::before,
.c-pagination--detail .c-pagination__link--next::before {
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
}

.c-pagination--detail .c-pagination__link--prev::before {
  left: auto;
  right: auto;
  left: var(--space-2xl);
  transform: translate(-10%, -50%) rotate(-135deg);
}

@media screen and (max-width: 575.98px) {
  .c-pagination--detail .c-pagination__link--prev::before {
    left: var(--space-md);
  }
}

.c-pagination--detail .c-pagination__link--next::before {
  left: auto;
  right: var(--space-lg);
  transform: translate(-90%, -50%) rotate(45deg);
}

@media screen and (max-width: 575.98px) {
  .c-pagination--detail .c-pagination__link--next::before {
    right: var(--space-sm);
  }
}

.c-pagination--detail .c-pagination__link--prev:hover::before {
  animation: arrowNudgeLeft 0.6s var(--easeOutCubic);
}

.c-pagination--detail .c-pagination__link--next:hover::before {
  animation: arrowNudgeRightSlider 0.6s var(--easeOutCubic);
}

.c-pagination__text {
  position: relative;
  z-index: var(--z-above);
}

#news-detail .c-pagination__link::after,
#case-detail .c-pagination__link::after {
  width: 80%;
}

/* ==========================================================================
   3. Sections - セクション別スタイル
   ========================================================================== */

.p-contact-flow {
  max-width: var(--width-article-detail);
  margin: 0 auto;
}

.p-contact-flow__list {
  display: flex;
  position: relative;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-xl);
}

@media screen and (max-width: 767.98px) {
  .p-contact-flow__list {
    gap: var(--space-lg);
  }
}

.p-contact-flow__item {
  position: relative;
  z-index: var(--z-above);
  flex: 1;
  text-align: center;
}

.p-contact-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--space-5xl) * 1.25 / 2);
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 1px;
  background-color: var(--color-border);
}

.p-contact-flow__item.is-current:not(:last-child)::after {
  background: linear-gradient(to right, var(--color-text-primary), var(--color-border));
}

.p-contact-flow__circle {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(var(--space-5xl) * 1.25);
  height: calc(var(--space-5xl) * 1.25);
  margin: 0 auto var(--space-sm);
  background-color: var(--color-bg-body);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-muted);
}

@media screen and (max-width: 767.98px) {
  .p-contact-flow__circle {
    width: calc(var(--space-4xl) * 1.25);
    height: calc(var(--space-4xl) * 1.25);
  }
}

@media screen and (max-width: 767.98px) {
  .p-contact-flow__item:not(:last-child)::after {
    top: calc(var(--space-4xl) * 1.25 / 2);
  }
}

.p-contact-flow__num {
  margin-bottom: 2px;
  font-family: var(--font-family-en);
  font-size: var(--font-base);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: var(--letter-spacing-en);
}

.p-contact-flow__text {
  font-size: var(--font-sm);
  font-weight: var(--font-weight-medium);
}

.p-contact-flow__item.is-current .p-contact-flow__circle {
  background: var(--color-bg-body);
  border: 1px solid var(--color-text-primary);
  color: var(--color-text-primary);
}

.p-contact-flow__circle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: calc(var(--space-5xl) * 1.25 + var(--space-md));
  height: calc(var(--space-5xl) * 1.25 + var(--space-md));
  transform: translate(-50%, -50%);
  background: var(--color-blue-pale);
  border-radius: var(--border-radius-full);
  opacity: 0;
}

@media screen and (max-width: 767.98px) {
  .p-contact-flow__circle::before {
    width: calc(var(--space-4xl) * 1.25 + var(--space-md));
    height: calc(var(--space-4xl) * 1.25 + var(--space-md));
  }
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}

.p-contact-flow__item.is-current .p-contact-flow__circle::before {
  background: var(--color-blue-pale);
  opacity: 1;
  /* 明示的に表示 */
  animation: pulse-ring 1.4s ease-out infinite;
  display: block;
  /* 念のため */
}

.p-contact-form {
  max-width: var(--width-article-detail);
  margin: 0 auto;
}

.p-contact-form__lead {
  text-align: center;
}

.p-contact-form__list {
  border-top: 1px solid var(--color-border);
}

.p-contact-form__item {
  display: flex;
  flex-wrap: wrap;
  padding: var(--space-lg) 0;
}

@media screen and (max-width: 767.98px) {
  .p-contact-form__item {
    display: block;
    padding: var(--space-md) 0;
  }
}

.p-contact-form__label {
  display: flex;
  align-items: center;
  width: 240px;
  padding-right: 20px;
  font-weight: var(--font-weight-semibold);
}

@media screen and (max-width: 767.98px) {
  .p-contact-form__label {
    width: 100%;
    margin-bottom: 10px;
    padding-right: 0;
  }
}

.u-required {
  display: inline-block;
  margin-left: var(--space-sm);
  padding: calc(var(--icon-size-xs) / 2) var(--space-sm);
  background-color: var(--color-red-500);
  color: var(--color-off-white);
  font-size: var(--font-xs);
  line-height: 1.4;
  vertical-align: middle;
  border-radius: var(--border-radius-full);
}

.p-contact-form__input {
  flex: 1;
  width: 100%;

}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.p-contact-form__input input[type="text"],
.p-contact-form__input input[type="email"],
.p-contact-form__input input[type="tel"],
.p-contact-form__input select,
.p-contact-form__input textarea {
  width: 100%;
  padding: var(--space-md);
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  font-size: 16px;
  appearance: none;
  transition: border-color var(--duration-base) var(--easeOutCubic),
    background-color var(--duration-base) var(--easeOutCubic);
}

.p-contact-form__input input[type="text"],
.p-contact-form__input input[type="email"],
.p-contact-form__input input[type="tel"],
.p-contact-form__input select {
  border-radius: var(--border-radius-full);
}

.p-contact-form__input textarea {
  height: 120px;
  border-radius: var(--border-radius-xl);
}

.p-contact-form__input input:focus,
.p-contact-form__input select:focus,
.p-contact-form__input textarea:focus {
  background-color: var(--color-bg-body);
  border-color: var(--color-text-primary);
  outline: none;
}

.p-contact-form__input select {
  padding-right: var(--space-2xl);
  background-image: none;
}

.p-contact-form__privacy {
  text-align: center;
}

.p-contact-form__privacy a {
  color: var(--color-text-primary);
  text-decoration: underline;
}

.p-contact-form__privacy a:hover {
  text-decoration: none;
}

.p-contact-form__btn {
  text-align: center;
}

.p-contact-form__btn .c-button__primary {
  justify-content: center;
  min-width: 240px;
}

@media screen and (max-width: 1023.98px) {
  .p-contact-form__item {
    display: block;
    padding: 0 0 var(--space-xl);
    border-bottom: none;
  }
}

@media screen and (max-width: 1023.98px) {
  .p-contact-form__list {
    border-top: none;
  }
}

@media screen and (max-width: 1023.98px) {
  .p-contact-form__label {
    width: 100%;
    margin-bottom: var(--space-sm);
    padding-right: 0;
    font-size: var(--font-base);
  }
}

.p-contact-form__input .wpcf7-form-control-wrap {
  display: block;
  position: relative;
  border-radius: var(--border-radius-full);

}

.p-contact-form__input:has(textarea) .wpcf7-form-control-wrap {
  border-radius: var(--border-radius-xl);
}

.p-contact-form__input input[type="text"],
.p-contact-form__input input[type="email"],
.p-contact-form__input input[type="tel"],
.p-contact-form__input textarea {
  width: 100%;
  padding: var(--space-md);
  background-color: var(--color-bg-light);
  border: none;
  font-size: 16px;
  appearance: none;
}

input[type=text] {
  font-size: 16px;
  /* iOSズーム回避のため16px以上 */
}

.p-contact-form__input select {
  width: 100%;
  padding: var(--space-md);
  padding-right: var(--space-lg);
  background-color: var(--color-bg-light);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23333'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  background-size: var(--space-lg);
  border: none;
  border-radius: var(--border-radius-full);
  appearance: base-select;
}

.p-contact-form__input select:focus {
  outline: none;
}

.p-contact-form__input ::picker(select) {
  margin-top: var(--space-xs);
  padding: var(--space-md);
  background-color: var(--color-bg-body);
  border: none;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-blue);
  appearance: base-select;
  outline: none;
}

.p-contact-form__input option {
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
  cursor: pointer;
  color: var(--color-text-primary);
  border-radius: var(--border-radius-full);
  transition: background-color var(--duration-slow) var(--easeOutCubic);
}

.p-contact-form__input option:hover,
.p-contact-form__input option:focus {
  background: var(--color-grad-blue-light);
}

.p-contact-form__input ::picker-icon {
  display: none;
}

.p-contact-form__input ::checkmark {
  display: none;
}

.p-contact-form__input input,
.p-contact-form__input select {
  border-radius: var(--border-radius-full);
}

.p-contact-form__input textarea {
  border-radius: var(--border-radius-xl);
}

.p-contact-form__input input:focus,
.p-contact-form__input select:focus,
.p-contact-form__input textarea:focus {
  background-color: var(--color-bg-body);
  outline: none;
  animation: none;
  border: 1px solid var(--color-text-primary);
}

@property --mask-percent {
  syntax: '<percentage>';
  initial-value: 0%;
  inherits: false;
}

.p-contact-form__input .wpcf7-form-control-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: var(--z-sticky);
  border: 1px solid var(--color-text-primary);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  --mask-percent: 0%;
  -webkit-mask-image: conic-gradient(from 100deg at 50% 50%, #000 var(--mask-percent), transparent var(--mask-percent));
  mask-image: conic-gradient(from 100deg at 50% 50%, #000 var(--mask-percent), transparent var(--mask-percent));
}

.p-contact-form__input .wpcf7-form-control-wrap:focus-within::after {
  opacity: 1;
  animation: borderDrawRound var(--duration-slower) forwards var(--easeOutExpo),
    inputPulse 2s var(--duration-slower) infinite var(--easeOutCubic);
}

@keyframes borderDrawRound {
  0% {
    --mask-percent: 0%;
  }

  100% {
    --mask-percent: 100%;
  }
}

@keyframes inputPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--color-blue-main-rgb), 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(var(--color-blue-main-rgb), 0);
  }
}

.p-contact-form__checkbox {
  margin-bottom: var(--space-sm);
  text-align: center;
}

.p-contact-form__checkbox label {
  display: inline-flex;
  align-items: center;
  font-weight: var(--font-weight-bold);
  cursor: pointer;
}

.p-contact-form__checkbox input[type="checkbox"] {
  display: none;

}

/* CF7用チェックボックススタイル */
.p-contact-form__checkbox .wpcf7-list-item-label {
  position: relative;
}

.p-contact-form__checkbox .wpcf7-list-item-label::before {
  content: "";
  display: inline-block;
  position: relative;
  top: -2px;
  width: 32px;
  height: 32px;
  margin-right: var(--space-sm);
  background-color: var(--color-bg-body);
  border: 1px solid var(--color-text-primary);
  border-radius: var(--border-radius-full);
  vertical-align: middle;
  transition: background-color var(--duration-slow) var(--easeOutCubic),
    border-color var(--duration-slow) var(--easeOutCubic),
    box-shadow var(--duration-slow) var(--easeOutCubic);
}

.p-contact-form__checkbox .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  top: 46%;
  left: 12px;
  width: 6px;
  height: 12px;
  border-right: 2px solid var(--color-off-white);
  border-bottom: 2px solid var(--color-off-white);
  transform: translateY(-60%) rotate(45deg) scale(0);
  opacity: 0;
  transition: transform var(--duration-slow) var(--easeOutCubic),
    opacity var(--duration-slow) var(--easeOutCubic);
}

.p-contact-form__checkbox input[type="checkbox"]:checked+.wpcf7-list-item-label::before {
  background-color: var(--color-text-primary);
  border-color: var(--color-text-primary);
  animation: checkboxPulse 0.6s var(--easeOutCubic);
}

.p-contact-form__checkbox input[type="checkbox"]:checked+.wpcf7-list-item-label::after {
  transform: translateY(-60%) rotate(45deg) scale(1);
  opacity: 1;
}

/* MW WP Form用チェックボックススタイル */
.p-contact-form__checkbox .mwform-checkbox-field-text {
  position: relative;
}

.p-contact-form__checkbox .mwform-checkbox-field-text::before {
  content: "";
  display: inline-block;
  position: relative;
  top: -2px;
  width: 32px;
  height: 32px;
  margin-right: var(--space-sm);
  background-color: var(--color-bg-body);
  border: 1px solid var(--color-text-primary);
  border-radius: var(--border-radius-full);
  vertical-align: middle;
  transition: background-color var(--duration-slow) var(--easeOutCubic),
    border-color var(--duration-slow) var(--easeOutCubic),
    box-shadow var(--duration-slow) var(--easeOutCubic);
}

.p-contact-form__checkbox .mwform-checkbox-field-text::after {
  content: "";
  position: absolute;
  top: 46%;
  left: 12px;
  width: 6px;
  height: 12px;
  border-right: 2px solid var(--color-off-white);
  border-bottom: 2px solid var(--color-off-white);
  transform: translateY(-60%) rotate(45deg) scale(0);
  opacity: 0;
  transition: transform var(--duration-slow) var(--easeOutCubic),
    opacity var(--duration-slow) var(--easeOutCubic);
}

.p-contact-form__checkbox input[type="checkbox"]:checked+.mwform-checkbox-field-text::before {
  background-color: var(--color-text-primary);
  border-color: var(--color-text-primary);
  animation: checkboxPulse 0.6s var(--easeOutCubic);
}

.p-contact-form__checkbox input[type="checkbox"]:checked+.mwform-checkbox-field-text::after {
  transform: translateY(-60%) rotate(45deg) scale(1);
  opacity: 1;
}

@keyframes checkboxPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--color-blue-main-rgb), 0.5);
  }

  100% {
    box-shadow: 0 0 0 8px rgba(var(--color-blue-main-rgb), 0);
  }
}

.p-contact-form__privacy-text {
  font-size: var(--font-xs);
  color: var(--color-text-muted);
  text-align: center;
}

.p-contact-form__btn .c-button__contact {
  margin: 0 auto;
  font-family: inherit;
  font-size: var(--font-lg);
  appearance: none;
  border: none;
  cursor: pointer;
  /* 強制的に背景サイズを修正 */
  background-size: 200% 200% !important;
  background-repeat: no-repeat !important;
  background-position: 0% 50%;
}



/* 戻るボタン - 薄いグレー */
.p-contact-form__btn .c-button__contact.contact-buck {
  background: var(--color-bg-light);
  color: var(--color-text-muted);
  box-shadow: none;
}

.p-contact-form__btn .c-button__contact.contact-buck:hover,
.p-contact-form__btn .c-button__contact.contact-buck:focus,
.p-contact-form__btn .c-button__contact.contact-buck:active {
  background: var(--color-border);
  color: var(--color-text-primary);
}

.p-contact-form__input select option {
  background-color: var(--color-bg-body);
}

.p-privacy__content {
  max-width: var(--width-article-detail);
  margin: 0 auto;
  line-height: 1.8;
}

.p-privacy__list {
  padding-left: var(--space-xl);
  list-style-type: disc;
}

.p-privacy__list li {
  margin-bottom: var(--space-sm);
}

.p-privacy__contact {
  padding: var(--space-xl);
  background-color: var(--color-bg-primary);
  border-radius: var(--border-radius-md);
}

.p-privacy__contact a {
  color: var(--color-text-primary);
  text-decoration: underline;
}

.p-privacy__contact a:hover {
  text-decoration: none;
}

.p-privacy__date {
  color: var(--color-text-muted);
  font-size: var(--font-sm);
  text-align: right;
}

.top-kv {
  position: relative;
  height: 100svh;
  overflow: hidden;
}

@media screen and (max-width: 767.98px) {
  .top-kv {
    height: 100vh;
  }
}

/* ==========================================================================
   KV Slider (Swiper)
   ========================================================================== */
.top-kv__slider {
  position: absolute;
  position: absolute;
  overflow: hidden;
  top: var(--space-xl);
  left: var(--space-xl);
  width: calc(100% - var(--space-4xl));
  height: calc(100% - var(--space-4xl));
  overflow: hidden;
  border-radius: var(--border-radius-xl);
}

@media screen and (max-width: 1023.98px) {
  .top-kv__slider {
    top: var(--space-lg);
    left: var(--space-lg);
    width: calc(100% - var(--space-3xl));
    height: calc(100% - var(--space-3xl));
    border-radius: var(--space-md);
  }
}

.top-kv__slider .swiper {
  width: 100%;
  height: 100%;
}

.top-kv__slider .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0 !important;
}

.top-kv__slider .swiper-slide-active {
  z-index: 0;
}

.top-kv__slider .slide__item {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.top-kv__slider .slide__item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(var(--color-text-primary-rgb), 0.2);
}

.top-kv__slider .slide__item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-slider-overlay);
  background: var(--color-grad-blue-light);
  background-position: 0% 50%;
  background-size: 200% 200%;
  opacity: 0.3;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: gradientFlow 3s ease infinite alternate;
}

.top-kv__slider .slide__inner {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}

.top-kv__slider .slide__img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: var(--z-above);
}

.top-kv__slider .slide__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  opacity: 0;
  /* Three.js Canvasを使用するため、HTML画像は非表示 */
}


.title-kv__slider .doAnimation .swiper-slide-active .slide__inner .slide__img,
.top-kv__slider .doAnimation .swiper-slide-active .slide__inner .slide__img {
  animation: scale-out 0.875s cubic-bezier(0.7, 0, 0.3, 1) 0.375s both;
  transform: scale(1.3);
}

.top-kv__slider .slide__overlay {
  background-color: transparent;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  z-index: var(--z-content);
  opacity: 1;
}

.top-kv__slider .swiper-slide-active .slide__overlay {
  animation: scale-in-hor-left 1.375s cubic-bezier(0.645, 0.045, 0.355, 1) 0.25s reverse both;
}

/* コーナーの装飾 (mask) */
.top-kv__slider__corner {
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--z-slider);
  /* ロゴ幅(200px) + 左パディング(--space-xl) */
  width: calc(200px + var(--space-xl));
  /* ヘッダー高さ + translateY分(--space-2xl) */
  height: calc(var(--header-height-2xl));
  background-color: var(--color-bg-body);
  border-radius: 0 0 var(--border-radius-xl);
  pointer-events: none;
}

@media screen and (max-width: 1279.98px) {
  .top-kv__slider__corner {
    /* ロゴ幅(180px) + 左パディング(--space-xl) */
    width: calc(180px + var(--space-xl));
  }
}

@media screen and (max-width: 1023.98px) {
  .top-kv__slider__corner {
    /* ロゴ幅(160px) + 左パディング(--space-lg) */
    width: calc(160px + var(--space-lg));
    height: var(--header-height-lg);
    border-radius: 0 0 var(--space-md);
  }
}

@media screen and (max-width: 767.98px) {
  .top-kv__slider__corner {
    height: var(--header-height-md);
  }
}

.top-kv__slider__corner .__corner-left {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: var(--z-above);
  display: block;
  width: var(--border-radius-xl);
  height: var(--border-radius-xl);
  overflow: hidden;
}

@media screen and (max-width: 1023.98px) {
  .top-kv__slider__corner .__corner-left {
    width: var(--space-md);
    height: var(--space-md);
  }
}

.top-kv__slider__corner .__corner-left:before {
  content: "";
  display: block;
  width: 200%;
  height: 200%;
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 0 0 var(--border-radius-xl) var(--color-bg-body);
  transform: translateY(0);
}

@media screen and (max-width: 1023.98px) {
  .top-kv__slider__corner .__corner-left:before {
    box-shadow: 0 0 0 var(--space-md) var(--color-bg-body);
  }
}

.top-kv__slider__corner .__corner-right {
  position: absolute;
  top: 0;
  left: 100%;
  z-index: var(--z-above);
  display: block;
  width: var(--border-radius-xl);
  height: var(--border-radius-xl);
  overflow: hidden;
}

@media screen and (max-width: 1023.98px) {
  .top-kv__slider__corner .__corner-right {
    width: var(--space-md);
    height: var(--space-md);
  }
}

.top-kv__slider__corner .__corner-right:before {
  content: "";
  display: block;
  width: 200%;
  height: 200%;
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 0 0 var(--border-radius-xl) var(--color-bg-body);
  transform: translateY(0);
}

@media screen and (max-width: 1023.98px) {
  .top-kv__slider__corner .__corner-right:before {
    box-shadow: 0 0 0 var(--space-md) var(--color-bg-body);
  }
}

.top-kv__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-fixed);
  pointer-events: none;
}

.top-kv__text-container {
  position: absolute;
  top: 0;
  left: var(--space-4xl);
  height: 100%;
  display: grid;
  align-items: center;
  pointer-events: none;
  z-index: var(--z-fixed);
}

@media screen and (max-width: 767.98px) {
  .top-kv__text-container {
    left: var(--space-2xl);
  }
}

.top-kv__catch {
  grid-area: 1 / -1;
  position: relative;
  /* top/left removed */
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--color-off-white);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-7xl);
  gap: var(--space-sm);
  z-index: 2;
  /* 初期状態: JSで制御するため非表示かつブラー */
  opacity: 0;
  filter: blur(20px);
  will-change: opacity, filter;
}

.top-kv__catch.is-active {
  opacity: 1;
}

@media screen and (max-width: 767.98px) {
  .top-kv__catch {
    font-size: var(--font-5xl);
    gap: var(--space-sm);
  }
}

.displacement-canvas {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: var(--z-base) !important;
  pointer-events: none;
}

.top-kv__catch .__catch-top .__text {
  display: inline-block;
  padding: 0;
  border-bottom: none;
  line-height: 1;
}

.top-kv__catch .__catch-btm .__text {
  display: inline-block;
  padding: 0;
  border-bottom: none;
  line-height: 1;
}

.top-kv__catch .__catch-top .__text {
  /* TopとBottomのパス位置による空きは flex gap で調整するためネガティブマージン削除 */
  margin-bottom: 0;
}

@media screen and (max-width: 767.98px) {
  .top-kv__catch .__catch-top .__text {
    margin-bottom: 0;
  }
}

.top-kv__news {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  pointer-events: auto;
  width: auto;
  padding: var(--space-xl);
  background: var(--color-bg-body);
  border-radius: var(--border-radius-xl) 0 0;
}

@media screen and (max-width: 1023.98px) {
  .top-kv__news {
    padding: var(--space-lg);
    border-radius: var(--space-md) 0 0;
  }
}

.top-kv__news__top {
  display: flex;
  grid-row: 1/2;
  grid-column: 1/2;
  align-items: baseline;
  gap: var(--space-sm);
  line-height: 1;
}

.top-kv__news__top .__cat-en {
  font-family: var(--font-family-en);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-title-lg);
  letter-spacing: var(--letter-spacing-en);
}

.top-kv__news__top .__cat-ja {
  font-weight: var(--font-weight-medium);
  font-size: var(--font-sm);
}

.top-kv__news__btm {
  display: flex;
  grid-row: 2/3;
  grid-column: 1/2;
  align-items: baseline;
  gap: var(--space-sm);
}

.top-kv__news__time {
  color: var(--color-text-primary);
  font-size: var(--font-label);
  font-family: var(--font-family-en);
  letter-spacing: var(--letter-spacing-en);
}

.top-kv__news__tit {
  width: 100%;
  font-size: var(--font-label);
  font-weight: var(--font-weight-normal);
}

.top-kv__news__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  color: var(--color-text-primary);
  transition-duration: var(--duration-base);
  transition-property: color;
  transition-timing-function: var(--easeOutExpo);
}

.top-kv__news__text {
  padding-right: var(--space-md);
  overflow: hidden;
}

.top-kv__news__link:hover,
.top-kv__news__link:focus,
.top-kv__news__link:active {
  color: var(--color-text-primary);
}

.top-kv__news__link:hover .c-button__arrow-icon::before,
.top-kv__news__link:focus .c-button__arrow-icon::before,
.top-kv__news__link:active .c-button__arrow-icon::before {
  animation: arrowNudgeRight 0.6s var(--easeOutCubic);
}

.top-kv__news__link:hover .c-button__arrow-icon::after,
.top-kv__news__link:focus .c-button__arrow-icon::after,
.top-kv__news__link:active .c-button__arrow-icon::after {
  animation: buttonArrowPulse 1.4s ease-out infinite;
}

.top-kv__news__link .c-button__arrow-icon {
  position: relative;
  top: auto;
  right: auto;
  flex-shrink: 0;
  width: var(--space-3xl);
  height: var(--space-3xl);
  margin-top: 0;
  overflow: visible;
  background-color: var(--color-black);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-full);
  isolation: isolate;
}

.top-kv__news__link .c-button__arrow-icon>span {
  content: "";
  position: absolute;
  inset: 0;
  z-index: var(--z-content);
  display: block;
  background: var(--color-black);
  background-size: 200% 200%;
  border-radius: inherit;
  opacity: 0.2;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--easeOutCubic);
}

.top-kv__news__link:hover .c-button__arrow-icon>span,
.top-kv__news__link:focus .c-button__arrow-icon>span,
.top-kv__news__link:active .c-button__arrow-icon>span {
  opacity: 0.4;
  animation: gradientFlow 3s ease infinite alternate;
}

.top-kv__news__link .c-button__arrow-icon::before {
  border-top-color: var(--color-off-white);
  border-right-color: var(--color-off-white);
}

@media screen and (max-width: 767.98px) {
  .top-kv__news__link .c-button__arrow-icon {
    width: 38px;
    height: 38px;
    margin-top: 0;
  }
}

.top-kv__news__corner {
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--z-above);
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.top-kv__news__corner .__corner-left {
  position: absolute;
  right: 100%;
  bottom: var(--space-xl);
  z-index: var(--z-above);
  display: block;
  width: var(--border-radius-xl);
  height: var(--border-radius-xl);
  overflow: hidden;
  transform: rotate(180deg);
  pointer-events: none;
}

@media screen and (max-width: 1023.98px) {
  .top-kv__news__corner .__corner-left {
    width: var(--space-md);
    height: var(--space-md);
    bottom: var(--space-lg);
  }
}

.top-kv__news__corner .__corner-left:before {
  content: "";
  display: block;
  width: 200%;
  height: 200%;
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 0 0 var(--border-radius-xl) var(--color-bg-body);
  transform: translateY(0);
}

@media screen and (max-width: 1023.98px) {
  .top-kv__news__corner .__corner-left:before {
    box-shadow: 0 0 0 var(--space-md) var(--color-bg-body);
  }
}

.top-kv__news__corner .__corner-right {
  position: absolute;
  right: var(--border-radius-2xl);
  bottom: 100%;
  z-index: var(--z-above);
  display: block;
  width: var(--border-radius-xl);
  height: var(--border-radius-xl);
  overflow: hidden;
  transform: rotate(180deg);
  transform-origin: center;
  pointer-events: none;
}

@media screen and (max-width: 1023.98px) {
  .top-kv__news__corner .__corner-right {
    right: var(--space-lg);
    width: var(--space-md);
    height: var(--space-md);
  }
}

.top-kv__news__corner .__corner-right:before {
  content: "";
  display: block;
  width: 200%;
  height: 200%;
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 0 0 var(--border-radius-xl) var(--color-bg-body);
  transform: translateY(0);
}

@media screen and (max-width: 1023.98px) {
  .top-kv__news__corner .__corner-right:before {
    box-shadow: 0 0 0 var(--space-md) var(--color-bg-body);
  }
}

.top-news {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
}

.top-news .l-container {
  overflow: visible;
}

/* ==========================================================================
   About (私たちについて)
   ========================================================================== */
.c-filter-area {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  margin-bottom: var(--space-2xl);
}

@media screen and (max-width: 1023.98px) {
  .c-filter-area {
    margin-bottom: var(--space-lg);
  }
}

@media screen and (max-width: 767.98px) {
  .c-filter-area {
    margin-bottom: var(--space-lg);
  }
}

.c-filter-group,
.c-filter-list__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-lg);
  width: 100%;
  max-width: 100%;
  margin-bottom: var(--space-lg);
}

.c-filter-label {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  font-size: var(--font-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  white-space: nowrap;
}

.c-filter-list {
  display: flex;
  flex: 1 1 0%;
  flex-wrap: wrap;
  gap: var(--space-sm);
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-filter-list__item {
  display: flex;
  position: relative;
  flex-shrink: 0;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-bg-light);
  border: 1px solid transparent;
  border-radius: var(--border-radius-full);
  color: var(--color-text-primary);
  font-size: var(--font-xs);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color var(--duration-base) var(--easeOutCubic), color var(--duration-base) var(--easeOutCubic);
  overflow: hidden;
}

.c-filter-list__item span {
  display: inline-block;
  transition: transform var(--duration-slow) var(--easeOutCubic);
}

.c-filter-list__item:hover span {
  transform: translateX(4px);
}

.c-filter-list__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--space-md);
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  transform: translateY(-50%);
  background-color: var(--color-text-primary);
  border-radius: var(--border-radius-full);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--easeOutCubic),
    left var(--duration-slow) var(--easeOutCubic);
}

.c-filter-list__item:hover::before {
  left: var(--space-sm);
  opacity: 1;
}

.c-filter-list__item:not(.is-active):hover::before {
  background-color: var(--color-text-primary);
}

.c-filter-list__item.is-active {
  background: var(--color-black);
  background-size: 200% 100%;
  color: var(--color-off-white);
  animation: filterPulse 0.6s ease-out, gradientFlow 3s ease infinite;
}

.c-filter-list__item.is-active span {
  transform: translateX(4px);
}

.c-filter-list__item.is-active::before {
  left: var(--space-sm);
  background-color: var(--color-bg-body);
  opacity: 1;
}

.c-filter-list__tag {
  display: flex;
  position: relative;
  flex-shrink: 0;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-bg-light);
  border: 1px solid transparent;
  border-radius: var(--border-radius-full);
  color: var(--color-text-primary);
  font-size: var(--font-xs);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color var(--duration-base) var(--easeOutCubic), color var(--duration-base) var(--easeOutCubic);
  overflow: hidden;
}

.c-filter-list__tag span {
  display: inline-block;
  transition: transform var(--duration-slow) var(--easeOutCubic);
}

.c-filter-list__tag:hover span {
  transform: translateX(4px);
}

.c-filter-list__tag::before {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--space-md);
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  transform: translateY(-50%);
  background-color: var(--color-text-primary);
  border-radius: var(--border-radius-full);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--easeOutCubic),
    left var(--duration-slow) var(--easeOutCubic);
}

.c-filter-list__tag:hover::before {
  left: var(--space-sm);
  opacity: 1;
}

.c-filter-list__tag.is-active {
  background-color: var(--color-bg-body);
  background-image: linear-gradient(white, white), var(--color-grad-blue);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: var(--color-text-primary);
  animation: none;
}

.c-filter-list__tag.is-active span {
  transform: translateX(4px);
}

.c-filter-list__tag.is-active::before {
  opacity: 1;
  left: var(--space-sm);
  background-color: var(--color-text-primary);
}

@media screen and (max-width: 767.98px) {

  .c-filter-group,
  .c-filter-list__tags {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
  }
}

.c-news-grid {
  display: grid;
  position: relative;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4xl);
}

@media screen and (max-width: 1023.98px) {
  .c-news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

@media screen and (max-width: 767.98px) {
  .c-news-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.c-news-grid .c-card--news:hover {
  transform: translateY(calc(-1 * var(--icon-size-md)));
  box-shadow: var(--shadow-card-hover);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-news-grid .c-card--news .c-card__img__inner {
  padding-top: 66.67%;
  border-radius: var(--space-lg) var(--space-lg) 0 0;
}

@media screen and (max-width: 767.98px) {
  .c-news-grid .c-card--news .c-card__img__inner {
    padding-top: 66.67%;
  }
}

.c-news-grid .c-card--news .c-card__link .c-card__time {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  padding: 0;
}

.p-news-detail__header {
  max-width: var(--width-article-detail);
  margin: 0 auto var(--space-xl);
}

.p-news-detail__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.p-news-detail__time {
  font-family: var(--font-family-en);
  font-size: var(--font-sm);
  color: var(--color-text-secondary);
  letter-spacing: var(--letter-spacing-en);
}

.p-news-detail__title {
  margin-bottom: var(--space-lg);
  font-size: var(--font-3xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

@media screen and (max-width: 767.98px) {
  .p-news-detail__title {
    font-size: var(--font-2xl);
  }
}

.p-news-detail__eyecatch {
  max-width: var(--width-article-detail);
  margin: 0 auto var(--space-4xl);
  border-radius: var(--space-lg);
  overflow: hidden;
}

.p-news-detail__eyecatch img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.p-news-detail__content {
  max-width: var(--width-article-detail);
  margin: 0 auto var(--space-5xl);
  font-size: var(--font-base);
  line-height: 2;
}

.p-news-detail__content h2 {
  margin-top: var(--space-4xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-xl);
  font-weight: var(--font-weight-bold);
}

.p-news-detail__content h3 {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  font-size: var(--font-lg);
  font-weight: var(--font-weight-semibold);
}

.p-news-detail__content p {
  margin-bottom: var(--space-lg);
}

.p-news-detail__content ul,
.p-news-detail__content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.p-news-detail__content li {
  margin-bottom: var(--space-sm);
}

.p-news-detail__content strong {
  font-weight: var(--font-weight-bold);
}

.p-news-detail__footer {
  max-width: var(--width-article-detail);
  margin: 0 auto var(--space-2xl);
}

.p-news-detail__content a {
  color: var(--color-text-primary);
  text-decoration: underline;
}

.p-news-detail__content a:hover {
  text-decoration: none;
}

.top-about {
  position: relative;
  margin-top: var(--section-spacing);
  padding-top: var(--section-spacing);
  padding-bottom: calc(45vw - var(--section-spacing));
}

@media screen and (max-width: 1023.98px) {
  .top-about {
    padding-bottom: 0;
  }
}

@media screen and (max-width: 767.98px) {
  .top-about {
    padding-top: 0;
  }
}

.top-about .container {
  position: relative;
  z-index: var(--z-above);
}

@media screen and (max-width: 1023.98px) {
  .top-about__body {
    margin: var(--space-lg) 0 0;
  }
}

@media screen and (max-width: 1023.98px) {
  .top-about .c-button__wrap {
    display: flex;
    justify-content: flex-end;
  }
}

.top-service {
  position: relative;
  margin-top: var(--section-spacing);
  padding: var(--section-spacing) 0;
}

.top-service:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: var(--color-blue-deep);
}

/* ページセクションヘッダー共通コンポーネント */
.c-page-section-header,
.p-service__header,
.p-news__header,
.p-case__header {
  margin-bottom: var(--space-2xl);
}

@media screen and (max-width: 767.98px) {

  .c-page-section-header,
  .p-service__header,
  .p-news__header,
  .p-case__header {
    margin-bottom: var(--space-xl);
  }
}

.p-service,
.p-news,
.p-case {
  position: relative;
}

@media screen and (max-width: 1023.98px) {
  .p-service__intro {
    margin-bottom: var(--space-4xl);
  }
}

@media screen and (max-width: 767.98px) {
  .p-service__intro {
    margin-bottom: var(--space-3xl);
  }
}

.l-page-header-wrapper {
  width: calc((100% - var(--space-4xl)) / 2);
}

@media screen and (max-width: 1023.98px) {
  .l-page-header-wrapper {
    width: calc((100% - var(--space-3xl)) / 2);
  }
}

@media screen and (max-width: 767.98px) {

  .c-page-section-header,
  .p-service__header,
  .p-news__header,
  .p-case__header {
    margin-bottom: var(--space-xl);
  }

  .l-page-header-wrapper {
    width: 100%;
  }
}

/* ============================================
   画像デュオコンポーネント
   ============================================ */

@media screen and (max-width: 1023.98px) {
  .c-image-duo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
  }
}

.c-image-duo__item {
  position: absolute;
  overflow: hidden;
  line-height: 0;
}

@media screen and (max-width: 1023.98px) {
  .c-image-duo__item {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }
}

.c-image-duo__item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-image-duo__item--main img {
  object-position: 0 center;
}

.c-image-duo__item--sub img {
  object-position: center;
}

/* ============================================
   About セクション (Main右配置)
   ============================================ */

@media screen and (max-width: 1023.98px) {
  .c-image-duo--right {
    flex-direction: row-reverse;
  }
}

.c-image-duo--right .c-image-duo__item--main {
  top: 0;
  right: 0;
  width: calc(50% - var(--space-3xl));
  padding-top: 40%;
  border-radius: var(--border-radius-8xl) 0 0 var(--border-radius-8xl);
}

@media screen and (max-width: 1023.98px) {
  .c-image-duo--right .c-image-duo__item--main {
    top: var(--section-spacing);
    width: 48vw;
    padding-top: 42vw;
    border-radius: var(--border-radius-4xl) 0 0 var(--border-radius-4xl);
  }
}

@media screen and (max-width: 767.98px) {
  .c-image-duo--right .c-image-duo__item--main {
    bottom: auto;
  }
}

.c-image-duo--right .c-image-duo__item--sub {
  bottom: -4vw;
  left: 0;
  width: calc(50% - var(--space-3xl));
  padding-top: 32%;
  border-radius: 0 var(--border-radius-8xl) var(--border-radius-8xl) 0;
}

@media screen and (max-width: 1023.98px) {
  .c-image-duo--right .c-image-duo__item--sub {
    top: -2.4vw;
    bottom: auto;
    width: 48vw;
    padding-top: 42vw;
    border-radius: 0 var(--border-radius-4xl) var(--border-radius-4xl) 0;
  }
}

@media screen and (max-width: 767.98px) {
  .c-image-duo--right .c-image-duo__item--sub {
    top: 0;
    padding-top: 38vw;
  }
}

/* ============================================
   Company セクション (Main左配置)
   ============================================ */

@media screen and (max-width: 1023.98px) {
  .c-image-duo--left {
    flex-direction: row;
  }
}

.c-image-duo--left .c-image-duo__item--main {
  top: 0;
  left: 0;
  width: calc(50% - var(--space-3xl));
  padding-top: 40%;
  border-radius: 0 var(--border-radius-8xl) var(--border-radius-8xl) 0;
}

@media screen and (max-width: 1023.98px) {
  .c-image-duo--left .c-image-duo__item--main {
    top: -2.4vw;
    width: 48vw;
    padding-top: 42vw;
    border-radius: 0 var(--border-radius-4xl) var(--border-radius-4xl) 0;
  }
}

@media screen and (max-width: 767.98px) {
  .c-image-duo--left .c-image-duo__item--main {
    top: 0;
    padding-top: 38vw;
  }
}

.c-image-duo--left .c-image-duo__item--sub {
  right: 0;
  bottom: 0;
  width: calc(50% - var(--space-3xl));
  padding-top: 32%;
  border-radius: var(--border-radius-8xl) 0 0 var(--border-radius-8xl);
}

@media screen and (max-width: 1023.98px) {
  .c-image-duo--left .c-image-duo__item--sub {
    bottom: auto;
    width: 48vw;
    padding-top: 42vw;
    border-radius: var(--border-radius-4xl) 0 0 var(--border-radius-4xl);
  }
}

@media screen and (max-width: 767.98px) {
  .c-image-duo--left .c-image-duo__item--sub {
    top: var(--section-spacing);
    bottom: auto;
  }
}

/* ============================================
   画像ソロコンポーネント (About/Company追加画像)
   ============================================ */
.c-image-solo__item {
  position: absolute;
  overflow: hidden;
  /* border-radiusは各modifierで個別に設定 */
}

.c-image-solo__item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About セクション: 中央下配置 */
.c-image-solo__item--right {
  bottom: 3vw;
  right: 10vw;
  width: calc(35% - var(--space-3xl));
  padding-top: 18%;
  border-radius: var(--border-radius-4xl);
}

@media screen and (max-width: 1023.98px) {
  .c-image-solo__item--right {
    display: none;
  }
}

/* Company セクション: 左下配置 */
.c-image-solo__item--left {
  bottom: 4vw;
  left: 10vw;
  width: calc(35% - var(--space-3xl));
  padding-top: 18%;
  border-radius: var(--border-radius-4xl);
}

@media screen and (max-width: 1023.98px) {
  .c-image-solo__item--left {
    display: none;
  }
}

/* パララックス用 - transform-origin のみ維持 */
.c-image-solo__item--right,
.c-image-solo__item--left {
  transform-origin: center center;
}

.p-service-solution {
  padding-bottom: var(--section-spacing);
  text-align: center;
}

.p-service-solution__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  border: 1px solid var(--color-text-primary);
  border-radius: var(--border-radius-lg);
}

.p-service-solution__inner::before {
  content: "";
  /*g*/
  position: absolute;
  top: 0;
  left: 50%;
  padding: 0.2em 1em;
  background-color: var(--color-text-primary);
  border-radius: var(--border-radius-full);
  color: var(--color-off-white);
  font-family: var(--font-family-en);
  font-weight: var(--font-weight-bold);
  transform: translate(-50%, -50%);
}

.p-service-solution__title {
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
  font-size: var(--font-title-lg);
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
}

.p-service-solution__desc {
  margin-bottom: var(--space-xl);
  font-weight: var(--font-weight-medium);
}

.p-service-solution__body {
  padding: var(--space-lg);
  background-color: var(--color-blue-pale);
  border-radius: var(--border-radius-md);
}

.p-service-solution__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* デスクトップグリッド */
  gap: var(--space-md) var(--space-xl);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-primary);
  font-weight: var(--font-weight-bold);
  text-align: left;
}

.p-service-solution__item {
  position: relative;
  padding-left: 1.5em;
}

/* デスクトップで奇数の場合、最後のアイテムを中央揃え */
.p-service-solution__item:last-child:nth-child(odd) {
  grid-column: span 2;
  padding-left: 0;
  text-align: center;
}

.p-service-solution__item::before {
  content: "";
  position: absolute;
  top: 0.4em;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-text-primary);
  border-radius: 50%;
}

.p-service-solution__item:last-child:nth-child(odd)::before {
  display: none;
}

@media screen and (max-width: 767.98px) {
  .p-service-solution__list {
    grid-template-columns: 1fr;
    /* モバイルでは積み重ねる */
    gap: var(--space-sm);
  }

  .p-service-solution__item:last-child:nth-child(odd) {
    grid-column: auto;
    padding-left: 1.5em;
    text-align: left;
  }

  .p-service-solution__item:last-child:nth-child(odd)::before {
    display: block;
  }
}

/* ==========================================================================
   サービス（駐車場） - 選ばれる理由
   ========================================================================== */
.p-service-reason {
  margin: 0 auto;
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
}

.p-service-reason__title {
  margin-bottom: var(--space-xl);
  font-size: var(--font-title-md);
  font-weight: var(--font-weight-bold);
  text-align: center;
}

.p-service-reason__image {
  margin-bottom: var(--space-xl);
}

.p-service-reason__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* デスクトップグリッド */
  gap: var(--space-lg);
}

@media screen and (max-width: 767.98px) {
  .p-service-reason__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.p-service-reason__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  text-align: center;
}

.p-service-reason__head {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(var(--space-5xl) * 1.25);
  height: calc(var(--space-5xl) * 1.25);
  margin-bottom: var(--space-2xl);
  /* 擬似要素を正しく積み重ねるための透明な親 */
  background-color: transparent;
  border: none;
  border-radius: 50%;
  color: var(--color-text-primary);
  line-height: 1;
  z-index: var(--z-above);
}

/* 外側のリング（パルス効果） */
.p-service-reason__head::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -2;
  width: 130%;
  height: 130%;
  transform: translate(-50%, -50%);
  background: var(--color-bg-light);
  border-radius: var(--border-radius-full);
}

/* 内側の円（白背景 + ボーダー） */
.p-service-reason__head::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-body);
  border: 1px solid var(--color-border);
  border-radius: 50%;
}

@media screen and (max-width: 767.98px) {
  .p-service-reason__head {
    width: calc(var(--space-4xl) * 1.25);
    height: calc(var(--space-4xl) * 1.25);
  }
}

.p-service-reason__en {
  position: relative;
  margin-bottom: 2px;
  font-family: var(--font-family-en);
  font-size: var(--font-sm);
  font-weight: var(--font-weight-medium);
  /* text-transform: uppercase; 削除済み */
  z-index: var(--z-content);
}

.p-service-reason__num {
  position: relative;
  font-family: var(--font-family-en);
  font-size: var(--font-xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-en);
  z-index: var(--z-content);
}

.p-service-reason__text {
  color: var(--color-text-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-lg);
  line-height: var(--line-height-normal);
  text-align: center;
}

/* ==========================================================================
   ラインナップ
   ========================================================================== */
.p-equipment-lineup {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
}

.p-equipment-lineup__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

@media screen and (max-width: 1023.98px) {
  .p-equipment-lineup__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.p-equipment-lineup__card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.p-equipment-lineup__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.p-equipment-lineup__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.p-equipment-lineup__card:hover .p-equipment-lineup__img img {
  transform: scale(1.05);
}

.p-equipment-lineup__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: var(--space-lg);
}

.p-equipment-lineup__title {
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
  font-size: var(--font-lg);
  font-weight: var(--font-weight-bold);
}

.p-equipment-lineup__subtitle {
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
  font-size: var(--font-sm);
  font-weight: var(--font-weight-medium);
}

.p-equipment-lineup__desc {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
  font-size: var(--font-sm);
  line-height: 1.7;
}

.p-equipment-lineup__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-equipment-lineup__feature {
  position: relative;
  padding-left: 1.2em;
  color: var(--color-text-primary);
  font-size: var(--font-sm);
}

.p-equipment-lineup__feature::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--color-text-primary);
  border-radius: 50%;
}

/* ==========================================================================
   サービス（駐車場） - FAQ
   ========================================================================== */
.p-service-faq {
  background: var(--color-bg-body);
  padding-bottom: var(--section-spacing);
}

.p-service-faq__grid {
  display: flex;
}

@media screen and (max-width: 767.98px) {
  .p-service-faq__grid {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

.p-service-faq__heading-wrap {
  position: relative;
  z-index: var(--z-sticky);
  flex: 0 0 25vw;
  padding-right: var(--space-xl);
}

@media screen and (max-width: 1023.98px) {
  .p-service-faq__heading-wrap {
    flex: 0 0 40vw;
    padding-right: var(--space-2xl);
  }
}

@media screen and (max-width: 767.98px) {
  .p-service-faq__heading-wrap {
    flex: none;
    padding-right: 0;
  }
}

.p-service-faq__heading-wrap .c-section-heading {
  position: sticky;
  top: var(--space-xl);
}

@media screen and (max-width: 767.98px) {
  .p-service-faq__heading-wrap .c-section-heading {
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.p-service-faq__content {
  flex: 1;
  min-width: 0;
}

.p-service-faq__box {
  border-top: 1px solid var(--color-border);
}

.p-service-faq__item {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.p-service-faq__question {
  position: relative;
  padding: 10px 0 10px 47px;
  color: var(--color-text-primary);
  font-size: var(--font-xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-wide);
}

.p-service-faq__question::before {
  content: 'Q';
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-text-primary);
  font-family: var(--font-family-en);
  font-size: var(--font-3xl);
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.p-service-faq__answer {
  position: relative;
  margin: 0 0 0 50px;
  padding: 10px 0 10px 47px;
  color: var(--color-text-primary);
  background-color: var(--color-bg-body);
  line-height: var(--line-height-relaxed);
}

.p-service-faq__answer::before {
  content: 'A';
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-text-primary);
  font-family: var(--font-family-en);
  font-size: var(--font-3xl);
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

@media screen and (max-width: 767.98px) {
  .p-service-faq__item {
    padding: var(--space-lg) 0;
  }

  .p-service-faq__question {
    padding-left: 35px;
    font-size: var(--font-lg);
  }

  .p-service-faq__question::before {
    font-size: var(--font-2xl);
  }

  .p-service-faq__answer {
    margin-left: 0;
    padding-left: 35px;
  }

  .p-service-faq__answer::before {
    font-size: var(--font-2xl);
  }
}

/* Service Parking Flow
--------------------------------------------------------- */
.p-service-flow {
  margin: 0 auto;
}

.p-service-flow__list {
  position: relative;
  margin-top: 0;
  padding-top: var(--space-5xl);
  padding-left: 0;
  list-style: none;
  counter-reset: num;
}

.p-service-flow__list>li {
  position: relative;
  margin-top: 0;
  margin-bottom: var(--space-5xl);
  padding-bottom: var(--space-5xl);
  padding-left: calc(var(--space-5xl) * 1.25 + var(--space-lg));
  border-bottom: 1px solid var(--color-border);
  counter-increment: num;
}

@media screen and (max-width: 767.98px) {
  .p-service-flow__list>li {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    padding-left: calc(var(--space-4xl) * 1.25 + var(--space-md));
  }
}

.p-service-flow__list>li:last-child {
  border-bottom: none;
}

.p-service-flow__list>li::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: calc(var(--space-5xl) * 1.25 / 2);
  z-index: var(--z-base);
  width: 1px;
  height: calc(100% + var(--space-5xl));
  background: var(--color-border);
}

@media screen and (max-width: 767.98px) {
  .p-service-flow__list>li::after {
    left: calc(var(--space-4xl) * 1.25 / 2);
    height: calc(100% + var(--space-2xl));
  }
}

.p-service-flow__list>li:last-child::after {
  content: none;
}

.p-service-flow__title {
  position: relative;
}

.p-service-flow__title::before {
  content: "0" counter(num);
  display: flex;
  position: absolute;
  top: 50%;
  left: calc(-1 * (var(--space-5xl) * 1.25 + var(--space-lg)));
  align-items: center;
  justify-content: center;
  z-index: var(--z-content);
  width: calc(var(--space-5xl) * 1.25);
  height: calc(var(--space-5xl) * 1.25);
  background-color: var(--color-bg-body);
  border: 1px solid var(--color-text-primary);
  border-radius: 50%;
  color: var(--color-text-primary);
  font-family: var(--font-family-en);
  font-size: var(--font-xl);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: var(--letter-spacing-en);
  box-shadow: 0 0 0 10px var(--color-blue-pale);
  transform: translateY(-50%);
}

@media screen and (max-width: 767.98px) {
  .p-service-flow__title::before {
    left: calc(-1 * (var(--space-4xl) * 1.25 + var(--space-md)));
    width: calc(var(--space-4xl) * 1.25);
    height: calc(var(--space-4xl) * 1.25);
  }
}

.p-service-flow__bar {
  display: block;
  position: absolute;
  top: 0;
  left: calc(var(--space-5xl) * 1.25 / 2);
  z-index: var(--z-base);
  width: 1px;
  width: 1px;
  height: calc(100% + var(--space-5xl));
  background: var(--color-text-primary);
  z-index: var(--z-above);
  transform-origin: top;
  will-change: transform;
}

@media screen and (max-width: 767.98px) {
  .p-service-flow__bar {
    left: calc(var(--space-4xl) * 1.25 / 2);
    height: calc(100% + var(--space-2xl));
  }
}

.p-service-flow__number {
  display: flex;
  position: absolute;
  top: 50%;
  left: calc(-1 * (var(--space-5xl) * 1.25 + var(--space-lg)));
  align-items: center;
  justify-content: center;
  align-items: center;
  justify-content: center;
  z-index: var(--z-sticky);
  width: calc(var(--space-5xl) * 1.25);
  height: calc(var(--space-5xl) * 1.25);
  background-color: var(--color-bg-body);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-secondary);
  font-family: var(--font-family-en);
  font-size: var(--font-xl);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: var(--letter-spacing-en);
  box-shadow: 0 0 0 10px var(--color-bg-body);
  transform: translateY(-50%);
  will-change: box-shadow;
  transition: color 0.3s, border-color 0.3s;
}

@media screen and (max-width: 767.98px) {
  .p-service-flow__number {
    left: calc(-1 * (var(--space-4xl) * 1.25 + var(--space-md)));
    width: calc(var(--space-4xl) * 1.25);
    height: calc(var(--space-4xl) * 1.25);
  }
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(50, 50, 50, 1);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(50, 50, 50, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(50, 50, 50, 0);
  }
}

.p-service-flow__number.is-pulsing {
  border-color: var(--color-text-primary);
  color: var(--color-text-primary);
  animation: pulseGreen 2s infinite;
}

.has-js-flow .p-service-flow__title::before {
  content: none !important;
  display: none !important;
}

.p-service-flow__title {
  margin-bottom: 0;
  padding-right: var(--space-2xl);
  color: var(--color-text-primary);
  font-size: var(--font-xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-normal);
}

@media print,
screen and (max-width: 767.98px) {
  .p-service-flow__title {
    margin-bottom: var(--space-xs);
    padding-right: 0;
  }
}

.p-service-flow__text {
  color: var(--color-text-primary);
  line-height: var(--line-height-relaxed);
  text-align: justify;
}

/* フローグリッドレイアウト */
.p-service-flow__grid {
  display: flex;
}

@media screen and (max-width: 767.98px) {
  .p-service-flow__grid {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

.p-service-flow__heading-wrap {
  position: relative;
  z-index: var(--z-sticky);
  flex: 0 0 25vw;
  padding-right: var(--space-xl);
}

@media screen and (max-width: 1023.98px) {
  .p-service-flow__heading-wrap {
    flex: 0 0 40vw;
    padding-right: var(--space-2xl);
  }
}

@media screen and (max-width: 767.98px) {
  .p-service-flow__heading-wrap {
    flex: none;
    padding-right: 0;
  }
}

.p-service-flow__heading-wrap .c-section-heading {
  position: sticky;
  top: var(--space-xl);
}

@media screen and (max-width: 767.98px) {
  .p-service-flow__heading-wrap .c-section-heading {
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.p-service-flow__content {
  flex: 1;
  min-width: 0;
}

.p-service-flow__box {
  width: 100%;
}

@media screen and (max-width: 767.98px) {
  .p-service-flow__box {
    width: 100%;
  }
}

.p-service-flow__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

@media screen and (max-width: 767.98px) {
  .p-service-flow__item {
    display: flex;
    flex-direction: column;
  }
}

/* ==========================================================================
   サービス（駐車場） - 課題（トラブル）
   ========================================================================== */
.p-service-trouble {
  padding-top: var(--section-spacing);
  text-align: center;
}

.p-service-trouble__title {
  margin-bottom: var(--space-lg);
  font-size: var(--font-xl);
  font-weight: var(--font-weight-bold);
}

.p-service-trouble__box {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl);
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius-lg);
}

.p-service-trouble__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md) var(--space-2xl);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.p-service-trouble__item {
  position: relative;
  padding-left: 2em;
  font-weight: var(--font-weight-bold);
}

.p-service-trouble__item:last-child {
  margin-bottom: 0;
}

.p-service-trouble__item::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 1.2em;
  height: 0.6em;
  border-left: 3px solid var(--color-text-primary);
  border-bottom: 3px solid var(--color-text-primary);
  transform: rotate(-45deg);
}

@media screen and (max-width: 767.98px) {
  .p-service-trouble__list {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ==========================================================================
   4. Vendor - 外部ライブラリ
   ========================================================================== */

.swiper {
  overflow: visible !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

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

.swiper__control .swiper__arrows {
  display: flex;
  gap: var(--space-lg);
}

@media screen and (max-width: 767.98px) {
  .swiper__control .swiper__arrows {
    justify-content: flex-end;
    gap: var(--space-sm);
  }
}

.swiper__control .swiper__arrow {
  position: relative;
  width: 76px;
  height: 76px;
  overflow: visible;
  background: var(--color-bg-body);
  border: 1px solid var(--color-text-primary);
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

@media screen and (max-width: 767.98px) {
  .swiper__control .swiper__arrow {
    width: 64px;
    height: 64px;
  }
}

.swiper__control .swiper__arrow:hover,
.swiper__control .swiper__arrow:focus,
.swiper__control .swiper__arrow:active {
  border-color: var(--color-text-primary);
}

.swiper__control .swiper__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: var(--color-blue-pale);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.swiper__control .swiper__arrow:hover::after,
.swiper__control .swiper__arrow:focus::after,
.swiper__control .swiper__arrow:active::after {
  animation: buttonArrowPulse 1.4s ease-out infinite;
}

.swiper__control .swiper__arrow:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: var(--z-above);
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--color-text-primary);
  border-right: 1px solid var(--color-text-primary);
  transform-origin: center center;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.swiper__control .swiper__arrow:hover:before,
.swiper__control .swiper__arrow:focus:before,
.swiper__control .swiper__arrow:active:before {
  border-color: var(--color-text-primary);
}

.swiper__control .swiper__arrow.prev:before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.swiper__control .swiper__arrow.next:before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.swiper__control .swiper__arrow.prev:hover:before,
.swiper__control .swiper__arrow.prev:focus:before,
.swiper__control .swiper__arrow.prev:active:before {
  animation: arrowNudgeLeft 0.6s var(--easeOutCubic);
}

.swiper__control .swiper__arrow.next:hover:before,
.swiper__control .swiper__arrow.next:focus:before,
.swiper__control .swiper__arrow.next:active:before {
  animation: arrowNudgeRightSlider 0.6s var(--easeOutCubic);
}

@keyframes arrowNudgeLeft {
  0% {
    transform: translate(-30%, -50%) rotate(-135deg);
  }

  30% {
    transform: translate(0%, -50%) rotate(-135deg);
  }

  70% {
    transform: translate(-60%, -50%) rotate(-135deg);
  }

  100% {
    transform: translate(-30%, -50%) rotate(-135deg);
  }
}

@keyframes arrowNudgeRightSlider {
  0% {
    transform: translate(-70%, -50%) rotate(45deg);
  }

  30% {
    transform: translate(-100%, -50%) rotate(45deg);
  }

  70% {
    transform: translate(-40%, -50%) rotate(45deg);
  }

  100% {
    transform: translate(-70%, -50%) rotate(45deg);
  }
}

/* ==========================================================================
   5. Animations - アニメーション定義
   ========================================================================== */

/* === Holographic 3D Effect === */

/* Base container needed to track mouse */
.js-holo-effect {
  /* Dynamic variables set by JS */
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  --posx: 50%;
  --posy: 50%;
  --hyp: 0;

  /* Constant settings */
  --holo-radius: var(--space-lg);
  --holo-space: 5%;
  --holo-angle: 133deg;
  --holo-imgsize: 500px;

  /* Grain texture (Base64 SVG) */
  --holo-grain: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNTAwIiBoZWlnaHQ9IjUwMCI+CjxmaWx0ZXIgaWQ9Im4iPgo8ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjciIG51bU9jdGF2ZXM9IjEwIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIj48L2ZlVHVyYnVsZW5jZT4KPC9maWx0ZXI+CjxyZWN0IHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIiBmaWxsPSIjMDAwIj48L3JlY3Q+CjxyZWN0IHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIiBmaWx0ZXI9InVybCgjbikiIG9wYWNpdHk9IjAuMyI+PC9yZWN0Pgo8L3N2Zz4=");

  position: relative;
  z-index: var(--z-base);
  overflow: hidden;
  /* ホログラムレイヤーのはみ出しを防止 */
  border-radius: var(--holo-radius);
  transform: perspective(600px) rotateY(var(--ry)) rotateX(var(--rx));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Ensure children don't block pointer events if needed, though JS tracks container */
.js-holo-effect * {
  /* pointer-events: none; */
  /* Optional: enable if children block hover */
}

/* Reset transform when not hovering/active */
.js-holo-effect:not(.is-active) {
  transition: transform 0.5s ease;
}

/* Shine / Glare Layers */
.c-holo-shine,
.c-holo-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--holo-radius);
  z-index: var(--z-above);
  pointer-events: none;
  overflow: hidden;
}

/* Shine Effect (Rainbow / Texture) */
.c-holo-shine {
  opacity: 0;
  translate: 0 0 1px;
  /* Lift slightly in 3D space */
  mix-blend-mode: color-dodge;
  background-image:
    var(--holo-grain),
    repeating-linear-gradient(0deg,
      rgb(255, 119, 115) calc(var(--holo-space) * 1),
      rgba(255, 237, 95, 1) calc(var(--holo-space) * 2),
      rgba(168, 255, 95, 1) calc(var(--holo-space) * 3),
      rgba(131, 255, 247, 1) calc(var(--holo-space) * 4),
      rgba(120, 148, 255, 1) calc(var(--holo-space) * 5),
      rgb(216, 117, 255) calc(var(--holo-space) * 6),
      rgb(255, 119, 115) calc(var(--holo-space) * 7)),
    repeating-linear-gradient(var(--holo-angle),
      #0e152e 0%,
      hsl(180, 10%, 60%) 3.8%,
      hsl(180, 29%, 66%) 4.5%,
      hsl(180, 10%, 60%) 5.2%,
      #0e152e 10%,
      #0e152e 12%),
    radial-gradient(farthest-corner circle at var(--mx) var(--my),
      rgba(0, 0, 0, 0.1) 12%,
      rgba(0, 0, 0, 0.15) 20%,
      rgba(0, 0, 0, 0.25) 120%);

  background-blend-mode: screen, hue, hard-light;
  background-size: var(--holo-imgsize), 200% 700%, 300%, 200%;
  background-position: center, 0% var(--posy), var(--posx) var(--posy), var(--posx) var(--posy);
  filter: brightness(0.8) contrast(2.95) saturate(0.5);
  transition: opacity 0.3s ease;
}

/* Glare Effect (White Reflection) */
.c-holo-glare {
  opacity: 0;
  translate: 0 0 2px;
  /* Lift more in 3D space */
  mix-blend-mode: soft-light;
  background-image: radial-gradient(farthest-corner circle at var(--mx) var(--my),
      rgba(255, 255, 255, 0.8) 10%,
      rgba(255, 255, 255, 0.6) 20%,
      rgba(0, 0, 0, 0.5) 90%);
  filter: brightness(1) contrast(1.5) saturate(1);
  transition: opacity 0.3s ease;
}

/* Activation */
.js-holo-effect.is-active .c-holo-shine {
  opacity: calc((var(--hyp) * 0.5) + 0.2);
}

.js-holo-effect.is-active .c-holo-glare {
  opacity: calc((var(--hyp) * 0.6) + 0.3);
}

/* Variant: VMAX Style (More vibrant) */
.js-holo-effect--vmax {
  --holo-space: 6%;
  --holo-angle: 133deg;
}

.js-holo-effect--vmax .c-holo-shine {
  background-image:
    var(--holo-grain),
    repeating-linear-gradient(-33deg,
      rgb(206, 42, 36) calc(var(--holo-space) * 1),
      rgb(157, 170, 223) calc(var(--holo-space) * 2),
      rgb(45, 153, 146) calc(var(--holo-space) * 3),
      rgb(29, 151, 36) calc(var(--holo-space) * 4),
      rgb(181, 64, 228) calc(var(--holo-space) * 5),
      rgb(206, 42, 36) calc(var(--holo-space) * 6)),
    radial-gradient(farthest-corner circle at var(--mx) var(--my),
      rgba(6, 218, 255, 0.6) 0%,
      rgba(38, 235, 127, 0.6) 25%,
      rgba(155, 78, 228, 0.6) 50%,
      rgba(228, 78, 90, 0.6) 75%);
  background-blend-mode: color-burn, screen, soft-light;
  background-size: var(--holo-imgsize), 1100% 1100%, 200% 200%;
}

/* ホログラムカード・ボタンの3D効果は無効化済み */
.c-card.is-holo,
.c-button.is-holo {
  /* overflow: hidden は .c-card__link で設定済み */
}

/* ボタンのみにシャドウを適用（カードは除外） */
.c-button.is-holo.is-active {
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  z-index: var(--z-modal);
}

/* ボタン用: 3D傾斜を無効化し、光沢のみ表示 */
.c-button__arrow.js-holo-effect,
.c-button__contact.js-holo-effect {
  transform: none;
  /* 3D傾斜を無効化 */
  overflow: hidden;
  /* ホログラムのはみ出しを防止 */
  border-radius: var(--border-radius-full);
  /* ボタンはピル形状 */
}

/* カード用: 3D傾斜を無効化し、光沢のみ表示 */
.c-card.js-holo-effect {
  transform: none;
  /* 3D傾斜を無効化 */
  /* overflow と border-radius は .c-card__link で設定済み */
}

.c-button__arrow.js-holo-effect.is-active,
.c-button__contact.js-holo-effect.is-active,
.c-card.js-holo-effect.is-active {
  transform: none;
  /* ホバー時も傾斜なし */
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
}

@keyframes slideArrow {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(6px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideArrowPrev {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-6px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-2px);
  }

  50% {
    transform: translateY(-4px);
  }

  75% {
    transform: translateY(-2px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    transform: scale(.8);
    border-radius: var(--border-radius-xl);
  }

  to {
    transform: scale(1);
    border-radius: 0;
  }
}

@keyframes scaleIn {
  0% {
    transform: scale(1.05);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scaleOut {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  to {
    transform: scale(1.05);
    opacity: 0;
  }
}

@keyframes slideOut {
  0% {
    transform: scale(1);
    border-radius: 0;
  }

  to {
    transform: scale(.8);
    border-radius: var(--border-radius-xl);
    opacity: 0;
  }
}

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

  to {
    opacity: 1;
  }
}

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

  to {
    opacity: 0;
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ==========================================================================
   Swup Transitions
   ========================================================================== */
.transition-fade {
  transition: opacity 0.4s;
  opacity: 1;
}

html.is-changing .transition-fade {
  opacity: 0;
}

html.is-changing .l-footer {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* ==========================================================================
   Three.js ディスプレイスメントスライダー
   ========================================================================== */

/* WebGLキャンバス */
.displacement-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-above);
}

/* ==========================================================================
   KVスライダー アニメーションキーフレーム (復元)
   ========================================================================== */
@keyframes scale-out {
  0% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes scale-in-hor-left {
  0% {
    transform: translateX(-100%) scaleX(0);
    transform-origin: 0% 0%;
    opacity: 1;
  }

  50% {
    transform: translateX(-50%) scaleX(0.5);
    transform-origin: 0% 0%;
    opacity: 1;
  }

  100% {
    transform: translateX(0) scaleX(1);
    transform-origin: 0% 0%;
    opacity: 1;
  }
}

.c-image-duo__item--main,
.c-image-duo__item--sub,
.c-image-solo__item--right,
.c-image-solo__item--left,
.c-section-heading__img {
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

.c-title__primary .__lang-en,
.c-title__primary .__lang-ja,
.c-title__secondary .__text,
.c-heading__body .text-base,
.js-curtain {
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(to right, var(--color-text-primary) 50%, rgba(0, 0, 0, 0.5) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  will-change: background-position;
}

@media screen and (max-width: 767.98px) {

  .c-image-duo__item--main,
  .c-image-duo__item--sub,
  .c-image-solo__item--right,
  .c-image-solo__item--left,
  .c-section-heading__img {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .c-title__primary .__lang-en,
  .c-title__primary .__lang-ja,
  .c-title__secondary .__text,
  .c-heading__body .text-base,
  .js-curtain {
    background-position: 0 0 !important;
    color: inherit;
  }

  .l-footer {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

.c-title__primary .__lang-ja::before {
  background-color: var(--color-text-primary) !important;
}

.c-section-heading__content.text-white .c-title__primary .__lang-ja::before,
.c-title__primary.cover-white .__lang-ja::before {
  background-color: var(--color-bg-body);
}

.c-section-heading__content.text-white .c-title__primary .__lang-en,
.c-section-heading__content.text-white .c-title__primary .__lang-ja,
.c-section-heading__content.text-white .c-title__secondary .__text,
.c-section-heading__content.text-white .c-heading__body .text-base {
  background-image: linear-gradient(to right, #fff 50%, rgba(255, 255, 255, 0.5) 50%);
}

.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ==========================================================================

*/
.top-case {
  position: relative;
  overflow: hidden;
  padding-top: var(--section-spacing);
}

.top-case:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 56%;
  background: var(--color-yellow);
}

@media screen and (max-width: 1023.98px) {
  .top-case:before {
    height: 48%;
  }
}

@media screen and (max-width: 767.98px) {
  .top-case:before {
    height: 80%;
  }
}

.top-case .l-container {
  overflow: visible;
}

/* ============================================
導入事例詳細 (.p-case-detail)
=============================================*/

.p-case-detail__header {
  max-width: var(--width-article-detail);
  margin: 0 auto var(--space-xl);
}

.p-case-detail__content {
  max-width: var(--width-article-detail);
  margin: 0 auto calc(var(--space-8xl) * 2);
  margin-bottom: calc(var(--space-5xl) * -2.5);
  padding-top: calc(var(--space-5xl) * 2.5);
  padding-bottom: calc(var(--space-5xl) * 2.5);
}

@media screen and (max-width: 1023.98px) {
  .p-case-detail__content {
    padding: var(--space-3xl) 0 var(--space-3xl) 0;
    margin-bottom: var(--space-xl);
  }
}

/* セクション全体 */
/* ============================================
   ケース詳細: セクション
   ============================================ */

/* セクション全体 */
.p-case-detail__section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: var(--section-spacing);
  padding-bottom: calc(24vw - var(--section-spacing));
}

@media screen and (max-width: 1023.98px) {
  .p-case-detail__section {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }
}

@media screen and (max-width: 767.98px) {
  .p-case-detail__section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
}

/* Leftレイアウト（画像左）の画像を大きくする調整 */
.p-case-detail__section--left .c-image-duo__item--main {
  width: 47vw;
  padding-top: 43.2vw;
}

.p-case-detail__section--left {
  padding-bottom: calc(27vw - var(--section-spacing));
}

@media screen and (max-width: 1023.98px) {
  .p-case-detail__section--left {
    padding-bottom: var(--space-4xl);
  }
}

@media screen and (max-width: 767.98px) {
  .p-case-detail__section--left {
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media screen and (max-width: 1023.98px) {
  .p-case-detail__section--left .c-image-duo__item--main {
    width: 60vw;
    padding-top: 48vw;
  }
}

@media screen and (max-width: 767.98px) {
  .p-case-detail__section--left .c-image-duo__item--main {
    width: 80vw;
    padding-top: 48vw;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 1023.98px) {
  .p-case-detail__grid {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    margin-bottom: 0;
  }
}

/* ==========================================================================
   サービス関連セクション (Solution, Reason, Equipment, FAQ)
   ========================================================================== */
.c-problem-solving {
  position: relative;
  margin-top: var(--section-spacing);
  padding: var(--section-spacing) 0;
  overflow: hidden;
}

@media screen and (max-width: 767.98px) {
  .c-problem-solving {
    background: var(--color-grad-blue-light);
  }
}

.c-problem-solving__bg-layer {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-base);
  pointer-events: none;
}

@media screen and (max-width: 767.98px) {
  .c-problem-solving__bg-layer {
    display: none;
  }
}

.c-problem-solving__bg-problem {
  width: 50%;
  background-color: var(--color-bg-light);
}

.c-problem-solving__bg-solution {
  width: 50%;
  background: var(--color-border);
}

/* コンテンツ */
.c-problem-solving__content {
  position: relative;
  z-index: var(--z-content);
}

/* グローバルヘッダー */
.c-problem-solving__global-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-2xl);
  text-align: center;
}

@media screen and (max-width: 767.98px) {
  .c-problem-solving__global-header {
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
  }
}

.c-problem-solving__header-col {
  width: 50%;
  color: var(--color-text-primary);
  font-size: var(--font-xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
}

@media screen and (max-width: 767.98px) {
  .c-problem-solving__header-col {
    width: 100%;
    font-size: var(--font-lg);
  }
}

.c-problem-solving__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

@media screen and (max-width: 767.98px) {
  .c-problem-solving__list {
    gap: var(--space-xl);
  }
}

.c-problem-solving__item {
  display: grid;
  position: relative;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media screen and (min-width: 768px) {
  .c-problem-solving__item {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: var(--space-3xl);
  }
}

.c-problem-solving__item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: var(--z-content);
  width: var(--space-xl);
  height: var(--space-xl);
  transform: translate(-50%, -50%) rotate(0deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 17l5-5-5-5M6 17l5-5-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media screen and (max-width: 767.98px) {

  /* スマホ用：課題と解決の間に下向き矢印を表示 */
  .c-problem-solving__item::after {
    top: calc(50% - var(--space-2xl));
    transform: translate(-50%, -50%) rotate(90deg);
  }
}

/* 課題サイド */
.c-problem-solving__problem {
  display: flex;
  position: relative;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
}

@media screen and (min-width: 768px) {
  .c-problem-solving__problem {
    flex: none;
    width: 100%;
  }
}

@media screen and (max-width: 767.98px) {
  .c-problem-solving__problem {}
}

.c-problem-solving__title {
  margin: 0 0 var(--space-md);
  font-size: var(--font-lg);
  line-height: var(--line-height-tight);
}

.c-problem-solving__title strong {
  display: inline-block;
  margin: 0 var(--space-xs);
  padding: 0.2em 0.5em;
  background: var(--color-accent-light);
  border-radius: var(--border-radius-sm);
  color: var(--color-text-primary);
  font-weight: var(--font-weight-bold);
}

.c-problem-solving__checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-problem-solving__check-item {
  position: relative;
  margin-bottom: var(--space-xs);
  padding-left: 1.5em;
  color: var(--color-text-secondary);
  font-size: var(--font-base);
  line-height: var(--line-height-normal);
}

.c-problem-solving__check-item::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 0.8em;
  height: 0.4em;
  border-left: 2px solid var(--color-text-primary);
  border-bottom: 2px solid var(--color-text-primary);
  transform: rotate(-45deg);
}

/* 解決策サイド */
.c-problem-solving__solution {
  display: flex;
  position: relative;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  text-align: left;
}

@media screen and (min-width: 768px) {
  .c-problem-solving__solution {
    flex: none;
    width: 100%;
  }
}

@media screen and (max-width: 767.98px) {
  .c-problem-solving__solution {
    position: relative;
    background: var(--color-bg-body);
  }
}

.c-problem-solving__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.c-problem-solving__icon {
  position: relative;
}

.c-problem-solving__icon svg {
  width: 60px;
  height: 60px;
  color: var(--color-text-primary);
  stroke-width: 1;
}

.c-problem-solving__icon::after {
  display: none;
}

.c-problem-solving__solution-title {
  color: var(--color-blue-deep);
  font-size: var(--font-lg);
  font-weight: var(--font-weight-bold);
}

.c-problem-solving__desc {
  color: var(--color-text-primary);
  font-size: var(--font-base);
  line-height: var(--line-height-relaxed);
  text-align: center;
}

.c-problem-solving__desc strong {
  padding: 0 0.2em;
  background: linear-gradient(transparent 60%, var(--color-yellow) 60%);
  color: var(--color-text-primary);
  font-weight: var(--font-weight-bold);
}

.p-case-profile {
  max-width: var(--width-article-detail);
  margin: 0 auto;
  padding: var(--space-xl);
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius-lg);
}

.p-case-profile__title {
  display: inline-block;
  width: 100%;
  margin-top: 0;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-text-primary);
  font-size: var(--font-lg);
  font-weight: var(--font-weight-bold);
  text-align: center;
}

@media screen and (max-width: 767.98px) {
  .p-case-profile__title {
    font-size: var(--font-md);
  }
}

.p-case-profile__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-case-profile__term {
  display: block;
  position: relative;
  min-width: 150px;
  margin-right: var(--space-sm);
  padding-left: var(--space-md) !important;
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
}

@media screen and (max-width: 767.98px) {
  .p-case-profile__term {
    min-width: auto;
    margin-bottom: var(--space-xs);
  }
}

.p-case-profile__term::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  transform: translateY(-50%);
  background-color: var(--color-text-primary);
  border-radius: 50%;
}

.p-case-profile__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  text-align: left;
}

@media screen and (max-width: 767.98px) {
  .p-case-profile__item {
    flex-direction: column;
    align-items: flex-start;
  }
}

#case-detail .c-title__primary .__lang-ja {
  padding-left: var(--space-md);
  font-size: var(--font-3xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

#case-detail .c-title__primary .__lang-ja::before {
  background-color: var(--color-text-primary);
}

#case-detail .c-title__primary {
  display: flex;
  flex-direction: column;
}

#case-detail .c-title__primary .__lang-en {
  display: block;
  position: relative;
  padding-left: var(--space-md);
  font-family: var(--font-family-en);
  font-size: var(--font-base);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

#case-detail .c-title__primary .__lang-en::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  transform: translateY(-50%);
  background-color: var(--color-text-primary);
  border-radius: var(--border-radius-full);
}

#case-detail .c-title__primary .__lang-ja::before {
  content: none;
  display: none;
}

#case-detail .c-title__primary .__lang-ja {
  padding-left: 0;
}

.top-company {
  position: relative;
  margin-top: var(--section-spacing);
  padding-top: var(--section-spacing);
  padding-bottom: calc(49vw - var(--section-spacing));
}

@media screen and (max-width: 1023.98px) {
  .top-company {
    padding-bottom: 0;
  }
}

@media screen and (max-width: 767.98px) {
  .top-company {
    margin-top: 0;
  }
}

.top-company .container {
  position: relative;
  z-index: var(--z-above);
}

@media screen and (max-width: 1023.98px) {

  .top-company__body {
    margin: var(--space-lg) 0 0;
  }

  .top-company .c-button__wrap {
    display: flex;
    justify-content: flex-end;
  }
}

.p-company__content {
  max-width: var(--width-article-detail);
  margin: 0 auto;
  padding-top: var(--space-5xl);
  padding-bottom: var(--space-5xl);
}

@media screen and (max-width: 1023.98px) {
  .p-company__content {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }
}

.p-company__content p {
  color: var(--color-text-primary);
  font-size: var(--font-base);
  line-height: var(--line-height-relaxed);
}

.p-company__content .c-title__secondary {
  margin-bottom: var(--space-xl);
}

.p-company__content section {
  padding-bottom: var(--section-spacing);
}

.p-company__content section:last-child {
  padding-bottom: 0;
}

@media screen and (max-width: 767.98px) {
  .p-company__content section {
    padding-bottom: var(--space-4xl);
  }
}

/* ========================================================================== */
.c-contact-area {
  position: relative;
  z-index: var(--z-content);
  overflow: hidden;
  padding: var(--section-spacing) 0;
  --contact-reveal-color: transparent;
  color: var(--contact-reveal-color);
  background: var(--color-blue-pale);
}

.c-contact-area .c-title__primary,
.c-contact-area .c-title__secondary,
.c-contact-area .c-button__arrow,
.c-contact-area .c-heading__body {
  color: inherit;
}

.c-contact-area .c-section-heading--cols {
  gap: 0;
}

@media screen and (max-width: 1023.98px) {
  .c-contact-area .c-section-heading--cols {
    flex-direction: row;
  }
}

@media screen and (max-width: 767.98px) {
  .c-contact-area .c-section-heading--cols {
    flex-direction: column;
  }
}

.c-contact-area .c-section-heading__img.img-sm {
  top: -12px;
  left: -12%;
}

@media screen and (max-width: 1023.98px) {
  .c-contact-area .c-section-heading__img.img-sm {
    left: -6vw;
  }
}

.c-contact-area .c-section-heading {
  position: relative;
  width: 100%;
  padding-bottom: var(--space-6xl);
}

.c-contact-area .c-button__wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  margin-top: 0;
}

@media screen and (max-width: 767.98px) {
  .c-contact-area .c-section-heading__content {
    flex: 1 1 auto;
  }

  .c-contact-area .c-section-heading {
    position: static;
    gap: var(--space-md);
    padding-bottom: 0;
  }

  .c-contact-area .c-button__wrap {
    position: static;
    right: 0;
    margin-top: 0;
  }
}

.c-contact-area .c-section-heading__group {
  flex: 1;
  width: 100%;
  min-width: 0;
}

@media screen and (max-width: 1023.98px) {
  .c-contact-area .c-section-heading__group {
    flex: 0 0 40vw;
  }
}

@media screen and (max-width: 767.98px) {
  .c-contact-area .c-section-heading__group {
    display: contents;
  }

  .c-contact-area .c-section-heading__content {
    order: 1;
    width: 100%;
  }

  .c-contact-area .c-section-heading__images {
    order: 2;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
  }

  .c-contact-area .c-button__wrap {
    display: flex;
    order: 3;
    justify-content: center;
    width: 100%;
    margin-top: 0;
  }
}

.c-contact-area:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: var(--color-bg-light);
}

/* Contact Area - コンテンツの一部として振る舞い、KVを隠す（JS依存撤廃） */
.c-contact-area {
  position: relative;
  z-index: 2;
  /* Contentと同じ */
  background-color: var(--color-black);
  width: 100%;
}

/* --------------------------------------------
   Layout - コンテンツラッパーの透過防止徹底
   -------------------------------------------- */

/* WebGL Canvas (KV) - Slider内に収めるためFixed解除 */
canvas.displacement-canvas {
  /* position: fixed !important; -> 削除: Slider枠外へのはみ出し原因 */
  /* z-index: -1 !important; -> 削除: .top-kvで制御 */
  pointer-events: none;
}

/* KV Section - Default Layout (Parallax Disabled) */
.top-kv {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100svh;
  overflow: hidden;
  z-index: 0;
}

/* Swup対策: トップページ以外ではKV/Canvasを強制非表示 */
body:not(.home):not(.front-page) canvas.displacement-canvas,
body:not(.home):not(.front-page) .top-kv {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Body - Footerが見えるように背景を透明に */
body {
  background-color: transparent !important;
}

/* Footer - KVより手前、コンテンツより後ろ */
/* Footer - KVより手前、コンテンツより後ろ */
.l-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 0 !important;
  background-color: #111 !important;
  /* 確実に不透明な色を指定してKVの透過を防ぐ */
}

/* コンテンツラッパー - 背景色を設定して透けないようにする */
#content {
  position: relative;
  z-index: var(--z-content);
  /* 2 */
  background-color: var(--color-bg-body);
  width: 100%;
}

.l-main {
  position: relative;
  z-index: var(--z-content);
  background-color: var(--color-bg-body);
  padding-top: var(--space-4xl);
  padding-bottom: var(--section-spacing);
}

.p-service-faq,
.p-service-flow,
.p-service-trouble {
  background-color: var(--color-bg-body);
  position: relative;
  z-index: var(--z-content);
}

@media screen and (max-width: 767.98px) {
  .l-main {
    padding-top: var(--space-3xl);
  }
}

/* ==========================================================================
   Top Page Fixes - 固定KV対策
   ========================================================================== */

/* トップページ直下のセクション（KV以外）は確実に背景を持ち、KVの上に来るようにする */
main#top>section:not(.top-kv) {
  position: relative;
  z-index: 2;
  /* #contentと同じレベルかそれ以上 */
  background-color: var(--color-bg-body) !important;
}

/* .top-serviceのみうっすら背景色 */
.top-service {
  background-color: var(--color-blue-pale) !important;
}

/* 個別セクションの強化 */
.top-about,
.top-service,
.top-case,
.top-news,
.top-company {
  position: relative;
  z-index: 2;
  background-color: var(--color-bg-body) !important;
}

/* 404 (エラーページ) - Swing Effect */

/* アニメーション用変数定義 */
@property --swing-x {
  initial-value: 0;
  inherits: false;
  syntax: '<integer>';
}

@property --swing-y {
  initial-value: 0;
  inherits: false;
  syntax: '<integer>';
}

.p-error-404 {
  --speed: 2s;
  --bg: var(--color-grad-blue-medium);
  --header: var(--color-bg-light);
  /* 背景が濃色になるため文字は白系に */
  --lit-header: var(--color-off-white);
  --shadow: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg);
  color: var(--color-off-white);
  /* ベース文字色を白に */
  font-family: var(--font-family-base);
  perspective: 1200px;
  overflow: hidden;
  position: relative;
}

/* クローク（背景アニメーション） */
.p-error-404__cloak-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.p-error-404__cloak-container {
  height: 250vmax;
  width: 250vmax;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.p-error-404__cloak {
  height: 100%;
  width: 100%;
  animation: swing var(--speed) infinite alternate-reverse ease-in-out;
  transform-origin: 50% 30%;
  transform: rotate(calc(var(--swing-x) * -0.25deg));
  background: radial-gradient(40% 40% at 50% 42%, transparent, rgba(0, 0, 0, 0.05) 35%);
}

/* メインコンテンツ */
.p-error-404__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-xl);
}

.p-error-404__title {
  animation: swing var(--speed) infinite alternate ease-in-out;
  font-size: clamp(8rem, 40vmin, 20rem);
  font-family: var(--font-family-en);
  font-weight: 800;
  margin: 0;
  margin-bottom: var(--space-lg);
  letter-spacing: 1rem;
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0vmin);
  --x: calc(50% + (var(--swing-x) * 0.5) * 1%);
  background: var(--color-bg-body);
  /* 背景と同じグラデーション */
  background-size: 200% 200%;
  background-position: 100% 0%;
  /* 角度や位置をずらして視認性を確保 */
  -webkit-background-clip: text;
  color: transparent;
  /* 輝度を上げて背景より明るくし、ドロップシャドウで浮き上がらせる */
  filter: brightness(1.3) drop-shadow(0 0 10px var(--color-grad-blue-light));
  position: relative;
}

.p-error-404__title::after {
  content: "404";
  position: absolute;
  top: 0;
  left: 0;
  animation: swing var(--speed) infinite alternate ease-in-out;
  color: rgba(0, 0, 0, 0.2);
  filter: blur(2vmin);
  transform: scale(1.05) translate3d(0, 12%, -10vmin) translate(calc((var(--swing-x, 0) * 0.05) * 1%), calc((var(--swing-y) * 0.05) * 1%));
  z-index: -1;
  opacity: 0.4;
}

.p-error-404__info {
  text-align: center;
  line-height: var(--line-height-relaxed);
  max-width: clamp(16rem, 90vmin, 30rem);
  margin: 0 auto;
}

.p-error-404__message {
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2xl);
  color: var(--color-text-primary);
}

/* メッセージ内の白文字強調用 */
.p-error-404__message .u-text-white {
  display: inline-block;
  margin-top: var(--space-xs);
  color: var(--color-text-primary);
  font-size: var(--font-sm);
}

.p-error-404 .c-button__contact {
  color: var(--color-off-white);
}

/* ボタン（.c-button__contact を使用するため固有スタイルは削除） */
/* マウス追従用背景 */
.p-error-404__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  /* 必要に応じて背景画像やパターンを追加 */
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  opacity: 0.5;
}

/* アニメーションキーフレーム */
@keyframes swing {
  0% {
    --swing-x: -100;
    --swing-y: -100;
  }

  50% {
    --swing-y: 0;
  }

  100% {
    --swing-x: 100;
    --swing-y: -100;
  }
}

@media screen and (max-width: 767.98px) {
  .p-error-404__title {
    font-size: 20vmin;
    margin-bottom: var(--space-md);
  }

  .p-error-404__button {
    min-width: 240px;
    height: 54px;
  }
}