/* お問い合わせページ専用スタイル */

/* ページヘッダー画像 */
.page-header-image {
  width: 100vw;
  height: 250px;
  background: url("../img/PANORAMA.jpg") no-repeat center 20%/cover;
  position: relative;
  margin-bottom: 0;
}

/* ページヘッダー上の問い合わせボタン */
.page-contact-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  padding: 12px 25px;
  background-color: #0066cc;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  border-radius: 8px;
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.page-contact-btn:hover {
  background-color: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.6);
}

@media screen and (max-width: 768px) {
  .page-contact-btn {
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    font-size: 13px;
  }
}

.contact-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  min-height: calc(100vh - 200px);
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h1 {
  font-size: 36px;
  color: #333;
  margin-bottom: 15px;
  border-bottom: 3px solid #0066cc;
  display: inline-block;
  padding-bottom: 10px;
}

.contact-description {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

/* フォームスタイル */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.required {
  color: #d9534f;
  font-weight: bold;
}

.optional {
  color: #999;
  font-size: 14px;
  font-weight: normal;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #0066cc;
}

.form-textarea {
  resize: vertical;
  font-family: inherit;
}

.form-file {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 2px dashed #ddd;
  border-radius: 4px;
  background: #f9f9f9;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.form-file:hover {
  border-color: #0066cc;
}

.file-note {
  font-size: 13px;
  color: #666;
  margin: 10px 0 5px 0;
  font-weight: bold;
}

.file-info-box {
  background: #f8f9fa;
  border-left: 4px solid #0066cc;
  padding: 15px;
  margin-top: 10px;
  border-radius: 4px;
}

.file-types {
  list-style: none;
  padding-left: 20px;
  margin: 10px 0;
  color: #555;
}

.file-types li {
  padding: 5px 0;
  position: relative;
}

.file-types li:before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  position: absolute;
  left: -20px;
}

/* ファイルラベル行 */
.file-label-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 8px;
}

.file-size-note {
  font-size: 13px;
  color: #d9534f;
  font-weight: normal;
  margin: 0;
  padding: 4px 10px;
  background: #fff3cd;
  border-radius: 4px;
  text-align: center;
}

/* ボタン */
.form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.btn-submit,
.btn-reset {
  padding: 15px 40px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit {
  background: linear-gradient(135deg, #1e5799 0%, #2989d8 50%, #207cca 100%);
  color: white;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.btn-reset {
  background: #6c757d;
  color: white;
}

.btn-reset:hover {
  background: #5a6268;
}

/* 連絡先情報 */
.contact-info {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
  text-align: center;
}

.contact-info h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  color: #666;
  margin: 10px 0;
  line-height: 1.8;
}

/* フッター */
.contact-footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

.contact-footer p {
  margin: 0;
  font-size: 14px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .page-header-image {
    height: 150px;
  }

  .contact-container {
    padding: 15px;
    margin: 20px auto;
  }

  .contact-header h1 {
    font-size: 28px;
  }

  .contact-description {
    font-size: 14px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .form-label {
    font-size: 14px;
  }

  .form-input,
  .form-textarea {
    padding: 10px 12px;
    font-size: 14px;
  }

  .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn-submit,
  .btn-reset {
    width: 100%;
    padding: 12px 20px;
  }

  .contact-info {
    padding: 20px;
  }

  .contact-info h2 {
    font-size: 20px;
  }

  .contact-info p {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .contact-header h1 {
    font-size: 24px;
  }

  .contact-form {
    padding: 20px 15px;
  }

  .form-label {
    font-size: 13px;
  }

  .form-input,
  .form-textarea {
    font-size: 13px;
  }
}
