/* お問い合わせページ。トップの演出（home-fx）と同じ色・書体・動きの言葉で組む。
   演出は移動・不透明度・線の描画のみ（filter は使わない）。視差効果を減らす設定では止める。 */
:root {
  --ct-ink: #05070d;
  --ct-paper: #f3efe6;
  --ct-muted: rgba(243, 239, 230, 0.7);
  --ct-faint: rgba(243, 239, 230, 0.48);
  --ct-line: rgba(255, 255, 255, 0.12);
  --ct-red: #e50012;
  --ct-orange: #ff8a4c;
  --ct-gold: #d9b77a;
  --ct-cream: #f3dca6;
  --ct-green: #06c755;
  --ct-mint: #9af5be;
  --ct-error: #ff8d95;
  --ct-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ct-grad: linear-gradient(90deg, var(--ct-red), var(--ct-orange) 55%, var(--ct-gold));
  --ct-display: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --ct-jp: "A-OTF 新ゴ Pro", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ct-ink);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body.ct {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--ct-ink);
  color: var(--ct-paper);
  font-family: var(--ct-jp);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--ct-cream);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ===== 背景：方眼と、ゆっくり動く赤・金の光 ===== */
.ct-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(180deg, #0b1020 0%, var(--ct-ink) 46%, #020306 100%);
}

.ct-bg__glow {
  position: absolute;
  border-radius: 50%;
}

.ct-bg__glow--red {
  left: -28vmax;
  top: -32vmax;
  width: 72vmax;
  height: 72vmax;
  background: radial-gradient(circle, rgba(229, 0, 18, 0.26), transparent 62%);
  animation: ct-drift 18s ease-in-out infinite alternate;
}

.ct-bg__glow--gold {
  right: -28vmax;
  bottom: -34vmax;
  width: 64vmax;
  height: 64vmax;
  background: radial-gradient(circle, rgba(217, 183, 122, 0.16), transparent 62%);
  animation: ct-drift 22s ease-in-out infinite alternate-reverse;
}

/* ===== ヘッダー ===== */
.ct-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(20px, 4vw, 48px);
}

.ct-header__logo {
  display: inline-flex;
  line-height: 0;
}

.ct-header__logo img {
  width: 58px;
  height: auto;
}

.ct-header__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--ct-line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.ct-header__back:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(217, 183, 122, 0.6);
}

/* ===== ヒーロー ===== */
.ct-main {
  position: relative;
  z-index: 1;
  width: min(1180px, 100% - clamp(32px, 8vw, 96px));
  margin: 0 auto;
  padding-bottom: clamp(64px, 9vw, 112px);
}

.ct-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 6vw, 72px) 0 clamp(36px, 5vw, 56px);
}

/* 背景の大きな輪郭文字。2つ並べて左へ流し続ける。 */
.ct-ghost {
  position: absolute;
  left: 50%;
  top: clamp(4px, 2.4vw, 28px);
  z-index: -1;
  width: 100vw;
  margin: 0;
  overflow: hidden;
  translate: -50% 0;
  color: transparent;
  font-family: var(--ct-display);
  font-size: clamp(92px, 18vw, 250px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
  pointer-events: none;
  user-select: none;
}

.ct-ghost span {
  display: inline-block;
  padding-right: 0.32em;
  animation: ct-ghost 30s linear infinite;
}

.ct-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  color: var(--ct-red);
  font-family: var(--ct-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.42em;
}

.ct-eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--ct-red);
}

.ct-title {
  margin: 0;
  font-size: clamp(40px, 6.6vw, 78px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.05em;
}

.ct-catch {
  margin: 16px 0 0;
  background: linear-gradient(90deg, var(--ct-cream), var(--ct-gold) 45%, #ff9a5a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.ct-sp {
  display: none;
}

.ct-lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--ct-muted);
  font-size: 15px;
  line-height: 2;
}

/* 連絡方法の2枚のカード（フォーム・LINE） */
.ct-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 780px;
  margin-top: 36px;
}

.ct-channel {
  --ct-channel-grad: var(--ct-grad);
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px var(--ct-line);
  text-decoration: none;
  transition: translate 0.5s var(--ct-ease), box-shadow 0.4s ease;
}

/* マウスを乗せると、枠がグラデーションに光る */
.ct-channel::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--ct-channel-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ct-channel--line {
  --ct-channel-grad: linear-gradient(90deg, var(--ct-mint), var(--ct-green));
}

.ct-channel:hover {
  translate: 0 -3px;
  box-shadow: inset 0 0 0 1px transparent, 0 18px 40px rgba(0, 0, 0, 0.35);
}

.ct-channel:hover::before,
.ct-channel:focus-visible::before {
  opacity: 1;
}

.ct-channel__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ct-cream);
}

.ct-channel--line .ct-channel__icon {
  background: rgba(6, 199, 85, 0.14);
  color: var(--ct-mint);
}

.ct-channel__icon svg,
.ct-line__button-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ct-channel__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ct-channel__en {
  color: var(--ct-gold);
  font-family: var(--ct-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
}

.ct-channel--line .ct-channel__en {
  color: var(--ct-mint);
}

.ct-channel__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ct-channel__text {
  color: var(--ct-faint);
  font-size: 12px;
  line-height: 1.6;
}

.ct-channel__go {
  margin-left: auto;
  color: var(--ct-faint);
  font-family: var(--ct-display);
  font-size: 18px;
  transition: translate 0.4s var(--ct-ease), color 0.3s ease;
}

.ct-channel:hover .ct-channel__go {
  translate: 0 3px;
  color: var(--ct-paper);
}

/* ===== フォームとLINEの2段組み ===== */
.ct-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.ct-panel {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(22, 26, 36, 0.9), rgba(8, 10, 16, 0.94));
  box-shadow: inset 0 0 0 1px var(--ct-line), 0 30px 80px rgba(0, 0, 0, 0.35);
  scroll-margin-top: 24px;
}

/* ロード画面と同じ、金のかぎ括弧 */
.ct-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid var(--ct-gold);
  opacity: 0.75;
  pointer-events: none;
}

.ct-corner--tl {
  top: 14px;
  left: 14px;
  border-top-width: 2px;
  border-left-width: 2px;
  border-top-left-radius: 6px;
}

.ct-corner--br {
  right: 14px;
  bottom: 14px;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-bottom-right-radius: 6px;
}

.ct-panel__head {
  margin-bottom: 30px;
}

.ct-panel__en {
  margin: 0 0 6px;
  color: var(--ct-gold);
  font-family: var(--ct-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.42em;
}

.ct-panel__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.ct-panel__note {
  margin: 10px 0 0;
  color: var(--ct-faint);
  font-size: 13px;
}

/* ===== フォーム ===== */
.ct-form {
  display: grid;
  gap: 28px;
}

.ct-form[hidden] {
  display: none;
}

.ct-form__summary {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(229, 0, 18, 0.12);
  box-shadow: inset 0 0 0 1px rgba(229, 0, 18, 0.45);
  color: #ffc2c6;
  font-size: 14px;
}

.ct-field {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.ct-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ct-req,
.ct-opt {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.ct-req {
  background: var(--ct-red);
  color: #ffffff;
}

.ct-opt {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  color: var(--ct-faint);
}

.ct-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

/* 入力欄。選ぶと下の線がグラデーションで伸びる。 */
.ct-input {
  position: relative;
  display: block;
  border-radius: 14px;
}

.ct-input input,
.ct-input textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 15px 16px;
  border: 0;
  border-radius: inherit;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  color: var(--ct-paper);
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.ct-input textarea {
  min-height: 190px;
  resize: vertical;
}

.ct-input input::placeholder,
.ct-input textarea::placeholder {
  color: rgba(243, 239, 230, 0.3);
}

.ct-input::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ct-grad);
  scale: 0 1;
  transform-origin: 0 50%;
  transition: scale 0.55s var(--ct-ease);
  pointer-events: none;
}

.ct-input:focus-within::after {
  scale: 1 1;
}

.ct-input input:focus,
.ct-input textarea:focus {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(217, 183, 122, 0.75), 0 0 0 4px rgba(229, 0, 18, 0.14);
}

.ct-input input:-webkit-autofill {
  -webkit-text-fill-color: var(--ct-paper);
  box-shadow: inset 0 0 0 1px rgba(217, 183, 122, 0.5), inset 0 0 0 1000px #171b26;
  transition: background-color 9999s;
}

.ct-field.is-invalid .ct-input input,
.ct-field.is-invalid .ct-input textarea {
  box-shadow: inset 0 0 0 1px rgba(255, 110, 120, 0.95);
}

.ct-error {
  margin: 0;
  color: var(--ct-error);
  font-size: 12.5px;
  line-height: 1.6;
}

.ct-error:empty {
  display: none;
}

.ct-hint {
  margin: 0;
  color: var(--ct-faint);
  font-size: 12px;
}

.ct-field__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ct-count {
  margin: 0 0 0 auto;
  color: var(--ct-faint);
  font-family: var(--ct-display);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}

.ct-count.is-over {
  color: var(--ct-error);
}

/* ご用件の丸い選択肢 */
.ct-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ct-chip,
.ct-segment__item {
  position: relative;
}

.ct-chip input,
.ct-segment__item input,
.ct-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.ct-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, translate 0.4s var(--ct-ease);
}

.ct-chip span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.ct-chip span:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.ct-chip input:checked + span {
  background: linear-gradient(135deg, rgba(229, 0, 18, 0.34), rgba(217, 183, 122, 0.16));
  box-shadow: inset 0 0 0 1px rgba(255, 138, 76, 0.85);
}

.ct-chip input:checked + span::before {
  background: var(--ct-cream);
  box-shadow: 0 0 0 3px rgba(243, 220, 166, 0.22);
}

.ct-field.is-invalid .ct-chip span {
  box-shadow: inset 0 0 0 1px rgba(255, 110, 120, 0.7);
}

.ct-chip input:focus-visible + span,
.ct-segment__item input:focus-visible + span,
.ct-check input:focus-visible + .ct-check__box {
  outline: 2px solid var(--ct-paper);
  outline-offset: 3px;
}

/* 連絡方法の切り替え */
.ct-segment {
  display: inline-grid;
  grid-auto-flow: column;
  width: max-content;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.ct-segment__item span {
  display: block;
  min-width: 112px;
  padding: 9px 22px;
  border-radius: 999px;
  color: var(--ct-muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 0.35s var(--ct-ease), color 0.3s ease;
}

.ct-segment__item input:checked + span {
  background: var(--ct-paper);
  color: var(--ct-ink);
}

/* 同意のチェック */
.ct-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
  cursor: pointer;
}

.ct-check__box {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.38);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.ct-check__box svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--ct-ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  transition: stroke-dashoffset 0.35s var(--ct-ease) 0.05s;
}

.ct-check input:checked + .ct-check__box {
  background: var(--ct-cream);
  box-shadow: none;
}

.ct-check input:checked + .ct-check__box svg {
  stroke-dashoffset: 0;
}

.ct-field.is-invalid .ct-check__box {
  box-shadow: inset 0 0 0 1.5px rgba(255, 110, 120, 0.95);
}

.ct-check__text a {
  color: var(--ct-cream);
  text-underline-offset: 3px;
}

/* ボット対策の見えない欄 */
.ct-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 送信ボタン。白い文字が読める濃さの赤に、クリーム色の矢印。 */
.ct-submit {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: 4px;
}

.ct-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  padding: 0 14px 0 32px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, #b4000d, var(--ct-red) 58%, #d6001a);
  box-shadow: 0 16px 40px rgba(229, 0, 18, 0.32);
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: translate 0.5s var(--ct-ease), box-shadow 0.4s ease;
}

.ct-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.32) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%;
  background-position: 100% 0;
  opacity: 0;
  pointer-events: none;
}

.ct-button:hover {
  translate: 0 -2px;
  box-shadow: 0 22px 50px rgba(229, 0, 18, 0.42);
}

.ct-button:hover::before {
  animation: ct-sheen 1s var(--ct-ease);
}

.ct-button:focus-visible {
  outline: 2px solid var(--ct-paper);
  outline-offset: 4px;
}

.ct-button[disabled] {
  cursor: progress;
}

.ct-button__label {
  position: relative;
}

.ct-button__icon,
.ct-button__spinner {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.ct-button__icon {
  background: var(--ct-cream);
  color: #3a0a06;
  transition: translate 0.5s var(--ct-ease);
}

.ct-button:hover .ct-button__icon {
  translate: 4px 0;
}

.ct-button__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ct-button__spinner {
  display: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  animation: ct-spin 0.8s linear infinite;
}

.ct-form.is-sending .ct-button__icon {
  display: none;
}

.ct-form.is-sending .ct-button__spinner {
  display: grid;
}

.ct-status {
  margin: 0;
  color: var(--ct-muted);
  font-size: 13px;
}

.ct-status:empty {
  display: none;
}

.ct-status.is-error {
  color: var(--ct-error);
}

/* ===== 送信後 ===== */
.ct-panel.is-done .ct-panel__head {
  display: none;
}

.ct-done {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px 0 8px;
  outline: none;
  text-align: center;
}

.ct-done[hidden] {
  display: none;
}

.ct-done__mark {
  width: 88px;
  height: 88px;
  margin-bottom: 8px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ct-done__mark circle {
  stroke: rgba(243, 220, 166, 0.4);
  stroke-width: 2;
  stroke-dasharray: 183;
  stroke-dashoffset: 183;
  animation: ct-draw 0.9s var(--ct-ease) 0.1s forwards;
}

.ct-done__mark path {
  stroke: var(--ct-cream);
  stroke-width: 3.5;
  stroke-dasharray: 44;
  stroke-dashoffset: 44;
  animation: ct-draw 0.6s var(--ct-ease) 0.7s forwards;
}

.ct-done__title {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.ct-done__text {
  max-width: 440px;
  margin: 4px 0 0;
  color: var(--ct-muted);
}

.ct-done__ref {
  margin: 6px 0 0;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--ct-line);
  color: var(--ct-muted);
  font-size: 13px;
}

.ct-done__ref[hidden] {
  display: none;
}

.ct-done__ref b {
  margin-left: 8px;
  color: var(--ct-cream);
  font-family: var(--ct-display);
  letter-spacing: 0.12em;
}

.ct-done__note {
  margin: 4px 0 0;
  color: var(--ct-faint);
  font-size: 12.5px;
}

.ct-done__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.ct-ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.ct-ghost-button:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.ct-ghost-button--line {
  box-shadow: inset 0 0 0 1px rgba(6, 199, 85, 0.75);
  color: var(--ct-mint);
}

/* ===== LINE ===== */
.ct-line {
  position: sticky;
  top: 24px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(9, 32, 20, 0.92), rgba(6, 10, 12, 0.95));
  box-shadow: inset 0 0 0 1px rgba(6, 199, 85, 0.3), 0 30px 80px rgba(0, 0, 0, 0.35);
}

.ct-line__glow {
  position: absolute;
  right: -150px;
  top: -150px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 199, 85, 0.34), transparent 65%);
  pointer-events: none;
  animation: ct-pulse 6s ease-in-out infinite;
}

.ct-line .ct-panel__en {
  color: var(--ct-mint);
}

.ct-line .ct-panel__title {
  position: relative;
  font-size: clamp(22px, 2.6vw, 27px);
}

.ct-line__text {
  position: relative;
  margin: 14px 0 0;
  color: var(--ct-muted);
  font-size: 14px;
  line-height: 1.9;
}

.ct-steps {
  position: relative;
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.ct-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  font-weight: 700;
}

.ct-steps span {
  color: var(--ct-mint);
  font-family: var(--ct-display);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.ct-qr {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 22px 0 0;
}

.ct-qr img {
  display: block;
  width: 168px;
  height: 168px;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.ct-qr figcaption {
  color: var(--ct-faint);
  font-size: 12px;
}

/* LINEの緑に、読みやすい濃い文字 */
.ct-line__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--ct-green);
  box-shadow: 0 14px 34px rgba(6, 199, 85, 0.3);
  color: #03200e;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: translate 0.5s var(--ct-ease), box-shadow 0.4s ease;
}

.ct-line__button:hover {
  translate: 0 -2px;
  box-shadow: 0 20px 44px rgba(6, 199, 85, 0.42);
}

.ct-line__button-icon {
  display: grid;
  line-height: 0;
}

/* ===== フッター ===== */
.ct-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  padding: 30px 20px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.4);
  font-size: 14px;
}

.ct-footer a {
  color: var(--ct-muted);
  text-underline-offset: 4px;
}

/* ===== 出現（JavaScriptが動くときだけ隠しておく） ===== */
html.ct-js:not(.ct-ready) [data-ct-reveal] {
  opacity: 0;
  translate: 0 26px;
}

[data-ct-reveal] {
  transition: opacity 0.8s ease, translate 1.1s var(--ct-ease);
  transition-delay: var(--ct-delay, 0s);
}

html.ct-js [data-ct-reveal].is-in {
  opacity: 1;
  translate: 0 0;
}

/* ===== 画面幅 ===== */
@media (max-width: 980px) {
  .ct-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ct-line {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  .ct-header {
    padding: 14px 16px;
  }

  .ct-header__logo img {
    width: 48px;
  }

  .ct-sp {
    display: inline;
  }

  .ct-lead {
    font-size: 14px;
  }

  .ct-channels {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .ct-panel {
    border-radius: 20px;
  }

  .ct-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ct-segment {
    width: 100%;
  }

  .ct-segment__item span {
    min-width: 0;
  }

  .ct-submit {
    justify-items: stretch;
  }

  .ct-button {
    justify-content: space-between;
    width: 100%;
  }

  /* スマホでは読み取らずに押せるので、QRコードは出さない */
  .ct-qr {
    display: none;
  }
}

/* ===== 動きを減らす設定 ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ct-bg__glow,
  .ct-ghost span,
  .ct-line__glow,
  .ct-button:hover::before {
    animation: none;
  }

  html.ct-js:not(.ct-ready) [data-ct-reveal],
  [data-ct-reveal] {
    opacity: 1;
    translate: none;
    transition: none;
  }

  .ct-channel,
  .ct-button,
  .ct-line__button,
  .ct-button__icon,
  .ct-channel__go,
  .ct-input::after {
    transition: none;
  }

  .ct-channel:hover,
  .ct-button:hover,
  .ct-line__button:hover,
  .ct-button:hover .ct-button__icon,
  .ct-channel:hover .ct-channel__go {
    translate: none;
  }

  .ct-done__mark circle,
  .ct-done__mark path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

@media (forced-colors: active) {
  .ct-panel,
  .ct-channel,
  .ct-input input,
  .ct-input textarea,
  .ct-chip span,
  .ct-segment,
  .ct-check__box {
    border: 1px solid CanvasText;
  }
}

@keyframes ct-drift {
  to { translate: 7vmax 5vmax; }
}

@keyframes ct-ghost {
  to { translate: -100% 0; }
}

@keyframes ct-sheen {
  from { background-position: 100% 0; opacity: 1; }
  to { background-position: 0% 0; opacity: 1; }
}

@keyframes ct-spin {
  to { rotate: 1turn; }
}

@keyframes ct-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes ct-pulse {
  50% { opacity: 0.55; scale: 0.92; }
}
