/* top ページのスクロールロックを解除 */
html,
body {
  overflow: auto;
  height: auto;
  scroll-behavior: smooth;
}

/* ── Header: PC ナビ ── */
.header__nav-pc {
  display: flex;
  align-items: center;
  gap: 80px;
}

.header__nav-pc .nav-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: color 0.15s ease;
}

.header__nav-pc .nav-link:hover {
  color: #666;
}

/* ── ハンバーガー ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-primary);
  transition: transform 0.25s ease;
}

.hamburger.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.hamburger.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ── モバイルナビ ── */
.mobile-nav {
  padding: 28px var(--page-padding);
  border-bottom: 1px solid var(--color-primary);
  background: var(--color-bg);
}

.mobile-nav__link {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding-bottom: 28px;
}

.mobile-nav__link:last-child {
  padding-bottom: 0;
}

/* ── Contact ── */
.contact {
  padding: 0 var(--page-padding) 120px;
}

.contact__title {
  font-size: 84px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 86px;
  margin-bottom: 40px;
}

.contact__lead {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 48px;
}

/* ── 送信結果メッセージ ── */
.contact__success {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.contact__form-error {
  font-size: 11px;
  color: #c00;
  margin-bottom: 12px;
}

.contact__field-error {
  display: block;
  font-size: 10px;
  color: #c00;
  margin-top: 2px;
}

/* ── フォーム ── */
.contact__form {
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__row {
  display: flex;
  gap: 8px;
}

.contact__row input {
  flex: 1;
  min-width: 0;
}

input,
textarea {
  width: 100%;
  padding: 9px 14px;
  border: 1px solid var(--color-primary);
  font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  color: var(--color-primary);
  background: transparent;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-secondary);
}

input {
  height: 30px;
  padding-top: 0;
  padding-bottom: 0;
}

textarea {
  min-height: 130px;
  resize: none;
}

button[type="submit"] {
  width: 100%;
  height: 30px;
  padding: 0;
  background: var(--color-primary);
  color: var(--color-bg);
  border: none;
  font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

button[type="submit"]:hover {
  opacity: 0.75;
}

/* ── SP (≤768px) ── */
@media (max-width: 768px) {
  :root {
    --page-padding: 15px;
    --header-height: 58px;
  }

  .header__nav-pc {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .contact__title {
    font-size: 52px;
    margin-top: 70px;
    margin-bottom: 32px;
  }

  .contact__lead {
    font-size: 11px;
    margin-bottom: 40px;
  }

  .contact__form {
    max-width: 100%;
  }
}
