@charset "utf-8";

/* ========================================
   モジュール - ボタン
======================================== */
.m_btn {
  display: inline-block;
  padding: 1.25rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s;
  letter-spacing: 0.05em;
  cursor: pointer;
  font-size: 1rem;
}

@media (min-width: 1080px) {
  .m_btn {
    padding: 1.5rem 2.5rem;
    font-size: 1.05rem;
  }
}

.m_btn--primary {
  background: linear-gradient(180deg, #f5cb53, #e3a429);
  color: var(--color-black);
  font-weight: 600;
}

.m_btn--primary:hover {
  background: linear-gradient(180deg, #e3a429, #f5cb53);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.4);
}

.m_btn--secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.m_btn--secondary:hover {
  background: var(--color-white);
  color: var(--color-black);
  opacity: 1;
}

.m_btn--center {
  display: block;
  margin: 0 auto;
  max-width: fit-content;
}

/* ========================================
   モジュール - セクションタイトル
======================================== */
.m_section_header {
  margin-bottom: var(--spacing-xl);
  text-align: left;
  width: fit-content;
}

@media (min-width: 1080px) {
  .m_section_header {
    text-align: center;
    margin: 0 auto 80px;
  }
}

.m_section_title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--color-text-light);
}

.m_section_title--highlight {
  color: var(--color-red);
}

.m_section_title--accent {
  color: var(--color-accent);
}

.m_section_title--light {
  color: var(--color-white);
}

.m_section_line {
  width: 100%;
  height: 1px;
  background: var(--color-primary);
  margin-bottom: var(--spacing-xs);
}

@media (min-width: 1080px) {
  .m_section_line {
    margin-left: auto;
    margin-right: auto;
  }
}

.m_section_subtitle {
  font-size: 1rem;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.m_section_subtitle--black {
  color: var(--color-black);
}

.m_section_subtitle--light {
  color: rgba(255, 255, 255, 0.7);
}

.m_section_heading {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  font-family: var(--font-display);
  text-align: left;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.05em;
  color: var(--color-accent);
  line-height: 1.3;
}

.m_section_subheading {
  font-size: clamp(0.8125rem, 2.5vw, 1.3rem);
  font-weight: 600;
  font-family: var(--font-serif);
  display: inline;
  margin-left: var(--spacing-sm);
  letter-spacing: 0.05em;
  color: var(--color-black);
}

.m_section_subheading--white {
  color: var(--color-white);
}

/* ========================================
   モジュール - CTAセクション
======================================== */
.m_cta {
  background: url("../img/cta_bg.webp") no-repeat center center;
  background-size: cover;
  color: var(--color-white);
}

.m_cta_content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xxl);
}

@media (min-width: 1080px) {
  .m_cta_content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }
}

.m_cta_text_wrapper {
  flex: 1;
  text-align: center;
}

@media (min-width: 1080px) {
  .m_cta_text_wrapper {
    text-align: left;
  }
}

.m_cta_lead {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  font-family: var(--font-serif);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

.m_cta_text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.m_cta_button_wrapper {
  flex-shrink: 0;
}

@media (min-width: 1080px) {
  .m_cta_button_wrapper {
    align-self: flex-end;
  }
}
