/* 全体ラッパーの幅調整 */
.wrapper {
  width: 90%;
  margin: 0 auto;
}

/* スライダーの背景画像用 */
.slider-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.slider-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* スライダーのドット */
.dot {
  transition: background-color 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
}

.dot.active {
  background-color: white;
  opacity: 1;
}

/* オプション：フォームやテキストに余白感が欲しい時は以下追加してもOK */
/*
input, textarea {
  border-radius: 4px;
}
*/
nav a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

nav a:hover {
  border-bottom: 2px solid black;
}
.rotate-90 {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}
.header-shadow {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Firefox 対応 */
.scrollbar-hide {
  scrollbar-width: none;
}


@keyframes scroll-carousel {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-carousel {
  animation: scroll-carousel 20s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.blinking-cursor {
  font-weight: 600;
  color: white;
  animation: blink 0.9s steps(2, start) infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  49% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}


@tailwind base;
@tailwind components;
@tailwind utilities;


@layer utilities {
  .animate-spin-slow {
    animation: spin 10s linear infinite;
  }



  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
}

@layer base {
  body {
    font-family: 'Calibri', sans-serif;
    font-size: 12pt;
    color: #000;
  }

  h1 {
    font-family: 'Georgia', serif;
    font-size: 28pt;
    color: rgb(160, 132, 99); /* Bronze */
  }



  h2 {
    font-family: 'Georgia', serif;
    font-size: 22pt;
    color: rgb(66, 71, 84); /* Charcoal */
  }

  h3 {
    font-family: 'Georgia', serif;
    font-size: 18pt;
    color: rgb(7, 122, 153); /* Blue */
  }
}
.blinking-cursor {
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}


/* 自動音声 */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  font-size: 16px;
}

.skip-link:focus {
  top: 0;
}
