/* CTA Button - 統一されたコンポーネント */
/* 基本CTAボタンスタイル */
.cta-button {
  font-size: 24px;
  font-weight: bold;
  padding: 26px;
  border-radius: 140px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: 0px 6px 13px 0px rgba(216, 147, 113, 0.6);
  transition: all 0.3s ease;
  width: 550px;
  justify-content: center;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* デフォルト（黄色）スタイル */
.cta-button--default {
  background: #ffd04d;
  color: #ffffff;
}

/* 白背景・緑文字スタイル */
.cta-button--white {
  background: #ffffff;
  color: #2eae38;
}

/* 緑背景・白文字スタイル */
.cta-button--green {
  background: #06c755;
  color: #ffffff;
}

/* ホバーエフェクト */
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 16px 0px rgba(216, 147, 113, 0.8);
}

/* デフォルト（黄色）ボタンのホバー時色反転 */
.cta-button--default:hover {
  background: #ffffff;
  color: #ffd04d;
}

/* 白背景ボタンのホバー時色反転 */
.cta-button--white:hover {
  background: #2eae38;
  color: #ffffff;
}

/* 緑背景ボタンのホバー時色反転 */
.cta-button--green:hover {
  background: #ffffff;
  color: #06c755;
}

.cta-button:focus {
  outline: 3px solid #ff6666;
  outline-offset: 2px;
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0px 4px 8px 0px rgba(216, 147, 113, 0.4);
}

/* アイコンスタイル */
.cta-button__icon {
  width: 57px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

/* サイズバリエーション */
.cta-button--large {
  width: 550px;
  height: auto;
  padding: 26px;
  font-size: 24px;
  border-radius: 140px;
}

.cta-button--medium {
  width: 513px;
  height: 98px;
  padding: 24px;
  font-size: 24px;
  border-radius: 130.5px;
}

.cta-button--small {
  width: 400px;
  height: 80px;
  padding: 20px;
  font-size: 20px;
  border-radius: 100px;
}

/* 特定セクション用のサイズ調整 */
.cta-button--schedule {
  width: 513px;
  height: 98px;
  padding: 24px;
  font-size: 24px;
  border-radius: 130.5px;
  gap: 12px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .cta-button--large {
    width: 450px;
    font-size: 20px;
    padding: 22px;
  }

  .cta-button--medium,
  .cta-button--schedule {
    width: 450px;
    font-size: 20px;
    padding: 22px;
  }

  .cta-button__icon {
    width: 50px;
    height: 47px;
  }
}

@media (max-width: 768px) {
  .cta-button--large {
    width: 300px;
    font-size: 18px;
    padding: 20px;
  }

  .cta-button--medium,
  .cta-button--schedule {
    width: 400px;
    height: 80px;
    font-size: 20px;
    padding: 20px;
    border-radius: 100px;
  }

  .cta-button--small {
    width: 350px;
    height: 70px;
    font-size: 18px;
    padding: 18px;
  }

  .cta-button__icon {
    width: 40px;
    height: 38px;
  }

  /* 会社情報セクションのCTAボタン - デフォルトでは透明 */
  .company-info__cta-button {
    transition: all 0.3s ease;
  }

  /* フローティング状態のCTAボタン */
  .company-info__cta-button.floating-active {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100vw - 48px);
    max-width: 320px;
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .cta-button--large {
    width: 280px;
    font-size: 16px;
    padding: 18px;
    gap: 10px;
  }

  .cta-button--medium,
  .cta-button--schedule {
    width: 320px;
    height: 70px;
    font-size: 18px;
    padding: 18px;
    gap: 10px;
    border-radius: 85px;
  }

  .cta-button--small {
    width: 300px;
    height: 65px;
    font-size: 16px;
    padding: 16px;
  }

  .cta-button__icon {
    width: 35px;
    height: 33px;
  }
}
