/* =================================================================
 * GUILUDA Landing Page — /lp
 *   世界観：現代版ルイーダの酒場
 *   トーン：RPGのタイトル画面を開いたような没入
 *   色：深い木目 × 琥珀ゴールド × 羊皮紙 × 情熱カッパー × 賢者のネイビー
 *   カラー変数は app.css の :root から引き継ぐ
 * ================================================================= */

body[data-page="lp"] {
  padding: 0;
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(255,171,0,0.12) 0%, transparent 55%),
    linear-gradient(180deg, #1a0d08 0%, #2a1a13 40%, #2a1a13 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* LP は独自ヒーローを使うので共通 header は隠す */
body[data-page="lp"] > .hero-header { display: none; }

/* =================================================================
 *  FULL-VIEW HERO
 * ================================================================= */

.lp-hero-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 60px;
  overflow: hidden;
  isolation: isolate;
}

/* 背景：奥の松明、木目、羊皮紙の破れ */
.lp-hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    /* 上方中央の松明光 */
    radial-gradient(ellipse 70% 45% at 50% 18%, rgba(255,171,0,0.30) 0%, rgba(255,171,0,0.05) 40%, transparent 65%),
    /* 左右下の松明 */
    radial-gradient(ellipse 40% 30% at 10% 90%, rgba(255,140,30,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 90%, rgba(191,54,12,0.15) 0%, transparent 55%),
    /* 木目の節 */
    radial-gradient(ellipse 3% 8% at 15% 40%, rgba(0,0,0,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 2% 6% at 82% 70%, rgba(0,0,0,0.30) 0%, transparent 60%),
    radial-gradient(ellipse 2% 5% at 40% 82%, rgba(0,0,0,0.25) 0%, transparent 60%),
    /* 板目 */
    repeating-linear-gradient(180deg,
      rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px,
      transparent 1px, transparent 6px,
      rgba(255,230,190,0.03) 6px, rgba(255,230,190,0.03) 7px,
      transparent 7px, transparent 18px
    ),
    linear-gradient(180deg, #1b0e08 0%, #2a1a13 50%, #1b0e08 100%);
}

/* 揺らめき */
.lp-hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 30% at 50% 20%, rgba(255,212,102,0.18) 0%, transparent 55%);
  animation: heroFlicker 5s ease-in-out infinite;
}

@keyframes heroFlicker {
  0%, 100% { opacity: 1; }
  45% { opacity: 0.85; }
  50% { opacity: 0.70; }
  55% { opacity: 0.92; }
}

/* ロゴロックアップ（紋章＋ワードマーク） */
.lp-hero-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 10px 0 20px;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}
.lp-hero-logo::before {
  /* 背後に広がる光のハロー */
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 160%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 50% 55% at 50% 50%,
      rgba(255,171,0,0.35) 0%,
      rgba(255,171,0,0.12) 30%,
      transparent 65%);
  pointer-events: none;
  z-index: -1;
  animation: logoHalo 5s ease-in-out infinite;
}
@keyframes logoHalo {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}
.lp-hero-logo-sigil {
  width: clamp(140px, 22vmin, 220px);
  height: auto;
  filter:
    drop-shadow(0 0 32px rgba(255,171,0,0.75))
    drop-shadow(0 0 64px rgba(255,171,0,0.45))
    drop-shadow(0 6px 14px rgba(0,0,0,0.6));
  animation: sigilBreath 4.5s ease-in-out infinite;
}
@keyframes sigilBreath {
  0%, 100% { transform: scale(1); filter:
    drop-shadow(0 0 32px rgba(255,171,0,0.75))
    drop-shadow(0 0 64px rgba(255,171,0,0.45))
    drop-shadow(0 6px 14px rgba(0,0,0,0.6)); }
  50% { transform: scale(1.05); filter:
    drop-shadow(0 0 44px rgba(255,171,0,1))
    drop-shadow(0 0 90px rgba(255,171,0,0.6))
    drop-shadow(0 6px 14px rgba(0,0,0,0.6)); }
}
.lp-hero-logo-wordmark {
  width: clamp(240px, 50vmin, 420px);
  height: auto;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 18px rgba(255,171,0,0.75))
    drop-shadow(0 0 36px rgba(255,171,0,0.4))
    drop-shadow(0 3px 6px rgba(0,0,0,0.8));
}

/* 女将（ロゴの下で一度だけ大きく登場） */
.lp-hero-matron {
  width: min(52vmin, 340px);
  height: auto;
  filter:
    drop-shadow(0 0 40px rgba(255,171,0,0.5))
    drop-shadow(0 12px 26px rgba(0,0,0,0.75));
  z-index: 2;
  margin: 6px 0 12px;
  animation: matronEnter 1.2s ease-out 0.4s backwards;
}
@keyframes matronEnter {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.lp-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 960px;
  width: 100%;
}

/* キッカー (GUILUDA / 現代版ルイーダの酒場) */
.lp-hero-kicker {
  font-family: "Cinzel", serif;
  font-size: 0.82em;
  letter-spacing: 0.42em;
  color: var(--amber);
  margin: 0 0 6px;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255,171,0,0.5);
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}
/* スマホのみ改行（キッカー等 br 制御） */
.lp-br-sp { display: none; }
@media (max-width: 640px) {
  .lp-br-sp { display: inline; }
}
/* PC時のみ表示する中点等のセパレータ（スマホでは改行で消す） */
.lp-sep-pc { display: inline; }
@media (max-width: 640px) {
  .lp-sep-pc { display: none; }
}
/* メイン見出し */
.lp-hero-headline {
  width: 100%;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2.2em, 7vw, 4.2em);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--parchment);
  margin: 8px 0 18px;
  text-shadow:
    0 0 18px rgba(255,171,0,0.45),
    0 3px 0 #120907,
    0 6px 22px rgba(0,0,0,0.85);
  animation: fadeInUp 0.9s ease-out 0.8s backwards;
}
.lp-hero-headline .q-mark {
  color: var(--amber);
  font-family: "Cinzel", "Noto Serif JP", serif;
  text-shadow: 0 0 24px rgba(255,171,0,0.85);
}

/* サブ */
.lp-hero-subhead {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1em, 2.4vw, 1.3em);
  color: var(--parchment-soft);
  margin: 0 0 34px;
  line-height: 1.75;
  letter-spacing: 0.03em;
  animation: fadeInUp 0.9s ease-out 1.0s backwards;
}
.lp-hero-subhead b {
  color: var(--amber-light);
  font-weight: 600;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* クエストボタン */
.lp-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 44px;
  font-family: "Cinzel", serif;
  font-size: clamp(1.05em, 2.4vw, 1.25em);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--wood-deep);
  text-decoration: none;
  background:
    linear-gradient(180deg, #ffd466 0%, var(--amber) 55%, #c27d00 100%);
  border: 2px solid #3e2215;
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -3px 8px rgba(139,26,14,0.25),
    0 0 0 2px var(--amber-deep),
    0 0 24px rgba(255,171,0,0.55),
    0 6px 0 #3e2215,
    0 10px 22px rgba(0,0,0,0.6);
  position: relative;
  transition: transform 0.12s, box-shadow 0.12s;
  animation: fadeInUp 0.9s ease-out 1.2s backwards, ctaGlow 3s ease-in-out 2s infinite;
}
.lp-hero-cta::before {
  content: "▶";
  color: var(--wood-deep);
  font-size: 0.9em;
}
.lp-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -3px 8px rgba(139,26,14,0.3),
    0 0 0 2px var(--amber-deep),
    0 0 36px rgba(255,171,0,0.75),
    0 8px 0 #3e2215,
    0 14px 30px rgba(0,0,0,0.7);
}
.lp-hero-cta:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 3px rgba(139,26,14,0.2),
    0 0 0 2px var(--amber-deep),
    0 0 18px rgba(255,171,0,0.4),
    0 2px 0 #3e2215,
    0 4px 10px rgba(0,0,0,0.6);
}
@keyframes ctaGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255,171,0,0)); }
  50% { filter: drop-shadow(0 0 18px rgba(255,171,0,0.6)); }
}

.lp-hero-cta-sub {
  margin: 14px 0 0;
  font-size: 0.86em;
  color: var(--parchment-edge);
  letter-spacing: 0.08em;
  animation: fadeInUp 0.9s ease-out 1.4s backwards;
}

/* スクロール誘導 */
.lp-scroll-hint {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: "Cinzel", serif;
  font-size: 0.74em;
  letter-spacing: 0.32em;
  color: var(--amber-light);
  opacity: 0.7;
  text-align: center;
  animation: scrollBob 2s ease-in-out infinite;
}
.lp-scroll-hint::after {
  content: "▾";
  display: block;
  font-size: 1.8em;
  margin-top: 4px;
  color: var(--amber);
}
@keyframes scrollBob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.65; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

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

.lp-body {
  position: relative;
  background:
    linear-gradient(180deg, transparent 0, rgba(0,0,0,0.4) 30px),
    linear-gradient(180deg, var(--wood-deep) 0%, var(--wood) 40%, var(--wood-deep) 100%);
  padding: 20px 0 0;
}

/* 羊皮紙の破れ目（ヒーローから本文への境目） */
.lp-body::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 18' preserveAspectRatio='none'><path d='M0,0 L400,0 L400,6 L394,11 L388,7 L382,12 L375,9 L368,13 L361,10 L354,14 L347,10 L340,13 L333,8 L326,12 L319,9 L312,13 L305,10 L298,14 L291,9 L284,12 L277,8 L270,13 L263,10 L256,14 L249,9 L242,12 L235,8 L228,13 L220,10 L213,14 L206,9 L199,12 L192,8 L185,13 L178,10 L171,14 L164,9 L157,12 L150,8 L143,13 L136,10 L129,14 L122,9 L115,12 L108,8 L101,13 L94,10 L87,14 L80,9 L73,12 L66,8 L59,13 L52,10 L45,14 L38,9 L31,12 L24,8 L17,13 L10,10 L3,14 L0,10 Z' fill='%232a1a13'/></svg>");
  background-size: 100% 100%;
}

.lp-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 70px 24px;
  position: relative;
}

.lp-section-title {
  font-family: "Cinzel", "Noto Serif JP", serif;
  font-size: clamp(1.4em, 3.4vw, 2.2em);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-align: center;
  margin: 0 0 12px;
  color: var(--amber-light);
  text-shadow:
    0 0 18px rgba(255,171,0,0.4),
    0 3px 0 #120907;
  position: relative;
  padding: 0 60px;
}
.lp-section-title::before,
.lp-section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--copper), var(--amber));
  box-shadow: 0 0 10px rgba(255,171,0,0.4);
}
.lp-section-title::before {
  left: 10px;
  background: linear-gradient(90deg, transparent, var(--copper), var(--amber));
}
.lp-section-title::after {
  right: 10px;
  background: linear-gradient(90deg, var(--amber), var(--copper), transparent);
}
.lp-section-title .kanji {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 0.6em;
  letter-spacing: 0.06em;
  color: var(--parchment-edge);
  font-weight: 500;
  margin-top: 10px;
  text-shadow: none;
}

.lp-section-lead {
  text-align: center;
  color: var(--parchment-soft);
  max-width: 720px;
  margin: 14px auto 40px;
  font-size: 1em;
  line-height: 1.9;
}

/* =================================================================
 *  課題（4カード）
 * ================================================================= */

.lp-problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}
.lp-problem-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background:
    linear-gradient(180deg, rgba(244,231,199,0.95), rgba(237,224,184,0.92));
  border: 1px solid var(--parchment-edge);
  border-radius: 4px;
  box-shadow:
    0 4px 0 rgba(0,0,0,0.4),
    0 10px 22px rgba(0,0,0,0.5);
  position: relative;
}
.lp-problem-card::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(143,106,56,0.4);
  border-radius: 2px;
  pointer-events: none;
}
.lp-problem-card p {
  margin: 0;
  font-size: 0.98em;
  line-height: 1.8;
  color: var(--ink);
}
.lp-problem-card b {
  color: var(--copper-deep);
  background: rgba(255,171,0,0.18);
  padding: 0 3px;
}
.lp-problem-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cinzel", serif;
  font-size: 1.4em;
  font-weight: 700;
  color: var(--amber);
  background: linear-gradient(180deg, var(--wood-edge), var(--wood-deep));
  border-radius: 50%;
  border: 2px solid var(--copper);
  box-shadow:
    inset 0 0 8px rgba(255,171,0,0.3),
    0 2px 6px rgba(0,0,0,0.5);
}
@media (max-width: 640px) {
  .lp-problem-grid { grid-template-columns: 1fr; }
}

/* =================================================================
 *  スキルカード（3つの機能）
 * ================================================================= */

.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1200px;
}
.lp-feature-card {
  padding: 28px 22px 26px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,171,0,0.18) 0%, transparent 60%),
    linear-gradient(180deg, #3a241c 0%, #2a1a13 100%);
  border: 1px solid var(--copper);
  border-radius: 6px;
  position: relative;
  box-shadow:
    inset 0 0 30px rgba(255,171,0,0.08),
    0 4px 0 rgba(0,0,0,0.5),
    0 12px 30px rgba(0,0,0,0.65);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.lp-feature-card:hover {
  transform: translateY(-4px) rotateX(2deg);
  box-shadow:
    inset 0 0 40px rgba(255,171,0,0.15),
    0 4px 0 rgba(0,0,0,0.5),
    0 18px 40px rgba(0,0,0,0.75);
}
.lp-feature-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255,171,0,0.3);
  border-radius: 3px;
  pointer-events: none;
}
.lp-feature-card::after {
  /* カード上部の装飾ライン */
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.lp-feature-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 34px;
  padding: 0 14px;
  background: linear-gradient(180deg, var(--amber-light), var(--amber-deep));
  color: var(--wood-deep);
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 2px;
  font-size: 0.95em;
  border: 1px solid var(--copper-deep);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 6px rgba(0,0,0,0.4);
  margin-bottom: 14px;
}
.lp-feature-card h3 {
  font-family: "Noto Serif JP", serif;
  color: var(--amber-light);
  font-size: 1.22em;
  margin: 6px 0 14px;
  line-height: 1.45;
  text-shadow: 0 0 10px rgba(255,171,0,0.3), 0 2px 0 #120907;
}
.lp-feature-card p {
  font-size: 0.94em;
  line-height: 1.9;
  margin: 0;
  color: #e9d5a3;
}
.lp-feature-card p b {
  color: var(--amber-light);
  border-bottom: 1px dashed var(--amber);
}
@media (max-width: 820px) {
  .lp-feature-grid { grid-template-columns: 1fr; }
}

/* =================================================================
 *  導入フロー
 * ================================================================= */

.lp-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin: 0 auto;
}
.lp-flow li {
  position: relative;
  padding: 22px 24px 22px 28px;
  background:
    linear-gradient(180deg, rgba(244,231,199,0.95), rgba(237,224,184,0.9));
  border-radius: 4px;
  border: 1px solid var(--parchment-edge);
  box-shadow: 0 3px 0 rgba(0,0,0,0.4), 0 8px 20px rgba(0,0,0,0.5);
}
.lp-flow li::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--amber), var(--copper-deep));
}
.lp-flow-step {
  display: inline-block;
  font-family: "Cinzel", serif;
  font-size: 0.78em;
  letter-spacing: 0.24em;
  color: #fff;
  background: var(--wood-deep);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 8px;
  border: 1px solid var(--copper-deep);
}
.lp-flow h3 {
  font-family: "Noto Serif JP", serif;
  color: var(--wood-deep);
  margin: 6px 0 8px;
  font-size: 1.14em;
}
.lp-flow p {
  margin: 0;
  font-size: 0.96em;
  line-height: 1.85;
  color: var(--ink);
}

/* =================================================================
 *  料金（2枚の看板）
 * ================================================================= */

.lp-price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 820px;
  margin: 0 auto 20px;
}
.lp-price-card {
  padding: 30px 24px 26px;
  background:
    linear-gradient(180deg, rgba(244,231,199,0.96), rgba(237,224,184,0.93));
  border: 2px solid var(--copper-deep);
  border-radius: 6px;
  text-align: center;
  position: relative;
  box-shadow:
    0 5px 0 rgba(0,0,0,0.45),
    0 14px 30px rgba(0,0,0,0.55);
}
.lp-price-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(143,106,56,0.5);
  border-radius: 3px;
  pointer-events: none;
}
.lp-price-card-primary {
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255,171,0,0.22) 0%, transparent 60%),
    linear-gradient(180deg, #fff5d6 0%, var(--parchment-soft) 100%);
  border-color: var(--amber);
  box-shadow:
    0 0 0 3px rgba(255,171,0,0.25),
    0 5px 0 rgba(0,0,0,0.5),
    0 18px 40px rgba(0,0,0,0.65);
}
.lp-price-card-primary::after {
  content: "✧ 契約者";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--blood), #5c1308);
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: 0.82em;
  letter-spacing: 0.22em;
  padding: 6px 16px;
  border-radius: 2px;
  border: 1px solid #3e0a05;
  box-shadow: 0 3px 8px rgba(0,0,0,0.6);
}
.lp-price-role {
  font-family: "Noto Serif JP", serif;
  color: var(--wood-deep);
  font-weight: 700;
  font-size: 1.12em;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}
.lp-price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 4px;
}
.lp-price-num {
  font-family: "Cinzel", serif;
  font-size: 3.2em;
  font-weight: 700;
  color: var(--copper-deep);
  line-height: 1;
  text-shadow: 0 2px 0 rgba(255,255,255,0.6), 0 4px 8px rgba(0,0,0,0.2);
}
.lp-price-unit {
  font-size: 0.95em;
  color: var(--ink-soft);
}
.lp-price-sub {
  font-size: 0.86em;
  color: var(--muted);
  margin-bottom: 14px;
}
.lp-price-features {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  text-align: left;
}
.lp-price-features li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 0.94em;
  color: var(--ink);
  border-bottom: 1px dotted rgba(143,106,56,0.4);
}
.lp-price-features li::before {
  content: "✦";
  position: absolute;
  left: 2px;
  color: var(--amber-deep);
  font-weight: 700;
}
.lp-price-features li:last-child { border-bottom: none; }

.lp-price-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 28px;
  font-family: "Cinzel", serif;
  letter-spacing: 0.18em;
  background: linear-gradient(180deg, #ffd466, var(--amber-deep));
  color: var(--wood-deep);
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--copper-deep);
  border-radius: 2px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 4px 0 var(--copper-deep),
    0 8px 18px rgba(0,0,0,0.4);
  transition: transform 0.12s;
}
.lp-price-cta:hover { transform: translateY(-1px); }
.lp-price-cta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--copper-deep); }

.lp-price-note {
  text-align: center;
  font-size: 0.88em;
  color: var(--parchment-soft);
  margin: 20px auto 0;
  max-width: 720px;
}
.lp-price-note a {
  color: var(--amber-light);
  border-bottom: 1px dashed var(--amber);
  text-decoration: none;
}
@media (max-width: 700px) {
  .lp-price-grid { grid-template-columns: 1fr; }
}

/* =================================================================
 *  オーディエンス
 * ================================================================= */

.lp-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.lp-audience-card {
  min-height: 92px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background:
    linear-gradient(180deg, rgba(244,231,199,0.1), rgba(244,231,199,0.02));
  border: 1px solid rgba(255,171,0,0.35);
  border-radius: 3px;
  text-align: center;
  color: var(--parchment);
  box-shadow: inset 0 0 12px rgba(255,171,0,0.06);
}
.lp-audience-card b {
  display: block;
  font-weight: 700;
  font-size: 0.98em;
  line-height: 1.35;
  color: var(--parchment);
}
.lp-audience-sub {
  display: block;
  font-size: 0.78em;
  line-height: 1.5;
  color: var(--parchment-edge);
  opacity: 0.85;
}
@media (max-width: 640px) {
  .lp-audience-grid { grid-template-columns: 1fr 1fr; }
}

/* =================================================================
 *  FAQ（巻物風）
 * ================================================================= */

.lp-faq {
  max-width: 780px;
  margin: 0 auto;
}
.lp-faq details {
  background:
    linear-gradient(180deg, rgba(244,231,199,0.94), rgba(237,224,184,0.9));
  border: 1px solid var(--parchment-edge);
  border-radius: 4px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 3px 0 rgba(0,0,0,0.35), 0 8px 18px rgba(0,0,0,0.4);
}
.lp-faq summary {
  padding: 16px 52px 16px 20px;
  cursor: pointer;
  font-weight: 700;
  color: var(--wood-deep);
  font-size: 0.98em;
  list-style: none;
  position: relative;
  font-family: "Noto Serif JP", serif;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::before {
  content: "Q.";
  color: var(--blood);
  font-family: "Cinzel", serif;
  margin-right: 8px;
  letter-spacing: 0.06em;
}
.lp-faq summary::after {
  content: "＋";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--amber-deep);
  font-weight: 700;
  font-size: 1.3em;
}
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq details p {
  margin: 0;
  padding: 0 20px 16px 44px;
  font-size: 0.95em;
  line-height: 1.85;
  color: var(--ink);
  position: relative;
}
.lp-faq details p::before {
  content: "A.";
  position: absolute;
  left: 20px;
  color: var(--copper-deep);
  font-family: "Cinzel", serif;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.lp-faq details p a { color: var(--copper-deep); }

/* =================================================================
 *  最終CTA
 * ================================================================= */

.lp-final-cta {
  text-align: center;
  padding: 80px 22px 90px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,171,0,0.2) 0%, transparent 60%),
    linear-gradient(180deg, #1a0d08 0%, var(--wood-deep) 100%);
  border-top: 2px solid var(--copper-deep);
  border-bottom: 2px solid var(--copper-deep);
  margin-top: 40px;
}
.lp-final-headline {
  font-family: "Noto Serif JP", serif;
  color: var(--amber-light);
  font-size: clamp(1.3em, 4vw, 2em);
  line-height: 1.4;
  margin: 0 0 20px;
  text-shadow:
    0 0 18px rgba(255,171,0,0.4),
    0 3px 0 #120907;
}
.lp-final-sub {
  color: var(--parchment-soft);
  margin: 0 0 34px;
  font-size: 1em;
  line-height: 1.8;
}
.lp-final-hint {
  margin: 28px 0 0;
  font-size: 0.88em;
  color: var(--parchment-edge);
}
.lp-final-hint a {
  color: var(--amber-light);
  border-bottom: 1px dashed var(--amber);
  text-decoration: none;
}

/* =================================================================
 *  フッター
 * ================================================================= */

.lp-main .page-legal-foot {
  background: var(--wood-deep);
  margin-top: 0;
  border-top: 1px solid var(--copper-deep);
  padding: 22px 16px;
}

/* =================================================================
 *  ヒーロー末尾の世界観注記
 * ================================================================= */
.lp-hero-worldview {
  margin: 26px 0 0;
  font-size: 0.78em;
  color: var(--parchment-edge);
  letter-spacing: 0.02em;
  line-height: 1.7;
  opacity: 0.7;
  text-wrap: balance;
  animation: fadeInUp 1s ease-out 1.6s backwards;
}

/* タイトル内アクセント（2行タイトルの下段ハイライト等） */
.lp-section-title .title-accent {
  color: var(--amber);
  font-size: 1.05em;
  text-shadow:
    0 0 22px rgba(255,171,0,0.55),
    0 3px 0 #120907;
}

/* =================================================================
 *  よくある相談例（相談ブロック）
 * ================================================================= */

.lp-quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 860px;
  margin: 10px auto 26px;
}
.lp-quotes-grid blockquote {
  position: relative;
  margin: 0;
  padding: 20px 24px 20px 56px;
  background:
    linear-gradient(180deg, rgba(244,231,199,0.96), rgba(237,224,184,0.92));
  border: 1px solid var(--parchment-edge);
  border-left: 5px solid var(--amber);
  border-radius: 4px;
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 1.02em;
  line-height: 1.75;
  box-shadow: 0 3px 0 rgba(0,0,0,0.4), 0 8px 20px rgba(0,0,0,0.45);
}
.lp-quotes-grid blockquote::before {
  content: "“";
  position: absolute;
  left: 16px;
  top: 6px;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 3.4em;
  line-height: 1;
  color: var(--amber);
  opacity: 0.75;
  font-weight: 700;
}
@media (max-width: 640px) {
  .lp-quotes-grid { grid-template-columns: 1fr; }
}

/* =================================================================
 *  使い方の例（チャット形式）
 * ================================================================= */

.lp-demo {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255,171,0,0.08) 0%, transparent 60%);
}
.lp-chat-example {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-chat-bubble {
  position: relative;
  padding: 16px 20px;
  border-radius: 14px;
  max-width: 82%;
  line-height: 1.75;
  box-shadow: 0 4px 0 rgba(0,0,0,0.35), 0 10px 22px rgba(0,0,0,0.45);
}
.lp-chat-who {
  font-family: "Cinzel", serif;
  font-size: 0.72em;
  letter-spacing: 0.18em;
  margin-bottom: 4px;
  opacity: 0.75;
}
.lp-chat-text { font-size: 1em; }
.lp-chat-text b { color: var(--copper-deep); background: rgba(255,171,0,0.25); padding: 0 3px; }

/* ユーザー発話（右寄せ、木目ダーク） */
.lp-chat-user {
  align-self: flex-end;
  background: linear-gradient(180deg, #3e2723 0%, #2a1a13 100%);
  color: var(--parchment);
  border: 1px solid var(--copper);
  border-bottom-right-radius: 4px;
}
.lp-chat-user .lp-chat-who { color: var(--amber-light); }
.lp-chat-user .lp-chat-text b { color: var(--amber-light); background: rgba(255,171,0,0.15); }

/* AI発話（左寄せ、羊皮紙） */
.lp-chat-ai {
  align-self: flex-start;
  background: linear-gradient(180deg, var(--parchment) 0%, var(--parchment-soft) 100%);
  color: var(--ink);
  border: 1px solid var(--parchment-edge);
  border-bottom-left-radius: 4px;
}
.lp-chat-ai .lp-chat-who { color: var(--copper-deep); }
.lp-chat-ai::before {
  /* 左下にしっぽ */
  content: "";
  position: absolute;
  bottom: -2px;
  left: -8px;
  width: 16px;
  height: 16px;
  background: inherit;
  border-left: 1px solid var(--parchment-edge);
  border-bottom: 1px solid var(--parchment-edge);
  border-radius: 0 0 0 4px;
  transform: skewX(-20deg);
}
.lp-chat-user::before {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -8px;
  width: 16px;
  height: 16px;
  background: inherit;
  border-right: 1px solid var(--copper);
  border-bottom: 1px solid var(--copper);
  border-radius: 0 0 4px 0;
  transform: skewX(20deg);
}
.lp-chat-footer {
  margin: 10px 0 0;
  text-align: center;
  color: var(--parchment-soft);
  font-size: 0.88em;
  letter-spacing: 0.06em;
}

/* =================================================================
 *  導入すると、こう変わります（変化リスト）
 * ================================================================= */

.lp-change { background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255,171,0,0.1) 0%, transparent 55%);
}
.lp-change-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  display: grid;
  gap: 12px;
}
.lp-change-list li {
  position: relative;
  padding: 18px 22px 18px 64px;
  background:
    linear-gradient(180deg, rgba(244,231,199,0.95), rgba(237,224,184,0.9));
  border: 1px solid var(--parchment-edge);
  border-radius: 4px;
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 1.05em;
  font-weight: 600;
  box-shadow: 0 3px 0 rgba(0,0,0,0.35), 0 8px 18px rgba(0,0,0,0.45);
}
.lp-change-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--amber-light), var(--amber-deep));
  color: var(--wood-deep);
  border-radius: 50%;
  border: 2px solid var(--copper-deep);
  font-weight: 700;
  font-size: 1.05em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 2px 6px rgba(0,0,0,0.4);
}

/* =================================================================
 *  世界観パネル（ギルーダの由来）
 * ================================================================= */

.lp-origin {
  padding: 60px 20px;
}
.lp-origin-panel {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 40px 50px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,171,0,0.12) 0%, transparent 60%),
    linear-gradient(180deg, #3a241c 0%, #2a1a13 100%);
  border: 1px solid var(--copper);
  border-radius: 6px;
  box-shadow:
    inset 0 0 50px rgba(255,171,0,0.06),
    0 4px 0 rgba(0,0,0,0.5),
    0 16px 40px rgba(0,0,0,0.65);
  text-align: center;
  overflow: hidden;
}
.lp-origin-panel::before {
  /* 内側の二重枠（羊皮紙風） */
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,171,0,0.28);
  border-radius: 3px;
  pointer-events: none;
}
.lp-origin-panel::after {
  /* 装飾ライン（上下） */
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber) 20%, var(--amber) 80%, transparent);
  opacity: 0.6;
  pointer-events: none;
}

/* 紋章ウォーターマーク（背景に極薄く） */
.lp-origin-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  max-width: 460px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.lp-origin-mark img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(255,171,0,0.6));
}

.lp-origin-kicker {
  position: relative;
  z-index: 1;
  font-family: "Cinzel", serif;
  font-size: 0.78em;
  letter-spacing: 0.32em;
  color: var(--amber);
  text-transform: uppercase;
  margin: 0 0 10px;
  text-shadow: 0 0 18px rgba(255,171,0,0.4);
}
.lp-origin-title {
  position: relative;
  z-index: 1;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.2em, 3.2vw, 1.75em);
  font-weight: 700;
  line-height: 1.4;
  color: var(--amber-light);
  margin: 0 0 28px;
  text-shadow:
    0 0 20px rgba(255,171,0,0.4),
    0 3px 0 #120907;
}
.lp-origin-body {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  color: var(--parchment);
}
.lp-origin-body p {
  font-family: "Noto Serif JP", serif;
  font-size: 1.02em;
  line-height: 1.95;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.lp-origin-body p:last-child { margin-bottom: 0; }
.lp-origin-body b {
  color: var(--amber-light);
  font-weight: 600;
  text-shadow: 0 0 12px rgba(255,171,0,0.35);
}

@media (max-width: 640px) {
  .lp-origin-panel { padding: 46px 24px 38px; }
}

/* =================================================================
 *  入場演出：観音扉のローダー
 * ================================================================= */

.lp-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  background: #000;
  pointer-events: auto;
  animation: lp-gate-overlay 0.6s ease-out 2.7s forwards;
}
@keyframes lp-gate-overlay {
  from { opacity: 1; }
  to   { opacity: 0; visibility: hidden; }
}

/* 中央に現れる紋章 */
.lp-gate-sigil {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(140px, 22vmin, 240px);
  height: auto;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  z-index: 20;
  filter:
    drop-shadow(0 0 28px rgba(255,171,0,0.8))
    drop-shadow(0 0 60px rgba(255,171,0,0.5));
  animation:
    lp-gate-sigil-in 0.2s ease-out 0s forwards,
    lp-gate-sigil-pulse 1.4s ease-in-out 0.4s 2,
    lp-gate-sigil-out 0.6s ease-in 2.0s forwards;
}
@keyframes lp-gate-sigil-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes lp-gate-sigil-pulse {
  0%, 100% { filter:
    drop-shadow(0 0 28px rgba(255,171,0,0.8))
    drop-shadow(0 0 60px rgba(255,171,0,0.5)); }
  50% { filter:
    drop-shadow(0 0 42px rgba(255,171,0,1))
    drop-shadow(0 0 90px rgba(255,171,0,0.7)); }
}
@keyframes lp-gate-sigil-out {
  from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  to   { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}

/* 扉（左右対称の観音扉） */
.lp-gate-door {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  z-index: 5;
  backface-visibility: hidden;
  /* 木目＋木板の継ぎ目＋縁の陰 */
  background:
    /* 中央合わせ目の陰 */
    linear-gradient(90deg,
      transparent 0%, transparent 96%,
      rgba(0,0,0,0.8) 100%),
    /* 上下端の暗さ */
    linear-gradient(180deg,
      rgba(0,0,0,0.75) 0%, transparent 6%, transparent 94%, rgba(0,0,0,0.75) 100%),
    /* 木目の節 */
    radial-gradient(ellipse 4% 10% at 30% 30%, rgba(0,0,0,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 3% 8% at 65% 65%, rgba(0,0,0,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 2% 6% at 80% 20%, rgba(0,0,0,0.3) 0%, transparent 60%),
    /* 縦方向の板継ぎ（木板の溝） */
    repeating-linear-gradient(90deg,
      rgba(0,0,0,0.0) 0px, rgba(0,0,0,0.0) 58px,
      rgba(0,0,0,0.55) 59px, rgba(0,0,0,0.55) 60px,
      rgba(0,0,0,0.0) 61px, rgba(0,0,0,0.0) 119px),
    /* 横方向の木目 */
    repeating-linear-gradient(180deg,
      rgba(0,0,0,0.18) 0px, rgba(0,0,0,0.18) 1px,
      transparent 1px, transparent 5px,
      rgba(255,230,190,0.04) 5px, rgba(255,230,190,0.04) 6px,
      transparent 6px, transparent 12px),
    /* ベースの茶色 */
    linear-gradient(180deg, #2a1a13 0%, #3e2723 50%, #2a1a13 100%);
  box-shadow:
    inset 0 0 60px rgba(0,0,0,0.8),
    inset 0 0 140px rgba(0,0,0,0.55);
}
.lp-gate-door-left {
  left: 0;
  transform-origin: left center;
  animation: lp-gate-door-left-open 1.3s cubic-bezier(0.5, 0, 0.3, 1) 1.5s forwards;
}
.lp-gate-door-right {
  right: 0;
  transform-origin: right center;
  /* 右の扉は右から照らされたような微妙な傾き */
  background-position: right;
  animation: lp-gate-door-right-open 1.3s cubic-bezier(0.5, 0, 0.3, 1) 1.5s forwards;
}
/* 右扉は合わせ目の陰を左側に */
.lp-gate-door-right {
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.8) 0%, transparent 4%, transparent 100%),
    linear-gradient(180deg,
      rgba(0,0,0,0.75) 0%, transparent 6%, transparent 94%, rgba(0,0,0,0.75) 100%),
    radial-gradient(ellipse 4% 10% at 70% 40%, rgba(0,0,0,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 3% 8% at 35% 70%, rgba(0,0,0,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 2% 6% at 20% 25%, rgba(0,0,0,0.3) 0%, transparent 60%),
    repeating-linear-gradient(90deg,
      rgba(0,0,0,0.0) 0px, rgba(0,0,0,0.0) 58px,
      rgba(0,0,0,0.55) 59px, rgba(0,0,0,0.55) 60px,
      rgba(0,0,0,0.0) 61px, rgba(0,0,0,0.0) 119px),
    repeating-linear-gradient(180deg,
      rgba(0,0,0,0.18) 0px, rgba(0,0,0,0.18) 1px,
      transparent 1px, transparent 5px,
      rgba(255,230,190,0.04) 5px, rgba(255,230,190,0.04) 6px,
      transparent 6px, transparent 12px),
    linear-gradient(180deg, #2a1a13 0%, #3e2723 50%, #2a1a13 100%);
}

@keyframes lp-gate-door-left-open {
  0%   { transform: rotateY(0); }
  100% { transform: rotateY(-108deg); }
}
@keyframes lp-gate-door-right-open {
  0%   { transform: rotateY(0); }
  100% { transform: rotateY(108deg); }
}

/* 扉の金具：上下の鉄帯 */
.lp-gate-iron {
  position: absolute;
  left: 0;
  right: 0;
  height: 22px;
  background:
    linear-gradient(180deg,
      #1a1310 0%, #2d2520 40%, #3d332b 50%, #2d2520 60%, #1a1310 100%);
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.08),
    inset 0 -2px 4px rgba(0,0,0,0.7),
    0 2px 6px rgba(0,0,0,0.55);
}
.lp-gate-iron-top { top: 60px; }
.lp-gate-iron-bot { bottom: 60px; }
/* 鉄帯のリベット */
.lp-gate-iron::before,
.lp-gate-iron::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #635649 0%, #2a1f17 70%, #0f0906 100%);
  transform: translateY(-50%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.lp-gate-iron::before { left: 16px; }
.lp-gate-iron::after  { right: 16px; }

/* 扉の取っ手：中央合わせ目近くの鉄輪 */
.lp-gate-handle {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 5px solid #4a3b2f;
  background: radial-gradient(circle at 30% 30%,
    #6b5a48 0%, #3d332b 55%, #1a1310 100%);
  transform: translateY(-50%);
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.12),
    inset 0 -3px 6px rgba(0,0,0,0.7),
    0 4px 10px rgba(0,0,0,0.7);
}
.lp-gate-handle-left  { right: 32px; }
.lp-gate-handle-right { left:  32px; }

/* 玄関を照らす炎（既存 .flame を拡大・再配置） */
.lp-gate-flame {
  z-index: 12;
  width: 100px !important;
  height: 160px !important;
  top: 18%;
  bottom: auto !important;
  filter: blur(9px);
  opacity: 0.95;
}
.lp-gate-flame-left  { left: 5vw; }
.lp-gate-flame-right { right: 5vw; }

/* 炎のまわりの空気グロー（柱に触れた光） */
.lp-gate-flame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(255,171,0,0.35) 0%,
    rgba(255,171,0,0.12) 35%,
    transparent 65%);
  filter: blur(4px);
  pointer-events: none;
  z-index: -1;
  animation: flameDance 3.1s ease-in-out infinite;
}

@media (max-width: 700px) {
  .lp-gate-flame {
    width: 70px !important;
    height: 120px !important;
    top: 12%;
  }
  .lp-gate-flame-left  { left: 4vw; }
  .lp-gate-flame-right { right: 4vw; }
  .lp-gate-handle { width: 32px; height: 32px; border-width: 4px; }
  .lp-gate-handle-left  { right: 20px; }
  .lp-gate-handle-right { left:  20px; }
  .lp-gate-iron { height: 16px; }
  .lp-gate-iron-top { top: 40px; }
  .lp-gate-iron-bot { bottom: 40px; }
}

/* モーション低減の配慮 */
@media (prefers-reduced-motion: reduce) {
  .lp-gate,
  .lp-gate-sigil,
  .lp-gate-door-left,
  .lp-gate-door-right { animation-duration: 0.4s !important; }
}

/* =================================================================
 *  玄関の看板（ワードマーク）
 * ================================================================= */

.lp-gate-wordmark {
  position: absolute;
  left: 50%;
  top: 13%;
  transform: translateX(-50%);
  width: clamp(220px, 36vmin, 360px);
  height: auto;
  opacity: 0;
  z-index: 15;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 20px rgba(255,171,0,0.75))
    drop-shadow(0 0 44px rgba(255,171,0,0.45))
    drop-shadow(0 3px 8px rgba(0,0,0,0.85));
  animation: lp-gate-wordmark-cycle 2.6s ease-in-out 0.15s forwards;
}

/* 看板の下にうっすら光の帯（松明の灯りを受けたような陰影） */
.lp-gate-wordmark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 180%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 40% 50% at 50% 50%,
    rgba(255,171,0,0.3) 0%,
    transparent 60%);
  z-index: -1;
  pointer-events: none;
}

@keyframes lp-gate-wordmark-cycle {
  0%   { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  15%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-4px); }
}

@media (max-width: 700px) {
  .lp-gate-wordmark {
    top: 10%;
    width: clamp(180px, 56vmin, 280px);
  }
}

/* =================================================================
 *  文字落ち（orphan）防止：body text に text-wrap: pretty を適用
 *  ブラウザが2文字だけの末尾行を自動回避する
 * ================================================================= */

.lp-hero-subhead,
.lp-hero-cta-sub,
.lp-origin-body p,
.lp-feature-card p,
.lp-flow p,
.lp-quotes-grid blockquote,
.lp-chat-text,
.lp-faq details p,
.lp-final-sub,
.lp-price-note,
.lp-problem-card p {
  text-wrap: pretty;
}

/* 短い本文はより積極的にバランスを取る（mid-word 破綻のリスクが低いもののみ） */
.lp-section-lead,
.lp-change-list li {
  text-wrap: balance;
}

/* 狭いビューポートでは問題カードの余白を詰めて「る。」等の末尾孤立を回避 */
@media (max-width: 400px) {
  .lp-problem-card {
    padding: 16px 14px;
    gap: 12px;
  }
  .lp-problem-icon {
    width: 38px;
    height: 38px;
    font-size: 1.2em;
  }
  .lp-problem-card p {
    font-size: 0.92em;
  }
}

/* =================================================================
 *  お問い合わせフォーム（最終CTAの下）
 * ================================================================= */

.lp-final-hint-link {
  color: var(--amber-light);
  border-bottom: 1px dashed var(--amber);
  text-decoration: none;
}

.lp-contact-form {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 24px 26px;
  background:
    linear-gradient(180deg, rgba(244,231,199,0.96), rgba(237,224,184,0.9));
  border: 2px solid var(--copper-deep);
  border-radius: 6px;
  box-shadow: 0 5px 0 rgba(0,0,0,0.4), 0 14px 30px rgba(0,0,0,0.55);
  color: var(--ink);
}

.lp-contact-label {
  display: block;
  margin: 12px 0 4px;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 0.94em;
  color: var(--wood-deep);
}
.lp-contact-req {
  display: inline-block;
  font-size: 0.72em;
  padding: 1px 7px;
  margin-left: 6px;
  background: var(--blood);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.lp-contact-form input,
.lp-contact-form select,
.lp-contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 1em;
  color: var(--ink);
  background: #fffef8;
  border: 1px solid var(--parchment-edge);
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
}
.lp-contact-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.75;
}
.lp-contact-form input:focus,
.lp-contact-form select:focus,
.lp-contact-form textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(255,171,0,0.2), inset 0 1px 2px rgba(0,0,0,0.08);
}

.lp-contact-consent {
  margin: 14px 0 6px;
  font-size: 0.84em;
  color: var(--ink-soft);
  line-height: 1.7;
}
.lp-contact-consent a { color: var(--copper-deep); }

.lp-contact-actions {
  margin-top: 16px;
  text-align: center;
}
.lp-contact-submit {
  padding: 14px 34px;
}
.lp-contact-submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.lp-contact-result {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 0.96em;
  line-height: 1.7;
}
.lp-contact-result.hidden { display: none; }
.lp-contact-result-ok {
  background: rgba(62, 107, 58, 0.15);
  border-left: 4px solid var(--success);
  color: var(--success);
}
.lp-contact-result-error {
  background: rgba(139, 26, 14, 0.14);
  border-left: 4px solid var(--danger);
  color: var(--danger);
}
