/* ============================================================
   LINE広告バナー
   削除時: このファイルと index.html の <link> タグ・バナーHTMLを削除
   ============================================================ */

.line-promo {
  background: linear-gradient(135deg, #06c755 0%, #05a847 100%);
  padding: 2rem 0;
}

.line-promo-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 2.5rem;
}

.line-promo-close {
  position: absolute;
  top: -0.25rem;
  right: 0;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, background-color 0.2s;
}

.line-promo-close:hover {
  opacity: 0.95;
  background: rgba(255, 255, 255, 0.28);
}

.line-promo-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.line-promo-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line-promo-icon svg {
  width: 36px;
  height: 36px;
}

.line-promo-body {
  flex: 1;
  min-width: 0;
}

.line-promo-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  margin: 0 0 0.3rem;
}

.line-promo-catch {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.15rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.line-promo-sub {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.4rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.line-promo-text {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

/* QRコード（PC のみ表示） */
.line-promo-qr {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.line-promo-qr img,
.line-promo-qr-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  display: block;
}

.line-promo-qr-placeholder {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line-promo-qr-caption {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin: 0;
  line-height: 1.3;
}

/* 友だち追加ボタン */
.line-promo-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #06c755;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}

.line-promo-btn::after {
  content: "→";
}

.line-promo-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* SP：QR非表示・ボタンをタップ導線に */
@media (max-width: 640px) {
  .line-promo-inner {
    flex-wrap: wrap;
  }

  .line-promo-close {
    top: 0;
  }

  .line-promo-body {
    flex: 1 1 calc(100% - 72px);
  }

  .line-promo-qr {
    display: none;
  }

  .line-promo-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
  }
}
