@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;700;900&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* LicenceHub Academy — Landing Page */

.lp {
  --lp-bg: #F6F5F3;
  --lp-bg-alt: #EFEEEC;
  --lp-text: #1A1A1A;
  --lp-text-sub: #4A4A4A;
  --lp-text-muted: #8A8A8A;
  --lp-accent: #1F9E8F;
  --lp-accent-dark: #17796E;
  --lp-accent-light: rgba(31, 158, 143, 0.08);
  --lp-premium: #7C3AED;
  --lp-white: #FCFBF9;
  --lp-border: #E2E1DE;
  --lp-radius: 12px;
  --lp-max: 1080px;
  --lp-font-display: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --lp-font-body: 'Noto Sans JP', sans-serif;

  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--lp-font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.lp *, .lp *::before, .lp *::after { margin: 0; padding: 0; box-sizing: border-box; }
.lp .sp-only { display: none; }
@media (max-width: 640px) { .lp .sp-only { display: inline; } }

/* ---------- header ---------- */
.lp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(246, 245, 243, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--lp-border);
}
.lp-header__inner {
  max-width: var(--lp-max); margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.lp-header__logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--lp-font-display); font-weight: 900; font-size: 1.1rem;
  color: var(--lp-text); text-decoration: none;
}
.lp-header__logo img { border-radius: 6px; }
.lp-header__cta {
  font-size: 0.82rem; font-weight: 700;
  color: var(--lp-accent); text-decoration: none;
  padding: 0.4rem 1rem; border: 1.5px solid var(--lp-accent);
  border-radius: 999px; transition: all 0.2s;
}
.lp-header__cta:hover {
  background: var(--lp-accent); color: #fff;
}

/* ---------- hero ---------- */
.lp .hero {
  position: relative;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}
.lp .hero__bg-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
}
.lp .hero__inner {
  max-width: var(--lp-max); margin: 0 auto;
  display: flex; align-items: center; gap: 4rem;
}
.lp .hero__text { flex: 1; min-width: 0; }
.lp .hero__eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--lp-accent); text-transform: uppercase; margin-bottom: 1rem;
}
.lp .hero__title {
  font-family: var(--lp-font-display); font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.25; letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.lp .hero__subtitle {
  font-size: 1.05rem; color: var(--lp-text-sub);
  line-height: 1.9; margin-bottom: 1.5rem;
}
.lp .hero__badges { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.lp .badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.35rem 0.9rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700;
}
.lp .badge--active {
  background: var(--lp-accent); color: #fff;
}
.lp .badge--soon {
  background: var(--lp-bg-alt); color: var(--lp-text-muted);
  border: 1px solid var(--lp-border);
}
.lp .badge--soon small {
  font-size: 0.68rem; font-weight: 400; margin-left: 0.15rem;
}
.lp .hero__actions { display: flex; flex-direction: column; align-items: flex-start; }
.lp .btn-hero {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lp-text); color: var(--lp-bg);
  font-family: var(--lp-font-display); font-weight: 700; font-size: 1rem;
  padding: 0.9rem 2.4rem; border-radius: 999px;
  text-decoration: none; transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.12);
}
.lp .btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.18);
}
.lp .hero__note {
  font-size: 0.75rem; color: var(--lp-text-muted);
  margin-top: 0.7rem;
}
.lp .hero__visual { flex-shrink: 0; }

/* phone frame */
.lp .phone-frame {
  width: 280px; height: auto;
  background: #1A1A1A; border-radius: 36px;
  padding: 12px; box-shadow: 0 24px 64px rgba(0,0,0,0.15);
}
.lp .phone-frame img {
  width: 100%; height: auto; border-radius: 26px; display: block;
}
.lp .phone-frame--sm {
  width: 220px; padding: 10px; border-radius: 30px;
}
.lp .phone-frame--sm img { border-radius: 22px; }

/* ---------- sections ---------- */
.lp .section {
  padding: 5rem 1.5rem;
}
.lp .section__inner {
  max-width: var(--lp-max); margin: 0 auto;
}
.lp .section__eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--lp-accent); text-transform: uppercase; margin-bottom: 0.5rem;
}
.lp .section__title {
  font-family: var(--lp-font-display); font-weight: 900;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.35; margin-bottom: 2rem;
}
.lp .section__desc {
  font-size: 0.95rem; color: var(--lp-text-sub);
  margin-top: -1rem; margin-bottom: 2.5rem;
}

/* ---------- problem ---------- */
.lp .section--problem { background: var(--lp-white); }
.lp .problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.lp .problem-card {
  background: var(--lp-bg); border-radius: var(--lp-radius);
  padding: 1.5rem; border: 1px solid var(--lp-border);
}
.lp .problem-card__icon { font-size: 1.6rem; display: block; margin-bottom: 0.8rem; }
.lp .problem-card h3 {
  font-family: var(--lp-font-display); font-size: 1rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.lp .problem-card p { font-size: 0.88rem; color: var(--lp-text-sub); line-height: 1.7; }

/* ---------- solution / features ---------- */
.lp .feature-row {
  display: flex; align-items: center; gap: 3rem;
  margin-bottom: 4rem;
}
.lp .feature-row--reverse { flex-direction: row-reverse; }
.lp .feature-row__text { flex: 1; }
.lp .feature-row__visual { flex-shrink: 0; }
.lp .feature-num {
  font-family: var(--lp-font-display); font-size: 3rem; font-weight: 900;
  color: var(--lp-accent); opacity: 0.2; line-height: 1; margin-bottom: 0.5rem;
}
.lp .feature-row__text h3 {
  font-family: var(--lp-font-display); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 0.7rem;
}
.lp .feature-row__text p {
  font-size: 0.95rem; color: var(--lp-text-sub); line-height: 1.8;
}

/* ---------- diff table ---------- */
.lp .section--diff { background: var(--lp-white); }
.lp .diff-table-wrap { overflow-x: auto; }
.lp .diff-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: var(--lp-radius); overflow: hidden;
  border: 1px solid var(--lp-border); font-size: 0.88rem;
}
.lp .diff-table th, .lp .diff-table td { padding: 0.8rem 1rem; text-align: left; }
.lp .diff-table thead th {
  background: var(--lp-bg-alt); font-weight: 700; font-size: 0.82rem;
  border-bottom: 1px solid var(--lp-border);
}
.lp .diff-table tbody td { border-bottom: 1px solid rgba(226, 225, 222, 0.5); }
.lp .diff-table tbody tr:last-child td { border-bottom: none; }
.lp .diff-table__lha { background: var(--lp-accent-light); color: var(--lp-accent-dark); font-weight: 600; }
.lp .diff-table thead .diff-table__lha {
  background: var(--lp-accent); color: #fff;
}

/* ---------- exams ---------- */
.lp .exam-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.lp .exam-card {
  background: var(--lp-white); border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius); padding: 1.8rem 1.5rem;
  position: relative;
}
.lp .exam-card--active { border-color: var(--lp-accent); }
.lp .exam-card__status {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  background: var(--lp-accent); color: #fff;
  padding: 0.2rem 0.6rem; border-radius: 999px; margin-bottom: 0.8rem;
}
.lp .exam-card__status--soon {
  background: var(--lp-bg-alt); color: var(--lp-text-muted);
  border: 1px solid var(--lp-border);
}
.lp .exam-card h3 {
  font-family: var(--lp-font-display); font-size: 1.3rem; font-weight: 900;
  margin-bottom: 0.6rem;
}
.lp .exam-card p { font-size: 0.88rem; color: var(--lp-text-sub); margin-bottom: 1rem; }
.lp .exam-card ul { list-style: none; padding: 0; }
.lp .exam-card ul li {
  font-size: 0.85rem; color: var(--lp-text-sub);
  padding: 0.25rem 0 0.25rem 1.2rem; position: relative;
}
.lp .exam-card ul li::before {
  content: ''; position: absolute; left: 0; top: 0.65em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lp-accent); opacity: 0.4;
}
.lp .exam-card--active ul li::before { opacity: 1; }

/* ---------- pricing ---------- */
.lp .section--pricing { background: var(--lp-white); }
.lp .pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-bottom: 2rem;
}
.lp .pricing-card {
  background: var(--lp-bg); border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius); padding: 1.5rem 1.2rem;
  text-align: center; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.lp .pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.lp .pricing-card--popular {
  border-color: var(--lp-accent);
  box-shadow: 0 4px 20px rgba(31, 158, 143, 0.12);
}
.lp .pricing-card__badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--lp-accent); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 0.15rem 0.8rem; border-radius: 999px;
}
.lp .pricing-card h3 {
  font-size: 0.88rem; font-weight: 700; color: var(--lp-text-muted);
  margin-bottom: 0.5rem;
}
.lp .pricing-card__price {
  font-family: var(--lp-font-display); font-weight: 900;
  font-size: 1.8rem; color: var(--lp-text); margin-bottom: 0.3rem;
}
.lp .pricing-card__price small { font-size: 0.7rem; font-weight: 400; color: var(--lp-text-muted); }
.lp .pricing-card > p { font-size: 0.8rem; color: var(--lp-text-muted); }
.lp .pricing-card__per { font-size: 0.82rem; color: var(--lp-text-sub); }
.lp .pricing-card__discount {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  background: rgba(31, 158, 143, 0.1); color: var(--lp-accent);
  padding: 0.1rem 0.4rem; border-radius: 4px; margin-left: 0.3rem;
}

.lp .pricing-free {
  background: var(--lp-bg); border: 1px dashed var(--lp-border);
  border-radius: var(--lp-radius); padding: 1.5rem 2rem;
  text-align: center;
}
.lp .pricing-free h3 {
  font-family: var(--lp-font-display); font-weight: 700; font-size: 1rem;
  margin-bottom: 0.5rem;
}
.lp .pricing-free p { font-size: 0.88rem; color: var(--lp-text-sub); }

/* ---------- philosophy ---------- */
.lp .section--philosophy {
  text-align: center; padding: 4rem 1.5rem;
}
.lp .philosophy-quote {
  font-family: var(--lp-font-display); font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.7; color: var(--lp-text);
  border: none; padding: 0; margin: 0 auto 1.5rem;
  max-width: 600px;
}
.lp .philosophy-text {
  font-size: 0.92rem; color: var(--lp-text-sub); line-height: 1.9;
}

/* ---------- bottom CTA ---------- */
.lp .section--cta {
  background: var(--lp-text); color: var(--lp-bg);
  text-align: center; padding: 5rem 1.5rem;
}
.lp .cta__title {
  font-family: var(--lp-font-display); font-weight: 900;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 1rem;
  color: var(--lp-bg);
}
.lp .cta__subtitle {
  font-size: 0.95rem; color: rgba(246, 245, 243, 0.7);
  line-height: 1.9; margin-bottom: 2rem;
}
.lp .cta__buttons {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 1rem;
}
.lp .btn-store {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.8rem; border-radius: 999px;
  font-weight: 700; font-size: 0.92rem;
  text-decoration: none; transition: all 0.2s;
}
.lp .btn-store--apple {
  background: var(--lp-bg); color: var(--lp-text);
}
.lp .btn-store--google {
  background: transparent; color: var(--lp-bg);
  border: 1.5px solid rgba(246, 245, 243, 0.3);
}
.lp .btn-store:hover { transform: translateY(-2px); }
.lp .cta__coming {
  font-size: 0.82rem; color: rgba(246, 245, 243, 0.5);
  margin-top: 0.5rem;
}

/* ---------- footer ---------- */
.lp-footer {
  background: var(--lp-bg-alt); padding: 2rem 1.5rem;
  font-size: 0.78rem; color: var(--lp-text-muted);
}
.lp-footer__inner {
  max-width: var(--lp-max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.lp-footer__links { display: flex; gap: 1.5rem; }
.lp-footer a { color: var(--lp-text-muted); text-decoration: none; }
.lp-footer a:hover { color: var(--lp-accent); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .lp .hero { padding: 6rem 1.2rem 2.5rem; }
  .lp .hero__inner { flex-direction: column; gap: 2rem; text-align: center; }
  .lp .hero__actions { align-items: center; width: 100%; }
  .lp .hero__badges { justify-content: center; }
  .lp .hero__visual .phone-frame { width: 200px; }
  .lp .hero__title { font-size: 2rem; }
  .lp .hero__subtitle { font-size: 0.92rem; }

  .lp .section { padding: 3.5rem 1.2rem; }
  .lp .section__title { font-size: 1.4rem; margin-bottom: 1.5rem; }

  .lp .problem-grid { grid-template-columns: 1fr; gap: 1rem; }
  .lp .problem-card { padding: 1.2rem; }

  .lp .feature-row, .lp .feature-row--reverse {
    flex-direction: column; gap: 1.5rem; text-align: center;
  }
  .lp .feature-row { margin-bottom: 3rem; }
  .lp .feature-row__visual .phone-frame--sm { width: 170px; margin: 0 auto; }
  .lp .feature-num { font-size: 2.2rem; }
  .lp .feature-row__text h3 { font-size: 1.1rem; }
  .lp .feature-row__text p { font-size: 0.88rem; }

  /* テーブルSP最適化 */
  .lp .diff-table { font-size: 0.78rem; }
  .lp .diff-table th, .lp .diff-table td { padding: 0.6rem 0.5rem; }

  .lp .exam-grid { grid-template-columns: 1fr; gap: 1rem; }
  .lp .exam-card { padding: 1.4rem 1.2rem; }

  .lp .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .lp .pricing-card { padding: 1.2rem 0.8rem; }
  .lp .pricing-card__price { font-size: 1.5rem; }

  .lp .pricing-free { padding: 1.2rem 1rem; }

  .lp .section--philosophy { padding: 3rem 1.2rem; }
  .lp .philosophy-quote { font-size: 1.1rem; }

  .lp .section--cta { padding: 3.5rem 1.2rem; }
  .lp .cta__title { font-size: 1.4rem; }
  .lp .btn-store { padding: 0.7rem 1.4rem; font-size: 0.85rem; }

  .lp .lp-footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .lp .pricing-grid { grid-template-columns: 1fr; }
  .lp .hero__visual .phone-frame { width: 180px; }
}
