/* ============================================
   SHOHSHIN - Inquiry Form
   Brand: navy/black + amber #fd8419
============================================ */

:root {
  --c-text: #1a1a1a;
  --c-text-sub: #555;
  --c-text-mute: #888;
  --c-bg: #ffffff;
  --c-bg-soft: #f6f7f9;
  --c-bg-section: #fafbfc;
  --c-border: #e3e6ea;
  --c-border-strong: #c9ced4;
  --c-primary: #fd8419;
  --c-primary-dark: #e5731a;
  --c-primary-soft: #fff4e8;
  --c-navy: #1a2a4a;
  --c-navy-deep: #0f1d3a;
  --c-navy-soft: #1c2c6b;
  --c-orange-cta: #e8a020;
  --c-blue-cta: #2563eb;
  --c-success: #2e8b57;
  --c-error: #d13b3b;
  --c-line: #06c755;
  --shadow-sm: 0 1px 2px rgba(15, 23, 34, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 34, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 34, 0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1080px;
  --ease: cubic-bezier(0.4, 0.14, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  color: var(--c-text);
  background: var(--c-bg-section);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .75; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } }

/* ===== Header ===== */
.site-header {
  background: var(--c-navy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity .2s var(--ease);
}
.logo:hover { opacity: .85; }
.logo img {
  height: 64px;
  width: auto;
  display: block;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-info__label {
  display: inline-block;
  background: var(--c-orange-cta);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .03em;
  padding: 6px 14px;
  border-radius: 4px;
  line-height: 1.4;
}
.header-info__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .04em;
  font-feature-settings: "tnum";
  text-decoration: none;
  transition: opacity .2s var(--ease);
}
.header-info__phone:hover { opacity: .8; }
.header-info__phone svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .8; }

@media (max-width: 760px) {
  .header-info__label { font-size: 12px; padding: 5px 10px; }
  .header-info__phone { font-size: 15px; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 72px; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .logo img { height: 50px; }
  .header-info { gap: 10px; }
  .header-info__label { display: none; }
  .header-info__phone { font-size: 14px; }
}
@media (max-width: 420px) {
  .header-inner { min-height: 64px; }
  .logo img { height: 42px; }
}

/* ===== Hero ===== */
.form-hero {
  background: linear-gradient(180deg, #fff 0%, var(--c-bg-section) 100%);
  padding: 64px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--c-border);
}
.form-hero__eyebrow {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  letter-spacing: .3em;
  font-weight: 700;
  color: var(--c-primary);
  margin: 0 0 12px;
}
.form-hero__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.4;
  margin: 0 0 20px;
  color: var(--c-navy);
}
.form-hero__lead {
  font-size: 15px;
  color: var(--c-text-sub);
  margin: 0;
  line-height: 1.9;
}
.form-hero__lead strong { color: var(--c-primary-dark); }

@media (max-width: 640px) {
  .form-hero { padding: 40px 0 32px; }
  .form-hero__lead { font-size: 14px; text-align: left; }
}

/* ===== Form Wrap ===== */
.form-wrap { padding: 56px 0 80px; }
.form-wrap > .container {
  max-width: 720px;
}

/* ===== Stepper (Progress) ===== */
.stepper {
  list-style: none;
  margin: 0 0 32px;
  padding: 16px 8% 0;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.stepper--thanks {
  margin: 8px auto 40px;
  max-width: 720px;
  padding: 16px 8% 0;
}

.stepper__item {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  min-width: 0;
}

/* Connector line — drawn from the previous item's dot center to this item's dot center */
.stepper__item:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 9px; /* aligns to dot center */
  right: 50%;
  width: 100%;
  height: 2px;
  background: #e3e6ea;
  z-index: 0;
  transition: background .35s var(--ease);
}
.stepper__item.is-active:not(:first-child)::before {
  background: var(--c-primary);
}

.stepper__dot {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dde1e6;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stepper__item.is-active .stepper__dot {
  background: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(253, 132, 25, 0.18);
}
.stepper__item.is-active:last-child .stepper__dot {
  /* gentle pulse when the final stage is reached (thanks page) */
  animation: stepperPulse 1.6s var(--ease) infinite;
}
@keyframes stepperPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(253, 132, 25, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(253, 132, 25, 0.05); }
}

.stepper__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-mute);
  letter-spacing: .03em;
  transition: color .3s var(--ease);
  white-space: nowrap;
}
.stepper__item.is-active .stepper__label {
  color: var(--c-primary-dark);
  font-weight: 700;
}

@media (max-width: 640px) {
  .stepper { padding: 12px 4% 0; margin-bottom: 24px; }
  .stepper__dot { width: 16px; height: 16px; }
  .stepper__item:not(:first-child)::before { top: 8px; }
  .stepper__label { font-size: 12px; }
}

/* ===== Honeypot (hidden anti-bot field) ===== */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ===== Auto-save notice ===== */
.form-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 8px 14px;
  background: #eef6ff;
  border: 1px solid #cfe1f6;
  border-radius: 999px;
  font-size: 12.5px;
  color: #3a6ea5;
  font-weight: 500;
}
.form-notice svg { flex-shrink: 0; opacity: .8; }
@media (max-width: 540px) {
  .form-notice { font-size: 11.5px; padding: 7px 12px; }
}

/* ===== Step-level error alert ===== */
.step-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff5f5;
  border: 1px solid #f5c5c5;
  border-radius: 3px;
  font-size: 13.5px;
  font-weight: 500;
  color: #b22d2d;
  margin: 0 0 20px;
  animation: shake .35s var(--ease);
}
.step-alert svg { flex-shrink: 0; color: var(--c-error); }
.step-alert[hidden] { display: none !important; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-3px); }
  75%      { transform: translateX(3px); }
}

/* ===== Inline link button (privacy etc) ===== */
.link-btn {
  display: inline;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--c-primary);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
  cursor: pointer;
}
.link-btn:hover { opacity: .75; }
.link-btn:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: 2px; }

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 29, 58, 0.55);
  backdrop-filter: blur(2px);
  animation: fadeIn .2s var(--ease);
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  animation: modalIn .25s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--c-border);
}
.modal__title {
  font-size: 18px;
  font-weight: 900;
  color: var(--c-navy);
  margin: 0;
}
.modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--c-text-sub);
  cursor: pointer;
  transition: background .2s var(--ease);
}
.modal__close:hover { background: var(--c-bg-soft); color: var(--c-navy); }
.modal__body {
  padding: 20px 24px 8px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-text-sub);
}
.modal__body h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-navy);
  margin: 18px 0 4px;
}
.modal__body h3:first-of-type { margin-top: 12px; }
.modal__body p { margin: 0 0 4px; }
.modal__foot {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: flex-end;
}
.modal__foot .btn { padding: 12px 28px; min-height: 0; }

@media (max-width: 540px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal__panel { max-width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; }
}

/* ===== Form ===== */
.form {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 3px;
  padding: 44px 44px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 720px) {
  .form { padding: 28px 20px; }
}

/* Step */
.step {
  border: 0;
  padding: 0;
  margin: 0;
  display: none;
  animation: fadeUp .4s var(--ease);
}
.step.is-active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step__title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 22px;
  font-weight: 900;
  color: var(--c-navy);
  margin: 0 0 8px;
  padding: 0;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--c-primary) 0%, #ffaa55 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .05em;
  box-shadow: 0 4px 12px rgba(253, 132, 25, 0.3);
}
.step__desc {
  color: var(--c-text-sub);
  font-size: 14px;
  margin: 0 0 32px;
  padding-left: 60px;
}
@media (max-width: 640px) {
  .step__title { font-size: 18px; }
  .step__num { width: 36px; height: 36px; font-size: 12px; }
  .step__desc { padding-left: 0; margin-bottom: 24px; }
}

/* Group label inside step */
.group-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--c-navy);
  padding: 5px 14px;
  border-radius: 4px;
  letter-spacing: .08em;
  margin: 0 0 18px;
  position: relative;
}
.group-label--mt {
  margin-top: 16px;
  padding-top: 28px;
  background: transparent;
  color: var(--c-navy);
  border-top: 1px dashed var(--c-border);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  display: block;
  font-size: 13px;
}
.group-label--mt::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 14px;
  background: var(--c-primary);
  margin-right: 8px;
  vertical-align: -2px;
  border-radius: 2px;
}

/* Field */
.field { margin-bottom: 24px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
}

.field__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 8px;
}
.req, .opt {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 6px;
  letter-spacing: .05em;
  vertical-align: 1px;
}
.req { background: #ffeaea; color: var(--c-error); }
.opt { background: #eef0f3; color: var(--c-text-sub); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--c-text);
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: 3px;
  transition: all .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%231a1a1a' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.7;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(253, 132, 25, 0.12);
}
.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: var(--c-error);
  background: #fff8f8;
}
.field input::placeholder,
.field textarea::placeholder { color: #b8bcc2; }

.field__hint {
  font-size: 12px;
  color: var(--c-text-mute);
  margin: 6px 0 0;
}
.field__error {
  font-size: 12.5px;
  color: var(--c-error);
  margin: 6px 0 0;
  font-weight: 500;
  min-height: 0;
  display: none;
}
.field__error.is-visible { display: block; }

/* Radio / Check */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.radio {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--c-border);
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s var(--ease);
  background: var(--c-bg);
}
.radio input { accent-color: var(--c-primary); }
.radio:hover { border-color: var(--c-border-strong); }
.radio:has(input:checked) {
  border-color: var(--c-primary);
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  font-weight: 700;
}

.field--check { padding-top: 4px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.6;
}
.check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--c-primary);
  flex-shrink: 0;
  cursor: pointer;
}
.check a { font-weight: 700; text-decoration: underline; }

/* Actions */
.step__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
}
.step__actions:has(button:only-child) { justify-content: flex-end; }
.step__actions--confirm {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: all .25s var(--ease);
  letter-spacing: .03em;
  white-space: nowrap;
  min-height: 52px;
}
.btn--primary {
  background: linear-gradient(135deg, var(--c-primary) 0%, #ffa550 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(253, 132, 25, 0.35);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(253, 132, 25, 0.45);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: var(--c-bg);
  color: var(--c-text-sub);
  border: 1.5px solid var(--c-border);
}
.btn--ghost:hover { border-color: var(--c-border-strong); color: var(--c-navy); }
.btn--lg { padding: 18px 36px; font-size: 16px; min-height: 60px; }
.btn--xl {
  padding: 22px 44px;
  font-size: 19px;
  min-height: 76px;
  font-weight: 900;
  letter-spacing: .05em;
  border-radius: 3px;
  box-shadow: 0 10px 28px rgba(253, 132, 25, 0.45);
  position: relative;
  overflow: hidden;
}
.btn--xl::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
  pointer-events: none;
}
.btn--xl:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(253, 132, 25, 0.55);
}
.btn--xl:hover::after { transform: translateX(100%); }
.btn--full { width: 100%; }
.btn--full-sub {
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--c-border);
  font-size: 14px;
  min-height: 48px;
  padding: 12px 20px;
}
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

@media (max-width: 540px) {
  .btn { padding: 12px 18px; font-size: 14px; flex: 1; }
  .btn--lg { padding: 16px 24px; font-size: 15px; }
}

/* Confirm */
.confirm-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-border);
}
.confirm-list__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--c-border);
}
.confirm-list dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text-sub);
  letter-spacing: .03em;
}
.confirm-list dd {
  margin: 0;
  font-size: 15px;
  color: var(--c-navy);
  word-break: break-word;
  white-space: pre-wrap;
}
.confirm-list dd:empty::before {
  content: '—';
  color: var(--c-text-mute);
}
@media (max-width: 640px) {
  .confirm-list__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .confirm-list dt { font-size: 12px; }
  .confirm-list dd { font-size: 14px; }
}

/* Trust */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding: 28px;
  background: var(--c-navy);
  border-radius: var(--radius-lg);
  color: #fff;
}
.trust__item { text-align: center; }
.trust__num {
  font-size: 36px;
  font-weight: 900;
  margin: 0 0 4px;
  color: var(--c-primary);
  letter-spacing: .02em;
  line-height: 1.1;
}
.trust__num span {
  font-size: 14px;
  color: #fff;
  margin-left: 2px;
  font-weight: 700;
}
.trust__label {
  font-size: 12px;
  margin: 0;
  letter-spacing: .1em;
  color: #b8c0cc;
}
@media (max-width: 540px) {
  .trust { padding: 20px 16px; gap: 8px; }
  .trust__num { font-size: 26px; }
  .trust__num span { font-size: 12px; }
  .trust__label { font-size: 11px; }
}

/* Footer */
.site-footer {
  background: var(--c-navy);
  color: #b8c0cc;
  padding: 32px 0;
  text-align: center;
}
.site-footer__name {
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  font-size: 14px;
  letter-spacing: .05em;
}
.site-footer__copy {
  font-size: 12px;
  margin: 0;
  letter-spacing: .05em;
}

/* ===== Thanks Page ===== */
.thanks-main { min-height: calc(100vh - 200px); padding: 80px 0; }
.thanks-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
}
.thanks-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--c-primary) 0%, #ffaa55 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(253, 132, 25, 0.35);
  animation: pop .6s var(--ease);
}
.thanks-icon svg { width: 44px; height: 44px; color: #fff; }
@keyframes pop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.thanks-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 900;
  color: var(--c-navy);
  margin: 0 0 16px;
  line-height: 1.4;
}
.thanks-lead {
  color: var(--c-text-sub);
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 8px;
}
.thanks-note {
  font-size: 13px;
  color: var(--c-text-mute);
  margin: 0;
  padding: 12px 16px;
  background: var(--c-bg-soft);
  border-radius: var(--radius);
  margin-top: 24px;
}

.line-cta {
  margin-top: 48px;
  padding: 40px 32px;
  background: linear-gradient(180deg, #f0fff5 0%, #e6fbed 100%);
  border: 2px solid #06c755;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.line-cta::before {
  content: 'GIFT';
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--c-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
  padding: 4px 40px;
  transform: rotate(45deg);
}
.line-cta__badge {
  display: inline-block;
  background: var(--c-line);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.line-cta__title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  color: var(--c-navy);
  margin: 0 0 8px;
  line-height: 1.4;
}
.line-cta__title em {
  color: var(--c-primary-dark);
  font-style: normal;
  background: linear-gradient(transparent 60%, rgba(253, 132, 25, 0.25) 60%);
}
.line-cta__lead {
  color: var(--c-text-sub);
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 20px;
}

.gift-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
  text-align: left;
}
.gift-list__item {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-navy);
  border: 1px solid #d0eedb;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.gift-list__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--c-line);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  flex-shrink: 0;
}
@media (max-width: 540px) {
  .gift-list { grid-template-columns: 1fr; }
}

.btn--line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 380px;
  padding: 18px 28px;
  background: var(--c-line);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  border-radius: 999px;
  letter-spacing: .03em;
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.4);
  transition: all .25s var(--ease);
  text-decoration: none;
}
.btn--line:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 199, 85, 0.5);
  opacity: 1;
}
.btn--line svg { width: 26px; height: 26px; flex-shrink: 0; }

.line-cta__sub {
  font-size: 12px;
  color: var(--c-text-mute);
  margin: 14px 0 0;
}

.line-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.line-qr {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed #b9e2c7;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.line-qr__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-navy);
  margin: 0 0 4px;
  line-height: 1.5;
}
.line-qr img {
  width: 160px;
  height: 160px;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 34, 0.08);
}
.line-qr__id {
  font-size: 12px;
  color: var(--c-text-sub);
  font-weight: 700;
  letter-spacing: .05em;
  margin: 0;
  font-feature-settings: "tnum";
}

@media (max-width: 540px) {
  .line-qr { margin-top: 20px; padding-top: 20px; }
  .line-qr img { width: 140px; height: 140px; }
}

.thanks-back {
  margin-top: 40px;
  text-align: center;
}
.thanks-back a {
  color: var(--c-text-sub);
  font-size: 13px;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .thanks-main { padding: 48px 0; }
  .thanks-card { padding: 40px 24px; }
  .line-cta { padding: 28px 20px; }
}
