/* 石鎚アウトドアベース — shared styles beyond Tailwind utilities (ダイナミック・アウトドアアクティブ) */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

.font-heading {
  font-family: "M PLUS 1", "Noto Sans JP", sans-serif;
}

section[id] {
  scroll-margin-top: 84px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero background photo */
.hero-bg {
  background-size: cover;
  background-position: center;
}

#site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F4F7F5;
}
::-webkit-scrollbar-thumb {
  background: #67D3E3;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1B4332;
}

.card-lift {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-lift:hover {
  transform: translateY(-6px) rotate(-0.4deg);
}

/* Section eyebrow with a tilted active-orange chip */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: #F97316;
  margin-right: 9px;
  vertical-align: middle;
  border-radius: 2px;
  transform: skewX(-12deg);
}

#mobile-nav {
  transition: max-height 0.4s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-nav.open {
  max-height: 700px;
  opacity: 1;
}

.spinner {
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 9999px;
  width: 16px;
  height: 16px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Diagonal wedge dividers between sections — creates the "斜めに区切られたセクション" energy */
.wedge {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.wedge svg {
  display: block;
  width: 100%;
  height: 46px;
}
@media (min-width: 640px) {
  .wedge svg { height: 64px; }
}

/* Slightly tilted badge chip, used for tags/labels to add movement */
.badge-tilt {
  transform: rotate(-3deg);
}

/* Floating blurred color blobs for hero / section backdrops */
.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(46px);
  opacity: 0.5;
  z-index: 0;
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(10px); }
}
@keyframes float-slower {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(16px) translateX(-14px); }
}
.float-slow { animation: float-slow 7s ease-in-out infinite; }
.float-slower { animation: float-slower 9s ease-in-out infinite; }

/* Subtle topographic contour-line texture, used as an overlay on dark sections */
.contour-bg {
  background-image:
    repeating-radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.07) 0, rgba(255, 255, 255, 0.07) 1px, transparent 1px, transparent 28px),
    repeating-radial-gradient(circle at 82% 70%, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 34px);
}

/* Diagonal accent rule under headings */
.slash-underline {
  position: relative;
  display: inline-block;
}
.slash-underline::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -0.12em;
  height: 0.3em;
  background: rgba(249, 115, 22, 0.28);
  transform: skewX(-12deg);
  z-index: -1;
}
