/*
|---------------------------------------------------------------
| qinc2026-kachinote-hero.css - カチノテ ヒーローセクション
|---------------------------------------------------------------
*/

/* ==========================================================================
   Section: Kachinote Hero
   ========================================================================== */
.kachinote-hero {
  position: relative;
  padding: 180px 0;
  margin: 0 30px;
  overflow: hidden;
}

/* Background
   ========================================================================== */
.kachinote-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(146deg, #1a1d6f 2%, #020441 44%, #020441 64%, #1a1d6f 100%);
  border-radius: 20px;
  overflow: hidden;
}

.kachinote-hero__bg-image {
  position: absolute;
  top: 72%;
  right: -32%;
  width: 100%;
  height: auto;
  transform: translate(0, -50%) rotate(19.6deg);
  transform-origin: center center;
  mix-blend-mode: lighten;
  opacity: 0.2;
  pointer-events: none;
}

/* Inner
   ========================================================================== */
.kachinote-hero__inner {
  position: relative;
  max-width: 1520px;
  padding: 0 40px;
  z-index: 1;
  display: flex;
  align-items: center;
}

/* Content (Left)
   ========================================================================== */
.kachinote-hero__content {
  position: relative;
  z-index: 2;
  max-width: 642px;
  text-align: center;
}

/* En Group: Label + Subtitle wrapper (width = subtitle width) */
.kachinote-hero__en-group {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
}

.kachinote-hero__label {
  display: block;
  width: 100%;
  padding: 8px 32px;
  border: 1px solid var(--color-gold, #c5a059);
  font-family: var(--font-family-en, "Montserrat", sans-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-gold, #c5a059);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  box-sizing: border-box;
}

.kachinote-hero__subtitle {
  margin: 16px 0 0;
  font-family: var(--font-family-en, "Montserrat", sans-serif);
  font-size: 35px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 3.5px;
  white-space: nowrap;
}

.kachinote-hero__title {
  margin: 8px 0 0;
  font-family: var(--font-family-en, "Montserrat", sans-serif), var(--font-family-ja, "Noto Sans JP", sans-serif);
  font-size: 91px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1.2;
}

.kachinote-hero__lead {
  margin: 32px 0 0;
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  line-height: 1.7;
  letter-spacing: 1.4px;
  font-feature-settings: "palt" 1;
}

.kachinote-hero__lead strong {
  color: var(--color-gold, #c5a059);
  font-weight: 800;
}

/* Image (Right) - absolute positioned like top-hero
   ========================================================================== */
.kachinote-hero__image {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 868px;
  animation: kachinote-hero-fade-in 0.8s ease-out forwards;
}

@keyframes kachinote-hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 20px));
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

.kachinote-hero__image-main {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.4));
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .kachinote-hero {
    padding: 150px 0;
  }

  .kachinote-hero__title {
    font-size: 72px;
  }

  .kachinote-hero__subtitle {
    font-size: 28px;
  }

  .kachinote-hero__lead {
    font-size: 22px;
  }

  .kachinote-hero__image {
    width: 50%;
  }
}

@media (max-width: 1024px) {
  .kachinote-hero {
    margin: 0 16px;
    padding: 60px 0;
  }

  .kachinote-hero__inner {
    flex-direction: column;
    gap: 48px;
  }

  .kachinote-hero__content {
    max-width: 100%;
  }

  .kachinote-hero__title {
    font-size: 64px;
  }

  .kachinote-hero__lead {
    margin: 20px 0 0;
  }

  .kachinote-hero__bg-image {
    top: 40%;
    right: -15%;
    width: 110%;
  }

  .kachinote-hero__image {
    position: static;
    transform: none;
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
    animation-name: kachinote-hero-fade-in-sp;
  }
}

@keyframes kachinote-hero-fade-in-sp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .kachinote-hero {
    margin: 0 12px;
    padding: 48px 0;
  }

  .kachinote-hero__bg {
    border-radius: 12px;
  }

  .kachinote-hero__label {
    font-size: 14px;
    padding: 6px 20px;
  }

  .kachinote-hero__subtitle {
    font-size: 20px;
    letter-spacing: 2px;
    white-space: normal;
  }

  .kachinote-hero__title {
    font-size: 48px;
  }

  .kachinote-hero__lead {
    font-size: 18px;
  }

  .kachinote-hero__lead br {
    display: none;
  }

  .kachinote-hero__image {
    width: 100%;
    max-width: 400px;
  }
}
