/* ==========================================
   ヒーローセクション
========================================== */
.hero {
  background-image: url('../../img/mv.png');
  background-size: cover;
  background-position: center;
  height: 632px;
  max-height: 632px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  color: var(--color-white);
  text-align: center;
  padding: 83px 15px 0;
  position: relative;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.hero-title {
  font-family: var(--font-mincho);
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
}

.hero-title-line1 {
  position: relative;
  font-size: 7.47vw;
  font-weight: 500;
  z-index: 1;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 97%;
    height: 7px;
    background-color: #f0e9cd;
    z-index: -1;
  }

  @media (min-width: 414px) {
    font-size: 35px;
  }
}

.hero-title-line2 {
  position: relative;
  font-size: 5.333333vw;
  letter-spacing: 0;
  font-weight: 500;
  line-height: 1;
  margin-left: 3px;

  @media (min-width: 414px) {
    font-size: 20px;
  }
}

.hero-title-line3 {
  position: relative;
  font-size: 7.47vw;
  font-weight: 500;
  line-height: 1;
  z-index: 1;
  white-space: nowrap;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 97%;
    height: 7px;
    background-color: #f0e9cd;
    z-index: -1;
  }

  @media (min-width: 414px) {
    font-size: 28px;
  }
}

.hero-title-copy {
  font-size: 5.33vw;
  font-weight: 500;
  letter-spacing: 0.104em;
  margin: 0 auto;

  @media (min-width: 414px) {
    font-size: 24px;
  }
}

.hero-title-small {
  font-size: 5.33vw;
  font-weight: 500;
  margin: 0 2px;

  @media (min-width: 414px) {
    font-size: 24px;
  }
}

.hero-line {
  display: block;
}

.hero-subtitle {
  font-size: var(--font-lg);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-weight: 500;
}

.hero-patent {
  position: absolute;
  top: 172px;
  left: 15px;
  width: 76px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.hero-banner {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 100%;
  max-width: 188px;
}

.patent-badge {
  background-color: var(--color-secondary);
  padding: 20px 20px;
  border-radius: var(--radius-full);
}

.patent-note {
  font-size: var(--font-sm);
}

.hero-buttons {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 62px;
  display: flex;
  width: 100%;
  max-width: 345px;
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
  z-index: 100;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;

  @media (min-width: 1024px) {
    display: none;
  }
}

.btn-hero-primary,
.btn-hero-secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 62px;
  padding: 0 var(--space-xl);
  font-size: var(--font-lg);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  transition: var(--transition);
}

.btn-hero-primary .arrow-icon,
.btn-hero-secondary .arrow-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  vertical-align: middle;
}

.btn-hero-primary {
  position: relative;
  border-radius: var(--radius-xs);
  background: linear-gradient(180deg, #68000a 0%, #a51924 100%);
  color: var(--color-gold);
  isolation: isolate;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-xs) 0 0 var(--radius-xs);
  background: linear-gradient(
    0deg,
    rgba(68, 0, 6, 1) 0%,
    rgba(68, 0, 6, 1) 100%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
}

.btn-hero-primary:hover::before {
  opacity: 1;
}

.btn-hero-secondary {
  position: relative;
  background: linear-gradient(180deg, #b97f3e 0%, #f8efa4 100%);
  color: #222;
  isolation: isolate;
}

.btn-hero-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(153, 108, 56, 0.4) 0%,
    rgba(153, 108, 56, 0.4) 100%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
}

.btn-hero-secondary:hover::before {
  opacity: 1;
}

.hero-note {
  font-size: var(--font-xs);
  opacity: 0.9;
}

/* ==========================================
   キャンペーンバナー
========================================== */
.campaign-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #6b1520 100%);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.campaign-label {
  font-size: var(--font-md);
  margin-bottom: var(--space-sm);
}

.campaign-date {
  font-size: var(--font-2xl);
  font-weight: bold;
  margin-bottom: var(--space-lg);
}

.campaign-prize {
  margin-bottom: var(--space-lg);
}

.prize-title {
  font-size: var(--font-xl);
  font-weight: bold;
  margin-bottom: var(--space-xs);
}

.prize-detail {
  font-size: var(--font-md);
}

.campaign-link {
  display: inline-block;
  padding: 12px var(--space-xl);
  background-color: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-weight: bold;
  transition: var(--transition);
}

.campaign-link:hover {
  background-color: #f5f5f5;
}

/* ==========================================
   イントロダクション
========================================== */
.intro {
  padding: 60px 15px 0;
  text-align: center;
  position: relative;
}

.intro-title {
  font-family: var(--font-mincho);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 2.2;
  color: var(--color-text);
}

.intro-title-line {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ==========================================
   共通セクション見出し
========================================== */
.section-heading {
  color: #c19b2a;
  text-align: center;
  font-family: 'Zen Kaku Gothic New';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.72rem;
  text-transform: uppercase;
}
