/* ==========================================================================
   AI卑弥呼 SEO LP common
   ========================================================================== */

.hm-seo-lp {
  --hm-lp-bg: #050713;
  --hm-lp-bg2: #0a1022;
  --hm-lp-gold: #f3d98c;
  --hm-lp-gold2: #c9a343;
  --hm-lp-text: #edead0;
  --hm-lp-muted: rgba(237, 234, 208, 0.74);
  --hm-lp-border: rgba(212, 175, 55, 0.28);
  color: var(--hm-lp-text);
  background:
    radial-gradient(circle at 20% 4%, rgba(243, 217, 140, 0.08) 0, transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(86, 196, 255, 0.07) 0, transparent 24%),
    linear-gradient(180deg, #060814 0%, #090b18 42%, #050713 100%);
  overflow: hidden;
}

.hm-seo-lp * {
  box-sizing: border-box;
}

.hm-seo-lp a {
  text-decoration: none;
}

.hm-lp-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.hm-lp-section {
  position: relative;
  padding: 76px 0;
}

.hm-lp-section h2,
.hm-lp-cta h2,
.hm-lp-final-cta h2 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: var(--hm-lp-gold) !important;
  font-size: clamp(24px, 3.4vw, 34px) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  letter-spacing: 0.06em !important;
  text-align: center !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.hm-lp-section h2::before,
.hm-lp-section h2::after,
.hm-lp-cta h2::before,
.hm-lp-cta h2::after,
.hm-lp-final-cta h2::before,
.hm-lp-final-cta h2::after,
.hm-lp-card h3::before,
.hm-lp-card h3::after,
.hm-lp-method-item h3::before,
.hm-lp-method-item h3::after {
  content: none !important;
  display: none !important;
}

.hm-lp-section-kicker,
.hm-lp-eyebrow {
  margin: 0 0 12px;
  color: var(--hm-lp-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: center;
}

.hm-lp-section-lead {
  max-width: 720px;
  margin: 0 auto 30px;
  color: var(--hm-lp-muted);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Hero */
.hm-lp-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 20px 86px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(243, 217, 140, 0.12) 0, transparent 34%),
    linear-gradient(180deg, #070914 0%, #050713 100%);
}

.hm-lp-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 0;
}

.hm-lp-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at center, rgba(5, 7, 19, 0.18) 0%, rgba(5, 7, 19, 0.76) 68%, rgba(5, 7, 19, 0.94) 100%),
    linear-gradient(180deg, rgba(5, 7, 19, 0.22) 0%, rgba(5, 7, 19, 0.88) 100%);
}

.hm-lp-hero__inner {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  text-align: center;
}

.hm-lp-hero__title {
  margin: 0 0 22px !important;
  padding: 0 !important;
  color: var(--hm-lp-text) !important;
  font-size: clamp(31px, 5vw, 56px) !important;
  line-height: 1.45 !important;
  letter-spacing: 0.07em !important;
  font-weight: 700 !important;
  text-align: center !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  text-shadow: 0 0 24px rgba(243, 217, 140, 0.16);
}

.hm-lp-hero__title span {
  color: var(--hm-lp-gold);
  font-size: 0.78em;
}

.hm-lp-hero__lead {
  max-width: 680px;
  margin: 0 auto 30px;
  color: rgba(237, 234, 208, 0.84);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.05em;
}

.hm-lp-hero__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.hm-lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: filter 0.2s ease, transform 0.08s ease, opacity 0.2s ease;
}

.hm-lp-btn:hover {
  opacity: 1;
  filter: brightness(1.07);
}

.hm-lp-btn:active {
  transform: translateY(1px);
}

.hm-lp-btn--primary {
  color: #12172a !important;
  background: linear-gradient(180deg, #ebc878 0%, #c9a343 100%);
  border: 1px solid rgba(243, 217, 140, 0.7);
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.2);
}

.hm-lp-btn--ghost {
  color: var(--hm-lp-gold) !important;
  background: rgba(10, 16, 34, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.34);
}

.hm-lp-btn--ghost-gold {
  color: var(--hm-lp-gold) !important;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.38);
}

/* Cards */
.hm-lp-card-grid {
  display: grid;
  gap: 16px;
}

.hm-lp-card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.hm-lp-card,
.hm-lp-method-item,
.hm-lp-split__card {
  background: rgba(10, 16, 34, 0.76);
  border: 1px solid var(--hm-lp-border);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.hm-lp-card {
  padding: 24px 18px;
  text-align: center;
}

.hm-lp-card__icon {
  display: block;
  margin-bottom: 12px;
  font-size: 26px;
}

.hm-lp-card h3,
.hm-lp-method-item h3,
.hm-lp-split__card h3 {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: var(--hm-lp-gold) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  letter-spacing: 0.04em !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.hm-lp-card p,
.hm-lp-method-item p,
.hm-lp-split__card p {
  margin: 0;
  color: var(--hm-lp-muted);
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

/* Text */
.hm-lp-text-block {
  max-width: 780px;
}

.hm-lp-text-block p {
  margin: 0 0 1.4em;
  color: var(--hm-lp-muted);
  font-size: 15.5px;
  line-height: 2.05;
  letter-spacing: 0.04em;
}

/* Method */
.hm-lp-section--method {
  background: rgba(255, 255, 255, 0.015);
}

.hm-lp-method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.hm-lp-method-item {
  padding: 22px 16px;
  text-align: center;
}

.hm-lp-method-item span {
  display: block;
  margin-bottom: 10px;
  font-size: 28px;
}

/* CTA */
.hm-lp-cta,
.hm-lp-final-cta {
  padding: 72px 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(243, 217, 140, 0.14) 0, transparent 36%),
    linear-gradient(180deg, rgba(10, 16, 34, 0.84) 0%, rgba(5, 7, 19, 0.96) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.hm-lp-cta__inner,
.hm-lp-final-cta__inner {
  width: min(780px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hm-lp-cta p,
.hm-lp-final-cta p {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--hm-lp-muted);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* Split */
.hm-lp-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.hm-lp-split__text p {
  color: var(--hm-lp-muted);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.hm-lp-split__card {
  padding: 28px 24px;
  text-align: center;
}

.hm-lp-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--hm-lp-gold) !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-bottom: 1px dotted rgba(243, 217, 140, 0.5);
}

/* Premium */
.hm-lp-section--premium {
  background:
    radial-gradient(circle at 20% 10%, rgba(243, 217, 140, 0.08) 0, transparent 30%),
    rgba(10, 16, 34, 0.24);
}

.hm-lp-premium-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 28px auto 28px;
}

.hm-lp-premium-grid div {
  padding: 13px 10px;
  color: var(--hm-lp-text);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.04em;
}

.hm-lp-center {
  text-align: center;
}

/* FAQ */
.hm-lp-faq {
  max-width: 820px;
  margin: 28px auto 0;
}

.hm-lp-faq details {
  margin: 0 0 12px;
  padding: 18px 20px;
  background: rgba(10, 16, 34, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 14px;
}

.hm-lp-faq summary {
  cursor: pointer;
  color: var(--hm-lp-gold);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.hm-lp-faq p {
  margin: 12px 0 0;
  color: var(--hm-lp-muted);
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

/* LP category: hide blog-like elements if body has category-lp */
body.category-lp .breadcrumb,
body.category-lp .sns-share,
body.category-lp .sns-follow,
body.category-lp .footer-meta,
body.category-lp .post-date,
body.category-lp .post-update,
body.category-lp .author-info,
body.category-lp .entry-footer,
body.category-lp .pager-post-navi,
body.category-lp .prev-next-link,
body.category-lp .related-entry-heading,
body.category-lp .related-list,
body.category-lp .comment-area,
body.category-lp .under-entry-content,
body.category-lp .cat-link,
body.category-lp .tag-link {
  display: none !important;
}

/* Depending on Cocoon body classes, single LP posts may use category-lp or category-lp-*.
   If parts remain visible, inspect body class and extend this block. */

/* Responsive */
@media screen and (max-width: 900px) {
  .hm-lp-card-grid--4,
  .hm-lp-method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-lp-premium-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-lp-split {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 600px) {
  .hm-lp-hero {
    min-height: 74vh;
    padding: 74px 18px 66px;
  }

  .hm-lp-hero__video {
    opacity: 0.34;
  }

  .hm-lp-hero__lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .hm-lp-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hm-lp-btn {
    width: min(100%, 320px);
    min-height: 50px;
  }

  .hm-lp-section {
    padding: 56px 0;
  }

  .hm-lp-card-grid--4,
  .hm-lp-method-grid {
    grid-template-columns: 1fr;
  }

  .hm-lp-card {
    padding: 22px 16px;
  }

  .hm-lp-section-lead,
  .hm-lp-text-block p,
  .hm-lp-split__text p,
  .hm-lp-cta p,
  .hm-lp-final-cta p {
    font-size: 14px;
    line-height: 1.95;
  }

  .hm-lp-premium-grid {
    grid-template-columns: 1fr;
  }

  .hm-lp-faq details {
    padding: 16px 16px;
  }
}

/* =========================================================
   AI卑弥呼 LP 微調整
   ※通常投稿タイトル非表示は管理画面で対応済みのため含めない
   ========================================================= */

/* ボタン文字を確実に見えるようにする */
.hm-lp-btn--primary,
.hm-lp-btn--primary:visited,
.hm-lp-btn--primary:hover,
.hm-lp-btn--primary:active,
.hm-lp-btn--primary span {
  color: #12172a !important;
  -webkit-text-fill-color: #12172a !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

.hm-lp-btn--ghost,
.hm-lp-btn--ghost:visited,
.hm-lp-btn--ghost:hover,
.hm-lp-btn--ghost:active,
.hm-lp-btn--ghost span,
.hm-lp-btn--ghost-gold,
.hm-lp-btn--ghost-gold:visited,
.hm-lp-btn--ghost-gold:hover,
.hm-lp-btn--ghost-gold:active,
.hm-lp-btn--ghost-gold span {
  color: #f3d98c !important;
  -webkit-text-fill-color: #f3d98c !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

/* カード見出しの中途半端な改行を抑える */
.hm-lp-card h3,
.hm-lp-method-item h3,
.hm-lp-split__card h3,
.hm-lp-premium-grid div {
  word-break: keep-all;
  overflow-wrap: normal;
}

.hm-lp-card h3 {
  font-size: 14px !important;
  line-height: 1.7 !important;
}

/* CTA見出しの改行崩れを抑える */
.hm-lp-cta h2,
.hm-lp-final-cta h2 {
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* 長文本文は読みやすく左揃え */
.hm-lp-text-block {
  max-width: 760px;
  margin: 0 auto;
}

.hm-lp-text-block p {
  text-align: left !important;
}

/* LP下部：フッターロゴ・コピーライトは消し、法務リンクだけ残す */
body.single-post.category-lp .footer-logo,
body.single-post.category-lp .logo-footer,
body.single-post.category-lp .copyright,
body.single-post.category-lp .site-name-text {
  display: none !important;
}

body.single-post.category-lp .footer-bottom,
body.single-post.category-lp .footer,
body.single-post.category-lp #footer {
  text-align: center !important;
}

/* 関連記事・パンくず・投稿ナビなど、LPに不要な投稿パーツ */
body.single-post.category-lp .breadcrumb,
body.single-post.category-lp .sns-share,
body.single-post.category-lp .sns-follow,
body.single-post.category-lp .related-entry-heading,
body.single-post.category-lp .related-list,
body.single-post.category-lp .under-entry-content,
body.single-post.category-lp .pager-post-navi,
body.single-post.category-lp .prev-next-link,
body.single-post.category-lp .comment-area,
body.single-post.category-lp .entry-footer,
body.single-post.category-lp .article-footer,
body.single-post.category-lp .date-tags,
body.single-post.category-lp .cat-link,
body.single-post.category-lp .tag-link,
body.single-post.category-lp .author-info {
  display: none !important;
}

/* サイドバーが出る場合はLPでは非表示 */
body.single-post.category-lp .sidebar,
body.single-post.category-lp #sidebar {
  display: none !important;
}

/* LP本文を1カラムで広く使う */
body.single-post.category-lp .content-in,
body.single-post.category-lp .main {
  width: 100% !important;
  max-width: none !important;
}

body.single-post.category-lp .entry-content {
  margin-top: 0 !important;
}
