/* CONTACT（カンプが無いので、ほかの下層ページの見た目に合わせて組んだ） */
.page-inner { padding-bottom: 200px; }

.ct-lead { margin-top: 107px; font-size: 17px; font-weight: 500; line-height: 36px; font-feature-settings: normal; }

/* SERVICE のパネルと同じ半透明の白。固定のメインビジュアルの上でも入力欄が読めるようにする */
.ct-panel {
  margin-top: 56px;
  padding: 24px 64px 64px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 16px;
}

/* 1項目1行。左に項目名、右に入力欄、行のあいだに罫線（COMPANY の表と同じ組み方） */
.ct-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
}
.ct-row--top { align-items: start; }
.ct-row--top .ct-row__label { padding-top: 14px; }
.ct-row[hidden] { display: none; }
/* fieldset の legend は grid に乗らないので、用件の行だけ並べ方を変える */
fieldset.ct-row { display: flex; align-items: center; }
fieldset.ct-row .ct-row__label { float: left; width: 240px; padding: 0; }

.ct-row__label { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; line-height: 1; }
.ct-req {
  padding: 4px 8px;
  background: var(--yellow);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
}

.ct-input {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ct-input--area { height: auto; padding: 16px 20px; line-height: 28px; resize: vertical; }
.ct-input::placeholder { color: rgba(0, 0, 0, 0.35); }
.ct-input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(223, 180, 72, 0.3); }

/* 用件は丸いボタン。選んだものは黒地に白（BACK・MORE のホバーと同じ） */
.ct-purposes { display: flex; flex-wrap: wrap; gap: 12px; }
.ct-purpose input { position: absolute; opacity: 0; pointer-events: none; }
.ct-purpose span {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.ct-purpose:hover span { background: rgba(0, 0, 0, 0.06); }
.ct-purpose input:checked + span { background: var(--ink); color: var(--white); }
.ct-purpose input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 3px; }

.ct-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct-error { margin-top: 32px; padding: 16px 20px; border-radius: 8px; background: #fbe9e7; color: #b3261e; font-size: 15px; font-weight: 500; line-height: 1.6; }

.ct-submit { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; }
.ct-note { font-size: 14px; font-weight: 500; line-height: 1.6; }
.ct-note a { text-decoration: underline; text-underline-offset: 3px; transition: color 0.3s; }
.ct-note a:hover { color: var(--yellow); }

/* 送信ボタンはヘッダーの CONTACT と同じ黒。ホバーでイエロー */
.ct-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 360px;
  height: 72px;
  padding: 0 32px 0 40px;
  border: 0;
  border-radius: 36px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.3s;
}
.ct-button:hover { background: var(--yellow); }
.ct-button:disabled { opacity: 0.6; cursor: wait; }
.ct-button .arrow {
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url(../img/common/arrow_bk.svg) no-repeat center / contain;
  mask: url(../img/common/arrow_bk.svg) no-repeat center / contain;
}

/* 送信後 */
.ct-done { padding: 56px 0 16px; text-align: center; outline: none; }
.ct-done__en { font-size: 18px; font-weight: 700; line-height: 1; color: var(--yellow); letter-spacing: 0.06em; }
.ct-done__title { margin-top: 20px; font-size: 36px; font-weight: 700; line-height: 1.3; }
.ct-done__text { margin-top: 24px; font-size: 16px; font-weight: 500; line-height: 32px; }
.ct-done .btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 151px;
  height: 44px;
  margin-top: 48px;
  padding: 0 22px;
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}
.ct-done .btn-back svg { width: 15px; height: 13px; }
