/* --------------------------------------------------------------------------
   Okazaki ENT Clinic - Main CSS
   -------------------------------------------------------------------------- */

body {
    font-family: "BIZ UDGothic", sans-serif;
    color: #1d1d1f;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.font-heading {
    font-family: "Montserrat", "Inter", "BIZ UDGothic", sans-serif;
    letter-spacing: -0.02em;
}

/* Heading Highlight Style */
.heading-marker {
    background: linear-gradient(transparent 70%, rgba(0, 102, 204, 0.1) 0%);
}

/* Custom Gradient for Hero Background */
.hero-gradient {
    background: linear-gradient(135deg, #8ec5eb 0%, #5b9bd5 100%);
}

/* Sticky Header with Backdrop Filter */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Premium Card with Glass Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
}

/* Multi-line Truncation (Safety Fallback) */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

/* Scroll Animation Initial State - Elevated & Subtle */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger Animation Delays */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* Micro-animations for Buttons */
.btn-hover-effect {
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(91, 155, 213, 0.2);
}

.fa-alternate-nose {
  display: inline-block;
  width: 1em;
  height: 1em;
  /* 自前SVGのパスを指定 */
  background-color: currentColor; 
  mask-image: url('../img/assets/nose.svg');
  mask-repeat: no-repeat;
  mask-size: contain;
  /* ブラウザ互換性のためのベンダープレフィックス */
  -webkit-mask-image: url('../img/assets/nose.svg');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}