/* ===================================================================
   CARTFIT.AI · contact.css
   section 07 — contact (desktop + mobile)
   =================================================================== */

/* =================================================================
   07 / CONTACT
   ================================================================= */
.ct-section {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ct-ghost {
  position: absolute;
  right: -20px; bottom: -40px;
  font-family: var(--font-display); font-weight: 100;
  font-size: clamp(200px, 30vw, 320px);
  line-height: 1; letter-spacing: -0.04em;
  color: #080808; pointer-events: none;
  user-select: none; z-index: 0; white-space: nowrap;
}

/* main block — vertically centered, left-aligned */
.ct-body {
  position: relative; z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 0;
}
.ct-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.28em;
  color: var(--fg-3);
}
.ct-label__sq {
  width: 6px; height: 6px;
  border: 1px solid var(--accent);
  flex: none;
}
.ct-address {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 13px; letter-spacing: 0.1em;
  color: var(--fg-1);
  margin-top: -12px;
}
.ct-mail {
  position: relative;
  display: inline-block;
  font-family: var(--font-mono); font-weight: 300;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.2; letter-spacing: 0.02em;
  color: var(--fg-0);
  background: none; border: none;
  padding: 0; cursor: pointer; text-align: left;
}
.ct-mail::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  height: 1px; width: 0;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ct-mail:hover { color: var(--accent); }
.ct-mail:hover::after { width: 100%; }
.ct-mail__cursor {
  display: inline-block;
  width: 2px; height: 0.78em;
  background: var(--accent);
  margin-left: 8px; vertical-align: -0.04em;
  animation: blink 1.2s step-end infinite;
}
.ct-topics {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.ct-topic {
  font-family: var(--font-jp); font-weight: 400;
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--fg-2);
  border: 1px solid var(--line-2);
  padding: 7px 16px;
  transition: color 0.3s, border-color 0.3s;
}
.ct-topic:hover { color: var(--fg-0); border-color: var(--line-3); }

.ct-foot {
  position: relative; z-index: 1;
  margin-top: 28px; padding-top: 18px;
  border-top: 1px solid var(--line-1);
  display: flex; justify-content: space-between;
}

.ct-scroll {
  position: absolute; right: 80px; bottom: 120px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.ct-scroll__txt {
  font-family: var(--font-mono); font-size: 8px;
  letter-spacing: 0.24em; color: #1F1F1F; writing-mode: vertical-rl;
}
.ct-scroll__line { width: 1px; height: 40px; background: #111; position: relative; overflow: hidden; }
.ct-scroll__line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 1px; height: 100%; background: var(--accent);
  animation: scrolldown 2s ease-in-out infinite;
}
@keyframes scrolldown { 0%{top:-100%} 100%{top:100%} }

/* ── mobile (≤768) ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .ct-body { gap: 24px; padding: 24px 0; }
  .ct-ghost {
    font-size: clamp(80px, 28vw, 160px);
    right: -10px; bottom: 20px;
  }
  .ct-mail { font-size: clamp(16px, 5vw, 22px); }
  .ct-address { font-size: 12px; }
  .ct-scroll { display: none; }
}
