@charset "utf-8";
/* css/contact.css — お問い合わせページ */


/* ══════════════════════════════════════
   FORM SECTION
══════════════════════════════════════ */
.ct-form-section {
  padding: 100px 80px;
  background: var(--off-black);
  border-bottom: 1px solid var(--border);
}

.ct-form-inner {
  max-width: 800px;
  margin: 0 auto;
}

.ct-form-header {
  margin-bottom: 56px;
}

.ct-form-lead {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted2);
  line-height: 2.2;
}

/* フォーム本体 */
.ct-form {
  display: flex;
  flex-direction: column;
}

/* グループ */
.ct-form-group {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}
.ct-form-group:first-child {
  border-top: 1px solid var(--border);
}

/* ラベル */
.ct-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
}

.ct-label-text {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.ct-required {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--red);
  padding: 2px 7px;
  flex-shrink: 0;
}

.ct-optional {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 2px 7px;
  flex-shrink: 0;
}

/* インプット共通 */
.ct-input,
.ct-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
  color: var(--muted);
  font-size: 13px;
}

.ct-input:focus,
.ct-textarea:focus {
  border-color: var(--border-red);
  background: var(--surface2);
}

.ct-textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.9;
}

/* ラジオボタン */
.ct-radio-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 10px;
}

.ct-radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: none;
  font-size: 14px;
  color: var(--muted2);
  transition: color 0.2s;
}
.ct-radio-label:hover { color: #fff; }

.ct-radio-label input[type="radio"] { display: none; }

.ct-radio-custom {
  width: 18px; height: 18px;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s;
}
.ct-radio-custom::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(0.16,1,0.3,1);
}
.ct-radio-label input[type="radio"]:checked + .ct-radio-custom {
  border-color: var(--red);
}
.ct-radio-label input[type="radio"]:checked + .ct-radio-custom::after {
  transform: translate(-50%, -50%) scale(1);
}
.ct-radio-label input[type="radio"]:checked ~ span:last-child {
  color: #fff;
}


/* ══════════════════════════════════════
   PRIVACY POLICY — 折りたたみ
══════════════════════════════════════ */
.ct-pp-group {
  display: block !important;  /* grid上書き */
  padding: 0 !important;
  border-bottom: 1px solid var(--border) !important;
}

/* トグルボタン */
.ct-pp-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: none;
  color: var(--text);
  transition: color 0.2s;
}
.ct-pp-toggle:hover { color: #fff; }

.ct-pp-toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.ct-pp-toggle-label .fa-shield-halved {

  color: var(--red);
  font-size: 14px;
}

.ct-pp-toggle-icon {
  color: var(--muted);
  font-size: 12px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.ct-pp-toggle[aria-expanded="true"] .ct-pp-toggle-icon {
  transform: rotate(180deg);
}

/* 折りたたみコンテンツ */
.ct-pp-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1);
}
.ct-pp-content.open {
  max-height: 1200px;
}

.ct-pp-body {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 32px 36px;
  margin-bottom: 20px;
}

.ct-pp-intro {
  font-size: 13px;
  color: var(--muted2);
  line-height: 2;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.ct-pp-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.ct-pp-item:last-of-type { border-bottom: none; }

.ct-pp-item-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.ct-pp-num {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--red);
  flex-shrink: 0;
}

.ct-pp-item p {
  font-size: 12px;
  color: var(--muted2);
  line-height: 1.95;
}

.ct-pp-date {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  line-height: 1.9;
}

/* 同意チェックボックス */
.ct-pp-agree {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0 24px;
  cursor: none;
}

.ct-pp-agree input[type="checkbox"] { display: none; }

.ct-checkbox-custom {
  width: 20px; height: 20px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.ct-checkbox-custom::after {
  content: '';
  position: absolute;
  top: 3px; left: 6px;
  width: 6px; height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.2s cubic-bezier(0.16,1,0.3,1);
}
.ct-pp-agree input[type="checkbox"]:checked + .ct-checkbox-custom {
  background: var(--red);
  border-color: var(--red);
}
.ct-pp-agree input[type="checkbox"]:checked + .ct-checkbox-custom::after {
  transform: rotate(45deg) scale(1);
}

.ct-checkbox-text {
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.8;
}


/* ══════════════════════════════════════
   送信ボタン
══════════════════════════════════════ */
.ct-form-submit {
  padding-top: 40px;
  display: flex;
  justify-content: flex-end;
}

.ct-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 18px 48px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  cursor: none;
  transition: background 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.ct-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.ct-submit-btn:hover { background: var(--red-dark); transform: translateY(-2px); }
.ct-submit-btn:hover::before { transform: translateX(0); }
.ct-submit-btn .fa-arrow-right { transition: transform 0.2s; }
.ct-submit-btn:hover .fa-arrow-right { transform: translateX(4px); }


/* ══════════════════════════════════════
   THANKS PAGE
══════════════════════════════════════ */
.ct-thanks {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  background: var(--black);
}

.ct-thanks-inner {
  max-width: 640px;
  width: 100%;
  text-align: center;
}

.ct-thanks-icon {
  font-size: 56px;
  color: var(--red);
  margin-bottom: 28px;
  animation: iconPop 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes iconPop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.ct-thanks-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: 0.04em;
  color: #fff;
  margin: 16px 0 28px;
}

.ct-thanks-msg {
  font-size: 14px;
  color: var(--muted2);
  line-height: 2.3;
  margin-bottom: 40px;
}
.ct-thanks-msg strong { color: #fff; font-weight: 700; }

.ct-thanks-btn-wrap {
  display: flex;
  justify-content: center;
}


/* ══════════════════════════════════════
   RESPONSIVE — SP (max-width: 767px)
══════════════════════════════════════ */
@media (max-width: 767px) {

  .ct-form-section { padding: 60px 20px; }

  .ct-form-group {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0;
  }

  .ct-label { padding-top: 0; }

  .ct-pp-body { padding: 24px 20px; }

  .ct-form-submit { justify-content: stretch; }
  .ct-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}


/* ══════════════════════════════════════
   TABLET (768px ～ 1024px)
══════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1024px) {

  .ct-form-section { padding: 80px 32px; }

  .ct-form-group {
    grid-template-columns: 160px 1fr;
  }
}