/* ==========================================
   Beauty Salon LP - Specific Styles
   Extends main.css design system
   ========================================== */

/* Header - Minimal (no navigation) */
.lp-header .nav-links,
.lp-header .mobile-menu-btn {
  display: none;
}

/* Hero - Static (no rotation animation) */
.lp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}

.lp-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--accent-gradient);
  z-index: 10;
}

.lp-hero .hero-content {
  text-align: left;
  z-index: 1;
  padding: 0 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.lp-hero .hero-title {
  font-size: clamp(36px, 7vw, 80px);
}

/* Cost Comparison Section */
.cost-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.cost-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}

.cost-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.cost-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.cost-card-header {
  padding: 24px 28px 0;
}

.cost-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.cost-card-body {
  padding: 20px 28px 28px;
}

.cost-monthly {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cost-amount {
  font-weight: 700;
  color: var(--text-primary);
}

.cost-yearly {
  margin-bottom: 20px;
}

.cost-amount-large {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
}

.cost-card--hotpepper .cost-amount-large {
  color: #e11d48;
}

.cost-card--craft .cost-amount-large {
  color: var(--accent-primary);
}

.cost-firstyear-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: -12px;
  margin-bottom: 20px;
}

.cost-card--craft {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 1px var(--accent-primary);
}

.cost-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-muted);
}

.cost-notes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cost-notes li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.cost-notes li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: #e11d48;
  font-weight: 700;
}

.cost-notes--positive li::before {
  content: '✓';
  color: var(--accent-primary);
}

/* Apply Plan Options: 3-column override for beauty LP */
.apply-plan-options-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.apply-plan-card-analysis {
  position: relative;
  border: 2px dashed var(--accent-primary) !important;
  background: linear-gradient(135deg, rgba(17, 114, 209, 0.04), rgba(59, 158, 255, 0.02)) !important;
}

.apply-plan-card-analysis.selected {
  border-style: solid !important;
  background: rgba(17, 114, 209, 0.08) !important;
}

.apply-plan-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  background: var(--accent-primary);
  color: white;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.apply-plan-price-free {
  color: var(--accent-primary) !important;
  font-weight: 800;
}

.apply-plan-hint {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .apply-plan-options-3 {
    grid-template-columns: 1fr;
  }
}

/* hidden 属性を CSS の display より優先させる（.ad-only の初期非表示を担保） */
.ad-only[hidden] { display: none !important; }

/* Ad Discount Badge (Hero) */
.hero-organic-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ecfeff, #cffafe);
  border: 1px solid #06b6d4;
  border-radius: var(--radius-pill);
  font-size: 14px;
}

.organic-badge-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  background: #0891b2;
  color: white;
  border-radius: var(--radius-pill);
}

.organic-badge-text {
  font-weight: 600;
  color: #0e7490;
}

.organic-badge-text strong {
  color: #155e75;
  font-weight: 800;
}

@media (max-width: 768px) {
  .hero-organic-badge {
    margin-bottom: 16px;
    padding: 8px 14px;
    font-size: 12px;
    flex-wrap: wrap;
  }
  .organic-badge-label { font-size: 10px; padding: 3px 8px; }
}

.ad-discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #f59e0b;
  border-radius: var(--radius-pill);
  font-size: 14px;
  animation: ad-badge-pulse 2.5s ease-in-out infinite;
  /* box-shadow の伸縮で祖先の再レイアウトを誘発しないよう独立レイヤ化 */
  will-change: box-shadow;
  isolation: isolate;
}

@media (prefers-reduced-motion: reduce) {
  .ad-discount-badge { animation: none; }
}

.ad-badge-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  background: #d97706;
  color: white;
  border-radius: var(--radius-pill);
}

.ad-badge-text {
  font-weight: 600;
  color: #78350f;
}

.ad-badge-text s {
  color: #a16207;
  font-weight: 500;
}

.ad-badge-text strong {
  font-size: 16px;
  color: #b45309;
  font-weight: 800;
}

@keyframes ad-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

/* Ad Discount Banner (Form Section) */
.ad-discount-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 560px;
  margin: 0 auto 32px;
  padding: 24px 32px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 2px solid #f59e0b;
  border-radius: var(--radius-lg);
}

.ad-banner-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #d97706;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-banner-icon svg {
  width: 24px;
  height: 24px;
}

.ad-banner-title {
  font-size: 14px;
  font-weight: 800;
  color: #78350f;
  margin-bottom: 4px;
}

.ad-banner-sub {
  font-size: 14px;
  color: #92400e;
}

.ad-banner-sub strong {
  font-size: 18px;
  font-weight: 800;
  color: #b45309;
}

/* Cost Anchor */
.cost-anchor {
  text-align: center;
  margin-top: 40px;
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
}

.cost-anchor strong {
  color: var(--accent-primary);
  font-weight: 800;
}

/* Before/After Section (Text Table) */
.lp-beforeafter {
  padding: var(--section-padding) 0;
}

.lp-ba-table {
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lp-ba-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--border-color);
}

.lp-ba-row:last-child {
  border-bottom: none;
}

.lp-ba-row-head {
  background: var(--bg-secondary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lp-ba-topic {
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
}

.lp-ba-row-head .lp-ba-topic {
  color: var(--text-muted);
}

.lp-ba-before-col,
.lp-ba-after-col {
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.7;
  display: flex;
  align-items: center;
}

.lp-ba-before-col {
  color: var(--text-secondary);
  background: rgba(148, 163, 184, 0.04);
  border-left: 1px solid var(--border-color);
}

.lp-ba-after-col {
  color: var(--text-primary);
  background: rgba(17, 114, 209, 0.04);
  border-left: 1px solid var(--border-color);
  font-weight: 600;
}

.lp-ba-row-head .lp-ba-before-col {
  color: #94a3b8;
}

.lp-ba-row-head .lp-ba-after-col {
  color: var(--accent-primary);
}

/* Don't Do Section */
.lp-dont {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.lp-dont-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-dont-item {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  align-items: flex-start;
  transition: all var(--transition-base);
}

.lp-dont-item:hover {
  border-color: #e11d48;
  transform: translateX(4px);
}

.lp-dont-x {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.1);
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}

.lp-dont-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.lp-dont-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Promise Section */
.lp-promise {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, rgba(17, 114, 209, 0.04), rgba(59, 158, 255, 0.04));
}

.lp-promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.lp-promise-card {
  background: var(--bg-card);
  border: 2px solid var(--accent-primary);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
}

.lp-promise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(17, 114, 209, 0.15);
}

.lp-promise-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: white;
  background: var(--accent-primary);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.lp-promise-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.lp-promise-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Pricing Section */
.lp-pricing {
  padding: var(--section-padding) 0;
}

.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto 48px;
}

.lp-pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition-base);
}

.lp-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.lp-pricing-card-featured {
  border: 2px solid var(--accent-primary);
  box-shadow: 0 12px 40px rgba(17, 114, 209, 0.1);
}

.lp-pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: white;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

.lp-pricing-header {
  margin-bottom: 24px;
}

.lp-pricing-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.lp-pricing-tag {
  font-size: 13px;
  color: var(--text-muted);
}

.lp-pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.lp-pricing-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-primary);
}

.lp-pricing-amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.lp-pricing-tax {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 4px;
}

.lp-pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.lp-pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 800;
}

/* Monthly Plans */
.lp-monthly-card {
  max-width: 880px;
  margin: 0 auto 48px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.lp-monthly-header {
  text-align: center;
  margin-bottom: 32px;
}

.lp-monthly-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.lp-monthly-header p {
  font-size: 13px;
  color: var(--text-muted);
}

.lp-monthly-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.lp-monthly-option {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
}

.lp-monthly-option-pro {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 1px var(--accent-primary);
}

.lp-monthly-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  background: var(--accent-glow);
  color: var(--accent-primary);
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

.lp-monthly-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.lp-monthly-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.lp-monthly-price span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
}

.lp-monthly-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.lp-fleeks-discount {
  display: block;
  margin-top: 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(17, 114, 209, 0.08), rgba(59, 158, 255, 0.05));
  border: 1px dashed var(--accent-primary);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-base);
}

.lp-fleeks-discount:hover {
  background: linear-gradient(135deg, rgba(17, 114, 209, 0.12), rgba(59, 158, 255, 0.08));
  transform: translateY(-2px);
}

.lp-fleeks-tag {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.lp-fleeks-price {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-primary);
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.lp-fleeks-price small {
  font-size: 12px;
  font-weight: 600;
  margin-left: 2px;
}

.lp-fleeks-note {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Blog Feature */
.lp-blog-feature {
  max-width: 880px;
  margin: 0 auto 48px;
  background: linear-gradient(135deg, rgba(17, 114, 209, 0.06), rgba(59, 158, 255, 0.04));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.lp-blog-header {
  margin-bottom: 24px;
}

.lp-blog-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.lp-blog-header h3 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.5;
}

.lp-blog-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 28px;
}

.lp-blog-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-blog-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
}

.lp-blog-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: white;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-blog-point p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Direct Stripe Checkout Buttons */
.lp-stripe-direct {
  max-width: 880px;
  margin: 0 auto 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.lp-stripe-label {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.lp-stripe-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.lp-stripe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.lp-stripe-fleeks {
  grid-column: 1 / -1;
}

.lp-stripe-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
}

.lp-stripe-btn:hover {
  border-color: var(--accent-primary);
  background: var(--bg-card);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(17, 114, 209, 0.1);
}

.lp-stripe-init {
  border-color: var(--accent-primary);
  background: rgba(17, 114, 209, 0.04);
}

.lp-stripe-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.lp-stripe-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-primary);
  font-variant-numeric: tabular-nums;
}

.lp-stripe-price small {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2px;
}

.lp-stripe-fleeks-tag {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-primary);
  background: var(--accent-glow);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

@media (max-width: 768px) {
  .lp-stripe-direct {
    padding: 28px 20px;
  }
  .lp-stripe-grid {
    grid-template-columns: 1fr;
  }
}

/* Extra Service (Ad Agency) */
.lp-extra-service {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  text-align: center;
}

.lp-extra-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.lp-extra-service h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.lp-extra-service p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* Diagnosis Includes */
.lp-diagnosis-includes {
  max-width: 560px;
  margin: 0 auto 32px;
  padding: 24px 32px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.lp-diagnosis-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 16px;
  text-align: center;
}

.lp-diagnosis-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-diagnosis-list li {
  font-size: 14px;
  color: var(--text-primary);
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
}

.lp-diagnosis-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--accent-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.lp-form-footnote {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Profile Section */
.lp-profile {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.lp-profile-card {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.lp-profile-photo {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.lp-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-profile-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.lp-profile-photo-placeholder svg {
  width: 72px;
  height: 72px;
}

.lp-profile-body {
  flex: 1;
}

.lp-profile-name {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.lp-profile-handle {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-primary);
}

.lp-profile-role {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.lp-profile-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 24px;
}

.lp-profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lp-profile-instagram,
.lp-profile-dm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-base);
}

.lp-profile-instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  border: none;
}

.lp-profile-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(220, 39, 67, 0.3);
}

.lp-profile-dm {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.lp-profile-dm:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

/* Instagram Showcase */
.lp-instagram-showcase {
  max-width: 880px;
  margin: 64px auto 0;
  text-align: center;
}

.lp-showcase-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 24px;
}

.lp-instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.lp-ig-item {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-tertiary);
  position: relative;
  transition: transform var(--transition-base);
}

.lp-ig-item:hover {
  transform: scale(1.04);
}

.lp-ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-ig-item.placeholder {
  background: linear-gradient(135deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
  opacity: 0.15;
}

.lp-ig-item.placeholder img {
  display: none;
}

.lp-ig-item.placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px;
  opacity: 0.6;
}

.lp-showcase-note {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .lp-profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }

  .lp-profile-photo {
    width: 140px;
    height: 140px;
  }

  .lp-profile-name {
    justify-content: center;
  }

  .lp-profile-actions {
    justify-content: center;
  }

  .lp-instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ad-discount-banner {
    padding: 20px 24px;
    gap: 16px;
  }

  /* スマホでも Before / After を左右対比で見せる */
  .lp-ba-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "topic  topic"
      "before after";
    column-gap: 0;
  }
  .lp-ba-row-head {
    grid-template-areas: "before after";
  }
  .lp-ba-row-head .lp-ba-topic {
    display: none;
  }
  .lp-ba-topic {
    grid-area: topic;
    padding: 10px 14px 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
  }
  .lp-ba-before-col {
    grid-area: before;
    padding: 12px 14px;
    border-left: none;
    border-right: 1px solid var(--border-color);
    font-size: 13px;
    line-height: 1.55;
  }
  .lp-ba-after-col {
    grid-area: after;
    padding: 12px 14px;
    border-left: none;
    font-size: 13px;
    line-height: 1.55;
  }
  .lp-ba-row-head .lp-ba-before-col,
  .lp-ba-row-head .lp-ba-after-col {
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .lp-promise-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lp-promise-card {
    padding: 32px 24px;
  }

  .lp-dont-item {
    padding: 20px 24px;
    gap: 16px;
  }

  .lp-diagnosis-includes {
    padding: 20px 24px;
  }

  .lp-pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lp-pricing-card {
    padding: 32px 24px;
  }

  .lp-pricing-amount {
    font-size: 36px;
  }

  .lp-monthly-card {
    padding: 28px 24px;
  }

  .lp-monthly-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lp-monthly-option {
    padding: 24px;
  }

  .lp-blog-feature {
    padding: 32px 24px;
  }

  .lp-extra-service {
    padding: 28px 24px;
  }
}

/* Results Section */
.lp-results {
  padding: var(--section-padding) 0;
}

.lp-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.lp-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition-base);
}

.lp-result-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 16px 48px rgba(17, 114, 209, 0.1);
  transform: translateY(-4px);
}

.lp-result-metric {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}

.lp-result-number {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 800;
  background: linear-gradient(135deg, #1172D1, #3b9eff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.lp-result-unit {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  background: linear-gradient(135deg, #1172D1, #3b9eff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-result-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.lp-result-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Process Section */
.lp-process {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.lp-process-steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lp-process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition-base);
}

.lp-process-step:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 8px 32px rgba(17, 114, 209, 0.08);
}

.lp-step-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-primary);
  opacity: 0.3;
  flex-shrink: 0;
  line-height: 1;
}

.lp-step-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.lp-step-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Consultation Form */
.lp-consultation {
  padding: var(--section-padding) 0;
}

.lp-form-container {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.lp-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lp-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.lp-form input[type="text"],
.lp-form input[type="email"],
.lp-form input[type="tel"] {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: border-color var(--transition-fast);
  -webkit-appearance: none;
}

.lp-form input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.lp-form input::placeholder {
  color: var(--text-muted);
}

.lp-form .form-submit {
  margin-top: 8px;
}

.lp-submit-btn {
  width: 100%;
}

/* Form Success */
.lp-form-success {
  text-align: center;
  padding: 40px 0;
}

.lp-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.lp-success-icon svg {
  width: 32px;
  height: 32px;
}

.lp-form-success h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.lp-form-success p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Footer - Minimal */
.lp-footer .footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 0;
  text-align: center;
}

.lp-footer-links {
  display: flex;
  gap: 24px;
}

.lp-footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.lp-footer-links a:hover {
  color: var(--accent-primary);
}

/* Sticky Mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  /* is-hidden 切り替え時に画面外へ滑らかにスライド */
  transform: translateY(0);
  transition: transform 260ms cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.sticky-cta.visible {
  display: block;
}

.sticky-cta-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 768px) {
  .lp-hero {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .lp-hero .hero-content {
    padding: 0 20px;
  }

  .lp-hero .hero-description {
    font-size: 16px;
  }

  .cost-compare {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cost-vs {
    padding: 4px 0;
  }

  .cost-card-body {
    padding: 16px 24px 24px;
  }

  .lp-results-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lp-result-card {
    padding: 28px 24px;
  }

  .lp-process-step {
    flex-direction: column;
    gap: 12px;
    padding: 24px;
  }

  .lp-form-container {
    padding: 32px 24px;
  }

  .lp-footer-links {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  /* Show sticky CTA on mobile only */
  .sticky-cta.visible {
    display: block;
  }
}

@media (min-width: 769px) {
  .sticky-cta {
    display: none !important;
  }
}

/* ==========================================
   Design Review Fixes (from develop)
   ========================================== */
section[id] { scroll-margin-top: 64px; }
#apply { padding-bottom: 140px; }

/* 申込フォーム内のカスタムチェックマーク SVG がイベントを奪わないように */
.apply-agreement-checkmark,
.apply-agreement-checkmark svg,
.apply-fleeks-checkmark,
.apply-fleeks-checkmark svg { pointer-events: none; }

/* #apply 表示中に sticky CTA を隠すためのクラス */
.sticky-cta.is-hidden {
  transform: translateY(120%);
  pointer-events: none;
}

@supports (padding: max(0px)) {
  body { padding-bottom: env(safe-area-inset-bottom); }
}

/* テキストレイアウトのバランス */
.hero-title,
.section-title,
.lp-pricing-name,
.lp-promise-card h3,
.lp-process-step h3,
.solution-feature-content h3,
.problem-title,
.blog-benefit-title,
.lp-dont-item h3,
.apply-title,
h1, h2, h3 {
  text-wrap: balance;
}
.hero-description,
.section-description,
.section-subtitle,
.problem-description,
.solution-feature-content p,
.lp-profile-text,
.lp-promise-card p,
.lp-process-step p,
.blog-benefit-desc,
.apply-description,
p {
  text-wrap: pretty;
}

/* モバイルヘッダーを圧縮しファーストビューを確保 */
@media (max-width: 768px) {
  .lp-header { padding: 10px 0; }
  .lp-header .logo-text { font-size: 18px; }
  .lp-header .logo-sub { font-size: 9px; }
  .lp-header .nav-cta { padding: 10px 16px; font-size: 13px; }
  .lp-hero { padding-top: 72px; }
  .ad-discount-badge {
    margin-bottom: 16px;
    padding: 8px 14px;
    font-size: 12px;
    flex-wrap: wrap;
  }
  .ad-badge-label { font-size: 10px; padding: 3px 8px; }
  .ad-badge-text strong { font-size: 14px; }
}

/* ==========================================
   LINE CTA (分析プラン申込完了後の画面)
   ========================================== */
.apply-line-cta {
  text-align: center;
}
.apply-line-lead {
  font-size: 15px;
  line-height: 1.8;
  margin: 16px 0 24px;
}
.apply-line-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #06C755;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.apply-line-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(6, 199, 85, 0.3);
}
.apply-line-qr {
  margin: 28px auto 16px;
  max-width: 260px;
}
.apply-line-qr img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color, rgba(0,0,0,0.1));
}
.apply-line-qr-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-secondary, #6b6878);
}
.apply-line-steps {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(6, 199, 85, 0.06);
  border-left: 3px solid #06C755;
  border-radius: 6px;
  text-align: left;
  font-size: 13px;
  line-height: 1.8;
}
.apply-line-steps span {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary, #6b6878);
}

.apply-line-token {
  margin: 24px auto;
  max-width: 360px;
  padding: 20px 16px;
  background: rgba(201, 169, 110, 0.08);
  border: 1px dashed #c9a96e;
  border-radius: 12px;
  text-align: center;
}
.apply-line-token-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #6b5a3a;
  letter-spacing: 0.08em;
}
.apply-line-token-value {
  margin: 0 0 12px;
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #c9a96e;
  user-select: all;
}
.apply-line-token-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #c9a96e;
  color: #0a0a0f;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease;
}
.apply-line-token-copy:hover {
  transform: translateY(-1px);
}
.apply-line-token-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-secondary, #6b6878);
  line-height: 1.6;
}

/* ==========================================
   LINE誘導: 3ステップ版 (v2)
   ========================================== */
.apply-line-steps-v2 {
  text-align: left;
}
.apply-line-steps-v2 h3 {
  text-align: center;
}
.apply-line-lead-v2 {
  margin: 12px 0 28px;
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
}
.apply-line-stepcard {
  margin: 0 0 20px;
  padding: 24px 20px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  position: relative;
}
.apply-line-stepcard-accent {
  border-color: #06c755;
  background: rgba(6, 199, 85, 0.04);
}
.apply-line-stepnum {
  display: inline-block;
  padding: 4px 14px;
  background: #0a0a0f;
  color: #c9a96e;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  border-radius: 999px;
  margin-bottom: 12px;
}
.apply-line-stepcard-accent .apply-line-stepnum {
  background: #06c755;
  color: #fff;
}
.apply-line-stephead {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
}

/* Step 1: トークン */
.apply-line-token-v2 {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 2px dashed #d97706;
  border-radius: 12px;
  overflow: hidden;
}
.apply-line-token-v2-value {
  flex: 1;
  padding: 20px 8px;
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0.25em;
  color: #b45309;
  text-align: center;
  user-select: all;
  background: #fef9c3;
}
.apply-line-token-v2-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 18px;
  min-width: 140px;
  background: #b45309;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease;
}
.apply-line-token-v2-copy:hover {
  background: #92400e;
}
.apply-line-token-v2-copy.copied {
  background: #06c755;
}

/* Step 2: LINEボタン */
.apply-line-btn-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 20px;
  background: #06c755;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.3);
  transition: transform .15s ease;
}
.apply-line-btn-v2:hover,
.apply-line-btn-v2:active {
  transform: translateY(-2px);
}
.apply-line-qr-v2 {
  margin: 16px 0 0;
  text-align: center;
}
.apply-line-qr-v2 img {
  width: 180px;
  height: 180px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Step 3: モックチャット */
.apply-line-mockchat {
  margin: 0 0 12px;
  padding: 16px 12px 12px;
  background: #e5ddd5;
  border-radius: 12px;
  text-align: center;
}
.apply-line-mockchat-bubble {
  display: inline-block;
  padding: 14px 24px;
  background: #fff;
  color: #b45309;
  font-family: "JetBrains Mono", monospace;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.2em;
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.apply-line-mockchat-label {
  margin-top: 10px;
  font-size: 12px;
  color: #4b5563;
  font-weight: 600;
}

.apply-line-step-hint {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #6b7280;
}

.apply-line-footer-hint {
  margin: 20px 0 0;
  padding: 12px 16px;
  background: #f3f4f6;
  border-left: 3px solid #9ca3af;
  font-size: 12px;
  line-height: 1.7;
  color: #4b5563;
  border-radius: 4px;
}

/* モバイル調整 */
@media (max-width: 768px) {
  .apply-line-stepcard {
    padding: 20px 16px;
  }
  .apply-line-token-v2-value {
    font-size: 32px;
    padding: 16px 4px;
    letter-spacing: 0.18em;
  }
  .apply-line-token-v2-copy {
    min-width: 110px;
    padding: 0 12px;
    font-size: 12px;
  }
  .apply-line-btn-v2 {
    padding: 16px;
    font-size: 16px;
  }
  .apply-line-qr-v2 img {
    width: 160px;
    height: 160px;
  }
  .apply-line-mockchat-bubble {
    font-size: 22px;
    padding: 12px 20px;
  }
}

/* フォーム内のホッペURLヒント */
.form-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-secondary, #6b6878);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .apply-line-btn { padding: 12px 24px; font-size: 15px; }
  .apply-line-qr { max-width: 220px; }
  .apply-line-steps { font-size: 12px; }
}

/* ==========================================
   Ad Countdown (広告運用期間と同期)
   ========================================== */
.ad-countdown {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-weight: 800;
  letter-spacing: 0.02em;
}
.ad-countdown-inline {
  display: block;
  width: 100%;
  margin-top: 6px;
  font-size: 11px;
  color: #b45309;
  text-align: center;
}
.ad-countdown-block {
  display: block;
  margin-top: 10px;
  padding: 8px 14px;
  font-size: 14px;
  color: #b45309;
  background: rgba(180, 83, 9, 0.08);
  border-radius: 6px;
  text-align: center;
}
@media (max-width: 768px) {
  .ad-countdown-inline { font-size: 10px; }
  .ad-countdown-block { font-size: 13px; padding: 6px 10px; }
}

