/*=================================================================
                           Accessibility
=================================================================*/
@property --color1 {
  syntax: '<color>';
  inherits: false;
  initial-value: #52711a;
}
@property --color2 {
  syntax: '<color>';
  inherits: false;
  initial-value: #5ea215;
}
@property --c_spacing {
  syntax: '<length>';
  inherits: true;
  initial-value: 8px;
}


:root {
  --ease: cubic-bezier(.250,.100,.250,1.000);
  --bs-primary-rgb: 10, 102, 204;
}


.a11y {
  display: inline-block;
  &:not(:focus):not(:focus-within) {
    position: absolute;
    margin: -1px;
    padding: 0;
    inline-size: 1px;
    block-size: 1px;
    white-space: nowrap;
    clip: rect(0, 0, 0, 0);
    border: 0;
    overflow: hidden;  
	z-index:9999;
  }
  
  
}
.acKey {
  position: fixed;
  top: 0;
  left: 0;

  z-index: 999999;

  display: none;   /* 平常隱藏 */

  background: #005fcc;
  color: #fff;
  padding: 10px;
  text-decoration: none;
}


.acKey:focus {
  display: block;
}

/*==================================
                Button
====================================*/
.btn {
  &:focus-visible {
    outline: 3px dashed var(--color2);
  }
  &.btn_color1 {
    &:focus-visible {
      color: #fff;
      background-color: var(--color2);
      outline: 3px dashed var(--color2);
    }
  }
  &.btn_link {
    &:focus-visible {
      background-color: #e0f5b1;
    }
  }
}

/*==================================
                Banner
====================================*/
.swiper {
  --swiper-pagination-bullet-size: 14px;
  --swiper-pagination-bullet-inactive-opacity: .5;

  &.is-stop {
    .swiper-switch {
      &:before {
        content: '\f04b';
      }
    }
  }
  .swiper-switch {
    z-index: 11;
    position: absolute;
    inset-block-end: var(--c_spacing);
    inset-inline-start: var(--c_spacing);
    inline-size: 4rem;
    block-size: 4rem;
    background-color: #e5eaac;
    border: 0;
    border-radius: 12px;
    transition: background-color 300ms var(--ease);
    cursor: pointer;
    &:hover, &:active {
      background-color: #9eaf33;
      &:before {
        color: #fafaeb;
        font-size: clamp(1.4rem, 0.13vw + 1.36rem, 1.6rem);
      }
    }
    &:before {
      content: "\f04c";
      color: #9eaf33;
      font-size: clamp(1.6rem, 0.13vw + 1.56rem, 1.8rem);
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      transition: font-size 250ms var(--ease);
    }
  }
  .swiper-pagination {
    left: calc(8 * var(--c_spacing));
    width: auto;
    .swiper-pagination-bullet {
      background: hsla(0, 0%, 100%, .8);
    }
    .swiper-pagination-bullet-active {
      background-color: var(--color2);
    }
  }
}

/*TEST3*/


