/* ========================================
   ギフトページ（出産祝いを贈りたい方へ）
   ======================================== */

.sp-only {
  display: none;
}

/* ========== 購入ボタン（共通） ========== */

@keyframes purchase-shimmer {
  0% { left: -100%; }
  50% { left: 200%; }
  100% { left: 200%; }
}

@keyframes purchase-glow {
  0%, 100% {
    box-shadow:
      0 6px 24px rgba(95, 191, 154, 0.35),
      0 0 0 0 rgba(95, 191, 154, 0.15);
  }
  50% {
    box-shadow:
      0 8px 32px rgba(95, 191, 154, 0.45),
      0 0 0 8px rgba(95, 191, 154, 0.08);
  }
}

.gift-purchase-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #5fbf9a 0%, #3da87d 50%, #5fbf9a 100%);
  background-size: 200% 200%;
  color: #fff;
  padding: 20px 48px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  animation: purchase-glow 2.5s ease-in-out infinite;
  overflow: hidden;
  margin-top: 28px;
}

.gift-purchase-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 14px 44px rgba(95, 191, 154, 0.45),
    0 0 0 4px rgba(95, 191, 154, 0.12);
  background-position: 100% 100%;
}

.gift-purchase-btn:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 4px 16px rgba(95, 191, 154, 0.3);
}

.gift-purchase-btn-icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gift-purchase-btn:hover .gift-purchase-btn-icon {
  transform: scale(1.2);
}

.gift-purchase-btn-text {
  position: relative;
  z-index: 1;
}

.gift-purchase-btn-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.gift-purchase-btn:hover .gift-purchase-btn-arrow {
  transform: translateX(6px);
}

.gift-purchase-btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: purchase-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

/* フローセクション下のCTA */
.gift-flow-cta {
  text-align: center;
  margin-top: 48px;
}

.gift-flow-cta-text {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 4px;
}

/* ========== ヒーローセクション ========== */

.gift-hero {
  padding: 80px 20px 60px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: #333;
}

.gift-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.gift-hero-text {
  flex: 1;
}

.gift-label {
  color: #5fbf9a;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.gift-hero-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  margin: 8px 0 12px;
  color: #222;
}

.gift-hero-subtitle {
  color: #5fbf9a;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.gift-hero-desc {
  font-size: 1rem;
  line-height: 2;
  color: #444;
}

.gift-hero-image {
  flex: 1;
  max-width: 480px;
}

.gift-hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

/* ========== 共通セクション ========== */

.gift-section-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.gift-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.gift-section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  margin: 8px 0 8px;
  color: #222;
}

.gift-section-subtitle {
  color: #666;
  font-size: 0.95rem;
}

/* ========== ご利用の流れ ========== */

.gift-flow {
  padding: 70px 20px;
  background: #f8faf9;
  font-family: "Noto Sans JP", system-ui, sans-serif;
}

.gift-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gift-step-card {
  background: #fff;
  padding: 28px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding-left: 90px;
}

.gift-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gift-step-number {
  position: absolute;
  left: 28px;
  top: 28px;
  font-size: 2rem;
  font-weight: 700;
  color: #5fbf9a;
  opacity: 0.7;
  line-height: 1;
}

.gift-step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.gift-step-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
}

/* ========== 個人情報について ========== */

.gift-privacy {
  padding: 70px 20px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
}

.gift-privacy-card {
  background: #fff;
  padding: 36px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #5fbf9a;
}

.gift-privacy-text {
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 16px;
}

.gift-privacy-text:last-child {
  margin-bottom: 0;
}

.gift-privacy-text strong {
  color: #5fbf9a;
  font-weight: 600;
}

/* ========== ご注意事項 ========== */

.gift-notes {
  padding: 70px 20px;
  background: #f8faf9;
  font-family: "Noto Sans JP", system-ui, sans-serif;
}

.gift-notes-card {
  background: #fff;
  padding: 36px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.gift-notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gift-notes-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

.gift-notes-list li:last-child {
  border-bottom: none;
}

.gift-notes-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 12px;
  color: #5fbf9a;
  font-size: 0.6rem;
}

/* ========== CTAセクション ========== */

@keyframes gift-shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

@keyframes gift-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(95, 191, 154, 0.3); }
  50% { box-shadow: 0 8px 40px rgba(95, 191, 154, 0.5); }
}

.gift-cta {
  position: relative;
  padding: 100px 20px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(170deg, #f0faf5 0%, #fff 40%, #f8fdf9 100%);
}

.gift-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(95, 191, 154, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(95, 191, 154, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.gift-cta-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.gift-cta-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.gift-cta-desc {
  font-size: 1rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 44px;
}

.gift-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* メインCTAボタン */
.gift-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #5fbf9a 0%, #3da87d 100%);
  color: #fff;
  padding: 18px 44px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 20px rgba(95, 191, 154, 0.3);
  overflow: hidden;
  animation: gift-pulse 3s ease-in-out infinite;
}

.gift-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px rgba(95, 191, 154, 0.45);
  background: linear-gradient(135deg, #6ecaa6 0%, #4dab87 100%);
}

.gift-cta-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 12px rgba(95, 191, 154, 0.3);
}

/* シマーエフェクト */
.gift-cta-btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: gift-shimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}

/* 矢印アイコン */
.gift-cta-btn-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.gift-cta-btn:hover .gift-cta-btn-arrow {
  transform: translateX(4px);
}

.gift-cta-btn-text {
  position: relative;
  z-index: 1;
}

/* LINEボタン */
.gift-cta-btn-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #06C755;
  padding: 18px 44px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 2px solid #06C755;
  overflow: hidden;
}

.gift-cta-btn-line:hover {
  background: #06C755;
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px rgba(6, 199, 85, 0.3);
}

.gift-cta-btn-line:active {
  transform: translateY(0) scale(0.98);
}

.gift-cta-btn-line .gift-cta-btn-arrow {
  transition: transform 0.3s ease;
}

.gift-cta-btn-line:hover .gift-cta-btn-arrow {
  transform: translateX(3px) translateY(-3px);
}

/* ========== レスポンシブ ========== */

@media screen and (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  /* ヒーロー */
  .gift-hero {
    padding: 60px 16px 40px;
  }

  .gift-hero-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .gift-hero-image {
    max-width: 100%;
    order: -1;
  }

  .gift-hero-image img {
    border-radius: 16px;
  }

  .gift-hero-text {
    text-align: center;
  }

  .gift-hero-desc {
    text-align: left;
  }

  /* 購入ボタン */
  .gift-purchase-btn {
    padding: 16px 36px;
    font-size: 1.05rem;
    gap: 10px;
  }

  /* ステップカード */
  .gift-step-card {
    padding: 20px 18px 20px 72px;
  }

  .gift-step-number {
    left: 18px;
    top: 20px;
    font-size: 1.6rem;
  }

  /* 個人情報 */
  .gift-privacy-card {
    padding: 24px 20px;
  }

  /* 注意事項 */
  .gift-notes-card {
    padding: 24px 20px;
  }

  /* CTA */
  .gift-cta {
    padding: 70px 16px;
  }

  .gift-cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .gift-cta-btn,
  .gift-cta-btn-line {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
  }
}


/* ============================================
   購入フォームページ
   ============================================ */

.gift-purchase-section {
  padding: 80px 20px 60px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: #333;
}

.gift-purchase-inner {
  max-width: 640px;
  margin: 0 auto;
}

.gift-purchase-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 36px 32px;
}

.gift-purchase-price-box {
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, #f0faf5, #e8f5ee);
  border-radius: 12px;
  margin-bottom: 32px;
}

.gift-purchase-price-label {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 4px;
}

.gift-purchase-price {
  font-size: 2.4rem;
  font-weight: 700;
  color: #3da87d;
}

.gift-purchase-price span {
  font-size: 1rem;
  font-weight: 500;
  color: #555;
}

.gift-purchase-price-desc {
  font-size: 1rem;
  color: #444;
  margin-top: 8px;
  font-weight: 600;
}

.gift-purchase-price-note {
  font-size: 0.85rem;
  color: #777;
  margin-top: 8px;
  line-height: 1.6;
}

.gift-purchase-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gift-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gift-form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.gift-form-group .required {
  font-size: 0.75rem;
  color: #fff;
  background: #e74c3c;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

.gift-form-group .optional {
  font-size: 0.75rem;
  color: #fff;
  background: #aaa;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

.gift-form-group input[type="text"],
.gift-form-group input[type="email"],
.gift-form-group textarea {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.2s;
  font-family: inherit;
}

.gift-form-group input:focus,
.gift-form-group textarea:focus {
  outline: none;
  border-color: #5fbf9a;
  box-shadow: 0 0 0 3px rgba(95, 191, 154, 0.15);
}

.gift-form-group small {
  font-size: 0.8rem;
  color: #999;
}

.gift-recaptcha {
  display: flex;
  justify-content: center;
}

.gift-purchase-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #5fbf9a, #3da87d);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.gift-purchase-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(95, 191, 154, 0.35);
}

.gift-purchase-note {
  text-align: center;
  font-size: 0.8rem;
  color: #999;
  line-height: 1.7;
}

.gift-alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.gift-alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ============================================
   購入完了（Thanks）ページ
   ============================================ */

.gift-thanks-section {
  padding: 80px 20px 60px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: #333;
}

.gift-thanks-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.gift-thanks-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.gift-thanks-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  margin-bottom: 12px;
}

.gift-thanks-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 32px;
  line-height: 1.7;
}

.gift-thanks-link-box {
  background: #f8faf9;
  padding: 24px;
  border-radius: 14px;
  margin-bottom: 24px;
  text-align: left;
}

.gift-thanks-link-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #777;
  margin-bottom: 8px;
}

.gift-thanks-link-row {
  display: flex;
  gap: 8px;
}

.gift-thanks-link-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.85rem;
  background: #fff;
  color: #333;
}

.gift-thanks-copy-btn {
  padding: 10px 20px;
  background: #5fbf9a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.gift-thanks-copy-btn:hover {
  background: #3da87d;
}

.gift-thanks-link-note {
  font-size: 0.8rem;
  color: #999;
  margin-top: 12px;
  line-height: 1.7;
  text-align: left;
}

.gift-thanks-message-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 24px;
  text-align: left;
}

.gift-thanks-message-label {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 8px;
}

.gift-thanks-message-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

.gift-thanks-share {
  margin-bottom: 28px;
}

.gift-thanks-share-label {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 12px;
}

.gift-thanks-share-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gift-share-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.gift-share-line {
  background: #06C755;
  color: #fff;
}

.gift-share-line:hover {
  background: #05a848;
  transform: translateY(-2px);
}

.gift-share-email {
  background: #fff;
  color: #333;
  border: 2px solid #ddd;
}

.gift-share-email:hover {
  border-color: #999;
  transform: translateY(-2px);
}

.gift-thanks-home-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #f5f5f5;
  color: #555;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.gift-thanks-home-btn:hover {
  background: #e8e8e8;
}

/* レスポンシブ（購入・完了ページ） */
@media screen and (max-width: 768px) {
  .gift-purchase-section,
  .gift-thanks-section {
    padding: 60px 16px 40px;
  }

  .gift-purchase-card {
    padding: 24px 18px;
  }

  .gift-purchase-price {
    font-size: 2rem;
  }

  .gift-thanks-link-row {
    flex-direction: column;
  }

  .gift-thanks-share-btns {
    flex-direction: column;
    align-items: center;
  }

  .gift-share-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
