@charset "utf-8";

/* ========================================
   404ページ - FV
======================================== */
.error_fv {
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(180deg, #f0f0f0 0%, #fafafa 100%);
  padding: 140px 0 60px;
  overflow: hidden;
}

@media (min-width: 1080px) {
  .error_fv {
    max-height: 600px;
    padding: 180px 0 80px;
  }
}

.error_fv_video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.error_fv_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.error_fv .l_container {
  position: relative;
  z-index: 3;
}

.error_fv .m_section_header {
  text-align: left;
  margin: 0 auto 80px 0;
  width: fit-content;
}

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

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

.error_fv .m_section_line {
  background: var(--color-accent);
}

.error_fv .m_section_subtitle {
  color: var(--color-accent);
}

/* ========================================
   404ページ - Content
======================================== */
.error_404 {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f0f0f0 0%, #fafafa 100%);
  padding: 80px 0;
}

@media (min-width: 1080px) {
  .error_404 {
    padding: 100px 0;
  }
}

.error_404_content {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.error_404_title {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.error_404_subtitle {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  font-family: var(--font-display);
  margin-bottom: var(--spacing-lg);
  color: var(--color-text);
}

.error_404_text {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: var(--spacing-xxl);
  color: var(--color-text);
}

@media (min-width: 1080px) {
  .error_404_text {
    font-size: 1.1rem;
    margin-bottom: 60px;
  }
}

.error_404_buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: flex-start;
  justify-content: flex-start;
}

@media (min-width: 601px) {
  .error_404_buttons {
    flex-direction: row;
    gap: var(--spacing-lg);
  }
}

.error_404_buttons .m_btn {
  min-width: 250px;
}

@media (min-width: 1080px) {
  .error_404_buttons .m_btn {
    min-width: 280px;
  }
}
