@charset "utf-8";

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

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

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

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

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

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

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

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

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

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

/* ========================================
   Contactページ - Form Section
======================================== */
.contact_form_section {
  background: linear-gradient(180deg, #f0f0f0 0%, #fafafa 100%);
}

.contact_form_lead {
  text-align: left;
  font-size: 1rem;
  line-height: 1.9;
  max-width: 1200px;
  margin: 0 auto var(--spacing-xxl);
  color: var(--color-text);
}

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

.contact_form_wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(179, 144, 109, 0.4);
  padding: var(--spacing-xlg) var(--spacing-sm);
  border-radius: 20px;
}

@media (min-width: 1080px) {
  .contact_form_wrapper {
    padding: var(--spacing-xlg);
  }
}

.contact_form_item {
  margin-bottom: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

@media (min-width: 1080px) {
  .contact_form_item {
    margin-bottom: var(--spacing-xl);
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-md);
  }
}

.contact_form_label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.2rem;
  color: var(--color-text);
  flex-shrink: 0;
  max-width: 300px;
  padding: 0 8px;
  border-left: 3px solid var(--color-primary);
  margin-bottom: var(--spacing-xs);
}

@media (min-width: 1080px) {
  .contact_form_label {
    width: 350px;
  }
}

.contact_form_required {
  display: inline-block;
  padding: 8px 16px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 300;
  border-radius: 10px;
}

@media (min-width: 1080px) {
  .contact_form_required {
    margin-left: 24px;
  }
}

.contact_form_input,
.contact_form_select,
.contact_form_textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-bg-light);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border-color 0.3s;
  background: var(--color-white);
}

@media (min-width: 1080px) {
  .contact_form_input,
  .contact_form_select {
    padding: 16px;
  }

  .contact_form_textarea {
    padding: 16px;
  }
}

.contact_form_input:focus,
.contact_form_select:focus,
.contact_form_textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.contact_form_input::placeholder,
.contact_form_textarea::placeholder {
  color: var(--color-text-light);
}

.contact_form_select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23111111' d='M1.41 0L6 4.59L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
}

.contact_form_textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.8;
}

@media (min-width: 1080px) {
  .contact_form_textarea {
    min-height: 200px;
  }
}

.contact_form_privacy {
  margin: 0 auto var(--spacing-xlg);
  text-align: center;
}

.contact_form_checkbox_label {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.95rem;
  line-height: 1.8;
  cursor: pointer;
}

.contact_form_checkbox {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--color-primary);
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

.contact_form_checkbox_label a {
  text-decoration: underline;
}

.contact_form_checkbox_label a:hover {
  opacity: 0.7;
}

.contact_form_submit {
  text-align: center;
}

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

@media (min-width: 1080px) {
  .contact_form_submit .m_btn {
    min-width: 300px;
  }
}

.privacy_link {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s;
}

.privacy_link:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* ========================================
   確認画面用スタイル
======================================== */
.contact_confirm_list {
  margin: 0 0 var(--spacing-xlg);
}

.contact_confirm_list .contact_form_item {
  margin-bottom: 0;
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.contact_confirm_list .contact_form_item:last-child {
  border-bottom: none;
}

.contact_confirm_list .contact_form_label {
  flex: 0 0 200px;
  margin-bottom: 0;
  padding-top: 8px;
}

.contact_confirm_list .contact_form_label .contact_form_required {
  display: none;
}

.contact_confirm_list td {
  flex: 1;
  padding: 8px 0;
  line-height: 1.8;
  word-break: break-word;
}

@media (max-width: 768px) {
  .contact_confirm_list .contact_form_item {
    flex-direction: column;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) 0;
  }

  .contact_confirm_list .contact_form_label {
    flex: 0 0 auto;
    padding-top: 0;
  }

  .contact_confirm_list td {
    padding: 0;
  }
}

.contact_form_buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-xlg);
}

.contact_form_buttons .m_btn {
  min-width: 200px;
}

@media (min-width: 1080px) {
  .contact_form_buttons .m_btn {
    min-width: 250px;
  }
}

p.error_messe {
  color: #e74c3c;
  margin: 10px 0;
  font-weight: 600;
}
