/* ============================================
   LP Page Stylesheet - Michibiki Theme
   juku-michibiki.com
   ============================================ */

/* ----------------------------------------
   1. Design Tokens (CSS Custom Properties)
   ---------------------------------------- */
.lp-wrapper {
  --lp-brand-primary: #2f906b;
  --lp-brand-on-primary: #ffffff;
  --lp-base-primary: #1e1e1e;
  --lp-base-secondary: #ffffff;
  --lp-accent-blue: #3781c5;
  --lp-accent-red: #d44d28;
  --lp-accent-yellow: #ec9727;
  --lp-space-bg: #f7f9f1;
  --lp-shadow: 0 0.125rem 0.125rem rgba(0, 0, 0, 0.25);
  /* Spacing tokens (PC defaults, SP overrides in mobile MQ) */
  --lp-space-primary: 5rem;
  --lp-space-secondary: 3.75rem;
  --lp-space-thirdary: 3rem;
  --lp-space-quaternary: 2.5rem;
}

@media screen and (min-width: 752px) {
  .lp-wrapper {
    --lp-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
  }
}

/* ----------------------------------------
   2. Base Resets & Existing Style Overrides
   ---------------------------------------- */
.lp-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--lp-space-bg);
  color: var(--lp-base-primary);
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Override: h1-h4 { font-weight: normal } → 700 */
.lp-wrapper h1,
.lp-wrapper h2,
.lp-wrapper h3,
.lp-wrapper h4 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

/* Override: p { letter-spacing: 2.4px; line-height: 1.6 } → 0 */
/* line-height はタイポグラフィクラス（.lp-boldH2 等）に委譲。ここで設定すると
   詳細度 0,1,1 が単一クラス 0,1,0 に勝ち、Figma値が適用されなくなる。 */
.lp-wrapper p {
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0;
}

/* Margin reset: :where() で詳細度を 0,0,1 に下げ、コンポーネントクラス (0,1,0) で上書き可能にする */
:where(.lp-wrapper) :is(h1, h2, h3, h4, p) {
  margin: 0;
}

/* Override: section { overflow: hidden } → visible */
.lp-wrapper section {
  position: relative;
  overflow: visible;
  width: 100%;
}

/* Override: img { width: 100% } → auto where needed */
.lp-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* :where() で詳細度を 0,0,1 に下げ、.lp-cta (0,1,0) 等で上書き可能にする */
:where(.lp-wrapper) a {
  text-decoration: none;
  color: inherit;
}

.lp-wrapper * {
  box-sizing: border-box;
}

/* ----------------------------------------
   3. Typography Utility Classes
   ---------------------------------------- */

/* PC (default) */
.lp-boldH1 {
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 4rem;
}

.lp-boldH2 {
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 2.75rem;
}

.lp-boldH3 {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 2.25rem;
}

.lp-boldH4 {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 2rem;
}

.lp-h2 {
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 2.75rem;
}

.lp-h3 {
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 2.25rem;
}

.lp-h4 {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 2rem;
}

.lp-p1 {
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 2.125rem;
}

.lp-p2 {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 2rem;
}

.lp-p3 {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75rem;
}

.lp-p4 {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.lp-marker {
  background: linear-gradient(transparent 60%, color-mix(in srgb, var(--lp-accent-yellow) 40%, transparent) 60%);
}

/* ----------------------------------------
   4. Layout
   ---------------------------------------- */
.lp-container {
  width: min(100% - 3rem, 50rem);
  margin-inline: auto;
}

.lp-section {
  padding: var(--lp-space-secondary) 0;
}

.lp-section--cta {
  padding: var(--lp-space-primary) 0;
}

.lp-section--cta-compact {
  padding: var(--lp-space-quaternary) 0;
}

.lp-section--sns-footer {
  padding: 0 0 var(--lp-space-secondary);
}

/* Container flex layout: gap handles spacing between children */
.lp-section>.lp-container {
  display: flex;
  flex-direction: column;
  gap: var(--lp-space-secondary);
}

.lp-section--green>.lp-container,
.lp-question>.lp-container {
  gap: var(--lp-space-primary);
}

/* Review section: smaller gap (Figma SP: 20px, PC: 40px) */
.lp-section--green.lp-review>.lp-container {
  gap: var(--lp-space-quaternary);
}

/* Flow section: uses secondary gap (Figma SP: 40px, PC: 60px) */
.lp-section--green.lp-flow>.lp-container {
  gap: var(--lp-space-secondary);
}

.lp-sv>.lp-container {
  gap: var(--lp-space-primary);
}

/* Zero out margins on direct container children (gap handles spacing) */
.lp-section>.lp-container>* {
  margin-top: 0;
  margin-bottom: 0;
}

.lp-section--green {
  background-color: var(--lp-brand-primary);
  color: var(--lp-brand-on-primary);
}

.lp-section-title {
  text-align: center;
}

/* ----------------------------------------
   5. Separator (SVG Curve)
   ---------------------------------------- */
.lp-separator {
  width: 100%;
  height: 1.25rem;
  position: relative;
  line-height: 0;
  font-size: 0;
}

.lp-separator img {
  display: block;
  width: 100%;
  height: 100%;
}

/* to-green: white top → green bottom */
.lp-separator--to-green {
  background-color: var(--lp-space-bg);
  margin-top: 1.25rem;
}

.lp-separator--to-green img {
  transform: translateY(4px);
}

/* from-green: green top → white bottom */
.lp-separator--from-green {
  background-color: var(--lp-space-bg);
  margin-bottom: 1.25rem;
}

.lp-separator--from-green img {
  transform: rotate(180deg) translateY(4px);
}

@media screen and (min-width: 752px) {
  .lp-separator {
    height: 2.5rem;
  }
}

/* ----------------------------------------
   6. FirstView
   ---------------------------------------- */
.lp-fv {
  position: relative;
  padding: 0.75rem;
}

.lp-fv__image-wrapper {
  container-type: inline-size;
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  max-width: 75rem;
  margin: 0 auto;
}

.lp-fv__image-wrapper img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  object-position: right;
}

.lp-fv__text {
  position: absolute;
  top: clamp(1rem, 6.74cqi - 0.55rem, 4.5rem);
  left: clamp(1rem, 6.74cqi - 0.55rem, 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.5rem, 6.74cqi - 1.05rem, 4rem);
  z-index: 2;
}

.lp-fv .lp-fv__headline-1 {
  color: var(--lp-base-primary);
  font-weight: 500;
  font-size: clamp(1.25rem, 3.37cqi + 0.47rem, 3rem);
  line-height: 1.6;
}

.lp-fv .lp-fv__headline-2 {
  color: var(--lp-brand-primary);
  font-weight: 500;
  font-size: clamp(2.75rem, 6.26cqi + 1.31rem, 6rem);
  line-height: 1;
}

/* Figma SP only: 14px/500/24px, color #000, gap 28px from headline-2 */
.lp-fv .lp-fv__subtitle {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #000;
  margin-top: 1.75rem;
}

@media screen and (min-width: 752px) {
  .lp-fv {
    padding: 1.5rem;
  }

  .lp-fv__image-wrapper {
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
  }

  .lp-fv__image-wrapper img {
    aspect-ratio: 16 / 9;
    object-position: center;
  }

  .lp-fv .lp-fv__headline-1 {
    line-height: normal;
  }

  /* SP-only subtitle: hidden on PC */
  .lp-fv .lp-fv__subtitle {
    display: none;
  }
}

/* ----------------------------------------
   7. SecondView
   ---------------------------------------- */
.lp-sv {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--lp-space-primary) 0;
}

.lp-sv .lp-sv__heading {
  color: var(--lp-brand-primary);
}

/* ----------------------------------------
   8. CTA Button
   ---------------------------------------- */
.lp-cta {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 18.5rem;
  height: 8.5rem;
  padding: 1.25rem 2.5rem;
  gap: 0.625rem;
  background: url('../img/lp/cta-character.svg') no-repeat center / 100% 100%;
  color: var(--lp-brand-on-primary);
  text-decoration: none;
  letter-spacing: 0;
  filter: drop-shadow(0 0.125rem 0.125rem rgba(0, 0, 0, 0.25));
  animation: lp-cta-pulse 3s ease-in-out infinite;
  cursor: pointer;
}

@keyframes lp-cta-pulse {
  0% { scale: 1; }
  10% { scale: 1.05; }
  20%, 100% { scale: 1; }
}

.lp-cta:hover {
  animation: lp-cta-pulse 3s ease-in-out infinite, lp-cta-wiggle 0.4s ease-in-out;
}

@keyframes lp-cta-wiggle {
  0% { rotate: 0deg; }
  20% { rotate: -3deg; }
  40% { rotate: 3deg; }
  60% { rotate: -2deg; }
  80% { rotate: 2deg; }
  100% { rotate: 0deg; }
}

.lp-cta__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  flex: 1 0 0;
  align-self: stretch;
  text-align: center;
}

.lp-cta__sub-text {
  display: block;
  white-space: nowrap;
}

.lp-cta .lp-cta__main-text {
  display: block;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 2.25rem;
}

@media screen and (min-width: 752px) {
  .lp-cta {
    width: 24.5625rem;
    height: 11.125rem;
    padding: 2.5rem 5rem;
    filter: drop-shadow(0 0.25rem 0.25rem rgba(0, 0, 0, 0.25));
  }

  .lp-cta .lp-cta__main-text {
    font-size: 2.25rem;
    line-height: 4rem;
  }
}

/* ----------------------------------------
   8b. SNS Link Button
   ---------------------------------------- */
.lp-sns-link {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24.5625rem;
  height: 8.27rem;
  background: url('../img/lp/sns-link-bg.svg') no-repeat center / 100% 100%;
  color: var(--lp-brand-on-primary);
  text-decoration: none;
  letter-spacing: 0;
  filter: drop-shadow(0 0.25rem 0.25rem rgba(0, 0, 0, 0.25));
  animation: lp-cta-pulse 3s ease-in-out infinite;
  cursor: pointer;
}

.lp-sns-link:hover {
  animation: lp-cta-pulse 3s ease-in-out infinite, lp-cta-wiggle 0.4s ease-in-out;
}

.lp-sns-link__content {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding-left: 0.5rem;
}

.lp-sns-link .lp-sns-link__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lp-sns-link .lp-sns-link__title,
.lp-sns-link .lp-sns-link__subtitle {
  display: block;
  white-space: nowrap;
}

.lp-sns-link__arrow {
  width: 1.5375rem;
  height: auto;
  flex-shrink: 0;
}

@media screen and (min-width: 752px) {
  .lp-sns-link {
    filter: drop-shadow(0 0.25rem 0.25rem rgba(0, 0, 0, 0.25));
  }
}

/* ----------------------------------------
   9. Question Section
   ---------------------------------------- */
.lp-question {
  padding: var(--lp-space-thirdary) 0 var(--lp-space-primary);
}

.lp-question__title {
  text-align: center;
  margin-bottom: 2rem;
}

.lp-question__bubble {
  position: relative;
  background: var(--lp-brand-primary);
  color: var(--lp-brand-on-primary);
  border-radius: 50%;
  padding: 1.5rem;
  width: 16.125rem;
  height: 4.5625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--lp-shadow);
}

.lp-question__bubble p {
  position: relative;
  color: var(--lp-brand-on-primary);
}

/* Bubble arrow (bubble-arrow.svg) */
.lp-question__bubble-arrow {
  position: absolute;
  width: 1.58rem;
  height: 1.78rem;
}

/* Bubble position */
.lp-question__bubble--left {
  margin-right: auto;
}

.lp-question__bubble--right {
  margin-left: auto;
}

.lp-question__bubble--center {
  margin: 0 auto;
}

/* Arrow position */
.lp-question__bubble-arrow--bottom-left {
  left: 4rem;
  bottom: -0.62rem;
}

.lp-question__bubble-arrow--bottom-right {
  right: 4rem;
  bottom: -0.62rem;
  transform: scaleX(-1);
}

.lp-question__bubble-arrow--top-left {
  left: 4rem;
  top: -0.62rem;
  transform: scaleY(-1);
}

.lp-question__bubbles {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.lp-question__illust {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.lp-question__illust img {
  width: 17rem;
  height: auto;
}

.lp-question__bottom-text {
  text-align: center;
}

@media screen and (min-width: 752px) {
  .lp-question__bubble {
    width: 32.25rem;
    height: 9.125rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
  }

  .lp-question__bubble-arrow--bottom-left,
  .lp-question__bubble-arrow--bottom-right,
  .lp-question__bubble-arrow--top-left {
    width: 2.13rem;
    height: 2.23rem;
  }

  .lp-question__bubble-arrow--bottom-left {
    left: 8.50rem;
    bottom: -0.68rem;
  }

  .lp-question__bubble-arrow--bottom-right {
    right: 8.50rem;
    bottom: -0.68rem;
  }

  .lp-question__bubble-arrow--top-left {
    left: 8.50rem;
    top: -0.68rem;
  }

  .lp-question__illust img {
    width: 37.5rem;
  }
}

/* ----------------------------------------
   10. Reason Section (Green Background)
   ---------------------------------------- */
.lp-reason__header {
  text-align: center;
  margin-bottom: 2rem;
}

.lp-reason__description {
  margin-bottom: 2.5rem;
  text-align: center;
}

.lp-reason__subtitle {
  text-align: center;
  margin-bottom: 1.5rem;
}

.lp-reason__cards {
  background: var(--lp-base-secondary);
  border-radius: 0.75rem;
  padding: 2rem;
  color: var(--lp-base-primary);
  position: relative;
  box-shadow: var(--lp-shadow);
  display: flex;
  flex-direction: column;
}

.lp-reason__card-illust {
  position: absolute;
  top: -2rem;
  right: 1.75rem;
  width: 7.5rem;
  height: auto;
  z-index: 2;
}

.lp-reason__card+.lp-reason__card {
  margin-top: 1.5rem;
  border-top: 1px solid var(--lp-brand-primary, #2F906B);
  padding-top: 1.5rem;
}

/* Figma: boldH1/Mobile (24px/700/36px) on both PC and SP */
.lp-reason__cards .lp-reason__card-step {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2.25rem;
  color: var(--lp-brand-primary);
  text-align: left;
}

.lp-reason__card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lp-reason__card-title {
  text-align: center;
}

.lp-reason__card--blue .lp-reason__card-title {
  color: var(--lp-accent-blue);
}

.lp-reason__card--red .lp-reason__card-title {
  color: var(--lp-accent-red);
}

.lp-reason__card--yellow .lp-reason__card-title {
  color: var(--lp-accent-yellow);
}


.lp-reason__card-sub-text {
  color: var(--lp-base-primary);
}

/* ----------------------------------------
   11. Comparison Table
   ---------------------------------------- */
.lp-compare {
  margin-top: 3rem;
}

.lp-compare__table-wrapper {
  background: var(--lp-base-secondary);
  border-radius: 0.75rem;
  padding: 1rem;
  color: var(--lp-base-primary);
  position: relative;
  box-shadow: var(--lp-shadow);
  overflow-x: auto;
}

.lp-compare__table {
  width: 100%;
  border-collapse: collapse;
}

.lp-compare__table th,
.lp-compare__table td {
  padding: 20px;
  vertical-align: middle;
  text-align: center;
  border-bottom: 1px solid var(--lp-base-primary);
  word-break: keep-all;
}

.lp-compare__table thead th {
  font-weight: 400;
}

.lp-compare__table thead th:nth-child(3) {
  background-color: var(--lp-brand-primary);
  color: var(--lp-brand-on-primary);
  border-radius: 0.5rem 0.5rem 0 0;
  font-size: 1.125rem;
}

.lp-compare__table th:first-child {
  width: 27%;
}

.lp-compare__table th:nth-child(2) {
  width: 36%;
}

.lp-compare__table th:nth-child(3),
.lp-compare__table td:nth-child(3) {
  width: 37%;
}

.lp-compare__table td:nth-child(3) {
  font-weight: 400;
  background-color: var(--lp-brand-primary);
  color: var(--lp-brand-on-primary);
  position: relative;
  z-index: 2;
  font-size: 1rem;
}

.lp-compare__table tbody tr:last-child th,
.lp-compare__table tbody tr:last-child td {
  border-bottom: none;
}

.lp-compare__table tbody tr:last-child td:nth-child(3) {
  border-radius: 0 0 0.5rem 0.5rem;
}

@media screen and (max-width: 751px) {

  .lp-compare__table th,
  .lp-compare__table td {
    font-size: 0.6875rem;
    padding: 12px 8px;
  }

  .lp-compare__table thead th:nth-child(3) {
    font-size: 0.875rem;
  }

  .lp-compare__table td:nth-child(3) {
    font-size: 0.75rem;
  }
}

/* ----------------------------------------
   12. Course Section
   ---------------------------------------- */
.lp-course__cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.lp-course__card {
  background: var(--lp-base-secondary);
  border-radius: 0.75rem;
  position: relative;
  padding: 2rem;
  width: 100%;
  box-shadow: var(--lp-shadow);
  min-height: 8rem;
}

.lp-course__card-step {
  display: none;
}

.lp-course__card-image {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 1.75rem;
  transform: translateY(-50%);
}

.lp-course__card-image img {
  height: 3.5rem;
  width: auto;
}

/* Cards with --img-left: image at top-left */
.lp-course__card--img-left .lp-course__card-image {
  right: auto;
  left: 1.75rem;
}

.lp-course__card-body {
  position: relative;
  z-index: 1;
  text-align: center;
}

.lp-course__card-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.lp-course__card-body p {
  text-align: left;
}

.lp-course__arrow {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
}

.lp-course__arrow svg {
  width: 5rem;
  height: 2rem;
}

@media screen and (min-width: 752px) {
  .lp-course__card {
    padding: 2rem 2.5rem;
    min-height: 9rem;
  }

  .lp-course__card-image img {
    height: 4.5rem;
  }
}

/* ----------------------------------------
   13. Review Section (Green Background)
   ---------------------------------------- */
.lp-review__cards {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.lp-review__illust {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.lp-review__illust img {
  width: 6.25rem;
  height: auto;
}

/* Figma: card — flex column, gap 10px (SP & PC) */
.lp-review-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  align-self: stretch;
}

/* Figma: header (outer person) — flex row, gap 20px */
.lp-review-card__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  align-self: stretch;
  position: relative;
  z-index: 0;
}

/* Bubble arrow — white, pointing up toward person */
.lp-review-card__bubble-arrow {
  position: absolute;
  width: 1.58rem;
  height: 1.78rem;
  left: 4rem;
  top: -0.62rem;
  transform: scaleY(-1);
  filter: brightness(0) invert(1);
}

/* Figma: person (inner) — avatar + label stacked */
.lp-review-card__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

/* Figma: icon wrapper — padding 0 8px */
.lp-review-card__icon {
  display: flex;
  padding: 0 0.5rem;
  align-items: center;
}

/* Figma: avatar — white ring (padding 4px, border-radius 1000px, bg white) */
.lp-review-card__avatar {
  display: flex;
  padding: 0.25rem;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 62.5rem;
  background: var(--lp-base-secondary);
}

.lp-review-card__avatar img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border-radius: 50%;
}

/* Figma: label — white on green */
.lp-review-card .lp-review-card__label {
  color: var(--lp-brand-on-primary);
  display: block;
}

/* Figma: title group */
.lp-review-card__title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  flex: 1 0 0;
}

/* SP: even cards — person + title swap sides */
.lp-review-card:nth-child(even) .lp-review-card__header {
  flex-direction: row-reverse;
}

/* SP: even cards — headline right-align */
.lp-review-card:nth-child(even) .lp-review-card__headline {
  text-align: right;
}

/* SP: even cards — mirror arrow to right side */
.lp-review-card:nth-child(even) .lp-review-card__bubble-arrow {
  left: auto;
  right: 4rem;
  transform: scale(-1, -1);
}

/* Figma: headline — white on green (boldH4) */
.lp-review-card .lp-review-card__headline {
  color: var(--lp-brand-on-primary);
  align-self: stretch;
}

/* Figma: white content box with shadow — z-index above dots */
.lp-review-card__content {
  display: flex;
  padding: 1.25rem;
  align-items: flex-start;
  gap: 1rem;
  align-self: stretch;
  border-radius: 0.75rem;
  background: var(--lp-base-secondary);
  box-shadow: var(--lp-shadow);
  color: var(--lp-base-primary);
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 752px) {
  .lp-review-card__avatar img {
    width: 3.75rem;
    height: 3.75rem;
  }

}

/* ----------------------------------------
   14. Greeting Section
   ---------------------------------------- */
.lp-greeting__card {
  background: var(--lp-base-secondary);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--lp-shadow);
}

.lp-greeting__card .lp-greeting__motto {
  font-weight: 700;
  margin-bottom: 1rem;
}

.lp-greeting__card .lp-greeting__text {
  margin-bottom: 2rem;
  white-space: pre-line;
}

.lp-greeting__person {
  text-align: center;
}

.lp-greeting__photo {
  width: 11.25rem;
  height: 9.5rem;
  margin: 0 auto 1rem;
  overflow: hidden;
  border-radius: 0.75rem;
}

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

.lp-greeting__name {
  margin-bottom: 0.5rem;
}

.lp-greeting__bio {
  text-align: left;
}

@media screen and (min-width: 752px) {
  .lp-greeting__card {
    padding: 2rem;
  }

  .lp-greeting__photo {
    width: 17.5rem;
    height: 14.75rem;
  }
}

/* ----------------------------------------
   15. Price Section
   ---------------------------------------- */
.lp-price__card {
  background: var(--lp-base-secondary);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--lp-shadow);
}

.lp-price__grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.lp-price__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-radius: 0.75rem;
  color: var(--lp-brand-on-primary);
}

.lp-price__item:nth-child(1) {
  background-color: var(--lp-brand-primary);
}

.lp-price__item:nth-child(2) {
  background-color: var(--lp-accent-blue);
}

.lp-price__item:nth-child(3) {
  background-color: var(--lp-accent-red);
}

.lp-price__item:nth-child(4) {
  background-color: var(--lp-accent-yellow);
}

.lp-price__grade {
  font-weight: 500;
  color: var(--lp-brand-on-primary);
}

.lp-price__amount {
  color: var(--lp-brand-on-primary);
}

.lp-price__notes {
  color: #000;
  white-space: pre-line;
}

@media screen and (min-width: 752px) {
  .lp-price__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .lp-price__item {
    flex-direction: column;
    justify-content: center;
    padding: 1.75rem;
    gap: 1rem;
    text-align: center;
  }

  .lp-price__card {
    padding: 2rem;
  }
}

/* ----------------------------------------
   16. Flow Section (Green Background)
   ---------------------------------------- */
.lp-flow__cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lp-flow__item {
  position: relative;
}

.lp-flow__item-body {
  position: relative;
  filter: drop-shadow(var(--lp-shadow));
}

.lp-flow__item:nth-child(1) {
  z-index: 5;
}

.lp-flow__item:nth-child(2) {
  z-index: 4;
}

.lp-flow__item:nth-child(3) {
  z-index: 3;
}

.lp-flow__item:nth-child(4) {
  z-index: 2;
}

.lp-flow__item:nth-child(5) {
  z-index: 1;
}

.lp-flow__card {
  background: var(--lp-base-secondary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  padding: 1.75rem 2rem;
  color: var(--lp-base-primary);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.lp-flow__card-image {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
}

.lp-flow__card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lp-flow__arrow {
  position: absolute;
  left: 50%;
  width: 129px;
  height: 36px;
  z-index: 0;
  pointer-events: none;
}

.lp-flow__arrow--bottom {
  bottom: 0;
  transform: translate(-50%, 50%);
}

.lp-flow__arrow--top {
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.lp-flow__card-body {
  flex: 1;
  text-align: center;
}

.lp-flow__card-title {
  margin-bottom: 0.25rem;
}

.lp-flow__card-subtitle {
  word-break: keep-all;
}

@media screen and (min-width: 752px) {
  .lp-flow__card {
    padding: 2.25rem 4rem;
  }

}

/* ----------------------------------------
   17. Q&A Section
   ---------------------------------------- */
.lp-qa__list {
  background: var(--lp-base-secondary);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--lp-shadow);
}

.lp-qa__item {
  padding: 1rem 0;
}

.lp-qa__item+.lp-qa__item {
  border-top: 2px solid var(--lp-brand-primary);
}

.lp-qa__question,
.lp-qa__answer {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.lp-qa__question {
  margin-bottom: 0.75rem;
}

.lp-qa__badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  color: var(--lp-brand-on-primary);
  font-weight: 700;
  font-size: 0.875rem;
}

.lp-qa__badge--q {
  background-color: var(--lp-accent-blue);
}

.lp-qa__badge--a {
  background-color: var(--lp-accent-red);
}

/* ----------------------------------------
   18. Sponsor Section
   ---------------------------------------- */
/* Sponsor section: larger padding than default sections */
.lp-sponsor {
  padding: var(--lp-space-primary) 0;
}

/* Figma: h4/Mobile (1rem/500/1.75rem) on all breakpoints */
.lp-section .lp-sponsor__text {
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.75rem;
}

.lp-sponsor__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.lp-sponsor__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--lp-base-secondary);
  border-radius: 0.75rem;
  box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.08);
}

.lp-sponsor__item img {
  width: 100%;
  aspect-ratio: 3/1;
  object-fit: cover;
}

@media screen and (min-width: 752px) {
  .lp-sponsor__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ----------------------------------------
   19. LP Footer
   ---------------------------------------- */
.lp-footer {
  background-color: var(--lp-brand-primary);
  color: var(--lp-brand-on-primary);
}

.lp-footer>.lp-container {
  gap: var(--lp-space-quaternary);
}

.lp-footer__brand {
  text-align: center;
  color: var(--lp-brand-on-primary);
}

.lp-footer__contact {
  text-align: left;
}

.lp-footer__contact a {
  color: var(--lp-brand-on-primary);
  text-decoration: none;
}

/* ----------------------------------------
   20. Scroll Animation
   ---------------------------------------- */
.lp-fade-in {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.lp-fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* ----------------------------------------
   Responsive: SP (<= 751px)
   ---------------------------------------- */
@media screen and (max-width: 751px) {

  /* Spacing tokens - SP overrides */
  .lp-wrapper {
    --lp-space-primary: 3.75rem;
    --lp-space-secondary: 2.5rem;
    --lp-space-thirdary: 1.875rem;
    --lp-space-quaternary: 1.25rem;
  }

  /* Footer SP: Figma padding 1.25rem top/bottom */
  .lp-footer.lp-section {
    padding: var(--lp-space-quaternary) 0;
  }

  /* Typography - Mobile */
  .lp-boldH1 {
    font-size: 1.5rem;
    line-height: 2.25rem;
  }

  .lp-boldH2 {
    font-size: 1.25rem;
    line-height: 2.125rem;
  }

  .lp-boldH3 {
    font-size: 1.125rem;
    line-height: 2rem;
  }

  .lp-boldH4 {
    font-size: 1rem;
    line-height: 1.75rem;
  }

  .lp-h2 {
    font-size: 1.25rem;
    line-height: 2.125rem;
  }

  .lp-h3 {
    font-size: 1.125rem;
    line-height: 2rem;
  }

  .lp-h4 {
    font-size: 1rem;
    line-height: 1.75rem;
  }

  .lp-p1 {
    font-size: 1rem;
    line-height: 1.75rem;
  }

  .lp-p2 {
    font-size: 0.875rem;
    line-height: 1.5rem;
  }

  .lp-p3 {
    font-size: 0.75rem;
    line-height: 1.25rem;
  }

  .lp-p4 {
    font-size: 0.625rem;
    line-height: 1.125rem;
  }

  /* SNS Link Button SP */
  .lp-sns-link {
    width: 18.5rem;
    height: 6.23rem;
    filter: drop-shadow(0 0.125rem 0.125rem rgba(0, 0, 0, 0.25));
  }

  /* Footer SP overrides */
  /* Figma SP: h1/Mobile (1.5rem/500/2.25rem) */
  .lp-footer .lp-footer__brand {
    font-size: 1.5rem;
    line-height: 2.25rem;
  }

  /* Figma SP: p2/Mobile (0.875rem/400/1.5rem) */
  .lp-footer .lp-footer__contact {
    font-size: 0.875rem;
    line-height: 1.5rem;
  }

  /* Question bubble SP: Figma 0.875rem/500/normal (lp-h3 mobile gives 1.125rem) */
  .lp-question__bubble p {
    font-size: 0.875rem;
    line-height: normal;
  }

}
