/* Contact ページ専用スタイル */

html.contact-html {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.contact-page {
  background: #fff !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100vh;
}

/* ヘッダーを常に表示 */
.contact-page .site-header {
  opacity: 1;
}

/* ロゴを左上に固定 */
.contact-page .logo-wrapper {
  position: fixed;
  width: auto;
  height: auto;
  top: 1rem;
  left: 1rem;
  transform: none;
  background: transparent;
  opacity: 1;
}


/* Contact コンテンツ */
.contact-content {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 5vw 80px;
}

.get-in-touch {
  max-width: 650px;
  width: 100%;
  margin: 0 auto;
}

.get-in-touch .title {
  text-align: center;
  font-family: "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1.8rem;
  font-weight: 300;
  color: #111;
  padding-bottom: 3rem;
}

/* フォーム */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-row {
  display: flex;
  gap: 2rem;
}

.form-field {
  position: relative;
  flex: 1;
}

.form-field.half {
  width: 50%;
}

.form-field.full {
  width: 100%;
}

.form-field.align-center {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* 入力フィールド */
.input-text {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0;
  border: none;
  border-bottom: 2px solid #333;
  background: transparent;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #111;
  transition: border-color 0.3s ease;
}

.input-text:focus {
  outline: none;
  border-color: #666;
}

/* テキストエリア */
.input-textarea {
  height: 120px;
  resize: vertical;
  padding-top: 10px;
}

/* ラベル */
.label {
  position: absolute;
  left: 0;
  bottom: 12px;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 1rem;
  color: #888;
  cursor: text;
  transition: transform 0.3s ease, font-size 0.3s ease, color 0.3s ease;
  pointer-events: none;
}

.input-textarea + .label {
  bottom: auto;
  top: 10px;
}

/* ラベルアニメーション */
.input-text:focus + .label,
.input-text.not-empty + .label,
.input-text.focused + .label {
  transform: translateY(-28px);
  font-size: 0.75rem;
  color: #333;
}

.input-textarea:focus + .label,
.input-textarea.not-empty + .label,
.input-textarea.focused + .label {
  transform: translateY(-20px);
  font-size: 0.75rem;
  color: #333;
}

/* 送信ボタン */
.submit-btn {
  display: inline-block;
  background: #333;
  color: #fff;
  font-family: "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  padding: 1em 3em;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
  background: #555;
  transform: translateY(-2px);
}

/* レスポンシブ */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 2rem;
  }

  .form-field.half {
    width: 100%;
  }

  .get-in-touch .title {
    font-size: 1.4rem;
  }
}
