/* =================================================================
   PACT 問い合わせページ
   PACT LP (pact.ec-centric.com) の配色・骨格を踏襲した、
   問い合わせ専用の軽量ページ。CF7の共有フォーム「お問い合わせ」を
   ここに埋め込み、実際に送受信できる問い合わせ導線として仕上げる。
   ================================================================= */

.pact-contact-body {
  --pc-bg: #0f1011;
  --pc-bg-2: #15171a;
  --pc-surface: rgba(255, 255, 255, 0.04);
  --pc-surface-2: rgba(255, 255, 255, 0.07);
  --pc-line: rgba(255, 255, 255, 0.1);
  --pc-line-2: rgba(255, 255, 255, 0.16);
  --pc-ink: #fafafa;
  --pc-ink-2: rgba(250, 250, 250, 0.62);
  --pc-ink-3: rgba(250, 250, 250, 0.38);
  --pc-accent: #3fa383;
  --pc-accent-d: #2f7d5b;

  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  color: var(--pc-ink);
  background: var(--pc-bg);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

.pact-contact-body *,
.pact-contact-body *::before,
.pact-contact-body *::after {
  box-sizing: border-box;
}

.pact-contact-body img {
  max-width: 100%;
  display: block;
}
.pact-contact-body p {
  margin: 0;
}
.pact-contact-body h1,
.pact-contact-body h2 {
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.pact-contact-body a {
  color: inherit;
}

.pc-container {
  width: min(680px, 100% - 40px);
  margin: 0 auto;
}

/* ===== HEADER ===== */
.pc-header {
  border-bottom: 1px solid var(--pc-line);
}
.pc-header .pc-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.pc-logo {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--pc-ink);
  text-decoration: none;
}
.pc-back {
  font-size: 12.5px;
  color: var(--pc-ink-3);
  text-decoration: none;
  transition: color 0.2s;
}
.pc-back:hover {
  color: var(--pc-ink-2);
}

/* ===== HERO ===== */
.pc-hero {
  padding: clamp(56px, 9vw, 96px) 0 40px;
  text-align: center;
}
.pc-label {
  display: inline-block;
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pc-accent);
  margin-bottom: 18px;
}
.pc-hero h1 {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 500;
  color: var(--pc-ink);
}
.pc-hero-lead {
  margin: 20px auto 0;
  max-width: 480px;
  font-size: 14.5px;
  color: var(--pc-ink-2);
}
.pc-hero-note {
  margin-top: 28px;
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
  color: var(--pc-ink-3);
}
.pc-hero-note span::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pc-accent);
  margin-right: 7px;
  vertical-align: middle;
}

/* ===== CONTACT CARD ===== */
.pc-contact {
  padding: 8px 0 clamp(72px, 9vw, 120px);
}
.pc-card {
  background: var(--pc-surface);
  border: 1px solid var(--pc-line);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
}
.pc-contact-fallback {
  text-align: center;
}
.pc-contact-fallback p {
  color: var(--pc-ink-2);
  font-size: 14px;
  margin-bottom: 20px;
}

/* CF7 styling */
.pc-card .wpcf7-form p {
  margin-bottom: 20px;
}
.pc-card .wpcf7-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--pc-ink-2);
  margin-bottom: 8px;
}
.pc-card .wpcf7-form input[type='text'],
.pc-card .wpcf7-form input[type='email'],
.pc-card .wpcf7-form input[type='tel'],
.pc-card .wpcf7-form input[type='number'],
.pc-card .wpcf7-form select,
.pc-card .wpcf7-form textarea {
  width: 100%;
  border: 1px solid var(--pc-line-2);
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--pc-ink);
  background: var(--pc-bg-2);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  -webkit-appearance: none;
}
.pc-card .wpcf7-form input::placeholder,
.pc-card .wpcf7-form textarea::placeholder {
  color: var(--pc-ink-3);
}
.pc-card .wpcf7-form input:focus,
.pc-card .wpcf7-form select:focus,
.pc-card .wpcf7-form textarea:focus {
  border-color: var(--pc-accent);
  box-shadow: 0 0 0 3px rgba(63, 163, 131, 0.18);
}
.pc-card .wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}
.pc-card .wpcf7-form input[type='checkbox'] {
  width: auto;
  margin-right: 8px;
}
.pc-card .wpcf7-form input[type='submit'] {
  width: 100%;
  padding: 16px;
  background: var(--pc-accent);
  color: #06120e;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.pc-card .wpcf7-form input[type='submit']:hover {
  background: #56b896;
  transform: translateY(-1px);
}
.pc-card .wpcf7-form input[type='submit']:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}
.pc-card .wpcf7-response-output {
  margin-top: 18px !important;
  border-radius: 8px;
  font-size: 13px;
  padding: 12px 14px;
}
.pc-card .wpcf7-not-valid-tip {
  color: #e0736f;
  font-size: 12px;
  margin-top: 6px;
}
.pc-contact-privacy {
  margin-top: 20px;
  color: var(--pc-ink-3);
  font-size: 11px;
  text-align: center;
}

/* ===== FOOTER ===== */
.pc-footer {
  border-top: 1px solid var(--pc-line);
  padding: 32px 0;
  text-align: center;
}
.pc-footer p {
  font-size: 11.5px;
  color: var(--pc-ink-3);
}

@media (width <= 480px) {
  .pc-header .pc-container {
    height: 56px;
  }
}
