/* ========================================
   career-chat-lp / キャリアアンケートLP
   ======================================== */

:root {
  --color-surface: #fff;
  --color-bubble-you: #ee7800;
  --color-bubble-bot: #ffffff;
  --color-text: #333;
  --color-accent: #e74c3c;
  --color-cta: #ee7800;
  --color-border: #ddd;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: #ee7800;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ----------------------------------------
   Top bar
   ---------------------------------------- */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.brand-mark-wrap {
  display: block;
}

.brand-mark {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-mark--header {
  height: 40px;
  max-width: 160px;
}

.brand-mark--footer {
  height: 36px;
  max-width: 140px;
}

.badge-area {
  flex: 1;
  min-width: 200px;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.badge-caption {
  margin: 0;
  max-width: 280px;
  height: auto;
  vertical-align: middle;
}

.badge-pic {
  max-width: 280px;
  height: auto;
}

/* ----------------------------------------
   Page body & stage
   ---------------------------------------- */
.page-body {
  position: relative;
  min-height: 60vh;
  padding: var(--space-lg);
}

.stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/body-bg.png") center / cover no-repeat;
  pointer-events: none;
}

.page-body::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  pointer-events: none;
}

/* ----------------------------------------
   Survey panel（薄い水色・グレーブルー系の背景）
   ---------------------------------------- */
.survey-panel {
  position: relative;
  z-index: 2;
  max-width: calc(640px + 2rem);
  margin: 0 auto;
  background: #FFF4E7;
  padding: 1rem 2rem;
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ----------------------------------------
   Thread (message list)
   ---------------------------------------- */
.thread {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-bottom: var(--space-xl);
}

/* 1問1答: hidden のブロックは確実に非表示（b5/b6/b7 の点が先に出ないように） */
#thread article[hidden] {
  display: none !important;
}

/* ----------------------------------------
   Bubble (message block)
   ---------------------------------------- */
.bubble {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  max-width: 90%;
}

.bubble--bot {
  align-self: flex-start;
  gap: 4px;
}

.bubble--you {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.speaker-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: contain;
  background-color: #FF9538;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.bubble-body {
  flex: 1;
  min-width: 0;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.bubble--bot .bubble-body {
  background: var(--color-bubble-bot);
  border-top-left-radius: 4px;
  box-shadow: var(--shadow);
}

.bubble--you .bubble-body {
  background: var(--color-bubble-you);
  color: #fff;
  border-top-right-radius: 4px;
  box-shadow: var(--shadow);
}

.bubble-txt {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.bubble-txt--reply {
  font-weight: 500;
  text-align: right;
}

.bubble-txt[hidden],
.bubble-txt--visible:not([hidden]) {
  display: block;
}

.bubble-txt--visible[hidden] {
  display: none;
}

.highlight {
  font-weight: 600;
}

.highlight--red {
  color: var(--color-accent);
}

.bubble-emphasis {
  color: #c00;
  font-weight: 700;
}

.bubble-emphasis-same-size {
  color: #c00;
  font-weight: 700;
}

.highlight--under {
  text-decoration: underline;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-xs) 0;
}

.typing-indicator[aria-hidden="false"],
.bubble-body:has(.bubble-txt--visible:not([hidden])) .typing-indicator {
  display: none;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #999;
  animation: dotPulse 1.2s ease-in-out infinite;
}

.dot:nth-child(2) { animation-delay: 0.15s; }
.dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.4; transform: scale(0.9); }
  40% { opacity: 1; transform: scale(1); }
}

/* ----------------------------------------
   Choices area
   ---------------------------------------- */
.choices-area {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.choice-set {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  max-width: 100%;
}

.choice-set--hidden {
  display: none;
}

.choice-set.choice-set--visible {
  display: grid;
}

/* 最終CV CTA：1セクション・ボタン中央揃え */
.final-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: var(--space-md);
}

.final-cta--hidden {
  display: none;
}

.final-cta--visible {
  display: flex;
  margin-top: var(--space-md);
}

/* 最終CTAリンク：面積大・動き・テカリ・アイコン・テキスト強調 */
.final-cta__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  width: 100%;
  max-width: 420px;
  padding: var(--space-lg) var(--space-xl);
  color: #fff;
  background: linear-gradient(180deg, #2ed573 0%, #06c755 35%, #05a847 100%);
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  line-height: 1.5;
  font-size: 18px;
  font-weight: 500;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 2px 8px rgba(255, 255, 255, 0.25),
    0 6px 0 #048c3a,
    0 10px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: final-cta-pulse 2.5s ease-in-out infinite;
}

.final-cta__link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.22) 28%,
    rgba(255, 255, 255, 0.06) 55%,
    transparent 100%
  );
  pointer-events: none;
}

.final-cta__link::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  pointer-events: none;
  animation: final-cta-shine 3s ease-in-out infinite;
}

@keyframes final-cta-pulse {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), inset 0 2px 8px rgba(255,255,255,0.25), 0 6px 0 #048c3a, 0 10px 24px rgba(0,0,0,0.28); }
  50%  { box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), inset 0 2px 8px rgba(255,255,255,0.3), 0 6px 0 #048c3a, 0 12px 28px rgba(0,0,0,0.32); }
}

@keyframes final-cta-shine {
  0%   { left: -100%; }
  60%  { left: 100%; }
  100% { left: 100%; }
}

.final-cta__link:hover,
.final-cta__link:focus {
  background: linear-gradient(180deg, #06c755 0%, #05a847 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.1),
    0 3px 0 #048c3a,
    0 6px 20px rgba(0, 0, 0, 0.22);
  transform: translateY(3px);
  color: #fff;
}

.final-cta__icons {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.final-cta__icon {
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.final-cta__icon--person {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  background-color: #FF9538;
}

.final-cta__icon--line {
  width: 32px;
  height: 32px;
  background: #fff;
}

.final-cta__text {
  text-align: left;
  position: relative;
  z-index: 1;
}

.final-cta__highlight--main {
  color: #fff100;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.final-cta__free {
  color: #fff100;
  font-weight: 700;
}

.final-cta__action {
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: 0.02em;
}

/* LINE CTA画像バージョン：ボタン装飾を解除して画像のみ表示 + テカリ・プルプル */
.final-cta__link:has(.final-cta__img) {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  animation: linecta-shake 4s ease-in-out infinite;
}

/* テカリ：左→右にピカー。4秒周期で テカリ→ブルブル→テカリ→ブルブル */
.final-cta__link:has(.final-cta__img)::before {
  display: block;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100px;
  height: 120%;
  margin-top: -10%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 15%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.15) 85%,
    transparent 100%
  );
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
  animation: linecta-shine 4s ease-in-out infinite;
  pointer-events: none;
}

.final-cta__link:has(.final-cta__img)::after {
  display: none;
}

/* 左から右に光が走る（1・3秒目）。テカリ→ブルブル→テカリ→ブルブルのリズム */
@keyframes linecta-shine {
  0%       { transform: translateX(-100%);  opacity: 0.4; }
  5%      { transform: translateX(-50%);   opacity: 0.7; }
  20%     { transform: translateX(200%);  opacity: 0.7; }
  25%     { transform: translateX(250%);  opacity: 0; }
  26%, 49% { transform: translateX(-100%); opacity: 0; }
  50%     { transform: translateX(-100%);  opacity: 0.4; }
  55%     { transform: translateX(-50%);   opacity: 0.7; }
  70%     { transform: translateX(200%);  opacity: 0.7; }
  75%     { transform: translateX(250%);  opacity: 0; }
  76%, 100% { transform: translateX(-100%); opacity: 0; }
}

/* 2・4秒目に「ブルルル」と震える */
@keyframes linecta-shake {
  0%, 24%    { transform: translateX(0); }
  25%        { transform: translateX(-3px); }
  26%        { transform: translateX(3px); }
  27%        { transform: translateX(-3px); }
  28%        { transform: translateX(3px); }
  29%        { transform: translateX(-2px); }
  30%, 49%   { transform: translateX(0); }
  50%, 74%   { transform: translateX(0); }
  75%        { transform: translateX(-3px); }
  76%        { transform: translateX(3px); }
  77%        { transform: translateX(-3px); }
  78%        { transform: translateX(3px); }
  79%        { transform: translateX(-2px); }
  80%, 100%  { transform: translateX(0); }
}

.final-cta__link:has(.final-cta__img):hover,
.final-cta__link:has(.final-cta__img):focus {
  background: none;
  box-shadow: none;
}

.final-cta__img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* PCのみCVボタンを70%サイズに */
@media (min-width: 769px) {
  .final-cta__link:has(.final-cta__img) {
    width: 70%;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
}

.option-btn {
  padding: var(--space-md) var(--space-lg);
  font-size: 17px;
  font-weight: 500;
  text-align: center;
  color: var(--color-text);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}

.option-btn:hover,
.option-btn:focus {
  border-color: var(--color-accent);
  background: #fff8f7;
  outline: none;
}

.option-btn--cta {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, #2ed573 0%, #06c755 35%, #05a847 100%);
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  line-height: 1.4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 2px 4px rgba(255, 255, 255, 0.2),
    0 4px 0 #048c3a,
    0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.option-btn--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.2) 25%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.option-btn--cta:hover,
.option-btn--cta:focus {
  background: linear-gradient(180deg, #06c755 0%, #05a847 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.1),
    0 2px 0 #048c3a,
    0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(2px);
  color: #fff;
}

.option-btn--cta:hover::before,
.option-btn--cta:focus::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    transparent 100%
  );
}

/* CTA block */
.cta-block {
  padding: var(--space-lg) 0;
}

.cta-block.choice-set--hidden {
  display: none;
}

.cta-block.choice-set--visible {
  display: block;
}

.primary-cta {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(180deg, #2ed573 0%, #06c755 35%, #05a847 100%);
  border: none;
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 2px 4px rgba(255, 255, 255, 0.2),
    0 4px 0 #048c3a,
    0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.primary-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.2) 25%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.primary-cta:hover {
  background: linear-gradient(180deg, #06c755 0%, #05a847 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.1),
    0 2px 0 #048c3a,
    0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(2px);
}

.primary-cta:hover::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    transparent 100%
  );
}

.primary-cta .line-logo {
  flex-shrink: 0;
}

.primary-cta span {
  line-height: 1.4;
}

.cta-note {
  margin: var(--space-sm) 0 0;
  font-size: 12px;
  color: #666;
  text-align: right;
  padding-right: var(--space-lg);
}

/* ----------------------------------------
   Form block（LINE風メッセージ入力）
   ---------------------------------------- */
.form-block {
  padding: var(--space-md) 0;
}

.form-block.choice-set--hidden {
  display: none;
}

.form-block.choice-set--visible {
  display: block;
}

.form-note {
  margin: 0 0 var(--space-sm);
  font-size: 11px;
  color: #999;
}

/* ラベルはスクリーンリーダー用に非表示 */
.form-label--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-step {
  margin-bottom: 0;
}

.form-step--hidden {
  display: none !important;
}

.form-step--visible {
  display: block;
}

/* LINE風：1本の入力バー＋送信ボタン */
.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 6px 6px 6px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  max-width: 100%;
}

.chat-input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  font-size: 15px;
  font-family: inherit;
  border: none;
  background: transparent;
  box-sizing: border-box;
}

.chat-input::placeholder {
  color: #999;
}

.chat-input:focus {
  outline: none;
}

.chat-send-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-cta);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.15s;
}

.chat-send-btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.chat-send-icon {
  font-size: 12px;
  line-height: 1;
  margin-left: 2px;
}

.form-confirm-note {
  margin: 0 0 var(--space-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.chat-send-cta.form-submit {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  padding: 12px 20px;
  font-size: 17px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  background: linear-gradient(180deg, #2ed573 0%, #06c755 35%, #05a847 100%);
  color: #fff;
  font-weight: 500;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 2px 4px rgba(255, 255, 255, 0.2),
    0 4px 0 #048c3a,
    0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.chat-send-cta.form-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.2) 25%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.chat-send-cta.form-submit:hover {
  background: linear-gradient(180deg, #06c755 0%, #05a847 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.1),
    0 2px 0 #048c3a,
    0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(2px);
}

.chat-send-cta.form-submit:hover::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    transparent 100%
  );
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.site-foot {
  padding: var(--space-xl) var(--space-lg);
  background: #fff;
  color: #000;
  text-align: center;
}

.foot-logo-wrap {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.foot-info {
  margin-bottom: var(--space-md);
  font-size: 13px;
  line-height: 1.6;
}

.foot-company,
.foot-address {
  margin: 0 0 var(--space-xs);
  color: #000;
}

.foot-address {
  font-size: 12px;
  color: #333;
}

.foot-links {
  margin-bottom: var(--space-md);
  font-size: 13px;
}

.foot-sep {
  margin: 0 var(--space-xs);
  color: #666;
}

.foot-link:hover {
  text-decoration: underline;
}

.foot-legal {
  margin: 0;
  font-size: 12px;
  color: #333;
  line-height: 1.7;
}

/* ----------------------------------------
   Responsive
   ---------------------------------------- */
@media (max-width: 480px) {
  .top-bar {
    flex-direction: column;
    padding: var(--space-sm) var(--space-md);
  }

  .badge-pic {
    max-width: 100%;
  }

  /* スマホ: 左右余白を最小にしてLINEのようにメッセージ面積を広く */
  .page-body {
    padding: var(--space-md) 0;
  }

  .survey-panel {
    padding: 1rem 6px;
    border-radius: 0;
  }

  .thread {
    padding-left: 4px;
    padding-right: 4px;
  }

  .bubble {
    max-width: 100%;
  }

  .bubble-body {
    padding: var(--space-sm) 12px;
  }

  .bubble-txt {
    font-size: 14px;
  }

  .choice-set {
    grid-template-columns: 1fr;
  }

  .option-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 14px;
  }
}

/* ---- lp-Chatbot01 追加分 ---- */
.brand-placeholder { font-size: 12px; color: #999; letter-spacing: .04em; }
.badge-text { margin: 0; display: inline-flex; flex-direction: column; align-items: center; line-height: 1.3;
  padding: 6px 14px; border-radius: 8px; background: #fff7ec; border: 2px solid #FF9538; }
.badge-text__main { font-weight: 700; font-size: 16px; color: #333; }
.badge-text__sub { font-weight: 700; font-size: 13px; color: #c00; }
.bubble-note { font-size: 0.92em; color: #555; }
.speaker-icon { object-fit: cover; }
.final-cta__link:not(:has(.final-cta__img)) { text-decoration: none; color: #fff; font-size: 18px; line-height: 1.5; padding: 18px 20px; }
.final-cta__link:not(:has(.final-cta__img)) .final-cta__text { text-align: center; }

/* 最終CTA：画像ボタン版（2026-10-04 CEO支給画像）。緑ボタンの装飾を消し、画像だけを見せる */
.final-cta__link--image {
  display: block;
  max-width: 480px;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  animation: final-cta-image-pulse 2.5s ease-in-out infinite;
}
.final-cta__link--image::before,
.final-cta__link--image::after { display: none; }
.final-cta__link--image:hover,
.final-cta__link--image:focus,
.final-cta__link--image:active { background: none; box-shadow: none; transform: scale(1.02); outline: none; }
.final-cta__link--image:focus-visible { outline: 2px solid #06c755; outline-offset: 4px; }
.final-cta__image { display: block; width: 100%; height: auto; }
@keyframes final-cta-image-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ヘッダー：バッジ画像版（2026-10-04 CEO支給）。PCは右寄せ280px、SPはロゴ左上・バッジ中央200px（maki-kaeshi.com/lp-Chatbot01 準拠） */
.badge-caption { display: block; margin: 0; width: 100%; max-width: 280px; height: auto; }
@media (max-width: 480px) {
  .top-bar { gap: 4px; padding: 8px 16px; }
  .brand-mark-wrap { align-self: flex-start; }
  .brand-mark--header { height: 28px; max-width: 120px; }
  .badge-area { min-width: 0; width: 100%; justify-content: center; }
  .badge-caption { max-width: 200px; }
}
