/* お問い合わせ页面 */
.contact-wrap {
  display: flex;
  gap: 72px;
  align-items: flex-start;
  padding: 80px 0 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 0 0 420px;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-label-line {
  width: 20px;
  height: 2px;
  background: #ff3600;
}

.contact-label-text {
  font-size: 14px;
  font-weight: 700;
  color: #ff3600;
  letter-spacing: 0.1em;
}

.contact-title {
  font-size: 32px;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 24px;
  line-height: 1.3;
}

.contact-desc {
  font-size: 16px;
  color: #4b4b4b;
  line-height: 1.75;
  margin-bottom: 48px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-item-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ff3600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.contact-item-icon svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-item-label {
  font-size: 16px;
  font-weight: 600;
  color: #787878;
}

.contact-item-value {
  font-size: 18px;
  font-weight: 500;
  color: #0a0a0a;
}

/* フォームエリア */
.contact-form-wrap {
  flex: 1;
  min-width: 0;
  background: #f3f3f3;
  border-radius: 12px;
  padding: 40px 60px 48px;
}

.contact-form-title {
  font-size: 24px;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form-group {
  position: relative;
}

.contact-form-group-textarea .contact-form-icon {
  top: 17px;
}

.contact-form-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #bebebe;
  pointer-events: none;
}

.contact-form-input,
.contact-form-textarea {
  width: 100%;
  padding: 17px 20px 17px 46px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  color: #0a0a0a;
  background: #fff;
  border: none;
  border-radius: 4px;
  transition: border-color 0.2s;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
  color: #bebebe;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px #ff3600;
}

.contact-form-textarea {
  min-height: 148px;
  resize: vertical;
  padding-top: 17px;
}

.contact-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  padding: 0 32px;
  height: 60px;
  background: #ff3600;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Noto Sans JP', sans-serif;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form-submit:hover {
  background: #e03000;
}

/* 响应式 */
@media (max-width: 1100px) {
  .contact-wrap {
    gap: 48px;
  }

  .contact-info {
    flex: 0 0 360px;
  }

  .contact-form-wrap {
    padding: 32px 40px 40px;
  }
}

@media (max-width: 900px) {
  .contact-wrap {
    flex-direction: column;
    padding: 56px 0 80px;
    gap: 48px;
  }

  .contact-info {
    flex: none;
    width: 100%;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    width: 100%;
    padding: 32px 24px 40px;
  }

  .contact-form-title {
    font-size: 22px;
    margin-bottom: 32px;
  }
}

@media (max-width: 600px) {
  .contact-wrap {
    padding: 40px 0 64px;
    gap: 36px;
  }

  .contact-title {
    font-size: 24px;
  }

  .contact-desc {
    margin-bottom: 36px;
  }

  .contact-item-icon {
    width: 56px;
    height: 56px;
  }

  .contact-item-icon img,
  .contact-item-icon svg {
    width: 24px;
    height: 24px;
  }

  .contact-form-wrap {
    width: 100%;
    padding: 24px 16px 32px;
  }

  .contact-form-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .contact-form {
    gap: 20px;
  }

  .contact-form-submit {
    width: 100%;
  }
}
