﻿:root {
  --bg: #f6f6f7;
  --surface: #ececee;
  --text: #1d1d22;
  --muted: #686870;
  --line: #dbdbe0;
  --accent: #0f1013;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
}

.container {
  width: min(100% - 32px, 1320px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 246, 247, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 2.6rem;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.gnav {
  margin-left: auto;
  display: flex;
  gap: 24px;
}

.gnav a {
  font-size: 1.3rem;
  color: #3f3f45;
  text-decoration: none;
}

.mobile-quick-links {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #08090a;
  color: #fff;
  text-decoration: none;
  min-height: 60px;
  padding: 0 30px;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
}

.btn::after {
  content: "竊・;
  margin-left: 10px;
}

.btn-sm {
  min-height: 52px;
  font-size: 1.4rem;
  padding: 0 18px;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  font-size: 2.8rem;
  color: #444;
}

.contact-page {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: 26px 0 60px;
}

.contact-head {
  text-align: center;
}

.contact-head h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(5.4rem, 6.2vw, 7rem);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.subtitle {
  margin: 6px 0 0;
  font-size: 2.6rem;
  font-weight: 700;
}

.lead {
  margin: 34px auto 0;
  width: min(100%, 760px);
  color: #33343a;
  font-size: 2.6rem;
  line-height: 1.95;
}

.contact-form-wrap {
  margin-top: 38px;
}

.contact-form {
  width: min(100%, 700px);
  margin-inline: auto;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 2.1rem;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 14px 18px;
  font-size: 2.1rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9a9aa3;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #9ea0a9;
  background: #f1f1f3;
}

.form-group textarea {
  min-height: 180px;
  resize: vertical;
}

.form-actions {
  margin-top: 24px;
}

.form-consent {
  margin-top: 8px;
}

.check-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1.8rem;
  color: #3c3c43;
}

.check-row input {
  width: 20px;
  height: 20px;
}

.check-row a {
  color: #3c3c43;
}

.policy-link {
  text-decoration: underline;
}

.robot-box {
  margin-top: 12px;
  border: 1px solid var(--line);
  background: #f5f5f7;
  min-height: 74px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.robot-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
}

.robot-check input {
  width: 28px;
  height: 28px;
}

.robot-brand {
  font-size: 1.2rem;
  color: #70707a;
}

.form-actions button {
  width: 100%;
  min-height: 58px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 2rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

@media (max-width: 980px) {
  .header-inner {
    height: 70px;
    gap: 12px;
  }

  .logo {
    font-size: 2.4rem;
  }

  .gnav,
  .btn-sm {
    display: none;
  }

  .mobile-quick-links {
    display: flex !important;
    gap: 12px;
    margin-left: auto;
  }

  .mobile-quick-links a {
    font-size: 1.3rem;
    text-decoration: none;
    color: #3f3f45;
  }

  .menu-btn {
    display: none;
  }

  .contact-page {
    width: min(100% - 20px, 980px);
    padding-top: 18px;
  }

  .contact-head h1 {
    font-size: 4.4rem;
  }

  .subtitle {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.7rem;
    line-height: 1.85;
    margin-top: 20px;
  }

  .form-group label {
    font-size: 1.6rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1.6rem;
    padding: 12px 14px;
  }

  .form-group textarea {
    min-height: 140px;
  }

  .check-row,
  .robot-check {
    font-size: 1.5rem;
  }

  .robot-check input {
    width: 24px;
    height: 24px;
  }
}



