/* =======================================================
   CONTACT PAGE
   ======================================================= */
   /* hidden 属性を最優先 */
[hidden] { display: none !important; }
.ct {
  padding: 120px 0 80px; 
  background: var(--paper-warm);
  min-height: 100vh;
}

.ct__breadcrumb {
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink-muted);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ct__breadcrumb a { color: var(--ink-muted); transition: color .3s var(--ease); }
.ct__breadcrumb a:hover { color: var(--crimson); }

/* ===== Frame ===== */
.ct__frame {
  background: var(--paper);
  border: 1px solid rgba(10, 10, 10, .15); 
  border-top: 3px solid var(--crimson); 
  border-radius: 2px;  
  padding: 56px;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.ct__frame::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px; right: 14px; bottom: 14px;
  border: 0.5px solid rgba(10, 10, 10, .08); 
  border-radius: 0;  
  pointer-events: none;
}

.ct__grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* ===== Sidebar ===== */
.ct__side { position: sticky; top: 140px; }

.ct__eyebrow {
  font-family: var(--ff-en);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 600;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.ct__eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--crimson);
}

.ct__title {
  font-family: var(--ff-jp);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 18px;
}

.ct__lead {
  font-family: var(--ff-jp);
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--ink-muted);
  margin: 0 0 32px;
}

.ct__info-item { margin-top: 20px; }
.ct__info-item:first-of-type { margin-top: 0; }

.ct__info-label {
  display: block;
  font-family: var(--ff-en);
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.ct__info-value {
  font-family: var(--ff-jp);
  font-size: 13px;
  color: var(--ink);
  margin: 0;
  line-height: 1.7;
}

/* ===== Form Header ===== */
.ct-form__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1.5px solid rgba(10, 10, 10, .22);
  padding-bottom: 12px;
  margin-bottom: 32px;
  font-family: var(--ff-en);
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--ink-muted);
  text-transform: uppercase;
  font-weight: 600;
}
.ct-form__head-title {
  color: var(--ink); 
  font-weight: 700; 
}
.ct-form__head-no { color: rgba(10, 10, 10, .25); }

/* ===== Form Group ===== */
.ct-form__group { margin-bottom: 28px; }

.ct-form__label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ct-form__label {
  font-family: var(--ff-jp);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.ct-form__label-en {
  font-family: var(--ff-en);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-left: 4px;
}

.ct-form__req,
.ct-form__opt {
  font-family: var(--ff-en);
  font-size: 9px;
  letter-spacing: .15em;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 2px;
  text-transform: uppercase;
}
.ct-form__req {
  color: var(--crimson);
  border: 1px solid rgba(211, 56, 28, .3);
}
.ct-form__req.is-hidden { display: none; }
.ct-form__opt {
  color: var(--ink-muted);
  border: 1px solid rgba(0, 0, 0, .12);
}

/* ===== Inputs ===== */
.ct-form__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(10, 10, 10, .22);
  border-radius: 2px;
  font-family: var(--ff-jp);
  font-size: 13.5px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.ct-form__input::placeholder { color: rgba(10, 10, 10, .3); }
.ct-form__input:focus {
  border-color: var(--navy-bright);
  box-shadow: 0 0 0 3px rgba(43, 58, 140, .08);
}
.ct-form__input.is-error {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(211, 56, 28, .08);
}

.ct-form__textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.85;
}

/* ===== Name Grid ===== */
.ct-form__name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ===== Radio ===== */
.ct-form__radio-list {
  background: var(--paper-warm);
  border: 1px solid rgba(10, 10, 10, .06);
  border-radius: 4px;
  padding: 4px 18px;
}
.ct-form__radio {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  cursor: pointer;
  transition: background .2s;
}
.ct-form__radio + .ct-form__radio {
  border-top: 0.5px dashed rgba(10, 10, 10, .12);
}
.ct-form__radio input { position: absolute; opacity: 0; pointer-events: none; }

.ct-form__radio-mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(10, 10, 10, .25);
  margin-top: 3px;
  flex-shrink: 0;
  position: relative;
  transition: border-color .25s, background .25s;
}
.ct-form__radio input:checked ~ .ct-form__radio-mark {
  border-color: var(--navy-bright);
}
.ct-form__radio input:checked ~ .ct-form__radio-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--navy-bright);
  border-radius: 50%;
}
.ct-form__radio input:focus-visible ~ .ct-form__radio-mark {
  box-shadow: 0 0 0 3px rgba(43, 58, 140, .15);
}

.ct-form__radio-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.4;
}
.ct-form__radio-jp {
  font-family: var(--ff-jp);
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}
.ct-form__radio-en {
  font-family: var(--ff-en);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

/* ===== Honeypot (visually hidden) ===== */
.ct-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== Agree ===== */
.ct-form__agree {
  background: var(--paper-warm);
  border: 1px solid rgba(10, 10, 10, .06);
  border-radius: 4px;
  padding: 18px 20px;
  margin: 32px 0 24px;
}
.ct-form__agree-intro {
  font-family: var(--ff-jp);
  font-size: 12px;
  line-height: 1.85;
  color: var(--ink-muted);
  margin: 0 0 14px;
}
.ct-form__agree-intro a {
  color: var(--navy-bright);
  text-decoration: underline;
  text-decoration-color: rgba(43, 58, 140, .3);
  text-underline-offset: 3px;
}
.ct-form__agree-intro a:hover { text-decoration-color: var(--navy-bright); }

.ct-form__check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  font-family: var(--ff-jp);
  font-size: 13px;
  color: var(--ink);
  user-select: none;
}
.ct-form__check input { position: absolute; opacity: 0; pointer-events: none; }
.ct-form__check-mark {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 1.5px solid rgba(10, 10, 10, .25);
  flex-shrink: 0;
  position: relative;
  transition: border-color .25s, background .25s;
}
.ct-form__check input:checked ~ .ct-form__check-mark {
  border-color: var(--navy-bright);
  background: var(--navy-bright);
}
.ct-form__check input:checked ~ .ct-form__check-mark::after {
  content: "";
  position: absolute;
  top: 2px; left: 5px;
  width: 5px; height: 9px;
  border: solid white;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

/* ===== Error ===== */
.ct-form__error,
.ct-confirm__error {
  background: rgba(211, 56, 28, .06);
  border-left: 2px solid var(--crimson);
  padding: 12px 16px;
  margin: 0 0 24px;
  font-family: var(--ff-jp);
  font-size: 12.5px;
  color: var(--crimson);
  line-height: 1.7;
}
.ct-form__error ul,
.ct-confirm__error ul {
  margin: 4px 0 0;
  padding-left: 20px;
}

/* ===== Actions / Buttons ===== */
.ct-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.ct-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: 100px;
  font-family: var(--ff-en);
  font-size: 12px;
  letter-spacing: .15em;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), opacity .35s;
}
.ct-btn:disabled { opacity: .55; cursor: not-allowed; }

.ct-btn--primary {
  background: var(--navy);
  color: var(--paper);
}
.ct-btn--primary:hover { background: var(--crimson); }

.ct-btn--ghost {
  background: transparent;
  color: var(--ink-muted);
  border: 1.5px solid rgba(10, 10, 10, .15);
}
.ct-btn--ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.ct-btn__arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: transform .35s var(--ease);
}
.ct-btn--primary:hover .ct-btn__arrow {
  background: var(--paper);
  color: var(--crimson);
  transform: translateX(4px);
}
.ct-btn--ghost .ct-btn__arrow {
  background: rgba(0, 0, 0, .06);
  color: var(--ink);
}
.ct-btn__arrow--back { transform: scaleX(-1); }

/* ===== Confirm ===== */
.ct-confirm__notice {
  background: rgba(43, 58, 140, .04);
  border-left: 2px solid var(--navy-bright);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-family: var(--ff-jp);
  font-size: 12.5px;
  color: var(--navy);
  line-height: 1.75;
}
.ct-confirm__notice span {
  display: block;
  font-size: 10px;
  font-family: var(--ff-en);
  letter-spacing: .1em;
  opacity: .6;
  margin-top: 2px;
}

.ct-confirm__list {
  margin: 0 0 16px;
  padding: 0;
}
.ct-confirm__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(10, 10, 10, .12);
  align-items: start;
}
.ct-confirm__row:last-of-type { border-bottom: none; }
.ct-confirm__row dt { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.ct-confirm__row dd { margin: 0; }

.ct-confirm__lbl-jp {
  font-family: var(--ff-jp);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-muted);
}
.ct-confirm__lbl-en {
  font-family: var(--ff-en);
  font-size: 9px;
  letter-spacing: .15em;
  color: rgba(10, 10, 10, .35);
  text-transform: uppercase;
}
.ct-confirm__row dd {
  font-family: var(--ff-jp);
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.85;
  word-break: break-all;
}
.ct-confirm__multiline { white-space: pre-wrap; }

.ct-confirm__agree {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(10, 10, 10, .10);
  margin-top: 16px;
}
.ct-confirm__check-icon {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: var(--navy-bright);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
  line-height: 1;
}
.ct-confirm__agree > span:last-child {
  font-family: var(--ff-jp);
  font-size: 12.5px;
  color: var(--ink-muted);
}

.ct-confirm__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

/* ===== Sending ===== */
.ct-sending {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 80px 0;
}
.ct-sending__spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(43, 58, 140, .2);
  border-top-color: var(--navy-bright);
  border-radius: 50%;
  animation: ctSpin .8s linear infinite;
}
@keyframes ctSpin { to { transform: rotate(360deg); } }
.ct-sending__text {
  font-family: var(--ff-jp);
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* ===== Done ===== */
.ct-done {
  text-align: center;
  padding: 64px 0;
}
.ct-done__circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.ct-done__circle span {
  color: var(--paper);
  font-size: 28px;
  line-height: 1;
}
.ct-done__title {
  font-family: var(--ff-jp);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: .04em;
}
.ct-done__en {
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin: 0;
}
.ct-done__text {
  font-family: var(--ff-jp);
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 28px auto 0;
  max-width: 480px;
}
.ct-done__back { margin: 36px 0 0; }
.ct-done__back a {
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--navy-bright);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ===== State transitions ===== */
.ct-state-fade {
  animation: ctFadeIn .35s var(--ease-out);
}
@keyframes ctFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =======================================================
   RESPONSIVE
   ======================================================= */
@media (max-width: 900px) {
  .ct__grid { grid-template-columns: 1fr; gap: 40px; }
  .ct__side { position: static; }
  .ct__frame { padding: 40px; }
}

@media (max-width: 760px) {
  .ct { padding: 90px 0 80px; }
  .ct__frame { padding: 28px 16px; border-radius: 2px; }
  .ct__frame::before { display: none; }
  .ct__title { font-size: 22px; }
  .ct-form__name-grid { grid-template-columns: 1fr; gap: 10px; }
  .ct-form__radio-list { padding: 4 12px; }
  .ct-confirm__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .ct-confirm__actions { flex-direction: column-reverse; align-items: stretch; }
  .ct-btn { justify-content: center; }
  .ct__side { display: none;}
}