/* =============================================================
   contact.html 専用
   下層ページ共通は page.css、トークンは style.css を前提にする。
   クラス名は ct- で始める
   ============================================================= */

.page-head { --head-bg: none; --head-min: auto; }   /* 写真が無いので高さの下限も持たせない */
.page-head::before { display: none; }

/* 写真を敷かないので、page.css が 1100px 以下で足している
   「上の写真の帯」ぶんの余白も打ち消す（＝素の上余白に戻す）。 */
@media (max-width: 1100px) { .page-head { --band: 0px; padding-top: 96px; } }
@media (max-width: 767px)  { .page-head { --band: 0px; padding-top: 72px; } }

/* -------------------------------------------------------------
   3つの連絡手段
   ------------------------------------------------------------- */
.ct-ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.ct-way {
  padding: 36px 32px 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.ct-way-en {
  font-family: var(--f-en); font-size: 14px; font-weight: 800;
  letter-spacing: .2em; color: var(--hp-sky);
}
.ct-way h2 {
  margin-top: 14px;
  font-size: 18px; font-weight: 800; line-height: 1.6;
  color: var(--ink-900);
}
.ct-way p {
  margin-top: 14px;
  font-size: 16px; line-height: 1.95;
  color: var(--ink-700);
}
.ct-tel a, .ct-mail a {
  font-family: var(--f-en); font-weight: 800;
  color: var(--ink-900);
  letter-spacing: .01em;
}
.ct-tel a { font-size: 26px; }
.ct-mail a { font-size: 16px; word-break: break-all; }
.ct-tel a:hover, .ct-mail a:hover { color: var(--hp-sky); }
.ct-note { font-size: 14px !important; color: var(--ink-300) !important; }

/* -------------------------------------------------------------
   フォーム
   ------------------------------------------------------------- */
.ct-req {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--hp-sky) 14%, transparent);
  font-size: 14px; font-weight: 800; letter-spacing: .04em;
  color: var(--hp-sky-hi);
  vertical-align: 2px;
}

.ct-form {
  margin-top: 48px;
  max-width: 900px;
}
.ct-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.ct-row:first-child { border-top: 1px solid var(--line); }
.ct-row > label {
  padding-top: 14px;
  font-size: 16px; font-weight: 800; letter-spacing: .02em;
  color: var(--ink-900);
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-family: inherit;
  font-size: 16px;   /* 16px 未満だと iOS で拡大されるので下げない */
  line-height: 1.8;
  color: var(--ink-900);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ct-field textarea { resize: vertical; min-height: 180px; }
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: var(--ink-300); }
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: var(--hp-sky);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hp-sky) 18%, transparent);
}
/* 標準の三角を消して、自前の矢印を右に置く */
.ct-field select {
  appearance: none;
  padding-right: 46px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-500) 50%),
                    linear-gradient(135deg, var(--ink-500) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* --- 同意 --- */
.ct-consent {
  margin-top: 36px;
  padding: 24px 26px;
  background: var(--cream-2);
  border-radius: 16px;
}
.ct-consent label {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 16px; line-height: 1.9;
  color: var(--ink-700);
  cursor: pointer;
}
.ct-consent input {
  width: 20px; height: 20px; flex: none;
  font-size: 16px;   /* 既定の 13.3333px を整数に揃える */
  margin-top: 4px;
  accent-color: var(--hp-sky);
}
.ct-consent a {
  color: var(--hp-sky);
  text-decoration: underline; text-underline-offset: 3px;
}

.ct-submit { margin-top: 40px; text-align: center; }
.ct-submit .btn { min-width: 320px; justify-content: center; }

/* -------------------------------------------------------------
   画面が狭いとき
   ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .ct-ways { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .ct-row { grid-template-columns: 1fr; gap: 12px; padding: 22px 2px; }
  .ct-row > label { padding-top: 0; }
  .ct-way { padding: 28px 24px 30px; }
  .ct-submit .btn { min-width: 0; width: 100%; }
}

.ct-form-notice { margin: 28px 0; padding: 20px 24px; background: #eef5f6; border-radius: 16px; font-size: 16px; line-height: 1.9; }
.ct-form-notice a { text-decoration: underline; text-underline-offset: 4px; }
.ct-form button:disabled { cursor: not-allowed; background: #5d6874; color: white; opacity: 1; }
